/* Vuelta chrome: what the header, menu drawer, mini cart and footer still need from CSS.
   Their colours, type, spacing, radius and shadows are block attributes and style variations (Frosted bar, Glass,
   Tilted badge, Label, Payment mark) in the parts, so the Site Editor shows and edits them (tools/build-parts.py).
   Kept here: the sticky part wrapper, the phone header grid, the menu link animation, icon controls, drawer rows,
   WooCommerce markup. Token variables only (raw values: 0, 1px hairlines, media-query breakpoints, motion transforms). */

/* ---------- page frame ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- header ---------- */
/* The part wrapper would limit sticky to its own height: let its children sit directly in .wp-site-blocks. */
.wp-block-template-part:has(> .vt-header-wrap) { display: contents; }
.vt-header-wrap { z-index: var(--wp--custom--z--sticky); }
/* the brand group is one link: the title link stretches over the badge */
.vt-brand { position: relative; flex: none; }
.vt-brand .wp-block-site-title { margin: 0; }
.vt-brand .wp-block-site-title a::after { content: ""; position: absolute; inset: 0; }

/* navigation: inline from 1024px, drawer below (core switches at 600px, so move the switch) */
.vt-nav { margin-right: auto; margin-left: var(--wp--preset--spacing--50); }
.vt-nav .wp-block-navigation-item__content { position: relative; padding: var(--wp--preset--spacing--30) 0; }
.vt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 100%; bottom: var(--wp--preset--spacing--20); height: var(--wp--custom--border--strong); border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--accent-1); transition: right var(--wp--custom--transition--base); }
.vt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover::after,
.vt-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.vt-nav .wp-block-navigation__responsive-container-open,
.vt-header .wp-block-navigation__responsive-container-open { display: none; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); align-items: center; justify-content: center; border-radius: var(--wp--custom--radius--icon-button); color: var(--wp--preset--color--contrast); background: transparent; border: 0; padding: 0; cursor: pointer; }
.vt-nav .wp-block-navigation__responsive-container-open:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.vt-nav .wp-block-navigation__responsive-container-open svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); }
@media (max-width: 1023px) {
	.vt-nav { order: 3; margin: 0; }
	.vt-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
	.vt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.vt-header .vt-tools { margin-left: auto; }
}
@media (max-width: 599px) {
	.vt-header { display: grid; grid-template-columns: var(--wp--custom--control--min) 1fr var(--wp--custom--control--min); }
	.vt-header .vt-nav { order: 0; grid-column: 1; }
	.vt-header .vt-brand { order: 1; grid-column: 2; justify-self: center; }
	.vt-header .vt-tools { order: 2; grid-column: 3; justify-self: end; }
	/* the cart is the only phone tool; on the cart and checkout pages WooCommerce hides it, so hide the empty pill too (keeps its grid cell) */
	.vt-header .vt-tools:has(.wc-block-mini-cart[aria-hidden="true"]) { visibility: hidden; }
}
@media (min-width: 1024px) {
	.vt-header { min-height: var(--wp--custom--layout--header-height) !important; }
}

/* ---------- header variants (design-system/content/layout.json header.style, tools/build-parts.py) ---------- */
/* inline: the same icon buttons without the glass pill */
.vt-tools.vt-tools--plain { background: none; border: 0; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* centered: logo in the middle and the tools on the right, the menu on its own row below (from 1024px) */
@media (min-width: 1024px) {
	.vt-header.vt-header--centered { display: grid !important; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". brand tools" "nav nav nav"; align-items: center; row-gap: var(--wp--preset--spacing--20); padding-block: var(--wp--preset--spacing--30); }
	.vt-header--centered .vt-brand { grid-area: brand; }
	.vt-header--centered .vt-tools { grid-area: tools; justify-self: end; }
	.vt-header--centered .vt-nav { grid-area: nav; justify-self: center; margin: 0; }
}

/* over the hero (layout.json header.over_hero): transparent while the page sits at the top of a hero that runs under
   the header (.vt-hero--under-header), solid once it scrolls (assets/js/hero-motion.js sets body.vt-is-scrolled).
   Only with JavaScript (html.vt-js, printed in the head), so without it the header simply stays solid. */
.vt-header-wrap--over-hero { transition: background-color var(--wp--custom--transition--base), color var(--wp--custom--transition--base), box-shadow var(--wp--custom--transition--base); }
html.vt-js body:not(.vt-is-scrolled):has(.vt-hero--under-header) .vt-header-wrap--over-hero { background-color: transparent !important; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.vt-js body:not(.vt-is-scrolled):has(.vt-hero--under-header.vt-hero--tone-dark) .vt-header-wrap--over-hero { color: var(--wp--preset--color--on-accent); }
html.vt-js body:not(.vt-is-scrolled):has(.vt-hero--under-header.vt-hero--tone-dark) .vt-header-wrap--over-hero .vt-tools--plain :is(.wp-block-search__button, .vt-tools__account a, .wc-block-mini-cart__button) { color: inherit; }

/* tools (Glass pill): search, account and cart as 44px icon buttons */
.vt-tools .wp-block-search { margin: 0; }
.vt-tools .wp-block-search__button, .vt-tools__account a, .vt-tools .wc-block-mini-cart__button {
	display: inline-grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); min-height: 0; padding: 0; margin: 0;
	border: 0; border-radius: var(--wp--custom--radius--icon-button); background: transparent; color: var(--wp--preset--color--contrast); box-shadow: none; cursor: pointer;
	transition: transform var(--wp--custom--transition--fast), background var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast);
}
.vt-tools .wp-block-search__button:hover, .vt-tools__account a:hover, .vt-tools .wc-block-mini-cart__button:hover { transform: translateY(-1px); background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.vt-tools .wp-block-search__button svg, .vt-tools__account svg, .vt-tools .wc-block-mini-cart__button svg { width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); min-width: 0; min-height: 0; }
.vt-tools__account { margin: 0; }
.vt-tools__account .wc-block-customer-account__avatar { display: none; }
.vt-tools__account .wc-block-customer-account__visual { display: grid; place-items: center; }
/* logged in, WooCommerce 11.3+ (owner 2026-11-25): the customer-account block renders only a gravatar (hidden above)
   and no <svg>, which left the control blank; draw the same line user icon so it matches the logged-out state */
.vt-tools__account .wc-block-customer-account__visual:has(.wc-block-customer-account__avatar)::after { content: ""; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); background: currentColor; -webkit-mask: url(../icons/wp/user.svg) center / contain no-repeat; mask: url(../icons/wp/user.svg) center / contain no-repeat; }
/* Focus ring inside each tool button: the pill (backdrop-filter, radius) would clip an outside ring. */
.vt-tools :where(.wp-block-search__button, .vt-tools__account a, .wc-block-mini-cart__button):focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: calc(-1 * var(--wp--custom--border--focus)); background: var(--wp--preset--color--surface); }
.vt-tools .wc-block-mini-cart__quantity-badge { position: relative; display: grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); }
/* WooCommerce's script copies the button colours into an inline style on the badge, so these two need !important. */
.vt-tools .wc-block-mini-cart__badge { position: absolute; top: calc(var(--wp--preset--spacing--20) / 2); right: calc(var(--wp--preset--spacing--20) / 2); left: auto; transform: none; min-width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); padding: 0 var(--wp--custom--border--strong); display: grid; place-items: center; box-sizing: border-box; border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--accent-1) !important; color: var(--wp--preset--color--on-accent) !important; font-size: var(--wp--preset--font-size--x-small); font-weight: var(--wp--custom--font-weight--black); line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 var(--wp--custom--border--strong) var(--wp--preset--color--surface); border: 0; pointer-events: none; }
.vt-tools .wc-block-mini-cart__amount { display: none; }

/* ---------- menu drawer (navigation overlay; the panel's look is in the part) ---------- */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--overlay); padding: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--preset--spacing--40)) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > * { display: block; height: auto; }
.vt-drawer { width: 100%; max-width: var(--wp--custom--layout--drawer); box-sizing: border-box; }
/* core's overlay rule sets display:block on the panel's children: keep the head a row */
.vt-drawer__head { display: flex !important; }
.vt-drawer .wp-block-navigation-overlay-close, .vt-drawer .wp-block-navigation__responsive-container-close { display: inline-grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); border: 0; border-radius: var(--wp--custom--radius--icon-button); background: transparent; color: var(--wp--preset--color--contrast); cursor: pointer; padding: 0; position: static; }
.vt-drawer .wp-block-navigation-overlay-close:hover { background: var(--wp--preset--color--accent-2); }
.vt-drawer__nav .wp-block-navigation__container { display: grid; width: 100%; gap: 0; }
.vt-drawer__nav .wp-block-navigation-item { display: block; border-bottom: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); }
.vt-drawer__nav .wp-block-navigation-item:last-child { border-bottom: 0; }
.vt-drawer__nav .wp-block-navigation-item__content { display: flex; align-items: center; justify-content: space-between; min-height: var(--wp--custom--control--min); padding: var(--wp--preset--spacing--20) 0; }
.vt-drawer__account a { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); }

/* ---------- mini cart drawer ---------- */
.wc-block-components-drawer__screen-overlay { background: var(--wp--preset--color--overlay); }
.wc-block-components-drawer__screen-overlay--is-hidden { visibility: hidden; transition: visibility 0s linear var(--wp--custom--transition--base); }
.wc-block-mini-cart__drawer.wc-block-components-drawer { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); border-radius: var(--wp--custom--radius--card) 0 0 var(--wp--custom--radius--card); box-shadow: var(--wp--preset--shadow--lg); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__content { background: var(--wp--preset--color--surface); }
.wc-block-mini-cart__title { margin: 0 !important; padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) 0 !important; font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large) !important; font-weight: var(--wp--custom--font-weight--black); letter-spacing: var(--wp--custom--letter-spacing--heading); display: flex; align-items: center; gap: var(--wp--preset--spacing--30); }
.wc-block-mini-cart__title .wc-block-mini-cart__title-items-counter, .wc-block-mini-cart__title [class*="items-counter"] { display: inline-grid; place-items: center; min-width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); padding: 0 var(--wp--preset--spacing--20); border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--accent-5); font-size: var(--wp--preset--font-size--x-small); font-weight: var(--wp--custom--font-weight--bold); }
.wc-block-components-drawer__close.wc-block-components-button { margin: 0 !important; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); min-height: 0; padding: 0; border: 0; border-radius: var(--wp--custom--radius--icon-button); background: transparent; color: var(--wp--preset--color--contrast); box-shadow: none; transform: none; }
.wc-block-components-drawer__close.wc-block-components-button:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); transform: none; }
.wc-block-components-drawer__close svg { width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); fill: currentColor; }
.wc-block-mini-cart__items { padding-inline: var(--wp--preset--spacing--40); }
.wc-block-mini-cart__footer { background: var(--wp--preset--color--base); border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); }
.wc-block-mini-cart__footer .wc-block-components-button, .wc-block-mini-cart__footer-checkout, .wc-block-mini-cart__footer-cart { min-height: var(--wp--custom--control--button-height); border-radius: var(--wp--custom--radius--button); font-weight: var(--wp--custom--font-weight--semibold); }
.wc-block-mini-cart__footer-checkout { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--on-contrast); border: var(--wp--custom--border--hairline) solid transparent; box-shadow: var(--wp--preset--shadow--cta); }
.wc-block-mini-cart__footer-cart { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); box-shadow: inset 0 0 0 var(--wp--custom--border--hairline) var(--wp--preset--color--border-strong); }
.wc-block-mini-cart__footer-checkout:hover { background: var(--wp--preset--color--accent-3); }
.wc-block-mini-cart__footer-cart:hover { background: var(--wp--preset--color--accent-5); }
.wc-block-mini-cart__empty-cart-wrapper { display: grid; justify-items: center; gap: var(--wp--preset--spacing--40); text-align: center; padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }


/* ---------- footer (colours, spacing and type are in the part) ---------- */
.vt-footer a { text-decoration: none; }
.vt-footer a:hover { text-decoration: underline; }
.vt-footer :where(a, button, [tabindex]):focus-visible { outline-color: var(--wp--preset--color--focus-inverse); }
.vt-footer .wp-block-column { min-width: 0; }
/* menu links: 44px tap rows */
.vt-footer .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); }
.vt-footer__bottom .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--on-accent); }
.vt-footer__bottom > * { margin: 0; }
/* social logos stay core brand marks: 44px round targets that invert on hover */
.vt-footer .wp-block-social-links { gap: var(--wp--preset--spacing--20); }
.vt-footer .wp-block-social-links .wp-social-link { background: transparent !important; color: var(--wp--preset--color--on-accent) !important; border-radius: var(--wp--custom--radius--icon-button); }
.vt-footer .wp-block-social-links .wp-social-link a { display: grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); padding: 0; color: inherit; }
.vt-footer .wp-block-social-links .wp-social-link a:hover, .vt-footer .wp-block-social-links .wp-social-link a:focus-visible { background: var(--wp--preset--color--on-accent); color: var(--wp--preset--color--accent-3) !important; text-decoration: none; border-radius: var(--wp--custom--radius--icon-button); }
.vt-footer .wp-block-social-links .wp-social-link a:hover svg, .vt-footer .wp-block-social-links .wp-social-link a:focus-visible svg { fill: var(--wp--preset--color--accent-3); }
.vt-footer .wp-block-social-links svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); }

/* ---------- search field (core/search with a visible field: 404, menu drawer) ---------- */
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: var(--wp--preset--spacing--20); min-height: var(--wp--custom--control--height); padding: 0 var(--wp--preset--spacing--20) 0 0; border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--button); background: var(--wp--preset--color--accent-5); box-sizing: border-box; max-width: 100%; }
.wp-block-search.wp-block-search__button-outside .wp-block-search__inside-wrapper { border: 0; padding: 0; background: transparent; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input { flex: 1; min-width: 0; min-height: var(--wp--custom--control--height); padding: 0 var(--wp--custom--control--input-padding-x); border: 0; border-radius: var(--wp--custom--radius--button); background: transparent; color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--medium); }
.wp-block-search.wp-block-search__button-outside .wp-block-search__input { border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--accent-5); }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input:focus { outline: 0; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__inside-wrapper:has(:focus-visible), .wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input:focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--border--focus-offset); background: var(--wp--preset--color--surface); }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button { display: inline-grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); min-height: 0; margin: 0; padding: 0; flex: none; border: 0; border-radius: var(--wp--custom--radius--button); background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--on-contrast); box-shadow: none; cursor: pointer; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button:hover { background: var(--wp--preset--color--accent-3); transform: none; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button svg { width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); fill: currentColor; }
.wp-block-search.wp-block-search__button-outside .wp-block-search__button { width: var(--wp--custom--control--height); height: var(--wp--custom--control--height); }

/* ---------- mini cart: buttons inside the drawer have no outer shadow (the drawer clips it) ---------- */
.wc-block-mini-cart__drawer .wp-block-button__link, .wc-block-mini-cart__drawer .wc-block-components-button:not(.wc-block-components-drawer__close) { box-shadow: none; }
.wc-block-mini-cart__empty-cart-wrapper { padding-bottom: var(--wp--preset--spacing--60); }
.wc-block-mini-cart__empty-cart-wrapper .wp-block-heading, .wc-block-mini-cart__empty-cart-wrapper h2 { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); font-weight: var(--wp--custom--font-weight--black); letter-spacing: var(--wp--custom--letter-spacing--heading); }

/* WooCommerce hides the mini cart on the cart and checkout pages with visibility; drop its slot so the icon bar stays balanced */
.vt-tools .wc-block-mini-cart[aria-hidden="true"] { display: none; }

/* drawer close: the theme button style adds the cta shadow, which the drawer edge clips */
.wc-block-components-drawer__close.wc-block-components-button { box-shadow: none !important; }
/* empty mini cart: same empty-state anatomy as the 404 and no-results cards (soft brand mark, black heading) */
.wc-block-mini-cart__empty-cart-wrapper::before { content: ""; display: block; width: var(--wp--custom--icon--xl); height: var(--wp--custom--icon--xl); border-radius: var(--wp--custom--radius--glass); background: var(--wp--preset--color--soft); }
.wc-block-mini-cart__empty-cart-wrapper::after { content: ""; position: absolute; left: 50%; top: calc(var(--wp--preset--spacing--60) + (var(--wp--custom--icon--xl) - var(--wp--custom--icon--lg)) / 2); width: var(--wp--custom--icon--lg); height: var(--wp--custom--icon--lg); transform: translateX(-50%); background: var(--wp--preset--color--contrast); -webkit-mask: var(--wp--custom--icon-url--brand-mark) center / contain no-repeat; mask: var(--wp--custom--icon-url--brand-mark) center / contain no-repeat; }
.wc-block-mini-cart__empty-cart-wrapper { position: relative; padding-block: var(--wp--preset--spacing--60) !important; }
.wc-block-mini-cart__empty-cart-wrapper > p:first-child, .wc-block-mini-cart__empty-cart-wrapper > p:first-of-type { margin: 0; font-size: var(--wp--preset--font-size--large); font-weight: var(--wp--custom--font-weight--black); letter-spacing: var(--wp--custom--letter-spacing--heading); color: var(--wp--preset--color--contrast); }
.wc-block-mini-cart__empty-cart-wrapper > p:first-of-type strong { font-weight: inherit; }

/* ---------- menu drawer, kit revision (kit: menu-drawer) ---------- */
/* head: brand left, close right (the phone header's brand order must not reach the drawer) */
.vt-drawer .vt-drawer__head .vt-brand { order: 0; }
.vt-drawer .vt-drawer__head .wp-block-navigation-overlay-close { order: 1; border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); }
.vt-drawer .vt-drawer__head .wp-block-navigation-overlay-close svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); fill: currentColor; }
/* search: one pill field with a leading magnifier (the submit button sits on the icon) */
.vt-drawer .wp-block-search__inside-wrapper { position: relative; display: flex; gap: 0; }
.vt-drawer .wp-block-search__input { width: 100%; padding-left: var(--wp--preset--spacing--70) !important; }
.vt-drawer .wp-block-search__button { position: absolute; left: var(--wp--preset--spacing--20); top: 50%; transform: translateY(-50%); width: var(--wp--custom--control--min); min-width: 0; min-height: var(--wp--custom--control--min) !important; height: var(--wp--custom--control--min); margin: 0; padding: 0 !important; display: grid; place-items: center; border-radius: var(--wp--custom--radius--badge) !important; background: transparent !important; color: var(--wp--preset--color--accent-4) !important; box-shadow: none !important; }
.vt-drawer .wp-block-search__button:hover { color: var(--wp--preset--color--contrast) !important; background: var(--wp--preset--color--accent-5) !important; }
.vt-drawer .wp-block-search__button svg { width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); fill: currentColor; }
/* links: large, hairline rows, chevron on the right, current page marked with the coral dot */
.vt-drawer__nav .wp-block-navigation-item__content::after { content: ""; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); flex: none; background: var(--wp--preset--color--accent-4); -webkit-mask: url(../icons/wp/caret-right.svg) center / contain no-repeat; mask: url(../icons/wp/caret-right.svg) center / contain no-repeat; transition: transform var(--wp--custom--transition--fast); }
.vt-drawer__nav .wp-block-navigation-item__content:hover::after { transform: translateX(3px); background: var(--wp--preset--color--contrast); }
.vt-drawer__nav .wp-block-navigation-item__content[aria-current="page"] .wp-block-navigation-item__label { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); }
.vt-drawer__nav .wp-block-navigation-item__content[aria-current="page"] .wp-block-navigation-item__label::before { content: ""; width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--signature); transform: scale(0.5); }
/* account: icon link on its own row above a hairline */
.vt-drawer__account a { gap: var(--wp--preset--spacing--30); color: var(--wp--preset--color--link); }
.vt-drawer__account a::before { content: ""; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); flex: none; background: currentColor; -webkit-mask: url(../icons/wp/user.svg) center / contain no-repeat; mask: url(../icons/wp/user.svg) center / contain no-repeat; }

/* ---------- cart lines, kit revision (kit: cart-line). Shared by the Cart page and the mini cart drawer ---------- */
.wc-block-cart-items .wc-block-cart-item__image { width: var(--wp--preset--spacing--80); padding-right: var(--wp--preset--spacing--40) !important; vertical-align: top; }
.wc-block-cart-items .wc-block-cart-item__image img:not([hidden]) { display: block; width: var(--wp--preset--spacing--80); max-width: none; aspect-ratio: var(--wp--custom--image--avatar); object-fit: cover; border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--accent-5); }
.wc-block-cart-items .wc-block-cart-item__wrap { display: flex; flex-direction: column; align-items: flex-start; gap: var(--wp--preset--spacing--20); }
.wc-block-cart-items .wc-block-cart-item__wrap > * { margin: 0 !important; }
.wc-block-cart-items a.wc-block-components-product-name { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--medium); font-weight: var(--wp--custom--font-weight--bold) !important; line-height: var(--wp--custom--line-height--snug); text-decoration: none; }
.wc-block-cart-items a.wc-block-components-product-name:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.wc-block-cart-items .wc-block-cart-item__prices { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--accent-4); }
.wc-block-cart-items .wc-block-cart-item__prices del { color: var(--wp--preset--color--accent-4); }
.wc-block-cart-items .wc-block-cart-item__prices ins { color: var(--wp--preset--color--sale); text-decoration: none; }
/* the short description is for the product page; the line keeps name, options and price */
.wc-block-cart-items .wc-block-components-product-metadata__description { display: none; }
/* chosen options as chips: "Weight 2 kg" */
.wc-block-cart-items .wc-block-components-product-metadata { margin: 0; }
.wc-block-cart-items .wc-block-components-product-details { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); margin: 0; padding: 0; list-style: none; }
.wc-block-cart-items .wc-block-components-product-details > :is(li, span) { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); min-height: var(--wp--custom--icon--lg); margin: 0; padding: 0 var(--wp--preset--spacing--30); border-radius: var(--wp--custom--radius--chip); background: var(--wp--preset--color--accent-5); color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--x-small); font-weight: var(--wp--custom--font-weight--bold); line-height: var(--wp--custom--line-height--heading); }
.wc-block-cart-items .wc-block-components-product-details__name { color: var(--wp--preset--color--accent-4); font-weight: var(--wp--custom--font-weight--semibold); }
.wc-block-cart-items .wc-block-components-product-details__name::after { content: ""; }
/* stock badges on a line: small status pills (low stock, backorder) */
.wc-block-cart-items .wc-block-components-product-badge:not(.wc-block-components-sale-badge) { display: inline-flex; align-items: center; min-height: var(--wp--custom--icon--md); padding: 0 var(--wp--preset--spacing--30); border: 0; border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--warning-surface); color: var(--wp--preset--color--warning); font-size: var(--wp--preset--font-size--x-small); font-weight: var(--wp--custom--font-weight--bold); text-transform: none; }
/* quantity and remove on one row; remove is a 44px round icon button */
.wc-block-cart-items .wc-block-cart-item__quantity { display: flex; align-items: center; gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--20) !important; }
.wc-block-cart-items .wc-block-cart-item__remove-link { display: inline-grid !important; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); min-height: 0; padding: 0; border: 0; border-radius: var(--wp--custom--radius--badge); background: transparent; color: var(--wp--preset--color--accent-4); cursor: pointer; text-decoration: none; transition: background var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast); }
.wc-block-cart-items .wc-block-cart-item__remove-link:hover { background: var(--wp--preset--color--error-surface); color: var(--wp--preset--color--error); }
.wc-block-cart-items .wc-block-cart-item__remove-link:focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: calc(-1 * var(--wp--custom--border--focus)); }
.wc-block-cart-items .wc-block-cart-item__remove-link svg { width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); fill: currentColor; }
.wc-block-cart-items .wc-block-cart-item__total { vertical-align: top; text-align: right; font-weight: var(--wp--custom--font-weight--bold); font-variant-numeric: tabular-nums; }
.wc-block-cart-items .wc-block-cart-item__total-price-and-sale-badge-wrapper { display: flex; flex-direction: column; align-items: flex-end; gap: var(--wp--preset--spacing--20); }

/* ---------- mini cart drawer, kit revision (kit: mini-cart) ---------- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { padding-right: calc(var(--wp--custom--control--min) + var(--wp--preset--spacing--50)) !important; min-height: var(--wp--custom--control--min); }
.wc-block-mini-cart__title [class*="items-counter"] { background: var(--wp--preset--color--contrast) !important; color: var(--wp--preset--color--on-contrast) !important; font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--x-small) !important; font-weight: var(--wp--custom--font-weight--bold) !important; letter-spacing: 0; opacity: 1; }
/* close: a clearly visible 44px icon button (hairline, tinted ground, 24px icon) */
.wc-block-mini-cart__drawer .wc-block-components-drawer__close.wc-block-components-button { top: var(--wp--preset--spacing--40); right: var(--wp--preset--spacing--40); border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--border-strong); background: var(--wp--preset--color--accent-5); color: var(--wp--preset--color--contrast); opacity: 1; }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close.wc-block-components-button:hover { background: var(--wp--preset--color--accent-2); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--border--focus-offset); }
/* lines: hairline between items, totals at the right */
.wc-block-mini-cart__drawer .wc-block-cart-items__row { padding-block: var(--wp--preset--spacing--40); border-bottom: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); }
.wc-block-mini-cart__drawer .wc-block-cart-items__row:last-child { border-bottom: 0; }
.wc-block-mini-cart__footer .wc-block-components-totals-item__label { font-weight: var(--wp--custom--font-weight--bold); }
.wc-block-mini-cart__footer .wc-block-components-totals-item__value { font-size: var(--wp--preset--font-size--large); font-weight: var(--wp--custom--font-weight--black); }

.wc-block-cart-items .wc-block-cart-item__image img[hidden], .wc-block-cart-items .wc-block-cart-item__image a[hidden] { display: none !important; }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close.wc-block-components-button { height: var(--wp--custom--control--min) !important; min-height: 0 !important; padding: 0 !important; display: grid; place-items: center; }

/* search with a field (404, no results, drawer): the pill is the only frame and the only focus ring */
.wp-block-search:not(.wp-block-search__button-only):not(.wp-block-search__button-outside) .wp-block-search__input,
.wp-block-search:not(.wp-block-search__button-only):not(.wp-block-search__button-outside) .wp-block-search__input:focus { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; min-height: var(--wp--custom--control--height) !important; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input:focus-visible { outline: 0 !important; }
.wp-block-search:not(.wp-block-search__button-only):not(.wp-block-search__button-outside) .wp-block-search__inside-wrapper { padding: 0 calc((var(--wp--custom--control--height) - var(--wp--custom--control--min)) / 2) 0 0; box-sizing: border-box; }
.wp-block-search:not(.wp-block-search__button-only):not(.wp-block-search__button-outside) .wp-block-search__inside-wrapper:focus-within { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--border--focus-offset); border-color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface); }
/* cart and mini cart lines: a compact 44px quantity pill (the 54px pill belongs to the buy box) */
.wc-block-cart-items .wc-block-components-quantity-selector { min-height: var(--wp--custom--control--min) !important; height: var(--wp--custom--control--min); width: auto !important; }
.wc-block-cart-items .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { width: calc(var(--wp--custom--control--min) - 2 * var(--wp--custom--border--hairline)); height: calc(var(--wp--custom--control--min) - 2 * var(--wp--custom--border--hairline)); margin: 0; }
.wc-block-cart-items .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { width: var(--wp--preset--spacing--50) !important; min-height: 0 !important; height: 100%; font-size: var(--wp--preset--font-size--small); }
/* line thumbnails: spacing-70 (up to 80px); spacing-80 grows to 112px and overflows WooCommerce's image column */
.wc-block-cart-items .wc-block-cart-item__image { width: var(--wp--preset--spacing--70); padding-right: 0 !important; }
.wc-block-cart-items .wc-block-cart-item__image img:not([hidden]) { width: 100%; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row { grid-template-columns: var(--wp--preset--spacing--70) minmax(0, 1fr) auto !important; column-gap: var(--wp--preset--spacing--40) !important; }
.wc-block-mini-cart__drawer .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 3; width: auto; }
.wc-block-cart .wc-block-cart-items .wc-block-cart-item__image { padding-right: var(--wp--preset--spacing--40) !important; box-sizing: content-box; }
/* mini cart title: WooCommerce fades it with a mask; the title stays solid */
.wc-block-mini-cart__title { -webkit-mask-image: none !important; mask-image: none !important; }
/* "Save 5.00": the badge is flex, which drops the space; also in the drawer */
.wc-block-components-sale-badge:not([hidden]) { display: inline-block !important; }

/* one page edge everywhere: TT5's fluid root padding (24 to 36px) becomes the store gutter, so pages built on the
   default templates (cart, checkout, account, content pages) line up with the header at every width */
body { --wp--style--root--padding-left: var(--wp--custom--layout--gutter-mobile); --wp--style--root--padding-right: var(--wp--custom--layout--gutter-mobile); }
@media (min-width: 782px) { body { --wp--style--root--padding-left: var(--wp--custom--layout--gutter); --wp--style--root--padding-right: var(--wp--custom--layout--gutter); } }

/* ---------- line badges, one size (cart, mini cart, checkout summary): 24px pills, text centred ---------- */
:is(.wc-block-cart-items, .wc-block-components-order-summary) .wc-block-components-product-details > :is(li, span),
:is(.wc-block-cart-items, .wc-block-components-order-summary) .wc-block-components-product-badge:not([hidden]) { display: inline-flex !important; align-items: center; box-sizing: border-box; height: var(--wp--custom--icon--md); min-height: 0 !important; margin: 0 !important; padding: 0 var(--wp--preset--spacing--30) !important; border: 0 !important; border-radius: var(--wp--custom--radius--badge) !important; font-size: var(--wp--preset--font-size--x-small) !important; font-weight: var(--wp--custom--font-weight--bold); line-height: var(--wp--custom--line-height--heading); letter-spacing: 0; text-transform: none; white-space: nowrap; column-gap: calc(var(--wp--preset--spacing--20) / 2); vertical-align: middle; }
:is(.wc-block-cart-items, .wc-block-components-order-summary) .wc-block-components-product-details > :is(li, span) { gap: var(--wp--preset--spacing--20); white-space: nowrap; background: var(--wp--preset--color--accent-5); }
:is(.wc-block-cart-items, .wc-block-components-order-summary) .wc-block-components-sale-badge:not([hidden]) { background: var(--wp--preset--color--sale-surface) !important; color: var(--wp--preset--color--sale) !important; }
.wc-block-components-order-summary .wc-block-components-product-details > :is(li, span) { background: var(--wp--preset--color--surface); }
/* backdrop-filter makes the header the containing block of position:fixed children, which would trap the menu overlay
   inside the 78px header: drop the blur while the menu is open */
.vt-header-wrap:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--wp--preset--color--base); }

/* ---------- Vuelta: inline header with a wide search and a category row (layout.json header.search "wide",
   tools/build-parts.py). Row 1 is the only sticky group; row 2 scrolls away by itself. Colours, borders and spacing
   are block attributes; kept here: the phone layout (search on its own line), the pill search, the menu button,
   the help link and the green "Ofertas" item. ---------- */
.vt-header-wrap--search { z-index: var(--wp--custom--z--sticky); }
.vt-header.vt-header--search { display: flex; align-items: center; column-gap: var(--wp--preset--spacing--30); row-gap: var(--wp--preset--spacing--20); padding-block: var(--wp--preset--spacing--20); }
.vt-header--search .vt-menu-toggle { order: 0; flex: none; }
.vt-header--search .vt-brand { order: 1; margin-right: auto; }
.vt-header--search .vt-tools { order: 2; margin-left: 0; }
.vt-header--search .vt-header-search { order: 3; flex: 1 0 100%; margin: 0; }
@media (max-width: 1023px) {
	/* phones and tablets: menu | logo centred | cart; search on its own row */
	.vt-header.vt-header--search { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
	.vt-header--search .vt-menu-toggle { grid-column: 1; justify-self: start; }
	.vt-header--search .vt-brand { grid-column: 2; justify-self: center; margin: 0; }
	.vt-header--search .vt-tools { grid-column: 3; justify-self: end; }
	.vt-header--search .vt-header-search { grid-column: 1 / -1; }
}
.vt-header .vt-menu-toggle .wp-block-navigation__responsive-container-open { display: flex; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); align-items: center; justify-content: center; margin-left: calc(-1 * var(--wp--preset--spacing--20)); border-radius: var(--wp--custom--radius--icon-button); color: var(--wp--preset--color--contrast); }
.vt-header .vt-menu-toggle .wp-block-navigation__responsive-container-open:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.vt-header .vt-menu-toggle .wp-block-navigation__responsive-container-open svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); }
@media (min-width: 1024px) {
	.vt-header.vt-header--search { flex-wrap: nowrap; padding-block: 0; column-gap: var(--wp--preset--spacing--50); }
	.vt-header--search .vt-brand { margin-right: 0; }
	.vt-header--search .vt-header-search { order: 2; flex: 1 1 auto; max-width: var(--wp--custom--layout--search); margin-inline: auto; }
	.vt-header--search .vt-tools { order: 3; }
}
/* the pill search: borderless accent-5 field, magnifier first, white with an ink ring on focus */
.vt-header-search .wp-block-search__inside-wrapper { min-height: var(--wp--custom--control--search-height) !important; border-color: transparent !important; border-radius: var(--wp--custom--radius--search) !important; background: var(--wp--preset--color--accent-5); padding: 0 var(--wp--preset--spacing--20) !important; }
.vt-header-search .wp-block-search__inside-wrapper:hover { background: var(--wp--preset--color--accent-6); }
.vt-header-search .wp-block-search__inside-wrapper:focus-within { background: var(--wp--preset--color--surface); border-color: var(--wp--preset--color--contrast) !important; }
.vt-header-search .wp-block-search__input { min-height: var(--wp--custom--control--search-height) !important; padding-inline: var(--wp--preset--spacing--20) !important; font-size: var(--wp--preset--font-size--small) !important; }
.vt-header-search .wp-block-search__input::placeholder { color: var(--wp--preset--color--accent-4); opacity: 1; }
.vt-header-search .wp-block-search__button { order: -1; width: var(--wp--custom--control--min) !important; height: var(--wp--custom--control--min) !important; background: transparent !important; color: var(--wp--preset--color--contrast) !important; border-radius: var(--wp--custom--radius--badge) !important; }
.vt-header-search .wp-block-search__button:hover { background: var(--wp--preset--color--accent-6) !important; }
/* help link: text button, 44px tall */
.vt-help-link { margin: 0; white-space: nowrap; }
.vt-help-link a { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); min-height: var(--wp--custom--control--min); padding-inline: var(--wp--preset--spacing--30); border-radius: var(--wp--custom--radius--button); color: var(--wp--preset--color--contrast); text-decoration: none; }
.vt-help-link a::before { content: ""; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); flex: none; background: currentColor; -webkit-mask: var(--wp--custom--icon-url--question) center / contain no-repeat; mask: var(--wp--custom--icon-url--question) center / contain no-repeat; }
.vt-help-link a:hover { background: var(--wp--preset--color--accent-5); }
/* row 2: the category menu, centered; "Ofertas" (first item) in the accent with the lightning mark */
.vt-navrow .vt-nav--row { margin: 0 auto; min-height: var(--wp--custom--layout--nav-row); }
.vt-nav--row .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); padding-block: 0 !important; font-weight: var(--wp--custom--font-weight--medium); }
.vt-nav--row .wp-block-navigation-item:first-child > .wp-block-navigation-item__content { gap: var(--wp--preset--spacing--20); color: var(--wp--preset--color--accent-1); font-weight: var(--wp--custom--font-weight--semibold); }
.vt-nav--row .wp-block-navigation-item:first-child > .wp-block-navigation-item__content::before { content: ""; width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); flex: none; background: currentColor; -webkit-mask: var(--wp--custom--icon-url--lightning) center / contain no-repeat; mask: var(--wp--custom--icon-url--lightning) center / contain no-repeat; }
/* WooCommerce hides the badge of an empty cart with [hidden]; the badge's display: grid above would show a "0" */
.vt-tools .wc-block-mini-cart__badge[hidden] { display: none; }
/* drawer search: the text starts after the 44px magnifier button */
.vt-drawer .wp-block-search__input { padding-left: calc(var(--wp--preset--spacing--20) + var(--wp--custom--control--min)) !important; }
/* Brand badge backstop: the Site Editor prints the variation's colours but not its css (size and padding), so the
   mint circle would shrink to the icon in the editor. Same values as styles/icon-badge.json. */
.wp-block-icon.is-style-badge svg { width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); padding: calc((var(--wp--custom--control--min) - var(--wp--custom--icon--md)) / 2); box-sizing: border-box; flex: none; }
/* editor parity: the page frame rule above (.wp-site-blocks > * + *) has no twin in the Site Editor, where the header's
   three top-level groups would sit apart by the root block gap */
.editor-styles-wrapper .is-root-container > :is(.vt-header-wrap--search, .vt-navrow) { margin-block-start: 0; }

/* ---------- category mega menu (blocks/mega-menu, header row 2): the row keeps the menu's look; a category with
   sub-categories opens a full-width panel on hover or keyboard focus (CSS only; view.js adds Escape) ---------- */
.vt-navrow { position: relative; }
.vt-mega { margin: 0 auto; }
.vt-mega__list { display: flex; justify-content: center; align-items: stretch; gap: var(--wp--preset--spacing--50); min-height: var(--wp--custom--layout--nav-row); margin: 0; padding: 0; list-style: none; }
/* the 20px links need less room between items on narrower desktops so the ten categories stay on one row (owner 2026-11-25) */
@media (max-width: 1240px) { .vt-mega__list { gap: var(--wp--preset--spacing--40); } }
@media (max-width: 1120px) { .vt-mega__list { gap: var(--wp--preset--spacing--30); } }
.vt-mega__item { display: flex; align-items: center; }
.vt-mega__link { display: inline-flex; align-items: center; gap: var(--wp--preset--spacing--20); min-height: var(--wp--custom--control--min); color: var(--wp--preset--color--contrast); font-size: 20px; font-weight: var(--wp--custom--font-weight--medium); text-decoration: none; } /* owner 2026-11-25: 20px nav links */
.vt-mega__item.has-panel:is(:hover, :focus-within):not(.is-dismissed) > .vt-mega__link, .vt-mega__link:hover { color: var(--wp--preset--color--accent-1); text-decoration: underline; text-underline-offset: var(--wp--custom--border--focus-offset); }
.vt-mega__item--deals > .vt-mega__link { color: var(--wp--preset--color--accent-1); font-weight: var(--wp--custom--font-weight--semibold); }
.vt-mega__item--deals > .vt-mega__link::before { content: ""; width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); flex: none; background: currentColor; -webkit-mask: var(--wp--custom--icon-url--lightning) center / contain no-repeat; mask: var(--wp--custom--icon-url--lightning) center / contain no-repeat; }
/* the panel: under the whole row, the store's wide width inside; a short delay so passing over the row opens nothing */
.vt-mega__panel { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--wp--custom--z--overlay); visibility: hidden; opacity: 0; translate: 0 calc(var(--wp--custom--motion--rise) / -4); border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); background: var(--wp--preset--color--surface); box-shadow: var(--wp--preset--shadow--lg); transition: opacity var(--wp--custom--transition--fast), translate var(--wp--custom--transition--fast), visibility 0s linear var(--wp--custom--transition--fast); }
.vt-mega__item.has-panel:is(:hover, :focus-within):not(.is-dismissed) > .vt-mega__panel { visibility: visible; opacity: 1; translate: 0 0; transition-delay: var(--wp--custom--transition--reveal-step), var(--wp--custom--transition--reveal-step), 0s; }
.vt-mega__inner { display: grid; grid-template-columns: var(--wp--custom--layout--sidebar) minmax(0, 1fr); gap: var(--wp--preset--spacing--50); max-width: var(--wp--custom--layout--wide); margin: 0 auto; padding: var(--wp--preset--spacing--50) var(--wp--custom--layout--gutter); }
.vt-mega__inner:not(:has(.vt-mega__aside)) { grid-template-columns: minmax(0, 1fr); }
.vt-mega__aside { padding-right: var(--wp--preset--spacing--50); border-right: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); }
.vt-mega__promo { display: flex; align-items: flex-start; gap: var(--wp--preset--spacing--30); padding: var(--wp--preset--spacing--30); border-radius: var(--wp--custom--radius--input); color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.vt-mega__promo:hover { background: var(--wp--preset--color--accent-5); }
.vt-mega__promo > span:last-child { display: grid; gap: calc(var(--wp--preset--spacing--20) / 2); color: var(--wp--preset--color--accent-4); }
.vt-mega__promo strong { color: var(--wp--preset--color--contrast); }
.vt-mega__promo-mark { flex: none; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--accent-5) var(--wp--custom--icon-url--seal-check) center / var(--wp--custom--icon--md) no-repeat; }
.vt-mega__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--wp--preset--spacing--30); }
.vt-mega__title { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.vt-mega__all { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.vt-mega__cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); margin: 0; padding: 0; list-style: none; }
.vt-mega__card a { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--20); color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-decoration: none; }
.vt-mega__media { display: grid; place-items: center; aspect-ratio: var(--wp--custom--image--article); border-radius: var(--wp--custom--radius--card); overflow: clip; }
.vt-mega__media img { width: 80%; height: 80%; object-fit: contain; transition: transform var(--wp--custom--transition--base); }
.vt-mega__card a:hover .vt-mega__media img { transform: scale(var(--wp--custom--motion--zoom)); }
.vt-mega__card a:hover .vt-mega__name { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .vt-mega__panel, .vt-mega__item.has-panel:is(:hover, :focus-within) > .vt-mega__panel { transition: none; translate: none; } .vt-mega__media img { transition: none; } }

/* ---------- live search (assets/js/search.js): results under the product search field ---------- */
.vt-live-search { position: relative; }
.vt-live { position: absolute; top: calc(100% + var(--wp--preset--spacing--20)); left: 0; right: 0; z-index: var(--wp--custom--z--overlay); max-height: 70vh; overflow-y: auto; padding: var(--wp--preset--spacing--20); border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface); box-shadow: var(--wp--preset--shadow--lg); text-align: left; }
.vt-live[hidden] { display: none; }
.vt-live__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.vt-live__item { display: grid; grid-template-columns: var(--wp--custom--icon--xl) minmax(0, 1fr) auto; align-items: center; gap: var(--wp--preset--spacing--30); min-height: var(--wp--custom--control--min); padding: var(--wp--preset--spacing--20); border-radius: var(--wp--custom--radius--input); color: var(--wp--preset--color--contrast); text-decoration: none; }
.vt-live__item:hover, .vt-live__item:focus-visible { background: var(--wp--preset--color--accent-5); }
.vt-live__item img, .vt-live__ph { width: var(--wp--custom--icon--xl); height: var(--wp--custom--icon--xl); object-fit: contain; border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--accent-5); }
.vt-live__name { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-live__price { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--bold); white-space: nowrap; }
.vt-live__all { display: flex; align-items: center; min-height: var(--wp--custom--control--min); margin-top: var(--wp--preset--spacing--20); padding: 0 var(--wp--preset--spacing--30); border-top: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); color: var(--wp--preset--color--link); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.vt-live__empty { margin: 0; padding: var(--wp--preset--spacing--30); color: var(--wp--preset--color--accent-4); font-size: var(--wp--preset--font-size--small); }
/* the field shows a busy state while a request runs */
.vt-live-search.is-searching .wp-block-search__inside-wrapper { cursor: progress; }

/* Renova Media Pack logo (brand group): the Site Logo on light grounds, the light image in the footer */
.vt-brand .vt-brand__logo { margin: 0; line-height: 0; }
.vt-brand .wp-block-site-logo.vt-brand__logo img { width: clamp(112px, 30vw, 150px); height: auto; }
.vt-brand .vt-brand__logo img { height: auto; }

/* ---------- floating WhatsApp button (inc/whatsapp.php, owner 2026-11-25) ----------
   bottom right on every page, above the content and below menus and dialogs; the store's success green (white icon
   at 6:1, WhatsApp's own lighter green would fail contrast); the logo is the collection's whatsapp-logo-fill */
.vt-whatsapp { position: fixed; right: var(--wp--preset--spacing--40); bottom: calc(var(--wp--preset--spacing--40) + env(safe-area-inset-bottom, 0px)); z-index: var(--wp--custom--z--sticky); display: grid; place-items: center; width: calc(var(--wp--custom--control--min) + var(--wp--preset--spacing--30)); aspect-ratio: 1; border-radius: var(--wp--custom--radius--icon-button); background: var(--wp--preset--color--success); color: var(--wp--preset--color--on-accent); box-shadow: var(--wp--preset--shadow--lg); text-decoration: none; transition: transform var(--wp--custom--transition--fast), box-shadow var(--wp--custom--transition--fast); }
.vt-whatsapp:hover { transform: translateY(var(--wp--custom--motion--lift)); }
.vt-whatsapp__icon { width: var(--wp--custom--icon--lg); height: var(--wp--custom--icon--lg); background: currentColor; -webkit-mask: var(--wp--custom--icon-url--whatsapp-logo-fill) center / contain no-repeat; mask: var(--wp--custom--icon-url--whatsapp-logo-fill) center / contain no-repeat; }
@media (min-width: 782px) { .vt-whatsapp { right: var(--wp--preset--spacing--50); bottom: calc(var(--wp--preset--spacing--50) + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .vt-whatsapp { transition: none; } .vt-whatsapp:hover { transform: none; } }
@media print { .vt-whatsapp { display: none; } }

/* ---------- sign-up popup (inc/signup-popup.php, assets/js/signup-popup.js; owner 2026-11-25) ----------
   a native modal <dialog>: centred card on the store's overlay; enters with opacity and a small rise, nothing moves
   under reduced motion. The dialog has no padding so a click on it is a click on the backdrop. */
.vt-signup { width: min(100% - 2 * var(--wp--preset--spacing--40), var(--wp--custom--layout--form-card)); max-width: none; padding: 0; border: 0; border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); box-shadow: var(--wp--preset--shadow--lg); }
.vt-signup::backdrop { background: var(--wp--preset--color--overlay); }
.vt-signup:focus { outline: none; } /* focused itself on open (signup-popup.js), so no control shows a ring before Tab */
.vt-signup__box { position: relative; display: grid; justify-items: center; gap: var(--wp--preset--spacing--30); padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50); text-align: center; }
.vt-signup__icon { display: grid; place-items: center; width: calc(var(--wp--custom--icon--xl) + var(--wp--preset--spacing--40)); aspect-ratio: 1; border-radius: var(--wp--custom--radius--icon-button); background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1); }
.vt-signup__icon::before { content: ""; width: var(--wp--custom--icon--lg); height: var(--wp--custom--icon--lg); background: currentColor; -webkit-mask: var(--wp--custom--icon-url--user) center / contain no-repeat; mask: var(--wp--custom--icon-url--user) center / contain no-repeat; }
.vt-signup__title { margin: 0; font-size: var(--wp--preset--font-size--x-large); line-height: var(--wp--custom--line-height--heading); }
.vt-signup__text { margin: 0; color: var(--wp--preset--color--accent-4); }
.vt-signup__actions { display: grid; gap: var(--wp--preset--spacing--20); width: 100%; margin-top: var(--wp--preset--spacing--30); }
.vt-signup__cta { display: flex; align-items: center; justify-content: center; min-height: var(--wp--custom--control--button-height); text-decoration: none; }
.vt-signup__later { min-height: var(--wp--custom--control--min); padding: 0 var(--wp--preset--spacing--40); border: 0; background: none; color: var(--wp--preset--color--accent-4); font: inherit; font-weight: var(--wp--custom--font-weight--semibold); cursor: pointer; }
.vt-signup__later:hover { color: var(--wp--preset--color--contrast); text-decoration: underline; }
.vt-signup__close { position: absolute; top: var(--wp--preset--spacing--20); right: var(--wp--preset--spacing--20); display: grid; place-items: center; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); padding: 0; border: 0; border-radius: var(--wp--custom--radius--icon-button); background: none; color: var(--wp--preset--color--accent-4); cursor: pointer; }
.vt-signup__close::before { content: ""; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); background: currentColor; -webkit-mask: var(--wp--custom--icon-url--x) center / contain no-repeat; mask: var(--wp--custom--icon-url--x) center / contain no-repeat; }
.vt-signup__close:hover { background: var(--wp--preset--color--accent-5); color: var(--wp--preset--color--contrast); }
@media (prefers-reduced-motion: no-preference) {
	.vt-signup[open] { animation: vt-signup-in var(--wp--custom--transition--base) both; }
	.vt-signup[open]::backdrop { animation: vt-signup-fade var(--wp--custom--transition--base) both; }
}
@keyframes vt-signup-in { from { opacity: 0; translate: 0 var(--wp--custom--motion--rise); } }
@keyframes vt-signup-fade { from { opacity: 0; } }
/* the popup's link lands on the register column: its heading and card top clear the sticky header */
.vt-anchor { display: block; scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--layout--header-height) + var(--wp--preset--spacing--80) + var(--wp--preset--spacing--60)); }
