/* Minao 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(> .mn-header-wrap) { display: contents; }
.mn-header-wrap { z-index: var(--wp--custom--z--sticky); }
/* the brand group is one link: the title link stretches over the badge */
.mn-brand { position: relative; flex: none; }
.mn-brand .wp-block-site-title { margin: 0; }
.mn-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) */
.mn-nav { margin-right: auto; margin-left: var(--wp--preset--spacing--50); }
.mn-nav .wp-block-navigation-item__content { position: relative; padding: var(--wp--preset--spacing--30) 0; }
/* the underline grows from the left edge with scale (transform, not the layout property right; motion review 2026-11-13) */
.mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; 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); transform-origin: left; scale: 0 1; transition: scale var(--wp--custom--transition--base); }
.mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover::after,
.mn-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after { scale: 1 1; }
.mn-nav .wp-block-navigation__responsive-container-open,
.mn-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; }
.mn-nav .wp-block-navigation__responsive-container-open:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.mn-nav .wp-block-navigation__responsive-container-open svg { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); }
@media (max-width: 1023px) {
	.mn-nav { order: 3; margin: 0; }
	.mn-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
	.mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.mn-header .mn-tools { margin-left: auto; }
}
@media (max-width: 599px) {
	.mn-header { display: grid; grid-template-columns: var(--wp--custom--control--min) 1fr var(--wp--custom--control--min); }
	.mn-header .mn-nav { order: 0; grid-column: 1; }
	.mn-header .mn-brand { order: 1; grid-column: 2; justify-self: center; }
	.mn-header .mn-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) */
	.mn-header .mn-tools:has(.wc-block-mini-cart[aria-hidden="true"]) { visibility: hidden; }
}
@media (min-width: 1024px) {
	.mn-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 */
.mn-tools.mn-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) {
	.mn-header.mn-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); }
	.mn-header--centered .mn-brand { grid-area: brand; }
	.mn-header--centered .mn-tools { grid-area: tools; justify-self: end; }
	.mn-header--centered .mn-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 (.mn-hero--under-header), solid once it scrolls (assets/js/hero-motion.js sets body.mn-is-scrolled).
   Only with JavaScript (html.mn-js, printed in the head), so without it the header simply stays solid. */
.mn-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.mn-js body:not(.mn-is-scrolled):has(.mn-hero--under-header) .mn-header-wrap--over-hero { background-color: transparent !important; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.mn-js body:not(.mn-is-scrolled):has(.mn-hero--under-header.mn-hero--tone-dark) .mn-header-wrap--over-hero { color: var(--wp--preset--color--on-accent); }
html.mn-js body:not(.mn-is-scrolled):has(.mn-hero--under-header.mn-hero--tone-dark) .mn-header-wrap--over-hero .mn-tools--plain :is(.wp-block-search__button, .mn-tools__account a, .wc-block-mini-cart__button) { color: inherit; }

/* tools (Glass pill): search, account and cart as 44px icon buttons */
.mn-tools .wp-block-search { margin: 0; }
.mn-tools .wp-block-search__button, .mn-tools__account a, .mn-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);
}
@media (hover: hover) and (pointer: fine) {
	.mn-tools .wp-block-search__button:hover, .mn-tools__account a:hover, .mn-tools .wc-block-mini-cart__button:hover { transform: translateY(-1px); }
}
.mn-tools .wp-block-search__button:hover, .mn-tools__account a:hover, .mn-tools .wc-block-mini-cart__button:hover { background:var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.mn-tools .wp-block-search__button svg, .mn-tools__account svg, .mn-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; }
.mn-tools__account { margin: 0; }
.mn-tools__account .wc-block-customer-account__avatar { display: none; }
.mn-tools__account .wc-block-customer-account__visual { display: grid; place-items: center; }
/* Focus ring inside each tool button: the pill (backdrop-filter, radius) would clip an outside ring. */
.mn-tools :where(.wp-block-search__button, .mn-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); }
.mn-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. */
.mn-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; }
.mn-tools .wc-block-mini-cart__amount { display: none; }


/* ---------- Minao: the solid cocoa bar (layout.json header inline, not over the hero) ----------
   Colours are block attributes in the part (backgroundColor primary, textColor on-accent); kept here: the logo
   size, the text account link, the cream icon controls and focus rings on cocoa, the submenu panel, and which tools
   show below 1024px (phones: menu, logo, cart). */
.mn-brand--logo { margin: 0; line-height: 0; }
.mn-brand--logo a { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); }
.mn-brand--logo img { display: block; width: auto !important; height: var(--wp--custom--layout--logo-height-mobile) !important; max-width: none; border-radius: 0; }
@media (min-width: 1024px) { .mn-brand--logo img { height: var(--wp--custom--layout--logo-height) !important; } }
/* the menu sits right, next to the tools, from 1024px; below, the phone order (menu, logo, cart) applies */
/* the gap before Mon compte is the menu's own gap (spacing 60): Mon compte reads as the fourth menu item */
@media (min-width: 1024px) {
	.mn-header-wrap--inline .mn-nav { margin-left: auto; margin-right: 0; } /* the bar row gap (layout.header-gap) separates the menu from the tools */
	/* core adds a gap and a list margin after the last link; the header row's own gap (spacing 40) and the margin above make up the 60 */
	.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container-content { gap: 0; }
	.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container { margin-right: 0; gap: var(--wp--custom--layout--header-gap); } /* core's list inherits the gap zeroed above; the same gap as the tools (layout.header-gap) */
}
/* the submenu toggle: a 44px target around a 16px caret, centred on the label's line; the negative margins keep the
   caret next to the label and the link spacing unchanged (the svg itself keeps the icon size, never the button size) */
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-item.has-child { align-items: center; }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-submenu__toggle { display: inline-grid; place-items: center; flex: none; width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); margin: 0 calc(var(--wp--preset--spacing--30) * -1) 0 calc(var(--wp--preset--spacing--20) * -1); padding: 0; background: transparent; color: inherit; }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-submenu__toggle svg { width: var(--wp--custom--icon--xs) !important; height: var(--wp--custom--icon--xs) !important; margin: 0; transition: transform var(--wp--custom--transition--fast); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-item.has-child:is(:hover, :focus-within) .wp-block-navigation-submenu__toggle svg,
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-submenu__toggle:focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus-inverse); outline-offset: calc(-1 * var(--wp--custom--border--focus)); border-radius: var(--wp--custom--radius--icon-button); }
.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after { background: var(--wp--preset--color--signature-2); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--signature-2); }
/* the submenus of Nos litières and of the language choice: a white panel with ink text, like the drawer */
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation__submenu-container { min-width: var(--wp--custom--layout--sidebar); padding: var(--wp--preset--spacing--20); border: 0 !important; border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface) !important; color: var(--wp--preset--color--contrast) !important; box-shadow: var(--wp--preset--shadow--md); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex; align-items: center; min-height: var(--wp--custom--control--min); padding: 0 var(--wp--preset--spacing--30); border-radius: var(--wp--custom--radius--input); color: var(--wp--preset--color--contrast); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--accent-1-strong); }
.mn-header-wrap--inline :is(.mn-nav, .mn-lang) .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.mn-header-wrap--inline .wp-block-navigation__submenu-icon { color: inherit; }
/* cream controls on cocoa */
.mn-header-wrap--inline :is(.mn-tools .wc-block-mini-cart__button, .wp-block-navigation__responsive-container-open) { color: var(--wp--preset--color--on-accent); }
.mn-header-wrap--inline :is(.mn-tools .wc-block-mini-cart__button, .wp-block-navigation__responsive-container-open):hover { background: var(--wp--preset--color--primary-strong); color: var(--wp--preset--color--on-accent); }
.mn-header-wrap--inline .mn-tools .wc-block-mini-cart__badge { box-shadow: 0 0 0 var(--wp--custom--border--strong) var(--wp--preset--color--primary); }
/* same type as the menu links (theme.json core/navigation: font-size small, semibold), no side padding */
.mn-header-wrap--inline .mn-tools__account a { width: auto; padding: 0; color: var(--wp--preset--color--on-accent); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); white-space: nowrap; }
.mn-header-wrap--inline .mn-tools__account a:hover { background: transparent; color: var(--wp--preset--color--signature-2); transform: none; }
.mn-header-wrap--inline .mn-tools__account svg { display: none; }
.mn-header-wrap--inline :is(a, button):focus-visible,
.mn-header-wrap--inline .mn-tools :where(.mn-tools__account a, .wc-block-mini-cart__button):focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus-inverse); outline-offset: var(--wp--custom--border--focus-offset); background: transparent; }
/* Mon compte / Se connecter: the menu's green underline on hover and on the current page */
.mn-header-wrap--inline .mn-tools__account a { position: relative; }
.mn-header-wrap--inline .mn-tools__account a::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--wp--preset--spacing--20); height: var(--wp--custom--border--strong); border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--signature-2); transform-origin: left; scale: 0 1; transition: scale var(--wp--custom--transition--base); }
.mn-header-wrap--inline .mn-tools__account a:is(:hover, :focus-visible)::after, body.woocommerce-account .mn-header-wrap--inline .mn-tools__account a::after { scale: 1 1; }
/* the language choice (menu "lang"): FR with a caret, the other languages in the white submenu; from 1024px only,
   the phone menu lists them in a row (menu "lang-list") */
.mn-lang { margin: 0; font-size: var(--wp--preset--font-size--small); }
.mn-lang .wp-block-navigation-item__content { position: relative; display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); padding: 0; }
.mn-header-wrap--inline .mn-lang > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--wp--preset--spacing--20); height: var(--wp--custom--border--strong); border-radius: var(--wp--custom--radius--badge); background: var(--wp--preset--color--signature-2); transform-origin: left; scale: 0 1; transition: scale var(--wp--custom--transition--base); }
.mn-header-wrap--inline .mn-lang > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after { scale: 1 1; }
.mn-header-wrap--inline .mn-lang .wp-block-navigation__submenu-container { min-width: 0; left: auto; right: 0; }
/* it opens on click (block attribute submenuVisibility "click"): "FR" is one button, the caret core prints after it
   sits inside its padding, so label and caret are a single target of at least 44px */
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle { display: inline-flex; align-items: center; width: auto; min-width: var(--wp--custom--control--min); height: var(--wp--custom--control--min); margin: 0; padding: 0 calc(var(--wp--custom--icon--xs) + var(--wp--preset--spacing--20)) 0 0; font: inherit; color: inherit; cursor: pointer; }
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle::after { right: calc(var(--wp--custom--icon--xs) + var(--wp--preset--spacing--20)); }
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle:hover::after { scale: 1 1; }
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation__submenu-icon { display: inline-grid; place-items: center; width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); margin: 0 0 0 calc(var(--wp--custom--icon--xs) * -1); padding: 0; pointer-events: none; }
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation__submenu-icon svg { width: var(--wp--custom--icon--xs) !important; height: var(--wp--custom--icon--xs) !important; margin: 0; transition: transform var(--wp--custom--transition--fast); }
.mn-header-wrap--inline .mn-lang .open-on-click > [aria-expanded="true"] + .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
/* the globe before "FR" (Phosphor globe-simple from the collection, decorative: the button's name stays "FR"); the
   hover underline starts under the label, not under the globe */
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle::before { content: ""; flex: none; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); margin-right: var(--wp--preset--spacing--20); background: currentColor; -webkit-mask: var(--wp--custom--icon-url--globe-simple) center / contain no-repeat; mask: var(--wp--custom--icon-url--globe-simple) center / contain no-repeat; }
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle::after { left: calc(var(--wp--custom--icon--sm) + var(--wp--preset--spacing--20)); }
@media (max-width: 1023px) {
	.mn-header-wrap--inline .mn-lang { display: none !important; }
}
.mn-drawer__lang .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); min-width: var(--wp--custom--control--min); color: var(--wp--preset--color--accent-4); }
.mn-drawer__lang .wp-block-navigation-item:first-child .wp-block-navigation-item__content { color: var(--wp--preset--color--contrast); }
/* the same globe opens the phone menu's language row (decorative) */
.mn-drawer__lang .wp-block-navigation__container::before { content: ""; flex: none; align-self: center; width: var(--wp--custom--icon--sm); height: var(--wp--custom--icon--sm); background: var(--wp--preset--color--accent-4); -webkit-mask: var(--wp--custom--icon-url--globe-simple) center / contain no-repeat; mask: var(--wp--custom--icon-url--globe-simple) center / contain no-repeat; }
.mn-tools__cta { margin: 0; }
/* one line: the pill and the tools never wrap or shrink (the bar keeps its 87px) */
.mn-tools__cta .wp-block-button__link { white-space: nowrap; }
.mn-header-wrap--inline .mn-tools { flex-shrink: 0; }
@media (max-width: 1023px) {
	.mn-header-wrap--inline :is(.mn-tools__account, .mn-tools__cta) { display: none !important; }
}

/* ---------- 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; }
.mn-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 */
.mn-drawer__head { display: flex !important; }
.mn-drawer .wp-block-navigation-overlay-close, .mn-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; }
.mn-drawer .wp-block-navigation-overlay-close:hover { background: var(--wp--preset--color--accent-2); }
.mn-drawer__nav .wp-block-navigation__container { display: grid; width: 100%; gap: 0; }
.mn-drawer__nav .wp-block-navigation-item { display: block; border-bottom: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); }
.mn-drawer__nav .wp-block-navigation-item:last-child { border-bottom: 0; }
.mn-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; }
.mn-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); }
/* drawer and backdrop on one clock (motion review 2026-11-13): WooCommerce's 300ms default ease, linear backdrop and
   equal exit are retimed: in on ease.out, out 30 % faster on ease.in, the backdrop hidden when the drawer is gone.
   WooCommerce's own reduced-motion rule (animation and transition none) still wins. */
.wc-block-components-drawer__screen-overlay--with-slide-in,
.wc-block-components-drawer__screen-overlay--with-slide-in .wc-block-components-drawer { animation-duration: var(--wp--custom--duration--drawer-in); animation-timing-function: var(--wp--custom--ease--out); }
.wc-block-components-drawer__screen-overlay--with-slide-out,
.wc-block-components-drawer__screen-overlay--with-slide-out .wc-block-components-drawer { transition-duration: var(--wp--custom--duration--drawer-out); transition-timing-function: var(--wp--custom--ease--in); }
.wc-block-components-drawer__screen-overlay--is-hidden { visibility: hidden; transition: opacity var(--wp--custom--duration--drawer-out) var(--wp--custom--ease--in), visibility 0s linear var(--wp--custom--duration--drawer-out); }
.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--primary); color: var(--wp--preset--color--on-accent); 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--primary-strong); }
.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) ---------- */
.mn-footer a { text-decoration: none; }
.mn-footer a:hover { text-decoration: underline; }
.mn-footer :where(a, button, [tabindex]):focus-visible { outline-color: var(--wp--preset--color--focus-inverse); }
.mn-footer .wp-block-column { min-width: 0; }
/* menu links: 44px tap rows */
.mn-footer .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); }
.mn-footer__bottom .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--on-accent); }
.mn-footer__bottom > * { margin: 0; }
/* social logos stay core brand marks: 44px round targets that invert on hover */
.mn-footer .wp-block-social-links { gap: var(--wp--preset--spacing--20); }
.mn-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); }
.mn-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; }
.mn-footer .wp-block-social-links .wp-social-link a:hover, .mn-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); }
.mn-footer .wp-block-social-links .wp-social-link a:hover svg, .mn-footer .wp-block-social-links .wp-social-link a:focus-visible svg { fill: var(--wp--preset--color--accent-3); }
.mn-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--primary); color: var(--wp--preset--color--on-accent); box-shadow: none; cursor: pointer; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__button:hover { background: var(--wp--preset--color--primary-strong); 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 */
.mn-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) */
.mn-drawer .mn-drawer__head .mn-brand { order: 0; }
.mn-drawer .mn-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); }
.mn-drawer .mn-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) */
.mn-drawer .wp-block-search__inside-wrapper { position: relative; display: flex; gap: 0; }
.mn-drawer .wp-block-search__input { width: 100%; padding-left: var(--wp--preset--spacing--70) !important; }
.mn-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; }
.mn-drawer .wp-block-search__button:hover { color: var(--wp--preset--color--contrast) !important; background: var(--wp--preset--color--accent-5) !important; }
.mn-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 */
.mn-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); }
.mn-drawer__nav .wp-block-navigation-item__content:hover::after { background: var(--wp--preset--color--contrast); }
@media (hover: hover) and (pointer: fine) { .mn-drawer__nav .wp-block-navigation-item__content:hover::after { transform: translateX(3px); } }
.mn-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); }
.mn-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 */
.mn-drawer__account a { gap: var(--wp--preset--spacing--30); color: var(--wp--preset--color--link); }
.mn-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) !important; height: var(--wp--custom--control--min) !important; /* WooCommerce's cart.css sets 24px with a longer selector */ 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--accent-1) !important; color: var(--wp--preset--color--on-accent) !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 */
.mn-header-wrap:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--wp--preset--color--base); }

/* ---------- announcement bar: its messages rotate one at a time (assets/js/announce.js) ----------
   All messages share one grid cell so the bar keeps one height; without JavaScript the first message shows.
   The editor shows every message stacked, ready to edit. */
:where(body:not(.editor-styles-wrapper)) .mn-announce.mn-announce { display: grid; place-items: center; }
:where(body:not(.editor-styles-wrapper)) .mn-announce > .mn-announce__item { grid-area: 1 / 1; max-width: 100%; margin: 0; }
:where(body:not(.editor-styles-wrapper)) .mn-announce:not(.is-rotating) > .mn-announce__item:not(:first-child),
:where(body:not(.editor-styles-wrapper)) .mn-announce.is-rotating > .mn-announce__item:not(.is-active) { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.mn-announce.is-rotating > .mn-announce__item { transition: opacity var(--wp--custom--transition--base), translate var(--wp--custom--transition--base), visibility var(--wp--custom--transition--base); }
	.mn-announce.is-rotating > .mn-announce__item:not(.is-active) { translate: 0 var(--wp--custom--motion--announce-shift); }
}
.mn-announce p { margin: 0; }
/* the link keeps the bar's height and still offers a 44px target */
.mn-announce a { display: inline-block; padding-block: calc((var(--wp--custom--control--min) - 1lh) / 2); margin-block: calc((var(--wp--custom--control--min) - 1lh) / -2); margin-inline-start: var(--wp--preset--spacing--20); text-decoration: none; text-underline-offset: var(--wp--custom--border--focus-offset); }
.mn-announce a:hover { text-decoration: underline; }
.mn-announce a:focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus-inverse); outline-offset: var(--wp--custom--border--focus-offset); }

/* ---------- welcome offer dialog (blocks/welcome, printed by PHP): opened by any link to #bienvenue ----------
   The editor's server preview renders the same panel open (.mn-welcome--preview). */
.mn-welcome { width: min(100% - var(--wp--custom--layout--gutter-mobile) * 2, var(--wp--custom--layout--form-card)); max-height: calc(100% - var(--wp--custom--layout--gutter-mobile) * 2); 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); overflow: auto; }
.mn-welcome::backdrop { background: var(--wp--preset--color--overlay); }
.mn-welcome--preview { position: relative; margin: var(--wp--preset--spacing--50) auto; }
.mn-welcome__panel { position: relative; padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--50); }
.mn-welcome__form, .mn-welcome__done { display: grid; gap: var(--wp--preset--spacing--40); }
.mn-welcome__form[hidden], .mn-welcome__done[hidden], .mn-welcome__error[hidden] { display: none; }
.mn-welcome p { margin: 0; }
.mn-welcome__title { margin: 0; padding-right: var(--wp--custom--control--min); font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--x-large); font-weight: var(--wp--custom--font-weight--black); line-height: var(--wp--custom--line-height--snug); }
.mn-welcome__text, .mn-welcome__fine { color: var(--wp--preset--color--accent-4); }
.mn-welcome__fine { font-size: var(--wp--preset--font-size--small); }
.mn-welcome__fine a { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--min); color: var(--wp--preset--color--link); }
.mn-welcome__field { display: grid; gap: var(--wp--preset--spacing--20); }
.mn-welcome__field label { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--bold); }
.mn-welcome__field input { box-sizing: border-box; width: 100%; min-height: var(--wp--custom--control--height); padding: 0 var(--wp--custom--control--input-padding-x); border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--surface); color: inherit; font: inherit; }
.mn-welcome__field input[aria-invalid="true"] { border-color: var(--wp--preset--color--error); }
.mn-welcome__consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--wp--preset--spacing--30); align-items: start; font-size: var(--wp--preset--font-size--small); }
.mn-welcome__consent input { width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); margin: 0; accent-color: var(--wp--preset--color--accent-1); cursor: pointer; }
.mn-welcome__consent label { cursor: pointer; }
.mn-welcome__consent input[aria-invalid="true"] { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--error); outline-offset: var(--wp--custom--border--focus-offset); }
.mn-welcome__error { padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); border-radius: var(--wp--custom--radius--input); background: var(--wp--preset--color--error-surface); color: var(--wp--preset--color--error); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--bold); }
.mn-welcome__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mn-welcome .wp-block-button__link { width: 100%; }
/* the thank-you text takes the focus only so screen readers read it: no ring on it */
.mn-welcome__done:focus { outline: none; }
.mn-welcome :is(input, a, button):focus-visible { outline: var(--wp--custom--border--focus) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--border--focus-offset); }
.mn-welcome__close { position: absolute; top: var(--wp--preset--spacing--30); right: var(--wp--preset--spacing--30); 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: transparent; color: var(--wp--preset--color--contrast); cursor: pointer; }
.mn-welcome__close::before { content: ""; position: absolute; inset: 0; margin: auto; width: var(--wp--custom--icon--md); height: var(--wp--custom--icon--md); 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; }
.mn-welcome__close:hover { background: var(--wp--preset--color--accent-5); }
.mn-welcome--preview .mn-welcome__close { display: none; }
/* one gap between every item of the cocoa bar: the menu links (above), the bar row and the tools all use
   layout.header-gap (24px at 1024, 56px from about 1500px). Set here because WordPress drops a blockGap whose value holds
   a var(); the block attributes keep the preset as a fallback. */
.mn-header-wrap--inline .mn-header, .mn-header-wrap--inline .mn-tools { gap: var(--wp--custom--layout--header-gap); }
/* the cart is a 44px button around a 20px icon: pull its box into the gaps so the icon sits one menu gap from its
   neighbours, like the text links (owner 2026-10-29: even spacing across links, language, cart and pill) */
.mn-header-wrap--inline .mn-tools .mn-tools__cart { margin-inline: calc((var(--wp--custom--control--min) - var(--wp--custom--icon--sm)) / -2); }

/* ---------- Minao: click feedback in the header (owner 2026-10-30) ----------
   Replaces the parent's click rectangle (base.css). The menu texts, Mon compte and FR press in slightly and spring
   back on release; the logo hops and tilts a little on hover, presses deeper and springs back. Transform only; under
   reduced motion base.css cuts the transitions, so the press is instant. The keyboard ring is unchanged, one shape
   (input radius) for every header item. */
/* the bar only: the phone menu (the open overlay inside .mn-nav) keeps its full-width rows, ink colours and no press */
.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content,
.mn-header-wrap--inline .mn-lang .wp-block-navigation-item__content,
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle,
.mn-header-wrap--inline .mn-tools__account a,
.mn-brand--logo img { transition: transform var(--wp--custom--transition--spring), color var(--wp--custom--transition--fast); }
.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:active,
.mn-header-wrap--inline .mn-lang .wp-block-navigation-item__content:active,
.mn-header-wrap--inline .mn-lang .open-on-click > .wp-block-navigation-submenu__toggle:active,
.mn-header-wrap--inline .mn-tools__account a:active { transform: scale(var(--wp--custom--motion--press-scale)); color: var(--wp--preset--color--signature-2); transition: transform var(--wp--custom--transition--press), color var(--wp--custom--transition--press); }
/* the submenu rows (white panel) press too, without the colour change */
:is(.mn-header-wrap--inline .mn-nav .wp-block-navigation__responsive-container:not(.is-menu-open), .mn-header-wrap--inline .mn-lang) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:active { color: var(--wp--preset--color--accent-1-strong); }
@media (hover: hover) and (pointer: fine) { .mn-brand--logo a:hover img { transform: translateY(var(--wp--custom--motion--logo-hop)) rotate(var(--wp--custom--motion--logo-tilt)); } }
.mn-brand--logo a:active img { transform: scale(var(--wp--custom--motion--press-scale-logo)); transition: transform var(--wp--custom--transition--press), color var(--wp--custom--transition--press); }
.mn-header-wrap--inline :is(a, button):focus-visible { border-radius: var(--wp--custom--radius--input); }

/* ---------- Minao: the language choice, codes instead of flags (owner 2026-10-30) ----------
   The header button stays globe + "FR". From 1024px on a pointer that hovers, the panel opens on hover and closes when
   the pointer leaves the button and the panel; a click pins it open (core's click submenu, aria-expanded) until a
   click elsewhere. Each row: the language code in a small pill, the name, and a sage check on the current language
   (menus.json classes mn-code mn-code--<code> mn-code--current). The phone row: the codes as pills, the current one
   filled in sage (the selected state). */
@media (hover: hover) and (min-width: 1024px) {
	.mn-header-wrap--inline .mn-lang .has-child.open-on-click:hover > .wp-block-navigation__submenu-container { visibility: visible; opacity: 1; width: auto; height: auto; overflow: visible; }
	.mn-header-wrap--inline .mn-lang .has-child.open-on-click:hover > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
}
.mn-header-wrap--inline .mn-lang .wp-block-navigation__submenu-container .mn-code > .wp-block-navigation-item__content { gap: var(--wp--preset--spacing--30); white-space: nowrap; }
.mn-code > .wp-block-navigation-item__content::before { content: ""; display: inline-grid; place-items: center; flex: none; min-width: var(--wp--custom--icon--lg); height: var(--wp--custom--icon--sm); padding: 0 var(--wp--preset--spacing--20); box-sizing: border-box; border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); border-radius: var(--wp--custom--radius--badge); color: var(--wp--preset--color--accent-4); font-size: var(--wp--preset--font-size--x-small); font-weight: var(--wp--custom--font-weight--bold); letter-spacing: var(--wp--custom--letter-spacing--badge); line-height: 1; }
.mn-code--fr > .wp-block-navigation-item__content::before { content: "FR"; }
.mn-code--nl > .wp-block-navigation-item__content::before { content: "NL"; }
.mn-code--en > .wp-block-navigation-item__content::before { content: "EN"; }
.mn-code--de > .wp-block-navigation-item__content::before { content: "DE"; }
.mn-code--current > .wp-block-navigation-item__content::before { border-color: var(--wp--preset--color--accent-1); background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--on-accent); }
.mn-header-wrap--inline .mn-lang .wp-block-navigation__submenu-container .mn-code--current > .wp-block-navigation-item__content::after { content: ""; display: block; position: static; flex: none; width: var(--wp--custom--icon--xs); height: var(--wp--custom--icon--xs); margin-left: auto; padding-left: var(--wp--preset--spacing--30); background: var(--wp--preset--color--accent-1); -webkit-mask: var(--wp--custom--icon-url--check) right center / var(--wp--custom--icon--xs) no-repeat; mask: var(--wp--custom--icon-url--check) right center / var(--wp--custom--icon--xs) no-repeat; }
.mn-header-wrap--inline .mn-lang .wp-block-navigation__submenu-container .mn-code--current > .wp-block-navigation-item__content { font-weight: var(--wp--custom--font-weight--bold); }
/* phone row: FR NL EN DE as pills, 44px targets */
.mn-drawer__lang .wp-block-navigation-item__content { justify-content: center; box-sizing: border-box; padding: 0 var(--wp--preset--spacing--20); border: var(--wp--custom--border--hairline) solid var(--wp--preset--color--accent-6); border-radius: var(--wp--custom--radius--badge); font-weight: var(--wp--custom--font-weight--semibold); letter-spacing: var(--wp--custom--letter-spacing--badge); }
.mn-drawer__lang .wp-block-navigation-item.mn-code--current > .wp-block-navigation-item__content { border-color: var(--wp--preset--color--accent-1); background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--on-accent); }
