/*
 * Nfelia — Storefront
 *
 * One sheet for every shop. Colours, fonts and corner shapes arrive as custom
 * properties from storefront_resolve() (app/helpers/storefront.php), so a
 * shop's look is data: .look-* classes below only change layout and the
 * signature details each look is known for. Shop Studio changes the
 * properties live in its preview.
 *
 * Mobile first: phones are the base; 720px and 1080px open the layout up.
 */

/* ── Base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; color-scheme: light; }
html.is-dark { color-scheme: dark; }
body {
    margin: 0;
    background: var(--sf-ground);
    color: var(--sf-ink);
    font-family: var(--sf-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
html.has-bagbar body { padding-bottom: 104px; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--sf-ink); outline-offset: 3px; }

.sf-sr {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sf-skip {
    position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 10px;
    background: var(--sf-ink); color: var(--sf-ground); font-weight: 700; text-decoration: none;
}
.sf-skip:focus { top: 12px; }
.sf-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

/* ── Type ─────────────────────────────────────────── */

.sf-h1, .sf-h2, .sf-h3, .sf-brand__name, .sf-footer__brand, .sf-ph__mark {
    font-family: var(--sf-head);
    font-weight: var(--sf-head-weight);
    font-stretch: var(--sf-head-stretch);
}
.sf-h1 { font-size: calc(42px * var(--sf-scale)); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.sf-h2 { font-size: calc(30px * var(--sf-scale)); line-height: 1.12; text-wrap: balance; }
.sf-h3 { font-size: calc(22px * var(--sf-scale)); line-height: 1.18; }
.sf-lead { font-size: 17px; line-height: 1.55; color: var(--sf-muted); text-wrap: pretty; }
.sf-lead + .sf-lead { margin-top: -4px; }
.sf-prose { font-size: 17px; line-height: 1.6; }
.sf-prose p + p { margin-top: 12px; }

/* ── Buttons and links ────────────────────────────── */

.sf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 24px;
    border: 1.5px solid transparent; border-radius: var(--sf-r-btn);
    background: var(--sf-accent); color: var(--sf-on);
    font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
    transition: filter 150ms ease, transform 100ms ease;
}
.sf-btn:hover { filter: brightness(1.08); }
.sf-btn:active { transform: translateY(1px); }
.sf-btn svg { flex-shrink: 0; }
.sf-btn--outline { background: transparent; color: var(--sf-ink); border-color: currentColor; }
.sf-btn--outline:hover { filter: none; background: var(--sf-tint); }
.sf-btn--ink { background: var(--sf-ink); color: var(--sf-ground); }
.sf-btn--band { background: var(--sf-band); color: var(--sf-band-ink); }
.sf-btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.sf-btn--block { display: flex; width: 100%; }
.sf-btn--grow { flex: 1; }
.sf-btn[disabled], .sf-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.sf-link {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--sf-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.sf-link--button { padding: 0; border: 0; background: none; cursor: pointer; }
.sf-iconbtn {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-btn); background: transparent; color: var(--sf-ink); text-decoration: none;
}
.sf-iconbtn--bare { border-color: transparent; }

/* ── Header ───────────────────────────────────────── */

.sf-header { position: relative; z-index: 5; background: var(--sf-ground); }
.sf-header__inner { display: flex; align-items: center; gap: 10px; min-height: 64px; padding-block: 8px; }
.sf-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.sf-brand__logo { width: auto; height: 40px; max-width: 120px; object-fit: contain; border-radius: 8px; }
.sf-brand__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sf-brand__name { font-size: calc(24px * var(--sf-scale)); line-height: 1.05; }
.sf-brand__sub { font-size: 14px; color: var(--sf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-brand__mono {
    width: 50px; height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 4px solid var(--sf-accent); box-shadow: inset 0 0 0 3px var(--sf-card), inset 0 0 0 4px var(--sf-line);
    background: var(--sf-card); color: var(--sf-accent-text);
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 18px; line-height: 1;
}
.sf-bagbtn {
    position: relative; flex-shrink: 0; width: 44px; height: 44px; margin-right: -8px;
    display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--sf-ink);
}
.sf-badge {
    position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
    background: var(--sf-accent); color: var(--sf-on); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}

/* Market: a slim header with its second colour along the top, so the
   painted price board under it is the bold thing */
.sf-header--band { border-top: 6px solid var(--sf-band); box-shadow: 0 1px 0 var(--sf-line); }
.sf-header--band .sf-badge { background: var(--sf-band); color: var(--sf-band-ink); border-radius: 4px; }
.sf-header--band .sf-brand__name { font-size: calc(28px * var(--sf-scale)); }

/* ── Announcement ─────────────────────────────────── */

.sf-announce { background: var(--sf-accent); color: var(--sf-on); text-align: center; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sf-announce p { padding-block: 9px; }
.sf-gap-inline { opacity: 0.8; font-style: italic; }

/* ── Hero ─────────────────────────────────────────── */

.sf-hero { padding-bottom: 32px; }
.sf-hero__grid { display: flex; flex-direction: column; gap: 18px; }
.sf-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sf-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 6px; }
.sf-hero__badge {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--sf-r-chip);
    background: var(--sf-tint); color: var(--sf-ink); font-size: 14px; font-weight: 600;
}
.sf-hero__frame { position: relative; overflow: hidden; border-radius: var(--sf-r-hero); background: var(--sf-surface); aspect-ratio: 350 / 230; }
.sf-hero__frame > svg,
.sf-hero__frame > picture,
.sf-hero__frame > img,
.sf-hero__frame > video,
.sf-plate > svg,
.sf-plate > picture,
.sf-plate > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-hero__frame picture img,
.sf-hero__frame > img,
.sf-plate picture img,
.sf-plate > img { width: 100%; height: 100%; object-fit: cover; }
.sf-hero__video { object-fit: cover; opacity: 0; transition: opacity 300ms ease; }
.sf-hero__video.is-playing { opacity: 1; }

/* Buka's plates (the menu's photos) and its sticker */
.sf-plate { position: relative; display: block; overflow: hidden; border-radius: 50%; }
.sf-roundel {
    position: absolute; top: -6px; right: -34px; width: 104px; height: 104px; padding: 10px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--sf-band); color: var(--sf-band-ink); text-align: center;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: 15px; line-height: 1.1;
    transform: rotate(-9deg);
}

/* Volt: specs first, then the categories as tiles */
.sf-hero--spec { padding-top: 22px; }
.sf-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--sf-muted); }
.sf-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.sf-hero__flag { padding: 2px 8px; border-radius: 4px; background: var(--sf-band); color: var(--sf-band-ink); font-weight: 700; }
.sf-cattiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sf-cattile {
    min-height: 84px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--sf-r-card); background: var(--sf-card); color: var(--sf-ink);
    font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
}
.sf-cattile:last-child { background: var(--sf-ink); color: var(--sf-ground); }
.sf-cattile span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }


/* Stage: an arch */
.sf-hero--arch .sf-hero__frame { aspect-ratio: 350 / 340; border-radius: 50% 50% 18px 18px / 51.5% 51.5% 18px 18px; }
.sf-hero--arch .sf-h1 { font-size: calc(40px * var(--sf-scale)); line-height: 1.16; }

/* Harvest: a crate photo with a stamp */
.sf-hero--stamp .sf-hero__frame { aspect-ratio: 350 / 250; overflow: visible; border: 3px solid var(--sf-field); background: none; }
.sf-hero--stamp .sf-hero__frame > svg,
.sf-hero--stamp .sf-hero__frame > picture,
.sf-hero--stamp .sf-hero__frame > img,
.sf-hero--stamp .sf-hero__frame > video { border-radius: calc(var(--sf-r-hero) - 3px); overflow: hidden; }
.sf-hero--stamp .sf-hero__frame picture img { border-radius: calc(var(--sf-r-hero) - 3px); }
.sf-stamp {
    position: absolute; top: -16px; right: -8px; z-index: 1; width: 128px; height: 128px; padding: 14px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    border: 3px solid var(--sf-accent); box-shadow: inset 0 0 0 4px var(--sf-ground), inset 0 0 0 5.5px var(--sf-accent);
    background: var(--sf-ground); color: var(--sf-accent-text); text-align: center;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 21px; line-height: 1;
    transform: rotate(-12deg);
}
.sf-hero--stamp .sf-h1 { font-size: calc(46px * var(--sf-scale)); line-height: 0.98; }

/* Shea before its skin finder: words first, then a soft photo */
.sf-hero--shelf .sf-hero__frame { aspect-ratio: 350 / 170; background: var(--sf-surface); }
.sf-hero--shelf .sf-hero__grid { flex-direction: column-reverse; }

/* Haven: the building first */
.sf-hero--facade .sf-hero__frame { aspect-ratio: 350 / 200; }
.sf-hero--facade .sf-h1 { font-size: calc(42px * var(--sf-scale)); }

/* Desk: a price estimate card */
.sf-hero--estimator .sf-h1 { font-size: calc(42px * var(--sf-scale)); line-height: 1.02; }
.sf-estimator {
    display: flex; flex-direction: column; gap: 14px; padding: 18px;
    border-radius: 24px; background: var(--sf-card);
    box-shadow: 0 1px 2px rgba(20, 16, 40, 0.06), 0 14px 34px rgba(20, 16, 40, 0.1);
}
.sf-estimator fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-estimator legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.sf-estimator__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-estimator__band {
    display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px;
    background: var(--sf-band); color: var(--sf-band-ink);
}
.sf-estimator__band strong { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(28px * var(--sf-scale)); line-height: 1.1; }
.sf-estimator__band span { font-size: 15px; font-weight: 500; }
.sf-estimator__band span:empty { display: none; }
.sf-estimator__actions { display: flex; flex-direction: column; gap: 10px; }

/* Choice chips (radio buttons) */
.sf-choice { position: relative; display: inline-flex; }
.sf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-choice span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-chip);
    background: var(--sf-card); font-size: 15px; font-weight: 500; cursor: pointer;
}
.sf-choice input:checked + span { border-color: var(--sf-accent); background: var(--sf-accent); color: var(--sf-on); font-weight: 700; }
.sf-choice input:focus-visible + span { outline: 2px solid var(--sf-ink); outline-offset: 2px; }
.sf-choice__delta { margin-left: 6px; font-size: .82em; font-weight: 600; opacity: .72; }
.sf-choice input:checked + span .sf-choice__delta { opacity: .9; }
.sf-buy__chosen { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--sf-ink); }

/* ── Sections ─────────────────────────────────────── */

.sf-section { padding-block: 28px; }
.sf-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sf-section__count { font-size: 14px; color: var(--sf-muted); white-space: nowrap; }
.sf-section__head > .sf-link { flex-shrink: 0; white-space: nowrap; }
.sf-empty { padding: 12px 0; color: var(--sf-muted); }
.sf-gap {
    padding: 18px; border: 2px dashed var(--sf-field); border-radius: var(--sf-r-card);
    color: var(--sf-muted); font-size: 15px; text-align: center;
}

/* Filters and search */
.sf-filters {
    display: flex; align-items: center; gap: 8px; margin: 0 -20px 18px; padding: 2px 20px 6px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sf-filters::-webkit-scrollbar { display: none; }
.sf-filters__label { flex-shrink: 0; font-size: 15px; font-weight: 700; margin-right: 4px; }
.sf-filter {
    flex-shrink: 0; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-chip);
    background: transparent; color: var(--sf-ink); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.sf-filter[aria-pressed="true"] { border-color: var(--sf-accent); background: var(--sf-accent); color: var(--sf-on); font-weight: 700; }
.sf-search { position: relative; display: block; margin-bottom: 14px; }
.sf-search svg { position: absolute; left: 14px; top: 14px; color: var(--sf-muted); pointer-events: none; }
.sf-search input {
    width: 100%; height: 48px; padding: 0 14px 0 44px; border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field);
    background: var(--sf-card); color: var(--sf-ink); font-size: 16px;
}
.sf-search input::placeholder { color: var(--sf-muted); }

/* Groups (menus and price lists) */
.sf-group + .sf-group { margin-top: 26px; }
.sf-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
.sf-group__col { font-size: 13px; color: var(--sf-muted); }

/* ── Product media and placeholders ───────────────── */

.sf-item__media, .sf-tile__media {
    position: relative; display: block; overflow: hidden; container-type: inline-size;
    border-radius: var(--sf-r-tile); background: var(--sf-surface); text-decoration: none;
}
.sf-media { position: absolute; inset: 0; display: block; }
.sf-media picture, .sf-media img { width: 100%; height: 100%; object-fit: cover; }
.sf-ph {
    display: flex; align-items: center; justify-content: center;
    background-color: var(--sf-tint); color: var(--sf-accent-text);
}
.sf-ph__mark { font-size: 28px; font-size: clamp(16px, 28cqi, 64px); line-height: 1; letter-spacing: 0.02em; }

.look-atelier .sf-ph { background: radial-gradient(circle, var(--sf-motif) 0 1.6px, transparent 2.2px) 0 0 / 14px 14px, var(--sf-accent); color: var(--sf-on); }
.look-atelier .sf-ph--1 { background: repeating-linear-gradient(35deg, var(--sf-motif) 0 3px, transparent 3px 9px), var(--sf-accent); }
.look-atelier .sf-ph--2 { background: radial-gradient(circle, transparent 0 4px, var(--sf-motif) 4.5px 5.5px, transparent 6px) 0 0 / 18px 18px, var(--sf-accent); }
.look-atelier .sf-ph--3 { background: repeating-linear-gradient(90deg, var(--sf-motif) 0 1.5px, transparent 1.5px 7px), repeating-linear-gradient(0deg, var(--sf-motif) 0 1.5px, transparent 1.5px 7px), var(--sf-accent); }
.look-atelier .sf-ph__mark { padding: 6px 10px; background: var(--sf-accent); }
.look-buka .sf-ph { background: var(--sf-card); }
.look-glow .sf-ph, .look-shea .sf-ph { background: radial-gradient(circle at 72% 28%, var(--sf-card) 0 22%, transparent 23%), radial-gradient(circle at 25% 85%, var(--sf-card) 0 30%, transparent 31%), var(--sf-tint); }
.look-volt .sf-ph { background: linear-gradient(var(--sf-line) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, var(--sf-line) 1px, transparent 1px) 0 0 / 16px 16px, var(--sf-surface); color: var(--sf-ink); }
.look-market .sf-ph { background: repeating-linear-gradient(135deg, var(--sf-surface) 0 10px, var(--sf-card) 10px 20px); color: var(--sf-accent-text); }
.look-stage .sf-ph { background: repeating-radial-gradient(circle at 50% 115%, transparent 0 14px, var(--sf-line) 14px 16px), var(--sf-surface); color: var(--sf-accent-text); }
.look-harvest .sf-ph { background: repeating-linear-gradient(0deg, var(--sf-surface) 0 12px, var(--sf-card) 12px 14px); color: var(--sf-accent-text); }
.look-haven .sf-ph { background: linear-gradient(90deg, transparent 0 6px, var(--sf-card) 6px 18px, transparent 18px) 0 0 / 24px 20px, linear-gradient(transparent 0 5px, var(--sf-surface) 5px 15px, transparent 15px) 0 0 / 24px 20px, var(--sf-surface); color: var(--sf-ink); }
.look-desk .sf-ph { background: conic-gradient(var(--sf-surface) 25%, var(--sf-card) 0 50%, var(--sf-surface) 0 75%, var(--sf-card) 0) 0 0 / 24px 24px; color: var(--sf-accent-text); }
.sf-ph--1 { background-position: 7px 7px; }
.sf-ph--3 { background-position: 12px 3px; }

/* Look drawings (views/storefront/parts/helpers.php, sf_motif) */
.sf-motif .m-bg { fill: var(--sf-accent); }
.sf-motif .m-ln { fill: none; stroke: var(--sf-motif); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.sf-motif .m-dash { stroke-width: 5; stroke-dasharray: 0 11; }
.sf-motif .m-dot { fill: var(--sf-motif); }
.sf-motif .m-soft { fill: var(--sf-tint); }
.sf-motif .m-faint { opacity: 0.16; }
.sf-motif .m-accent { stroke: var(--sf-accent); }
.sf-motif .m-accent-fill { fill: var(--sf-accent); }
.sf-motif .m-surface { fill: var(--sf-surface); }
.sf-motif .m-ground { fill: var(--sf-ground); }
.sf-motif .m-plank { fill: var(--sf-card); opacity: 0.6; }
.sf-motif .m-ink-fill { fill: var(--sf-ink); }
.sf-motif .m-ink-line { stroke: var(--sf-ink); stroke-width: 1.5; }
.sf-motif .m-card { fill: var(--sf-card); }
.sf-motif .m-glass { fill: var(--sf-surface); stroke: var(--sf-ink); stroke-width: 0.8; }
.sf-motif .m-band-fill { fill: var(--sf-band); }
.sf-motif .m-line-fill { fill: var(--sf-field); }
.sf-motif .m-soft-ink { fill: var(--sf-ink); opacity: 0.12; }
.sf-motif .m-plate { fill: var(--sf-card); stroke: var(--sf-accent); stroke-width: 12; }
.sf-motif .m-rim { fill: none; stroke: var(--sf-accent); stroke-width: 1.5; opacity: 0.45; }
.sf-motif .m-flower { fill: var(--sf-band); }
.sf-motif .m-mono { fill: var(--sf-accent-text); font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 84px; }

/* ── Tiles ("New in") ─────────────────────────────── */

.sf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.sf-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-tile__visual { position: relative; }
.sf-tile__media { aspect-ratio: 1; }
.sf-tile__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.sf-tile__name a, .sf-item__name a { text-decoration: none; }
.sf-tile__name a:hover, .sf-item__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-tile__price { font-size: 15px; font-weight: 700; }
.sf-tiles--portrait .sf-tile__media { aspect-ratio: 4 / 5; }
.sf-tiles--portrait .sf-tile__name { font-size: 16px; font-weight: 400; }
.sf-tiles--portrait .sf-tile__price { font-weight: 600; }
.sf-tiles--plate { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
.sf-tiles--plate .sf-tile__media { border-radius: 50%; border: 3px solid var(--sf-accent); box-shadow: inset 0 0 0 3px var(--sf-card); background: var(--sf-card); }
.sf-tiles--plate .sf-media { inset: 5px; border-radius: 50%; overflow: hidden; }
.sf-tiles--plate .sf-tile { text-align: center; }
.sf-tiles--plate .sf-tile__name { font-size: 14px; }
.sf-tiles--arch .sf-tile__media { aspect-ratio: 169 / 230; border-radius: 50% 50% 12px 12px / 37% 37% 12px 12px; }
.sf-tiles--arch .sf-tile:nth-child(even) { margin-top: 36px; }
.sf-tiles--arch .sf-tile__name { font-size: 15px; color: var(--sf-muted); font-weight: 500; }
.sf-tiles--arch .sf-tile__price { color: var(--sf-accent-text); }
.sf-tiles--crate .sf-tile__media { border: 2px solid var(--sf-rule, var(--sf-field)); box-shadow: inset 0 0 0 3px var(--sf-card), inset 0 0 0 4px var(--sf-rule, var(--sf-field)); }
.sf-tiles--crate .sf-tile__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(21px * var(--sf-scale)); line-height: 1.05; }
.sf-tiles--sticker .sf-tile__media { border-radius: var(--sf-r-card); background: var(--sf-surface); }
.sf-sticker {
    position: absolute; left: -4px; bottom: 10px; z-index: 1; padding: 5px 9px; border-radius: 3px;
    background: var(--sf-band); color: var(--sf-band-ink);
    font-family: var(--sf-head); font-weight: 800; font-stretch: 112%; font-size: 15px; line-height: 1;
    transform: rotate(-5deg); box-shadow: 0 2px 0 rgba(14, 27, 43, 0.22);
}

/* ── Catalogue items ──────────────────────────────── */

.sf-item { min-width: 0; }
.sf-item__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.sf-item__desc { font-size: 14px; line-height: 1.45; color: var(--sf-muted); }
.sf-item__price { font-size: 16px; font-weight: 700; }
.sf-unit { font-weight: 500; color: var(--sf-muted); font-size: 0.88em; white-space: nowrap; }
.sf-amount--ask { font-weight: 600; color: var(--sf-muted); }
.sf-item__meta, .sf-item__unit { font-size: 14px; color: var(--sf-muted); }
.sf-item__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.sf-item__foot > .sf-btn, .sf-item__foot > .sf-add { margin-left: auto; }
.sf-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.sf-tag {
    align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--sf-r-chip);
    background: var(--sf-tint); color: var(--sf-ink); font-size: 13px; font-weight: 600;
}
.sf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sf-chips li {
    display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--sf-r-chip);
    background: var(--sf-surface); font-size: 13px; font-weight: 500;
}
.sf-chips--tint li { background: var(--sf-tint); font-weight: 600; }
.sf-chips--ground li { background: var(--sf-ground); border-radius: 8px; font-size: 12px; }
.sf-chips--spec li { background: var(--sf-ground); border-radius: 6px; }

.sf-add {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0;
    background: var(--sf-accent); color: var(--sf-on);
}
.sf-add--round { width: 44px; height: 44px; border-radius: 50%; }

/* Swatches (Atelier) */
.sf-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sf-swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw, var(--sf-accent)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sf-swatch--p0 { background: radial-gradient(circle, var(--sf-motif) 0 1px, transparent 1.4px) 0 0 / 5px 5px, var(--sf-accent); }
.sf-swatch--p1 { background: repeating-linear-gradient(35deg, var(--sf-motif) 0 1.4px, transparent 1.4px 4px), var(--sf-accent); }
.sf-swatch--p2 { background: radial-gradient(circle, transparent 0 2px, var(--sf-motif) 2.2px 3px, transparent 3.2px) 0 0 / 8px 8px, var(--sf-accent); }
.sf-swatch--p3 { background: repeating-linear-gradient(90deg, var(--sf-motif) 0 1px, transparent 1px 4px), var(--sf-accent); }
.sf-swatches__count { font-size: 13px; color: var(--sf-muted); }

/* Atelier: editorial grid */
.sf-items--editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.sf-item--editorial { display: flex; flex-direction: column; gap: 6px; }
.sf-item--editorial .sf-item__media { aspect-ratio: 4 / 5; margin-bottom: 4px; }
.sf-item--editorial .sf-item__name { font-weight: 400; }
.sf-item--editorial .sf-item__price { font-weight: 600; }

/* Buka: menu rows on enamel plates */
.sf-items--menu { display: flex; flex-direction: column; }
.sf-item--menu { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--sf-line); }
.sf-item--menu:last-child { border-bottom: 0; }
.sf-item--menu .sf-item__media { width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--sf-accent); box-shadow: inset 0 0 0 3px var(--sf-card), inset 0 0 0 4px var(--sf-line); background: var(--sf-card); }
.sf-item--menu .sf-media { inset: 5px; border-radius: 50%; overflow: hidden; }
.sf-item--menu .sf-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-item--menu .sf-item__name { font-size: 17px; }
.sf-item--menu .sf-item__desc { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sf-item--menu .sf-tag { background: color-mix(in srgb, var(--sf-band) 22%, var(--sf-card)); }
.sf-item--menu .sf-item__price { font-size: 17px; }

/* Glow: price rows */
.sf-items--pricerow { display: flex; flex-direction: column; }
.sf-item--pricerow { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--sf-line); }
.sf-item--pricerow:last-child { border-bottom: 0; }
.sf-item--pricerow .sf-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-item--pricerow .sf-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sf-item--pricerow .sf-item__price { font-weight: 800; white-space: nowrap; }
.look-glow .sf-group__head .sf-h3 { font-size: calc(22px * var(--sf-scale)); }

/* Volt: spec cards with price stickers */
.sf-items--spec { display: flex; flex-direction: column; gap: 12px; }
.sf-item--spec { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 12px; border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-item--spec .sf-item__visual { position: relative; }
.sf-item--spec .sf-item__media { height: 136px; border-radius: var(--sf-r-tile); }
.sf-item--spec .sf-item__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sf-item--spec .sf-tag { background: transparent; border: 1.5px solid var(--sf-ink); border-radius: 4px; font-size: 12px; font-weight: 700; min-height: 24px; padding: 0 8px; }
.sf-item--spec .sf-item__name { font-size: 17px; line-height: 1.25; }

/* Volt: services on a repair ticket */
.sf-ticket { position: relative; margin-top: 28px; border-radius: 18px; background: var(--sf-ink); color: var(--sf-ground); overflow: hidden; }
.sf-ticket__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 16px; }
.sf-ticket__list { display: flex; flex-direction: column; }
.sf-ticket__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed color-mix(in srgb, var(--sf-ground) 30%, transparent); }
.sf-ticket__row:last-child { border-bottom: 0; }
.sf-ticket__row a { color: inherit; text-decoration: none; }
.sf-ticket__row a:hover { text-decoration: underline; }
.sf-ticket__row dd { font-weight: 700; white-space: nowrap; }
.sf-ticket__row .sf-unit, .sf-ticket__row .sf-amount--ask { color: inherit; }
.sf-ticket__tear { position: relative; height: 0; margin: 0 16px; border-top: 2px dashed color-mix(in srgb, var(--sf-ground) 30%, transparent); }
.sf-ticket__tear::before, .sf-ticket__tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--sf-ground); }
.sf-ticket__tear::before { left: -30px; }
.sf-ticket__tear::after { right: -30px; }
.sf-ticket__foot { padding: 18px 20px 20px; }
.sf-ticket :focus-visible { outline-color: var(--sf-ground); }

/* Market: a price list with steppers */
.sf-items--pricelist { display: flex; flex-direction: column; }
.look-market .sf-group__head { border-bottom: 2px solid var(--sf-ink); padding-bottom: 8px; }
.sf-item--pricelist { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--sf-line); }
.sf-item--pricelist:last-child { border-bottom: 0; }
.sf-item--pricelist .sf-item__name { font-size: 16px; font-weight: 600; }
.sf-item--pricelist .sf-item__price { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(22px * var(--sf-scale)); text-align: right; white-space: nowrap; }
.sf-item--pricelist .sf-item__act { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.sf-item--pricelist .sf-btn--outline { border-color: var(--sf-field); }

.sf-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--sf-accent); border-radius: var(--sf-r-btn); }
.sf-stepper button { width: 44px; height: 42px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--sf-accent-text); }
.sf-stepper output { min-width: 40px; text-align: center; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 20px; }
.sf-stepper--lg button { height: 50px; }

/* Stage: packages */
.sf-items--package { display: flex; flex-direction: column; border-bottom: 1px solid var(--sf-accent); }
.sf-item--package { display: flex; flex-direction: column; gap: 8px; padding: 16px 0 8px; border-top: 1px solid var(--sf-accent); }
.sf-item--package .sf-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sf-item--package .sf-item__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(24px * var(--sf-scale)); }
.sf-item--package .sf-item__price { color: var(--sf-accent-text); white-space: nowrap; }
.sf-item--package .sf-item__price .sf-unit { color: var(--sf-muted); }
.sf-item--package .sf-item__row { display: flex; gap: 14px; align-items: flex-start; }
.sf-item--package .sf-item__media { flex-shrink: 0; width: 84px; aspect-ratio: 169 / 230; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; }
.sf-item--package .sf-item__desc { font-size: 15px; line-height: 1.5; }
.sf-item--package .sf-item__actions { gap: 4px 20px; }

/* Harvest: stamped crate labels */
.look-harvest { --sf-rule: #C9A774; }
.sf-items--crate { display: flex; flex-direction: column; gap: 12px; }
.sf-item--crate {
    display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px;
    background: var(--sf-card); border: 2px solid var(--sf-rule); box-shadow: inset 0 0 0 3px var(--sf-card), inset 0 0 0 4px var(--sf-rule);
    border-radius: var(--sf-r-card);
}
.sf-item--crate .sf-item__media { width: 72px; height: 72px; }
.sf-item--crate .sf-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-item--crate .sf-item__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(22px * var(--sf-scale)); line-height: 1.05; }
.sf-item--crate .sf-item__price { display: flex; align-items: baseline; gap: 6px; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(24px * var(--sf-scale)); }
.sf-item--crate .sf-item__price small { font-family: var(--sf-body); font-size: 14px; font-weight: 400; color: var(--sf-muted); white-space: nowrap; }

/* Shea: shelf cards */
.sf-items--shelf { display: flex; flex-direction: column; gap: 12px; }
.sf-item--shelf { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-item--shelf .sf-item__media { width: 96px; height: 120px; border-radius: 14px; background: var(--sf-ground); }
.sf-item--shelf .sf-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-item--shelf .sf-item__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(22px * var(--sf-scale)); line-height: 1.2; }
.sf-item--shelf .sf-item__meta { font-size: 13px; }
.sf-item--shelf .sf-item__price { font-size: 17px; }
.sf-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sf-sizes button { min-height: 44px; padding: 0 8px; border: 1.5px solid var(--sf-field); border-radius: 12px; background: transparent; font-size: 15px; font-weight: 500; }
.sf-sizes button[aria-pressed="true"] { border-color: var(--sf-ink); background: var(--sf-ground); font-weight: 700; }

/* Haven: listing cards */
.sf-items--listing { display: flex; flex-direction: column; gap: 12px; }
.sf-item--listing { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-item--listing .sf-item__media { width: 96px; height: 96px; border-radius: 12px; }
.sf-item--listing .sf-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-item--listing .sf-item__name { font-weight: 600; }
.sf-item--listing .sf-item__price { margin-top: 2px; font-weight: 600; }

/* Desk: what's included */
.sf-items--included { display: flex; flex-direction: column; gap: 12px; }
.sf-item--included { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-item--included .sf-item__top { display: flex; align-items: center; gap: 10px; }
.sf-item--included .sf-item__icon { flex-shrink: 0; color: var(--sf-ink); }
.sf-item--included .sf-item__media { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; }
.sf-item--included .sf-item__name { flex: 1; min-width: 0; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(20px * var(--sf-scale)); }
.sf-item--included .sf-item__price { font-size: 15px; font-weight: 600; color: var(--sf-accent-text); white-space: nowrap; }
.sf-item--included .sf-item__price .sf-unit { color: inherit; }
.sf-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sf-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; line-height: 1.4; }
.sf-checks svg { margin-top: 2px; color: var(--sf-accent-text); stroke-width: 2.6; }

/* ── About, video, delivery, questions ─────────────── */

.sf-about__inner { display: flex; flex-direction: column; gap: 12px; }
.sf-video .sf-h2 { margin-bottom: 14px; }
.sf-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--sf-r-card); background: var(--sf-ink); }
.sf-video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sf-ink); }
.sf-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.sf-video__icon {
    position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--sf-accent); color: var(--sf-on); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.sf-video__icon svg { margin-left: 3px; }
.sf-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sf-delivery__card { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border-radius: var(--sf-r-card); background: var(--sf-surface); }
.sf-delivery .sf-h2 { font-size: calc(26px * var(--sf-scale)); }
.sf-iconrow { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.sf-iconrow p + p { margin-top: 8px; }
.sf-banks { display: grid; gap: 10px; }
.sf-bank { padding: 12px 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-r-field); background: var(--sf-card); }
.sf-bank__name { font-size: 14px; font-weight: 600; color: var(--sf-muted); }
.sf-bank__number { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.sf-bank__number .sf-link { font-size: 15px; letter-spacing: 0; }
.sf-bank__holder { font-size: 14px; }

.sf-faq__inner { display: flex; flex-direction: column; gap: 10px; }
.sf-faq__list { display: flex; flex-direction: column; }
.sf-faq__item { border-bottom: 1px solid var(--sf-line); }
.sf-faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0;
    font-size: 16px; font-weight: 700; cursor: pointer; list-style: none;
}
.sf-faq__item summary::-webkit-details-marker { display: none; }
.sf-faq__chev { flex-shrink: 0; transition: transform 150ms ease; }
.sf-faq__item[open] .sf-faq__chev { transform: rotate(180deg); }
.sf-faq__item .sf-prose { padding-bottom: 14px; font-size: 16px; color: var(--sf-muted); }

/* ── Quote form ───────────────────────────────────── */

.sf-quote__card { display: flex; flex-direction: column; gap: 18px; padding: 22px 18px; border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-quote__intro { display: flex; flex-direction: column; gap: 8px; }
.sf-quote__text { color: var(--sf-muted); font-size: 16px; }
.sf-form { display: flex; flex-direction: column; gap: 14px; }
.sf-form__row { display: grid; gap: 14px; }
.sf-field { display: flex; flex-direction: column; gap: 6px; }
.sf-field__label { font-size: 14px; font-weight: 700; }
.sf-field__opt { font-weight: 400; color: var(--sf-muted); }
.sf-field__hint { font-size: 13px; color: var(--sf-muted); margin-top: -2px; }
.sf-field input, .sf-field textarea, .sf-field select {
    width: 100%; min-height: 48px; padding: 10px 14px;
    border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field);
    background: var(--sf-ground); color: var(--sf-ink); font-size: 16px;
}
.sf-field textarea { min-height: 104px; resize: vertical; }
.sf-field input[type="file"] { min-height: 0; padding: 10px; }
.sf-field input::placeholder, .sf-field textarea::placeholder { color: var(--sf-muted); opacity: 0.85; }
.sf-field input:focus, .sf-field textarea:focus, .sf-search input:focus { outline: 2px solid var(--sf-accent-text); outline-offset: 1px; border-color: var(--sf-accent-text); }
/* Proof of payment (sf_proof_field): a box to tap, like the bank choices
   above it; the file box stays inside it, out of sight */
.sf-proof { cursor: pointer; }
.sf-proof__box {
    position: relative; display: flex; align-items: center; min-height: 56px; padding: 10px 14px;
    border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field); background: var(--sf-ground);
}
.sf-proof__box:hover { border-color: var(--sf-accent-text); }
.sf-proof__box:focus-within { outline: 2px solid var(--sf-accent-text); outline-offset: 1px; border-color: var(--sf-accent-text); }
.sf-proof .sf-proof__input[type="file"] {
    position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0;
    opacity: 0; overflow: hidden; pointer-events: none;
}
.sf-proof .sf-proof__input[type="file"]:focus { outline: none; }
.sf-proof__add { display: flex; align-items: center; gap: 10px; color: var(--sf-accent-text); font-size: 16px; font-weight: 700; }
.sf-proof__add svg { flex-shrink: 0; }
.sf-proof__picked { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.sf-proof__thumb { flex-shrink: 0; width: 44px; height: 44px; border-radius: calc(var(--sf-r-field) / 2); object-fit: cover; background: var(--sf-surface); }
.sf-proof__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.sf-proof__change { flex-shrink: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.sf-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sf-form__status { font-size: 15px; font-weight: 600; }
.sf-form__status.is-error, .sf-form__error { color: var(--sf-error, #B42318); }
.is-dark .sf-form__status.is-error, .is-dark .sf-form__error { color: #FF9C8F; }
.sf-form__error:empty { display: none; }

/* ── Footer ───────────────────────────────────────── */

.sf-footer { margin-top: 20px; padding: 32px 0 28px; border-top: 1px solid var(--sf-line); }
.sf-footer__inner { display: flex; flex-direction: column; gap: 18px; }
.sf-footer__main { display: flex; flex-direction: column; gap: 10px; }
.sf-footer__brand { font-size: calc(26px * var(--sf-scale)); line-height: 1.1; }
.sf-footer__text { font-size: 15px; line-height: 1.6; color: var(--sf-muted); }
.sf-footer__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.sf-footer__lines li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.sf-footer__lines svg { margin-top: 3px; color: var(--sf-muted); }
.sf-footer__lines a { text-underline-offset: 3px; }
.sf-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-btn--footer { min-height: 48px; padding: 0 18px; font-size: 15px; }
.sf-iconbtn--footer { width: 48px; height: 48px; border-radius: var(--sf-r-btn); }
.sf-footer__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--sf-muted); }
.sf-footer__end a { text-decoration: none; }
.sf-footer__end a:hover { text-decoration: underline; }

/* ── Bag bar, toast ───────────────────────────────── */

.sf-bagbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20;
    display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 18px;
    background: var(--sf-ink); color: var(--sf-ground); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.sf-bagbar__sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sf-bagbar__sum span { font-size: 13px; }
.sf-bagbar__sum strong { font-size: 18px; }
.sf-bagbar__btn { min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--sf-ground); color: var(--sf-ink); font-size: 16px; font-weight: 700; }
.look-market .sf-bagbar { border-radius: 12px; }
.look-market .sf-bagbar__btn { background: var(--sf-band); color: var(--sf-band-ink); border-radius: 8px; }
.sf-bagbar :focus-visible { outline-color: var(--sf-ground); }

.sf-toast {
    position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 32px);
    padding: 12px 18px; border-radius: 12px; background: var(--sf-ink); color: var(--sf-ground);
    font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity 150ms ease, transform 150ms ease;
}
.sf-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* What was added, flying to the bag (Buka, Glow, Shea; storefront.js) */
.sf-fly { position: fixed; z-index: 70; pointer-events: none; }
.sf-fly__dot {
    display: block; width: 100%; height: 100%; border-radius: 50%;
    background: var(--sf-accent) center / cover no-repeat;
    box-shadow: 0 0 0 3px var(--sf-card), 0 10px 24px rgba(0, 0, 0, 0.28);
}
.is-bumped { animation: sf-bump 460ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes sf-bump { 35% { transform: scale(1.16); } 100% { transform: none; } }

/* ── Dialogs: product sheet and bag ───────────────── */

.sf-dialog {
    position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92dvh; margin: 0; padding: 0; border: 0;
    overflow-y: auto; overscroll-behavior: contain;
    border-radius: 20px 20px 0 0; background: var(--sf-ground); color: var(--sf-ink);
}
.sf-dialog::backdrop { background: rgba(8, 8, 14, 0.55); }
.sf-dialog[open] { animation: sf-sheet-in 200ms ease-out; }
@keyframes sf-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sf-dialog__panel { position: relative; display: flex; flex-direction: column; min-height: 100%; }
.sf-dialog__close {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: var(--sf-ground); color: var(--sf-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}
.sf-dialog__head {
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 10px 8px 12px;
    background: var(--sf-ground); border-bottom: 1px solid var(--sf-line);
}
.sf-dialog__head .sf-h3 { flex: 1; min-width: 0; }
.sf-dialog__head [data-bag-back]:not([hidden]) + .sf-h3 { margin-left: -4px; }
.sf-dialog__foot { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: var(--sf-ground); }

.sf-product__gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    background: var(--sf-surface); border-radius: 20px 20px 0 0;
}
.sf-product__gallery::-webkit-scrollbar { display: none; }
.sf-product__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
.sf-product__slide picture, .sf-product__slide img { width: 100%; height: 100%; object-fit: contain; }
.sf-product__slide .sf-ph { position: absolute; inset: 0; }
.sf-product__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.6); color: #FFFFFF; font-size: 13px; font-weight: 600; }
.sf-product__body { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.sf-product__price { font-size: 20px; font-weight: 700; }
.sf-product__desc:empty { display: none; }
.sf-product__desc { font-size: 16px; color: var(--sf-muted); }
.sf-product__variants { display: flex; flex-direction: column; gap: 14px; }
.sf-product__variants:empty { display: none; }
.sf-product__variants fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-product__variants legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.sf-product__variants .sf-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-product__buy { display: flex; align-items: center; gap: 12px; }

.sf-step { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; flex: 1; }
.sf-step__count { font-size: 14px; font-weight: 600; color: var(--sf-muted); }
.sf-options { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sf-options legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.sf-option { position: relative; display: flex; }
.sf-option input { position: absolute; left: 16px; top: 20px; width: 18px; height: 18px; margin: 0; accent-color: var(--sf-accent); }
.sf-option > span {
    flex: 1; display: flex; flex-direction: column; gap: 2px; min-height: 56px; padding: 12px 14px 12px 46px;
    border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field); cursor: pointer;
}
.sf-option input:checked + span { border-color: var(--sf-accent-text); box-shadow: inset 0 0 0 1px var(--sf-accent-text); }
.sf-option small { font-size: 13px; color: var(--sf-muted); }
.sf-option__number { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; }
.sf-note { padding: 12px 14px; border-radius: var(--sf-r-field); background: var(--sf-surface); font-size: 15px; }
.sf-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; }
.sf-total strong { font-size: 22px; }

.sf-baglist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sf-bagline { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--sf-line); }
.sf-bagline__media { position: relative; width: 56px; height: 56px; overflow: hidden; border-radius: 10px; background: var(--sf-surface); container-type: inline-size; }
.sf-bagline__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-bagline__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-bagline__name { font-weight: 700; line-height: 1.3; }
.sf-bagline__meta { font-size: 13px; color: var(--sf-muted); }
.sf-bagline__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.sf-bagline__row .sf-stepper button { width: 40px; height: 38px; }
.sf-bagline__row .sf-stepper output { min-width: 32px; font-size: 17px; font-family: var(--sf-body); font-weight: 700; }
.sf-bagline__price { font-weight: 700; }

.sf-done { align-items: center; text-align: center; padding-top: 32px; }
.sf-done__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sf-accent); color: var(--sf-on); }
.sf-done .sf-btn { margin-top: 4px; }

/* ── Product pages, orders and reviews ────────────── */

.sf-brand__home { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.sf-header--slim { padding-bottom: 0; }
.sf-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-muted); }
.sf-back {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 4px 0 8px;
    color: var(--sf-ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.sf-back:hover span { text-decoration: underline; text-underline-offset: 4px; }

.sf-pdp { padding-bottom: 12px; }
.sf-pdp__grid { display: flex; flex-direction: column; gap: 20px; }
.sf-pdp__media { min-width: 0; }
.sf-pdp__gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px;
    background: var(--sf-surface);
}
.sf-pdp__gallery::-webkit-scrollbar { display: none; }
.sf-pdp__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; container-type: inline-size; }
.sf-pdp__slide picture, .sf-pdp__slide img { width: 100%; height: 100%; object-fit: contain; }
.sf-pdp__slide .sf-ph { position: absolute; inset: 0; }
.sf-pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.sf-pdp__thumb {
    flex: 0 0 64px; width: 64px; height: 64px; padding: 0; overflow: hidden;
    border: 2px solid transparent; border-radius: 10px; background: var(--sf-surface);
}
.sf-pdp__thumb img, .sf-pdp__thumb picture { width: 100%; height: 100%; object-fit: cover; }
.sf-pdp__thumb[aria-current="true"] { border-color: var(--sf-accent-text); }
.sf-pdp__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sf-pdp__name { font-size: calc(34px * var(--sf-scale)); }
.sf-pdp__price { font-size: 22px; font-weight: 700; }
.sf-pdp__price .sf-unit { font-size: 16px; font-weight: 500; color: var(--sf-muted); }
.sf-pdp__desc { font-size: 16px; }
.sf-buy { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.sf-buy__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-buy__group legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.sf-buy__group .sf-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pdp__info { padding: 16px; border-radius: var(--sf-r-card); background: var(--sf-surface); font-size: 15px; }
.sf-pdp__info p + p { margin-top: 8px; }
.sf-pdp__info-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 16px; font-weight: 700; }

.sf-share { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-share__btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1.5px solid var(--sf-field); border-radius: 999px; background: transparent; color: var(--sf-ink);
    font-size: 14px; font-weight: 600; text-decoration: none;
}
.sf-share__btn:hover { background: var(--sf-tint); }

/* Stars: five drawn in the line colour, the same five in the accent on top, cut to the rating */
.sf-starline { position: relative; display: inline-flex; flex-shrink: 0; vertical-align: middle; line-height: 0; }
.sf-starline__base, .sf-starline__fill { display: inline-flex; gap: 2px; }
.sf-starline__base svg { fill: var(--sf-field); }
.sf-starline__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.sf-starline__fill svg { flex-shrink: 0; fill: var(--sf-accent-text); }
.sf-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 15px; }
.sf-rating span { color: var(--sf-muted); }
.sf-rating--link { min-height: 44px; color: inherit; text-decoration: none; }
.sf-rating--link:hover span { text-decoration: underline; text-underline-offset: 3px; }

.sf-reviews__head { flex-wrap: wrap; align-items: center; }
.sf-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf-review { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-review__text { margin: 0; font-size: 16px; line-height: 1.55; }
.sf-review__text p + p { margin-top: 8px; }
.sf-review__by { font-size: 14px; color: var(--sf-muted); font-weight: 600; }
.sf-reviews__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--sf-muted); }

/* Order and review pages */
.sf-wrap--narrow { max-width: 640px; }
.sf-page { padding-top: 20px; }
.sf-page .sf-wrap { display: flex; flex-direction: column; gap: 16px; }
.sf-page__title { font-size: calc(36px * var(--sf-scale)); }
.sf-page .sf-done__icon { margin-top: 4px; }
.sf-page__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.sf-page__actions:empty { display: none; }
.sf-page__actions .sf-link { align-self: center; }

.sf-track { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; }
.sf-track__step { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 20px; }
.sf-track__step:last-child { padding-bottom: 0; }
.sf-track__step:not(:last-child)::before {
    content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--sf-field);
}
.sf-track__step.is-done:not(:last-child)::before { background: var(--sf-accent); }
.sf-track__dot {
    position: relative; z-index: 1; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--sf-field); border-radius: 50%; background: var(--sf-ground); color: var(--sf-on);
}
.sf-track__step.is-done .sf-track__dot { border-color: var(--sf-accent); background: var(--sf-accent); }
.sf-track__step.is-now .sf-track__dot { border-color: var(--sf-accent-text); box-shadow: inset 0 0 0 5px var(--sf-ground), inset 0 0 0 14px var(--sf-accent-text); }
.sf-track__body { padding-top: 2px; }
.sf-track__label { font-weight: 700; line-height: 1.35; }
.sf-track__step.is-next .sf-track__label { color: var(--sf-muted); font-weight: 600; }
.sf-track__time { font-size: 14px; color: var(--sf-muted); }
.sf-track__detail { margin-top: 2px; font-size: 15px; color: var(--sf-muted); }

.sf-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-card__title { font-size: 16px; font-weight: 700; }
.sf-orderlines { list-style: none; margin: 0; padding: 0; }
.sf-orderline { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sf-line); }
.sf-orderline:first-child { padding-top: 0; }
.sf-orderline__photo { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--sf-line); }
.sf-orderline__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-orderline__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-orderline__name { font-weight: 700; line-height: 1.3; }
.sf-orderline__meta { font-size: 14px; color: var(--sf-muted); }
.sf-orderline__total { font-weight: 700; white-space: nowrap; }
.sf-facts { margin: 0; display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--sf-r-card); background: var(--sf-surface); }
.sf-facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; font-size: 15px; }
.sf-facts dt { color: var(--sf-muted); font-weight: 600; }
.sf-facts dd { margin: 0; min-width: 0; }
.sf-fineprint { font-size: 13px; color: var(--sf-muted); text-align: center; }
.sf-yourreview__text { font-size: 16px; }
.sf-yourreview__by { font-size: 14px; color: var(--sf-muted); font-weight: 600; }

.sf-rate { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-rate legend { padding: 0; margin-bottom: 8px; }
.sf-rate__stars { display: flex; gap: 6px; }
.sf-rate__star { position: relative; display: inline-flex; cursor: pointer; }
.sf-rate__star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sf-rate__star svg { width: 48px; height: 48px; fill: none; stroke: var(--sf-muted); stroke-width: 1.4; stroke-linejoin: round; transition: transform 100ms ease; }
.sf-rate__star input:focus-visible + svg { outline: 2px solid var(--sf-ink); outline-offset: 2px; border-radius: 6px; }
.sf-rate__star:active svg { transform: scale(0.92); }
.sf-rate__stars:has(input[value="1"]:checked) .sf-rate__star:nth-child(-n+1) svg,
.sf-rate__stars:has(input[value="2"]:checked) .sf-rate__star:nth-child(-n+2) svg,
.sf-rate__stars:has(input[value="3"]:checked) .sf-rate__star:nth-child(-n+3) svg,
.sf-rate__stars:has(input[value="4"]:checked) .sf-rate__star:nth-child(-n+4) svg,
.sf-rate__stars:has(input[value="5"]:checked) .sf-rate__star:nth-child(-n+5) svg { fill: var(--sf-accent-text); stroke: var(--sf-accent-text); }
.sf-rate__star input:checked + svg { fill: var(--sf-accent-text); stroke: var(--sf-accent-text); }
.sf-rate__words { min-height: 24px; margin-top: 6px; font-weight: 700; }
.sf-rate__words span { display: none; }
.sf-rate:has(input[value="1"]:checked) .sf-rate__words [data-n="1"],
.sf-rate:has(input[value="2"]:checked) .sf-rate__words [data-n="2"],
.sf-rate:has(input[value="3"]:checked) .sf-rate__words [data-n="3"],
.sf-rate:has(input[value="4"]:checked) .sf-rate__words [data-n="4"],
.sf-rate:has(input[value="5"]:checked) .sf-rate__words [data-n="5"] { display: inline; }

/* The bag's recent orders */
.sf-recent { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--sf-line); }
.sf-recent__title { font-size: 14px; font-weight: 700; color: var(--sf-muted); }
.sf-recent__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sf-recent__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px;
    border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field); color: var(--sf-ink); text-decoration: none;
}
.sf-recent__link span { font-size: 14px; color: var(--sf-muted); }

/* Status image */
.sf-status__hint { font-size: 15px; color: var(--sf-muted); }
.sf-status__frame {
    position: relative; display: flex; align-items: center; justify-content: center; align-self: center;
    width: min(100%, 300px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: var(--sf-surface);
}
.sf-status__frame img { width: 100%; height: 100%; object-fit: cover; }
.sf-status__wait { padding: 20px; font-size: 15px; color: var(--sf-muted); text-align: center; }

/* Bookings: the section's cards, the booking page and its calendar */
.sf-bookings__intro { margin: -6px 0 16px; }
.sf-bookings__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf-bookcard {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px;
    border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card);
}
.sf-bookcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-bookcard__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.sf-bookcard__name a { text-decoration: none; }
.sf-bookcard__price { font-weight: 700; }
.sf-bookcard__meta, .sf-buy__meta { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--sf-muted); }
.sf-bookcard__meta svg, .sf-buy__meta svg { flex-shrink: 0; margin-top: 2px; }
.sf-bookcard .sf-btn { flex-shrink: 0; }
.sf-buy--book { gap: 12px; }

.sf-book__head { display: flex; align-items: center; gap: 16px; }
.sf-book__photo { flex: 0 0 auto; width: 84px; height: 84px; overflow: hidden; border-radius: var(--sf-r-card); background: var(--sf-surface); }
.sf-book__photo img, .sf-book__photo picture { width: 100%; height: 100%; object-fit: cover; }
.sf-book__title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-book__meta { font-size: 15px; color: var(--sf-muted); }
.sf-book__meta strong { color: var(--sf-ink); }
.sf-bookform { gap: 22px; }
.sf-book__step { margin: 0; padding: 18px; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sf-book__legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 4px; padding: 0; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(21px * var(--sf-scale)); }
.sf-book__legend + * { clear: both; }
.sf-book__legend span {
    flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--sf-accent); color: var(--sf-on); font-family: var(--sf-body); font-size: 14px; font-weight: 700;
}
.sf-book__picked { font-weight: 700; min-height: 1.5em; }
.sf-book__picked:empty { display: none; }
.sf-total--deposit { font-size: 15px; }
.sf-total--deposit strong { font-size: 18px; }
.sf-book__done { padding-top: 8px; gap: 12px; }

.sf-cal { display: flex; flex-direction: column; gap: 6px; }
.sf-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-cal__month { font-weight: 700; font-size: 17px; }
.sf-cal__head .sf-iconbtn[disabled] { opacity: 0.35; cursor: default; }
.sf-cal__days, .sf-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sf-cal__days span { padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--sf-muted); text-align: center; }
.sf-cal__day {
    position: relative; aspect-ratio: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 0;
    border: 1.5px solid transparent; border-radius: var(--sf-r-field); background: var(--sf-tint); color: var(--sf-ink);
    font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.sf-cal__day:hover:not([disabled]) { border-color: var(--sf-accent-text); }
.sf-cal__day[disabled] { background: transparent; color: var(--sf-muted); opacity: 0.55; cursor: default; }
.sf-cal__day.is-full[disabled] { text-decoration: line-through; }
.sf-cal__day.can-end { background: var(--sf-tint); border-style: dashed; border-color: var(--sf-accent-text); opacity: 1; text-decoration: none; }
.sf-cal__day.is-between { background: var(--sf-accent); color: var(--sf-on); opacity: 0.75; }
.sf-cal__day.is-picked { background: var(--sf-accent); color: var(--sf-on); border-color: var(--sf-accent); opacity: 1; }
.sf-cal__wait { padding: 10px 0; font-size: 15px; color: var(--sf-muted); }
.sf-cal__wait[hidden] { display: none; }
.sf-times { display: flex; flex-direction: column; gap: 10px; }
.sf-times__list { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-times__list .sf-choice span { min-width: 88px; justify-content: center; }

.sf-when { gap: 8px; }
.sf-when__date, .sf-when__place { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; }
.sf-when__date { font-weight: 700; }
.sf-when svg { flex-shrink: 0; margin-top: 2px; color: var(--sf-accent-text); }

/* News and offers */
.sf-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sf-post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sf-surface); }
.sf-post-card__media img, .sf-post-card__media picture { width: 100%; height: 100%; object-fit: cover; }
.sf-post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.sf-post-card__date { font-size: 13px; font-weight: 600; color: var(--sf-muted); }
.sf-post-card__title { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(21px * var(--sf-scale)); line-height: 1.2; }
.sf-post-card__title a { text-decoration: none; }
.sf-post-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-post-card__text { font-size: 15px; color: var(--sf-muted); }
.sf-wrap--article { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.sf-article__title { font-size: calc(36px * var(--sf-scale)); }
.sf-article__media { margin: 6px -20px; overflow: hidden; background: var(--sf-surface); }
.sf-article__media img, .sf-article__media picture { width: 100%; height: auto; }
.sf-article__body { font-size: 18px; line-height: 1.65; }
.sf-article__cta { margin-top: 8px; }

@media (min-width: 720px) {
    .sf-pdp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
    .sf-pdp__media { position: sticky; top: 16px; }
    .sf-pdp__gallery { margin-inline: 0; border-radius: var(--sf-r-card); }
    .sf-pdp__name { font-size: calc(44px * var(--sf-scale)); }
    .sf-reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .sf-page { padding-top: 32px; }
    .sf-page__title { font-size: calc(44px * var(--sf-scale)); }
    .sf-dialog--status { width: min(440px, calc(100% - 48px)); }
    .sf-bookings__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .sf-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .sf-article__media { margin-inline: 0; border-radius: var(--sf-r-card); }
    .sf-article__title { font-size: calc(48px * var(--sf-scale)); }
    .sf-book__step { padding: 24px; }
    .sf-cal__day { min-height: 46px; }
}
@media (min-width: 1080px) {
    .sf-reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Looks: header and section details ────────────── */

/* Atelier */
.look-atelier .sf-filters { gap: 2px; border-bottom: 1px solid var(--sf-line); padding-bottom: 0; }
.look-atelier .sf-filter, .look-market .sf-filter {
    min-height: 46px; padding: 0 10px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
    background: none; color: var(--sf-muted); font-weight: 600;
}
.look-atelier .sf-filter[aria-pressed="true"], .look-market .sf-filter[aria-pressed="true"] { background: none; color: var(--sf-ink); border-bottom-color: var(--sf-accent); }

/* Buka */
.look-buka .sf-header { border-top: 6px solid var(--sf-accent); }
.look-buka .sf-header__inner { padding-top: 14px; }
.look-buka .sf-brand__name { font-size: calc(26px * var(--sf-scale)); }
.look-buka .sf-hero__actions { gap: 10px; }
.look-buka .sf-delivery .sf-h2, .look-buka .sf-quote .sf-h2 { font-size: calc(26px * var(--sf-scale)); }
.look-buka .sf-group__head .sf-h3 { font-size: calc(28px * var(--sf-scale)); }
.look-buka .sf-quote__card { background: var(--sf-surface); border-radius: 20px; }

/* Glow */
.look-glow .sf-delivery__card { background: var(--sf-tint); }
.look-glow .sf-faq__inner { padding: 20px 18px; border-radius: 24px; background: var(--sf-tint); }
.look-glow .sf-faq__item { border-bottom-color: color-mix(in srgb, var(--sf-ink) 14%, transparent); }
.look-glow .sf-faq__item:last-child { border-bottom: 0; }

/* Volt */
.look-volt .sf-header { background: var(--sf-card); border-bottom: 1px solid var(--sf-line); }
.look-volt .sf-badge { border-radius: 4px; background: var(--sf-band); color: var(--sf-band-ink); }
.look-volt .sf-brand__name { font-size: calc(26px * var(--sf-scale)); }
.look-volt .sf-delivery__card, .look-volt .sf-quote__card { background: var(--sf-card); }

/* Market */
.look-market .sf-filters { gap: 2px; margin-bottom: 14px; padding: 4px 12px 0; border-bottom: 1px solid var(--sf-line); }
.look-market .sf-announce { background: var(--sf-band); color: var(--sf-band-ink); }
.look-market .sf-quote__card { background: var(--sf-surface); border: 1px solid var(--sf-line); }
.look-market .sf-group__head .sf-h3 { font-size: calc(28px * var(--sf-scale)); }

/* Stage */
.look-stage .sf-header__inner { min-height: 64px; }
.look-stage .sf-quote__card, .look-stage .sf-delivery__card { background: var(--sf-surface); }
.look-stage .sf-footer { border-top-color: var(--sf-line); }

/* Harvest */
.look-harvest .sf-badge { border-radius: 3px; background: var(--sf-band); color: var(--sf-band-ink); }
.look-harvest .sf-announce {
    margin: 0 20px; border-radius: 6px; background: var(--sf-band); color: var(--sf-band-ink);
    box-shadow: inset 0 0 0 4px var(--sf-band), inset 0 0 0 5.5px var(--sf-band-ink);
}
.look-harvest .sf-announce p { padding: 16px 18px; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(22px * var(--sf-scale)); line-height: 1.05; }
.look-harvest .sf-header { margin-bottom: 6px; }
.look-harvest .sf-section__head .sf-h2 { font-size: calc(34px * var(--sf-scale)); }
.look-harvest .sf-delivery__card, .look-harvest .sf-quote__card { background: var(--sf-card); border-radius: 6px; }

/* Shea */
.look-shea .sf-quote__card { background: none; border: 1.5px solid var(--sf-field); border-radius: 22px; }
.look-shea .sf-delivery__card { background: var(--sf-surface); border-radius: 22px; }
.look-shea .sf-filters__label { display: none; }

/* Haven */
.look-haven .sf-delivery__card, .look-haven .sf-quote__card { background: var(--sf-card); }
.look-haven .sf-btn { font-weight: 600; }

/* Desk */
.look-desk .sf-delivery__card, .look-desk .sf-quote__card { background: var(--sf-card); }
.look-desk .sf-btn { font-weight: 600; }

/* ── Wider screens ────────────────────────────────── */

@media (min-width: 600px) {
    .sf-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-tiles--plate { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
    .sf-wrap { padding-inline: 32px; }
    .sf-filters { margin-inline: -32px; padding-inline: 32px; }
    .look-market .sf-filters { margin-inline: 0; padding-inline: 0; }
    .sf-h1 { font-size: calc(56px * var(--sf-scale)); }
    .sf-h2 { font-size: calc(36px * var(--sf-scale)); }
    .sf-section { padding-block: 40px; }
    .sf-header__inner { min-height: 72px; }
    .sf-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
    .sf-items--editorial { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }

    .sf-hero { padding-bottom: 48px; }
    .sf-hero__grid { flex-direction: row; align-items: center; gap: 48px; padding-top: 24px; }
    .sf-hero__grid > * { flex: 1 1 0; min-width: 0; }
    .sf-hero--shelf .sf-hero__grid { flex-direction: row-reverse; }
    .sf-hero__grid--frame-first { flex-direction: row-reverse; }
    .sf-hero .sf-h1 { font-size: calc(58px * var(--sf-scale)); }
    .sf-hero--spec .sf-hero__grid { flex-wrap: wrap; }
    .sf-hero--spec .sf-hero__body { flex: 1 1 420px; }
    .sf-cattiles { flex: 1 1 360px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-cattile { min-height: 110px; font-size: 15px; }
    .sf-hero--arch .sf-hero__frame { flex: 0 0 auto; width: 420px; }
    .sf-hero--stamp .sf-hero__frame { flex: 0 0 auto; width: 46%; }
    .sf-hero--estimator .sf-hero__grid { align-items: flex-start; }
    .sf-estimator { flex: 0 0 420px; }

    .sf-items--menu, .sf-items--pricerow, .sf-items--crate, .sf-items--shelf, .sf-items--listing, .sf-items--included, .sf-items--spec {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px;
    }
    .sf-items--menu .sf-item--menu:last-child, .sf-items--pricerow .sf-item--pricerow:last-child { border-bottom: 1px solid var(--sf-line); }
    .sf-items--pricelist, .look-market .sf-group__head { max-width: 860px; }
    .sf-items--package { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 0; }
    .sf-item--package { border-bottom: 1px solid var(--sf-accent); }
    .sf-ticket { display: grid; grid-template-columns: 1fr auto; align-items: end; }
    .sf-ticket__tear { display: none; }
    .sf-ticket__foot { padding: 22px 20px; min-width: 280px; }

    .sf-about__inner, .sf-faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
    .look-glow .sf-faq__inner { padding: 28px; }
    .sf-quote__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding: 32px; }
    .sf-delivery__card { padding: 28px; }
    .sf-banks { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    .sf-footer { padding-top: 44px; }
    .sf-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; }
    .sf-footer__actions { align-self: start; justify-content: flex-end; }
    .sf-footer__end { grid-column: 1 / -1; }

    .sf-bagbar { left: auto; right: 24px; bottom: 24px; width: 420px; }
    .sf-toast { bottom: 104px; }

    .sf-dialog { inset: 0; margin: auto; width: min(880px, calc(100% - 48px)); max-height: min(88vh, 760px); border-radius: 20px; }
    .sf-dialog--product .sf-dialog__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .sf-dialog--product .sf-product__gallery { position: sticky; top: 0; border-radius: 20px 0 0 20px; }
    .sf-dialog--product .sf-product__body { padding: 28px 28px 28px; }
    .sf-dialog--bag { inset: 0 0 0 auto; width: 440px; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
    .sf-dialog--bag[open] { animation-name: sf-side-in; }
    @keyframes sf-side-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

@media (min-width: 1080px) {
    .sf-items--editorial { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-items--included, .sf-items--listing, .sf-items--shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-hero .sf-h1 { font-size: calc(64px * var(--sf-scale)); }
}

/* ── Pages: menu, shop, contact, map (every look) ─── */
/*
 * A shop has a home page, its list (/shop), a contact page (/contact) and
 * its news (/news). Phones reach them through the menu; wider screens show
 * them as links in the header too.
 */

.sf-menubtn {
    flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; background: transparent; color: inherit;
}
.sf-header:not(.sf-header--centred) .sf-menubtn { margin-right: -8px; }
.sf-header:not(.sf-header--centred) .sf-bagbtn { margin-right: 0; }
.sf-nav { display: none; }

.sf-menu {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px); height: 100dvh; max-width: 100%; max-height: 100dvh; margin: 0; padding: 0; border: 0;
    overflow-y: auto; overscroll-behavior: contain; background: var(--sf-ground); color: var(--sf-ink);
}
.sf-menu::backdrop { background: rgba(8, 8, 14, 0.5); }
.sf-menu[open] { animation: sf-menu-right 220ms ease-out; }
@keyframes sf-menu-right { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.sf-menu__panel { min-height: 100%; display: flex; flex-direction: column; padding: 6px 20px calc(24px + env(safe-area-inset-bottom)); }
.sf-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.sf-menu__head .sf-iconbtn { margin-right: -10px; }
.sf-menu__title {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(22px * var(--sf-scale));
}
.sf-menu__nav { display: flex; flex-direction: column; margin-top: 6px; border-top: 1px solid var(--sf-line); }
.sf-menu__nav a { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--sf-line); color: var(--sf-ink); text-decoration: none; }
.sf-menu__nav a span {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(30px * var(--sf-scale)); line-height: 1.1;
}
.sf-menu__nav a small { font-size: 14px; color: var(--sf-muted); }
.sf-menu__nav a[aria-current="page"] span { color: var(--sf-accent-text); }
.sf-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; padding-top: 28px; }
.sf-menu__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-menu__address { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--sf-muted); }
.sf-menu__address svg { margin-top: 2px; }

/* Page titles on the shop's other pages */
.sf-page__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.sf-page__head.sf-section__head { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.sf-page__note { display: flex; align-items: center; gap: 6px; margin: -6px 0 18px; font-size: 15px; color: var(--sf-muted); }
.sf-catalogue .sf-page__title { font-size: calc(38px * var(--sf-scale)); }
.sf-shopbar { display: flex; flex-direction: column; }

/* The home page's taste of the list: a tile per category */
.sf-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sf-cat {
    position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size;
    border-radius: var(--sf-r-tile); background: var(--sf-surface); color: #FFFFFF; text-decoration: none;
}
.sf-cat__media { position: absolute; inset: 0; }
.sf-cat__media .sf-media { transition: transform 300ms ease; }
.sf-cat:hover .sf-cat__media .sf-media { transform: scale(1.03); }
.sf-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35) 34%, rgba(0, 0, 0, 0) 62%); }
.sf-cat__name {
    position: absolute; left: 12px; right: 12px; bottom: 30px; z-index: 1;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(22px * var(--sf-scale)); line-height: 1.08; text-wrap: balance;
}
.sf-cat__count { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 13px; font-weight: 600; opacity: 0.88; }
/* An odd number on a phone: the first tile runs across, the rest pair up */
.sf-cats--3 > li:first-child, .sf-cats--5 > li:first-child { grid-column: 1 / -1; }
.sf-cats--3 > li:first-child .sf-cat, .sf-cats--5 > li:first-child .sf-cat { aspect-ratio: 8 / 5; }
.sf-catalogue-home .sf-items { margin-top: 2px; }
.sf-catalogue-home__all { display: flex; justify-content: center; }

/* "Made for you": one button to the request form on the contact page */
.sf-quote-cta__inner {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 22px;
    border-radius: var(--sf-r-card); background: var(--sf-accent); color: var(--sf-on);
}
.sf-quote-cta__words { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.sf-quote-cta__text { font-size: 16px; line-height: 1.55; opacity: 0.92; }
.sf-quote-cta__btn { background: var(--sf-on); color: var(--sf-accent); }
.sf-quote-cta :focus-visible { outline-color: var(--sf-on); }

/* The contact page */
.sf-contact-page { padding-top: 24px; }
.sf-contact-page .sf-page__title { font-size: calc(40px * var(--sf-scale)); }
.sf-contact-page .sf-lead { max-width: 560px; }
.sf-contact-page__grid { display: grid; gap: 28px; align-items: start; }
.sf-quote__card--page { padding: 22px 18px; border: 1px solid var(--sf-line); }
.sf-ways { display: flex; flex-direction: column; gap: 12px; }
.sf-ways__list { list-style: none; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-ways__list li + li { border-top: 1px solid var(--sf-line); }
.sf-way { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 14px; min-height: 70px; padding: 10px 16px; color: var(--sf-ink); text-decoration: none; }
a.sf-way:hover { background: var(--sf-tint); }
.sf-way__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sf-tint); color: var(--sf-accent-text); }
.sf-way__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sf-way__text strong { font-size: 16px; }
.sf-way__text span { font-size: 15px; color: var(--sf-muted); overflow-wrap: anywhere; }
.sf-way__go { color: var(--sf-muted); }
.sf-ways__note { font-size: 15px; color: var(--sf-muted); }

/* Map and directions */
.sf-location__card { display: grid; overflow: hidden; border: 1px solid var(--sf-line); border-radius: var(--sf-r-card); background: var(--sf-card); }
.sf-location__map { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sf-surface); }
.sf-location__map img { width: 100%; height: 100%; object-fit: cover; }
.sf-location__credit {
    position: absolute; right: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 2px 6px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.86); color: #2B2B2B; font-size: 10px; line-height: 1.4; text-align: right;
}
.sf-location__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 18px 22px; }
.sf-location__address { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; }
.sf-location__address svg { margin-top: 2px; color: var(--sf-accent-text); }
.sf-location__note { font-size: 15px; line-height: 1.55; color: var(--sf-muted); }
.sf-location__go { margin-top: 4px; }

/* The footer's page links; an ended announcement in Studio's preview */
.sf-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; font-weight: 600; }
.sf-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sf-footer__nav a:hover, .sf-footer__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.sf-announce p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
.sf-announce__note { font-weight: 500; font-style: italic; opacity: 0.85; }
.sf-announce.is-ended span:first-child { text-decoration: line-through; }

/* Shop Studio's preview: a section under the pointer shows it can be edited */
.is-preview .sf-editable { outline: 2px dashed var(--sf-accent-text); outline-offset: -2px; cursor: pointer; }
.sf-editable__tag {
    position: fixed; z-index: 70; padding: 6px 10px; border-radius: 8px; pointer-events: none;
    background: var(--sf-ink); color: var(--sf-ground); font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (min-width: 720px) {
    /* Wider: rows that fill, whatever the number of categories */
    .sf-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .sf-cats--2, .sf-cats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-cats--2 .sf-cat { aspect-ratio: 5 / 4; }
    .sf-cats--3 > li:first-child { grid-column: auto; }
    .sf-cats--3 > li:first-child .sf-cat { aspect-ratio: 4 / 5; }
    .sf-cats--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sf-cats--5 > li { grid-column: span 2; }
    .sf-cats--5 > li:nth-child(-n+2) { grid-column: span 3; }
    .sf-cats--5 > li:nth-child(-n+2) .sf-cat { aspect-ratio: 6 / 5; }
    .sf-quote-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; }
    .sf-quote-cta__btn { flex-shrink: 0; }
    .sf-location__card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
    .sf-location__map { aspect-ratio: auto; min-height: 340px; }
    .sf-location__body { justify-content: center; padding: 32px; }
    .sf-quote__card--page { padding: 32px; display: flex; }
    .sf-quote__card--page .sf-form { flex: 1; }
    .sf-catalogue .sf-page__title { font-size: calc(48px * var(--sf-scale)); }
    .sf-contact-page .sf-page__title { font-size: calc(52px * var(--sf-scale)); }
}
@media (min-width: 960px) {
    .sf-cats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-contact-page__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
}
@media (min-width: 1080px) {
    .sf-menubtn { display: none; }
    .sf-nav { display: flex; align-items: center; gap: 4px 26px; }
    .sf-nav a {
        display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none;
        font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent;
    }
    .sf-nav a:hover { border-bottom-color: currentColor; }
    .sf-nav a[aria-current="page"] { border-bottom-color: var(--sf-accent); }
    .sf-header:not(.sf-header--centred) .sf-nav { margin-left: auto; margin-right: 12px; }
    .sf-header--band .sf-nav a[aria-current="page"] { border-bottom-color: var(--sf-band); }
}

/* ── Atelier: cover, page photo and glass ─────────── */
/*
 * A fashion house's lookbook. The first screen is the owner's photos, full
 * bleed, taking turns (the one bold thing on the page). Behind every page
 * the chosen photo stays, about a sixth visible, so the shop sits in the
 * brand's world; what needs a surface sits on frosted panels over it.
 * Corners are square, type is the brand's own. The owner asked for the
 * glass (.ux-profile.md); it is solid where a phone asks for less
 * transparency or can't blur.
 */

.look-atelier {
    --sf-glass: color-mix(in srgb, var(--sf-ground) 72%, transparent);
    --sf-glass-strong: color-mix(in srgb, var(--sf-ground) 84%, transparent);
    --sf-glass-edge: color-mix(in srgb, var(--sf-ink) 10%, transparent);
    --sf-blur: blur(18px) saturate(1.35);
}
.look-atelier.has-backdrop { background: var(--sf-ground); }
.look-atelier.has-backdrop body { background: transparent; }
.sf-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--sf-ground); }
.sf-backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; filter: blur(2px) saturate(0.9); transform: scale(1.04); }

/* Header: clear over the cover, frosted once the page moves under it */
.look-atelier .sf-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--sf-glass-strong); -webkit-backdrop-filter: var(--sf-blur); backdrop-filter: var(--sf-blur);
    border-bottom: 1px solid var(--sf-glass-edge);
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.look-atelier .sf-header__inner { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; min-height: 60px; }
.look-atelier .sf-header__inner > .sf-menubtn { margin-left: -10px; }
.look-atelier .sf-bagbtn { justify-self: end; }
.look-atelier .sf-brand { justify-content: center; text-align: center; }
.look-atelier .sf-brand__home { justify-content: center; }
.look-atelier .sf-brand__name { font-size: calc(23px * var(--sf-scale)); letter-spacing: 0.01em; }
.look-atelier .sf-brand__logo { height: 32px; }
.look-atelier .sf-header--over { margin-bottom: -61px; background: transparent; border-bottom-color: transparent; color: var(--sf-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.look-atelier .sf-header--over .sf-bagbtn { color: inherit; }
.look-atelier .sf-header--over .sf-badge { box-shadow: 0 0 0 2px var(--sf-scrim); }
.look-atelier .sf-header--over.is-solid {
    background: var(--sf-glass-strong); color: var(--sf-ink); border-bottom-color: var(--sf-glass-edge);
    -webkit-backdrop-filter: var(--sf-blur); backdrop-filter: var(--sf-blur);
}
.look-atelier .sf-announce { position: relative; z-index: 31; background: var(--sf-scrim); color: var(--sf-paper); font-weight: 500; letter-spacing: 0.02em; }

/* The cover */
.sf-hero--cover { padding: 0; }
.sf-cover {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: calc(100svh - var(--sf-top, 0px)); overflow: hidden; background: var(--sf-scrim); color: var(--sf-paper);
}
.sf-cover__media { position: absolute; inset: 0; z-index: -2; }
.sf-cover__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms ease; }
.sf-cover__slide.is-on { opacity: 1; }
.sf-cover__slide > picture, .sf-cover__slide > img, .sf-cover__slide > video, .sf-cover__slide > svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.sf-cover__slide img, .sf-cover__slide video { width: 100%; height: 100%; object-fit: cover; }
.sf-cover__video { opacity: 0; transition: opacity 300ms ease; }
.sf-cover__video.is-playing { opacity: 1; }
/* A slow drift while a photo is showing, from a different corner each time */
.sf-cover__slide.is-on .sf-cover__img { animation: sf-drift 9s ease-out both; }
.sf-cover__slide:nth-child(3n+2) .sf-cover__img { transform-origin: 20% 30%; }
.sf-cover__slide:nth-child(3n+3) .sf-cover__img { transform-origin: 80% 60%; }
@keyframes sf-drift { from { transform: scale(1.09); } to { transform: scale(1); } }
.sf-cover__fade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(to top,
            color-mix(in srgb, var(--sf-scrim) 96%, transparent) 0%,
            color-mix(in srgb, var(--sf-scrim) 88%, transparent) 34%,
            color-mix(in srgb, var(--sf-scrim) 62%, transparent) 54%,
            color-mix(in srgb, var(--sf-scrim) 0%, transparent) 80%),
        linear-gradient(to bottom, color-mix(in srgb, var(--sf-scrim) 58%, transparent) 0%, color-mix(in srgb, var(--sf-scrim) 0%, transparent) 20%);
}
.sf-cover__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 120px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.sf-cover__badge {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--sf-paper) 38%, transparent); background: color-mix(in srgb, var(--sf-paper) 12%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
}
.sf-cover__title { max-width: 15ch; font-size: calc(46px * var(--sf-scale)); line-height: 1.02; letter-spacing: -0.015em; text-shadow: 0 2px 28px color-mix(in srgb, var(--sf-scrim) 55%, transparent); }
.sf-cover__lead { max-width: 38ch; font-size: 17px; line-height: 1.5; color: color-mix(in srgb, var(--sf-paper) 88%, transparent); text-wrap: pretty; }
.sf-cover__actions { display: flex; flex-direction: column; align-self: stretch; gap: 10px; margin-top: 8px; }
.sf-btn--glass {
    background: color-mix(in srgb, var(--sf-paper) 10%, transparent); color: var(--sf-paper);
    border-color: color-mix(in srgb, var(--sf-paper) 55%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sf-btn--glass:hover { filter: none; background: color-mix(in srgb, var(--sf-paper) 18%, transparent); }
.sf-cover :focus-visible { outline-color: var(--sf-paper); }
.sf-cover__bars { display: flex; align-items: center; gap: 6px; align-self: stretch; margin-top: 14px; }
.sf-cover__bar { flex: 1; min-width: 0; height: 28px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.sf-cover__bar span { position: relative; display: block; width: 100%; height: 2px; overflow: hidden; background: color-mix(in srgb, var(--sf-paper) 32%, transparent); }
.sf-cover__bar span::after { content: ""; position: absolute; inset: 0; background: var(--sf-paper); transform: scaleX(0); transform-origin: left; }
.sf-cover__bar.is-done span::after { transform: scaleX(1); }
.sf-cover__bar[aria-current="true"] span::after { transform: scaleX(1); }
.sf-cover.is-running .sf-cover__bar[aria-current="true"] span::after { animation: sf-bar var(--sf-interval, 6500ms) linear both; }
.sf-cover.is-paused .sf-cover__bar[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes sf-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sf-cover__pause { flex-shrink: 0; width: 40px; height: 40px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--sf-paper); }
.sf-cover__pause .sf-cover__play, .sf-cover.is-paused .sf-cover__pause svg:first-child { display: none; }
.sf-cover.is-paused .sf-cover__pause .sf-cover__play { display: block; }
.sf-cover__slide--drawn { background: var(--sf-accent); }
.sf-cover:not(.is-running) .sf-cover__pause { visibility: hidden; }

/* Sections over the page photo */
.look-atelier .sf-section { padding-block: 40px; }
.look-atelier .sf-section__head .sf-h2, .look-atelier .sf-h2 { letter-spacing: -0.005em; }
.look-atelier .sf-about__inner,
.look-atelier .sf-review,
.look-atelier .sf-post-card,
.look-atelier .sf-bookcard,
.look-atelier .sf-delivery__card,
.look-atelier .sf-location__card,
.look-atelier .sf-quote__card--page,
.look-atelier .sf-ways__list,
.look-atelier .sf-faq__inner {
    background: var(--sf-glass); -webkit-backdrop-filter: var(--sf-blur); backdrop-filter: var(--sf-blur);
    border: 1px solid var(--sf-glass-edge); border-radius: var(--sf-r-card);
    box-shadow: 0 1px 0 color-mix(in srgb, #FFFFFF 35%, transparent) inset, 0 24px 48px -32px rgba(0, 0, 0, 0.35);
}
/* These panels are the page's wrap too: inset them to the content's edges */
.look-atelier .sf-about__inner, .look-atelier .sf-faq__inner { width: calc(100% - 40px); max-width: 1120px; padding: 26px 20px; }
.look-atelier .sf-about .sf-prose p:first-child {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(24px * var(--sf-scale)); line-height: 1.3; text-wrap: pretty;
}
.look-atelier .sf-delivery__card { padding: 24px 20px; }
.look-atelier .sf-faq__item { border-bottom-color: var(--sf-glass-edge); }
.look-atelier .sf-faq__item:last-child { border-bottom: 0; }
.look-atelier .sf-ways__list li + li { border-top-color: var(--sf-glass-edge); }
.look-atelier .sf-way__icon { background: color-mix(in srgb, var(--sf-accent) 14%, transparent); }

/* "New in": a row to swipe on a phone */
.look-atelier .sf-featured .sf-tiles {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 66%; gap: 14px;
    margin-inline: -20px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
}
.look-atelier .sf-featured .sf-tiles::-webkit-scrollbar { display: none; }
.look-atelier .sf-featured .sf-tile { scroll-snap-align: start; }
.look-atelier .sf-tile__name, .look-atelier .sf-item--editorial .sf-item__name { font-size: 15px; font-weight: 500; letter-spacing: 0.01em; }
.look-atelier .sf-tile__price, .look-atelier .sf-item--editorial .sf-item__price { font-size: 15px; }

/* The list's search and categories stay under the header */
.look-atelier .sf-shopbar {
    position: sticky; top: 60px; z-index: 6; margin: 0 -20px 20px; padding: 10px 20px 0;
    background: var(--sf-glass-strong); -webkit-backdrop-filter: var(--sf-blur); backdrop-filter: var(--sf-blur);
    border-bottom: 1px solid var(--sf-glass-edge);
}
.look-atelier .sf-shopbar .sf-search input { background: color-mix(in srgb, var(--sf-card) 70%, transparent); border-radius: 0; }
.look-atelier .sf-shopbar .sf-filters { margin-bottom: 0; border-bottom: 0; }
.look-atelier .sf-page__head { padding-top: 12px; }

/* "Made for you": a dark band, stitched like a seam */
.look-atelier .sf-quote-cta { position: relative; margin-block: 16px; padding-block: 64px; background: var(--sf-scrim); color: var(--sf-paper); }
.look-atelier .sf-quote-cta::before, .look-atelier .sf-quote-cta::after {
    content: ""; position: absolute; left: 0; right: 0; border-top: 1.5px dashed color-mix(in srgb, var(--sf-paper) 38%, transparent);
}
.look-atelier .sf-quote-cta::before { top: 12px; }
.look-atelier .sf-quote-cta::after { bottom: 12px; }
.look-atelier .sf-quote-cta__inner { padding: 0 20px; background: none; color: inherit; border-radius: 0; }
.look-atelier .sf-quote-cta .sf-h2 { font-size: calc(36px * var(--sf-scale)); }
.look-atelier .sf-quote-cta__btn { background: var(--sf-accent); color: var(--sf-on); }
.look-atelier .sf-quote-cta :focus-visible { outline-color: var(--sf-paper); }

/* On a dark page the band is the accent, stitched like leather, and the
   footer a shade deeper than the page */
.look-atelier.is-dark .sf-quote-cta { background: var(--sf-accent); color: var(--sf-on); }
.look-atelier.is-dark .sf-quote-cta::before, .look-atelier.is-dark .sf-quote-cta::after { border-top-color: color-mix(in srgb, var(--sf-on) 40%, transparent); }
.look-atelier.is-dark .sf-quote-cta__btn { background: var(--sf-on); color: var(--sf-accent); }
.look-atelier.is-dark .sf-quote-cta :focus-visible { outline-color: var(--sf-on); }
.look-atelier.is-dark {
    --sf-glass: color-mix(in srgb, var(--sf-surface) 72%, transparent);
    --sf-glass-edge: color-mix(in srgb, var(--sf-ink) 14%, transparent);
}

/* Footer, menu and sheets */
.look-atelier .sf-footer { margin-top: 24px; border-top: 0; background: var(--sf-scrim); color: var(--sf-paper); }
.look-atelier.is-dark .sf-footer { background: color-mix(in srgb, var(--sf-ground) 72%, #000000); }
.look-atelier .sf-footer__text, .look-atelier .sf-footer__end, .look-atelier .sf-footer__lines svg { color: inherit; opacity: 0.85; }
.look-atelier .sf-footer .sf-btn--outline { color: var(--sf-paper); }
.look-atelier .sf-footer .sf-iconbtn { color: var(--sf-paper); border-color: currentColor; }
.look-atelier .sf-footer :focus-visible { outline-color: var(--sf-paper); }
.look-atelier .sf-menu {
    inset: 0 auto 0 0; background: var(--sf-glass-strong); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
}
.look-atelier .sf-menu[open] { animation-name: sf-menu-left; }
@keyframes sf-menu-left { from { transform: translateX(-32px); opacity: 0; } to { transform: none; opacity: 1; } }
.look-atelier .sf-menu__head .sf-iconbtn { margin-right: -10px; }
.look-atelier .sf-dialog::backdrop, .look-atelier .sf-menu::backdrop {
    background: color-mix(in srgb, var(--sf-scrim) 45%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* Where a phone asks for less see-through, or can't blur, panels are solid */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .look-atelier { --sf-glass: color-mix(in srgb, var(--sf-ground) 94%, transparent); --sf-glass-strong: var(--sf-ground); }
}
@media (prefers-reduced-transparency: reduce) {
    .look-atelier { --sf-glass: var(--sf-ground); --sf-glass-strong: var(--sf-ground); }
    .sf-backdrop img { opacity: 0.08; }
}

@media (min-width: 600px) {
    .sf-cover__actions { flex-direction: row; align-self: flex-start; }
}
@media (min-width: 720px) {
    .look-atelier .sf-section { padding-block: 64px; }
    .sf-cover__body { padding-top: 160px; padding-bottom: 28px; }
    .sf-cover__title { font-size: calc(76px * var(--sf-scale)); }
    .sf-cover__lead { font-size: 19px; }
    .sf-cover__bars { max-width: 420px; }
    .look-atelier .sf-featured .sf-tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
    .look-atelier .sf-shopbar { top: 72px; margin-inline: -32px; padding-inline: 32px; }
    .look-atelier .sf-header__inner { min-height: 72px; }
    .look-atelier .sf-header--over { margin-bottom: -73px; }
    .look-atelier .sf-about__inner, .look-atelier .sf-faq__inner { width: calc(100% - 64px); max-width: 1096px; padding: 40px; }
    .look-atelier .sf-quote-cta { padding-block: 88px; }
    .look-atelier .sf-quote-cta__inner { padding-inline: 32px; }
    .look-atelier .sf-quote-cta .sf-h2 { font-size: calc(48px * var(--sf-scale)); }
}
@media (min-width: 1080px) {
    .look-atelier .sf-header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .look-atelier .sf-brand__name { font-size: calc(30px * var(--sf-scale)); }
    .look-atelier .sf-brand__logo { height: 40px; }
    .look-atelier .sf-header .sf-nav { justify-self: start; }
    .sf-cover__title { font-size: calc(96px * var(--sf-scale)); }
}

/* ── Buka: the turntable ──────────────────────────── */
/*
 * A buka's table: dishes on enamel plates, set on a checked cloth, on a
 * table that turns. The dish in front is big; the next ones wait round the
 * sides, lower and turned, so the shopper sees there is more. A swipe or a
 * drag turns the table with the finger and lets go on the nearest dish
 * (storefront.js, "The turntable"); the dish that arrives lets off a little
 * steam. Plates are placed round a circle --reach plates from the middle,
 * --slots to a turn; --turn says how far it has turned.
 */

.sf-hero--turntable { padding: 0 0 20px; }
.sf-turntable {
    --P: min(80vw, 340px);
    --plate: var(--sf-card);
    --turn: 0;
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "stage" "info" "more";
}
.look-buka.is-dark .sf-turntable { --plate: var(--sf-paper); }
.sf-turntable__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 6px; }
.sf-turntable__title { font-size: calc(36px * var(--sf-scale)); line-height: 1.04; }
.sf-open {
    display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
    background: var(--sf-surface); color: var(--sf-ink); font-size: 14px; font-weight: 600;
}
.sf-open__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sf-muted); }
.sf-open.is-open .sf-open__dot { background: var(--sf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 22%, transparent); }

/* The table */
.sf-turntable__stage {
    grid-area: stage; position: relative; z-index: 0; height: calc(var(--P) * 1.18); margin-top: 4px; overflow: hidden;
    touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.sf-turntable[data-count="0"] .sf-turntable__stage, .sf-turntable[data-count="1"] .sf-turntable__stage { touch-action: auto; }
.sf-turntable__cloth {
    --check: color-mix(in srgb, var(--sf-band) 24%, transparent);
    position: absolute; inset: calc(var(--P) * 0.1) 0 0; z-index: -1;
    background:
        linear-gradient(90deg, var(--check) 50%, transparent 0) 0 0 / 30px 30px,
        linear-gradient(var(--check) 50%, transparent 0) 0 0 / 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 54%, #000 34%, transparent 74%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 54%, #000 34%, transparent 74%);
}
/* The shadow the front plate casts on the cloth */
.sf-turntable__stage::after {
    content: ""; position: absolute; z-index: -1; left: 50%; top: calc(var(--P) * 0.92); width: calc(var(--P) * 0.86); height: calc(var(--P) * 0.16);
    transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--sf-scrim) 34%, transparent), transparent);
}
.sf-turntable__wheel {
    position: absolute; left: 50%; top: calc(var(--P) * (0.54 + var(--reach))); width: 0; height: 0;
    transform: rotate(calc(var(--turn) * -360deg / var(--slots)));
    transition: transform 720ms cubic-bezier(0.2, 0.9, 0.25, 1);
}
.sf-turntable.is-dragging .sf-turntable__wheel { transition: none; }
.sf-turntable__plate {
    position: absolute; left: calc(var(--P) / -2); top: calc(var(--P) * (-0.5 - var(--reach))); width: var(--P); height: var(--P);
    transform-origin: 50% calc(var(--P) * (0.5 + var(--reach)));
    transform: rotate(calc(var(--i) * 360deg / var(--slots)));
}
/* An enamel plate: a coloured rim with little flowers, a white well */
.sf-turntable__dish {
    position: absolute; inset: 0; border-radius: 50%; background-color: var(--plate);
    background-image:
        radial-gradient(circle at 50% 2.6%, var(--sf-band) 0 1.1%, transparent 1.4%),
        radial-gradient(circle at 92.1% 26.3%, var(--sf-band) 0 1.1%, transparent 1.4%),
        radial-gradient(circle at 92.1% 73.7%, var(--sf-band) 0 1.1%, transparent 1.4%),
        radial-gradient(circle at 50% 97.4%, var(--sf-band) 0 1.1%, transparent 1.4%),
        radial-gradient(circle at 7.9% 73.7%, var(--sf-band) 0 1.1%, transparent 1.4%),
        radial-gradient(circle at 7.9% 26.3%, var(--sf-band) 0 1.1%, transparent 1.4%);
    box-shadow:
        inset 0 0 0 calc(var(--P) * 0.05) var(--sf-accent),
        inset 0 0 0 calc(var(--P) * 0.062) var(--plate),
        inset 0 0 0 calc(var(--P) * 0.066) color-mix(in srgb, var(--sf-accent) 28%, var(--plate)),
        0 0 calc(var(--P) * 0.06) color-mix(in srgb, var(--sf-scrim) 22%, transparent);
    scale: 0.82;
    transition: scale 520ms cubic-bezier(0.2, 0.9, 0.25, 1);
}
.sf-turntable__plate.is-front { z-index: 1; }
.sf-turntable__plate.is-front .sf-turntable__dish { scale: 1; }
.sf-turntable__dish--drawn { background: none; box-shadow: none; }
.sf-turntable__dish--drawn .sf-motif { width: 100%; height: 100%; }
.sf-turntable__food {
    position: absolute; inset: 9.5%; display: block; overflow: hidden; border-radius: 50%;
    background: var(--sf-surface); container-type: inline-size; text-decoration: none; -webkit-user-drag: none;
}
.sf-turntable__food img { -webkit-user-drag: none; pointer-events: none; }
/* The plate's well: a little shade round the food */
.sf-turntable__food::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    box-shadow: inset 0 0 calc(var(--P) * 0.05) color-mix(in srgb, var(--sf-scrim) 40%, transparent);
}
.sf-turntable__food .sf-ph { background: var(--plate); }
.sf-turntable__food .sf-ph__mark { font-size: clamp(28px, 26cqi, 96px); }
.sf-turntable__plate:not(.is-front) .sf-turntable__food { pointer-events: none; }

/* Steam off a dish that has just arrived */
.sf-turntable__steam {
    position: absolute; z-index: 1; left: 50%; top: calc(var(--P) * 0.08); width: calc(var(--P) * 0.34); height: auto;
    transform: translateX(-50%); overflow: visible; pointer-events: none;
    fill: none; stroke: var(--sf-paper); stroke-width: 6; stroke-linecap: round; filter: blur(2.5px);
}
.sf-turntable__steam path { opacity: 0; stroke-dasharray: 120; stroke-dashoffset: 120; }
.sf-turntable.is-steaming .sf-turntable__steam path { animation: sf-steam 2400ms ease-out both; }
.sf-turntable.is-steaming .sf-turntable__steam path:nth-child(2) { animation-delay: 220ms; }
.sf-turntable.is-steaming .sf-turntable__steam path:nth-child(3) { animation-delay: 420ms; }
@keyframes sf-steam {
    0%   { opacity: 0; stroke-dashoffset: 120; transform: translateY(18px); }
    25%  { opacity: 0.75; }
    100% { opacity: 0; stroke-dashoffset: 0; transform: translateY(-26px); }
}
.sf-turntable__roundel { top: calc(var(--P) * 0.04); right: max(10px, calc(50% - var(--P) * 0.6)); z-index: 2; width: 96px; height: 96px; font-size: 14px; }

/* The dish in front: its name, price and Add */
.sf-turntable__info { grid-area: info; display: flex; flex-direction: column; gap: 12px; }
.sf-turntable__cards { display: grid; min-height: 120px; }
.sf-turntable__card { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; }
/* Every dish's words share one place, so the tallest sets its height and
   nothing below moves when the table turns */
.sf-turntable__card:not(.is-on) { visibility: hidden; }
.sf-turntable__card.is-arriving { animation: sf-dish-in 420ms cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes sf-dish-in { from { opacity: 0; transform: translateX(calc(var(--from, 1) * 18px)); } to { opacity: 1; transform: none; } }
.sf-turntable__name {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(30px * var(--sf-scale)); line-height: 1.08; text-wrap: balance;
}
.sf-turntable__name a { text-decoration: none; }
.sf-turntable__desc { max-width: 46ch; font-size: 15px; line-height: 1.45; color: var(--sf-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sf-turntable__buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.sf-turntable__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.sf-turntable__price .sf-amount {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(34px * var(--sf-scale)); line-height: 1; color: var(--sf-accent-text);
}
.sf-turntable__price .sf-amount--ask { font-family: var(--sf-body); font-size: 17px; font-weight: 600; color: var(--sf-muted); }
.sf-turntable__price .sf-unit { font-size: 15px; }
.sf-turntable__add { flex-shrink: 0; min-width: 116px; min-height: 52px; padding: 0 22px; font-size: 17px; }

.sf-turntable__controls { display: flex; align-items: center; gap: 12px; }
.sf-turntable__arrow {
    flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--sf-field); border-radius: 50%; background: var(--sf-ground); color: var(--sf-ink);
}
.sf-turntable__arrow:active { transform: scale(0.94); }
.sf-turntable__dots { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 2px; }
.sf-turntable__dot { width: 28px; height: 44px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; }
.sf-turntable__dot span { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--sf-field); transition: width 300ms ease, background-color 300ms ease; }
.sf-turntable__dot[aria-current="true"] span { width: 24px; background: var(--sf-accent); }
.sf-turntable__hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -6px; font-size: 14px; color: var(--sf-muted); }
.sf-turntable__more { grid-area: more; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; }
.sf-turntable__more .sf-hero__actions { margin-top: 0; }

/* The rest of the page, set for a buka */
.look-buka .sf-hero__actions .sf-btn:first-child:not(.sf-btn--outline) { background: var(--sf-ink); color: var(--sf-ground); }

/* Categories on enamel plates, the name under each */
.look-buka .sf-cats { --plate: var(--sf-card); gap: 22px 14px; }
.look-buka.is-dark .sf-cats { --plate: var(--sf-paper); }
.look-buka .sf-cats--3, .look-buka .sf-cats--5, .look-buka .sf-cats--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.look-buka .sf-cats > li:first-child { grid-column: auto; }
.look-buka .sf-cat, .look-buka .sf-cats--3 > li:first-child .sf-cat, .look-buka .sf-cats--5 > li:first-child .sf-cat {
    aspect-ratio: auto; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 4px;
    border-radius: 0; background: none; color: var(--sf-ink); text-align: center;
}
.look-buka .sf-cat::after { display: none; }
.look-buka .sf-cat__media {
    position: relative; inset: auto; width: 100%; aspect-ratio: 1; margin-bottom: 8px; border-radius: 50%; background: var(--plate);
    box-shadow: inset 0 0 0 5px var(--sf-accent), inset 0 0 0 8px var(--plate), inset 0 0 0 9px color-mix(in srgb, var(--sf-accent) 28%, var(--plate)),
                0 10px 22px -12px color-mix(in srgb, var(--sf-scrim) 45%, transparent);
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.25, 1);
}
.look-buka .sf-cat__media .sf-media { inset: 11%; border-radius: 50%; overflow: hidden; }
.look-buka .sf-cat:hover .sf-cat__media { transform: rotate(-8deg); }
.look-buka .sf-cat:hover .sf-cat__media .sf-media { transform: none; }
.look-buka .sf-cat__media .sf-ph { background: var(--plate); }
.look-buka .sf-cat__name, .look-buka .sf-cat__count { position: static; }
.look-buka .sf-cat__name { font-size: calc(20px * var(--sf-scale)); }
.look-buka .sf-cat__count { color: var(--sf-muted); opacity: 1; }

/* Party orders: a dark card with the tablecloth along its top */
.look-buka .sf-quote-cta__inner {
    position: relative; overflow: hidden; width: calc(100% - 40px); padding-top: 48px;
    border-radius: 24px; background: var(--sf-ink); color: var(--sf-ground);
}
.look-buka .sf-quote-cta__inner::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px;
    background:
        linear-gradient(90deg, var(--sf-band) 50%, transparent 0) 0 0 / 20px 20px,
        linear-gradient(color-mix(in srgb, var(--sf-band) 55%, transparent) 50%, transparent 0) 0 0 / 20px 20px;
}
.look-buka .sf-quote-cta__btn { background: var(--sf-band); color: var(--sf-band-ink); }
.look-buka .sf-quote-cta :focus-visible { outline-color: var(--sf-ground); }

@media (min-width: 720px) {
    .sf-turntable { --P: 380px; }
    .sf-turntable__title { font-size: calc(48px * var(--sf-scale)); }
    .sf-turntable__info { align-items: center; text-align: center; }
    .sf-turntable__card { align-items: center; }
    .sf-turntable__buy { justify-content: center; }
    .sf-turntable__controls { width: 100%; max-width: 460px; }
    .sf-turntable__head, .sf-turntable__more { align-items: center; text-align: center; }
}
@media (min-width: 960px) {
    .sf-hero--turntable { padding: 12px 0 36px; }
    .sf-turntable {
        --P: 420px;
        max-width: 1160px; margin-inline: auto; padding-inline: 32px; column-gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        grid-template-areas: "head stage" "info stage" "more stage";
        grid-template-rows: auto auto 1fr;
        align-items: start;
    }
    .sf-turntable > .sf-wrap { padding-inline: 0; }
    .sf-turntable__head, .sf-turntable__more, .sf-turntable__info, .sf-turntable__card { align-items: flex-start; text-align: left; }
    .sf-turntable__buy { justify-content: flex-start; }
    .sf-turntable__head { padding-top: 48px; }
    .sf-turntable__title { font-size: calc(58px * var(--sf-scale)); }
    .sf-turntable__info { padding-top: 26px; }
    .sf-turntable__controls { max-width: 380px; }
    .sf-turntable__hint { justify-content: flex-start; }
    .sf-turntable__stage {
        height: calc(var(--P) * 1.32); margin-top: 0;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 82%, transparent);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 82%, transparent);
        mask-composite: intersect;
    }
    .sf-turntable__roundel { right: calc(50% - var(--P) * 0.62); }
    .look-buka .sf-quote-cta__inner { width: calc(100% - 64px); max-width: 1096px; padding: 56px 40px 40px; }
    .sf-turntable__wheel { top: calc(var(--P) * (0.62 + var(--reach))); }
    .sf-turntable__stage::after { top: calc(var(--P) * 1.0); }
    .sf-turntable__steam { top: calc(var(--P) * 0.16); }
}

/* ── Glow: shoppable stories ──────────────────────── */
/*
 * Beauty is looked at in stories, so Glow opens on them: tall photos that
 * take turns, a bar each, every one a service with its price, how long it
 * takes and Book or Add on it. The header sits clear over them on a phone.
 * Under them, a ring per category, as Instagram's highlights. On a
 * computer the story stands in the middle, the next ones smaller beside it,
 * in a soft glow of its own colours. Everything is the brand's: words over
 * a photo sit on a fade of --sf-scrim in --sf-paper; drawn stories are the
 * look's soft ground with the ink on it.
 */

.sf-hero--stories { padding: 0 0 10px; }
.sf-stories { --story-r: 28px; }
.sf-stories__stage {
    position: relative; isolation: isolate; overflow: hidden;
    height: max(540px, calc(100svh - var(--sf-top, 0px) - 118px));
    border-radius: 0 0 var(--story-r) var(--story-r); background: var(--sf-scrim);
    touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.sf-stories__glow { display: none; }

/* One story */
.sf-story {
    position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--sf-paper); opacity: 0; transition: opacity 450ms ease;
}
.sf-story.is-on { z-index: 1; opacity: 1; }
.sf-story__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--sf-scrim); }
.sf-story__media > picture, .sf-story__media > img, .sf-story__media > video, .sf-story__media > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-story__media img, .sf-story__media video { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.sf-story__media video { opacity: 0; transition: opacity 300ms ease; }
.sf-story__media video.is-playing { opacity: 1; }
.sf-story.is-on .sf-story__media img { animation: sf-story-settle 1100ms cubic-bezier(0.2, 0.8, 0.3, 1) both; }
@keyframes sf-story-settle { from { transform: scale(1.07); } to { transform: none; } }
.sf-story__fade {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(to top,
            color-mix(in srgb, var(--sf-scrim) 94%, transparent) 0%,
            color-mix(in srgb, var(--sf-scrim) 80%, transparent) 28%,
            color-mix(in srgb, var(--sf-scrim) 30%, transparent) 52%,
            color-mix(in srgb, var(--sf-scrim) 0%, transparent) 70%),
        linear-gradient(to bottom, color-mix(in srgb, var(--sf-scrim) 62%, transparent) 0%, color-mix(in srgb, var(--sf-scrim) 0%, transparent) 22%);
}
.sf-story__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 20px 26px; }
.sf-story.is-on .sf-story__body > * { animation: sf-story-up 560ms cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.sf-story.is-on .sf-story__body > :nth-child(2) { animation-delay: 60ms; }
.sf-story.is-on .sf-story__body > :nth-child(3) { animation-delay: 120ms; }
.sf-story.is-on .sf-story__body > :nth-child(4) { animation-delay: 180ms; }
@keyframes sf-story-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sf-story__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-story__chips span {
    display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--sf-paper) 36%, transparent); background: color-mix(in srgb, var(--sf-scrim) 30%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
}
.sf-story__title, .sf-story__name {
    max-width: 14ch; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
    text-shadow: 0 2px 24px color-mix(in srgb, var(--sf-scrim) 50%, transparent);
}
.sf-story__title { font-size: calc(46px * var(--sf-scale)); }
.sf-story__name { font-size: calc(40px * var(--sf-scale)); }
.sf-story__lead { max-width: 34ch; font-size: 17px; line-height: 1.5; color: color-mix(in srgb, var(--sf-paper) 90%, transparent); text-wrap: pretty; }
.sf-story__by { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(26px * var(--sf-scale)); }
.sf-story__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.sf-story__price .sf-amount { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(30px * var(--sf-scale)); line-height: 1; }
.sf-story__price .sf-unit, .sf-story__price .sf-amount--ask { color: color-mix(in srgb, var(--sf-paper) 86%, transparent); }
.sf-story__price .sf-amount--ask { font-family: var(--sf-body); font-size: 17px; }
.sf-story__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sf-story__go { background: var(--sf-paper); color: var(--sf-scrim); }
.sf-story__up { transform: rotate(180deg); }
.sf-story :focus-visible { outline-color: var(--sf-paper); }

/* A story with no photo: the look's soft ground in a glow of its colours,
   the initials large and faint, and the ink */
.sf-story--drawn { color: var(--sf-ink); }
.sf-story--drawn .sf-story__media { background: var(--sf-tint); }
.sf-story__aura {
    position: absolute; inset: -20%;
    background:
        radial-gradient(circle at 72% 26%, color-mix(in srgb, var(--sf-accent) 42%, transparent) 0, transparent 34%),
        radial-gradient(circle at 22% 64%, color-mix(in srgb, var(--sf-motif) 90%, transparent) 0, transparent 38%),
        radial-gradient(circle at 60% 90%, color-mix(in srgb, var(--sf-accent) 22%, transparent) 0, transparent 30%);
    filter: blur(28px);
}
.sf-story:nth-of-type(3n+2) .sf-story__aura { transform: scaleX(-1); }
.sf-story:nth-of-type(3n+3) .sf-story__aura { transform: rotate(180deg); }
.sf-story.is-on .sf-story__aura { animation: sf-story-settle 1400ms cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.sf-story__mark {
    position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: min(64vw, 300px); line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--sf-accent) 40%, transparent);
}
.sf-story--drawn .sf-story__fade { display: none; }
.sf-story--drawn .sf-story__title, .sf-story--drawn .sf-story__name { text-shadow: none; }
.sf-story--drawn .sf-story__lead, .sf-story--drawn .sf-story__price .sf-unit, .sf-story--drawn .sf-story__price .sf-amount--ask { color: var(--sf-muted); }
.sf-story--drawn .sf-story__chips span { border-color: var(--sf-field); background: color-mix(in srgb, var(--sf-ground) 60%, transparent); }
.sf-story--drawn .sf-story__go { background: var(--sf-accent); color: var(--sf-on); }
.sf-story--drawn .sf-btn--glass { background: transparent; color: var(--sf-ink); border-color: currentColor; }
.sf-story--drawn :focus-visible { outline-color: var(--sf-ink); }
/* (:has() paints it before storefront.js runs; the classes are for older phones) */
.sf-stories.is-light .sf-stories__bar span, .sf-stories:has(.sf-story--drawn.is-on) .sf-stories__bar span { background: color-mix(in srgb, var(--sf-ink) 22%, transparent); }
.sf-stories.is-light .sf-stories__bar span::after, .sf-stories:has(.sf-story--drawn.is-on) .sf-stories__bar span::after { background: var(--sf-ink); }
.sf-stories.is-light .sf-stories__pause, .sf-stories:has(.sf-story--drawn.is-on) .sf-stories__pause { border-color: var(--sf-field); background: color-mix(in srgb, var(--sf-ground) 60%, transparent); color: var(--sf-ink); }
.look-glow .sf-header--over.is-light:not(.is-solid), .look-glow:has(.sf-story--drawn.is-on) .sf-header--over:not(.is-solid) { color: var(--sf-ink); }
.look-glow .sf-header--over.is-light:not(.is-solid) .sf-brand__name, .look-glow:has(.sf-story--drawn.is-on) .sf-header--over:not(.is-solid) .sf-brand__name { text-shadow: none; }
.look-glow .sf-header--over.is-light:not(.is-solid) :focus-visible { outline-color: var(--sf-ink); }

/* Bars, pause, and the arrows keyboards and computers use */
.sf-stories__bars {
    position: absolute; z-index: 3; left: 10px; right: 10px; top: 4px;
    display: flex; gap: 4px;
}
.sf-stories__bar { flex: 1; min-width: 0; height: 18px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.sf-stories__bar span { position: relative; display: block; width: 100%; height: 3px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--sf-paper) 38%, transparent); }
.sf-stories__bar span::after { content: ""; position: absolute; inset: 0; background: var(--sf-paper); transform: scaleX(0); transform-origin: left; }
.sf-stories__bar.is-done span::after, .sf-stories__bar[aria-current="true"] span::after { transform: scaleX(1); }
.sf-stories.is-running .sf-stories__bar[aria-current="true"] span::after { animation: sf-bar var(--sf-interval, 5500ms) linear both; }
.sf-stories.is-paused .sf-stories__bar[aria-current="true"] span::after { animation-play-state: paused; }
.sf-stories__pause, .sf-stories__side {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--sf-paper) 34%, transparent);
    background: color-mix(in srgb, var(--sf-scrim) 30%, transparent); color: var(--sf-paper);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sf-stories__pause { top: 72px; right: 12px; }
.sf-stories__pause .sf-stories__play, .sf-stories.is-paused .sf-stories__pause svg:first-child { display: none; }
.sf-stories.is-paused .sf-stories__pause .sf-stories__play { display: block; }
.sf-stories:not(.is-running) .sf-stories__pause { visibility: hidden; }
/* On a phone the sides of the story are the arrows; these show for keyboards */
.sf-stories__side { top: 50%; margin-top: -22px; opacity: 0; pointer-events: none; }
.sf-stories__side:focus-visible { opacity: 1; pointer-events: auto; outline-color: var(--sf-paper); }
.sf-stories__side--back { left: 10px; }
.sf-stories__side--next { right: 10px; }
.sf-stories__stage :focus-visible { outline-color: var(--sf-paper); }

/* The header, clear over the stories until they scroll away */
.look-glow .sf-header {
    position: sticky; top: 0; z-index: 30;
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.look-glow .sf-header--over { margin-bottom: -64px; background: transparent; color: var(--sf-paper); pointer-events: none; }
.look-glow .sf-header--over .sf-header__inner { padding-top: 14px; }
.look-glow .sf-header--over a, .look-glow .sf-header--over button { pointer-events: auto; }
.look-glow .sf-header--over .sf-bagbtn, .look-glow .sf-header--over .sf-brand__sub { color: inherit; }
.look-glow .sf-header--over .sf-badge { box-shadow: 0 0 0 2px var(--sf-scrim); }
.look-glow .sf-header--over :focus-visible { outline-color: var(--sf-paper); }
.look-glow .sf-header--over.is-solid {
    pointer-events: auto; background: var(--sf-ground); color: var(--sf-ink);
    box-shadow: 0 1px 0 var(--sf-line), 0 10px 30px -22px color-mix(in srgb, var(--sf-scrim) 60%, transparent);
}
.look-glow .sf-header--over.is-solid .sf-header__inner { padding-top: 8px; }
.look-glow .sf-header--over.is-solid :focus-visible { outline-color: var(--sf-ink); }
.look-glow .sf-header--over:not(.is-solid) .sf-brand__name { text-shadow: 0 1px 16px color-mix(in srgb, var(--sf-scrim) 55%, transparent); }

/* Rings: a category each, as highlights */
.sf-rings { padding-top: 18px; }
.sf-rings ul {
    list-style: none; margin: 0 -20px; padding: 2px 20px 6px; display: flex; gap: 14px;
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.sf-rings ul::-webkit-scrollbar { display: none; }
.sf-rings li { flex-shrink: 0; scroll-snap-align: start; }
.sf-ring {
    width: 80px; padding: 0; border: 0; background: none; color: var(--sf-ink); text-decoration: none;
    display: flex; flex-direction: column; align-items: center; gap: 8px; font: inherit; cursor: pointer;
}
.sf-ring__face {
    position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; overflow: hidden;
    border-radius: 50%; background: var(--sf-tint); color: var(--sf-accent-text); container-type: inline-size;
    box-shadow: 0 0 0 3px var(--sf-ground), 0 0 0 5.5px var(--sf-accent);
    margin-top: 6px;
    transition: transform 200ms cubic-bezier(0.3, 1.5, 0.5, 1);
}
.sf-ring:active .sf-ring__face { transform: scale(0.94); }
.sf-ring__face .sf-media { border-radius: 50%; overflow: hidden; }
.sf-ring__face .sf-ph__mark { font-size: 22px; }
.sf-ring--all .sf-ring__face { box-shadow: 0 0 0 3px var(--sf-ground), 0 0 0 4.5px var(--sf-field); }
.sf-ring__name { max-width: 100%; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 600px) {
    .sf-story__body { padding-inline: 28px; }
}
@media (min-width: 720px) {
    .sf-hero--stories { padding: 24px 0 8px; }
    .look-glow .sf-header--over, .look-glow .sf-header--over.is-solid { margin-bottom: 0; pointer-events: auto; background: var(--sf-ground); color: var(--sf-ink); box-shadow: none; }
    .look-glow .sf-header--over .sf-header__inner, .look-glow .sf-header--over.is-solid .sf-header__inner { padding-top: 8px; }
    .look-glow .sf-header--over:not(.is-solid) .sf-brand__name { text-shadow: none; }
    .look-glow .sf-header--over .sf-badge { box-shadow: none; }
    .look-glow .sf-header--over :focus-visible { outline-color: var(--sf-ink); }
    .sf-stories { --story-h: min(78vh, 760px); --story-w: calc(var(--story-h) * 9 / 16); overflow-x: clip; }
    .sf-stories__stage { height: var(--story-h); border-radius: 0; background: none; overflow: visible; }
    .sf-stories__glow { display: block; position: absolute; inset: -12% 0; z-index: -1; overflow: hidden; pointer-events: none; }
    .sf-stories__glow span {
        position: absolute; left: 50%; top: 50%; width: calc(var(--story-w) * 3.2); height: 120%;
        transform: translate(-50%, -50%); background: var(--sf-tint) center / cover no-repeat;
        filter: blur(70px) saturate(1.5); opacity: 0; transition: opacity 900ms ease;
        -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent);
    }
    .sf-stories__glow span.is-on { opacity: 0.55; }
    .sf-story {
        left: calc(50% - var(--story-w) / 2); right: auto; width: var(--story-w); height: 100%;
        border-radius: var(--story-r); overflow: hidden; opacity: 0;
        box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--sf-scrim) 55%, transparent);
        transition: transform 560ms cubic-bezier(0.2, 0.8, 0.3, 1), opacity 560ms ease, filter 560ms ease;
    }
    .sf-story[data-pos="0"] { opacity: 1; }
    .sf-story[data-pos="-1"], .sf-story[data-pos="1"] { opacity: 0.85; filter: brightness(0.82) saturate(0.9); cursor: pointer; }
    .sf-story[data-pos="-1"] { transform: translateX(calc(var(--story-w) * -0.9)) scale(0.62); }
    .sf-story[data-pos="1"] { transform: translateX(calc(var(--story-w) * 0.9)) scale(0.62); }
    .sf-story[data-pos="-2"], .sf-story[data-pos="2"] { opacity: 0.4; filter: brightness(0.75) saturate(0.8); }
    .sf-story[data-pos="-2"] { transform: translateX(calc(var(--story-w) * -1.52)) scale(0.46); }
    .sf-story[data-pos="2"] { transform: translateX(calc(var(--story-w) * 1.52)) scale(0.46); }
    .sf-story[data-pos="far"] { opacity: 0; transform: scale(0.4); }
    .sf-story:not(.is-on) .sf-story__body { opacity: 0; }
    .sf-story__title { font-size: calc(44px * var(--sf-scale)); }
    .sf-story__name { font-size: calc(38px * var(--sf-scale)); }
    .sf-stories__bars { left: calc(50% - var(--story-w) / 2 + 12px); right: auto; width: calc(var(--story-w) - 24px); top: 8px; }
    .sf-stories__pause { top: 32px; right: auto; left: calc(50% + var(--story-w) / 2 - 56px); }
    .sf-story__mark { font-size: calc(var(--story-w) * 0.7); }
    .sf-stories__side { opacity: 1; pointer-events: auto; border-color: var(--sf-field); background: var(--sf-ground); color: var(--sf-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .sf-stories__side:focus-visible { outline-color: var(--sf-ink); }
    .sf-stories__side--back { left: calc(50% - var(--story-w) / 2 - 64px); }
    .sf-stories__side--next { right: auto; left: calc(50% + var(--story-w) / 2 + 20px); }
    .sf-stories__side--back, .sf-stories__side--next { z-index: 4; }
    .sf-rings { display: flex; justify-content: center; padding-top: 28px; }
    .sf-rings ul { margin: 0; padding: 2px 4px 6px; }
}

/* The rest of the page, set for a salon: prices in the headline font, and
   custom requests on a soft card with the look's glow in its corner */
.look-glow .sf-item--pricerow .sf-item__price .sf-amount {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: calc(21px * var(--sf-scale)); color: var(--sf-accent-text);
}
.look-glow .sf-quote-cta__inner {
    position: relative; overflow: hidden; isolation: isolate; width: calc(100% - 40px);
    border-radius: 28px; background: var(--sf-tint); color: var(--sf-ink);
}
.look-glow .sf-quote-cta__inner::before {
    content: ""; position: absolute; z-index: -1; right: -30%; top: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--sf-accent) 30%, transparent), transparent);
    filter: blur(10px);
}
.look-glow .sf-quote-cta__text { opacity: 1; color: var(--sf-muted); }
.look-glow .sf-quote-cta__btn { background: var(--sf-accent); color: var(--sf-on); }
.look-glow .sf-quote-cta :focus-visible { outline-color: var(--sf-ink); }
@media (min-width: 720px) {
    .look-glow .sf-quote-cta__inner { width: calc(100% - 64px); max-width: 1096px; padding: 40px; }
}

/* Where a phone asks for less see-through, or can't blur */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .sf-story__chips span, .sf-stories__pause, .sf-stories__side { background: color-mix(in srgb, var(--sf-scrim) 70%, transparent); }
}
@media (prefers-reduced-transparency: reduce) {
    .sf-story__chips span, .sf-stories__pause, .sf-stories__side { background: var(--sf-scrim); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .sf-stories__glow { display: none; }
}

/* ── Shea: the skin finder ────────────────────────── */
/*
 * A small-batch skincare maker answers one question first: what is your
 * skin like? The first screen asks it, with a chip per skin type, and
 * answers with a routine from the shop's own products, in the order they
 * are used, joined like steps on a card. Before a pick the steps wait as
 * empty places, so the shopper sees what they will get. The routine builds
 * itself a step at a time when it appears (an animation that starts when it
 * is shown, so it needs no script).
 */

.sf-hero--finder { padding: 4px 0 24px; }
.sf-finder__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "finder" "photo"; gap: 18px; }
.sf-finder__intro { grid-area: intro; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sf-finder__title { font-size: calc(38px * var(--sf-scale)); line-height: 1.08; }
.sf-finder__photo { grid-area: photo; aspect-ratio: 16 / 10; }

.sf-finder {
    grid-area: finder; position: relative; display: flex; flex-direction: column; gap: 18px;
    padding: 20px 16px 18px; border-radius: 28px; background: var(--sf-surface);
}
.sf-finder__skins { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-finder__ask {
    padding: 0 4px; margin-bottom: 12px;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(26px * var(--sf-scale)); line-height: 1.15;
}
.sf-finder__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-skin { position: relative; display: inline-flex; }
.sf-skin input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-skin > span {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px 0 6px;
    border: 1.5px solid var(--sf-line); border-radius: 999px; background: var(--sf-ground); color: var(--sf-ink);
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
}
.sf-skin__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--sf-tint); color: var(--sf-accent-text); transition: background-color 180ms ease, color 180ms ease;
}
.sf-skin > span:active { transform: scale(0.97); }
.sf-skin input:checked + span { border-color: var(--sf-accent); background: var(--sf-accent); color: var(--sf-on); }
.sf-skin input:checked + span .sf-skin__icon { background: color-mix(in srgb, var(--sf-on) 18%, transparent); color: var(--sf-on); }
.sf-skin input:focus-visible + span { outline: 2px solid var(--sf-ink); outline-offset: 2px; }

/* The routine (and its empty places before a pick) */
.sf-routine { display: none; flex-direction: column; gap: 14px; }
.sf-routine--empty, .sf-routine.is-on { display: flex; }
.sf-routine--empty.is-off { display: none; }
.sf-finder:has([data-skin="0"]:checked) [data-routine="0"],
.sf-finder:has([data-skin="1"]:checked) [data-routine="1"],
.sf-finder:has([data-skin="2"]:checked) [data-routine="2"],
.sf-finder:has([data-skin="3"]:checked) [data-routine="3"],
.sf-finder:has([data-skin="4"]:checked) [data-routine="4"],
.sf-finder:has([data-skin="5"]:checked) [data-routine="5"] { display: flex; }
.sf-finder:has([data-skin]:checked) .sf-routine--empty { display: none; }
.sf-routine__hint { padding: 0 4px; font-size: 15px; color: var(--sf-muted); }
.sf-routine__title { padding: 0 4px; font-size: 15px; font-weight: 700; color: var(--sf-muted); }
.sf-routine__steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; display: flex; flex-direction: column; gap: 8px; }
/* The thread that joins the steps */
.sf-routine__steps::before {
    content: ""; position: absolute; left: 11px; top: 26px; bottom: 26px;
    border-left: 2px dotted color-mix(in srgb, var(--sf-accent) 45%, transparent);
}
.sf-rstep {
    position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
    min-height: 76px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--sf-ground);
    box-shadow: 0 1px 0 var(--sf-line), 0 12px 24px -20px color-mix(in srgb, var(--sf-scrim) 50%, transparent);
}
.sf-rstep:not(.sf-rstep--ghost) { animation: sf-step-in 520ms cubic-bezier(0.2, 0.8, 0.3, 1) both; animation-delay: calc(var(--n, 0) * 110ms + 60ms); }
@keyframes sf-step-in { from { opacity: 0; transform: translateX(22px) scale(0.98); } to { opacity: 1; transform: none; } }
.sf-rstep__n {
    position: absolute; left: -30px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--sf-accent); color: var(--sf-on); font-size: 13px; font-weight: 700;
}
.sf-rstep__media {
    position: relative; display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 14px;
    background: var(--sf-tint); container-type: inline-size;
}
.sf-rstep__media .sf-ph__mark { font-size: 18px; }
.sf-rstep__body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sf-rstep__what { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--sf-accent-text); }
.sf-rstep__what span { display: none; font-weight: 500; color: var(--sf-muted); }
.sf-rstep__name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--sf-ink); text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sf-rstep__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-rstep__opts { font-size: 13px; color: var(--sf-muted); }
.sf-rstep__opts:empty { display: none; }
.sf-rstep__side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.sf-rstep__price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.sf-rstep__swap {
    min-height: 44px; margin: -8px -10px -12px 0; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--sf-accent-text);
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700;
}
.sf-rstep__swap:hover { background: var(--sf-tint); }
.sf-rstep.is-swapped .sf-rstep__media, .sf-rstep.is-swapped .sf-rstep__body { animation: sf-swap 360ms cubic-bezier(0.2, 0.8, 0.3, 1) both; }
@keyframes sf-swap { from { opacity: 0.2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sf-rstep--ghost { background: transparent; box-shadow: none; border: 1.5px dashed var(--sf-field); grid-template-columns: 56px minmax(0, 1fr); }
.sf-rstep--ghost .sf-rstep__n { background: var(--sf-ground); color: var(--sf-muted); box-shadow: inset 0 0 0 1.5px var(--sf-field); }
.sf-rstep--ghost .sf-rstep__media { background: color-mix(in srgb, var(--sf-field) 18%, transparent); }
.sf-rstep--ghost .sf-rstep__what { font-size: 15px; color: var(--sf-muted); }
.sf-rstep__line { display: block; width: 62%; height: 10px; margin-top: 8px; border-radius: 5px; background: color-mix(in srgb, var(--sf-field) 22%, transparent); }
.sf-routine__add { position: relative; overflow: hidden; justify-content: space-between; margin-top: 4px; padding-inline: 22px; }
/* Once the routine has built, a light passes over its button */
.sf-routine__add::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--sf-on) 30%, transparent), transparent);
    transform: skewX(-18deg); opacity: 0;
    animation: sf-shine 900ms ease-in-out 700ms both;
}
@keyframes sf-shine { 0% { opacity: 1; left: -40%; } 100% { opacity: 1; left: 120%; } }
.sf-routine__total { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 19px; }
.sf-routine__note { padding: 0 4px; font-size: 14px; color: var(--sf-muted); text-align: center; }
.sf-finder__photo--drawn { display: none; }
.sf-routine__note a { color: var(--sf-ink); font-weight: 600; text-underline-offset: 3px; }

/* The rest of the page, set for a skincare maker */
.look-shea .sf-quote-cta__inner { width: calc(100% - 40px); border-radius: 28px; }

@media (min-width: 480px) {
    .sf-rstep__what span { display: inline; }
}
@media (min-width: 720px) {
    .sf-finder { padding: 28px 26px 24px; }
    .sf-finder__title { font-size: calc(52px * var(--sf-scale)); }
    .look-shea .sf-quote-cta__inner { width: calc(100% - 64px); max-width: 1096px; padding: 40px; }
}
@media (min-width: 960px) {
    .sf-hero--finder { padding: 28px 0 48px; }
    .sf-finder__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "intro finder" "photo finder";
        grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 28px; align-items: start;
    }
    .sf-finder__intro { padding-top: 36px; }
    .sf-finder__title { font-size: calc(60px * var(--sf-scale)); }
    .sf-finder__photo { aspect-ratio: 4 / 3; }
    .sf-finder__photo--drawn { display: block; }
}

/* ── Market: the painted price board ──────────────── */
/*
 * A provisions shop's prices, painted on its signboard: the shop's name in
 * big letters across the top in its second colour (--sf-sign, made readable
 * on the accent), today's prices underneath in chunky figures with an arrow
 * for what moved since the shopper last looked. Add opens a trader's
 * calculator; the order is written into a carbon receipt book (the bag),
 * with how far it is from the smallest order and from free delivery. Every
 * colour is the brand's; the arrows say up or down in words too.
 */

.sf-hero--board { padding: 14px 0 28px; }
.sf-board {
    position: relative; overflow: hidden; border: 6px solid var(--sf-band); border-radius: 12px; background: var(--sf-card);
    box-shadow: 0 0 0 2px var(--sf-ink), 0 22px 44px -28px color-mix(in srgb, var(--sf-scrim) 70%, transparent);
}
.sf-board__sign {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px 18px;
    border-bottom: 5px solid var(--sf-band); background: var(--sf-accent); color: var(--sf-on); text-align: center;
    background-image: repeating-linear-gradient(100deg, color-mix(in srgb, var(--sf-on) 4%, transparent) 0 2px, transparent 2px 9px);
}
/* The painter's lines round the edge */
.sf-board__sign::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid color-mix(in srgb, var(--sf-sign) 60%, transparent); border-radius: 6px; pointer-events: none; }
.sf-board__shop {
    display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(32px * var(--sf-scale)); line-height: 1; letter-spacing: 0.03em; text-transform: uppercase;
    color: var(--sf-sign); text-shadow: 2px 2px 0 var(--sf-sign-shade), 3px 3px 0 color-mix(in srgb, var(--sf-sign-shade) 40%, transparent);
    overflow-wrap: anywhere;
}
.sf-board__shop span { font-size: 0.6em; }
.sf-board__title { max-width: 26ch; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(22px * var(--sf-scale)); line-height: 1.15; text-wrap: balance; }
.sf-board__lead { max-width: 46ch; font-size: 15px; line-height: 1.45; opacity: 0.92; }
.sf-board__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.sf-board__notes > span {
    display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px;
    background: color-mix(in srgb, var(--sf-on) 14%, transparent); font-size: 13px; font-weight: 600;
}
.sf-board__notes .sf-open { background: var(--sf-card); color: var(--sf-ink); }
.sf-board__notes .sf-open.is-open .sf-open__dot { background: var(--sf-accent); }

/* Tabs: today's prices, or a list of your own */
.sf-board__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sf-surface); border-bottom: 1px solid var(--sf-line); }
.sf-board__tabs button {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 8px;
    border: 0; border-bottom: 3px solid transparent; background: none; color: var(--sf-muted); font-size: 15px; font-weight: 700;
}
.sf-board__tabs button[aria-selected="true"] { background: var(--sf-card); color: var(--sf-ink); border-bottom-color: var(--sf-accent); }
.sf-board__panel { padding: 6px 14px 16px; }
.sf-board__updated { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0 2px; font-size: 13px; color: var(--sf-muted); }
.sf-board__group + .sf-board__group { margin-top: 10px; }
.sf-board__cat {
    display: flex; align-items: center; gap: 10px; padding: 14px 0 6px;
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(22px * var(--sf-scale)); line-height: 1.1;
}
.sf-board__cat::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: var(--sf-band); }
.sf-board__row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "what price act"; gap: 6px 12px; align-items: center;
    padding: 12px 0; border-bottom: 1.5px dashed var(--sf-line);
}
/* In the order: the stepper takes a line of its own under the price */
.sf-board__row:has(.sf-stepper:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what price" "what act"; }
.sf-board__row:last-child { border-bottom: 0; }
.sf-board__what { grid-area: what; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-board__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.sf-board__name a { text-decoration: none; }
.sf-board__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-board__unit { font-size: 13px; color: var(--sf-muted); }
.sf-board__price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.sf-board__price .sf-amount, .sf-item--pricelist .sf-item__price .sf-amount {
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch);
    font-size: calc(27px * var(--sf-scale)); line-height: 1; color: var(--sf-accent-text); white-space: nowrap;
    text-shadow: 1.5px 1.5px 0 color-mix(in srgb, var(--sf-price-shade) 85%, transparent);
}
.sf-board__price .sf-amount--ask { font-family: var(--sf-body); font-size: 14px; color: var(--sf-muted); text-shadow: none; }
.sf-board__act { grid-area: act; justify-self: end; display: flex; align-items: center; }
.sf-board__act .sf-add--round { width: 44px; height: 44px; }
.sf-board__more {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; margin-top: 8px; border-radius: 10px;
    background: var(--sf-surface); color: var(--sf-ink); font-weight: 700; text-decoration: none;
}

/* What moved since the last visit: cheaper is lit, dearer is plain */
.sf-move { display: inline-flex; align-items: center; gap: 3px; min-height: 22px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sf-move--down { background: var(--sf-band); color: var(--sf-band-ink); }
.sf-move--up { border: 1.5px solid var(--sf-field); color: var(--sf-muted); }

/* Prices for buying more */
.sf-buymore { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 2px; font-size: 13px; color: var(--sf-muted); }
.sf-buymore > span { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 8px; border-radius: 6px; background: color-mix(in srgb, var(--sf-band) 26%, var(--sf-card)); color: var(--sf-ink); }
.sf-buymore strong { font-weight: 700; }
.sf-buymore > .sf-sr { padding: 0; }
.sf-product__body .sf-buymore { font-size: 14px; font-weight: 600; color: var(--sf-ink); }

/* The stepper's number opens the calculator */
.sf-stepper__qty { width: auto !important; min-width: 48px; padding: 0 4px !important; color: var(--sf-ink) !important; }
.sf-stepper__qty output { display: inline-block; min-width: 0; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }

/* "Send us your list" */
.sf-mylist { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.sf-mylist textarea { width: 100%; min-height: 128px; padding: 12px 14px; border: 1.5px solid var(--sf-field); border-radius: var(--sf-r-field); background: var(--sf-card); color: var(--sf-ink); font-size: 16px; line-height: 1.6; resize: vertical;
    background-image: repeating-linear-gradient(transparent 0 calc(1.6em + 0px - 1px), var(--sf-line) calc(1.6em - 1px) 1.6em); background-position: 0 11px; background-attachment: local; }
.sf-mylist__hint { font-size: 14px; color: var(--sf-muted); }
.sf-mylist__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sf-mylist__lines:empty { display: none; }
.sf-mylist__line { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sf-line); animation: sf-step-in 300ms ease-out both; }
.sf-mylist__mark { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sf-accent); color: var(--sf-on); font-size: 13px; font-weight: 800; }
.sf-mylist__line.is-missing .sf-mylist__mark { background: var(--sf-surface); color: var(--sf-muted); box-shadow: inset 0 0 0 1.5px var(--sf-field); }
.sf-mylist__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-mylist__body select { max-width: 100%; min-height: 40px; padding: 0 8px; border: 1.5px solid var(--sf-field); border-radius: 8px; background: var(--sf-card); color: var(--sf-ink); font-weight: 700; font-size: 15px; }
.sf-mylist__name { font-weight: 700; }
.sf-mylist__said { font-size: 13px; color: var(--sf-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-mylist__price { font-weight: 700; white-space: nowrap; }

/* The trader's calculator */
.sf-dialog--calc { background: var(--sf-ink); color: var(--sf-ground); }
.sf-dialog--calc .sf-dialog__head { background: var(--sf-ink); border-bottom-color: color-mix(in srgb, var(--sf-ground) 16%, transparent); }
.sf-dialog--calc .sf-iconbtn { color: var(--sf-ground); }
.sf-dialog--calc :focus-visible { outline-color: var(--sf-ground); }
.sf-calc { gap: 12px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.sf-calc > :not(.sf-dialog__head) { margin-inline: 16px; }
.sf-calc > .sf-btn--block { width: auto; }
.sf-calc__each { font-size: 15px; opacity: 0.85; }
.sf-calc__screen {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 12px 14px; border-radius: 10px;
    background: color-mix(in srgb, var(--sf-band) 22%, var(--sf-ground)); color: var(--sf-ink);
    box-shadow: inset 0 2px 6px color-mix(in srgb, var(--sf-scrim) 30%, transparent);
}
.sf-calc__qty input {
    width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: right; caret-color: var(--sf-accent);
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 48px; line-height: 1.05; font-variant-numeric: tabular-nums;
}
.sf-calc__qty input:focus { outline: none; }
.sf-calc__sum { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sf-calc__keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sf-calc__key {
    min-height: 58px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--sf-ground) 13%, var(--sf-ink)); color: var(--sf-ground);
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-size: 26px;
    box-shadow: 0 3px 0 color-mix(in srgb, var(--sf-scrim) 60%, transparent);
    transition: transform 80ms ease, box-shadow 80ms ease;
}
.sf-calc__key:active { transform: translateY(2px); box-shadow: 0 1px 0 color-mix(in srgb, var(--sf-scrim) 60%, transparent); }
.sf-calc__key--back { display: flex; align-items: center; justify-content: center; }
.sf-calc__go { background: var(--sf-band); color: var(--sf-band-ink); }
.sf-calc__go[disabled] { opacity: 0.5; }
.sf-calc__ladder { display: flex; flex-direction: column; gap: 6px; }
.sf-ladder__step { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; opacity: 0.7; }
.sf-ladder__step.is-on { opacity: 1; }
.sf-ladder__bar { display: flex; align-items: center; width: var(--w, 100%); min-height: 28px; padding: 0 10px; border-radius: 6px; background: color-mix(in srgb, var(--sf-ground) 16%, var(--sf-ink)); transition: background-color 200ms ease; }
.sf-ladder__step.is-on .sf-ladder__bar { background: var(--sf-band); color: var(--sf-band-ink); }
.sf-ladder__next { font-size: 14px; font-weight: 600; opacity: 0.9; }

/* The order book: the bag as a carbon receipt book */
.look-market .sf-dialog--bag [data-step="bag"] {
    background:
        linear-gradient(90deg, transparent 0 calc(20px + 52px), color-mix(in srgb, var(--sf-accent) 30%, transparent) calc(20px + 52px) calc(20px + 53.5px), transparent calc(20px + 53.5px)),
        var(--sf-card);
}
.sf-book__head { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 0; text-align: center; color: var(--sf-accent-text); }
.sf-book__shop { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(24px * var(--sf-scale)); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.05; }
.sf-book__addr { font-size: 13px; }
.sf-book__meta { display: flex; justify-content: space-between; align-self: stretch; margin-top: 10px; font-size: 13px; font-weight: 700; }
.sf-book__cols {
    display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-self: stretch; margin-top: 6px; padding: 6px 0;
    border-block: 1.5px solid var(--sf-accent-text); font-size: 12px; font-weight: 800; text-align: left;
}
.sf-book__cols span:last-child { text-align: right; }
.look-market .sf-baglist { color: var(--sf-accent-text); }
.look-market .sf-bagline { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--sf-accent) 22%, transparent); }
.look-market .sf-bagline__media { display: none; }
.look-market .sf-bagline__body, .look-market .sf-bagline__row { display: contents; }
.look-market .sf-bagline .sf-stepper { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; border: 0; }
.look-market .sf-bagline .sf-stepper button { width: 36px; height: 24px; }
.look-market .sf-bagline .sf-stepper output { font-family: var(--sf-head); font-size: 22px; }
.look-market .sf-bagline__name { grid-column: 2; font-weight: 700; }
.look-market .sf-bagline__meta { grid-column: 2; }
.look-market .sf-bagline__price { grid-column: 3; grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
.look-market .sf-bagline.is-new { animation: sf-write 520ms cubic-bezier(0.3, 0.7, 0.3, 1) both; }
@keyframes sf-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.look-market .sf-dialog--bag [data-step="bag"] .sf-dialog__foot { background: var(--sf-card); }
.look-market .sf-dialog--bag .sf-total { color: var(--sf-accent-text); border-bottom: 3px double var(--sf-accent-text); padding-bottom: 6px; }
.sf-book__tear { position: relative; height: 0; margin: 4px -20px; border-top: 2px dashed var(--sf-field); }
.sf-book__tear::before, .sf-book__tear::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--sf-scrim) 55%, var(--sf-ground)); }
.sf-book__tear::before { left: -8px; }
.sf-book__tear::after { right: -8px; }

/* How far from the smallest order, then from free delivery */
.sf-goal { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.sf-goal__bar { position: relative; display: block; height: 6px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, currentColor 18%, transparent); }
.sf-goal__bar span { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--sf-band); transition: width 400ms cubic-bezier(0.2, 0.9, 0.25, 1); }
.sf-goal--book { color: var(--sf-ink); }
.sf-goal--book.is-short { color: var(--sf-ink); }
.sf-goal.is-met .sf-goal__bar span { background: var(--sf-accent); }
.sf-goal--book.is-met .sf-goal__bar span { background: var(--sf-accent); }
.look-market .sf-bagbar .sf-goal { margin-top: 4px; font-size: 12px; }
.look-market .sf-bagbar .sf-goal__bar { height: 4px; }
.look-market [data-go="details"][disabled] { opacity: 0.55; cursor: not-allowed; }

@media (min-width: 720px) {
    .sf-hero--board { padding-top: 24px; }
    .sf-board__sign { padding: 28px 24px 24px; }
    .sf-board__shop { font-size: calc(46px * var(--sf-scale)); }
    .sf-board__title { font-size: calc(28px * var(--sf-scale)); }
    .sf-board__panel { padding: 8px 24px 20px; }
    .sf-board__row, .sf-board__row:has(.sf-stepper:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto 150px; grid-template-areas: "what price act"; }
    .sf-board__act { justify-self: end; }
    .sf-board__price { flex-direction: row; align-items: center; gap: 10px; }
    .sf-board__tabs { grid-template-columns: auto auto; justify-content: center; gap: 24px; }
    .sf-board__tabs button { padding: 0 12px; }
    .sf-dialog--calc { left: 50%; right: auto; bottom: 50%; width: 400px; border-radius: 20px; transform: translate(-50%, 50%); }
}
@media (min-width: 1080px) {
    .sf-board { max-width: 960px; margin-inline: auto; }
}

/* ── Volt: the spotlight ──────────────────────────── */
/*
 * A gadget shop shows its devices one at a time, under a spotlight on a
 * photo studio's sweep: a pool of light in the middle, the edges falling
 * away. Product photos on white melt into it (multiply), so a phone shot on
 * a sheet of paper still stands in the light. Round the device, what a
 * buyer checks first is pointed out; the callouts draw in when a device
 * arrives. Under it, its condition and battery health, then the price.
 */

.sf-hero--spotlight { padding: 4px 0 22px; }
.sf-spot { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "info" "repairs"; }
.sf-spot__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; }
.sf-spot__title { font-size: calc(46px * var(--sf-scale)); line-height: 1.02; }
.sf-spot__head .sf-lead { font-size: 16px; }

.sf-spot__stage {
    grid-area: stage; position: relative; isolation: isolate; overflow: hidden; height: min(106vw, 460px); margin-top: 16px;
    background:
        radial-gradient(ellipse 62% 50% at 50% 44%, var(--sf-card) 0%, color-mix(in srgb, var(--sf-card) 55%, var(--sf-surface)) 42%, transparent 72%),
        linear-gradient(to bottom, color-mix(in srgb, var(--sf-surface) 82%, var(--sf-ink)) 0%, var(--sf-surface) 58%, color-mix(in srgb, var(--sf-surface) 88%, var(--sf-ink)) 100%);
    touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
/* The beam from a lamp above */
.sf-spot__light {
    position: absolute; z-index: -1; left: 50%; top: 0; width: 100%; height: 84%; transform: translateX(-50%); pointer-events: none;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--sf-card) 90%, transparent), color-mix(in srgb, var(--sf-card) 0%, transparent) 92%);
    clip-path: polygon(44% 0, 56% 0, 86% 100%, 14% 100%); filter: blur(8px);
}
.sf-spot__light::before {
    content: ""; position: absolute; left: 50%; top: -2px; width: 56px; height: 16px; transform: translateX(-50%);
    border-radius: 0 0 14px 14px; background: var(--sf-ink); filter: blur(0);
}
.sf-spot__device { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; opacity: 0; visibility: hidden;
    transform: translateX(calc(var(--dir, 1) * 48px)); transition: opacity 420ms ease, transform 560ms cubic-bezier(0.2, 0.9, 0.25, 1), visibility 0s 560ms; }
.sf-spot__device.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms ease, transform 560ms cubic-bezier(0.2, 0.9, 0.25, 1), visibility 0s; }
.sf-spot__device.is-leaving { transform: translateX(calc(var(--dir, 1) * -48px)); }
.sf-spot__photo { position: relative; display: block; width: 56%; max-width: 330px; aspect-ratio: 4 / 5; margin-top: -6%; overflow: visible; container-type: inline-size; text-decoration: none; -webkit-user-drag: none; }
/* The photo keeps its own shape, so its edges can be feathered: a phone shot
   on a table fades into the light instead of standing in a hard box */
.sf-spot__photo .sf-media { display: flex; align-items: center; justify-content: center; }
.sf-spot__photo .sf-media picture { display: contents; }
.sf-spot__photo .sf-media img {
    width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; -webkit-user-drag: none; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-composite: intersect;
}
.sf-spot__photo .sf-ph { border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--sf-line); }
.is-dark .sf-spot__photo .sf-media img { mix-blend-mode: normal; }
.sf-spot__floor {
    position: absolute; left: 50%; bottom: 12%; z-index: -1; width: 48%; height: 6%; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--sf-ink) 34%, transparent), transparent);
}

/* What a buyer checks first, pointed out round the device. Each callout
   runs from the edge of the stage to a point a quarter of the way into the
   photo (as wide as .sf-spot__photo), where the device usually is: the line
   fills the gap, and a long chip only pushes its point further in */
.sf-spot__callouts { --reach: calc(50% + 0.25 * min(56%, 330px)); position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.sf-callout { position: absolute; display: flex; align-items: center; }
.sf-callout--l { left: 3%; right: var(--reach); }
.sf-callout--r { right: 3%; left: var(--reach); flex-direction: row-reverse; }
.sf-callout:nth-child(1) { top: 16%; }
.sf-callout:nth-child(2) { top: 30%; }
.sf-callout:nth-child(3) { top: 54%; }
.sf-callout:nth-child(4) { top: 68%; }
.sf-callout__chip {
    flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 9px;
    border: 1px solid var(--sf-line); background: var(--sf-card); color: var(--sf-ink);
    font-size: 12.5px; font-weight: 700; line-height: 1.15; white-space: nowrap;
    box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--sf-scrim) 55%, transparent);
}
/* The line to the device, and the dot where it touches */
.sf-callout::after { content: ""; order: 1; flex: 1 1 auto; min-width: 14px; height: 1.5px; background: var(--sf-accent); }
.sf-callout::before { content: ""; order: 2; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-accent) 25%, transparent); }
.sf-spot__device.is-on .sf-callout { animation: sf-callout-in 460ms cubic-bezier(0.2, 0.8, 0.3, 1) both; animation-delay: calc(380ms + var(--n) * 120ms); }
.sf-spot__device.is-on .sf-callout::after { animation: sf-callout-line 360ms ease-out both; animation-delay: calc(380ms + var(--n) * 120ms); }
.sf-callout--l::after { transform-origin: left; }
.sf-callout--r::after { transform-origin: right; }
@keyframes sf-callout-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sf-callout-line { from { transform: scaleX(0); } to { transform: none; } }

/* The owner's sticker, as a stamp */
.sf-spot__stamp {
    position: absolute; left: 5%; bottom: 6%; z-index: 2; width: 96px; height: 96px; padding: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; text-align: center;
    background: var(--sf-band); color: var(--sf-band-ink);
    box-shadow: inset 0 0 0 4px var(--sf-band), inset 0 0 0 5.5px var(--sf-band-ink), 0 10px 22px -12px color-mix(in srgb, var(--sf-scrim) 60%, transparent);
    font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: 11px; line-height: 1.05; text-transform: uppercase;
    transform: rotate(-10deg);
}
.sf-spot__arrow {
    position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--sf-line); border-radius: 50%; background: var(--sf-card); color: var(--sf-ink);
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--sf-scrim) 50%, transparent);
}
.sf-spot__arrow--back { left: 8px; }
.sf-spot__arrow--next { right: 8px; }

/* The device's words, price and Add */
.sf-spot__info { grid-area: info; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.sf-spot__cards { display: grid; }
.sf-spot__card { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sf-spot__card:not(.is-on) { visibility: hidden; }
.sf-spot__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(30px * var(--sf-scale)); line-height: 1.08; }
.sf-spot__name a { text-decoration: none; }
.sf-spot__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; margin-top: 4px; }
.sf-spot__price .sf-amount { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(38px * var(--sf-scale)); line-height: 1; }
.sf-spot__actions { display: flex; gap: 8px; }
.sf-spot__dots { display: flex; justify-content: center; gap: 2px; }
.sf-spot__dot { width: 28px; height: 40px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; }
.sf-spot__dot span { display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--sf-field); transition: width 300ms ease, background-color 300ms ease; }
.sf-spot__dot[aria-current="true"] span { width: 26px; background: var(--sf-accent); }

/* Condition and battery, here and on the list */
.sf-grade { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em; }
.sf-grade--new { background: var(--sf-accent); color: var(--sf-on); }
.sf-grade--abroad { background: var(--sf-band); color: var(--sf-band-ink); }
.sf-grade--local { border: 1.5px solid var(--sf-ink); color: var(--sf-ink); }
.sf-item__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sf-batterymeter { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sf-ink); }
.sf-batterymeter strong { font-weight: 800; }
.sf-battery {
    position: relative; flex-shrink: 0; width: 30px; height: 15px; border: 2px solid currentColor; border-radius: 4px;
}
.sf-battery::before { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: currentColor; }
.sf-battery::after { content: ""; position: absolute; inset: 1.5px auto 1.5px 1.5px; width: calc(var(--level, 100%) - 3px); max-width: calc(100% - 3px); border-radius: 1.5px; background: var(--sf-accent); }
.sf-batterymeter--weak .sf-battery::after { background: var(--sf-muted); }
.sf-battery--sm { width: 22px; height: 11px; border-width: 1.5px; border-radius: 3px; }
.sf-battery--sm::before { right: -4px; top: 2px; width: 2px; height: 4px; }

/* A strip to the repair desk, for shops that also fix */
.sf-spot__repairs {
    grid-area: repairs; display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 16px;
    background: var(--sf-ink); color: var(--sf-ground); text-decoration: none;
}
.sf-spot__repairs-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sf-band); color: var(--sf-band-ink); }
.sf-spot__repairs-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sf-spot__repairs-words strong { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(22px * var(--sf-scale)); }
.sf-spot__repairs-words span { font-size: 13.5px; opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-spot__repairs:focus-visible { outline-color: var(--sf-ink); }

@media (min-width: 720px) {
    .sf-spot__title { font-size: calc(64px * var(--sf-scale)); }
    .sf-spot__stage { height: 480px; margin-inline: 32px; border-radius: var(--sf-r-hero); }
    .sf-callout__chip { font-size: 14px; min-height: 34px; padding: 0 12px; }
}
@media (min-width: 960px) {
    .sf-hero--spotlight { padding: 20px 0 40px; }
    .sf-spot {
        max-width: 1160px; margin-inline: auto; padding-inline: 32px; column-gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "head stage" "info stage" "repairs stage"; grid-template-rows: auto auto 1fr; align-items: start;
    }
    .sf-spot > .sf-wrap { padding-inline: 0; }
    .sf-spot__head { padding-top: 36px; }
    .sf-spot__stage { height: 560px; margin: 0; }
    .sf-spot__info { padding-top: 26px; }
    .sf-spot__dots { justify-content: flex-start; }
    .sf-spot__repairs { margin-top: 26px; }
    .sf-spot__stamp { width: 112px; height: 112px; font-size: 12.5px; }
}

/* ── Haven: dates first ───────────────────────────── */
/*
 * A guest's first question is whether a place is free when they're coming,
 * and what it costs. So the first screen asks: "When are you coming?", on a
 * card over the owner's photo. Once they pick their nights, each place says
 * free or taken and what the stay costs, and the free ones slide to the top.
 * Power leads the amenities. The house rules sit under the places.
 */

.sf-hero--stays { padding: 0 0 26px; }
.sf-stays__top { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(68vw, 360px); padding: 72px 0 84px; color: var(--sf-paper); }
.sf-stays__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--sf-surface); }
.sf-stays__photo picture, .sf-stays__photo img, .sf-stays__photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-stays__top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 18%, color-mix(in srgb, var(--sf-scrim) 78%, transparent) 100%); }
.sf-stays__top--drawn { color: var(--sf-ink); }
.sf-stays__top--drawn::after { background: linear-gradient(to bottom, transparent 30%, color-mix(in srgb, var(--sf-ground) 82%, transparent) 100%); }
.sf-stays__words { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sf-stays__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; font-weight: 600; }
.sf-stays__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.sf-stays__badge { min-height: 26px; padding: 0 10px; border-radius: var(--sf-r-chip); background: var(--sf-band); color: var(--sf-band-ink); }
.sf-stays__title { max-width: 18ch; font-size: calc(40px * var(--sf-scale)); line-height: 1.04; text-wrap: balance; }
.sf-stays__words .sf-lead { max-width: 44ch; font-size: 16px; color: inherit; opacity: 0.92; }

/* The question, on a card over the photo's foot */
.sf-stays__bar { position: relative; z-index: 2; margin-top: -60px; }
.sf-datebar {
    display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--sf-r-card); background: var(--sf-card);
    border: 1px solid var(--sf-line); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--sf-scrim) 70%, transparent);
}
.sf-datebar__ask { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(20px * var(--sf-scale)); }
.sf-datebar__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sf-datebar__field {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 62px; padding: 9px 12px; text-align: left;
    border: 1.5px solid var(--sf-line); border-radius: var(--sf-r-field); background: var(--sf-ground); color: var(--sf-ink); font: inherit;
}
button.sf-datebar__field:hover { border-color: var(--sf-accent-text); }
.sf-datebar__field.is-set { border-color: var(--sf-accent-text); }
.sf-datebar__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--sf-muted); }
.sf-datebar__field strong { font-size: 16px; font-weight: 700; }
.sf-datebar__guests { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.sf-datebar__guests .sf-stepper button { height: 38px; width: 40px; }
.sf-datebar__guests .sf-stepper button[disabled] { opacity: 0.35; }
.sf-datebar__guests .sf-stepper output { font-size: 18px; min-width: 32px; }
.sf-datebar__said { font-size: 14px; color: var(--sf-muted); }
.sf-stays.is-asking .sf-datebar__said { animation: sf-asking 900ms ease-in-out infinite alternate; }
@keyframes sf-asking { from { opacity: 1; } to { opacity: 0.45; } }

/* The places */
.sf-stays__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.sf-stay {
    display: flex; flex-direction: column; overflow: hidden; border-radius: var(--sf-r-card); background: var(--sf-card); border: 1px solid var(--sf-line);
    transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease;
}
.sf-stay__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sf-surface); text-decoration: none; }
.sf-stay__photo .sf-media img { transition: transform 600ms ease, filter 300ms ease; }
.sf-stay__photo:hover .sf-media img { transform: scale(1.03); }
.sf-stay__price {
    position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: baseline; gap: 2px; min-height: 32px; padding: 4px 10px;
    border-radius: var(--sf-r-chip); background: var(--sf-card); color: var(--sf-ink); font-weight: 800; font-size: 15px;
    box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--sf-scrim) 60%, transparent);
}
.sf-stay__price small { font-size: 12.5px; font-weight: 600; color: var(--sf-muted); }
.sf-stay__count { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 8px; border-radius: 999px;
    background: color-mix(in srgb, var(--sf-scrim) 55%, transparent); color: var(--sf-paper); font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.sf-stay__body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 14px 16px 16px; }
.sf-stay__where { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--sf-muted); }
.sf-stay__where > span { display: inline-flex; align-items: center; gap: 5px; }
.sf-stay__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(21px * var(--sf-scale)); line-height: 1.15; }
.sf-stay__name a { text-decoration: none; }
.sf-stay__amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sf-amenity { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 9px; border-radius: var(--sf-r-chip); background: var(--sf-surface); color: var(--sf-ink); font-size: 12.5px; font-weight: 600; }
.sf-amenity--power { background: color-mix(in srgb, var(--sf-accent) 14%, var(--sf-card)); color: var(--sf-accent-text); font-weight: 800; }
.sf-stay__caution { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sf-muted); }
.sf-stay__answer { display: flex; flex-direction: column; gap: 4px; }
.sf-stay__answer:empty { display: none; }
.sf-stay__free { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--sf-accent-text); }
.sf-stay__free::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.sf-stay__total { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(26px * var(--sf-scale)); line-height: 1.1; }
.sf-stay__total small { font-family: var(--sf-body); font-size: 13.5px; font-weight: 500; color: var(--sf-muted); }
.sf-stay__now { font-size: 13.5px; color: var(--sf-ink); }
.sf-stay__taken { font-size: 14px; font-weight: 700; color: var(--sf-muted); }
.sf-stay__warn { font-size: 13.5px; font-weight: 600; color: var(--sf-muted); }
.sf-stay__book { margin-top: auto; }
.sf-stay.is-free { border-color: color-mix(in srgb, var(--sf-accent) 45%, var(--sf-line)); }
.sf-stay.is-free .sf-stay__answer { animation: sf-answer-in 360ms ease-out both; }
.sf-stay.is-taken .sf-stay__photo .sf-media img { filter: grayscale(0.7) brightness(0.92); }
.sf-stay.is-taken .sf-stay__name, .sf-stay.is-taken .sf-stay__amenities, .sf-stay.is-taken .sf-stayrates { opacity: 0.6; }
.sf-stay.is-taken .sf-stay__book { background: transparent; color: var(--sf-accent-text); border: 1.5px solid currentColor; }
@keyframes sf-answer-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* House rules, here and before paying */
.sf-rules { margin-top: 24px; padding: 16px; border-radius: var(--sf-r-card); background: var(--sf-surface); color: var(--sf-ink); }
.sf-rules--book { margin: 0 0 6px; }
.sf-rules__title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 800; }
.sf-rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.sf-rules__list li { display: flex; align-items: flex-start; gap: 8px; }
.sf-rules__list svg { flex-shrink: 0; margin-top: 2px; color: var(--sf-accent-text); }
.sf-rules--book .sf-rules__list li::before { content: "•"; color: var(--sf-accent-text); }
.sf-total--now { padding-top: 8px; border-top: 1px dashed var(--sf-line); font-weight: 700; }
.sf-total--now strong { font-size: 20px; }

/* The calendar for the dates */
.sf-dates { gap: 12px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.sf-dates > :not(.sf-dialog__head) { margin-inline: 16px; }
.sf-dates__said { min-height: 22px; font-size: 15px; font-weight: 600; }
.sf-dates__actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }

@media (min-width: 640px) {
    .sf-stays__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-datebar__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-datebar__guests { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
}
@media (min-width: 720px) {
    .sf-stays__top { min-height: 420px; padding-bottom: 96px; }
    .sf-stays__title { font-size: calc(58px * var(--sf-scale)); }
    .sf-dialog--dates { inset: 0; margin: auto; width: min(440px, calc(100% - 48px)); height: fit-content; border-radius: 20px; }
}
@media (min-width: 960px) {
    .sf-stays__top { min-height: 480px; }
    .sf-stays__bar { margin-top: -72px; }
    .sf-datebar { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; padding: 16px 18px; }
    .sf-datebar__ask { flex: 0 0 auto; }
    .sf-datebar__fields { flex: 1; }
    .sf-datebar__said { flex-basis: 100%; }
    .sf-stays__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
}

/* ── Stage: plan your event ───────────────────────── */
/*
 * Events are bought by the size of the guest list and the day. So Stage
 * asks for both, and the package that holds the guests lights up; a guest
 * picks colours and a drawing of the hall takes them; extras suggest enough
 * for everyone. The plan adds up at the foot of the card as it goes. Above
 * it, photos of events the shop has done, with what clients said beside them.
 */

.sf-hero--planner { padding: 8px 0 30px; }
.sf-plan__head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; }
.sf-plan__title { max-width: 16ch; font-size: calc(42px * var(--sf-scale)); line-height: 1.05; text-wrap: balance; }
.sf-plan__badge { min-height: 26px; padding: 0 10px; border-radius: var(--sf-r-chip); background: var(--sf-accent); color: var(--sf-on); font-weight: 700; }

/* The events and what clients said, side by side */
.sf-plan__strip {
    list-style: none; margin: 18px 0 0; padding: 0 16px 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.sf-plan__strip::-webkit-scrollbar { display: none; }
.sf-plan__shot, .sf-plan__review { flex: 0 0 auto; scroll-snap-align: start; height: min(80vw, 320px); border-radius: var(--sf-r-hero); overflow: hidden; }
.sf-plan__shot { width: min(74vw, 300px); background: var(--sf-surface); }
.sf-plan__shot img, .sf-plan__shot picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-plan__review {
    width: min(66vw, 260px); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px;
    background: var(--sf-accent); color: var(--sf-on);
}
.sf-plan__review blockquote { margin: 0; }
.sf-plan__review blockquote p { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(19px * var(--sf-scale)); line-height: 1.3; }
.sf-plan__review blockquote p::before { content: "\201C"; display: block; font-size: 52px; line-height: 0.6; margin-bottom: 6px; opacity: 0.6; }
.sf-plan__stars { letter-spacing: 2px; font-size: 15px; }
.sf-plan__stars span { opacity: 0.35; }
.sf-plan__who { font-size: 14px; font-weight: 700; opacity: 0.9; }

/* The planner */
.sf-planner {
    position: relative; display: flex; flex-direction: column; gap: 22px; margin-top: 22px; padding: 18px;
    border-radius: var(--sf-r-card); background: var(--sf-card); color: var(--sf-ink); border: 1px solid var(--sf-line);
    box-shadow: 0 24px 48px -30px color-mix(in srgb, var(--sf-scrim) 80%, transparent);
}
.sf-planner__title { display: flex; align-items: center; gap: 8px; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(24px * var(--sf-scale)); }
.sf-planner__title svg { color: var(--sf-accent-text); }
.sf-planner__step { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-planner__q { padding: 0; margin-bottom: 2px; font-weight: 800; font-size: 15px; letter-spacing: 0.01em; }
.sf-planner__said { font-size: 14px; color: var(--sf-muted); }

.sf-guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-guests__btn {
    width: 48px; height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0;
    border: 1.5px solid var(--sf-line); border-radius: 50%; background: var(--sf-ground); color: var(--sf-ink);
}
.sf-guests__btn:hover { border-color: var(--sf-accent-text); }
.sf-guests__n { display: flex; align-items: baseline; gap: 8px; }
.sf-guests__n output { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(54px * var(--sf-scale)); line-height: 1; font-variant-numeric: tabular-nums; }
.sf-guests__n span { font-size: 15px; color: var(--sf-muted); }
.sf-guests__range {
    --fill: 50%; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.sf-guests__range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--sf-accent) var(--fill), var(--sf-line) var(--fill)); }
.sf-guests__range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--sf-line); }
.sf-guests__range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--sf-accent); }
.sf-guests__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--sf-accent); border: 4px solid var(--sf-card); box-shadow: 0 2px 8px color-mix(in srgb, var(--sf-scrim) 40%, transparent); }
.sf-guests__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sf-accent); border: 4px solid var(--sf-card); }
.sf-guests__range:focus-visible { outline: 2px solid var(--sf-accent-text); outline-offset: 4px; border-radius: 999px; }
.sf-guests__ticks { position: relative; height: 18px; margin: -4px 14px 0; }
.sf-guests__ticks span { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); font-size: 11.5px; font-weight: 600; color: var(--sf-muted); white-space: nowrap; }
.sf-guests__ticks span::before { content: ""; display: block; width: 1.5px; height: 5px; margin: 0 auto 1px; background: currentColor; }

.sf-planner__packages { display: grid; gap: 10px; }
.sf-pack {
    position: relative; display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--sf-line); border-radius: 14px; background: var(--sf-ground); cursor: pointer;
    transition: border-color 220ms ease, background-color 220ms ease, opacity 220ms ease, transform 220ms ease;
}
.sf-pack input, .sf-theme input, .sf-extra__pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sf-pack:has(input:focus-visible), .sf-theme:has(input:focus-visible) { outline: 2px solid var(--sf-accent-text); outline-offset: 2px; }
.sf-pack.is-on { border-color: var(--sf-accent); background: color-mix(in srgb, var(--sf-accent) 12%, var(--sf-card)); box-shadow: inset 0 0 0 1px var(--sf-accent); }
.sf-pack.is-small:not(.is-on) { opacity: 0.55; }
.sf-pack__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sf-pack__name { font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(19px * var(--sf-scale)); }
.sf-pack__price { font-weight: 800; white-space: nowrap; }
.sf-pack__guests { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--sf-muted); }
.sf-pack__desc { font-size: 13.5px; line-height: 1.45; color: var(--sf-muted); }
.sf-pack__fit { font-size: 13px; font-weight: 800; color: var(--sf-accent-text); }
.sf-pack__fit:empty { display: none; }
.sf-pack.is-on .sf-pack__fit::before { content: "✓ "; }

.sf-planner__date input { max-width: 240px; }

.sf-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sf-theme { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; padding: 5px 10px 5px 6px; border: 1.5px solid var(--sf-line); border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.sf-theme:has(input:checked) { border-color: var(--sf-accent); box-shadow: inset 0 0 0 1px var(--sf-accent); }
.sf-theme__dots { display: inline-flex; }
.sf-theme__dots i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sf-card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-ink) 14%, transparent); }
.sf-theme__dots i + i { margin-left: -6px; }
.sf-theme__dots i:nth-child(1) { background: var(--t1); }
.sf-theme__dots i:nth-child(2) { background: var(--t2); }
.sf-theme__dots i:nth-child(3) { background: var(--t3); }

/* The hall, in the colours picked */
.sf-decor { overflow: hidden; border-radius: 14px; border: 1px solid var(--sf-line); }
.sf-decor svg { display: block; width: 100%; height: auto; }
.sf-decor svg * { transition: fill 450ms ease, stroke 450ms ease; }
.sf-decor__wall { fill: color-mix(in srgb, var(--t3) 86%, var(--t1)); }
.sf-decor__floor { fill: color-mix(in srgb, var(--t1) 22%, var(--t3)); }
.sf-decor__wire { fill: none; stroke: color-mix(in srgb, var(--t2) 60%, transparent); stroke-width: 1; }
.sf-decor__bulbs circle { fill: var(--t2); filter: drop-shadow(0 0 3px var(--t2)); }
.sf-decor__arch { fill: var(--t1); }
.sf-decor__drape { fill: color-mix(in srgb, var(--t1) 78%, var(--t3)); }
.sf-decor__fold { fill: none; stroke: color-mix(in srgb, var(--t1) 70%, #000); stroke-width: 1.2; opacity: 0.35; }
.sf-decor__flowers circle, .sf-decor__bloom, .sf-decor__chair { fill: var(--t2); }
.sf-decor__petals circle { fill: var(--t3); }
.sf-decor__cloth, .sf-decor__top { fill: var(--t3); stroke: color-mix(in srgb, var(--t1) 30%, var(--t3)); stroke-width: 0.8; }
.sf-decor__skirt { fill: var(--t1); }

.sf-extras { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px; border: 1.5px solid var(--sf-line); border-radius: 14px; }
.sf-extra:has([data-extra-on]:checked) { border-color: var(--sf-accent); }
.sf-extra__pick { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; cursor: pointer; }
.sf-extra__pick::before {
    content: ""; grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--sf-field);
}
.sf-extra__pick:has(input:checked)::before { background: var(--sf-accent) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); border-color: var(--sf-accent); }
.sf-extra__pick:has(input:focus-visible)::before { outline: 2px solid var(--sf-accent-text); outline-offset: 2px; }
.sf-extra__name { font-weight: 700; }
.sf-extra__each { font-size: 13px; color: var(--sf-muted); }
.sf-extra .sf-stepper button { width: 38px; height: 36px; }
.sf-extra .sf-stepper output { font-size: 17px; min-width: 28px; }
.sf-extra__said { grid-column: 1 / -1; font-size: 13px; color: var(--sf-muted); }
.sf-extra__said:empty { display: none; }

.sf-planner__total {
    position: sticky; bottom: 0; z-index: 2; display: grid; gap: 8px; margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--sf-line); background: var(--sf-card);
    box-shadow: 0 -14px 24px -20px color-mix(in srgb, var(--sf-scrim) 60%, transparent);
}
.sf-planner__sum { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
.sf-planner__sum span { font-size: 13px; font-weight: 700; color: var(--sf-muted); }
.sf-planner__sum strong { justify-self: end; font-family: var(--sf-head); font-weight: var(--sf-head-weight); font-stretch: var(--sf-head-stretch); font-size: calc(28px * var(--sf-scale)); line-height: 1.05; font-variant-numeric: tabular-nums; }
.sf-planner__sum small { grid-column: 1 / -1; font-size: 13px; color: var(--sf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-planner__go { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.sf-planner__go .sf-btn { width: 100%; padding-inline: 12px; }
.sf-planner__note { margin-top: -12px; font-size: 12.5px; color: var(--sf-muted); }
.sf-planner__note:empty { display: none; }

@media (min-width: 720px) {
    .sf-plan__title { font-size: calc(60px * var(--sf-scale)); }
    .sf-plan__strip { padding-inline: 32px; scroll-padding-inline: 32px; }
    .sf-planner__packages { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .sf-themes { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
    .sf-hero--planner { padding: 24px 0 48px; }
    .sf-plan {
        max-width: 1160px; margin-inline: auto; padding-inline: 32px; display: grid; column-gap: 40px; align-items: start;
        grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-areas: "head planner" "strip planner"; grid-template-rows: auto 1fr;
    }
    .sf-plan > .sf-wrap { padding-inline: 0; }
    .sf-plan__head { grid-area: head; padding-top: 30px; }
    .sf-plan__strip { grid-area: strip; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin-top: 26px; overflow: visible; }
    .sf-plan__shot, .sf-plan__review { width: auto; height: 300px; }
    .sf-plan__review { height: auto; min-height: 220px; }
    .sf-plan > .sf-wrap:last-child { grid-area: planner; position: sticky; top: 88px; }
    .sf-planner { margin-top: 30px; }
    .sf-planner__packages { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .sf-bagbar, .sf-toast, .sf-bagbtn, .sf-skip, .sf-share, .sf-page__actions { display: none !important; }
}

/* A field only robots fill in (the shop's forms send it; the server refuses
   anything that has it filled). Off screen, out of the tab order. */
.sf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
