/* IXXO Cart 8 storefront: the frame and the shared parts (header, menu, search, footer, cards,
   price, breadcrumb, paging, empty state, mini cart). Neutral on purpose: a preset's own file
   (ampere.css) adds its character on top. Logical properties only; colours from tokens. */

/* The announcement bar above the header. */
.sf-topbar{ background: var(--ink); color: var(--topbar-text); font-size: 13px; }
.sf-topbar-row{ display: flex; justify-content: center; align-items: center; min-block-size: 38px; text-align: center; }
.sf-topbar-link{ display: inline-flex; align-items: center; gap: 8px; color: var(--topbar-text); text-decoration: none; padding-block: 8px; }
/* The bar's optional icon (owner list 1 F6), a little smaller than the text's line. */
.sf-topbar-link .sf-ico{ inline-size: 16px; block-size: 16px; }
.sf-topbar-link:hover{ color: var(--on-ink); text-decoration: underline; }
/* Two or three messages take turns (storefront.js, announce-rotate). They share one grid cell,
   the waiting ones invisible rather than gone, so the bar keeps the tallest message's height and
   the page does not jump when a short message follows one that wraps on a phone. Invisible keeps
   them out of the screen reader and the tab order. The next one fades in. For a visitor who asks
   for reduced motion nothing turns: only the first shows, and the bar takes its height. */
@media (prefers-reduced-motion: no-preference){
	.sf-topbar[data-sf="announce-rotate"] .sf-topbar-row{ display: grid; justify-items: center; }
	.sf-topbar[data-sf="announce-rotate"] .sf-topbar-link{ grid-area: 1 / 1; transition: opacity 0.4s ease-out; }
	.sf-topbar[data-sf="announce-rotate"] .sf-topbar-link[hidden]{ display: inline-flex !important; visibility: hidden; opacity: 0; }
}
/* The bar's own colours (theme editor polish): Soft and Dark take the section schemes' palette
   (.sf .sf-scheme-soft and -dark in /theme.css), Page the page's own colours with a line below so
   it stays apart from the header. The links then read in the scheme's text colour. */
.sf-topbar.sf-scheme-page{ background: var(--paper); color: var(--ink); border-block-end: 1px solid var(--line); }
.sf-topbar:is(.sf-scheme-page, .sf-scheme-soft, .sf-scheme-dark) :is(.sf-topbar-link, .sf-topbar-link:hover){ color: var(--ink); }
/* A message's badge (utility bar, H1): a short word in a pill before the text, in the accent. */
.sf-topbar-badge{ display: inline-block; padding-inline: 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; line-height: 18px; }
/* The utility bar (H1): the bar's links at the start, the messages in the middle, the pickers and
   social icons at the end. Three grid columns, the middle sized to the message, so it stays
   centred whether one side is empty or both are filled. */
.sf-topbar-bar{ display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.sf-topbar-bar > .sf-topbar-row{ grid-column: 2; }
.sf-topbar-start{ grid-column: 1; justify-self: start; }
.sf-topbar-end{ grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px 16px; }
.sf-topbar-start ul, .sf-topbar-social{ display: flex; gap: 4px 16px; list-style: none; }
.sf-topbar-extra :is(a, button){ display: inline-flex; align-items: center; min-block-size: 32px; padding: 0; border: 0; background: none; color: inherit; font-size: 12px; text-decoration: none; cursor: pointer; }
.sf-topbar-extra :is(a:hover, a[aria-current="true"], button[aria-pressed="true"]){ text-decoration: underline; }
.sf-topbar-social{ gap: 4px; }
.sf-topbar-social a{ justify-content: center; inline-size: 28px; }
.sf-topbar-social .sf-ico{ inline-size: 16px; block-size: 16px; }
/* On a phone only the message stays: the links, pickers and icons wait in the menu and footer. */
@media (max-width: 720px){
	.sf-topbar-extra{ display: none; }
	.sf-topbar-bar{ grid-template-columns: minmax(0, 1fr); }
	.sf-topbar-bar > .sf-topbar-row{ grid-column: 1; }
}

/* Header: logo, search, actions. */
.sf-hdr{ background: var(--paper); }
.sf-hdr-row{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 18px; }
.sf-logo{ display: flex; align-items: center; gap: 10px; min-inline-size: 0; text-decoration: none; color: var(--ink); }
.sf-logo-img{ max-block-size: 44px; inline-size: auto; }
.sf-logo-mark{ inline-size: 36px; block-size: 36px; border-radius: calc(var(--r) * 0.75); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; }
/* A shop name of one long word breaks rather than push a phone's header wider than the screen. */
.sf-logo-word{ font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1; overflow-wrap: anywhere; }

/* The header block's choices (Theme editor 2 Task 5). Without the search the actions keep to
   the last column of the row, at every width. */
.sf-hdr--no-search .sf-acts{ grid-column: -2; }
/* The logo in the centre: the search (when shown) on the left, the actions on the right. */
.sf-hdr--logo-centre .sf-hdr-row{ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.sf-hdr--logo-centre .sf-logo{ grid-column: 2; grid-row: 1; }
.sf-hdr--logo-centre .sf-search{ grid-column: 1; grid-row: 1; }
.sf-hdr--logo-centre .sf-acts{ grid-column: 3; grid-row: 1; justify-self: end; }
/* A sticky header: its wrapper sticks (the header alone would only stick inside the wrapper),
   above the page's own layers (menus 30, suggestions 40). */
.sf-section--header:has(> .sf-hdr--sticky){ position: sticky; inset-block-start: 0; z-index: 50; }
/* Only when scrolling up (theme editor polish): sticky as above, and storefront.js marks the wrapper
   `is-hidden` while the buyer scrolls down past it. It slides up out of view, and back on scrolling up
   or as soon as a link in it takes the keyboard's focus. No slide under reduced motion: it just goes. */
.sf-section--header.is-hidden:not(:focus-within){ translate: 0 -100%; }
@media (prefers-reduced-motion: no-preference){ .sf-section--header:has(> .sf-hdr--scroll-up){ transition: translate 0.25s ease; } }

/* The logo's width (header block, theme editor polish): a class per width of the schema, as the
   storefront allows no inline style. The height follows the picture; on a phone the logo takes
   at most 40% of the screen, so the icons keep their room. */
.sf-logo-img[class*="sf-logo-w-"]{ inline-size: var(--sf-logo-w); max-block-size: none; block-size: auto; }
.sf-logo-w-60{ --sf-logo-w: 60px; }
.sf-logo-w-80{ --sf-logo-w: 80px; }
.sf-logo-w-100{ --sf-logo-w: 100px; }
.sf-logo-w-120{ --sf-logo-w: 120px; }
.sf-logo-w-150{ --sf-logo-w: 150px; }
.sf-logo-w-180{ --sf-logo-w: 180px; }
.sf-logo-w-220{ --sf-logo-w: 220px; }
.sf-logo-w-260{ --sf-logo-w: 260px; }
.sf-logo-w-300{ --sf-logo-w: 300px; }
@media (max-width: 720px){ .sf-logo-img[class*="sf-logo-w-"]{ max-inline-size: 40vw; } }

.sf-search{ position: relative; display: flex; block-size: 50px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--paper); }
/* The category choice takes at most a third of the box: the words box keeps its room. */
.sf-search-cat{ flex: 0 1 auto; min-inline-size: 0; max-inline-size: min(180px, 32%); text-overflow: ellipsis; border: 0; border-inline-end: 1px solid var(--line); border-start-start-radius: var(--r); border-end-start-radius: var(--r); background: var(--tile); padding-inline: 14px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.sf-search-input{ flex: 1; min-inline-size: 0; border: 0; padding-inline: 16px; font-size: 15px; background: transparent; }
.sf-search-input:focus{ outline: none; }
.sf-search:focus-within{ outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.sf-search-input::placeholder{ color: var(--placeholder); }
.sf-search-input::-webkit-search-cancel-button{ cursor: pointer; }
.sf-search-go{ inline-size: 58px; border: 0; border-start-end-radius: calc(var(--r) - 1px); border-end-end-radius: calc(var(--r) - 1px); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }

/* Search suggestions under the box (storefront.js fills them). */
.sf-suggest{ position: absolute; inset-block-start: calc(100% + 6px); inset-inline: 0; z-index: 40; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px var(--shadow-lift); padding-block: 6px; max-block-size: 70vh; overflow-y: auto; }
.sf-suggest a{ display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-block-size: 44px; text-decoration: none; color: var(--ink); }
.sf-suggest img{ inline-size: 40px; block-size: 40px; object-fit: contain; background: var(--tile); border-radius: calc(var(--r) * 0.6); }
.sf-suggest [aria-selected="true"] a, .sf-suggest a:hover{ background: var(--tile); }
.sf-suggest-head{ padding: 8px 14px 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.sf-acts{ display: flex; align-items: center; gap: 4px; }
.sf-act{ position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-block-size: 44px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
/* The menu button and the search panel's close button are buttons: no browser box around them. */
button.sf-act{ border: 0; background: none; font: inherit; cursor: pointer; }
.sf-act:hover{ background: var(--tile); }
.sf-act small{ display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.sf-act b{ display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.sf-count{ position: absolute; inset-block-start: 2px; inset-inline-start: 19px; min-inline-size: 17px; block-size: 17px; padding-inline: 4px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); }
.sf-count[hidden]{ display: none; }
/* Icon only (header block, theme editor polish): the words go as they do below 1200px and in the
   centred header, and stay for screen readers: they are the links' names. */
.sf-hdr--icons .sf-act-lbl{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The menu: top-level categories; the second level opens on hover and on keyboard focus. */
.sf-nav{ border-block: 1px solid var(--line); background: var(--paper); }
.sf-nav-row{ display: flex; align-items: center; gap: 2px; min-block-size: 54px; }
.sf-nav-list, .sf-nav-extra{ display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; }
/* The extra links (Brands, All categories) keep their one-line width: squeezed, two of them would
   stack, and the More item (storefront-header.js) measures the room they leave. */
.sf-nav-extra{ flex-shrink: 0; }
.sf-nav-item{ position: relative; }
.sf-nav-link{ display: block; white-space: nowrap; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 500; padding: 9px 12px; border-radius: var(--r); }
.sf-nav-link:hover{ background: var(--tile); }
.sf-nav-sub{ position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: 30; min-inline-size: 220px; list-style: none; padding-block: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px var(--shadow-lift); display: none; }
.sf-nav-item:hover > .sf-nav-sub, .sf-nav-item:focus-within > .sf-nav-sub{ display: block; }
/* Escape hid it (storefront.js menu): closed until the pointer or the focus moves on. */
.sf-nav.is-dismissed .sf-nav-sub{ display: none; }
.sf-nav-sub a{ display: flex; align-items: center; padding: 8px 16px; min-block-size: 44px; text-decoration: none; color: var(--ink-2); font-size: 14px; }
.sf-nav-sub a:hover{ background: var(--tile); color: var(--ink); }
.sf-nav-item > .sf-nav-sub li:first-child a{ font-weight: 600; color: var(--ink); }
/* The "More" item (storefront-header.js menu-more): the top items a one-row menu has no room for,
   as plain links in a panel like the second level's (its first link is not an "All in", so not
   bold), held to the item's end edge so it stays on screen. Its button opens it, never hover. */
.sf-nav-more{ position: relative; }
.sf-nav-more-btn{ display: flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; }
.sf-nav-more-btn .sf-ico{ inline-size: 16px; block-size: 16px; }
.sf-nav-more-btn[aria-expanded="true"] .sf-ico{ transform: rotate(180deg); }
.sf-nav .sf-nav-more > .sf-nav-sub{ display: block; inset-inline-start: auto; inset-inline-end: 0; max-block-size: 70vh; overflow-y: auto; }

/* Header layouts (Moda theme phase, spec §A3), chosen by the preset: none of these classes is
   printed for Ampere's classic header. The centred header: menu on the left, logo in the middle,
   icons on the right. */
.sf-hdr--centred{ position: relative; }
.sf-hdr--centred .sf-hdr-row{ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.sf-hdr-start{ grid-column: 1; grid-row: 1; display: flex; align-items: center; min-inline-size: 0; }
.sf-hdr--centred .sf-logo{ grid-column: 2; grid-row: 1; justify-self: center; }
.sf-hdr--centred .sf-acts{ grid-column: 3; grid-row: 1; justify-self: end; }
.sf-hdr--centred .sf-search{ grid-column: 1 / -1; }
.sf-hdr--centred .sf-nav{ border-block: 0; background: none; }
.sf-hdr--centred .sf-nav > .sf-wrap{ padding-inline: 0; max-inline-size: none; margin: 0; }
.sf-hdr .sf-burger{ display: none; }
.sf-act.is-on{ background: var(--tile); }

/* The large drop-down menu: a full-width panel under the header (the menu band in the classic
   header). Without storefront-header.js it opens on hover and keyboard focus like the second
   level above; with it (sf-nav--js) only while its item is open. */
.sf-nav--mega{ position: relative; }
.sf-hdr--centred .sf-nav--mega{ position: static; }
.sf-nav--mega .sf-nav-item{ position: static; display: flex; align-items: center; }
.sf-mega{ position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 30; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 24px 40px -24px var(--shadow-lift); display: none; }
.sf-nav--mega:not(.sf-nav--js) .sf-nav-item:hover > .sf-mega, .sf-nav--mega:not(.sf-nav--js) .sf-nav-item:focus-within > .sf-mega, .sf-nav--mega .sf-nav-item.is-open > .sf-mega{ display: block; }
.sf-mega-in{ display: flex; flex-wrap: wrap; gap: 24px 40px; padding-block: 32px 40px; }
.sf-mega-col{ flex: 0 1 200px; min-inline-size: 140px; }
.sf-mega-title{ margin-block-end: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sf-mega-title a{ color: var(--muted); text-decoration: none; }
.sf-mega-col ul{ list-style: none; display: grid; }
.sf-mega-col li a{ display: inline-flex; align-items: center; min-block-size: 36px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sf-mega-title a:hover, .sf-mega-col li a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* The top category's picture, name and "Shop all", at the end of the row. */
.sf-mega-tile{ flex: 0 1 440px; margin-inline-start: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--tile); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; }
.sf-mega-img img{ display: block; inline-size: 100%; block-size: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sf-mega-copy{ display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 20px; }
.sf-mega-name{ font-family: var(--font-heading); font-size: 26px; font-weight: 500; line-height: 1.05; }
.sf-mega-all{ align-self: flex-start; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
/* The shop's promo card for the top category (spec M8), the last card of the row: the picture fills it
   under a dark shade, the small label, heading and a pill button on it, its words light on every
   colour scheme (the promo card of the category grid's colours). It replaces the picture tile. */
.sf-mega-promo{ position: relative; isolation: isolate; flex: none; inline-size: 270px; min-block-size: 320px; margin-inline-start: auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 20px; border-radius: var(--r); overflow: hidden; color: var(--tip-photo-text); text-decoration: none; }
.sf-mega-promo::before{ content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--tip-shade-mid), var(--tip-shade) 85%); }
.sf-mega-promo-img{ position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sf-mega-promo:hover .sf-mega-promo-img{ transform: scale(1.03); }
.sf-mega-promo-label{ font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.sf-mega-promo-title{ font-family: var(--font-heading); font-size: 22px; font-weight: 500; line-height: 1.15; }
.sf-mega-promo-link{ align-self: flex-start; margin-block-start: 4px; padding-block: 8px; padding-inline: 16px; border-radius: 999px; background: var(--tip-pill); color: var(--tip-pill-text); font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: reduce){ .sf-mega-promo:hover .sf-mega-promo-img{ transform: none; } }
/* The button after a top link opens its panel by touch or keyboard (the link still goes to the category). */
.sf-mega-toggle{ display: grid; place-items: center; inline-size: 28px; block-size: 28px; padding: 0; border: 0; border-radius: var(--r); background: none; color: var(--ink); cursor: pointer; }
.sf-mega-toggle[hidden]{ display: none; }
.sf-mega-toggle .sf-ico{ inline-size: 16px; block-size: 16px; }
.sf-mega-toggle[aria-expanded="true"] .sf-ico{ transform: rotate(180deg); }
/* With a mouse the pointer opens the panel: the button shows only while it has the keyboard's focus. */
@media (hover: hover) and (min-width: 901px){
	.sf-mega-toggle:not(:focus-visible){ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* Menu modes (2026-11-26, spec menu-filter-layouts M3–M6). Mega + products, Category tabs and Picture
   tiles open their panels as the large drop-down does (above); only what is inside them is new here. */
/* Mega + products: the top category's best sellers, as normal product cards, after the columns. */
/* Mega + products: the columns share the row with the cards (they wrap among themselves),
   and the menu's cards show picture, name and price only, without the listing's buttons. */
.sf-mega-in:has(> .sf-mega-cols){ flex-wrap: nowrap; }
.sf-mega-cols{ flex: 1 1 0; min-inline-size: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 24px 40px; }
.sf-mega-products :is(.sf-card-add, .sf-card-wish, .sf-card-quick, .sf-card-seller){ display: none; }
.sf-mega-products{ flex: 0 1 560px; margin-inline-start: auto; }
/* With the promo card after the best sellers, the card keeps its width and the cards take less room. */
.sf-mega-products + .sf-mega-promo{ margin-inline-start: 0; }
.sf-mega-products-title{ margin-block-end: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sf-mega-products .sf-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* A picture tile (tabs and tiles): the category's picture, or the soft box alone without one, its name under it. */
.sf-mtiles{ list-style: none; display: grid; gap: 16px; }
.sf-mtile{ display: grid; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.sf-mtile-img{ display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--tile); }
.sf-mtile-img img{ display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.sf-mtile:hover .sf-mtile-name{ text-decoration: underline; text-underline-offset: 3px; }
/* Picture tiles: the name and "Shop all", then one row of portrait tiles; more than six scroll sideways. */
.sf-mega-in--tiles{ display: block; }
.sf-mtiles-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-block-end: 16px; }
.sf-mtiles-title{ font-family: var(--font-heading); font-size: 20px; font-weight: 500; }
.sf-mtiles-all{ color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sf-mtiles--row{ grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); overflow-x: auto; scrollbar-width: thin; padding-block-end: 4px; }
.sf-mtiles--row .sf-mtile-img{ aspect-ratio: 3 / 4; }
/* Category tabs: the top categories down the left, the open one's children as tiles right beside the
   list (no gap: the pointer never crosses empty space between a tab and its tiles). Without the script
   the first shows until another is pointed at or takes the focus; with it (sf-nav--js) the tab the
   pointer rested on or the focus reached stays open (storefront-header.js, is-current). */
.sf-tabs{ container-type: inline-size; padding-block: 24px 32px; }
.sf-tabs-list{ position: relative; inline-size: 240px; min-block-size: 360px; list-style: none; box-shadow: inset -1px 0 var(--line); }
.sf-tab-link{ display: flex; align-items: center; justify-content: space-between; gap: 8px; min-block-size: 40px; margin-inline-end: 12px; padding: 8px 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.sf-tab-link .sf-ico{ inline-size: 16px; block-size: 16px; }
.sf-tab-panel{ position: absolute; inset-block-start: 0; inset-inline-start: 100%; inline-size: calc(100cqi - 240px); max-block-size: 100%; overflow-y: auto; padding-inline-start: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; display: none; }
.sf-nav--mega:not(.sf-nav--js) :is(.sf-tab:first-child, .sf-tab:hover, .sf-tab:focus-within) > .sf-tab-panel, .sf-nav--js .sf-tab.is-current > .sf-tab-panel{ display: grid; }
.sf-nav--mega:not(.sf-nav--js) .sf-tabs-list:has(> .sf-tab:not(:first-child):is(:hover, :focus-within)) > .sf-tab:first-child > .sf-tab-panel{ display: none; }
.sf-nav--mega:not(.sf-nav--js) :is(.sf-tab:first-child, .sf-tab:hover, .sf-tab:focus-within) > .sf-tab-link, .sf-nav--js .sf-tab.is-current > .sf-tab-link{ background: var(--tile); }
.sf-nav--mega:not(.sf-nav--js) .sf-tabs-list:has(> .sf-tab:not(:first-child):is(:hover, :focus-within)) > .sf-tab:first-child > .sf-tab-link{ background: none; }

/* Side drawer (M6): no menu row; the Menu button at the start of the header row opens the categories in
   a panel from the start edge at every width (storefront-header.js menu-drawer). In the classic row the
   button shares the logo's cell, so the row's columns stay as they are. */
.sf-hdr-brand{ display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.sf-hdr--logo-centre .sf-hdr-brand{ grid-column: 2; grid-row: 1; }
.sf-mdrawer-btn{ gap: 8px; font-size: 14.5px; font-weight: 600; }
.sf-mdrawer{ margin-block: 0; margin-inline: 0 auto; inline-size: min(340px, calc(100vw - 48px)); max-inline-size: none; block-size: 100%; max-block-size: none; padding: 0; border: 0; overflow: visible; background: var(--paper); color: var(--ink); box-shadow: 0 0 40px var(--shadow-lift); }
.sf-mdrawer::backdrop{ background: var(--backdrop); }
.sf-mdrawer[open]{ display: flex; flex-direction: column; }
.sf-mdrawer-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; padding-inline: 20px 12px; border-block-end: 1px solid var(--line); }
.sf-mdrawer-title{ font-size: 18px; font-weight: 600; }
.sf-mdrawer-body{ flex: 1; overflow-y: auto; padding: 8px 20px 24px; }
.sf-mdrawer-list{ list-style: none; }
.sf-mdrawer-row{ display: flex; align-items: center; justify-content: space-between; gap: 8px; inline-size: 100%; min-block-size: 52px; padding: 0; border: 0; border-block-end: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: start; text-decoration: none; cursor: pointer; }
.sf-mdrawer-row[aria-expanded="true"]{ color: var(--accent-ink); }
.sf-mdrawer-row .sf-ico{ inline-size: 16px; block-size: 16px; }
/* A category's children: a second column beside the panel on a wide screen, over it on a phone (with Back). */
.sf-mdrawer-sub{ position: absolute; inset-block: 0; inset-inline-start: 100%; inline-size: 280px; overflow-y: auto; padding: 20px; background: var(--tile); }
.sf-mdrawer-sub[hidden]{ display: none; }
.sf-mdrawer-back{ display: none; }
.sf-mdrawer-subtitle{ margin-block-end: 8px; font-weight: 600; }
.sf-mdrawer-sub ul{ list-style: none; }
.sf-mdrawer-sub a{ display: flex; align-items: center; min-block-size: 44px; color: var(--ink-2); text-decoration: none; }
.sf-mdrawer-sub li:first-child a{ font-weight: 600; color: var(--ink); }
.sf-mdrawer-sub a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* The header's own extra links come after the categories. */
.sf-mdrawer .sf-nav-extra{ display: block; margin-block-start: 12px; }
.sf-mdrawer .sf-nav-extra .sf-nav-link{ display: flex; align-items: center; min-block-size: 44px; padding-inline: 0; }

/* The search panel under the header: the field (with its suggestions) and the "Popular" words. */
.sf-srch{ border-block-start: 1px solid var(--line); background: var(--paper); }
.sf-srch-in{ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 8px; padding-block: 20px 24px; }
.sf-srch .sf-search{ grid-column: auto; order: 0; block-size: 56px; }
.sf-srch-pop{ grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--muted); }
.sf-srch-pop ul{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sf-srch-word{ display: inline-flex; align-items: center; min-block-size: 38px; padding-inline: 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 13.5px; }
.sf-srch-word:hover{ border-color: var(--ink); }

/* The shop's name set large across the foot of the page (footer, with the centred header). */
.sf-foot-mark{ margin-block-start: 32px; overflow: hidden; font-family: var(--font-heading); font-size: clamp(48px, 16vw, 280px); font-weight: 500; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; white-space: nowrap; color: var(--ink); user-select: none; }

/* The column beside a centred logo holds a short menu only, and a shop's menu seldom is: above
   1200px the menu takes its own centred row under the logo and wraps if it must, so every item
   shows without a scrollbar. Up to 1200px (tablets, small laptops) it folds behind the menu
   button as on a phone. */
@media (min-width: 1201px){
	.sf-hdr--centred .sf-hdr-start{ grid-column: 1 / -1; grid-row: 2; justify-content: center; }
	.sf-hdr--centred .sf-hdr-start .sf-nav{ min-inline-size: 0; }
	.sf-hdr--centred .sf-hdr-start .sf-nav-row{ min-block-size: 0; flex-wrap: wrap; justify-content: center; }
	.sf-hdr--centred .sf-hdr-start .sf-nav-list, .sf-hdr--centred .sf-hdr-start .sf-nav-extra{ justify-content: center; }
}

@media (max-width: 1200px){
	/* Without the script the menu runs under the row and scrolls sideways, as in the classic header. */
	.sf-hdr--centred:not(.sf-hdr--js) .sf-hdr-start{ grid-column: 1 / -1; grid-row: 2; }
	.sf-hdr--centred:not(.sf-hdr--js) .sf-hdr-start .sf-nav-row{ overflow-x: auto; scrollbar-width: none; }
	/* With it the menu button opens the menu under the header, the levels opening in place. */
	.sf-hdr .sf-burger:not([hidden]){ display: flex; }
	.sf-hdr--js .sf-hdr-start .sf-nav{ display: none; }
	.sf-hdr--js.is-menu-open .sf-hdr-start .sf-nav{ display: block; position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 40; max-block-size: 75vh; overflow-y: auto; background: var(--paper); border-block: 1px solid var(--line); }
	.sf-hdr--js .sf-hdr-start .sf-nav > .sf-wrap{ display: block; padding: 8px 16px 16px; overflow: visible; }
	.sf-hdr--js .sf-hdr-start .sf-nav-list, .sf-hdr--js .sf-hdr-start .sf-nav-extra{ display: block; }
	.sf-hdr--js .sf-hdr-start .sf-nav-item{ display: flex; flex-wrap: wrap; align-items: center; border-block-end: 1px solid var(--line); }
	.sf-hdr--js .sf-hdr-start .sf-nav-link{ flex: 1; display: flex; align-items: center; min-block-size: 52px; }
	/* The button that opens a level shows here even with a mouse (hidden above 900px otherwise). */
	.sf-hdr--js .sf-hdr-start .sf-mega-toggle{ position: static; inline-size: 44px; block-size: 44px; overflow: visible; clip-path: none; }
	.sf-hdr--js .sf-hdr-start .sf-mega{ position: static; flex-basis: 100%; border: 0; box-shadow: none; }
	.sf-hdr--js .sf-hdr-start .sf-mega-in{ display: block; padding: 0 0 12px; padding-inline-start: 12px; }
	.sf-hdr--js .sf-hdr-start .sf-mega-col + .sf-mega-col{ margin-block-start: 12px; }
	.sf-hdr--js .sf-hdr-start :is(.sf-mega-tile, .sf-mega-promo){ display: none; }
	/* The menu modes there: the levels as plain links, no products, pictures or tabs panel (the
	   categories are all in the list already; "All categories" stays a link to their page). */
	.sf-hdr--js .sf-hdr-start :is(.sf-mega-products, .sf-mtile-img, .sf-mtiles-title, .sf-nav-item--all > .sf-mega-toggle, .sf-nav-item--all > .sf-mega){ display: none; }
	.sf-hdr--js .sf-hdr-start .sf-mtiles{ display: block; }
	.sf-hdr--js .sf-hdr-start .sf-mtiles-head{ margin-block-end: 0; }
	.sf-hdr--js .sf-hdr-start .sf-mtile{ display: flex; align-items: center; min-block-size: 40px; font-size: 15px; }
}

/* The drawer's button stays in the first row of the centred header at every width (its menu is in the
   drawer, never a row of its own). After the centred rules above, which it outweighs. */
.sf-hdr--centred.sf-hdr--drawer .sf-hdr-start{ grid-column: 1; grid-row: 1; justify-content: flex-start; }

@media (max-width: 900px){
	.sf-mega-tile, .sf-mega-products, .sf-mega-promo{ display: none; }
	/* Elsewhere on a phone the panels stay shut: the levels are on the category pages. */
	.sf-hdr:not(.sf-hdr--js) .sf-nav--mega .sf-nav-item > .sf-mega, .sf-hdr:not(.sf-hdr--js) .sf-mega-toggle{ display: none; }
	.sf-srch-in{ grid-template-columns: minmax(0, 1fr) auto; }
}

/* Breadcrumb. */
.sf-crumbs ol{ display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; font-size: 13.5px; color: var(--muted); margin-block-start: 20px; }
.sf-crumbs li{ display: flex; align-items: center; gap: 6px; }
.sf-crumbs li + li::before{ content: "/"; color: var(--line); }
.sf-crumbs a{ color: var(--muted); text-decoration: none; }
.sf-crumbs a:hover{ color: var(--ink); text-decoration: underline; }
.sf-crumbs [aria-current]{ color: var(--ink); font-weight: 500; }

/* Product grid and card. The name's link stretches over the whole card. */
.sf-grid{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; list-style: none; }
.sf-grid-item{ display: flex; }
/* Cards per row (Section styles phase, the product row's `sf-per-row-<n>`): only on a computer, where the
   grid shows more than 3. Above 1200px the row's number; up to 1200px no more than 4, as the grid always
   was there. Tablets keep 3 and phones 2 (below). A column's own width rules outweigh these (columns.css). */
@media (min-width: 1201px){
	.sf-per-row-3 > .sf-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sf-per-row-4 > .sf-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sf-per-row-5 > .sf-grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1001px) and (max-width: 1200px){
	.sf-per-row-3 > .sf-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sf-per-row-4 > .sf-grid, .sf-per-row-5 > .sf-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sf-card{ position: relative; display: flex; flex-direction: column; gap: 12px; inline-size: 100%; }
.sf-card-media{ position: relative; aspect-ratio: 1; border-radius: calc(var(--r) * 1.5); display: grid; place-items: center; overflow: hidden; background: var(--tile); }
.sf-card-media img{ inline-size: 76%; block-size: 76%; object-fit: contain; }
.sf-card-noimg{ inline-size: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--line); }
/* The brand's logo where a product has no photo (cards and the product page's gallery, every theme):
   contained and padded on the soft surface of the photo's box. A theme's photo rules (cover, a hover
   zoom) never reach it: the selectors below outweigh theirs, the hover one included. */
.sf-noimg-logo{ display: grid; place-items: center; inline-size: 100%; block-size: 100%; padding: 16%; background: var(--tile); }
:is(.sf-card, .sf-pdp-gallery) :is(.sf-card-media, .sf-pdp-stage, .sf-pdp-stack-pic) .sf-noimg-logo > img, :is(.sf-card, .sf-pdp-gallery):hover :is(.sf-card-media, .sf-pdp-stage, .sf-pdp-stack-pic) .sf-noimg-logo > img{ inline-size: 100%; block-size: 100%; object-fit: contain; transform: none; transition: none; }
.sf-badge{ position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 2; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: calc(var(--r) * 0.6); }
.sf-badge-sale{ background: var(--accent); color: var(--on-accent); }
.sf-card-wish{ position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 2; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: 0 1px 3px var(--shadow); }
.sf-card-wish[aria-pressed="true"] .sf-ico{ fill: var(--accent-ink); stroke: var(--accent-ink); }
/* Quick view (Styles switch `quick_view`, 2026-11-27): the eye button, a link to the product, beside the
   heart (in its place while the heart is hidden). On a computer it shows on the card's hover or focus;
   a phone has no hover, so it always shows there. */
.sf-card-quick{ position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 2; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 3px var(--shadow); }
.sf-card-wish:not([hidden]) ~ .sf-card-quick{ inset-inline-end: 60px; }
.sf-card-quick:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }
.sf-card-quick[aria-busy="true"]{ opacity: 0.6; }
@media (hover: hover) and (pointer: fine){
	.sf-card-quick{ opacity: 0; }
	.sf-card:hover .sf-card-quick, .sf-card:focus-within .sf-card-quick{ opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference){
	.sf-card-quick{ transition: opacity 0.2s ease; }
}
/* More photos on a card (theme switch `card_photos`). Only the first is drawn, so without a hover, a
   swipe or JavaScript the card is the plain card and nothing more is fetched: a lazy picture that is
   not displayed never loads, while one merely transparent or scrolled aside may load with the page. */
.sf-card-photos{ position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); background: inherit; }
.sf-card-photo{ grid-area: 1 / 1; display: grid; place-items: center; min-inline-size: 0; min-block-size: 0; background: inherit; }
.sf-card-photo:not(:first-child){ display: none; }
.sf-card-dots{ display: none; position: absolute; inset-block-end: 8px; inset-inline: 0; justify-content: center; gap: 5px; pointer-events: none; }
.sf-card-dots > span{ inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--shadow-lift); }
.sf-card-dots > .is-on{ background: var(--ink); box-shadow: 0 0 0 1.5px var(--paper); }
/* Desktop: the second photo fades in over the first, which stays until it has arrived. */
@media (hover: hover) and (pointer: fine){
	.sf-card-photo:nth-child(2){ opacity: 0; transition: opacity 0.2s ease, display 0.2s allow-discrete; }
	.sf-card:hover .sf-card-photo:nth-child(2){ display: grid; opacity: 1; }
	@starting-style{
		.sf-card:hover .sf-card-photo:nth-child(2){ opacity: 0; }
	}
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce){
	.sf-card-photo:nth-child(2){ transition: none; }
}
/* Second photo on hover (theme switch `card_hover_photo`, only while `card_photos` is off): the card's
   second photo lies over its picture. It is an `sf-card-photo` too, so a theme's photo rules (cover, a
   hover zoom) reach it. Undrawn, so not fetched, until a computer's pointer rests on the card; a phone
   never draws it. With reduced motion it shows at once. */
.sf-card-hover{ display: none; position: absolute; inset: 0; grid-area: auto; }
@media (hover: hover) and (pointer: fine){
	.sf-card-hover{ opacity: 0; transition: opacity 0.2s ease, display 0.2s allow-discrete; }
	.sf-card:hover .sf-card-hover{ display: grid; opacity: 1; }
	@starting-style{
		.sf-card:hover .sf-card-hover{ opacity: 0; }
	}
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce){
	.sf-card-hover{ transition: none; }
}
/* Phone: a sideways scroller inside the photo; a vertical swipe still scrolls the page. The name's
   link stretches over the whole card, so the photos rise above it to get the swipe, and
   storefront.js opens the product on a tap. `is-swipe` comes from storefront.js, which also draws
   a photo (is-near) just before it is needed. Badges and stamps let the swipe through. */
@media (hover: none), (pointer: coarse){
	.sf-card-media.is-swipe{ z-index: 2; }
	.is-swipe .sf-card-photos{ display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
	.is-swipe .sf-card-photo{ display: grid; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
	.is-swipe .sf-card-photo:not(:first-child) img{ display: none; }
	.is-swipe .sf-card-photo.is-near img{ display: block; }
	.is-swipe .sf-card-dots{ display: flex; }
	.is-swipe .sf-badge, .is-swipe .sf-card-marks{ pointer-events: none; }
	/* In a row that slides, past the last photo the swipe moves the row; elsewhere it stops, so it never turns the page back. */
	.sf-carousel .is-swipe .sf-card-photos{ overscroll-behavior-x: auto; }
}
.sf-card-body{ display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sf-card-brand{ font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sf-card-title{ font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
/* The part number above a card's name (a preset's `part_numbers`, Spool): the theme's mono. */
.sf-card-pn{ margin: 0; font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.sf-card-link{ color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-block-size: 2.7em; }
.sf-card-link::after{ content: ""; position: absolute; inset: 0; z-index: 1; }
.sf-card-link:hover{ text-decoration: underline; }
/* The product's short line under the name (QA P11): one line, cut with an ellipsis, so cards keep one height. */
.sf-card-subtitle{ margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-card-seller{ font-size: 12.5px; color: var(--muted); }
.sf-card-seller a{ position: relative; z-index: 2; color: var(--muted); }
.sf-card-seller a:hover{ color: var(--ink); }
.sf-card-stock{ font-size: 13px; color: var(--danger); font-weight: 600; margin-block-start: auto; }
.sf-card-add{ position: relative; z-index: 2; margin-block-start: auto; inline-size: 100%; }
.sf-card-add.is-done{ background: var(--accent); color: var(--on-accent); }
/* On a phone two cards share the row: the card button keeps one line (Moda's and Stadion's spaced capitals
   wrapped "Choose / options"), its words cut with an ellipsis rather than doubling the button (theme polish 2026-11-27). */
@media (max-width: 767px){
	.sf-card-add{ padding-inline: 6px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.sf-card.is-out .sf-card-media img{ opacity: 0.55; }

/* The card style the shop picked (body class card-tile, card-outline, card-minimal, card-tall). */
.card-outline .sf-card{ border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); padding: 10px 10px 14px; }
.card-outline .sf-card-media{ background: var(--paper); border-radius: var(--r); }
.card-outline .sf-card-body{ padding-inline: 4px; }
.card-minimal .sf-card-media{ background: var(--paper); border: 1px solid var(--line); }
.card-minimal .sf-card-add{ display: none; }
.card-minimal .sf-card-title{ font-weight: 600; }
/* Tall: the picture fills a 3:4 frame edge to edge (fashion pictures), on the tile's background. */
.card-tall .sf-card-media{ aspect-ratio: 3 / 4; }
.card-tall .sf-card-media img{ inline-size: 100%; block-size: 100%; object-fit: cover; }
/* Arch: the picture has an arched top (Salve theme); the badge sits low, where the arch does not cut it. */
.card-arch .sf-card-media{ aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); }
.card-arch .sf-card-media img{ inline-size: 100%; block-size: 100%; object-fit: cover; }
/* Pictures that fill the box cover the first photo themselves: no ground, so it stays while the second loads. */
.card-tall .sf-card-photo, .card-arch .sf-card-photo{ background: none; }
.card-arch .sf-badge{ inset-block-start: auto; inset-block-end: 12px; }
.card-arch .sf-card-wish{ inset-block-start: auto; inset-block-end: 4px; }
/* The heart sits low there, so the eye keeps the top corner. */
.card-arch .sf-card-wish:not([hidden]) ~ .sf-card-quick{ inset-inline-end: 8px; }

/* Colour schemes (Section styles, spec §2). A section with a scheme other than Page carries
   .sf-scheme-soft, -accent or -dark on its wrapper (ShopSectionStyle::classes()); the shop's
   /theme.css re-points the colour tokens on it and paints its ground (ShopThemeTokensCss), so
   every part inside follows, product cards too: their words, price and button use the scheme's
   tokens, which /theme.css keeps readable on its ground. A column a theme colours by re-pointing
   the tokens (Salve's first) works the same way. A box with a ground of its own takes the page's
   colours back: a look's open card, the chat panel, the classic hero's strip, the progress hero and
   slideshows, a product's picture. */
/* The page's own colours, kept on the page itself and not on the coloured element: a custom
   property's var() is worked out on the element that sets it, so on a schemed wrapper or a
   coloured column it would read the scheme's colours, not the page's. */
.sf{ --page-paper: var(--paper); --page-ink: var(--ink); --page-ink-2: var(--ink-2); --page-ink-hover: var(--ink-hover); --page-muted: var(--muted); --page-placeholder: var(--placeholder); --page-line: var(--line); --page-tile: var(--tile); --page-on-ink: var(--on-ink); --page-topbar-text: var(--topbar-text); --page-danger: var(--danger); --page-accent: var(--accent); --page-on-accent: var(--on-accent); --page-accent-ink: var(--accent-ink); --page-sf-accent-2: var(--sf-accent-2); --page-sf-on-accent-2: var(--sf-on-accent-2); --page-sf-accent-2-hover: var(--sf-accent-2-hover); }
:is(.sf-column, .sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark) :is(.sf-look-card, .sf-iwt-chat, .sf-hero-slides, .sf-progress, .sf-slideshow, .sf-card-media){ --paper: var(--page-paper); --ink: var(--page-ink); --ink-2: var(--page-ink-2); --ink-hover: var(--page-ink-hover); --muted: var(--page-muted); --placeholder: var(--page-placeholder); --line: var(--page-line); --tile: var(--page-tile); --on-ink: var(--page-on-ink); --topbar-text: var(--page-topbar-text); --danger: var(--page-danger); --accent: var(--page-accent); --on-accent: var(--page-on-accent); --accent-ink: var(--page-accent-ink); --sf-accent-2: var(--page-sf-accent-2); --sf-on-accent-2: var(--page-sf-on-accent-2); --sf-accent-2-hover: var(--page-sf-accent-2-hover); color: var(--ink); }
/* On the page a scheme's words never touch the coloured edge. The section's own top gap moves to
   the wrapper's margin (the same section gap times Space above), so the band starts where the
   section did and the room above it is Space above's. Full width runs square to the edges. */
.sf-section:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ margin-block-start: calc(var(--sf-sec-gap, 72px) * var(--sf-gap, 1) * var(--sf-space-top, 1)); padding-block: calc(48px * var(--sf-gap, 1)); padding-inline: 32px; border-radius: calc(var(--r) * 1.5); }
.sf-section:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark) > *{ margin-block-start: 0; }
.sf-section.sf-width-full:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ border-radius: 0; }
/* A hero, the promo tiles and a slideshow sit 24px under what is above them, and the trust strip
   16px (home.css), not a whole section gap: a band in their place keeps that room. */
.sf-section:is(.sf-section--hero, .sf-section--promo_tiles, .sf-section--slideshow):is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ margin-block-start: calc(24px * var(--sf-space-top, 1)); }
.sf-section.sf-section--trust_strip:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ margin-block-start: calc(16px * var(--sf-space-top, 1)); }
/* In a column the column spaces its children: a schemed child only keeps its words off its edge.
   It comes after the two rules above, at the same weight, so a hero in a column takes no margin. */
.sf-column .sf-section:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ margin-block-start: 0; padding: 24px; }
@media (max-width: 720px){ .sf-section:is(.sf-scheme-soft, .sf-scheme-accent, .sf-scheme-dark){ padding-inline: 16px; } }

/* The category tip tile (Salve theme): one place in the grid, as tall as the cards beside it. */
.sf-section--category_tip{ block-size: 100%; }
.sf-tip{ display: flex; flex-direction: column; gap: 12px; block-size: 100%; padding: 24px; border-radius: calc(var(--r) * 1.5); background: var(--ink); color: var(--on-ink); text-decoration: none; }
.sf-tip-title{ font-family: var(--font-heading); font-size: 24px; font-weight: 500; line-height: 1.15; }
.sf-tip-text{ font-size: 15px; line-height: 1.5; opacity: 0.85; }
.sf-tip-link{ display: inline-flex; align-items: center; gap: 6px; margin-block-start: auto; font-weight: 600; font-size: 14.5px; }
/* The promo card: the same tile with a picture filling it under a shade, a small label over the
   heading and the link text as a pill button. Its words stay light whatever the colour scheme. */
.sf-tip-label{ font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
/* The photo promo card opens the grid (owner's mockup P1, 2026-11-26); the plain tip keeps
   its fourth place in the markup, so Salve and Agros look as before. Only the look moves:
   the card stays after three products for a screen reader, which is fine for a promotion. */
.sf-grid-item:has(> .sf-tip--photo){ order: -1; }
.sf-tip--photo{ position: relative; isolation: isolate; overflow: hidden; min-block-size: 320px; color: var(--tip-photo-text); }
.sf-tip--photo::before{ content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--tip-shade), var(--tip-shade-mid) 45%, var(--tip-shade)); }
.sf-tip-img{ position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sf-tip--photo:hover .sf-tip-img{ transform: scale(1.03); }
.sf-tip--photo .sf-tip-link{ align-self: flex-start; padding-block: 9px; padding-inline: 18px; border-radius: 999px; background: var(--tip-pill); color: var(--tip-pill-text); }
.sf-tip--photo .sf-tip-link .sf-ico{ display: none; }
@media (prefers-reduced-motion: reduce){ .sf-tip--photo:hover .sf-tip-img{ transform: none; } }

/* Price: the amount; during a sale the prior price struck through. */
.sf-price{ display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-block-start: 2px; }
.sf-price-now{ font-family: var(--font-mono); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sf-price-was{ font-family: var(--font-mono); color: var(--muted); font-size: 14px; }

/* Paging: how many are shown, "Show more", numbered pages. */
.sf-pager{ display: flex; flex-direction: column; align-items: center; gap: 14px; margin-block-start: 48px; }
.sf-pager-count{ font-size: 14px; color: var(--muted); }
.sf-pager-bar{ inline-size: min(240px, 100%); block-size: 3px; appearance: none; border: 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.sf-pager-bar::-webkit-progress-bar{ background: var(--line); }
.sf-pager-bar::-webkit-progress-value{ background: var(--ink); }
.sf-pager-bar::-moz-progress-bar{ background: var(--ink); }
.sf-pager-more{ min-inline-size: 220px; }
.sf-pager-pages{ display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: wrap; justify-content: center; }
.sf-pager-num, .sf-pager-step{ display: inline-grid; place-items: center; min-inline-size: 44px; block-size: 44px; padding-inline: 8px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-family: var(--font-mono); font-size: 14px; }
.sf-pager-num:hover, .sf-pager-step:hover{ background: var(--tile); }
.sf-pager-num.is-current{ background: var(--ink); color: var(--on-ink); font-weight: 700; }
.sf-pager-gap{ color: var(--muted); padding-inline: 4px; }

/* Empty state. */
.sf-empty{ display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-block: 64px; max-inline-size: 520px; margin-inline: auto; }
.sf-empty-ico{ inline-size: 40px; block-size: 40px; color: var(--muted); }
.sf-empty-title{ font-size: 22px; }
.sf-empty-text{ color: var(--ink-2); }

/* The All categories page (owner 2026-11-15): a card per top category; one across a phone,
   two from about 520px, more on wider screens. A card without a picture starts with its name. */
.sf-catdir{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 16px; margin-block-start: 24px; list-style: none; }
.sf-catdir-card{ display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--r) * 1.5); background: var(--paper); }
.sf-catdir-img{ display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.sf-catdir-img img{ display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sf-catdir-card:hover .sf-catdir-img img{ transform: scale(1.04); }
.sf-catdir-body{ display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.sf-catdir-name{ font-size: 19px; line-height: 1.25; }
.sf-catdir-name a{ color: var(--ink); text-decoration: none; }
.sf-catdir-name a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.sf-catdir-count{ font-size: 13px; color: var(--muted); }
.sf-catdir-text{ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sf-catdir-subs{ display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 6px; list-style: none; }
.sf-catdir-subs a{ display: inline-flex; align-items: center; min-block-size: 34px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; text-decoration: none; }
.sf-catdir-subs a:hover{ border-color: var(--ink); }
@media (prefers-reduced-motion: reduce){ .sf-catdir-img img{ transition: none; } }

/* The mini cart: a drawer at the reading end of the screen. */
.sf-drawer{ margin-block: 0; margin-inline: auto 0; inline-size: min(420px, 100vw); max-inline-size: 100vw; block-size: 100%; max-block-size: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 0 40px var(--shadow-lift); }
.sf-drawer::backdrop{ background: var(--backdrop); }
.sf-drawer[open]{ display: flex; flex-direction: column; }
.sf-drawer-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-block-end: 1px solid var(--line); }
.sf-drawer-title{ font-size: 20px; }
.sf-drawer-body{ display: flex; flex-direction: column; gap: 16px; padding: 20px; overflow-y: auto; flex: 1; }
.sf-drawer-empty{ color: var(--ink-2); }
/* The quick view panel (storefront.js `quick-view`, product/quick_view.php): a wider drawer at the reading
   end on a computer, a sheet from the bottom on a phone. Its parts are the product page's (gallery,
   pickers, buy form, product.css), made to fit the narrow panel here. */
.sf-quick{ inline-size: min(480px, 100vw); }
.sf-quick-title{ font-size: 18px; line-height: 1.3; }
/* The sheet on a phone is only as tall as its content (at most 90% of the screen): the body scrolls inside it. */
.sf-quick .sf-drawer-body{ min-block-size: 0; }
.sf-quick .sf-pdp-gallery{ position: static; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "thumbs"; gap: 10px; }
.sf-quick .sf-pdp-thumbs{ flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sf-quick .sf-pdp-thumbs li{ flex: none; }
.sf-quick .sf-pdp-thumb{ inline-size: 64px; block-size: 64px; }
.sf-quick .sf-pdp-stage{ aspect-ratio: 4 / 3; cursor: auto; }
.sf-quick .sf-pdp-stage img{ inline-size: auto; max-inline-size: 76%; max-block-size: 86%; }
.sf-quick .sf-pdp-stage:hover img{ transform: none; }
.sf-quick .sf-pdp-price{ padding-block: 14px; }
.sf-quick .sf-pdp-price .sf-price-now{ font-size: 28px; }
.sf-quick .sf-pdp-act{ flex-wrap: wrap; }
.sf-quick-details{ inline-size: 100%; }
@media (prefers-reduced-motion: no-preference){
	.sf-quick[open]{ animation: sf-quick-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes sf-quick-in{ from{ transform: translateX(calc(100% * var(--ic-dir, 1))); } to{ transform: none; } }
@media (max-width: 900px){
	.sf-quick{ margin-block: auto 0; margin-inline: 0; inline-size: 100%; block-size: auto; max-block-size: 90dvh; border-start-start-radius: 16px; border-start-end-radius: 16px; }
	.sf-quick .sf-pdp-stage{ aspect-ratio: 1; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference){
	.sf-quick[open]{ animation-name: sf-quick-up; }
}
@keyframes sf-quick-up{ from{ transform: translateY(100%); } to{ transform: none; } }
.sf-mini-lines{ list-style: none; display: grid; gap: 12px; }
/* A line: its picture, the title over the quantity, the total over the "Remove" button (owner list 1 F5). */
.sf-mini-line{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "img title total" "img qty remove"; gap: 2px 12px; align-items: start; padding-block-end: 12px; border-block-end: 1px solid var(--line); }
.sf-mini-img{ grid-area: img; inline-size: 56px; block-size: 56px; object-fit: cover; border-radius: var(--r); background: var(--tile); }
.sf-mini-title{ grid-area: title; font-weight: 500; }
.sf-mini-qty{ grid-area: qty; font-size: 13px; color: var(--muted); }
.sf-mini-booking{ display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.sf-mini-total{ grid-area: total; font-family: var(--font-mono); font-weight: 600; text-align: end; }
.sf-mini-remove{ grid-area: remove; justify-self: end; }
.sf-mini-remove .sf-co-link{ min-block-size: 24px; color: var(--muted); }
.sf-mini-remove .sf-co-link:hover{ color: var(--ink); }
.sf-mini-sub{ display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sf-mini-sub b{ font-family: var(--font-mono); }

/* The Product reviews app's stars (Phase 11a): under the product's name, on cards, in the
   Reviews section and beside the write page's star radios. Here because they sit on pages of
   every family. Filled stars take the shop's accent; empty ones stay an outline in the muted
   colour, so they differ by shape as well as colour. Sized by the text around them (em);
   filled come first in reading order, so a right-to-left page fills from the right. */
.sf-stars{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 0.875em; line-height: 1.2; }
.sf-stars a{ display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.sf-stars a:hover .sf-stars-count, .sf-stars a:focus-visible .sf-stars-count{ text-decoration: underline; }
.sf-stars-count{ color: var(--muted); }
.sf-stars-icons{ display: inline-block; font-size: 1.1em; letter-spacing: 0.08em; line-height: 1; white-space: nowrap; }
.sf-stars-on{ color: var(--accent-ink); }
.sf-stars-off{ color: var(--muted); }

/* Footer. */
.sf-foot{ margin-block-start: auto; border-block-start: 1px solid var(--line); padding-block: 56px 32px; background: var(--paper); }
.sf-foot-cols{ display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.sf-foot-about p{ font-size: 14px; color: var(--ink-2); max-inline-size: 34ch; margin-block-start: 16px; }
.sf-foot-title{ font-family: var(--font-body); font-size: 14px; font-weight: 650; letter-spacing: 0; margin-block-end: 14px; }
.sf-foot-col ul, .sf-legal ul, .sf-pick ul{ list-style: none; }
.sf-foot-col ul{ display: grid; }
/* 44 px tall to tap (spec §2.6): the rows touch, the height gives the space between them. */
.sf-foot-col a{ display: inline-flex; align-items: center; min-block-size: 44px; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.sf-foot-col a:hover{ color: var(--ink); text-decoration: underline; }
/* A text column (Theme editor 2 Task 5): links inside the text stay in the line. */
.sf-foot-text{ font-size: 14px; color: var(--ink-2); max-inline-size: 34ch; }
.sf-foot-text p + p{ margin-block-start: 8px; }
.sf-foot-col .sf-foot-text a{ display: inline; min-block-size: 0; color: var(--ink); text-decoration: underline; }
/* A social column (2026-11-15): the networks' icons in a row, each a 40 px target around its
   20 px glyph, in the footer's text colour (the glyph draws in currentColor). */
.sf-foot-col .sf-foot-social{ display: flex; flex-wrap: wrap; gap: 4px; margin-inline-start: -10px; }
.sf-foot-col .sf-foot-social a{ inline-size: 40px; min-block-size: 40px; justify-content: center; border-radius: var(--r); }
.sf-foot-col .sf-foot-social a:hover{ background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; }
/* Up to six columns beside the about text (four or fewer keep the 10c grid). */
@media (min-width: 1001px){
	.sf-foot-cols:has(> :nth-child(6)){ grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); }
	.sf-foot-cols:has(> :nth-child(7)){ grid-template-columns: 1.2fr repeat(6, minmax(0, 1fr)); }
}
.sf-foot-bottom{ position: relative; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-block-start: 48px; padding-block-start: 24px; font-size: 13px; color: var(--muted); }
/* Its line runs with the page's content, not across the page's side padding. */
.sf-foot-bottom::before{ content: ""; position: absolute; inset-block-start: 0; inset-inline: 32px; block-size: 1px; background: var(--line); }
.sf-legal ul, .sf-pick ul{ display: flex; gap: 4px 16px; flex-wrap: wrap; }
.sf-foot-bottom a{ color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-block-size: 44px; }
.sf-foot-bottom a:hover, .sf-foot-bottom a[aria-current="true"]{ color: var(--ink); text-decoration: underline; }
.sf-pay{ display: flex; gap: 6px; flex-wrap: wrap; list-style: none; }
.sf-pay-mark{ border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sf-pick{ display: flex; gap: 4px; align-items: center; }
.sf-powered{ margin-inline-start: auto; }

@media (max-width: 1200px){
	.sf-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
	/* The words beside the icons stay for screen readers: they are the links' names. */
	.sf-act-lbl{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 1000px){
	.sf-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sf-foot-cols{ grid-template-columns: 1fr 1fr; }
	.sf-foot-about{ grid-column: 1 / -1; }
}

@media (max-width: 900px){
	.sf-hdr-row{ grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
	.sf-search{ grid-column: 1 / -1; order: 3; }
	.sf-hdr--logo-centre .sf-search{ grid-column: 1 / -1; grid-row: 2; }
	/* On a narrow screen the menu scrolls sideways; the second level is on the category pages. */
	.sf-nav-row{ overflow-x: auto; scrollbar-width: none; }
	.sf-nav-list, .sf-nav-extra{ flex-wrap: nowrap; }
	.sf-nav-sub, .sf-nav-item:hover > .sf-nav-sub, .sf-nav-item:focus-within > .sf-nav-sub{ display: none; }
}

@media (max-width: 720px){
	.sf-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}
/* Products per row on phones (Styles, `sf-phone-per-row-1` on <body>): one card a row in every product
   grid, listings and product rows alike. A sideways row (`.sf-carousel`) keeps its own card width.
   `body.sf.` puts it above the listing's, the editorial layout's and a column's own 2 per row. */
@media (max-width: 720px){
	body.sf.sf-phone-per-row-1 :not(.sf-carousel) > .sf-grid{ grid-template-columns: minmax(0, 1fr); }
}

/* A phone: the shop's name stays on one line, smaller, and a very long one fades out in dots. */
@media (max-width: 560px){
	.sf-hdr .sf-logo-word{ overflow: hidden; font-size: 18px; white-space: nowrap; text-overflow: ellipsis; }
}

/* 44px to tap on a phone (spec §2.6). A link inside a line of text stays in it: padding gives
   the height and the same negative margin takes it back, so nothing around it moves. */
@media (max-width: 720px){
	.sf-foot-bottom::before{ inset-inline: 16px; }
	.sf-act{ min-inline-size: 44px; justify-content: center; }
	.sf-logo{ min-block-size: 44px; margin-block: -4px; }
	.sf-topbar-link{ padding-block: 12px; margin-block: -4px; }
	.sf-nav-link{ display: flex; align-items: center; min-block-size: 44px; }
	.sf-catdir-subs a{ min-block-size: 44px; }
	.sf-crumbs a, .sf-card-seller a, .sf-listing-seller a{ display: inline-block; padding: 12px 4px; margin: -12px -4px; }
	.sf-foot-col .sf-foot-social{ margin-inline-start: -12px; }
	.sf-foot-col .sf-foot-social a{ inline-size: 44px; min-block-size: 44px; }
	.sf-mini-remove .sf-co-link{ padding-block: 10px; margin-block: -10px; }
}

@media (max-width: 560px){
	.sf-search-cat{ display: none; }
	/* The Menu button's word stays for screen readers: it is the button's name. */
	.sf-mdrawer-btn-lbl{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.sf-foot-cols{ grid-template-columns: 1fr; }
	.sf-powered{ margin-inline-start: 0; }
}

/* The logo-centre header on a phone (Section styles phase; Salve and Chrysos each had a copy): the
   logo moves to the start, as in the middle a long shop name runs into the icons. */
@media (max-width: 720px){
	.sf-hdr--logo-centre .sf-hdr-row{ grid-template-columns: minmax(0, 1fr) auto; }
	.sf-hdr--logo-centre .sf-logo{ grid-column: 1; }
	.sf-hdr--logo-centre .sf-acts{ grid-column: 2; }
}

/* The side drawer on a phone (M6): the Menu button and logo start the row as the logo does above, and a
   category's next level takes the whole panel, with Back. */
@media (max-width: 720px){
	.sf-hdr--logo-centre .sf-hdr-brand{ grid-column: 1; }
	.sf-mdrawer-sub{ inset-inline-start: 0; inline-size: 100%; background: var(--paper); }
	.sf-mdrawer-back{ display: flex; align-items: center; gap: 6px; min-block-size: 44px; margin-block-end: 8px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
	.sf-mdrawer-back .sf-ico{ inline-size: 16px; block-size: 16px; }
}

/* The centred header's layout (a preset's `header_layout = centred`, sf-l-header_layout-centred;
   moved from moda.css in the Section styles phase, so every theme that picks it gets it): the shop
   name in the middle, the menu items as tall as the row, the icons without their words (still read
   out) and the count on the icon's corner. Above 1200px the menu has its own row under the name.
   On a phone the saved list stays one tap away in My account, and the name gets the room left
   between the menu button and the icons. The look of it (hairline, type, the line drawn under an
   item) is the theme's. Last in this file: it outweighs the classic header's rules above. */
.sf-l-header_layout-centred .sf-hdr-row{ min-block-size: 76px; padding-block: 0; }
.sf-l-header_layout-centred .sf-hdr .sf-nav-link{ position: relative; display: flex; align-items: center; block-size: 76px; padding: 0; }
.sf-l-header_layout-centred .sf-act{ padding: 0; inline-size: 44px; justify-content: center; }
.sf-l-header_layout-centred .sf-act-lbl{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sf-l-header_layout-centred .sf-count{ inset-block-start: 5px; inset-inline-start: auto; inset-inline-end: 3px; }
/* The side drawer's Menu button keeps its word beside the squared icons. */
.sf-l-header_layout-centred .sf-hdr .sf-mdrawer-btn{ inline-size: auto; padding-inline: 10px; }
/* The space between two menu items (26px unless a theme sets its own --sf-nav-gap) also stands
   before the extra links, so "More" and "Brands" sit as far apart as any two items. The items
   have no padding of their own here, so this space is all that keeps their words apart. */
.sf-l-header_layout-centred .sf-hdr :is(.sf-nav-row, .sf-nav-list, .sf-nav-extra){ column-gap: var(--sf-nav-gap, 26px); }

@media (min-width: 1201px){
	/* The menu's own row sits right under the name's: no row gap between them. */
	.sf-l-header_layout-centred .sf-hdr-row{ grid-template-rows: 76px auto; row-gap: 0; }
	.sf-l-header_layout-centred .sf-hdr .sf-nav-link{ block-size: 48px; }
}

@media (max-width: 1200px){
	.sf-l-header_layout-centred .sf-hdr .sf-nav-link{ block-size: auto; min-block-size: 52px; }
}

@media (max-width: 900px){
	.sf-l-header_layout-centred .sf-hdr-row{ min-block-size: 64px; }
}

@media (max-width: 560px){
	.sf-l-header_layout-centred .sf-hdr-row{ grid-template-columns: auto minmax(0, 1fr) auto; }
	.sf-l-header_layout-centred .sf-hdr .sf-logo{ justify-self: center; min-inline-size: 0; max-inline-size: 100%; }
	.sf-l-header_layout-centred .sf-hdr .sf-logo-word{ display: block; overflow: hidden; text-overflow: ellipsis; }
	/* A long name gives way, never the square logo mark beside it. */
	.sf-l-header_layout-centred .sf-hdr .sf-logo-mark{ flex-shrink: 0; }
	.sf-l-header_layout-centred .sf-act--wishlist{ display: none; }
}
