/**
 * Корзина — VAF-Sport
 *
 * Оформление страницы /catalog/cart/ в стиле оформления заказа:
 * те же цвета, радиусы и типографика, что и в плагине vaf-checkout.
 *
 * Все правила ограничены контейнером .vaf-cart-page, чтобы не задевать
 * другие страницы магазина.
 */

.vaf-cart-page {
	--vaf-accent: #333784;
	--vaf-accent-dark: #262a63;
	--vaf-accent-soft: #eef0fa;
	--vaf-ink: #24283b;
	--vaf-muted: #636b80;
	--vaf-faint: #8a90a1;
	--vaf-line: #e5e7ef;
	--vaf-line-soft: #eff1f7;
	--vaf-soft: #f7f8fc;
	--vaf-radius: 6px;
	--vaf-radius-ctl: 4px;
	--vaf-shadow: 0 8px 28px rgba(32, 39, 75, .06);

	padding-bottom: 40px;
	color: var(--vaf-ink);
}

/* ---------------------------------------------------------------------------
 * Шапка страницы
 * ------------------------------------------------------------------------- */

.vaf-cart-page .breadcrumb {
	margin: 18px 0 14px;
	font-size: 11px;
	letter-spacing: .06em;
}

.vaf-cart-page .breadcrumb__current {
	color: var(--vaf-faint);
}

.vaf-cart-page .vaf-cart-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 24px;
	margin: 0 0 26px;
}

.vaf-cart-page .vaf-cart-head .page-title {
	margin: 0;
	color: var(--vaf-ink);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.6px;
}

.vaf-cart-page .vaf-cart-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	padding-bottom: 5px;
	font-size: 14px;
}

.vaf-cart-page .vaf-cart-head__count {
	color: var(--vaf-muted);
}

.vaf-cart-page .vaf-cart-head__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--vaf-accent);
	font-weight: 500;
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-head__link:hover {
	color: var(--vaf-accent-dark);
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-head__arrow {
	transition: transform .18s ease;
}

.vaf-cart-page .vaf-cart-head__link:hover .vaf-cart-head__arrow {
	transform: translateX(-3px);
}

/* ---------------------------------------------------------------------------
 * Системные сообщения WooCommerce
 * ------------------------------------------------------------------------- */

.vaf-cart-page .woocommerce-message,
.vaf-cart-page .woocommerce-info,
.vaf-cart-page .woocommerce-error {
	position: relative;
	margin: 0 0 16px;
	padding: 15px 18px 15px 50px;
	list-style: none;
	border: 1px solid var(--vaf-line);
	border-left: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius);
	/* style.css задаёт фон и цвет ошибок через !important — перекрываем. */
	background: #fff !important;
	color: var(--vaf-ink) !important;
	font-size: 14px;
	line-height: 1.55;
	box-shadow: none;
	clear: both;
}

.vaf-cart-page .woocommerce-message li,
.vaf-cart-page .woocommerce-info li,
.vaf-cart-page .woocommerce-error li {
	margin: 0 0 4px;
	padding: 0;
	background: none;
	list-style: none;
}

.vaf-cart-page .woocommerce-message li:last-child,
.vaf-cart-page .woocommerce-info li:last-child,
.vaf-cart-page .woocommerce-error li:last-child {
	margin-bottom: 0;
}

.vaf-cart-page .woocommerce-message::before,
.vaf-cart-page .woocommerce-info::before,
.vaf-cart-page .woocommerce-error::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 16px;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}

.vaf-cart-page .woocommerce-message {
	border-color: #d8e9df;
	background: #f5faf7 !important;
}

.vaf-cart-page .woocommerce-message::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f8a5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
}

.vaf-cart-page .woocommerce-info {
	border-color: #dfe3f2;
	background: #f5f7fc !important;
}

.vaf-cart-page .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233c4a86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.8h.01'/%3E%3C/svg%3E");
}

.vaf-cart-page .woocommerce-error {
	border-color: #f2d8dd;
	background: #fdf5f6 !important;
}

.vaf-cart-page .woocommerce-error::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c33b4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
}

.vaf-cart-page .woocommerce-error a,
.vaf-cart-page .woocommerce-info a,
.vaf-cart-page .woocommerce-message a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Сообщение с кнопкой: текст слева, действие справа. */

.vaf-cart-page div.woocommerce-message,
.vaf-cart-page div.woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.vaf-cart-page .woocommerce-message .button,
.vaf-cart-page .woocommerce-info .button {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	margin: 0 0 0 auto;
	padding: 0 14px;
	border: 1px solid #cbd8d1;
	border-radius: var(--vaf-radius-ctl);
	background: #fff;
	color: #3f8a5f;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.vaf-cart-page .woocommerce-message .button:hover {
	border-color: #a9c3b4;
	background: #eef7f1;
	color: #35754f;
	text-decoration: none;
}

.vaf-cart-page .woocommerce-info .button {
	border-color: #cdd3e8;
	color: var(--vaf-accent);
}

.vaf-cart-page .woocommerce-info .button:hover {
	border-color: #aeb7dd;
	background: var(--vaf-accent-soft);
	color: var(--vaf-accent-dark);
}

/* Ошибка в поле купона. */

.vaf-cart-page .vaf-coupon .input-text.has-error,
.vaf-cart-page .vaf-coupon .input-text[aria-invalid="true"] {
	border-color: #c33b4f;
}

.vaf-cart-page .coupon-error-notice {
	flex-basis: 100%;
	margin: 2px 0 0;
	color: #c33b4f;
	font-size: 12.5px;
	line-height: 1.4;
}

/* ---------------------------------------------------------------------------
 * Сетка страницы
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

@media (min-width: 768px) and (max-width: 1199px) {
	/* На планшете карточка итогов прижата к правому краю и не растягивается. */
	.vaf-cart-page .vaf-cart__aside {
		max-width: 460px;
		margin-left: auto;
	}
}

@media (min-width: 1200px) {
	.vaf-cart-page .vaf-cart {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 28px;
	}

	/* Карточка итогов начинается на одной линии с первым товаром. */
	.vaf-cart-page .vaf-cart__aside {
		position: sticky;
		top: 168px;
		margin-top: 25px;
	}
}

.vaf-cart-page .vaf-cart__form {
	min-width: 0;
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Заголовок списка товаров
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart__items-head {
	display: none;
	grid-template-columns: 84px minmax(0, 1fr) 112px 104px 28px;
	gap: 16px;
	padding: 0 18px 10px;
	color: var(--vaf-faint);
	font-size: 11px;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.vaf-cart-page .vaf-cart__items-head {
		display: grid;
	}
}

.vaf-cart-page .vaf-cart__col--product {
	grid-column: 1 / 3;
}

.vaf-cart-page .vaf-cart__col--qty {
	grid-column: 3;
	text-align: center;
}

.vaf-cart-page .vaf-cart__col--sum {
	grid-column: 4;
	text-align: right;
}

.vaf-cart-page .vaf-cart__list {
	display: grid;
	gap: 10px;
}

/* ---------------------------------------------------------------------------
 * Позиция корзины
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart-item {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) 112px 104px 28px;
	grid-template-areas: "media body qty sum remove";
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.vaf-cart-page .vaf-cart-item:hover {
	border-color: #d7dbe9;
	box-shadow: 0 6px 18px rgba(32, 39, 75, .06);
}

.vaf-cart-page .vaf-cart-item__media {
	grid-area: media;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	padding: 5px;
	border: 1px solid var(--vaf-line-soft);
	border-radius: var(--vaf-radius-ctl);
	background: #fbfbfd;
	overflow: hidden;
}

.vaf-cart-page .vaf-cart-item__media a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.vaf-cart-page .vaf-cart-item__media img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

.vaf-cart-page .vaf-cart-item__body {
	grid-area: body;
	min-width: 0;
}

.vaf-cart-page .vaf-cart-item__title {
	color: var(--vaf-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.vaf-cart-page .vaf-cart-item__title a {
	color: var(--vaf-ink);
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-item__title a:hover {
	color: var(--vaf-accent);
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-item__meta {
	margin-top: 6px;
}

.vaf-cart-page .vaf-cart-item__meta .variation {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 0;
	color: var(--vaf-muted);
	font-size: 12px;
	line-height: 1.5;
}

.vaf-cart-page .vaf-cart-item__meta .variation dt {
	margin: 0;
	color: var(--vaf-faint);
	font-weight: 400;
}

.vaf-cart-page .vaf-cart-item__meta .variation dt::after {
	content: ":";
}

.vaf-cart-page .vaf-cart-item__meta .variation dd {
	margin: 0;
	color: var(--vaf-muted);
	font-weight: 500;
}

.vaf-cart-page .vaf-cart-item__meta p {
	margin: 0;
	color: var(--vaf-muted);
	font-size: 12px;
	line-height: 1.5;
}

.vaf-cart-page .vaf-cart-item__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 8px;
	color: var(--vaf-muted);
	font-size: 13px;
	line-height: 1.4;
}

.vaf-cart-page .vaf-cart-item__price-unit {
	color: var(--vaf-faint);
	font-size: 12px;
}

.vaf-cart-page .vaf-cart-item__price .woocommerce-Price-amount {
	color: var(--vaf-muted);
	font-size: 13px;
	font-weight: 500;
}

.vaf-cart-page .vaf-cart-item__price del {
	margin-right: 5px;
	color: var(--vaf-faint);
	font-size: 12px;
	text-decoration-color: rgba(195, 59, 79, .45);
}

.vaf-cart-page .vaf-cart-item__price del .woocommerce-Price-amount {
	color: var(--vaf-faint);
	font-size: 12px;
	font-weight: 400;
}

.vaf-cart-page .vaf-cart-item__price ins {
	color: var(--vaf-muted);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.vaf-cart-page .backorder_notification {
	margin: 6px 0 0;
	color: #9a6a1e;
	font-size: 12px;
}

/* Сумма по позиции */

.vaf-cart-page .vaf-cart-item__sum {
	grid-area: sum;
	color: var(--vaf-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.vaf-cart-page .vaf-cart-item__sum .woocommerce-Price-amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/* Удаление позиции */

.vaf-cart-page .vaf-cart-item .product-remove {
	grid-area: remove;
	display: flex;
	justify-content: flex-end;
}

.vaf-cart-page .vaf-cart-item .product-remove .remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: transparent;
	color: #a8adbd;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.vaf-cart-page .vaf-cart-item .product-remove .remove:hover {
	background: #fdf0f2;
	color: #c33b4f;
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * Количество: кнопки «−» и «+»
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart-item__qty {
	grid-area: qty;
	display: flex;
	justify-content: center;
}

.vaf-cart-page .vaf-qty {
	display: flex;
	align-items: stretch;
	width: 112px;
	height: 40px;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius-ctl);
	background: #fff;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.vaf-cart-page .vaf-qty:focus-within {
	border-color: var(--vaf-accent);
	box-shadow: 0 0 0 3px rgba(51, 55, 132, .12);
}

.vaf-cart-page .vaf-qty .quantity {
	display: contents;
}

.vaf-cart-page .vaf-qty__btn {
	position: relative;
	flex: 0 0 32px;
	width: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--vaf-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.vaf-cart-page .vaf-qty__btn::before {
	display: block;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
}

.vaf-cart-page .vaf-qty__btn--minus::before {
	content: "\2212";
}

.vaf-cart-page .vaf-qty__btn--plus::before {
	content: "+";
}

.vaf-cart-page .vaf-qty__btn:hover:not(:disabled) {
	background: var(--vaf-soft);
	color: var(--vaf-ink);
}

.vaf-cart-page .vaf-qty__btn:disabled {
	color: #cdd1dd;
	cursor: default;
}

.vaf-cart-page .vaf-qty__btn:focus-visible {
	outline: 2px solid var(--vaf-accent);
	outline-offset: -2px;
}

.vaf-cart-page .vaf-qty input.qty {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--vaf-ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 38px;
	text-align: center;
	text-indent: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.vaf-cart-page .vaf-qty input.qty:focus {
	outline: 0;
	box-shadow: none;
}

.vaf-cart-page .vaf-qty input.qty::-webkit-outer-spin-button,
.vaf-cart-page .vaf-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Купон и служебные кнопки
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-top: 16px;
}

.vaf-cart-page .vaf-coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.vaf-cart-page .vaf-coupon .input-text {
	width: 210px;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius-ctl);
	background: #fff;
	box-shadow: none;
	color: var(--vaf-ink);
	font-size: 14px;
	line-height: 42px;
}

.vaf-cart-page .vaf-coupon .input-text::placeholder {
	color: var(--vaf-faint);
	opacity: 1;
}

.vaf-cart-page .vaf-coupon .input-text:focus {
	outline: 0;
	border-color: var(--vaf-accent);
	box-shadow: 0 0 0 3px rgba(51, 55, 132, .12);
}

.vaf-cart-page .vaf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border-radius: var(--vaf-radius-ctl);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.vaf-cart-page .vaf-btn--ghost {
	border: 1px solid var(--vaf-line);
	background: #fff;
	color: var(--vaf-ink);
}

.vaf-cart-page .vaf-btn--ghost:hover {
	border-color: #c3c8da;
	background: #fff;
	color: var(--vaf-accent);
	text-decoration: none;
}

.vaf-cart-page .vaf-cart__actions-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vaf-cart-page .vaf-cart__update {
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: var(--vaf-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
	cursor: pointer;
}

.vaf-cart-page .vaf-cart__update:hover:not(:disabled) {
	background: transparent;
	color: var(--vaf-accent);
}

.vaf-cart-page .vaf-cart__update:disabled {
	opacity: .5;
	cursor: default;
}

/* ---------------------------------------------------------------------------
 * Итоги заказа
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart .vaf-summary {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius);
	box-shadow: var(--vaf-shadow);
}

.vaf-cart-page .vaf-cart .vaf-summary__title {
	margin: 0 0 14px;
	color: var(--vaf-ink);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.2px;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: none;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tbody {
	display: block;
	width: 100%;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--vaf-line-soft);
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr:last-child {
	border-bottom: 0;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr th {
	width: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vaf-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr td {
	padding: 0;
	border: 0;
	background: none;
	color: var(--vaf-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr td small {
	color: var(--vaf-faint);
	font-size: 12px;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr.cart-discount td {
	color: #3f8a5f;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr.cart-discount a.woocommerce-remove-coupon {
	margin-left: 6px;
	color: #c33b4f;
	font-size: 12px;
}

/* Доставка */

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr.woocommerce-shipping-totals {
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
}

.vaf-cart-page .vaf-cart .vaf-summary .vaf-summary__table tr.woocommerce-shipping-totals td {
	text-align: left;
}

.vaf-cart-page .woocommerce-shipping-methods {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vaf-cart-page .woocommerce-shipping-methods li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--vaf-ink);
	font-size: 13px;
	line-height: 1.5;
}

.vaf-cart-page .woocommerce-shipping-methods li label {
	display: inline;
	margin: 0;
	color: var(--vaf-ink);
	font-size: 13px;
	font-weight: 400;
}

.vaf-cart-page .woocommerce-shipping-methods input[type="radio"] {
	margin: 0 2px 0 0;
	accent-color: var(--vaf-accent);
}

.vaf-cart-page .vaf-cart .vaf-summary .woocommerce-shipping-destination {
	margin: 4px 0 0;
	color: var(--vaf-faint);
	font-size: 12px;
	line-height: 1.5;
}

.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-button {
	display: inline-block;
	margin: 4px 0 0;
	color: var(--vaf-accent);
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-form {
	margin: 12px 0 0;
}

.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-form p {
	margin: 0 0 10px;
}

.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-form .input-text,
.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-form select {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius-ctl);
	background: #fff;
	color: var(--vaf-ink);
	font-size: 14px;
}

.vaf-cart-page .vaf-cart .vaf-summary .shipping-calculator-form .button {
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius-ctl);
	background: #fff;
	color: var(--vaf-ink);
	font-size: 14px;
}

/* Итого */

.vaf-cart-page .vaf-cart .vaf-summary__table tr.order-total {
	margin-top: 4px;
	padding: 16px 0 4px;
	border-top: 1px solid var(--vaf-line);
	border-bottom: 0;
}

.vaf-cart-page .vaf-cart .vaf-summary__table tr.order-total th {
	color: var(--vaf-ink);
	font-size: 15px;
	font-weight: 600;
}

.vaf-cart-page .vaf-cart .vaf-summary__table tr.order-total td {
	color: var(--vaf-accent);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.4px;
	line-height: 1.2;
}

.vaf-cart-page .vaf-cart .vaf-summary__table tr.order-total td .woocommerce-Price-amount {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}

/* Кнопка «Перейти к оформлению» */

.vaf-cart-page .vaf-cart .vaf-summary .wc-proceed-to-checkout {
	margin: 18px 0 0;
	padding: 0;
}

.vaf-cart-page .vaf-cart .vaf-summary .wc-proceed-to-checkout::after {
	display: none;
}

.vaf-cart-page .vaf-cart .vaf-summary .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-radius: var(--vaf-radius-ctl);
	background: var(--vaf-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	transition: background .18s ease;
}

.vaf-cart-page .vaf-cart .vaf-summary .checkout-button:hover {
	background: var(--vaf-accent-dark);
	color: #fff;
	text-decoration: none;
}

.vaf-cart-page .vaf-cart .vaf-summary .checkout-button:focus-visible {
	outline: 3px solid #9097d1;
	outline-offset: 3px;
}

.vaf-cart-page .vaf-cart .vaf-summary .checkout-button::after {
	content: "\2192";
	font-size: 18px;
	line-height: 1;
	transition: transform .18s ease;
}

.vaf-cart-page .vaf-cart .vaf-summary .checkout-button:hover::after {
	transform: translateX(3px);
}

/* Подписи под кнопкой */

.vaf-cart-page .vaf-cart .vaf-summary__footer {
	display: grid;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--vaf-line-soft);
}

.vaf-cart-page .vaf-cart .vaf-summary__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--vaf-muted);
	font-size: 12.5px;
	line-height: 1.5;
}

.vaf-cart-page .vaf-cart .vaf-summary__icon {
	flex: 0 0 16px;
	margin-top: 2px;
	color: #8f96ad;
}

.vaf-cart-page .vaf-cart .vaf-summary__note a {
	color: var(--vaf-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vaf-cart-page .vaf-cart .vaf-summary__note a:hover {
	color: var(--vaf-accent);
}

/* ---------------------------------------------------------------------------
 * Пустая корзина
 * ------------------------------------------------------------------------- */

.vaf-cart-page .vaf-cart-empty {
	position: relative;
	padding: 4px 0 16px;
}

.vaf-cart-page .vaf-cart-empty__glow {
	position: absolute;
	top: 40px;
	left: 50%;
	width: 520px;
	height: 300px;
	max-width: 100%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(51, 55, 132, .10), rgba(51, 55, 132, 0));
	transform: translateX(-50%);
	pointer-events: none;
}

.vaf-cart-page .vaf-cart-empty__card {
	position: relative;
	max-width: 660px;
	margin: 0 auto;
	padding: 44px 32px 32px;
	background: #fff;
	border: 1px solid var(--vaf-line);
	border-radius: var(--vaf-radius);
	box-shadow: var(--vaf-shadow);
	text-align: center;
}

.vaf-cart-page .vaf-cart-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--vaf-accent-soft);
	color: var(--vaf-accent);
}

.vaf-cart-page .vaf-cart-empty__title {
	margin: 0 0 10px;
	color: var(--vaf-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.3px;
}

.vaf-cart-page .vaf-cart-empty__text {
	max-width: 430px;
	margin: 0 auto 24px;
	color: var(--vaf-muted);
	font-size: 15px;
	line-height: 1.6;
}

.vaf-cart-page .vaf-cart-empty .return-to-shop {
	margin: 0 0 26px;
}

.vaf-cart-page .vaf-cart-empty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: var(--vaf-radius-ctl);
	background: var(--vaf-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background .18s ease;
}

.vaf-cart-page .vaf-cart-empty__cta:hover {
	background: var(--vaf-accent-dark);
	color: #fff;
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-empty__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	padding-top: 20px;
	border-top: 1px solid var(--vaf-line-soft);
	font-size: 13px;
	line-height: 1.5;
}

.vaf-cart-page .vaf-cart-empty__links-label {
	width: 100%;
	margin-bottom: 2px;
	color: var(--vaf-faint);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.vaf-cart-page .vaf-cart-empty__links a {
	color: var(--vaf-muted);
	text-decoration: none;
}

.vaf-cart-page .vaf-cart-empty__links a:hover {
	color: var(--vaf-accent);
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * Планшеты и телефоны
 * ------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.vaf-cart-page .vaf-cart-head .page-title {
		font-size: 27px;
		letter-spacing: -.4px;
	}

	.vaf-cart-page .vaf-cart-head {
		margin-bottom: 20px;
	}

	.vaf-cart-page .vaf-cart-item {
		grid-template-columns: 80px minmax(0, 1fr) auto;
		grid-template-areas:
			"media body remove"
			"media qty sum";
		align-items: start;
		gap: 10px 14px;
		padding: 14px;
	}

	.vaf-cart-page .vaf-cart-item__media {
		width: 80px;
		height: 80px;
	}

	.vaf-cart-page .vaf-cart-item__qty {
		justify-content: flex-start;
		align-self: center;
		margin-top: 2px;
	}

	.vaf-cart-page .vaf-qty {
		width: 108px;
		height: 38px;
	}

	.vaf-cart-page .vaf-cart-item__sum {
		align-self: center;
		margin-top: 2px;
		font-size: 15px;
	}

	.vaf-cart-page .vaf-cart-item .product-remove {
		align-self: start;
	}

	.vaf-cart-page .vaf-cart-item .product-remove .remove {
		width: 28px;
		height: 28px;
		font-size: 19px;
	}

	.vaf-cart-page .vaf-cart__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.vaf-cart-page .vaf-coupon .input-text {
		flex: 1 1 140px;
		width: auto;
	}

	.vaf-cart-page .vaf-cart__actions-right {
		justify-content: space-between;
	}

	.vaf-cart-page .vaf-cart .vaf-summary {
		padding: 18px 16px;
	}

	.vaf-cart-page .vaf-cart .vaf-summary__table tr.order-total td {
		font-size: 21px;
	}

	.vaf-cart-page .vaf-cart-empty__card {
		padding: 32px 20px 26px;
	}

	.vaf-cart-page .vaf-cart-empty__title {
		font-size: 21px;
	}

	.vaf-cart-page .vaf-cart-empty__text {
		font-size: 14px;
	}

	.vaf-cart-page .vaf-cart-empty__icon {
		width: 80px;
		height: 80px;
	}

	.vaf-cart-page .vaf-cart-empty__icon svg {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 359px) {
	.vaf-cart-page .vaf-cart-item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
	}

	.vaf-cart-page .vaf-cart-item__media {
		width: 64px;
		height: 64px;
	}

	.vaf-cart-page .vaf-qty {
		width: 96px;
	}

	.vaf-cart-page .vaf-qty__btn {
		flex-basis: 28px;
		width: 28px;
	}
}
