/**
 * Checkout — Figma "VATALY — Checkout" (checkout.md). See inc/checkout.php.
 *
 * Colours and fonts come from the style.css :root tokens only:
 *   --ink_text #25221E · --bg_clr1 #FAF7F1 · --bg_clr2 #EEE8DD
 *   --b_clr #DED6C7 · --h_clr #8C857A · --msg_red #8C2F2A (errors)
 *   --space_4…--space_24 (Figma CHECKOUT library, 2026-10-09)
 *
 * Desktop geometry (1440 frame): 1134px content, 565px steps column, 348px
 * bag column. Below 992px the columns stack and the bag collapses into a bar.
 */

/* ---------------------------------------------------------------------------
 * Page shell
 * ------------------------------------------------------------------------ */

.vataly-checkout .site-content,
.vataly-checkout .site-main {
	background: var(--bg_clr1);
}

.vataly-checkout.woocommerce-checkout .page-header,
.vataly-checkout.woocommerce-checkout .entry-header {
	display: none;
}

.vco {
	--vco-left: 565px;
	--vco-right: 348px;
	--vco-field-h: 43px;
	--vco-btn-h: 46px; /* Figma 16 Nov Checkout Button (44 on mobile, below) */

	box-sizing: border-box;
	max-width: 1134px;
	margin: 0 auto;
	padding: 0px 0 80px;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.36;
}

.vco *,
.vco *::before,
.vco *::after {
	box-sizing: border-box;
}

/* Desktop: the theme's 60px .site-content padding + 40px .entry-content
 * margin become the Figma gap from the header rule to the stepper (61px) —
 * checkout form and, since Figma 16 Nov, the confirmation (same stepper). */
@media (min-width: 992px) {
	.vataly-checkout.woocommerce-checkout .site-content {
		padding-top: 61px;
	}

	.vataly-checkout.woocommerce-checkout .entry-content {
		margin-top: 0;
	}

	/* Form end → footer divider: 64px (Figma: privacy line 1071, rule 1135). */
	.vataly-checkout.woocommerce-checkout .vco {
		padding-bottom: 0;
	}

	.vataly-checkout.woocommerce-checkout .site-content {
		padding-bottom: 64px;
	}

	/* No newsletter band on checkout (vataly_checkout_footer_sections()), so
	 * the footer opens with the Figma "Website divider" (inset 1px sand rule,
	 * on the 43–1396 container like the other footer rules) and the social
	 * links 86px below it, in place of the 152px that followed the band. */
	.vataly-checkout .vataly-footer__band--connect {
		padding-top: 0;
	}

	.vataly-checkout .vataly-footer__band--connect > .footer-container {
		padding-top: 85px;
		border-top: 1px solid var(--b_clr);
	}
}

/* ---------------------------------------------------------------------------
 * Minimal checkout header (Figma "Header / Checkout Minimal", desktop 444:706
 * 1440 × 93, mobile 444:715 402 × 60; template-parts/checkout/chk-header.php).
 * Checkout form only — #masthead carries just .vco-masthead there.
 * ------------------------------------------------------------------------ */

.vco-masthead {
	position: relative;
	border-bottom: 1px solid var(--b_clr);
	background: var(--bg_clr1);
}

.vco-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: var(--space_16);
	box-sizing: border-box;
	height: 93px;
	padding: 0 32px;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0;
}

.vco-header__back,
.vco-header__secure {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--ink_text);
	font: inherit;
}

.vco-header__back {
	justify-self: start;
	text-decoration: none;
}

.vco-header__back:hover,
.vco-header__back:focus-visible {
	color: var(--ink_text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vco-header__back:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

.vco-header__secure {
	justify-self: end;
}

.vco-header__icon {
	flex: none;
	width: 16px;
	height: 16px;
}

.vco-header__icon--lock {
	width: 12px;
	height: 12px;
}

/* Logo frame 192 × 49 (padding 10), logo 172 × 29. */
.vco-header .site-branding {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 192px;
	height: 49px;
	margin: 0;
	padding: 10px;
}

.vco-header .logo {
	display: block;
	line-height: 0;
}

.vco-header .logo img {
	display: block;
	width: 172px;
	max-width: none;
	height: auto;
}

.vco-header .logo-light {
	display: none !important;
}

@media (max-width: 767.98px) {
	/* Mobile frame: 60px, 16px insets, Header 10, chevron 12 (gap 4),
	 * lock 10 (gap 6), logo 94 × 20. */
	.vco-header {
		column-gap: var(--space_8);
		height: 60px;
		padding: 0 16px;
		font-size: 10px;
	}

	.vco-header__back {
		gap: 4px;
	}

	.vco-header__icon {
		width: 12px;
		height: 12px;
	}

	.vco-header__icon--lock {
		width: 10px;
		height: 10px;
	}

	.vco-header .site-branding {
		width: auto;
		height: auto;
		padding: 0;
	}

	.vco-header .logo img {
		width: 94px;
	}
}

/* css/typography.css sets every h1–h6 to Cormorant !important; the Figma
 * checkout is Manrope throughout (h1: the confirmation title). */
.vco h1,
.vco h2,
.vco h3 {
	font-family: var(--font2), sans-serif !important;
}

/* Legacy style.css checkout rules (font-size 18px !important on inputs, grey
 * .woocommerce-info) predate this design; neutralised inside .vco only. */
.vco form.woocommerce-checkout .woocommerce-input-wrapper .input-text,
.vco .vco-field {
	font-size: 14px !important;
}

.vco .woocommerce-info {
	background-color: transparent !important;
	color: var(--ink_text) !important;
}

.vco-cols {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	/* Figma "chk states": 48 from the stepper to the columns (16 Nov: 58). */
	margin-top: 48px;
}

.vco-left {
	flex: 0 1 var(--vco-left);
	min-width: 0;
}

.vco-aside {
	flex: 0 0 var(--vco-right);
	min-width: 0;
}

/* ---------------------------------------------------------------------------
 * Shared type + controls
 * ------------------------------------------------------------------------ */

.vco-h {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.36;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vco-sub {
	/* Figma Content/Section Header (DELIVERY DETAILS): Header 16, 24 to the
	 * fields ("chk states"; was 14 / 16 on desktop). */
	margin: 0 0 var(--space_24);
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	text-transform: uppercase;
}

.vco-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.36;
	text-transform: uppercase;
	cursor: pointer;
}

.vco-link:hover,
.vco-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vco-link:focus-visible,
.vco-bag__toggle:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

/* Selectable card (Figma selection language): 1px taupe → 2px ink when
 * selected; padding drops 1px so the card does not grow. Used by the address
 * card, delivery-method options and the payment options (Konte's
 * li.wc_payment_method, listed here because it cannot carry the class). */
.vco-option,
.vco #payment ul.payment_methods li.wc_payment_method {
	padding: var(--space_20);
	border: 1px solid var(--h_clr);
	background: var(--bg_clr1);
}

.vco-option.is-selected,
.vco #payment ul.payment_methods li.wc_payment_method.is-selected {
	/* Figma "chk states": the 2px inside stroke adds to the 20 padding, so a
	 * selected card is 2px taller and its content moves 1px in (shipping 61 →
	 * 63, radio 21 → 22; 2026-11-20 — was padding 19 to keep the size). */
	padding: var(--space_20);
	border: 2px solid var(--ink_text);
}

.vco-option.is-disabled,
.vco #payment ul.payment_methods li.wc_payment_method.is-disabled {
	border-color: var(--b_clr);
	background: var(--bg_clr2);
	color: var(--h_clr);
}

/* Input bars (Figma "Checkout Bar"): default muted, hover/focus ink. */
.vco .vco-field,
.vco .woocommerce-billing-fields .input-text,
.vco .woocommerce-billing-fields select {
	display: block;
	width: 348px;
	max-width: 100%;
	height: var(--vco-field-h);
	margin: 0;
	padding: 0 var(--space_12);
	border: 1px solid var(--h_clr);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
}

.vco .vco-field::placeholder,
.vco .woocommerce-billing-fields .input-text::placeholder {
	/* Hints in text/secondary (Figma Form/Input field text TS, 2026-11-20; was taupe). */
	color: var(--taupe-text);
	opacity: 1;
}

.vco .vco-field:hover,
.vco .vco-field:focus,
.vco .woocommerce-billing-fields .input-text:hover,
.vco .woocommerce-billing-fields .input-text:focus,
.vco .woocommerce-billing-fields select:hover,
.vco .woocommerce-billing-fields select:focus {
	border-color: var(--ink_text);
	outline: none;
}

/* Disabled fields (same tokens as .vco-btn:disabled). */
.vco .vco-field:disabled,
.vco .woocommerce-billing-fields .input-text:disabled,
.vco .woocommerce-billing-fields select:disabled {
	border-color: var(--b_clr);
	background-color: var(--bg_clr2);
	color: var(--h_clr);
	cursor: not-allowed;
}

/* Field labels (Figma Form/Input label: Header 12, 4px above the field). */
.vco .woocommerce-billing-fields .form-row label,
.vco .vco-promo__label {
	display: block;
	margin: 0 0 var(--space_4);
	padding: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	text-transform: none;
}

/* Woo 10 marks required fields with <span class="required">*</span> (and
 * aria-required on the input) — not shown in Figma. Konte hides .optional
 * sitewide; it is shown here so the optional field reads "(optional)". */
.vco .woocommerce-billing-fields .form-row label abbr.required,
.vco .woocommerce-billing-fields .form-row label .required {
	display: none;
}

.vco .woocommerce-billing-fields .form-row label .optional {
	display: inline;
	font-weight: 300;
}

.vco .vco-field:hover::placeholder,
.vco .vco-field:focus::placeholder,
.vco .woocommerce-billing-fields .input-text:hover::placeholder,
.vco .woocommerce-billing-fields .input-text:focus::placeholder {
	color: var(--ink_text);
}

/* Privacy line under buttons (12 Light). */
.vco .woocommerce-privacy-policy-text {
	/* Fills its column: 565 under the Step 1 fields, 348 above PAY NOW
	 * (Figma "chk states" Content/Legal Note; 16 Nov: max 348). */
	margin-top: 12px;
}

/* Figma Content/Legal Note: the link on its own line, 4 below the lead. */
.vco-legal__link {
	display: block;
	margin-top: var(--space_4);
}

.vco .woocommerce-privacy-policy-text p {
	margin: 0;
	font-size: 12px;
	font-weight: 300;
	/* Body 12 on a 16px line: lead 16 + 4 + link 16 = Figma's 36. */
	line-height: 16px;
}

.vco .woocommerce-privacy-policy-text a {
	color: var(--ink_text);
	font-weight: 700;
	text-decoration: none;
}

/* ---------------------------------------------------------------------------
 * Progress (Figma Nav/Step + Nav/Step Indicator, 4028:593) — shared base, also
 * used by the Returns & Exchanges stepper (template-parts/account/ACC_RX-steps.php):
 * Complete: 2px ink rule + tick + Body 14 · Current: 2px ink rule + Header 14
 * · Upcoming: 2px sand rule + taupe Body 14.
 * The checkout's Figma 16 Nov look is the .vco-progress--checkout modifier below.
 * ------------------------------------------------------------------------ */

.vco-progress {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	column-gap: var(--space_16);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vco-progress__step {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
	margin: 0;
	padding: 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
	text-transform: none;
}

.vco-progress__rule {
	display: flex;
	gap: var(--space_4);
}

.vco-progress__seg {
	flex: 1 1 0;
	height: 2px;
	background: var(--b_clr);
}

.vco-progress__step.is-complete .vco-progress__seg,
.vco-progress__step.is-current .vco-progress__seg {
	background: var(--ink_text);
}

.vco-progress__label {
	display: inline-flex;
	align-items: center;
	gap: var(--space_4);
}

.vco-progress__tick {
	display: none;
	flex: 0 0 16px;
	color: var(--ink_text);
}

.vco-progress__step.is-current .vco-progress__label {
	font-weight: 700;
}

.vco-progress__step.is-upcoming .vco-progress__label {
	color: var(--h_clr);
}

.vco-progress__step.is-complete > .vco-progress__label .vco-progress__tick {
	display: block;
}

/* Theme list items carry a 6px bottom margin; the checkout indicator has
 * none (Figma: 2px rule, 8, 19px label = 29; desktop columns 48 below). */
.vco-progress--checkout .vco-progress__step {
	margin: 0;
}

/* Checkout, Figma "chk states" (2026-11-20, chk-state-11 / 14): the shared
 * base above (tick + ink rule / Header 14 current / 2px sand upcoming), with
 * upcoming labels in text/secondary. Replaces the 16 Nov look (1px taupe
 * upcoming line, every label Body 14 ink, no ticks).
 *
 * Delivery sub-steps (.has-substeps, review state, 18b): the Delivery rule
 * splits into two 4px-apart segments and a 16px row follows the label —
 * "✓ Address" (Body 12) and "Shipping" (Header 12), each over its segment. */
.vco-progress--checkout .vco-progress__step.is-upcoming .vco-progress__label {
	color: var(--taupe-text);
}

.vco-progress--checkout .vco-progress__seg--sub,
.vco-progress--checkout .vco-progress__sub {
	display: none;
}

.vco-progress--checkout.has-substeps .vco-progress__seg--sub {
	display: block;
}

.vco-progress--checkout.has-substeps .vco-progress__sub {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space_4);
}

.vco-progress__substep {
	display: inline-flex;
	align-items: center;
	gap: var(--space_4);
	color: var(--ink_text);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
}

.vco-progress__substep.is-current {
	font-weight: 700;
}

.vco-progress__substep .vco-progress__tick {
	display: block;
}

/* Compact line (mobile only). */
.vco-progress__compact {
	display: none;
	margin: var(--space_8) 0 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.36;
}

/* ---------------------------------------------------------------------------
 * Guest / sign-in line + inline login form
 * ------------------------------------------------------------------------ */

.vco .checkout-login {
	margin: 0 0 var(--space_24);
}

.vco-guest {
	display: flex;
	flex-wrap: wrap;
	/* Figma Nav/Tabs: 8 between CHECKOUT AS A GUEST and OR SIGN IN. */
	gap: 4px var(--space_8);
	font-size: 16px;
	line-height: 1.36;
	text-transform: uppercase;
}

.vco-guest__label {
	font-weight: 300;
}

.vco-guest__signin {
	color: var(--ink_text);
	font-weight: 700;
	text-decoration: none;
}

.vco-guest__signin:hover,
.vco-guest__signin:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vco .checkout-login form.woocommerce-form-login {
	max-width: 348px;
	margin: 20px 0 0;
	padding: 0;
	border: 0;
}

.vco .checkout-login form.woocommerce-form-login > p:first-child {
	font-size: 12px;
}

.vco .checkout-login .input-text {
	width: 100%;
	height: var(--vco-field-h);
	padding: 0 8px;
	border: 1px solid var(--h_clr);
	border-radius: 0;
	background: transparent;
	font-size: 14px;
}

.vco .checkout-login .input-text:hover,
.vco .checkout-login .input-text:focus {
	border-color: var(--ink_text);
	outline: none;
}

.vco .checkout-login .woocommerce-form-login__submit {
	width: 100%;
	height: var(--vco-btn-h);
	border-radius: 0;
	background: var(--ink_text);
	color: var(--bg_clr1);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * Delivery step (Figma "chk states" 2026-11-20: chk-state-1 / 8 / 9 / 12;
 * the same on every breakpoint). Section headers (DELIVERY METHOD, SHIPPING
 * METHOD, PAYMENT METHOD, DELIVERY DETAILS) are Header 16; blocks 24 apart.
 * Review: address card (1px taupe, EDIT inside) → SHIPPING METHOD → options.
 * Payment: address card only. Replaces the 16 Nov desktop look (option block
 * above the form, one 1px ink card with EDIT beside a Header 18 heading).
 * ------------------------------------------------------------------------ */

.vco-dhead {
	margin: 0 0 var(--space_24);
}

.vco-dhead .vco-h,
.vco .vco-shead,
.vco-payment .vco-h {
	/* Content/Section Header: Header 16 at every width (.vco .vco-shead beats
	 * the ≤767.98 `.vco-h` 14px rule, as the other two selectors do). */
	font-size: 16px;
	line-height: 22px;
}

.vco-dcard {
	display: flex;
	flex-direction: column;
	gap: var(--space_24);
}

/* Address card (Figma Checkout/Address Card, template-parts/checkout/
 * address-card.php). Border + padding come from .vco-option. */
.vco-acard {
	display: flex;
	flex-direction: column;
	gap: var(--space_12);
	width: 100%;
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
}

.vco-acard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space_12);
}

.vco-acard--edit .vco-acard__head {
	justify-content: flex-end;
}

.vco-acard--tag .vco-acard__head {
	justify-content: flex-start;
}

.vco-acard__tag {
	display: inline-flex;
	align-items: center;
	padding: var(--space_8) var(--space_12);
	background: var(--bg_clr2);
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
}

.vco-acard__tag[hidden] {
	display: none;
}

.vco-acard__edit {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.36;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.vco-acard__edit:hover,
.vco-acard__edit:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Tap area (P8): padding + equal negative margin = bigger target, same
 * layout. Desktop ≥ 24px; ≤ 991px ≥ 44px (below, in the media query). */
.vco .vco-acard__edit,
.vab-card .vco-acard__edit {
	margin: -4px -8px;
	padding: 4px 8px;
}

.vco-acard__edit:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

.vco-acard__details {
	display: block;
	margin: 0;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 1.36;
}

.vco-acard__details span {
	display: block;
}

/* `select` variant (address-book panel): the details are a button —
 * tap = deliver to this address. */
.vco-acard__select {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.vco-acard__select:hover,
.vco-acard__select:focus {
	background: transparent;
	color: inherit;
}

.vco-acard__select:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

/* Footer row (Set as default / Delete). */
.vco-acard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space_12) var(--space_20);
}

/* Shipping options (fragment; Figma "chk states" Checkout/Shipping Method
 * Option, chk-state-8 §7): cards 12 apart, 20 padding, 1px taupe /
 * selected 2px ink (.vco-option); row = radio + name (Body 14) left, price
 * (Body 14) right; the selected card adds the delivery window 12 below
 * (Body 12, text/secondary). No-rates Warning banner: template-parts/cart/
 * notice.php in a .vbag wrapper (css/bag.css). */
.vco-ship__list {
	display: flex;
	flex-direction: column;
	gap: var(--space_12);
}

.vco-ship__option {
	display: flex;
	flex-direction: column;
	gap: var(--space_12);
	margin: 0;
	color: var(--ink_text);
	cursor: pointer;
}

.vco-ship__main {
	display: flex;
	align-items: center;
	gap: var(--space_8);
}

.vco-ship__label,
.vco-ship__cost {
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

.vco-ship__label {
	flex: 1 1 auto;
	min-width: 0;
}

.vco-ship__cost {
	flex: 0 0 auto;
	text-align: right;
}

.vco-ship__date {
	display: none;
	color: var(--taupe-text);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
}

.vco-ship__option.is-selected .vco-ship__date {
	display: block;
}

/* No rates: no delivery-time note under the banner (chk-state-10 #9). */
.vco-dopt:has(.vco-ship[data-vco-no-rates]) .vco-note {
	display: none;
}

.vco-note {
	/* Custom Actions delivery note, under the options (no Figma slot). */
	margin: var(--space_24) 0 0;
	color: var(--taupe-text);
	font-size: 12px;
	font-weight: 300;
	line-height: 1.36;
}

/* Radio (Figma Form/Radio): 18px ring, 1px taupe; selected = ink ring +
 * 8px ink dot. Native input kept for semantics and WooCommerce. Payment
 * radios (core markup, class input-radio) share it. */
.vco input.vco-radio,
.vco #payment input[name="payment_method"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--h_clr);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.vco input.vco-radio:checked,
.vco #payment input[name="payment_method"]:checked {
	border-color: var(--ink_text);
	background: radial-gradient(circle, var(--ink_text) 0 4px, transparent 4.5px);
}

.vco input.vco-radio:focus-visible,
.vco #payment input[name="payment_method"]:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

.vco input.vco-radio:disabled,
.vco #payment input[name="payment_method"]:disabled {
	border-color: var(--b_clr);
	background-color: var(--bg_clr2);
	cursor: not-allowed;
}

/* Address form (form state): first block of the left column (after the
 * guest line), so no top margin ("chk states"; 16 Nov: 41 under the
 * delivery option block). */
.vco-details {
	margin-top: 0;
}

/* Mobile field (Figma Form/Mobile Number): "+91" cell, 48 wide, inside the
 * border; input text from x61. Also on the address-book Add / Edit form.
 * Errors add a 1px inset shadow, so the cell moves in 1px more. */
.vco-tel {
	position: relative;
	display: block;
}

.vco-tel__prefix {
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	border-right: 1px solid var(--h_clr);
	background: var(--bg_clr2);
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1;
	pointer-events: none;
}

.woocommerce-invalid .vco-tel__prefix {
	top: 2px;
	bottom: 2px;
	left: 2px;
	width: 47px;
}

#billing_phone_field .vco-tel .input-text {
	padding-left: 61px;
}

.vco .col2-set .col-1,
.vco .col2-set .col-2 {
	float: none;
	width: 100%;
	max-width: none;
	padding: 0;
}

.vco .col2-set::before,
.vco .col2-set::after {
	display: none;
}

.vco .woocommerce-billing-fields > h3,
.vco .woocommerce-shipping-fields:empty,
.vco .woocommerce-additional-fields:empty {
	display: none;
}

.vco .woocommerce-billing-fields__field-wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
}

.vco .woocommerce-billing-fields .form-row {
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
}

/* Konte's woocommerce.css makes checkout rows flex-wrap; the label takes the
 * full row so a long one ("Apartment, floor, landmark (optional)") does not
 * wrap at a shrunken width. */
.vco .woocommerce-billing-fields .form-row label {
	flex: 0 0 100%;
}

.vco .woocommerce-billing-fields .form-row label.screen-reader-text {
	/* Konte styles .form-row label; keep the sr-only clip. */
	position: absolute !important;
}

.vco .woocommerce-billing-fields .woocommerce-input-wrapper {
	display: block;
	/* The row is a flex box (Konte): take the whole row so the field fills
	 * the column (it shrank to the input's default width). */
	flex: 0 0 100%;
	width: 100%;
}

/* Fields fill the 565 column (Figma "chk states" chk-state-12; 16 Nov: 348). */
.vco .woocommerce-billing-fields .woocommerce-input-wrapper .input-text,
.vco .woocommerce-billing-fields .woocommerce-input-wrapper select {
	width: 100%;
}

/* Konte draws a rule under the (empty — order notes are off) additional-fields block. */
.vco .woocommerce-additional-fields {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Country fixed to India: Woo prints <strong>India</strong> + hidden input. */
.vco #billing_country_field .woocommerce-input-wrapper strong {
	display: flex;
	align-items: center;
	width: 100%;
	height: var(--vco-field-h);
	padding: 0 var(--space_12);
	border: 1px solid var(--h_clr);
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
}

/* Country / State: native selects (selectWoo is dequeued on checkout —
 * style.css hides every .select2-container sitewide). */
.vco .woocommerce-billing-fields select {
	padding-right: 32px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2325221E' stroke-width='1'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 10px 6px;
	cursor: pointer;
}

.vco .woocommerce-billing-fields select:invalid,
.vco .woocommerce-billing-fields select:has(option[value=""]:checked) {
	color: var(--h_clr);
}

/* State: selectWoo bar (only if a plugin re-enables selectWoo) */
.vco .woocommerce-billing-fields .select2-container {
	width: 100% !important;
}

.vco .woocommerce-billing-fields .select2-container .select2-selection--single {
	height: var(--vco-field-h);
	border: 1px solid var(--h_clr);
	border-radius: 0;
	background: transparent;
}

.vco .woocommerce-billing-fields .select2-container:hover .select2-selection--single,
.vco .woocommerce-billing-fields .select2-container--open .select2-selection--single,
.vco .woocommerce-billing-fields .select2-container--focus .select2-selection--single {
	border-color: var(--ink_text);
}

.vco .woocommerce-billing-fields .select2-selection__rendered {
	padding: 0 28px 0 var(--space_12) !important;
	color: var(--ink_text) !important;
	font-size: 14px;
	font-weight: 300;
	line-height: calc(var(--vco-field-h) - 2px) !important;
}

.vco .woocommerce-billing-fields .select2-selection__placeholder {
	color: var(--h_clr) !important;
}

.vco .woocommerce-billing-fields .select2-selection__arrow {
	height: calc(var(--vco-field-h) - 2px) !important;
}

.select2-container--open .select2-dropdown {
	border-color: var(--ink_text);
	border-radius: 0;
	background: var(--bg_clr1);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
}

.select2-container--open .select2-results__option--highlighted[aria-selected],
.select2-container--open .select2-results__option--highlighted[data-selected] {
	background: var(--ink_text);
	color: var(--bg_clr1);
}

/* Errors (Figma error language: 2px oxblood border, Body 12 helper).
 * Was --rare_clr 1px (2026-10-03); --msg_red per the 2026-10-09 library.
 * The second pixel is an inset shadow so the field does not change size. */
.vco .woocommerce-invalid .input-text,
.vco .woocommerce-invalid select,
.vco .woocommerce-invalid .select2-selection--single,
.vco #billing_country_field.woocommerce-invalid strong,
.vco-promo.is-error .vco-field {
	border-color: var(--msg_red) !important;
	box-shadow: inset 0 0 0 1px var(--msg_red);
}

.vco .checkout-inline-error-message,
.vco .vco-promo__error {
	margin: var(--space_4) 0 0;
	color: var(--msg_red);
	font-size: 12px;
	font-weight: 300;
	/* Figma helper Body 12 on 16px: an errored field is 16 + 4 + 43 + 4 + 16 = 83. */
	line-height: 16px;
}

.vco .woocommerce-invalid label,
.vco .woocommerce-validated .input-text {
	color: inherit;
}

.vco .woocommerce-validated .input-text {
	border-color: var(--h_clr);
}

/* Field alert (Figma Form/Input + Form/Mobile Number, Error): a 16px alert
 * 14px in from the right of an errored text field — red on Input, ink on
 * Mobile Number (as drawn, chk-state-12 §9). Selects keep their chevron. The
 * glyph is vataly_checkout_icon( 'alert' ) as a mask, coloured by tokens. */
.vco .woocommerce-billing-fields .woocommerce-invalid .woocommerce-input-wrapper:has(> .input-text) {
	position: relative;
}

.vco .woocommerce-billing-fields .woocommerce-invalid .woocommerce-input-wrapper:has(> .input-text)::after {
	content: "";
	position: absolute;
	top: calc(50% - 8px);
	right: 14px;
	width: 16px;
	height: 16px;
	background: var(--msg_red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cpath d='M8 4.75v4M8 11.25v.01'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.5'/%3E%3Cpath d='M8 4.75v4M8 11.25v.01'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	pointer-events: none;
}

.vco .woocommerce-billing-fields .woocommerce-invalid .woocommerce-input-wrapper.vco-tel:has(> .input-text)::after {
	background: var(--ink_text);
}

.vco .woocommerce-billing-fields .woocommerce-invalid .woocommerce-input-wrapper .input-text {
	padding-right: 38px;
}

/* Error Summary (Figma Feedback/Error summary 4105:6181, chk-state-12 §9):
 * error-surface, 1px inside error stroke, 16 padding; alert + "There is a
 * problem" (Header 14), 12 to the list; one Body 14 red link per error, 8
 * apart. Focus (keyboard) = 2px inside ink. Step 1 only. */
.vco-errsum {
	margin: 0 0 var(--space_24);
	padding: var(--space_16);
	background: var(--msg_red_tint);
	box-shadow: inset 0 0 0 1px var(--msg_red);
}

.vco-errsum[hidden],
.vco:not([data-vco-state="form"]) .vco-errsum {
	display: none;
}

.vco-errsum:focus {
	outline: none;
}

.vco-errsum:focus-visible {
	box-shadow: inset 0 0 0 2px var(--ink_text);
}

.vco-errsum__head {
	display: flex;
	align-items: center;
	gap: var(--space_8);
	margin: 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
}

.vco-errsum__icon {
	color: var(--msg_red);
}

.vco-errsum__list {
	display: flex;
	flex-direction: column;
	gap: var(--space_8);
	margin: var(--space_12) 0 0;
	padding: 0;
	list-style: none;
}

.vco-errsum__list li {
	margin: 0;
	font-size: 14px;
	line-height: 19px;
}

.vco-errsum__list a {
	color: var(--msg_red);
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
	text-decoration: none;
}

.vco-errsum__list a:hover,
.vco-errsum__list a:focus-visible {
	color: var(--msg_red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vco-errsum__list a:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

/* Error Summary + bag-changed banner: one copy per breakpoint. ≥992 in the
 * left column (Figma desktop #16 / #22); ≤991 in the aside above Discount
 * Code (Figma mobile #17 / #23). The failed / pending banners stay in the
 * left column, i.e. under Discount Code on mobile (Figma #35 / #40). */
@media (min-width: 992px) {
	.vco-aside .vco-errsum--aside,
	.vco-aside .vco-paynotices--aside {
		display: none;
	}
}

@media (max-width: 991px) {
	.vco-left > .vco-errsum,
	.vco-left .vco-paynotices [data-vco-bag-changed] {
		display: none;
	}

	.vco-aside .vco-errsum--aside,
	.vco-aside .vco-paynotices--aside {
		order: 2;
	}

	.vco-aside .vco-errsum--aside {
		margin: var(--space_24) 0 0;
	}

	.vco-aside .vco-paynotices--aside > :not([hidden]) {
		margin: var(--space_24) 0 0;
	}
}

/* Processing (CONFIRM ADDRESS in flight, chk-state-12 #24 / 13 #25): the
 * fields use their Disabled look (above); the +91 cell and the select
 * chevron mute too; Back to cart (minimal header) and the sign-in link step
 * aside. */
.vco-tel:has(.input-text:disabled) .vco-tel__prefix {
	border-right-color: var(--b_clr);
	color: var(--h_clr);
}

.vco .woocommerce-billing-fields select:disabled {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238C8C8C' stroke-width='1'/%3E%3C/svg%3E");
	cursor: not-allowed;
}

body.vco-processing .vco-header__back {
	visibility: hidden;
}

.vco.is-processing .checkout-login {
	pointer-events: none;
}

/* Woo notices (checkout errors, coupon notices) in the left column. */
.vco .woocommerce-NoticeGroup,
.vco .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 24px;
}

.vco .woocommerce-error,
.vco .woocommerce-message,
.vco .woocommerce-info {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid currentColor;
	background: transparent;
	font-size: 12px;
	font-weight: 300;
	list-style: none;
}

.vco .woocommerce-error {
	color: var(--msg_red);
}

.vco .woocommerce-message,
.vco .woocommerce-info {
	color: var(--ink_text);
}

.vco .woocommerce-error a {
	color: inherit;
}

/* Figma Primary / Loading on checkout (chk-state-7 / 12 / 13): three 4 × 4
 * square dots, 4 apart, opacity 1 / 0.6 / 0.3, 8 before the label; colours
 * stay Primary (the shared .vco-btn.is-loading in css/bag.css only fades).
 * The bag drawer keeps its own round dots (css/bag.css .vbag). */
.vataly-checkout .vco-btn.is-loading,
.vataly-checkout .vco-btn.is-loading:hover,
.vataly-checkout .vco-btn.is-loading:focus-visible {
	gap: var(--space_8);
	border-color: var(--ink_text);
	background: var(--ink_text);
	color: var(--bg_clr1);
	opacity: 1;
	cursor: wait;
}

.vataly-checkout .vco-btn.is-loading::before {
	content: "";
	flex: none;
	width: 20px;
	height: 4px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 4px 4px no-repeat,
		linear-gradient(color-mix(in srgb, currentColor 60%, transparent), color-mix(in srgb, currentColor 60%, transparent)) 8px 0 / 4px 4px no-repeat,
		linear-gradient(color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 30%, transparent)) 16px 0 / 4px 4px no-repeat;
}

/* Step buttons. In-page (left column) ones serve 768–991px; desktop uses
 * the right-column ones (.vco-actions--step / --place), ≤767.98 the sticky
 * bar. The left block keeps the Step 1 legal note, 24 under the fields. */
.vco-actions--delivery {
	margin-top: var(--space_24);
}

.vco-btn--continue {
	width: 444px;
}

.vco-actions--step,
.vco-actions--place {
	margin-top: var(--space_24);
}

.vco-actions--step .vco-btn,
.vco-actions--place .vco-btn {
	width: 100%;
}

@media (min-width: 992px) {
	.vco-actions--delivery .vco-btn {
		display: none;
	}
}

@media (max-width: 991px) {
	.vco-actions--step {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Step states (data-vco-state on .vco)
 * ------------------------------------------------------------------------ */

/* form: address fields + legal note + CONFIRM ADDRESS. */
.vco[data-vco-state="form"] .vco-dhead,
.vco[data-vco-state="form"] .vco-dcard,
.vco[data-vco-state="form"] .vco-btn--continue,
.vco[data-vco-state="form"] .vco-payment {
	display: none;
}

/* The guest / sign-in line belongs to Step 1 only (chk-state-1 / 8). */
.vco[data-vco-state="review"] .checkout-login,
.vco[data-vco-state="payment"] .checkout-login {
	display: none;
}

/* review: DELIVERY METHOD + address card + SHIPPING METHOD + options +
 * CONTINUE (no legal note). payment: DELIVERY METHOD + address card, then
 * PAYMENT METHOD. The fields stay in the form, hidden. */
.vco[data-vco-state="review"] .vco-details,
.vco[data-vco-state="payment"] .vco-details,
.vco[data-vco-state="review"] .vco-btn--confirm,
.vco[data-vco-state="payment"] .vco-btn--confirm,
.vco[data-vco-state="review"] .vco-payment,
.vco[data-vco-state="review"] .vco-actions--delivery .woocommerce-privacy-policy-text,
.vco[data-vco-state="payment"] .vco-actions--delivery,
.vco[data-vco-state="payment"] .vco-actions--step,
.vco[data-vco-state="payment"] .vco-shead,
.vco[data-vco-state="payment"] .vco-dopt {
	display: none;
}

.vco-card {
	/* Payment step wrapper only; the option cards carry the borders (P4). */
	border: 0;
}

/* Legal note: under the fields on desktop (buttons hidden), under CONFIRM
 * ADDRESS at 768–991px. */
.vco-actions--delivery .woocommerce-privacy-policy-text {
	margin-top: 0;
}

@media (max-width: 991px) {
	.vco-actions--delivery .vco-btn + .vco-btn + .woocommerce-privacy-policy-text {
		margin-top: var(--space_24);
	}
}

/* The focus ring traces the tap area from the inside, so it never runs
 * into the card edge next to it. */
.vco .vco-acard__edit:focus-visible,
.vab-card .vco-acard__edit:focus-visible {
	outline-offset: -2px;
}

/* Bag-column PLACE ORDER only on the Payment step. */
.vco:not([data-vco-state="payment"]) .vco-actions--place {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Payment step
 * ------------------------------------------------------------------------ */

/* Figma "chk states" Step 3: PAYMENT METHOD (Header 16, above) 24 under the
 * address card and 24 to the options (16 Nov desktop: Header 18, 90 / 11). */
.vco-payment {
	margin-top: var(--space_24);
}

.vco-payment .vco-h {
	margin-bottom: var(--space_24);
}

.vco-card--payment {
	padding: 0;
}

.vco #payment {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.vco #payment > h4 {
	/* Konte's payment.php heading; the step has its own. */
	display: none;
}

.vco #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.vco #payment ul.payment_methods li {
	margin: 0;
	list-style: none;
}

/* Payment option card (Figma Checkout/Payment Option): radio + gateway
 * title on one row; the payment box opens underneath when selected.
 * Border / padding / states from .vco-option above. */
.vco #payment ul.payment_methods li.wc_payment_method {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* Form/Radio: 8 from the ring to the label (Figma; was 12). */
	column-gap: var(--space_8);
}

.vco #payment ul.payment_methods li + li {
	margin-top: var(--space_12);
}

.vco #payment ul.payment_methods li > label {
	flex: 1 1 0;
	min-width: 0;
	display: block;
	margin: 0;
	padding: 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
	text-transform: none;
	cursor: pointer;
}

/* Konte's square tick box (woocommerce.css label::before/::after). */
.vco #payment ul.payment_methods li > label::before,
.vco #payment ul.payment_methods li > label::after {
	display: none;
}

.vco #payment ul.payment_methods li.is-disabled > label {
	color: var(--h_clr);
	cursor: not-allowed;
}

.vco #payment ul.payment_methods li > input[type="radio"] {
	/* Konte hides input.input-radio; WooCommerce hides a lone one inline
	 * (js/chk-checkout.js clears that). */
	display: block;
	margin: 0;
}

/* Selected "slot": the gateway's description / fields — Body 12 TS, 12
 * under the radio row (Figma "chk states" Payment Method Option: the real
 * content in place of the GATEWAY-RENDERED / TERMS placeholder), no fill.
 * Desktop uses these option cards too since 2026-11-20 (16 Nov drew one
 * plain 1px ink card with no radio for a lone method). */
.vco #payment .payment_box {
	flex: 0 0 100%;
	margin: var(--space_12) 0 0;
	padding: 0;
	background: none;
	color: var(--taupe-text);
	font-size: 12px;
	font-weight: 300;
	line-height: 1.36;
}

.vco #payment .payment_box::before {
	display: none;
}

.vco #payment .payment_box p {
	margin: 0;
}

/* PLACE ORDER with no method chosen (js/chk-checkout.js). */
.vco #payment .vco-pay-error {
	margin: var(--space_8) 0 0;
}

/* Woo's own button stays in the DOM (the bag button clicks it); on desktop
 * the bag column shows the visible one. */
.vco #payment .place-order {
	display: none;
	margin: 0;
	padding: 0;
}

.vco #payment #place_order {
	float: none;
	width: 100%;
	height: var(--vco-btn-h);
	margin: 0;
	border: 1px solid var(--ink_text);
	border-radius: 0;
	/* style.css forces #343434 !important on .place-order .button. */
	background: var(--ink_text) !important;
	padding: 0;
	color: var(--bg_clr1);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 700;
	/* Konte's button line-height is 60px: the label sat low in the 44 / 46px
	 * button (mobile, where this button shows). */
	line-height: 1;
	text-transform: uppercase;
}

/* Feedback/Notice on checkout pages (Figma chk-state-5 §6 / 10 §9): icon
 * top-aligned with the text (17,17 / 45,17), Title + Action Header 12 on a
 * 16px line, Body 14 on 19px — a two-line banner is 112 high. Scoped to
 * checkout (the shared notice elsewhere keeps its 1.36 lines). */
.vataly-checkout .vcart-notice__icon {
	margin-top: 0;
}

.vataly-checkout .vbag .vcart-notice__title,
.vataly-checkout .vcart-notice__action {
	line-height: 16px;
}

.vataly-checkout .vbag .vcart-notice__body {
	line-height: 19px;
}

/* Payment-step banners (Figma chk-state-5 / 6: bag changed, payment
 * failed + reason, awaiting confirmation): first in the left column, 24
 * apart and 24 above DELIVERY METHOD; Payment step only. */
.vco:not(.vco--pay):not([data-vco-state="payment"]) .vco-paynotices,
.vco-paynotices [hidden] {
	display: none;
}

.vco-paynotices > :not([hidden]) {
	margin-bottom: var(--space_24);
}

.vco-paynotices .vcart-notice:focus {
	outline: none;
}

.vco-payfail__reason {
	margin: var(--space_24) 0 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
	overflow-wrap: anywhere;
}

/* Failed / pending payment (chk-state-5 #34 / #39): no Back to cart. */
body.vco-pay-alert .vco-header__back {
	visibility: hidden;
}

/* Legal note above PAY NOW, 24 apart (Figma "chk states" chk-state-1;
 * 16 Nov: 17 under the button). */
.vco-actions--place .woocommerce-privacy-policy-text {
	margin: 0 0 var(--space_24);
}

/* Konte gives the (empty) shipping-fields block a 40px top margin and Woo's
 * (empty) terms wrapper a 40px bottom one; both leaked into the Figma gaps
 * under the last field and the payment options (seen once the in-page
 * buttons moved to the mobile sticky bar). Desktop's larger margins win. */
.vco .woocommerce-shipping-fields {
	margin-top: 0;
}

.vco #payment .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 0;
}

/* Mobile sticky action bar (Figma 16 Nov Sticky Action Bar; ≤767.98 block
 * below). Proxy buttons in form-checkout.php / thankyou.php. */
.vco-sticky {
	display: none;
}

/* Woo's blockUI overlay on the bag / payment while totals refresh. */
.vco .blockUI.blockOverlay {
	background: var(--bg_clr1) !important;
}

/* While the order request runs (PAY NOW loading) the form keeps its look —
 * Figma chk-state-7 #26 / #27 — the overlay still blocks input. */
.vco.is-paying form.checkout .blockUI.blockOverlay {
	opacity: 0 !important;
}

/* ---------------------------------------------------------------------------
 * Order-pay retry page (woocommerce/checkout/form-pay.php; Figma "chk
 * states" chk-state-7 #36 desktop / #37 mobile): no stepper, BACK TO CART
 * hidden; left = Error banner + reason, PAYMENT METHOD; right = ORDER No:
 * (Header 14) → 24 → YOUR ORDER → ITEMS → read-only compact lines (shared
 * template-parts/checkout/order-items.php, 72 × 90) → totals (order-summary
 * .php: rows 8 apart, 16 / rule / 16, TOTAL) → legal note → RETRY PAYMENT.
 * Payment cards and banners use the checkout rules (.vco).
 * ------------------------------------------------------------------------ */

.vataly-checkout-pay .vco-header__back {
	visibility: hidden;
}

.vco--pay .vco-cols {
	margin-top: 0;
}

.vco--pay .vco-payment {
	margin-top: 0;
}

.vco-pay__number {
	margin: 0;
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
}

.vco--pay .vco-aside .vco-bag__title {
	margin-top: var(--space_24);
	line-height: 22px;
}

.vco--pay .vco-aside .vco-items__count {
	margin-top: var(--space_16);
	line-height: 16px;
}

.vco.vco--pay .vco-ty-items {
	/* Beats the confirmation's later `.vco .vco-ty-items { margin: 0 }`. */
	margin-top: var(--space_16);
}

.vco--pay .vco-ty-item__image {
	flex-basis: 72px;
	width: 72px;
	height: 90px;
}

.vco--pay .vco-ty-item__meta,
.vco--pay .vco-ty-item__qty {
	color: var(--taupe-text);
}

.vco--pay .vco .vco-ty-items--scroll,
.vco--pay .vco-ty-items--scroll {
	max-height: calc(var(--vco-items-fit, 258px) + 24px);
}

.vco-pay__totals {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin-top: var(--space_16);
}

.vco-actions--retry {
	margin-top: var(--space_24);
}

.vco-actions--retry .woocommerce-privacy-policy-text {
	margin: 0 0 var(--space_24);
}

.vco-actions--retry .vco-btn {
	width: 100%;
}

/* ≤991: one column like checkout — summary bar (and its open body), ORDER
 * No:, then the left column; the RETRY PAYMENT block last (≤767.98 the
 * sticky bar replaces its button). The aside's children join the column. */
@media (max-width: 991px) {
	.vco--pay .vco-aside {
		display: contents;
	}

	.vco--pay .vco-bag__toggle {
		order: -4;
	}

	.vco--pay .vco-bag__body {
		order: -3;
	}

	.vco--pay .vco-pay__number {
		order: -2;
		margin: var(--space_24) 0;
	}

	.vco--pay .vco-left {
		order: 0;
	}

	.vco--pay .vco-actions--retry {
		order: 1;
	}
}

@media (max-width: 767.98px) {
	.vco--pay .vco-actions--retry .vco-btn {
		display: none;
	}

	.vco--pay .vco-sticky .vco-sticky__btn--retry {
		display: flex;
	}
}

/* ---------------------------------------------------------------------------
 * Bag column
 * ------------------------------------------------------------------------ */

.vco-bag__title {
	margin: 0;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.36;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vco-bag__toggle {
	display: none;
}

/* Promo code field (Figma Cart/Promo Field): collapsed toggle row →
 * label + input + APPLY → applied (read-only + REMOVE + green notice).
 * Error = P1 2px msg_red look + alert icon; Disabled = P1 tokens. */
.vco-promo {
	margin-top: var(--space_16);
}

.vco-promo__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space_8);
	width: 100%;
	height: var(--vco-field-h);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.vco-promo__toggle:hover,
.vco-promo__toggle:focus {
	background: transparent;
	color: var(--ink_text);
}

.vco-promo__toggle:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

/* Plus → minus when open. */
.vco-promo__toggle[aria-expanded="true"] .vco-icon__v {
	display: none;
}

.vco-promo__body {
	padding-top: var(--space_8);
}

.vco-promo__row {
	display: flex;
	align-items: stretch;
	gap: var(--space_8);
}

.vco-promo__control {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.vco .vco-promo .vco-field {
	width: 100%;
	padding-right: calc(var(--space_12) * 2 + 16px);
}

.vco .vco-promo .vco-field[readonly] {
	border-color: var(--ink_text);
}

.vco-promo__alert {
	position: absolute;
	top: 50%;
	/* 14 in from the field edge (Figma chk-state-4 §5.6: 214 in a 244 field). */
	right: 14px;
	display: none;
	color: var(--msg_red);
	transform: translateY(-50%);
	pointer-events: none;
}

.vco-promo.is-error .vco-promo__alert {
	display: block;
}

/* Secondary button (Figma Button/Secondary, 96 × 43 — APPLY and REMOVE both
 * 96 wide, label centred; was min-width 96 + 24 padding, REMOVE grew to 107). */
.vco-promo__btn {
	flex: 0 0 96px;
	width: 96px;
	height: var(--vco-field-h);
	margin: 0;
	padding: 0;
	border: 1px solid var(--ink_text);
	border-radius: 0;
	background: var(--bg_clr1);
	color: var(--ink_text);
	font-family: var(--font2), sans-serif;
	/* Header 14 (Figma chk-state-4 §5.6 coupon button override; was 12). */
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

/* Hover only where it exists: touch keeps :hover on the tapped spot, where
 * REMOVE replaces APPLY. */
@media (hover: hover) {
	.vco-promo__btn:hover {
		background: var(--ink_text);
		color: var(--bg_clr1);
	}
}

.vco-promo__btn:focus-visible {
	background: var(--ink_text);
	color: var(--bg_clr1);
}

.vco-promo__btn:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

.vco-promo__btn[hidden] {
	display: none;
}

.vco-promo__btn:disabled {
	border-color: var(--b_clr);
	background: var(--bg_clr2);
	color: var(--h_clr);
	cursor: not-allowed;
}

.vco-promo.is-loading .vco-promo__row {
	opacity: 0.6;
	cursor: wait;
}

.vco-promo__notice {
	/* Success Inline (chk-state-4 §5.6): check icon, 8 to Body 14 (was 4 / 12). */
	display: flex;
	align-items: center;
	gap: var(--space_8);
	margin: var(--space_8) 0 0;
	color: var(--msg_green);
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

.vco-promo__notice[hidden],
.vco-promo__error[hidden] {
	display: none;
}

.vco .vco-bag {
	/* Konte: .woocommerce-checkout-review-order-table { width: calc(100% - 195px) } */
	width: 100%;
	margin: 0;
}

#order_review.woocommerce-checkout-review-order {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

/* Totals (template-parts/checkout/order-totals.php, own fragment below the
 * promo field): Body 14 rows 8px apart, 1px sand divider, TOTAL Header 14. */
.vco-totals-wrap {
	margin-top: var(--space_24);
	transition: opacity 0.15s ease;
}

.vco-totals-wrap.is-updating {
	opacity: 0.6;
}

.vco-totals {
	margin: 0;
}

.vco-totals__row {
	display: flex;
	justify-content: space-between;
	gap: var(--space_16);
	color: var(--ink_text);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.36;
}

.vco-totals__row + .vco-totals__row {
	margin-top: var(--space_8);
}

.vco-totals__row dt,
.vco-totals__row dd {
	margin: 0;
	font-weight: inherit;
}

.vco-totals__row dd {
	text-align: right;
}

.vco-totals__divider {
	height: 1px;
	margin: var(--space_16) 0;
	background: var(--b_clr);
}

.vco-totals__divider + .vco-totals__row {
	margin-top: 0;
}

.vco-totals__row.order-total,
.vco-totals__row.order-total dd strong {
	font-weight: 700;
}

.vco-totals__row.order-total dt {
	text-transform: uppercase;
}

/* ITEMS (n) + compact line items (Figma Line Item Compact; same type as the
 * Thank You items): 72×90 image, name / meta / controls, price right. */
.vco-items__count {
	margin: var(--space_24) 0 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

/* Over 2 products (bag + Thank You Purchased items): the list scrolls, showing
 * 2 items and 24px of the 3rd so it reads as more. --vco-items-fit = top of
 * the 3rd item, measured by js/chk-order-items-scroll.js (rows vary in height);
 * the fallbacks are 2 standard rows (bag: 151px, 155px at ≤991px). Thin
 * scrollbar as css/plp-catrail.css. */
.vco-items--scroll,
.vco .vco-ty-items--scroll {
	max-height: calc(var(--vco-items-fit, 302px) + 24px);
	padding-right: var(--space_8);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--h_clr) transparent;
}

.vco-items--scroll::-webkit-scrollbar,
.vco-ty-items--scroll::-webkit-scrollbar {
	width: 4px;
}

.vco-items--scroll::-webkit-scrollbar-track,
.vco-ty-items--scroll::-webkit-scrollbar-track {
	background: transparent;
}

.vco-items--scroll::-webkit-scrollbar-thumb,
.vco-ty-items--scroll::-webkit-scrollbar-thumb {
	background: var(--h_clr);
}

.vco-ty-items--scroll:focus-visible {
	outline: 2px solid var(--ink_text);
	outline-offset: 2px;
}

/* Cart/Line Item in the checkout summary and the order-pay lines: REMOVE
 * Header 12 underlined; "Item unavailable" is an Error Inline notice (Body 14,
 * icon 8 from the text) — Figma chk-state-1 §7 / 5 §5.1 / 7 #36. Scoped: the
 * cart page and bag drawer keep their own line styles. */
.vco-aside .vco-item__remove,
.vco--pay .vco-item__remove {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vco-aside .vco-item__notice {
	gap: var(--space_8);
	font-size: 14px;
	line-height: 19px;
}

/* Order Summary, Figma "chk states" (chk-state-1 §7, 2026-11-20). Scoped to
 * .vco-aside: the cart page shares .vco / .vco-promo / .vco-totals.
 * Discount Code (Collapsed row, 1px taupe, label Body 14 TS) → 24 → ORDER
 * SUMMARY (Header 16) → 16 → ITEMS (Header 12) → 16 → compact lines
 * (template-parts/cart/line-item.php: 16 top padding, 1px sand rule under
 * each) → 16 → Subtotal / Delivery / Discount (8 apart) → 16 → rule → 16 →
 * TOTAL (Header 14) → 24 → button. Replaces the 16 Nov order (totals first,
 * 6px rows, no rule, Light TOTAL value, read-only 143 × 202 lines). */
.vco-aside .vco-promo {
	margin-top: 0;
}

.vco-aside .vco-bag__title {
	margin-top: var(--space_24);
	line-height: 22px;
}

/* Discount Code row (Figma Cart/Promo Field, Collapsed): 45 high, 12 in,
 * 1px taupe, label Header 14 ink at every width (chk-state-1 / 12; the
 * 16 Nov desktop drew Body 14 TS on 43). */
.vco-aside .vco-promo__toggle {
	height: 45px;
	padding: 0 var(--space_12);
	border: 1px solid var(--h_clr);
	background: var(--bg_clr1);
	color: var(--ink_text);
	font-weight: 700;
}

.vco-aside .vco-promo__toggle:hover,
.vco-aside .vco-promo__toggle:focus {
	background: var(--bg_clr1);
	color: var(--ink_text);
}

.vco-aside .vco-promo__toggle .vco-icon {
	color: var(--ink_text);
}

.vco-aside .vco-items__count {
	margin-top: var(--space_16);
	line-height: 16px;
}

.vco-aside .vco-items {
	margin-top: var(--space_16);
}

.vco-aside .vco-item__meta {
	color: var(--taupe-text);
}

.vco-aside .vco-totals-wrap {
	margin-top: var(--space_16);
}

.vco-sitems {
	display: flex;
	flex-direction: column;
	gap: var(--space_24);
	margin-top: var(--space_24);
}

/* 3+ lines scroll: fallback = 2 lines of 202 + the 24 gap (the script
 * measures the real top of the 3rd line). */
.vco-sitems.vco-items--scroll {
	max-height: calc(var(--vco-items-fit, 428px) + 24px);
}

.vco-sitem {
	display: flex;
	align-items: flex-end;
	gap: 13px;
	margin: 0;
	padding: 0;
}

.vco-sitem__image {
	flex: 0 0 143px;
	width: 143px;
	height: 202px;
	overflow: hidden;
	background: var(--bg_clr2);
}

.vco-sitem__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vco-sitem__details {
	flex: 1 1 auto;
	min-width: 0;
}

.vco-sitem__details p {
	margin: 0;
	color: var(--ink_text);
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	overflow-wrap: anywhere;
}

.vco-sitem__details .vco-sitem__notice {
	display: flex;
	align-items: center;
	gap: var(--space_4);
	margin-top: var(--space_4);
	color: var(--msg_red);
	font-size: 12px;
	line-height: 1.36;
}

.vco-sitem.is-unavailable .vco-sitem__name,
.vco-sitem.is-unavailable .vco-sitem__price,
.vco-sitem.is-unavailable .vco-sitem__qty,
.vco-sitem.is-unavailable .vco-sitem__meta {
	color: var(--h_clr);
}

/* ---------------------------------------------------------------------------
 * Tablet / mobile (standard responsive layout — no Figma frames)
 * ------------------------------------------------------------------------ */

@media (max-width: 1200px) {
	.vco {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 991px) {
	/* Space above the progress tab is 3.45vh: the theme's 60px .site-content
	 * padding + 40px .entry-content margin + 32px .vco padding are replaced by
	 * this one value. Checkout form and, since Figma 16 Nov, the confirmation
	 * (same step indicator). */
	.vataly-checkout.woocommerce-checkout .site-content {
		padding-top: 3.45vh;
	}

	.vataly-checkout.woocommerce-checkout .entry-content {
		margin-top: 0;
	}

	.vco {
		padding: 0 16px 56px;
	}

	.vco-cols {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: 32px;
	}

	.vco-left,
	.vco-aside {
		flex: 1 1 auto;
		width: 100%;
	}

	/* Bag first, as a collapsible bar (Figma 16 Nov mobile: full-bleed
	 * surface/subtle bar 51 tall, ORDER SUMMARY + chevron left, total right),
	 * then the open bag (totals + items), then Discount Code as its own row. */
	.vco-aside {
		display: flex;
		flex-direction: column;
		order: -1;
		margin-bottom: var(--space_24);
	}

	.vco-bag__body {
		order: 1;
	}

	.vco-aside .vco-promo {
		order: 2;
		margin-top: var(--space_24);
	}

	.vco-bag__title {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.vco-bag__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		/* Full bleed to the viewport edges (body clips overflow-x); padding
		 * 16 + the 16 + 20 page gutters keeps the text in line (20 in P7).
		 * Konte gives buttons line-height 60px: 19 here, so 16 + 19 + 16 = 51. */
		width: auto;
		min-height: 51px;
		margin: 0 calc(50% - 50vw);
		padding: 16px calc(50vw - 50%);
		line-height: 19px;
		border: 0;
		background: var(--bg_clr2);
		color: var(--ink_text);
		font-family: var(--font2), sans-serif;
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		cursor: pointer;
	}

	.vco-bag__toggle-label::after {
		content: "";
		display: inline-block;
		width: 7px;
		height: 7px;
		margin: 0 0 3px 10px;
		border-right: 1px solid currentColor;
		border-bottom: 1px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	.vco.is-bag-open .vco-bag__toggle-label::after {
		margin-bottom: -1px;
		transform: rotate(-135deg);
	}

	.vco-bag__toggle-total {
		font-weight: 700;
	}

	.vco-bag__body {
		display: none;
		padding-bottom: 24px;
	}

	.vco.is-bag-open .vco-bag__body {
		display: block;
	}

	/* The in-card Woo button replaces the bag-column one. */
	.vco .vco-actions--place {
		display: none !important;
	}

	.vco[data-vco-state="payment"] #payment .place-order {
		display: block;
		margin-top: 28px;
	}

	/* Legal note above the in-card PAY NOW, 24 apart (as desktop / Figma;
	 * printed on woocommerce_review_order_before_submit since 2026-11-20). */
	.vco #payment .place-order .woocommerce-privacy-policy-text {
		margin: 0 0 var(--space_24);
	}

	.vco-btn,
	.vco-btn--continue,
	.vco .vco-field,
	.vco .woocommerce-billing-fields .input-text,
	.vco .woocommerce-billing-fields .woocommerce-input-wrapper .input-text,
	.vco .woocommerce-billing-fields select,
	.vco #billing_country_field .woocommerce-input-wrapper strong,
	.vco .woocommerce-billing-fields .select2-container,
	.vco .woocommerce-privacy-policy-text,
	.vco .checkout-login form.woocommerce-form-login {
		width: 100% !important;
		max-width: none;
	}

	.vco-card--payment {
		padding: 0;
	}

	/* Tap areas ≥ 44px (P8). EDIT: 20 + 2 × 12 = 44; reaching 12px below
	 * meets the 12px card gap, so it never covers the details. */
	.vco .vco-acard__edit,
	.vab-card .vco-acard__edit {
		margin: -12px;
		padding: 12px;
		line-height: 20px;
	}

	/* Scroll fallback: 2 rows of 155 (12px REMOVE row gap). */
	.vco-items--scroll {
		max-height: calc(var(--vco-items-fit, 310px) + 24px);
	}
}

@media (max-width: 767.98px) {
	/* Figma 16 Nov mobile buttons are 44px. */
	.vco {
		--vco-btn-h: 44px;
	}

	/* Figma 16 Nov mobile: 20px page margins (the theme container's 20; the
	 * ≤991 .vco 16 is dropped) and 24px between blocks. */
	.vco {
		padding-right: 0;
		padding-left: 0;
	}

	.vco-cols {
		margin-top: var(--space_16);
	}

	.vco .checkout-login {
		margin-bottom: var(--space_24);
	}


	/* Sticky action bar: 1px sand rule, white, 16 20 padding (+ the home
	 * indicator), one 44px button per state. The in-page buttons give way;
	 * their legal lines stay in the page, 24 under the fields / options. The
	 * My Addresses panel (z-index 100000) opens above it. */
	.vco-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		display: block;
		padding: var(--space_16) 20px calc(var(--space_16) + env(safe-area-inset-bottom));
		border-top: 1px solid var(--b_clr);
		background: var(--bg_clr1);
	}

	.vco-sticky .vco-sticky__btn {
		display: none;
		width: 100%;
		text-decoration: none;
	}

	.vco[data-vco-state="form"] .vco-sticky__btn--confirm,
	.vco[data-vco-state="review"] .vco-sticky__btn--continue,
	.vco[data-vco-state="payment"] .vco-sticky__btn--place,
	.vco--confirmation .vco-sticky .vco-sticky__btn {
		display: flex;
	}

	/* Keep the page end (footer) clear of the bar: 16 + 44 + 16 + 1 rule. */
	body.vataly-checkout {
		padding-bottom: calc(77px + env(safe-area-inset-bottom));
	}

	.vco .vco-actions--delivery .vco-btn,
	.vco #payment #place_order {
		display: none;
	}

	.vco .vco-actions--delivery,
	.vco[data-vco-state="review"] .vco-actions--delivery {
		margin-top: 0;
	}

	.vco .vco-actions--delivery .woocommerce-privacy-policy-text {
		margin-top: var(--space_24);
	}

	.vco[data-vco-state="payment"] #payment .place-order {
		margin-top: var(--space_24);
	}

	.vco #payment .place-order .woocommerce-privacy-policy-text {
		margin-bottom: 0;
	}

	/* Compact indicator (Figma 348 mobile): segments 4px apart + one line.
	 * The step labels stay in the list for screen readers. */
	.vco-progress {
		column-gap: var(--space_4);
	}

	.vco-progress__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.vco-progress__compact {
		display: block;
	}

	/* Compact variant: the split Delivery segments stay, the sub-step row
	 * does not (chk-state-11 18b mobile; the compact line says it). */
	.vco-progress--checkout.has-substeps .vco-progress__sub {
		display: none;
	}

	.vco-h,
	.vco-link {
		font-size: 14px;
	}

	/* The delivery step's mobile layout (16 Nov) is now the base for every
	 * breakpoint (Figma "chk states"); only the bigger EDIT tap area of the
	 * address card (≤991 block) differs. */
}

/* ---------------------------------------------------------------------------
 * Thank You (order received) — Figma "Order Thank You Page — Prepaid":
 * desktop frame 12:355 (1134 container, 720 main / 348 aside), mobile frame
 * 13:176 (one column, aside last). Replaces the frame 101:872 Confirmation.
 * ------------------------------------------------------------------------ */

/* Confirmation, Figma "chk states" (chk-state-14 #42 desktop / 15 #43 mobile;
 * COD and pending in chk-state-16), 2026-11-20: the stepper as on checkout
 * (48 to the content), then the 565 text column — heading Header 18 → 24 →
 * note Body 14 → 24 → rows (label Header 14, value Body 14, 8 apart, rows 16
 * apart) → 24 → delivery line → 24 → notice Header 14 (565) — beside the
 * 515 × 728 image. The same column on every breakpoint (16 Nov desktop: Title
 * 22, Body 16, 58 / 55 / 63 gaps, 525 notice). Mobile spacing / image in the
 * ≤767.98 block below. */
.vco.vco--confirmation {
	font-size: 14px;
	line-height: normal;
}

.vco-ty {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	margin-top: 48px;
}

.vco-ty__main {
	display: flex;
	flex: 0 1 565px;
	flex-direction: column;
	min-width: 0;
}

.vco .vco-ty__title {
	margin: 0;
	color: var(--ink_text);
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 0;
	text-transform: none;
}

.vco-ty__note {
	margin: var(--space_24) 0 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

/* Detail rows (Figma Content/Detail Row): "LABEL: value". */
.vco .vco-ty-rows {
	display: flex;
	flex-direction: column;
	gap: var(--space_16);
	margin: var(--space_24) 0 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	line-height: 19px;
}

.vco-ty-row {
	display: flex;
	gap: var(--space_8);
}

.vco-ty-row dt {
	margin: 0;
	font-weight: 700;
	white-space: nowrap;
}

.vco-ty-row dd {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-weight: 300;
	overflow-wrap: anywhere;
}

/* Gateway instructions (woocommerce_thankyou_{gateway}, e.g. COD): no Figma
 * slot; a Body 14 line under the rows when the gateway prints one. */
.vco-ty__gateway p {
	margin: var(--space_16) 0 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

/* Pending payment: whatever a gateway prints on vataly_thankyou_payment_status
 * (Figma "Payment status" slot, chk-state-16), 24 under the rows. */
.vco-ty__status {
	margin: var(--space_24) 0 0;
	font-size: 14px;
	line-height: 19px;
}

.vco-ty__status > :first-child {
	margin-top: 0;
}

.vco-ty__status > :last-child {
	margin-bottom: 0;
}

/* Delivery window (in the Figma "Delivery" WOOCOMMERCE-SUPPLIED slot). */
.vco-ty__delivery {
	margin: var(--space_24) 0 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 19px;
}

.vco-ty__delivery-label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

/* Custom Actions → Confirmation note (Figma "PLEASE NOTE …", Header 14). */
.vco .vco-ty-notice {
	margin: var(--space_24) 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 19px;
}

.vco-ty__image {
	flex: 0 0 515px;
	margin-top: -3px;
}

.vco-ty__picture,
.vco-ty__img {
	display: block;
	width: 100%;
}

.vco-ty__img {
	height: 728px;
	object-fit: cover;
}

/* Purchased items (Figma Cart/Line Item, read-only: no stepper, no REMOVE).
 * Desktop variant 96×120 image; Compact 72×90 below 768px. */
.vco .vco-ty-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Scroll fallback: 2 rows of 120 + 32 + 1 + 6 (theme li margin); the scroll
 * rule itself sits with .vco-items--scroll. */
.vco .vco-ty-items--scroll {
	max-height: calc(var(--vco-items-fit, 318px) + 24px);
}

.vco-ty-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--b_clr);
}

.vco-ty-item__image {
	flex: 0 0 96px;
	width: 96px;
	height: 120px;
	overflow: hidden;
	background: var(--bg_clr2);
}

.vco-ty-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vco-ty-item__details {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.vco-ty-item p {
	margin: 0;
	line-height: normal;
}

.vco-ty-item__name,
.vco-ty-item__price {
	font-size: 14px;
	font-weight: 700;
}

.vco-ty-item__name {
	overflow-wrap: anywhere;
}

.vco-ty-item__meta,
.vco-ty-item__qty {
	color: var(--h_clr);
	font-size: 12px;
	font-weight: 300;
}

.vco-ty-item__sep {
	white-space: pre;
}

.vco-ty-item__price {
	flex: none;
	text-align: right;
	white-space: nowrap;
}

/* Order summary (Figma Checkout/Order Summary, items hidden). */
.vco .vco-ty-totals {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.vco-ty-totals__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
}

.vco-ty-totals__row dt,
.vco-ty-totals__row dd {
	margin: 0;
	font-weight: inherit;
}

.vco-ty-totals__row dd {
	text-align: right;
}

.vco .vco-ty-summary__rule {
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--b_clr);
}

.vco-ty-totals__row.order-total,
.vco-ty-totals__row.order-total strong {
	font-weight: 700;
}

/* Failed order (thankyou.php, 2026-11-20): the Error banner (565, the
 * confirmation text column) and RETRY PAYMENT 24 below. */
.vco-ty-failed {
	max-width: 565px;
}

.vco-ty-failed__actions {
	margin: var(--space_24) 0 0;
}

.vco-ty-failed__actions .vco-btn {
	text-decoration: none;
}

/* Core order-received notices/heading are replaced by the Figma heading. */
.vco--confirmation .woocommerce-thankyou-order-received {
	display: none;
}

/* ≤991: one column, image under the text. */
@media (max-width: 991px) {
	.vco-ty {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.vco-ty__main {
		flex: none;
	}

	.vco-ty__image {
		flex: none;
		width: 100%;
		max-width: 515px;
		margin-top: 40px;
	}

	.vco-ty__img {
		height: auto;
		aspect-ratio: 515 / 728;
	}
}

@media (max-width: 767.98px) {
	/* Figma mobile Step 4 (chk-state-15): indicator (16 padding) → body (24
	 * padding); the text column is the base above, the image 362 × 400. */
	.vco-ty {
		/* 16 + 24 in Figma (the stepper's list items no longer add 6px). */
		margin-top: 40px;
	}

	.vco-ty__image {
		max-width: none;
		margin-top: var(--space_24);
	}

	.vco-ty__img {
		aspect-ratio: 362 / 400;
	}

	.vco-ty-item__image {
		flex-basis: 72px;
		width: 72px;
		height: 90px;
	}

	/* Scroll fallback: 2 compact rows of 90 + 32 + 1 + 6. */
	.vco .vco-ty-items--scroll {
		max-height: calc(var(--vco-items-fit, 258px) + 24px);
	}
}
