/* VS: кошик-заявка Axen — перенесено з letres.com.ua (css/vs-cart.css) 16.11.2026.
   Поведінка й розмітка як у Летреса, кольори теми Axen: --g #579C33, --dk #2C2A36, --gl #EAF3E4. */

/* --- лічильник кошика в шапці --- */
.cart-n.is-empty {
	display: none;
}

/* --- кількість і кнопки на картці товару --- */
.vs-qty {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--mut, #8d8d96);
}

.vs-qty__label {
	margin-right: 6px;
}

.vs-qty__btn {
	width: 40px;
	height: 40px;
	border: 1px solid #d9d9df;
	border-radius: 50%;
	background: #fff;
	color: #15141b;
	font: 500 18px Montserrat, sans-serif;
	cursor: pointer;
}

.vs-qty__btn:hover {
	border-color: #579C33;
	color: #579C33;
}

.vs-qty__input {
	width: 64px;
	height: 40px;
	border: 1px solid #d9d9df;
	border-radius: 12px;
	text-align: center;
	font: 500 16px Montserrat, sans-serif;
	-moz-appearance: textfield;
}

.vs-qty__input::-webkit-outer-spin-button,
.vs-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.product-actions .gb {
	padding: 16px 44px !important;
	text-align: center;
}

.product-actions .vs-add-to-cart.is-busy {
	opacity: .6;
	pointer-events: none;
}

/* Друга кнопка повторює габарити зеленої, але темна. */
.product-actions .vs-quick-order {
	display: inline-block;
	padding: 16px 44px;
	border: 0;
	border-radius: 30px;
	background: #2C2A36;
	color: #fff;
	font: 600 17px Montserrat, sans-serif;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease;
}

.product-actions .vs-quick-order:hover {
	background: #579C33;
	color: #fff;
}

/* --- сповіщення після додавання --- */
.vs-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 10000;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	max-width: calc(100vw - 32px);
	padding: 14px 20px;
	border-radius: 14px;
	background: #2C2A36;
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	transform: translate(-50%, 20px);
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
}

.vs-toast.is-shown {
	transform: translate(-50%, 0);
	opacity: 1;
}

.vs-toast a {
	color: #bfe3a8;
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

}

.vs-toast.is-shown {
	transform: translate(-50%, 0);
	opacity: 1;
}

.vs-toast a {
	color: #bfe3a8;
	font-weight: 600;
	text-decoration: underline;
	white-space: nowrap;
}

/* --- єдина насиченість шрифту на сторінках заявки ---
   Базове накреслення — звичайне. Напівжирним виділяємо тільки заголовки
   та підсумковий рядок, більше ніде. */
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account {
	font-weight: 400;
}

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
	font-weight: 600;
	letter-spacing: -.01em;
}

.woocommerce-cart .woocommerce *,
.woocommerce-checkout .woocommerce *,
.woocommerce-account .woocommerce * {
	font-weight: 400;
}

.woocommerce-cart .woocommerce h2,
.woocommerce-cart .woocommerce h3,
.woocommerce-checkout .woocommerce h2,
.woocommerce-checkout .woocommerce h3,
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3,
.woocommerce-checkout #order_review_heading,
.woocommerce .cart_totals table.shop_table .order-total th,
.woocommerce .cart_totals table.shop_table .order-total td,
.woocommerce .cart_totals table.shop_table .order-total td *,
.woocommerce-checkout .shop_table tfoot .order-total th,
.woocommerce-checkout .shop_table tfoot .order-total td,
.woocommerce-checkout .shop_table tfoot .order-total td * {
	font-weight: 600;
}

.woocommerce-cart .woocommerce .button,
.woocommerce-checkout .woocommerce .button,
.woocommerce-account .woocommerce .button,
.woocommerce-checkout #place_order {
	font-weight: 500;
}

/* --- кнопки WooCommerce у фірмовому вигляді --- */
.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt,
.woocommerce #place_order.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
	display: inline-block;
	width: auto;
	min-width: 260px;
	max-width: 100%;
	padding: 19px 44px;
	border: 0;
	border-radius: 999px;
	background: #579C33;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background .2s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt:hover,
.woocommerce #place_order.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: #4a862b;
	color: #fff;
}

.woocommerce .cart-collaterals .cart_totals > h2 {
	font-size: 20px;
}

/* Блок оплати у фірмових кольорах замість типового бузкового. */
.woocommerce-checkout #payment {
	border-radius: 10px;
	background: #F5F6F7;
}

.woocommerce-checkout #payment div.payment_box {
	border-radius: 8px;
	background: #EAF3E4;
	color: #2c2b33;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #EAF3E4;
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom-color: #dbe6d3;
}

/* Рядок доставки в кошику й на оформленні не показуємо: її узгоджує менеджер. */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,
.woocommerce-cart .cart_totals tr.shipping,
.woocommerce-checkout .shop_table tr.shipping,
.woocommerce-checkout .shop_table tr.woocommerce-shipping-totals {
	display: none;
}

/* Адресу доставки узгоджує менеджер — блок призначення прибираємо. */
.woocommerce .woocommerce-shipping-destination,
.woocommerce .shipping-calculator-button,
.woocommerce .shipping-calculator-form {
	display: none;
}

/* --- таблиці кошика й оформлення --- */
.woocommerce table.shop_table {
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 18px 14px;
	border: 0;
	border-bottom: 1px solid #ececf0;
	vertical-align: middle;
}

.woocommerce table.shop_table thead th {
	padding-top: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #d9d9df;
	color: #8d8d96;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.woocommerce table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce table.shop_table .product-name a,
.woocommerce table.shop_table .product-name {
	color: #15141b;
	font-weight: 400;
	text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
	color: #579C33;
}

.woocommerce table.shop_table td.product-quantity input.qty {
	width: 68px;
	padding: 9px;
	border: 1px solid #d9d9df;
	border-radius: 8px;
	text-align: center;
}

.woocommerce table.shop_table td.product-remove a.remove {
	color: #c4c4cc !important;
	font-size: 20px;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
	background: none;
	color: #d0342c !important;
}

.woocommerce .cart_totals table.shop_table th {
	color: #5c5b66;
	font-weight: 400;
}

/* --- сторінка «Замовлення отримано» --- */
.woocommerce-order p,
.woocommerce-order li,
.woocommerce-order td,
.woocommerce-order th,
.woocommerce-order address {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	font-style: normal;
	color: #2c2b33;
}

.woocommerce-order .woocommerce-notice--success {
	margin: 0 0 26px;
	padding: 0;
	border: 0;
	background: none;
	color: #2c2b33;
}

.woocommerce-order .woocommerce-notice--success::before {
	display: none;
}

.woocommerce-order ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 44px;
	margin: 0 0 30px;
	padding: 20px 0;
	border-top: 1px solid #ececf0;
	border-bottom: 1px solid #ececf0;
	list-style: none;
}

.woocommerce-order ul.woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	color: #8d8d96;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 5px;
	color: #15141b;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.woocommerce-order h2,
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
	margin: 38px 0 16px;
	color: #15141b;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.woocommerce-order .woocommerce-order-details table.shop_table {
	margin-top: 0;
}

.woocommerce .woocommerce-order table.shop_table tfoot th {
	color: #5c5b66;
	font-weight: 400;
}

.woocommerce .woocommerce-order table.shop_table tfoot td,
.woocommerce .woocommerce-order table.shop_table tfoot td * {
	color: #15141b;
	font-weight: 400;
}

.woocommerce-order .woocommerce-customer-details address {
	padding: 18px 20px;
	border: 1px solid #ececf0;
	border-radius: 10px;
}

/* --- системні повідомлення WooCommerce у стилі сайту --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce .cart-empty {
	border-top-color: #579C33;
	border-radius: 0 0 8px 8px;
	background: #F5F6F7;
	color: #2c2b33;
	font-size: 15px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce .cart-empty::before {
	color: #579C33;
}

.woocommerce .return-to-shop {
	margin-top: 18px;
}

.woocommerce .return-to-shop .button {
	display: inline-block;
	padding: 15px 34px;
	border-radius: 999px;
	background: #579C33;
	color: #fff;
	font-weight: 500;
}

.woocommerce .return-to-shop .button:hover {
	background: #4a862b;
	color: #fff;
}

.woocommerce .cart_totals table.shop_table .order-total th,
.woocommerce .cart_totals table.shop_table .order-total td {
	color: #15141b;
	font-size: 17px;
	font-weight: 700;
}

/* --- заголовки й відступи --- */
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
	margin-bottom: 4px;
}

.woocommerce .cart_totals > h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
	margin: 0 0 20px;
	color: #15141b;
	font-size: 19px;
	font-weight: 600;
}

.woocommerce-checkout #order_review_heading {
	margin-top: 42px;
}

.woocommerce .cart-collaterals {
	margin-top: 34px;
}

/* --- кнопки не на всю ширину --- */
.woocommerce .wc-proceed-to-checkout {
	padding-top: 24px;
	text-align: right;
}

.woocommerce-checkout #payment .place-order {
	padding-top: 8px;
	text-align: right;
}


/* --- сторінки кошика й оформлення в шаблоні теми Axen (index.php: .bc, .h1, .ptabs) --- */
.woocommerce-cart .h1,
.woocommerce-checkout .h1,
.woocommerce-account .h1 {
	margin-bottom: 30px;
}

.woocommerce-cart .ptabs,
.woocommerce-checkout .ptabs,
.woocommerce-account .ptabs {
	margin-top: 0;
	margin-bottom: 90px;
	font-size: 15px;
	line-height: 1.5;
}

.ptabs table.shop_table {
	width: 100%;
	max-width: none;
}

.ptabs table.shop_table th {
	width: auto;
}

/* Поля оформлення — як у формах Axen. */
.woocommerce form .form-row label {
	margin-bottom: 6px;
	color: #5c5b66;
	font-size: 14px;
	line-height: 1.4;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d9d9df;
	border-radius: 12px;
	background: #fff;
	color: #15141b;
	font: 15px Montserrat, sans-serif;
	line-height: 1.4;
}

.woocommerce form .form-row textarea {
	min-height: 96px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border-color: #579C33;
	outline: 0;
}

.woocommerce form .form-row .required {
	display: none;
}

/* Тема Axen фарбує th у .ptabs сірим — у таблицях заявки повертаємо як на Летресі. */
.ptabs table.shop_table th {
	color: #15141b;
}

.woocommerce .cart .button[name="update_cart"] {
	padding: 12px 22px;
	border-radius: 30px;
	background: #F5F6F7;
	color: #5c5b66;
	font-size: 14px;
}

.woocommerce table.cart img {
	width: 56px;
	border-radius: 8px;
}

@media (max-width: 768px) {
	.vs-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		transform: translate(0, 20px);
	}

	.vs-toast.is-shown {
		transform: translate(0, 0);
	}

	.product-actions .gb,
	.product-actions .vs-quick-order {
		flex: 1 1 100%;
		text-align: center;
	}
}
