/* VADELLE storefront - components. Tokens live in theme.json. */

:root {
	--v-gutter: var(--wp--custom--gutter);
	--v-col-gap: var(--wp--custom--grid-gap--column);
	--v-row-gap: var(--wp--custom--grid-gap--row);
	--v-header-h: var(--wp--custom--header--height);
	--v-ui-tracking: var(--wp--custom--letter-spacing--ui);
	--v-border: 1px solid var(--wp--preset--color--border);
	--v-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}
@media (min-width: 1024px) {
	:root { --v-header-h: var(--wp--custom--header--height-desktop); }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--v-header-h) + var(--v-admin-bar) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { height: auto; max-width: 100%; }

:where(a, button, input, select, summary, [tabindex]):focus-visible {
	outline: var(--wp--custom--focus);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

.vicon { display: block; flex: none; }

/* ------------------------------------------------------------------ header */

.vsite-header {
	position: sticky;
	top: var(--v-admin-bar);
	z-index: 50;
	background: var(--wp--preset--color--base);
	border-bottom: var(--v-border);
}
.vh {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--v-header-h);
	padding-inline: max(4px, calc(var(--v-gutter) - 12px));
}
.vh__brand,
.vdrawer__brand,
.vch__brand,
.vf__brand {
	font-weight: 500;
	font-size: 1.0625rem;
	letter-spacing: var(--wp--custom--letter-spacing--wordmark);
	margin-right: calc(-1 * var(--wp--custom--letter-spacing--wordmark));
	text-decoration: none !important;
	color: inherit;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--tap-target);
}
.vh__brand { grid-column: 2; justify-self: center; }
.vh__icon {
	display: inline-flex; align-items: center; justify-content: center;
	position: relative;
	width: var(--wp--custom--tap-target); height: var(--wp--custom--tap-target);
	padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
	text-decoration: none !important;
}
.vh__menu { grid-column: 1; grid-row: 1; justify-self: start; }
.vh__utils { grid-column: 3; justify-self: end; display: flex; align-items: center; }
.vh__account { display: none; }
.vh__count {
	position: absolute; top: 7px; right: 5px;
	min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
}
.vnav { display: none; }

@media (min-width: 1024px) {
	.vh { grid-template-columns: 1fr auto 1fr; padding-inline: var(--v-gutter); }
	.vh__menu { display: none; }
	.vh__brand { grid-column: 1; justify-self: start; font-size: 1.125rem; }
	.vh__account { display: inline-flex; }
	.vh__utils { margin-right: -12px; }
	.vnav { display: block; grid-column: 2; grid-row: 1; }
}

/* Desktop navigation */
.vnav__list { display: flex; gap: clamp(1.5rem, 2.6vw, 2.75rem); list-style: none; margin: 0; padding: 0; }
.vnav__item { position: relative; display: flex; align-items: center; }
.vnav__link {
	display: flex; align-items: center;
	height: var(--v-header-h);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	letter-spacing: var(--v-ui-tracking);
	text-transform: uppercase;
	text-decoration: none !important;
	color: inherit;
}
.vnav__link:hover { text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 1px !important; }
.vnav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 32px; margin-left: 2px; padding: 0;
	border: 0; background: none; color: inherit; cursor: pointer;
}
.vnav__toggle .vicon { width: 15px; height: 15px; transition: transform 0.15s ease; }
.vnav__panel {
	display: none;
	position: absolute; top: 100%; left: -1.5rem;
	min-width: 240px;
	padding: 1.25rem 1.5rem 1.5rem;
	background: var(--wp--preset--color--base);
	border: var(--v-border); border-top: 0;
}
.vnav__item--shop:hover .vnav__panel,
.vnav__item--shop:focus-within .vnav__panel,
.vnav__item--shop.is-open .vnav__panel { display: block; }
.vnav__item--shop.is-dismissed .vnav__panel { display: none; }
.vnav__item--shop:hover .vnav__toggle .vicon,
.vnav__item--shop.is-open .vnav__toggle .vicon { transform: rotate(180deg); }
.vnav__cats, .vnav__sub { list-style: none; margin: 0; padding: 0; }
.vnav__cats a {
	display: block; padding: 0.4rem 0;
	font-size: var(--wp--preset--font-size--base);
	color: inherit; text-decoration: none;
}
.vnav__cats a:hover { text-decoration: underline; text-underline-offset: 4px; }
.vnav__all { padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: var(--v-border); }
.vnav__all a { font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase; }
.vnav__sub { padding-left: 1rem; }
.vnav__sub a { padding: 0.25rem 0; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); }

/* ------------------------------------------------------------ mobile drawer */

dialog { color: inherit; }
.vdrawer {
	position: fixed; inset: 0 auto 0 0;
	width: min(88vw, 420px); max-width: none;
	height: 100dvh; max-height: none;
	margin: 0; padding: 0 0 2rem;
	border: 0;
	background: var(--wp--preset--color--base);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.vdrawer::backdrop, .vsearch::backdrop { background: rgb(20 20 20 / 0.32); }
.vdrawer__head {
	display: flex; align-items: center; justify-content: space-between;
	height: var(--wp--custom--header--height);
	padding-left: var(--v-gutter); padding-right: 4px;
	border-bottom: var(--v-border);
}
.vdrawer__list { list-style: none; margin: 0; padding: 0.75rem 0; }
.vdrawer__list > li > a,
.vdrawer__shop > summary {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 52px; padding: 0 var(--v-gutter);
	font-size: var(--wp--preset--font-size--md);
	font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	color: inherit; text-decoration: none; cursor: pointer;
}
.vdrawer__shop > summary { list-style: none; }
.vdrawer__shop > summary::-webkit-details-marker { display: none; }
.vdrawer__plus { position: relative; width: 14px; height: 14px; }
.vdrawer__plus::before, .vdrawer__plus::after {
	content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor;
}
.vdrawer__plus::after { transform: rotate(90deg); transition: transform 0.15s ease; }
.vdrawer__shop[open] .vdrawer__plus::after { transform: rotate(0deg); }
.vdrawer__cats, .vdrawer__sub { list-style: none; margin: 0; padding: 0 0 0.5rem; }
.vdrawer__cats a {
	display: flex; align-items: center;
	min-height: 44px; padding: 0 var(--v-gutter) 0 calc(var(--v-gutter) + 1rem);
	font-size: var(--wp--preset--font-size--base); color: inherit; text-decoration: none;
}
.vdrawer__sub { padding: 0; }
.vdrawer__sub a { padding-left: calc(var(--v-gutter) + 2rem); color: var(--wp--preset--color--muted); }
.vdrawer__list--secondary { border-top: var(--v-border); margin-top: 0.5rem; }
.vdrawer__list--secondary > li > a { font-size: var(--wp--preset--font-size--base); text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Language switcher EN | ΕΛ (inc/i18n.php). Rendered only when a translated sibling exists and the viewer may see
   that language. Desktop: first item of the header utilities, same 44px height as the icons (header height unchanged).
   Below 1024px it lives in the drawer instead (the bar is full there). */
.vlang__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.vlang__list > li { display: flex; align-items: center; }
.vlang__list > li + li::before { content: "|"; padding: 0 0.5em; color: var(--wp--preset--color--muted); }
.vlang__item {
	display: inline-flex; align-items: center; min-height: var(--wp--custom--tap-target); padding: 0 2px;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking);
	color: var(--wp--preset--color--muted); text-decoration: none !important;
}
a.vlang__item:hover { color: var(--wp--preset--color--contrast); }
.vlang__item[aria-current] { color: var(--wp--preset--color--contrast); text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 1px !important; }
.vlang--header { display: none; margin-right: 8px; }
@media (min-width: 1024px) { .vlang--header { display: block; } }
.vdrawer__lang { padding: 0 var(--v-gutter); }

/* ------------------------------------------------------------------ search */

.vsearch {
	position: fixed; inset: 0 0 auto 0;
	width: 100%; max-width: none; margin: 0; padding: 0;
	border: 0; border-bottom: var(--v-border);
	background: var(--wp--preset--color--base);
}
.vsearch__form {
	display: flex; align-items: center; gap: 0.75rem;
	max-width: var(--wp--style--global--wide-size); margin: 0 auto;
	min-height: 72px; padding: 0 4px 0 var(--v-gutter);
}
.vsearch__input {
	flex: 1; min-width: 0; height: 44px;
	border: 0; border-bottom: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0; background: none; padding: 0;
	font: inherit; font-size: 16px; color: inherit;
}
.vsearch__input:focus-visible { outline: none; border-bottom-width: 2px; }
.vsearch__submit {
	height: 44px; padding: 0 1rem; border: 0; background: none; color: inherit; cursor: pointer;
	font: inherit; font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}

/* --------------------------------------------------------- page structure */

.vmain { padding-inline: var(--v-gutter); padding-bottom: var(--wp--preset--spacing--70); }
.vcatalog, .vshop { max-width: var(--wp--style--global--wide-size); margin-inline: auto; }

.vcatalog__head { padding: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40); }
.vcatalog__title,
.vsection__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--editorial);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--xl);
	line-height: var(--wp--custom--line-height--tight);
	letter-spacing: -0.005em;
}
.vcatalog__desc { max-width: 60ch; margin-top: 0.75rem; color: var(--wp--preset--color--muted); }
.vcatalog__desc p { margin: 0; }

/* Category links */
.vcats { margin-bottom: var(--wp--preset--spacing--30); }
.vcats__row {
	display: flex; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0;
	overflow-x: auto; scrollbar-width: none;
	margin-inline: calc(-1 * var(--v-gutter)); padding-inline: var(--v-gutter);
}
.vcats__row::-webkit-scrollbar { display: none; }
.vcats__row a {
	display: flex; align-items: center; min-height: 44px; white-space: nowrap;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	color: var(--wp--preset--color--muted); text-decoration: none;
}
.vcats__row a:hover, .vcats__row a[aria-current] { color: var(--wp--preset--color--contrast); }
.vcats__row a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* Child categories (.vcats__child) follow directly after their parent, same simple link style. */
/* Narrow screens: one scrollable line, last link faded to hint at more. */
.vcats { position: relative; }
@media (max-width: 1023px) {
	.vcats::after {
		content: ""; position: absolute; top: 0; right: calc(-1 * var(--v-gutter)); bottom: 0; width: 40px;
		background: linear-gradient(to right, rgb(250 249 246 / 0), var(--wp--preset--color--base));
		pointer-events: none;
	}
}
/* Wide desktop: wrap cleanly instead of overflowing. */
@media (min-width: 1024px) {
	.vcats__row { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* Curated edit (OFFICE) empty state */
.vedit-empty { max-width: 34rem; padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--60); color: var(--wp--preset--color--muted); }
.vedit-empty p { margin: 0 0 0.75rem; }
.vedit-empty__lead { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--md); }
.vedit-empty__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem !important; }
.vedit-empty .vbtn--link { color: var(--wp--preset--color--contrast); }

/* Toolbar */
.vtoolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.5rem 0; margin-bottom: var(--wp--preset--spacing--40);
	border-top: var(--v-border); border-bottom: var(--v-border);
	font-size: var(--wp--preset--font-size--sm);
}
.vtoolbar__count { margin: 0; color: var(--wp--preset--color--muted); }
.vtoolbar__sort { display: flex; align-items: center; gap: 0.5rem; }
.vtoolbar__sort label { margin: 0; line-height: 1; color: var(--wp--preset--color--muted); }
.vtoolbar__sort select {
	appearance: none; -webkit-appearance: none;
	height: 44px; padding: 0 1.5rem 0 0.25rem;
	border: 0; border-radius: 0; background: transparent no-repeat right center / 14px
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.5'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
	font: inherit; font-weight: 500; color: inherit; cursor: pointer;
}

/* --------------------------------------------------------------- the grid */

.vcollection { margin: 0; }
.wc-block-product-template.vgrid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--v-row-gap) var(--v-col-gap);
	list-style: none; margin: 0; padding: 0;
}
@media (min-width: 768px) { .wc-block-product-template.vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .wc-block-product-template.vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wc-block-product-template.vgrid > li {
	width: auto !important; max-width: none !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; text-align: left;
}
.wc-block-product-template.vgrid > li > * { margin: 0; }

/* --------------------------------------------------------------- the card */

.vcard__media {
	position: relative; display: block;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
}
.vcard__media img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center top;
}
.vcard__img--hover { opacity: 0; transition: opacity 0.25s ease; }
@media (hover: hover) and (pointer: fine) {
	.vgrid > li:hover .vcard__img--hover.is-loaded { opacity: 1; }
}
/* Size availability: mouse hover only (touch cards stay unchanged), a low strip over the hem, above the hover image */
.vcard__sizes { display: none; }
@media (hover: hover) and (pointer: fine) {
	.vcard__sizes {
		position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
		display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.125rem;
		padding: 0.625rem 0.75rem;
		background: rgb(250 249 246 / 0.9); color: var(--wp--preset--color--contrast);
		font-size: 0.75rem; line-height: 1.3; letter-spacing: 0.04em;
		opacity: 0; transition: opacity 0.2s ease;
		pointer-events: none;
	}
	.vgrid > li:hover .vcard__sizes, .vgrid > li:focus-within .vcard__sizes { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) { .vcard__sizes, .vcard__img--hover { transition: none; } }
.vcard__size.is-soldout { color: var(--wp--preset--color--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.wc-block-product-template.vgrid .vcard__title {
	margin: 0.75rem 0 0;
	font-size: 0.875rem; font-weight: 400; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard__title a { color: inherit; text-decoration: none; }
.vcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wc-block-product-template.vgrid .vcard__price,
.wc-block-product-template.vgrid .vcard__price .wc-block-components-product-price {
	margin: 0.25rem 0 0; text-align: left;
	font-size: var(--wp--preset--font-size--sm); font-weight: 400;
}
.vcard__price del { color: var(--wp--preset--color--muted); margin-right: 0.4em; }
.vcard__price ins { text-decoration: none; color: var(--wp--preset--color--sale); }

/* Pagination / empty */
.vpagination { margin-top: var(--wp--preset--spacing--60); gap: 0 !important; flex-wrap: nowrap !important; font-size: var(--wp--preset--font-size--sm); }
.vpagination .wp-block-query-pagination-numbers { display: flex; }
.vpagination a, .vpagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 44px; padding: 0 0.4rem; color: inherit; text-decoration: none;
}
.vpagination .page-numbers.dots { min-width: 24px; }
.vpagination .page-numbers.current { text-decoration: underline; text-underline-offset: 6px; font-weight: 500; }
/* Infinite scroll (vadelle.js): replaces the links only once JS runs; same footprint as the pagination row, so the footer never jumps */
.vcollection.is-infinite > .vpagination { display: none; }
.vinfinite { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: var(--wp--preset--spacing--60); }
.vinfinite__dots { display: flex; gap: 6px; visibility: hidden; }
.vinfinite.is-loading .vinfinite__dots { visibility: visible; }
.vinfinite__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--wp--preset--color--muted); animation: vinfinite 1s ease-in-out infinite; }
.vinfinite__dots i:nth-child(2) { animation-delay: 0.15s; }
.vinfinite__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes vinfinite { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vinfinite__dots i { animation: none; } }
.vempty { padding:var(--wp--preset--spacing--60) 0; color: var(--wp--preset--color--muted); }
.vempty a { color: var(--wp--preset--color--contrast); text-decoration: underline; }

/* ------------------------------------------------------- interim homepage */

.vsection { padding-top: var(--wp--preset--spacing--60); }
.vsection__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--40);
}
.vsection__link { margin: 0; }
.vsection__link a {
	font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* ------------------------------------------------------------------- pages */

.vpage { padding-top: var(--wp--preset--spacing--60); }
.vpage__title {
	font-family: var(--wp--preset--font-family--editorial);
	font-size: var(--wp--preset--font-size--xl); line-height: var(--wp--custom--line-height--tight);
}

/* Legal pages (Terms, Returns, Privacy): readable 720px column, calm section rhythm. */
.vlegal { padding-bottom: var(--wp--preset--spacing--70); line-height: 1.7; overflow-wrap: anywhere; }
.vlegal > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.vlegal p, .vlegal ul { margin-block-end: 0; }
.vlegal .vlegal__updated { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--sm); }
.vlegal > .vlegal__updated + * { margin-block-start: var(--wp--preset--spacing--50); }
.vlegal h2 {
	margin-block-start: var(--wp--preset--spacing--60);
	font-size: var(--wp--preset--font-size--md); line-height: 1.4;
}
.vlegal h3 { margin-block-start: var(--wp--preset--spacing--50); font-size: var(--wp--preset--font-size--base); line-height: 1.5; }
.vlegal ul { padding-inline-start: 1.25em; }
.vlegal li + li { margin-block-start: var(--wp--preset--spacing--20); }
.vlegal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Cookie consent banner (Complianz): while it is open, keep room below the page so nothing at the
   very end (e.g. Place order) stays hidden behind it. Banner ~240px desktop, ~325px phone. */
body:has(.cmplz-cookiebanner.cmplz-show) { padding-bottom: 16rem; }
@media (max-width: 767px) { body:has(.cmplz-cookiebanner.cmplz-show) { padding-bottom: 22rem; } }

/* ------------------------------------------------------------------ footer */

.vsite-footer { border-top: var(--v-border); }
.vf {
	max-width: var(--wp--style--global--wide-size); margin: 0 auto;
	padding: var(--wp--preset--spacing--60) var(--v-gutter) var(--wp--preset--spacing--40);
}
.vf__top { display: grid; gap: var(--wp--preset--spacing--50); }
.vf__brand { justify-self: start; align-self: start; margin-top: -12px; }
.vf__groups { display: grid; }
.vf__group > summary {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 52px; list-style: none; cursor: pointer;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	border-bottom: var(--v-border);
}
.vf__group > summary::-webkit-details-marker { display: none; }
.vf__group > summary::after { content: "+"; font-weight: 400; font-size: 1.125rem; }
.vf__group[open] > summary::after { content: "\2013"; }
.vf__group ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.vf__group a, .vf__group .vf__consent {
	display: flex; align-items: center; min-height: 40px;
	color: var(--wp--preset--color--muted); text-decoration: none;
}
.vf__group .vf__consent { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.vf__group a:hover, .vf__group .vf__consent:hover { color: var(--wp--preset--color--contrast); text-decoration: underline; text-underline-offset: 4px; }
.vf__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	margin-top: var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted);
}
.vf__bottom p { margin: 0; }
.vf__social { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.vf__social a { color: inherit; }

@media (min-width: 900px) {
	.vf__top { grid-template-columns: minmax(180px, 1fr) 3fr; }
	.vf__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50); }
	.vf__group > summary { min-height: 0; padding-bottom: 0.75rem; border-bottom: 0; cursor: default; }
	.vf__group > summary::after,
	.vf__group[open] > summary::after { content: none; }
	.vf__group ul { padding: 0; }
	.vf__group a, .vf__group .vf__consent { min-height: 32px; }
}

/* ======================================================= campaign homepage */

/* Buttons */
.vbtn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 1.75rem;
	border: 1px solid currentColor; border-radius: 0;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	text-decoration: none !important; white-space: nowrap;
}
.vbtn--outline { color: var(--wp--preset--color--contrast); background: transparent; }
.vbtn--outline:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.vbtn--link { border-color: transparent; padding: 0 0.25rem; text-decoration: underline !important; text-underline-offset: 6px; text-decoration-thickness: 1px !important; }

/* Shared media layer */
.vmedia picture img,
.vmedia .vmedia-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.vmedia .vmedia-video { opacity: 0; transition: opacity 0.4s ease; }
.vmedia .vmedia-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vmedia .vmedia-video { transition: none; } }

.vplay {
	position: absolute; right: var(--v-gutter); bottom: 16px; z-index: 3;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: rgb(20 20 20 / 0.55); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.vplay[hidden] { display: none; }
.vplay__icon { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.vplay.is-paused .vplay__icon {
	width: 0; height: 0; margin-left: 4px;
	border-style: solid; border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent currentColor;
}
.vplay:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Hero */
.vhero {
	position: relative; overflow: hidden;
	margin-inline: calc(-1 * var(--v-gutter));
	height: clamp(460px, calc(100svh - var(--v-header-h) - 88px), 760px);
	background: var(--wp--preset--color--surface);
	display: flex; align-items: flex-end;
}
@media (min-width: 768px) {
	/*
	 * Header + hero = one viewport. Capped by panel shape (each look no
	 * narrower than ~1:1.75) so tall/narrow screens never over-crop garments,
	 * and by min/max guards for unusual screens.
	 */
	.vhero {
		height: clamp(
			560px,
			min(calc(100svh - var(--v-header-h) - var(--v-admin-bar)), calc(100vw / var(--vhero-panels-n, 1) * 1.75)),
			1200px
		);
	}
	.vhero--panels-2 { --vhero-panels-n: 2; }
	.vhero--panels-3 { --vhero-panels-n: 3; }
}
.vhero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 3px; background: var(--wp--preset--color--base); }
.vhero__panel { position: relative; overflow: hidden; background: var(--wp--preset--color--surface); }
.vhero__panel + .vhero__panel { display: none; }
@media (min-width: 768px) {
	.vhero__media { grid-template-columns: repeat(var(--vhero-panels, 1), minmax(0, 1fr)); }
	.vhero__panel + .vhero__panel { display: block; }
}
.vhero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vhero--tone-light { color: #fff; }
.vhero--tone-light::after { background: linear-gradient(to top, rgb(0 0 0 / 0.42), rgb(0 0 0 / 0) 50%); }
.vhero--tone-dark { color: var(--wp--preset--color--contrast); }
.vhero--tone-dark::after { background: linear-gradient(to top, rgb(250 249 246 / 0.7), rgb(250 249 246 / 0) 45%); }
.vhero__content {
	position: relative; z-index: 2;
	width: 100%; max-width: 46rem;
	padding: 0 var(--v-gutter) clamp(1.75rem, 5vw, 4rem);
}
.vhero__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--editorial);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 500; line-height: 1; letter-spacing: -0.01em;
}
.vhero__line { margin: 0.75rem 0 0; font-size: var(--wp--preset--font-size--md); max-width: 36ch; }
.vhero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }
.vhero--tone-dark .vbtn--primary { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.vhero--tone-light .vbtn--primary { background: #fff; border-color: #fff; color: var(--wp--preset--color--contrast); }
.vhero--tone-light :focus-visible { outline-color: #fff; }
.vhero .vbtn--link { color: inherit; }

/* Promoted pair */
.vpromo {
	display: grid; grid-template-columns: 1fr; gap: var(--wp--preset--spacing--50) var(--v-col-gap);
	padding-top: var(--v-col-gap);
}
@media (min-width: 768px) { .vpromo { grid-template-columns: 1fr 1fr; } }
.vpromo__item { display: block; color: inherit; text-decoration: none !important; }
.vpromo__media {
	position: relative; overflow: hidden; aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--surface);
}
@media (min-width: 768px) {
	/* Keep image + title + CTA within one screen. */
	.vpromo__media { max-height: min(calc(100svh - var(--v-header-h) - 120px), 780px); width: 100%; }
}
.vpromo__text { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.875rem; }
.vpromo__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--editorial);
	font-size: clamp(1.625rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.1;
}
.vpromo__cta {
	flex: none;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.vpromo__item:hover .vpromo__cta { text-decoration-thickness: 2px; }

/* Campaign film */
.vfilm { display: flex; flex-direction: column; margin-top: var(--wp--preset--spacing--70); margin-inline: calc(-1 * var(--v-gutter)); }
.vfilm__title {
	order: -1;
	margin: 0 0 var(--wp--preset--spacing--40); padding-inline: var(--v-gutter);
	font-family: var(--wp--preset--font-family--editorial);
	font-size: var(--wp--preset--font-size--xl); font-weight: 500; line-height: var(--wp--custom--line-height--tight);
}
.vfilm__frame {
	position: relative; overflow: hidden; width: 100%;
	aspect-ratio: var(--vfilm-ratio-m, 4 / 5);
	background: var(--wp--preset--color--surface);
}
@media (min-width: 768px) {
	.vfilm__frame { aspect-ratio: var(--vfilm-ratio, 16 / 9); max-height: 88svh; }
}

/* No video + portrait poster: editorial still (stacked on mobile, split on desktop). */
.vfilm--still { margin-inline: 0; }
.vfilm--still .vfilm__frame { aspect-ratio: 4 / 5; }
.vfilm--still .vfilm__title { order: 0; margin: var(--wp--preset--spacing--40) 0 0; padding: 0; }
@media (min-width: 768px) {
	.vfilm--still {
		display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		align-items: end; gap: var(--wp--preset--spacing--60);
	}
	.vfilm--still .vfilm__frame { aspect-ratio: 4 / 5; max-height: min(calc(100svh - var(--v-header-h) - 64px), 860px); }
	.vfilm--still .vfilm__title { margin: 0; font-size: var(--wp--preset--font-size--display); line-height: 1; }
}

/* Shop after the campaign */
.vhome .vshop { padding-top: var(--wp--preset--spacing--60); }
.vhome .vcats { margin-bottom: var(--wp--preset--spacing--40); }
.vshop__more { margin: var(--wp--preset--spacing--60) 0 0; text-align: center; }
.vmodules { padding-top: var(--wp--preset--spacing--70); }

/* ==================================================== product detail page */

.vpdp { max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-top: var(--wp--preset--spacing--30); }
.vpdp__main { display: block; }
.vpdp__gallery { margin-inline: calc(-1 * var(--v-gutter)); }
.vpdp__info { padding-top: var(--wp--preset--spacing--40); }
@media (min-width: 600px) and (max-width: 1023px) { .vpdp__info { max-width: 36rem; } } /* readable line length on tablets */
@media (min-width: 1024px) {
	.vpdp { padding-top: var(--wp--preset--spacing--40); }
	.vpdp__main {
		display: grid; grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
		gap: clamp(2rem, 4vw, 5rem); align-items: start;
	}
	.vpdp__gallery { margin-inline: 0; }
	.vpdp__info {
		position: sticky; top: calc(var(--v-header-h) + var(--v-admin-bar) + 24px);
		padding-top: 0; max-width: 32rem;
	}
}

/* Gallery: phone = 1 image per view, tablet = 2 per view (swipe), desktop = 2-column grid */
.vgal { position: relative; }
.vgal__track {
	display: flex; gap: 2px; margin: 0; padding: 0; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.vgal__track::-webkit-scrollbar { display: none; }
.vgal__item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 600px) { .vgal__item { flex-basis: calc(50% - 1px); } }
.vgal__zoom {
	display: block; width: 100%; padding: 0; border: 0; background: var(--wp--preset--color--surface);
	aspect-ratio: 2 / 3; position: relative; overflow: hidden; cursor: zoom-in;
}
.vgal__zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.vgal__zoom:focus-visible { outline-offset: -3px; }
.vgal__count {
	position: absolute; right: var(--v-gutter); bottom: 12px; margin: 0;
	padding: 2px 8px; background: rgb(250 249 246 / 0.85);
	font-size: var(--wp--preset--font-size--xs); letter-spacing: var(--v-ui-tracking);
}
@media (min-width: 1024px) {
	.vgal__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--v-col-gap); overflow: visible; }
	.vgal__count { display: none; }
	/* 3 images (the VADELLE norm): editorial mosaic - main view large, two views stacked; no empty cell, no upscaling. */
	.vgal[data-count="3"] .vgal__track { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	.vgal[data-count="3"] .vgal__item:first-child { grid-row: span 2; }
	.vgal[data-count="3"] .vgal__item:first-child .vgal__zoom { aspect-ratio: auto; height: 100%; }
}

/* Info column */
.vpdp__crumbs { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); margin-bottom: var(--wp--preset--spacing--30); }
.vpdp__crumbs a { color: inherit; }
.wp-block-post-title.vpdp__title {
	margin: 0; font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--lg); font-weight: 400; line-height: 1.3; letter-spacing: 0;
}
.vpdp__price, .vpdp__price .wc-block-components-product-price { margin: 0.5rem 0 0; font-size: var(--wp--preset--font-size--md); font-weight: 400; }
.vpdp__price del { color: var(--wp--preset--color--muted); margin-right: 0.4em; }
.vpdp__price ins { text-decoration: none; color: var(--wp--preset--color--sale); }

/* Purchase form (Woo classic variation form, restyled) */
.vpdp__buy { margin-top: var(--wp--preset--spacing--40); }
.vpdp__buy, .vpdp__buy form.cart, .vpdp__buy .single_variation_wrap, .vpdp__buy .woocommerce-variation-add-to-cart { width: 100% !important; max-width: none !important; }
.vpdp__buy form.cart { display: block !important; } /* Woo's block CSS makes it a 2-column grid */
.vpdp__buy table.variations, .vpdp__buy .reset_variations, .vpdp__buy .quantity, .vpdp__buy .woocommerce-variation-description { display: none !important; }
.vsizes { position: relative; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.vsizes__legend {
	float: left; padding: 0; line-height: 44px;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vsizes__options { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.vsizes__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.vsizes__option {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 72px; min-height: 48px; padding: 0 1rem;
	border: 1px solid var(--wp--preset--color--border); background: transparent;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500; cursor: pointer; user-select: none;
}
.vsizes__option:hover { border-color: var(--wp--preset--color--contrast); }
.vsizes__input:checked + .vsizes__option { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.vsizes__input:focus-visible + .vsizes__option { outline: var(--wp--custom--focus); outline-offset: 2px; }
.vsizes__input:disabled + .vsizes__option {
	color: var(--wp--preset--color--muted); background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--surface);
	text-decoration: line-through; cursor: not-allowed;
}
.vsizes__error { margin: 0.75rem 0 0; color: var(--wp--preset--color--sale); font-size: var(--wp--preset--font-size--sm); }
.vpdp__buy .single_variation_wrap { margin-top: 0.75rem; }
.vpdp__buy .woocommerce-variation-price .price { font-size: var(--wp--preset--font-size--md); }
.vpdp__buy .woocommerce-variation-availability p.stock,
.vpdp__buy p.stock { margin: 0.5rem 0 0; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); }
.vpdp__buy p.stock.out-of-stock { color: var(--wp--preset--color--contrast); }
.vpdp__soldout { margin: 0 0 var(--wp--preset--spacing--30) !important; font-size: var(--wp--preset--font-size--base) !important; }
.variations_form:has(.vpdp__soldout) .single_variation_wrap { display: none !important; }
.vpdp__buy .woocommerce-variation-add-to-cart { display: block; margin-top: var(--wp--preset--spacing--30); }
.vpdp__buy .single_add_to_cart_button,
.vpdp__buy .single_add_to_cart_button.disabled {
	display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 52px;
	margin: 0; border: 0; border-radius: 0; opacity: 1 !important; cursor: pointer;
	background: var(--wp--preset--color--contrast) !important; color: var(--wp--preset--color--base) !important;
	font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vpdp__buy .single_add_to_cart_button:hover { background: #2a2a2a !important; }
.vpdp__buy .single_add_to_cart_button:focus-visible { outline: var(--wp--custom--focus); outline-offset: 3px; }

/* Size guide (inline, always visible, between Add to bag and the accordions) */
.vsizeguide { margin-top: var(--wp--preset--spacing--50); }
.vsizeguide__title { margin: 0; font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); }
.vsizeguide__intro { margin: 0.375rem 0 0.75rem; font-size: var(--wp--preset--font-size--xs); line-height: 1.5; color: var(--wp--preset--color--muted); }
.vsizeguide__table {
	width: 100%; border-collapse: collapse; table-layout: fixed;
	font-size: var(--wp--preset--font-size--sm); font-variant-numeric: tabular-nums; line-height: 1.4;
}
.vsizeguide__table th, .vsizeguide__table td { padding: 0.55rem 0.5rem 0.55rem 0; border-bottom: var(--v-border); text-align: left; font-weight: 400; white-space: nowrap; }
.vsizeguide__table thead th { padding-top: 0; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.vsizeguide__table tbody th { font-weight: 500; }
@media (max-width: 599px) {
	.vsizeguide__table { font-size: var(--wp--preset--font-size--xs); }
	.vsizeguide__table th, .vsizeguide__table td { padding-right: 0.25rem; }
}

/* Accordions */
.vacc { margin-top: var(--wp--preset--spacing--50); border-top: var(--v-border); }
.vacc__item { border-bottom: var(--v-border); }
.vacc__heading { margin: 0; font-size: inherit; }
.vacc__btn {
	display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px;
	padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
	font: inherit; font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vacc__icon { position: relative; width: 12px; height: 12px; flex: none; }
.vacc__icon::before, .vacc__icon::after { content: ""; position: absolute; left: 0; top: 5.5px; width: 12px; height: 1px; background: currentColor; }
.vacc__icon::after { transform: rotate(90deg); transition: transform 0.15s ease; }
.vacc__btn[aria-expanded="true"] .vacc__icon::after { transform: rotate(0deg); }
.vacc__panel { padding: 0 0 1.25rem; font-size: var(--wp--preset--font-size--base); line-height: 1.6; }
.vacc__panel p { margin: 0 0 0.75rem; }
.vacc__panel p:not(.vacc__meta):not(.vacc__pending) { max-width: 60ch; }
.vacc__meta { margin-top: 1rem !important; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.vacc__meta a { color: inherit; }
.vacc__pending { color: var(--wp--preset--color--muted); }

/* Lightbox dialog */
.vlightbox::backdrop { background: rgb(20 20 20 / 0.4); }
.vlightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--wp--preset--color--base); }
.vlightbox__track { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vlightbox__track::-webkit-scrollbar { display: none; }
.vlightbox__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.vlightbox__slide img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.vlightbox__close { position: absolute; top: 8px; right: 8px; }
.vlightbox__nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; background: none; color: inherit; cursor: pointer; display: none; }
.vlightbox__nav--prev { left: 12px; transform: rotate(90deg); }
.vlightbox__nav--next { right: 12px; transform: rotate(-90deg); }
@media (hover: hover) and (pointer: fine) { .vlightbox__nav { display: inline-flex; align-items: center; justify-content: center; } }
.vlightbox__count { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: var(--wp--preset--font-size--xs); letter-spacing: var(--v-ui-tracking); }

/* Woo notices (e.g. added to bag) */
.vpdp .wc-block-components-notice-banner, .vpdp .woocommerce-message, .vpdp .woocommerce-error {
	margin: 0 0 var(--wp--preset--spacing--40); border-radius: 0; border: var(--v-border); background: var(--wp--preset--color--surface); font-size: var(--wp--preset--font-size--sm);
}

/* Below the product */
.vpdp-modules, .vpdp-more { padding-top: var(--wp--preset--spacing--70); }

/* ====================================================== cart + checkout */
/* Woo Cart/Checkout blocks keep their structure and logic; this is styling only. */

.vcartpage, .vcheckoutpage { max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-top: var(--wp--preset--spacing--50); }
.vcartpage__title {
	margin: 0 0 var(--wp--preset--spacing--50);
	font-family: var(--wp--preset--font-family--editorial); font-size: var(--wp--preset--font-size--xl); font-weight: 500; line-height: 1.1;
}
.vcartpage .wp-block-woocommerce-cart, .vcheckoutpage .wp-block-woocommerce-checkout { max-width: none; margin: 0; }
.vcartpage .wc-block-components-sidebar-layout, .vcheckoutpage .wc-block-components-sidebar-layout { margin: 0; }

/* Shared Woo block controls */
.vcartpage .wc-block-components-button:not(.is-link),
.vcheckoutpage .wc-block-components-button:not(.is-link) {
	min-height: 52px; border-radius: 0; border: 0;
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--sm); font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
	box-shadow: none;
}
.vcartpage .wc-block-components-button:not(.is-link):hover,
.vcheckoutpage .wc-block-components-button:not(.is-link):hover { background: #2a2a2a; color: var(--wp--preset--color--base); }
.vcartpage .wc-block-components-button:focus-visible,
.vcheckoutpage .wc-block-components-button:focus-visible { outline: var(--wp--custom--focus); outline-offset: 3px; box-shadow: none; }

.vcartpage .wc-block-components-totals-item, .vcheckoutpage .wc-block-components-totals-item { font-size: var(--wp--preset--font-size--base); }
.vcartpage .wc-block-components-totals-footer-item, .vcheckoutpage .wc-block-components-totals-footer-item { font-size: var(--wp--preset--font-size--md); font-weight: 500; }
.vcartpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.vcheckoutpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: var(--wp--preset--font-size--lg); font-weight: 500; }
.vcartpage .wc-block-components-totals-wrapper, .vcheckoutpage .wc-block-components-totals-wrapper { border-color: var(--wp--preset--color--border); }

/* Bag shipping row: no rate on the bag, shipping is chosen at checkout (inc/cart.php, assets/js/bag.js) */
.vcartpage .vbag-shipping__row { flex-wrap: wrap; row-gap: 0.25rem; }
.vcartpage .vbag-shipping__value { color: var(--wp--preset--color--muted); text-align: right; }
.vcartpage .vbag-shipping__row .wc-block-components-totals-item__description { flex-basis: 100%; width: 100%; margin: 0; }
.vcartpage .vbag-shipping__note { display: block; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); line-height: 1.4; }
.vcartpage .vbag-shipping__line { display: block; }
.vcartpage .vbag-shipping__line strong { font-weight: 600; }
.vcartpage .wc-block-components-totals-footer-item-shipping { display: none; } /* Woo's own "Shipping will be calculated at checkout": said once, in the row above */
/* No "Including x VAT" under the total (presentation only; Woo still calculates and stores the tax, inc/cart.php) */
.vcartpage .wc-block-components-totals-footer-item-tax, .vcheckoutpage .wc-block-components-totals-footer-item-tax { display: none; }

/* Promo code: Woo's own collapsible panel, kept subordinate */
.vcartpage .wc-block-components-totals-coupon .wc-block-components-panel__button,
.vcheckoutpage .wc-block-components-totals-coupon .wc-block-components-panel__button {
	font-size: var(--wp--preset--font-size--sm); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
	min-height: 44px; display: flex; align-items: center;
}
.vcartpage .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
.vcheckoutpage .wc-block-components-totals-coupon .wc-block-components-panel__button-icon { display: none; }

/* Inputs (cart coupon, checkout fields) */
.vcartpage .wc-block-components-text-input input,
.vcheckoutpage .wc-block-components-text-input input,
.vcheckoutpage .wc-block-components-select-input select,
.vcheckoutpage .wc-blocks-components-select .wc-blocks-components-select__select,
.vcheckoutpage .wc-block-components-textarea {
	border: 1px solid #C9C5BE !important; border-radius: 0 !important; background: #fff !important;
	min-height: 52px; color: var(--wp--preset--color--contrast); box-shadow: none !important;
}
.vcartpage .wc-block-components-text-input input:focus,
.vcheckoutpage .wc-block-components-text-input input:focus,
.vcheckoutpage .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.vcheckoutpage .wc-block-components-textarea:focus {
	border-color: var(--wp--preset--color--contrast) !important; outline: 1px solid var(--wp--preset--color--contrast) !important; outline-offset: 0;
}
.vcheckoutpage .wc-block-components-text-input label, .vcheckoutpage .wc-blocks-components-select__label { color: var(--wp--preset--color--muted); }
.vcheckoutpage .has-error input, .vcheckoutpage .has-error select { border-color: var(--wp--preset--color--sale) !important; }
.vcheckoutpage .wc-block-components-validation-error { color: var(--wp--preset--color--sale); font-size: var(--wp--preset--font-size--xs); }
.vcheckoutpage .wc-block-components-validation-error svg { display: none; }

/* ------------------------------------------------------------- cart page */

.vcartpage .wc-block-cart-items { border: 0; margin: 0; }
.vcartpage .wc-block-cart-items__header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vcartpage .wc-block-cart-items__row { border-bottom: var(--v-border); }
.vcartpage .wc-block-cart-items__row:first-of-type { border-top: var(--v-border); }
.vcartpage .wc-block-cart-items .wc-block-cart-items__row td { padding-top: 1.5rem; padding-bottom: 1.5rem; border: 0; }
.vcartpage td.wc-block-cart-item__image { width: 112px; }
.vcartpage .wc-block-cart-item__image img {
	width: 112px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top;
	background: var(--wp--preset--color--surface); border-radius: 0;
}
.vcartpage .wc-block-components-product-name {
	color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--base); font-weight: 400; line-height: 1.4;
	text-decoration: none;
}
.vcartpage .wc-block-components-product-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.vcartpage .wc-block-cart-item__prices, .vcartpage .wc-block-components-product-metadata { font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); margin-top: 0.25rem; }
.vcartpage .wc-block-components-product-metadata__description { display: none; } /* never repeat product copy in the bag */
.vcartpage .wc-block-cart-item__total { font-size: var(--wp--preset--font-size--base); font-weight: 400; }
.vcartpage .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
/* Small screens: Woo turns rows into a fixed 80/132/83/59px grid - use image | info | line total instead. */
.vcartpage .wc-block-cart.is-mobile .wc-block-cart-items__row,
.vcartpage .wc-block-cart.is-small .wc-block-cart-items__row {
	grid-template-columns: 88px minmax(0, 1fr) auto !important; column-gap: 1rem; text-align: left;
}
.vcartpage .wc-block-cart.is-mobile td.wc-block-cart-item__image,
.vcartpage .wc-block-cart.is-small td.wc-block-cart-item__image { width: auto; grid-column: 1 !important; grid-row: 1 / span 2 !important; }
.vcartpage .wc-block-cart.is-mobile .wc-block-cart-item__image img,
.vcartpage .wc-block-cart.is-small .wc-block-cart-item__image img { width: 88px; }
.vcartpage .wc-block-cart.is-mobile td.wc-block-cart-item__product,
.vcartpage .wc-block-cart.is-small td.wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; padding-left: 0; text-align: left; }
.vcartpage .wc-block-cart.is-mobile td.wc-block-cart-item__total,
.vcartpage .wc-block-cart.is-small td.wc-block-cart-item__total { grid-column: 3 !important; grid-row: 1 !important; text-align: right; }
.vcartpage .wc-block-cart.is-mobile .wc-block-cart-item__wrap,
.vcartpage .wc-block-cart.is-small .wc-block-cart-item__wrap { text-align: left; align-items: flex-start; }
/* Same phone layout from first paint: Woo only adds .is-mobile after its JS has measured the
   container, so without this the rows reflow ~2 s after load (CLS 0.14 on a 390px bag). */
@media (max-width: 480px) {
	.vcartpage table.wc-block-cart-items .wc-block-cart-items__row {
		display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; column-gap: 1rem; padding: 16px 0; text-align: left;
	}
	.vcartpage table.wc-block-cart-items .wc-block-cart-items__row td { margin: 0; }
	.vcartpage table.wc-block-cart-items td.wc-block-cart-item__image { width: auto; grid-column: 1; grid-row: 1 / span 2; padding: 24px 16px 24px 0; }
	.vcartpage table.wc-block-cart-items .wc-block-cart-item__image img { width: 88px; }
	.vcartpage table.wc-block-cart-items td.wc-block-cart-item__product { grid-column: 2; grid-row: 1; padding: 0; text-align: left; justify-self: stretch; }
	.vcartpage table.wc-block-cart-items td.wc-block-cart-item__total { grid-column: 3; grid-row: 1; padding: 24px 0; text-align: right; }
	.vcartpage table.wc-block-cart-items .wc-block-cart-item__wrap { text-align: left; align-items: flex-start; }
}

/* Quantity: Woo's own selector, restyled  -  1  + */
.vcartpage .wc-block-components-quantity-selector {
	width: auto; min-width: 132px; height: 46px; margin: 0; border: 1px solid var(--wp--preset--color--border); border-radius: 0;
}
.vcartpage .wc-block-components-quantity-selector::after { display: none; }
.vcartpage .wc-block-components-quantity-selector__button { min-width: 44px; height: 44px; font-size: 1.125rem; color: var(--wp--preset--color--contrast); opacity: 1; }
.vcartpage .wc-block-components-quantity-selector__button:disabled { color: #B9B4AC; }
.vcartpage .wc-block-components-quantity-selector__button:focus-visible { outline: var(--wp--custom--focus); outline-offset: -2px; box-shadow: none; }
.vcartpage .wc-block-components-quantity-selector__input { height: 44px; min-width: 40px; font-size: var(--wp--preset--font-size--sm); font-weight: 500; }
.vcartpage .wc-block-components-quantity-selector__input:focus { outline: var(--wp--custom--focus); outline-offset: -2px; box-shadow: none; }
.vcartpage .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 1.25rem; margin-top: 0.75rem; }
.vcartpage .wc-block-cart-item__remove-link {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; color: var(--wp--preset--color--muted) !important;
	font-size: var(--wp--preset--font-size--sm) !important; text-decoration: underline !important; text-underline-offset: 4px; text-transform: none;
}
.vcartpage .wc-block-cart-item__remove-link:hover { color: var(--wp--preset--color--contrast) !important; }

/* Summary column */
.vcartpage .wc-block-cart__sidebar, .vcheckoutpage .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border: var(--v-border); border-radius: 0; background: var(--wp--preset--color--base);
}
.vcartpage .wc-block-cart__sidebar { padding: 1.5rem; align-self: flex-start; }
.vcartpage .wc-block-cart__totals-title {
	margin: 0 0 0.5rem; padding: 0; font-size: var(--wp--preset--font-size--sm) !important; font-weight: 500; letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vcartpage .wc-block-cart .wc-block-cart__totals-title { display: block; }
.vcartpage .wc-block-cart__submit { margin-top: 1.25rem; margin-bottom: 0; }
.vcartpage .wc-block-cart__submit-button { width: 100%; }
.vcartpage .wc-block-cart__payment-options:empty { display: none; }

/* Empty bag */
.vbag-empty { padding: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--70); }
.vbag-empty__title { margin: 0 0 1.5rem; font-size: var(--wp--preset--font-size--md); font-weight: 400; }
.vbag-empty__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 0; }
.vbag-empty .vbtn--primary { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--contrast); }

/* --------------------------------------------------------- checkout page */

.vsite-header--checkout { position: static; }
.vch {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: var(--v-header-h); padding-inline: var(--v-gutter);
}
.vch__back {
	justify-self: start; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px;
	font-size: var(--wp--preset--font-size--sm); color: inherit; text-decoration: none;
}
.vch__back .vicon { width: 16px; height: 16px; transform: rotate(90deg); }
.vch__back:hover span { text-decoration: underline; text-underline-offset: 4px; }
.vch__brand { justify-self: center; }
@media (max-width: 479px) { .vch__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .vch__back { min-width: 44px; } }

.vcheckoutpage .wc-block-components-checkout-step { margin-bottom: var(--wp--preset--spacing--50); }
.vcheckoutpage .wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--sans) !important; font-size: var(--wp--preset--font-size--sm) !important; font-weight: 500 !important;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vcheckoutpage .wc-block-components-checkout-step__description { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--sm); }
.vcheckoutpage .wc-block-components-checkout-step__container::after { display: none; } /* Woo's step connector line */
.vcheckoutpage .wc-block-components-checkout-step { padding-left: 0; }
.vcheckoutpage .wc-block-components-checkout-step::before, .vcheckoutpage .wc-block-components-checkout-step::after { display: none; }
.vcheckoutpage .wc-block-components-address-form__address_2-toggle,
.vcheckoutpage .wc-block-components-address-form__company-toggle,
.vcheckoutpage .wc-block-components-address-form__phone-toggle { font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--muted); }

/* Delivery method + payment rows */
.vcheckoutpage .wc-block-components-radio-control__option,
.vcheckoutpage .wc-block-components-radio-control-accordion-option {
	border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--wp--preset--color--border);
}
.vcheckoutpage .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.vcheckoutpage .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color: var(--wp--preset--color--contrast); box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast) !important; }
.vcheckoutpage .wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--contrast); }
.vcheckoutpage .wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--contrast); }

/* Woo notices (no payment method, no delivery method, errors): clear but not alarmist */
.vcartpage .wc-block-components-notice-banner, .vcheckoutpage .wc-block-components-notice-banner {
	border-radius: 0; border: 1px solid var(--wp--preset--color--border); border-left: 3px solid var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--sm);
}
.vcartpage .wc-block-components-notice-banner.is-error, .vcheckoutpage .wc-block-components-notice-banner.is-error { border-left-color: var(--wp--preset--color--sale); }
.vcartpage .wc-block-components-notice-banner > svg, .vcheckoutpage .wc-block-components-notice-banner > svg { background: none; fill: currentColor; }
.vcheckoutpage .wc-block-checkout__no-payment-methods-notice, .vcheckoutpage .wc-block-components-shipping-rates-control__no-results-notice { margin: 0; }

/* Order summary */
.vcheckoutpage .wc-block-checkout__sidebar { top: 24px; }
.vcheckoutpage .wc-block-components-checkout-order-summary__title,
.vcheckoutpage .wc-block-components-order-summary .wc-block-components-panel__button,
.vcheckoutpage .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--wp--preset--font-family--sans) !important; font-size: var(--wp--preset--font-size--sm) !important; font-weight: 500 !important;
	letter-spacing: var(--v-ui-tracking); text-transform: uppercase;
}
.vcheckoutpage .wc-block-components-order-summary-item__image { width: 56px; }
.vcheckoutpage .wc-block-components-order-summary-item__image > img {
	width: 56px; max-width: none; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border-radius: 0; background: var(--wp--preset--color--surface);
}
.vcheckoutpage .wc-block-components-order-summary-item__quantity {
	background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); border: 0; box-shadow: none; font-size: 11px;
}
.vcheckoutpage .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description { display: none; }
.vcheckoutpage .wc-block-components-order-summary-item__description { padding-left: 1rem; }
.vcheckoutpage .wc-block-components-order-summary-item__description { flex: 1 1 auto; justify-content: flex-start; } /* line totals flush right even for one-line titles */
.vcheckoutpage .wc-block-components-order-summary-item__description .wc-block-components-product-name { flex: 0 0 auto; margin: 0 0 0.25rem; line-height: 1.4; } /* Woo stretches it to the image height */
.vcheckoutpage .wc-block-components-order-summary-item__total-price { margin-left: 1rem; }
.vcheckoutpage .wc-block-components-product-name { font-size: var(--wp--preset--font-size--sm); font-weight: 400; }
.vcheckoutpage .wc-block-components-product-metadata { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--xs); }

/* Square corners like the rest of the storefront (Woo uses 4-5px radii here) */
.vcheckoutpage .checkout-order-summary-block-fill-wrapper, .vcheckoutpage .checkout-order-summary-block-fill,
.vcheckoutpage .wc-block-components-address-card, .vcheckoutpage .wc-block-components-checkbox__input,
.vcartpage .wc-block-components-checkbox__input { border-radius: 0 !important; }
/* Phones: Woo's collapsed summary toggle sits inside our bordered box - give it inner padding, drop its own rule */
.vcheckoutpage .wc-block-checkout.is-mobile .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.vcheckoutpage .wc-block-checkout.is-small .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { padding-inline: 1rem; }
.vcheckoutpage .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title { border-top: 0; border-bottom: 0; margin-top: 0; }
.vcheckoutpage .checkout-order-summary-block-fill { padding-inline: 1rem; }

/* Terms microcopy + actions */
.vcheckoutpage .wc-block-checkout__terms { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.vcheckoutpage .wc-block-checkout__actions_row { gap: 1rem; }
.vcheckoutpage .wc-block-components-checkout-place-order-button { min-width: 220px; }
.vcheckoutpage .wc-block-components-checkout-return-to-cart-button { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--sm); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 699px) { .vcheckoutpage .wc-block-components-checkout-place-order-button { width: 100%; } }

/* Reduced checkout footer */
.vsite-footer--checkout { border-top: var(--v-border); }
.vcf {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	max-width: var(--wp--style--global--wide-size); margin: 0 auto; padding: var(--wp--preset--spacing--40) var(--v-gutter);
	font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted);
}
.vcf p { margin: 0; }
.vcf__links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.vcf__links a { color: inherit; }
