/*
 * Storefront theme layer: the signature grocery look.
 * Loaded after base.css / catalog.css / cart.css / checkout.css. It styles the
 * shared chrome (header, category bar, mega menu, footer, floating cart, product
 * card, section headers) and every home page block (hero, campaign chips,
 * categories, category rows, rails, brands, benefits, promos, newsletter).
 *
 * Signature motifs (kept consistent across the site):
 *   - a hand-drawn wave (--sf-wave) under section titles and highlight words;
 *   - highlight words set in Fraunces italic;
 *   - soft concentric rings and a faint dot grid on deep tone panels;
 *   - warm cream page (--sf-page) with white cards and green-tinted shadows.
 */
:root {
    --sf-green: var(--sf-brand);
    --sf-green-dark: var(--sf-brand-dark);
    --sf-green-soft: var(--sf-brand-soft);
    --sf-green-line: var(--sf-brand-line);
    --sf-catbar-h: 48px;
}

body.sf, .sf-main { background: var(--sf-page); color: var(--sf-ink); }

/* ======================================================================
   Tones: six colour sets for slides, tiles, chips and generated posters
   --t1/--t2 gradient, --tsoft light tint, --tink readable ink on the tint,
   --tdeep/--tmid deep panel gradient, --thl highlight word on the panel.
   ====================================================================== */
.sf-tone-0 { --t1: #12824a; --t2: #0b5a33; --tsoft: #e6f4ea; --tink: #0b6b3c; --tdeep: #073d20; --tmid: #0f7a40; --thl: #ffd36b; }
.sf-tone-1 { --t1: #f97316; --t2: #c2410c; --tsoft: #fff0e3; --tink: #b23c0a; --tdeep: #6f2410; --tmid: #c2410c; --thl: #ffe08a; }
.sf-tone-2 { --t1: #0d9488; --t2: #115e59; --tsoft: #e2f5f2; --tink: #0f6b64; --tdeep: #08403c; --tmid: #0f766e; --thl: #ffd36b; }
.sf-tone-3 { --t1: #db2777; --t2: #9d174d; --tsoft: #fde8f1; --tink: #b0175a; --tdeep: #6b1238; --tmid: #be185d; --thl: #ffe08a; }
.sf-tone-4 { --t1: #ca8a04; --t2: #854d0e; --tsoft: #fbf3d9; --tink: #8a560a; --tdeep: #5b3209; --tmid: #a16207; --thl: #fff1b8; }
.sf-tone-5 { --t1: #2563eb; --t2: #1e3a8a; --tsoft: #e8eefe; --tink: #1d48c4; --tdeep: #172d6b; --tmid: #1d4ed8; --thl: #ffd36b; }

/* ======================================================================
   Header
   ====================================================================== */
.sf-header { background: #fff; border-bottom: 0; }
.sf-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(9, 36, 20, .45); }
.sf-header__bar { gap: 18px; }

/* Logo */
.sf-logo { gap: 10px; min-width: 0; }
.sf-logo:hover { color: inherit !important; }
.sf-logo__img { max-height: 44px; }
.sf-logo__mark {
    position: relative; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px 14px 14px 4px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, color-mix(in srgb, var(--sf-brand) 80%, #fff), var(--sf-brand-dark));
    color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 6px 14px -6px color-mix(in srgb, var(--sf-brand) 80%, transparent);
}
.sf-logo__mark::after { content: ''; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--sf-accent); border: 2.5px solid #fff; }
.sf-logo__text { color: var(--sf-ink); font-size: 1.32rem; }

/* Delivery area pill */
.sf-area { position: relative; flex: 0 0 auto; }
.sf-area__btn {
    display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px 0 8px; max-width: 220px;
    border: 1px solid var(--sf-border); border-radius: 14px; background: var(--sf-cream); color: var(--sf-ink);
    text-align: left; transition: border-color .2s, background .2s, box-shadow .2s;
}
.sf-area__btn:hover, .sf-area__btn[aria-expanded="true"] { border-color: var(--sf-brand-line); background: var(--sf-brand-soft); }
.sf-area__pin { color: var(--sf-brand); width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #fff; box-shadow: var(--sf-shadow-xs); }
.sf-area__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sf-area__label { font-size: .68rem; color: var(--sf-text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sf-area__value { font-size: .86rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.sf-area:not(.is-set) .sf-area__value { color: var(--sf-brand); }
.sf-area__caret { color: var(--sf-text-3); transition: transform .2s; }
.sf-area__btn[aria-expanded="true"] .sf-area__caret { transform: rotate(180deg); }
.sf-area__menu {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; width: 300px; padding: 10px;
    background: #fff; border: 1px solid var(--sf-border); border-radius: 18px; box-shadow: var(--sf-shadow-lg);
    animation: sf-mega-in .16s var(--sf-ease);
}
.sf-area__title { margin: 6px 8px 8px; font-weight: 800; font-size: .92rem; }
.sf-area__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.sf-area__opt {
    width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; padding: 10px 12px;
    border: 0; border-radius: 12px; background: transparent; text-align: left;
}
.sf-area__opt:hover { background: var(--sf-bg-soft); }
.sf-area__opt-name { font-weight: 700; font-size: .9rem; }
.sf-area__opt-meta { grid-column: 1; font-size: .78rem; color: var(--sf-text-2); }
.sf-area__tick { grid-column: 2; grid-row: 1 / span 2; color: var(--sf-brand); visibility: hidden; }
.sf-area__opt[aria-pressed="true"] { background: var(--sf-brand-soft); }
.sf-area__opt[aria-pressed="true"] .sf-area__tick { visibility: visible; }

/* Search */
.sf-search { display: block; max-width: none; flex: 1 1 auto; }
.sf-search__icon { color: var(--sf-text-3); }
.sf-search__input {
    height: 50px; padding-right: 120px; border: 1.5px solid transparent; background: var(--sf-bg-soft); border-radius: 16px; font-weight: 500;
}
.sf-search__input:hover { border-color: var(--sf-border); }
.sf-search__input:focus { background: #fff; border-color: var(--sf-brand); box-shadow: var(--sf-ring); }
.sf .sf-search__btn {
    position: absolute; right: 5px; top: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px;
    border: 0; border-radius: 12px; background: var(--sf-brand); color: #fff; font-weight: 700; font-size: .88rem; cursor: pointer;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); transition: background .2s;
}
.sf .sf-search__btn:hover { background: var(--sf-brand-dark); }
.sf-search__results { border-radius: 18px; }

/* Sign in, cart pill */
.sf-header__actions { gap: 6px; }
.sf-signin {
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 6px; border-radius: 14px;
    color: var(--sf-ink) !important; font-weight: 700; font-size: .9rem; white-space: nowrap; transition: background .2s;
}
.sf-signin:hover { background: var(--sf-bg-soft); }
.sf-signin .sf-ic { color: var(--sf-brand); width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--sf-brand-soft); }
.sf-signin__text { display: flex; flex-direction: column; line-height: 1.15; }
.sf-signin__small { font-size: .7rem; font-weight: 600; color: var(--sf-text-3); }
.sf-header__wishlist { width: 46px; height: 46px; }
.sf-cart-pill {
    display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 7px; border-radius: 16px;
    background: var(--sf-ink); color: #fff !important; white-space: nowrap;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 10px 22px -14px rgba(9, 36, 20, .8);
    transition: background .2s, transform .15s;
}
.sf-cart-pill:hover { background: var(--sf-brand-deep); color: #fff !important; transform: translateY(-1px); }
.sf-cart-pill__icon { position: relative; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 11px; background: var(--sf-brand); }
.sf-cart-pill__icon .sf-ic { width: 20px; height: 20px; }
.sf-cart-pill .sf-badge-count { top: -7px; right: -8px; background: var(--sf-accent); color: #1f1206; border: 2px solid var(--sf-ink); }
.sf-cart-pill__text { display: flex; flex-direction: column; line-height: 1.15; }
.sf-cart-pill__label { font-size: .68rem; opacity: .7; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sf-cart-pill__total { font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Tablet and phone: logo + actions on the first row, search on the second */
@media (max-width: 899px) {
    .sf-header__bar { position: relative; flex-wrap: wrap; height: auto; min-height: 60px; padding-top: 10px; padding-bottom: 12px; row-gap: 10px; column-gap: 8px; }
    .sf-search { order: 10; flex: 1 1 100%; display: block; position: relative; }
    .sf-header.is-search-open .sf-search { position: relative; left: auto; right: auto; top: auto; }
    .sf-search__input { height: 46px; }
    .sf-area { order: 5; position: static; }
    .sf-area__btn { height: 42px; padding: 0 10px 0 6px; }
    .sf-area__pin { width: 28px; height: 28px; padding: 6px; }
    .sf-area__label { display: none; }
    .sf-area__value { max-width: 110px; font-size: .8rem; }
    .sf-area__menu { left: 16px; right: 16px; width: auto; top: 58px; }
    .sf-header__actions { order: 6; }
    .sf-signin__text, .sf-cart-pill__text { display: none; }
    .sf-signin { width: 44px; padding: 0; justify-content: center; }
    .sf-cart-pill { height: 44px; padding: 0 4px; }
}
@media (min-width: 900px) and (max-width: 1179px) {
    .sf-signin__text { display: none; }
    .sf-signin { padding: 0 6px; }
    .sf-header__bar { gap: 12px; }
}
@media (max-width: 599px) {
    .sf-area { order: 11; flex: 1 1 100%; }
    .sf-area__btn { width: 100%; max-width: none; height: 38px; background: var(--sf-cream); border-color: var(--sf-border); padding: 0 10px 0 4px; border-radius: 12px; }
    .sf-area__pin { width: 26px; height: 26px; padding: 5px; box-shadow: none; background: transparent; }
    .sf-area__label { display: inline; font-size: .7rem; }
    .sf-area__text { flex-direction: row; gap: 6px; align-items: baseline; flex: 1 1 auto; }
    .sf-area__value { max-width: none; flex: 1 1 auto; }
    .sf-area__menu { top: auto; margin-top: 6px; }
    .sf-header__bar { row-gap: 8px; }
}
@media (max-width: 479px) {
    .sf-header__bar { column-gap: 4px; }
    .sf-search__btn span { display: none; }
    .sf .sf-search__btn { padding: 0 13px; }
    .sf-search__input { padding-right: 56px; }
    .sf-logo__mark { width: 38px; height: 38px; font-size: 1.05rem; }
}

/* ======================================================================
   Category bar and mega menu
   ====================================================================== */
.sf-catbar { position: relative; color: #fff; background: var(--sf-brand-deep); }
.sf-catbar::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--sf-dots); background-size: 16px 16px; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
.sf-catbar__inner { position: relative; display: flex; align-items: center; gap: 6px; min-height: var(--sf-catbar-h); }
.sf-catbar__menu { flex: 0 0 auto; position: static; }
.sf-catbar__toggle {
    display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: 10px;
    background: var(--sf-brand); color: #fff; font-weight: 800; font-size: .88rem; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 0 rgba(0, 0, 0, .2);
    transition: background .2s;
}
.sf-catbar__toggle:hover, .sf-catbar.is-mega-open .sf-catbar__toggle { background: color-mix(in srgb, var(--sf-brand) 85%, #fff); }
.sf-catbar__caret { opacity: .8; transition: transform .2s; }
.sf-catbar.is-mega-open .sf-catbar__caret { transform: rotate(180deg); }
.sf-catbar__links { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-left: 6px; }
.sf-catbar__links::-webkit-scrollbar { display: none; }
.sf .sf-catbar__link {
    position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; white-space: nowrap;
    color: rgba(255, 255, 255, .86) !important; font-weight: 600; font-size: .86rem; transition: background .15s, color .15s;
}
.sf .sf-catbar__link:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.sf-catbar__end { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.sf-catbar__end .sf-ic { color: var(--sf-accent); }
.sf-catbar__phone { font-weight: 800 !important; }

.sf-megamenu {
    display: none; position: absolute; top: calc(100% + 6px); z-index: 65;
    left: max(16px, calc((100vw - var(--sf-container)) / 2 + 24px));
    width: min(960px, calc(100vw - 32px)); min-height: 380px; max-height: 72vh;
    background: #fff; color: var(--sf-ink); border-radius: 22px; box-shadow: var(--sf-shadow-lg), 0 0 0 1px rgba(20, 38, 27, .06); overflow: hidden;
}
.sf-catbar.is-mega-open .sf-megamenu { display: block; animation: sf-mega-in .18s var(--sf-ease); }
@keyframes sf-mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sf-megamenu__list { list-style: none; margin: 0; padding: 10px; width: 280px; height: 100%; max-height: 72vh; overflow-y: auto; border-right: 1px solid var(--sf-border); background: var(--sf-cream); scrollbar-width: thin; }
.sf-megamenu__item { position: static; }
.sf .sf-megamenu__link {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--sf-ink) !important;
}
.sf-megamenu__link > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-megamenu__link > .sf-ic:first-child { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: #fff; color: var(--sf-brand); box-shadow: var(--sf-shadow-xs); }
.sf-megamenu__chev { opacity: .4; }
.sf-megamenu__item.is-active > .sf-megamenu__link { background: #fff; color: var(--sf-brand) !important; box-shadow: var(--sf-shadow-sm); }
.sf-megamenu__item.is-active > .sf-megamenu__link > .sf-ic:first-child { background: var(--sf-brand); color: #fff; }
.sf-megamenu__panel { display: none; position: absolute; top: 0; bottom: 0; left: 280px; right: 0; padding: 26px 30px; overflow-y: auto; }
.sf-megamenu__item.is-active > .sf-megamenu__panel { display: block; animation: sf-fade .2s ease; }
.sf .sf-megamenu__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 18px; color: var(--sf-ink) !important; }
.sf .sf-megamenu__title .sf-ic { color: var(--sf-accent); transition: transform .2s var(--sf-ease); }
.sf .sf-megamenu__title:hover { color: var(--sf-brand) !important; }
.sf .sf-megamenu__title:hover .sf-ic { transform: translateX(3px); }
.sf-megamenu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sf .sf-megamenu__sub {
    display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600;
    color: var(--sf-ink) !important; border: 1px solid var(--sf-border); background: #fff; transition: border-color .15s, background .15s, color .15s;
}
.sf .sf-megamenu__sub:hover { background: var(--sf-brand-soft); border-color: var(--sf-brand-line); color: var(--sf-brand) !important; }
.sf-megamenu__sub span { color: var(--sf-text-3); font-size: .74rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--sf-bg-soft); }
.sf-megamenu__empty { color: var(--sf-text-2); }
@keyframes sf-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 899px) {
    .sf-catbar__inner { min-height: 44px; gap: 4px; }
    .sf-catbar__toggle { height: 32px; padding: 0 10px; font-size: .82rem; }
    .sf-catbar__caret { display: none; }
    .sf-catbar__end, .sf-megamenu { display: none !important; }
    .sf .sf-catbar__link { padding: 6px 10px; font-size: .82rem; }
    .sf-header__menu { display: none; }   /* the Categories button opens the menu drawer */
}

/* Menu drawer (phones) */
.sf-mobile-nav__group summary { color: var(--sf-ink); }
.sf-mobile-nav__link:hover, .sf-mobile-nav__group summary:hover { color: var(--sf-brand) !important; }

/* ======================================================================
   Section headers: bold title + the signature wave
   ====================================================================== */
.sf-page-home .sf-section { padding: 22px 0; }
@media (min-width: 768px) { .sf-page-home .sf-section { padding: 30px 0; } }
.sf .sf-section__title { position: relative; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); font-weight: 800; letter-spacing: -.03em; color: var(--sf-ink); padding-bottom: 12px; }
.sf .sf-section__title::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 8px; background: var(--sf-accent);
    -webkit-mask: var(--sf-wave) left center / 46px 8px no-repeat; mask: var(--sf-wave) left center / 46px 8px no-repeat;
}
.sf-section__head { align-items: flex-end; margin-bottom: 20px; }
.sf-section__sub { font-size: .88rem; margin-top: 8px; }
.sf .sf-section__link {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 16px; border-radius: 999px; background: #fff;
    border: 1px solid var(--sf-border); color: var(--sf-ink) !important; font-size: .84rem; font-weight: 700;
    transition: background .2s, color .2s, border-color .2s;
}
.sf .sf-section__link .sf-ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--sf-brand-soft); color: var(--sf-brand); transition: transform .2s var(--sf-ease), background .2s, color .2s; }
.sf .sf-section__link:hover { border-color: var(--sf-brand); color: var(--sf-brand) !important; }
.sf .sf-section__link:hover .sf-ic { background: var(--sf-brand); color: #fff; transform: translateX(2px); }
.sf .sf-link-btn.sf-section__link { padding: 0 16px; }
.sf-rail__btn { width: 38px; height: 38px; border: 1px solid var(--sf-border); background: #fff; color: var(--sf-ink); box-shadow: var(--sf-shadow-xs); }
.sf-rail__btn:hover:not([disabled]) { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }
.sf-section--soft { background: #fff; border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); }
.sf-page-home .sf-section--soft { margin: 14px 0; }
@media (max-width: 599px) {
    .sf-section__head { align-items: flex-start; }
    .sf .sf-section__link { height: 34px; padding: 0 5px 0 12px; font-size: .8rem; }
}

/* ======================================================================
   Home: hero (slider + tiles)
   ====================================================================== */
.sf-gh { padding: 18px 0 6px; }
.sf-gh__grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }

/* Slider shell */
.sf-gh__slider { position: relative; min-width: 0; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--sf-brand-deep); box-shadow: 0 30px 60px -36px rgba(9, 36, 20, .7); }
.sf-gh__viewport { overflow: hidden; height: 100%; }
.sf-gh__track { display: flex; height: 100%; transition: transform .7s var(--sf-ease); will-change: transform; }

/* One slide: copy on a deep tone panel (left), picture on its own plate (right) */
.sf-gh__slide {
    position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; isolation: isolate; color: #fff;
    display: grid; grid-template-columns: minmax(0, 1fr);
    background:
        radial-gradient(520px 380px at 78% 45%, rgba(255, 255, 255, .16), transparent 65%),
        radial-gradient(420px 300px at 0% 100%, rgba(0, 0, 0, .22), transparent 70%),
        linear-gradient(125deg, var(--tdeep, #073d20) 0%, var(--tmid, #0f7a40) 100%);
}
/* faint dot grid on the copy side */
.sf-gh__slide::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--sf-dots); background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 60%);
    mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .5) 35%, transparent 60%);
}
/* soft concentric rings behind the plate */
.sf-gh__deco { position: absolute; z-index: -1; right: 25%; top: 50%; width: 560px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .14); transform: translate(50%, -50%);
    box-shadow: 0 0 0 56px rgba(255, 255, 255, .035), 0 0 0 112px rgba(255, 255, 255, .025);
}
.sf-gh__deco::before { content: ''; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); }
.sf-gh__deco::after { content: ''; position: absolute; left: 6%; top: 10%; width: 22px; height: 22px; border-radius: 50%; background: var(--thl, #ffd36b); opacity: .9; box-shadow: 0 0 0 7px color-mix(in srgb, var(--thl, #ffd36b) 25%, transparent); }

.sf-gh__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 26px 22px 6px; }
.sf-gh__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
    font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .95);
}
.sf-gh__eyebrow-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--thl, #ffd36b); }
.sf-gh__eyebrow-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--thl, #ffd36b); opacity: 0; animation: sf-ping 2.2s var(--sf-ease) infinite; }
@keyframes sf-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.sf .sf-gh__title {
    margin: 14px 0 10px; color: #fff; font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3.15rem); font-weight: 800;
    line-height: 1.04; letter-spacing: -.035em; word-spacing: .08em; text-wrap: balance; max-width: 15ch;
}
.sf-hero__hl {
    position: relative; display: inline-block; font-family: var(--sf-font-serif); font-style: italic; font-weight: 600;
    letter-spacing: -.02em; color: var(--thl, #ffd36b); padding: 0 .04em .06em 0;
}
.sf-hero__hl::after {
    content: ''; position: absolute; left: 2%; right: 4%; bottom: -.12em; height: .2em; background: currentColor; opacity: .85;
    -webkit-mask: var(--sf-wave) left center / auto 100% repeat-x; mask: var(--sf-wave) left center / auto 100% repeat-x;
}
.sf .sf-gh__text { margin: 0; color: rgba(255, 255, 255, .84); font-size: clamp(.9rem, .85rem + .3vw, 1.05rem); line-height: 1.55; max-width: 42ch; }
.sf-gh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.sf-gh__cta {
    display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 22px; border-radius: 16px;
    background: #fff; color: var(--tdeep, #073d20); font-weight: 800; font-size: .95rem;
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); transition: transform .2s var(--sf-ease), box-shadow .2s;
}
.sf-gh__cta .sf-ic { width: 34px; height: 34px; padding: 9px; border-radius: 11px; background: var(--thl, #ffd36b); color: var(--tdeep, #073d20); transition: transform .25s var(--sf-ease); }
.sf-gh__slide:hover .sf-gh__cta { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(0, 0, 0, .6); }
.sf-gh__slide:hover .sf-gh__cta .sf-ic { transform: translateX(2px); }

/* The picture's plate */
.sf-gh__art { position: relative; z-index: 1; min-width: 0; padding: 18px 18px 74px; display: flex; align-items: center; justify-content: center; }
.sf-gh__art picture {
    display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 30px 50px -24px rgba(0, 0, 0, .6);
}
.sf-gh__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.06); transition: transform 6s ease-out; }
.sf-gh__slide.is-active .sf-gh__art img { transform: scale(1); }

/* A slide with copy but no picture: the copy alone, room for the controls */
.sf-gh__slide.is-split:not(.has-image) .sf-gh__copy { padding-bottom: 84px; }
@media (min-width: 768px) { .sf .sf-gh__slide.is-split:not(.has-image) { grid-template-columns: minmax(0, 1fr); } }

/* Picture-only slide */
.sf-gh__slide.is-full { min-height: 200px; }
.sf-gh__media { position: absolute; inset: 0; display: block; }
.sf-gh__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-gh__corner { position: absolute; top: 16px; left: 16px; z-index: 3; }

/* Copy entrance */
.sf-gh__slide .sf-gh__copy > * { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--sf-ease), transform .55s var(--sf-ease); }
.sf-gh__slide.is-active .sf-gh__copy > * { opacity: 1; transform: none; }
.sf-gh__slide.is-active .sf-gh__copy > :nth-child(2) { transition-delay: .07s; }
.sf-gh__slide.is-active .sf-gh__copy > :nth-child(3) { transition-delay: .14s; }
.sf-gh__slide.is-active .sf-gh__copy > :nth-child(4) { transition-delay: .21s; }
.sf-gh__cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.sf-gh__cover:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 24px; }

/* Controls: one glass pill */
.sf-gh__controls {
    position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
}
.sf-gh__dots { display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.sf .sf-gh__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .35s var(--sf-ease), background .2s; }
.sf .sf-gh__dot:hover { background: rgba(255, 255, 255, .8); }
.sf .sf-gh__dot.is-active { width: 26px; background: #fff; }
.sf .sf-gh__pause, .sf .sf-gh__arrow {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    color: #fff; background: rgba(255, 255, 255, .14); transition: background .2s, color .2s, transform .15s;
}
.sf .sf-gh__pause:hover { background: rgba(255, 255, 255, .26); }
.sf-gh__arrows { display: inline-flex; gap: 4px; padding-left: 6px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .22); }
.sf .sf-gh__arrow { background: #fff; color: var(--sf-ink); }
.sf .sf-gh__arrow:hover { background: var(--thl, #ffd36b); color: var(--sf-ink); }
.sf .sf-gh__arrow:active, .sf .sf-gh__pause:active { transform: scale(.92); }
.sf .sf-gh__dot:focus-visible, .sf .sf-gh__pause:focus-visible, .sf .sf-gh__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sf-gh__slider .sf-hero__icon-play { display: none !important; }
.sf-gh__slider.is-paused .sf-hero__icon-play { display: inline-block !important; }
.sf-gh__slider.is-paused .sf-hero__icon-pause { display: none !important; }

/* Countdown */
.sf-countdown { display: inline-flex; align-items: center; gap: 5px; padding: 6px 7px 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--sf-ink); box-shadow: var(--sf-shadow); pointer-events: none; }
.sf-countdown__label { display: inline-flex; align-items: center; gap: 4px; margin-right: 3px; font-size: .72rem; font-weight: 800; color: var(--sf-sale); line-height: 1.1; }
.sf-countdown__box { display: inline-flex; flex-direction: column; align-items: center; min-width: 36px; padding: 4px 4px 3px; border-radius: 9px; background: var(--sf-ink); color: #fff; line-height: 1; }
.sf-countdown__box b { font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-countdown__box small { font-size: .55rem; opacity: .7; text-transform: uppercase; margin-top: 2px; letter-spacing: .04em; }
.sf-gh__actions .sf-countdown { background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; color: #fff; backdrop-filter: blur(6px); }
.sf-gh__actions .sf-countdown__label { color: #fff; }
.sf-gh__actions .sf-countdown__box { background: #fff; color: var(--tdeep, var(--sf-ink)); }

/* Tiles: light cards - copy top-left in dark ink, art bottom-right */
.sf-gh__tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.sf-gh__tile {
    position: relative; display: flex; min-height: 156px; border-radius: 22px; overflow: hidden; isolation: isolate;
    color: var(--sf-ink) !important; background: var(--sf-brand-soft);
    transition: transform .25s var(--sf-ease), box-shadow .25s;
}
.sf-gh__tile.is-card {
    background: linear-gradient(150deg, #fff 0%, var(--tsoft) 55%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tink) 14%, transparent);
}
.sf-gh__tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tink, var(--sf-brand)) 30%, transparent), 0 18px 32px -20px rgba(9, 36, 20, .45); }
.sf-gh__tile-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 16px 14px; max-width: 70%; }
.sf-gh__tile-title { font-weight: 800; font-size: 1.02rem; line-height: 1.2; letter-spacing: -.02em; color: var(--sf-ink); }
.sf-gh__tile-text { font-size: .78rem; line-height: 1.35; color: var(--sf-text-2); }
.sf-gh__tile-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 5px 10px 5px 12px; border-radius: 999px; background: #fff; color: var(--tink, var(--sf-brand)); font-size: .76rem; font-weight: 800; box-shadow: var(--sf-shadow-xs); transition: gap .2s var(--sf-ease); }
.sf-gh__tile:hover .sf-gh__tile-link { gap: 8px; }
.sf-gh__tile.is-card .sf-gh__tile-art {
    position: absolute; z-index: 1; right: 0; bottom: 0; width: 72%; height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, #000 55%, transparent 100%); mask-composite: intersect;
}
.sf-gh__tile-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transition: transform .6s var(--sf-ease); }
.sf-gh__tile.is-card .sf-gh__tile-art img { mix-blend-mode: multiply; }
.sf-gh__tile:hover .sf-gh__tile-art img { transform: scale(1.06); }
.sf-gh__tile.is-full .sf-gh__tile-art { position: absolute; inset: 0; }
.sf-gh__tile.is-full { aspect-ratio: 8 / 5; min-height: 0; }
.sf-gh__tiles--1 { grid-template-columns: 1fr; }
.sf-gh__tiles--3 > :first-child { grid-column: 1 / -1; }

@media (min-width: 768px) {
    .sf-gh__slide.is-split { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); min-height: clamp(380px, 33vw, 440px); }
    .sf-gh__slide.is-full { min-height: clamp(320px, 30vw, 420px); }
    .sf-gh__copy { padding: 40px 8px 86px 52px; }
    .sf-gh__art { padding: 34px 40px 34px 8px; }
    .sf-gh__art picture { height: 100%; aspect-ratio: auto; max-height: 360px; border-radius: 26px; }
    .sf-gh__art img { object-position: 78% 50%; }
    .sf-gh__deco { right: 26%; width: 640px; }
    .sf-gh__controls { left: 52px; transform: none; bottom: 26px; }
    .sf-gh__tile { min-height: 180px; }
}
@media (min-width: 900px) {
    .sf-gh { padding-top: 22px; }
    .sf-gh__grid { gap: 16px; }
    .sf-gh__tiles { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-gh__tiles--1 { grid-template-columns: 1fr; }
    .sf-gh__tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-gh__tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-gh__tiles--3 > :first-child { grid-column: auto; }
    .sf-gh__tile-copy { padding: 20px 20px 18px; max-width: 64%; }
    .sf-gh__tile-title { font-size: 1.12rem; }
}
@media (max-width: 767px) {
    .sf-gh__slider { border-radius: 22px; }
    .sf-gh__deco { right: 50%; top: 72%; width: 420px; }
    .sf-gh__deco::after { display: none; }
    .sf-gh__art { padding: 14px 16px 70px; }
    .sf-gh__art picture { aspect-ratio: 4 / 3; border-radius: 20px; }
    .sf-gh__art img { object-position: 80% 50%; }
    .sf-gh__actions { margin-top: 18px; }
    .sf-gh__cta { height: 44px; font-size: .9rem; padding-left: 18px; }
    .sf-gh__cta .sf-ic { width: 30px; height: 30px; padding: 8px; }
    .sf-countdown { gap: 4px; padding: 5px 6px 5px 8px; }
    .sf-countdown__box { min-width: 30px; }
    .sf-countdown__box b { font-size: .84rem; }
    .sf-gh__tile-copy { max-width: 100%; padding: 14px 14px 12px; }
    .sf-gh__tile-title { font-size: .95rem; }
    .sf-gh__tile-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 80%; }
    .sf-gh__tile.is-card .sf-gh__tile-art { width: 80%; height: 66%; }
    .sf-gh__tile-link { display: none; }
}

/* ======================================================================
   Home: campaign chips
   ====================================================================== */
.sf-chips-row { padding: 16px 0 4px; }
.sf-chips-row .sf-chips {
    list-style: none; margin: 0 -16px; padding: 10px 16px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 10px;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
}
.sf-chips-row .sf-chips::-webkit-scrollbar { display: none; }
.sf-chips-row .sf-chips > li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .sf-chips-row .sf-chips { margin: 0; padding: 10px 0; gap: 14px; } }
@media (min-width: 1100px) {
    .sf-chips-row .sf-chips { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; }
    .sf-chips-row .sf-chips--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .sf-chips-row .sf-chips--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-chips-row .sf-chips--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-chips-row .sf-chips--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-chips-row .sf-chips--1 { grid-template-columns: minmax(0, 320px); }
}

.sf-chipcard {
    position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; height: 100%;
    padding: 11px 12px 11px 11px; background: #fff; border: 1px solid var(--sf-border); border-radius: 18px; color: var(--sf-ink) !important;
    transition: transform .2s var(--sf-ease), box-shadow .2s, border-color .2s;
}
.sf-chipcard:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -18px rgba(9, 36, 20, .5); border-color: color-mix(in srgb, var(--tink, var(--sf-brand)) 40%, #fff); color: var(--sf-ink) !important; }
.sf-chipcard__media { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tsoft, var(--sf-brand-soft)); color: var(--tink, var(--sf-brand)); overflow: hidden; }
.sf-chipcard__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .35s var(--sf-ease); }
.sf-chipcard:hover .sf-chipcard__media img { transform: scale(1.1) rotate(-3deg); }
.sf-chipcard__media .sf-ic { width: 26px; height: 26px; }
.sf-chipcard__body { display: flex; flex-direction: column; min-width: 0; }
.sf-chipcard__label { font-weight: 800; font-size: .88rem; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-chipcard__meta { font-size: .74rem; color: var(--sf-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-chipcard__go { display: none; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--tsoft, var(--sf-brand-soft)); color: var(--tink, var(--sf-brand)); transition: transform .2s var(--sf-ease), background .2s, color .2s; }
.sf-chipcard:hover .sf-chipcard__go { background: var(--tink, var(--sf-brand)); color: #fff; transform: translateX(2px); }
.sf-chipcard__new { position: absolute; top: -8px; right: 12px; padding: 2px 8px; border-radius: 999px; background: var(--sf-accent); color: #1f1206; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 0 3px var(--sf-page); }

/* ======================================================================
   Home: shop by category
   ====================================================================== */
.sf-cats { gap: 10px; }
@media (min-width: 640px) { .sf-cats { gap: 14px; } }
@media (min-width: 1024px) { .sf-cats { gap: 16px; } }
.sf-cat {
    position: relative; height: 100%; gap: 2px; padding: 10px 10px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--sf-border);
    color: var(--sf-ink) !important; transition: transform .25s var(--sf-ease), box-shadow .25s, border-color .25s;
}
.sf-cat:hover { transform: translateY(-4px); border-color: var(--sf-brand-line); box-shadow: 0 18px 30px -22px rgba(9, 36, 20, .55); color: var(--sf-ink) !important; }
.sf-cat__media { max-width: none; margin-bottom: 10px; border: 0; border-radius: 16px; background: var(--sf-cat-bg, var(--sf-brand-soft)); aspect-ratio: 1 / .86; }
.sf-cat:hover .sf-cat__media { border-color: transparent; box-shadow: none; }
.sf-cat__media img { width: 74%; height: 84%; object-fit: contain; border-radius: 12px; transition: transform .35s var(--sf-ease); }
.sf-cat:hover .sf-cat__media img { transform: scale(1.06); }
.sf-cats > li:nth-child(6n+1) { --sf-cat-bg: #e6f4ea; }
.sf-cats > li:nth-child(6n+2) { --sf-cat-bg: #fff0e3; }
.sf-cats > li:nth-child(6n+3) { --sf-cat-bg: #fde8f1; }
.sf-cats > li:nth-child(6n+4) { --sf-cat-bg: #fbf3d9; }
.sf-cats > li:nth-child(6n+5) { --sf-cat-bg: #e8eefe; }
.sf-cats > li:nth-child(6n+6) { --sf-cat-bg: #e2f5f2; }
.sf-cat__initial { color: var(--sf-brand); opacity: .55; }
.sf-cat__name { font-weight: 800; font-size: .88rem; letter-spacing: -.01em; }
.sf-cat__count { font-size: .74rem; font-weight: 600; color: var(--sf-text-3); }

/* ======================================================================
   Home: products by category (poster + carousel)
   ====================================================================== */
.sf-catrow .sf-section__head { align-items: flex-end; }
.sf-catrow__subs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sf .sf-catrow__subs a { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--sf-border); background: #fff; font-size: .76rem; font-weight: 600; color: var(--sf-text-2) !important; transition: border-color .15s, color .15s, background .15s; }
.sf .sf-catrow__subs a:hover { border-color: var(--sf-brand); background: var(--sf-brand-soft); color: var(--sf-brand) !important; }
.sf-catrow .sf-rail__nav { flex: 0 0 auto; }
.sf-catrow__body { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.sf-catposter {
    position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 120px; padding: 18px 20px; overflow: hidden;
    border-radius: 22px; color: #fff !important; isolation: isolate;
    background: radial-gradient(260px 200px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(150deg, var(--tmid, #12824a), var(--tdeep, #0b5a33));
    transition: transform .25s var(--sf-ease), box-shadow .25s;
}
.sf-catposter::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--sf-dots); background-size: 16px 16px; opacity: .8; }
.sf-catposter:hover { color: #fff !important; box-shadow: 0 20px 34px -22px rgba(9, 36, 20, .7); }
.sf-catposter.has-image { padding: 0; background: var(--sf-brand-soft); }
.sf-catposter.has-image::before { display: none; }
.sf-catposter.has-image picture, .sf-catposter.has-image img { display: block; width: 100%; height: 100%; }
.sf-catposter.has-image img { object-fit: cover; transition: transform .6s var(--sf-ease); }
.sf-catposter.has-image:hover img { transform: scale(1.04); }
.sf-catposter__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .18); margin-bottom: 12px; }
.sf-catposter__name { font-size: 1.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; max-width: 70%; }
.sf-catposter__meta { font-size: .8rem; opacity: .85; margin-top: 4px; }
.sf-catposter__cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 14px; padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--tink, var(--sf-brand)); font-weight: 800; font-size: .82rem; }
.sf-catposter__art { position: absolute; right: -18px; bottom: -18px; z-index: -1; width: 120px; height: 120px; opacity: .16; color: #fff; transform: rotate(-12deg); }
@media (max-width: 899px) {
    .sf-catposter:not(.has-image) .sf-catposter__icon { display: none; }
    .sf-catposter.has-image { height: 150px; }
    .sf-catposter.has-image img { object-position: center 30%; }
    .sf-catrow .sf-section__head { align-items: flex-start; }
    .sf-catrow .sf-section__head > div:first-child { flex: 1 1 auto; min-width: 0; }
    .sf-catrow__subs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
    .sf-catrow__subs::-webkit-scrollbar { display: none; }
    .sf .sf-catrow__subs a { white-space: nowrap; }
}
@media (max-width: 767px) {
    /* the phone poster picture is 3:1 - show it whole */
    .sf-catposter.has-image { height: auto; aspect-ratio: 3 / 1; }
    .sf-catposter.has-image img { object-position: center; }
}
@media (min-width: 900px) {
    .sf-catrow__body { grid-template-columns: 228px minmax(0, 1fr); gap: 16px; align-items: stretch; }
    .sf-catposter { min-height: 100%; justify-content: flex-end; padding: 22px 20px; }
    .sf-catposter__name { font-size: 1.5rem; max-width: none; }
    .sf-catposter__art { width: 170px; height: 170px; right: -24px; top: 24px; bottom: auto; }
    .sf .sf-catrow__rail { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; }
}

/* Product rails */
@media (min-width: 640px) { .sf-rail { gap: 14px; grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1024px) { .sf-rail { gap: 16px; grid-auto-columns: calc((100% - 48px) / 4); } }
@media (min-width: 1280px) { .sf-rail { grid-auto-columns: calc((100% - 80px) / 6); } .sf .sf-catrow__rail { grid-auto-columns: calc((100% - 64px) / 5); } }
.sf-rail { padding-top: 4px; padding-bottom: 14px; }

/* ======================================================================
   Product card
   ====================================================================== */
.sf-pcard {
    padding: 8px; border: 1px solid var(--sf-border); border-radius: 20px; background: #fff;
    transition: box-shadow .25s, border-color .25s, transform .3s var(--sf-ease);
}
.sf-pcard__media { border-radius: 14px; background: var(--sf-cream); }
.sf-pcard__img img { padding: 4px; border-radius: 14px; }
.sf-pcard__name a::after { border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
    .sf-pcard:hover { transform: translateY(-4px); border-color: var(--sf-brand-line); box-shadow: 0 22px 36px -24px rgba(9, 36, 20, .55); }
    .sf-pcard:hover .sf-pcard__img img { transform: scale(1.05); }
}
.sf-pcard__badges { top: 8px; left: 8px; }
.sf-pcard__ribbon {
    position: relative; display: inline-flex; align-items: center; padding: 4px 10px 4px 9px; background: var(--sf-sale); color: #fff;
    font-size: .7rem; font-weight: 800; line-height: 1.3; letter-spacing: .01em; white-space: nowrap; border-radius: 8px;
    box-shadow: 0 6px 12px -6px color-mix(in srgb, var(--sf-sale) 80%, transparent);
}
.sf-pcard__ribbon::before { content: ''; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #fff; opacity: .9; }
.sf-pcard .sf-badge--dark { border-radius: 8px; background: rgba(20, 38, 27, .82); text-transform: none; letter-spacing: 0; font-weight: 700; backdrop-filter: blur(4px); }
.sf-pcard__wish { top: 8px; right: 8px; width: 34px; height: 34px; background: #fff; box-shadow: 0 2px 10px rgba(9, 36, 20, .12); }
.sf-pcard__wish:hover { color: var(--sf-sale); }
[data-wishlist].is-active .sf-wish-on, [data-wishlist][aria-pressed="true"] .sf-wish-on { color: var(--sf-sale); }
.sf-pcard__quick { bottom: 8px; left: 8px; right: 8px; height: 36px; font-size: .8rem; font-weight: 700; border-radius: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); }
.sf-pcard__quick:hover { background: var(--sf-ink); color: #fff; }
.sf-pcard__body { gap: 2px; padding: 12px 6px 4px; }
.sf-pcard__brand { color: var(--sf-brand); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.sf .sf-pcard__name { font-size: .9rem; font-weight: 700; line-height: 1.32; min-height: 2.64em; color: var(--sf-ink); letter-spacing: -.01em; }
.sf-pcard__name a { color: inherit !important; }
.sf .sf-pcard:hover .sf-pcard__name a { color: var(--sf-brand) !important; }
.sf-pcard__unit { display: inline-flex; align-self: flex-start; min-height: 0; margin-top: 4px; padding: 1px 8px; border-radius: 6px; background: var(--sf-bg-soft); font-size: .72rem; font-weight: 600; color: var(--sf-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sf-pcard__unit:empty { display: none; }
.sf-pcard__stock { font-size: .72rem; font-weight: 700; }
.sf-pcard__foot { flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.sf-pcard__foot > .sf-pprice { flex: 1 1 100%; min-height: 1.6em; }
.sf-pprice .sf-price { font-size: 1.08rem; font-weight: 800; color: var(--sf-ink); }
.sf-pprice .sf-price--sale { color: var(--sf-sale); }
.sf-pprice .sf-price--old { color: var(--sf-text-3); }
.sf .sf-pcard__add {
    flex: 1 1 100%; width: 100%; height: 40px; gap: 7px; border: 1.5px solid var(--sf-brand-line); border-radius: 12px;
    background: var(--sf-brand-soft); color: var(--sf-brand); font-weight: 800; font-size: .84rem;
    transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.sf .sf-pcard__add:hover { background: var(--sf-brand); border-color: var(--sf-brand); color: #fff; box-shadow: 0 10px 18px -10px var(--sf-brand); }
.sf .sf-pcard__add .sf-ic { width: 15px; height: 15px; }
.sf .sf-pcard__add.is-disabled { opacity: 1; border-color: var(--sf-border); background: var(--sf-bg-soft); color: var(--sf-text-3); cursor: not-allowed; box-shadow: none; }
.sf .sf-pcard__add.is-done { background: var(--sf-success); border-color: var(--sf-success); color: #fff; }
.sf-pcard__add.is-loading::after { border-color: color-mix(in srgb, var(--sf-brand) 30%, transparent); border-top-color: var(--sf-brand); }
.sf-pcard__add.is-loading .sf-pcard__add-label, .sf-pcard__add.is-loading .sf-ic { visibility: hidden; }
.sf-pcard.is-soldout .sf-pcard__img img { opacity: .5; filter: grayscale(.7); }
@media (max-width: 479px) {
    .sf-pcard { padding: 6px; border-radius: 16px; }
    .sf-pcard__body { padding: 10px 4px 2px; }
    .sf .sf-pcard__name { font-size: .84rem; }
    .sf-pprice .sf-price { font-size: 1rem; }
    .sf .sf-pcard__add { height: 38px; font-size: .8rem; }
}

/* Listing grid in list mode: a compact button beside the price */
.sf-products.is-list .sf-pcard__foot > .sf-pprice { flex: 0 1 auto; }
.sf .sf-products.is-list .sf-pcard__add { flex: 0 0 auto; width: auto; padding: 0 18px; }

/* ======================================================================
   Home: promos, brands, benefits, newsletter
   ====================================================================== */
/* Promos: a picture card with its copy on a white footer (copy never sits on the art) */
@media (min-width: 768px) { .sf-promos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sf .sf-promo {
    flex-direction: column; align-items: stretch; min-height: 0; border-radius: 24px; background: #fff; color: var(--sf-ink) !important;
    border: 1px solid var(--sf-border); transition: transform .25s var(--sf-ease), box-shadow .25s, border-color .25s;
}
.sf .sf-promo:hover { transform: translateY(-3px); border-color: var(--sf-brand-line); box-shadow: 0 22px 36px -24px rgba(9, 36, 20, .55); color: var(--sf-ink) !important; }
.sf-promo .sf-promo__media { position: relative; inset: auto; z-index: 0; display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.sf-promo .sf-promo__media::after { display: none; }
.sf-promo--plain { min-height: 200px; color: #fff !important; justify-content: flex-end; background: radial-gradient(500px 240px at 100% 0%, color-mix(in srgb, var(--sf-accent) 45%, transparent), transparent 70%), linear-gradient(125deg, var(--sf-brand-deep), var(--sf-brand)) !important; }
.sf-promo__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 16px 18px 18px; }
.sf-promo__title { grid-column: 1; font-size: 1.12rem; font-weight: 800; letter-spacing: -.025em; }
.sf-promo__text { grid-column: 1; color: var(--sf-text-2); font-size: .82rem; line-height: 1.4; }
.sf-promo--plain .sf-promo__text { color: rgba(255, 255, 255, .85); }
.sf-promo__cta { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 14px; background: var(--sf-brand-soft); color: var(--sf-brand); transition: background .2s, color .2s, transform .2s var(--sf-ease); }
.sf-promo__cta .sf-ic { width: 18px; height: 18px; }
.sf .sf-promo:hover .sf-promo__cta { background: var(--sf-brand); color: #fff; transform: translateX(2px); }

.sf-brands { gap: 10px; }
@media (min-width: 1024px) { .sf-brands { gap: 14px; } }
.sf-brand {
    position: relative; flex-direction: row; justify-content: flex-start; gap: 12px; height: auto; min-height: 76px; padding: 12px 14px; text-align: left;
    border: 1px solid var(--sf-border); border-radius: 18px; background: #fff; color: var(--sf-ink) !important;
}
.sf-brand:hover { border-color: var(--sf-brand-line); box-shadow: 0 16px 26px -20px rgba(9, 36, 20, .5); transform: translateY(-3px); color: var(--sf-ink) !important; }
.sf-brand__mono {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px;
    font-weight: 800; font-size: 1.15rem; letter-spacing: -.04em; background: var(--sf-cat-bg, var(--sf-brand-soft)); color: var(--sf-brand-deep);
    transition: transform .3s var(--sf-spring);
}
.sf-brand:hover .sf-brand__mono { transform: rotate(-6deg) scale(1.06); }
.sf-brands > li:nth-child(6n+1) { --sf-cat-bg: #e6f4ea; }
.sf-brands > li:nth-child(6n+2) { --sf-cat-bg: #fff0e3; }
.sf-brands > li:nth-child(6n+3) { --sf-cat-bg: #fde8f1; }
.sf-brands > li:nth-child(6n+4) { --sf-cat-bg: #fbf3d9; }
.sf-brands > li:nth-child(6n+5) { --sf-cat-bg: #e8eefe; }
.sf-brands > li:nth-child(6n+6) { --sf-cat-bg: #e2f5f2; }
.sf-brand__info { display: flex; flex-direction: column; min-width: 0; }
.sf-brand__name { font-size: .9rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-brand__count { font-size: .72rem; font-weight: 600; color: var(--sf-text-3); }
.sf-brand.has-logo { flex-direction: column; justify-content: center; text-align: center; }

.sf-benefits {
    padding: 8px; gap: 0; background: #fff; border: 1px solid var(--sf-border); border-radius: 24px; box-shadow: var(--sf-shadow-xs);
}
.sf-benefit { padding: 14px 12px; gap: 14px; }
@media (min-width: 1024px) {
    .sf-benefits { padding: 10px; }
    .sf-benefit { padding: 16px 20px; }
    .sf-benefit + .sf-benefit { border-left: 1px dashed var(--sf-border-strong); }
}
.sf-benefit__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--sf-brand-soft); color: var(--sf-brand); box-shadow: inset 0 0 0 1px var(--sf-brand-line); }
.sf-benefit:nth-child(2n) .sf-benefit__icon { background: var(--sf-accent-soft); color: var(--sf-accent-dark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-accent) 25%, #fff); }
.sf-benefit__title { font-weight: 800; font-size: .9rem; letter-spacing: -.01em; }
.sf-benefit__text { font-size: .78rem; }

.sf-newsletter {
    position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 30px 22px;
    background: radial-gradient(520px 300px at 100% 0%, color-mix(in srgb, var(--sf-accent) 32%, transparent), transparent 70%), linear-gradient(125deg, var(--sf-brand-deep), color-mix(in srgb, var(--sf-brand) 85%, #000));
}
.sf-newsletter::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--sf-dots); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.sf-newsletter::after { content: ''; position: absolute; z-index: -1; right: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 40px rgba(255, 255, 255, .035), 0 0 0 80px rgba(255, 255, 255, .025); }
@media (min-width: 900px) { .sf-newsletter { padding: 44px 48px; } }
.sf-newsletter__icon { width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--sf-accent); }
.sf .sf-newsletter__title { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.85rem); letter-spacing: -.03em; }
.sf-newsletter__form { padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.sf-newsletter__form .sf-input { border-radius: 13px; border: 0; min-height: 50px; padding-left: 18px; }
.sf-newsletter__form .sf-btn { min-height: 50px; border-radius: 13px; }
.sf-newsletter__msg { padding: 0 8px; }
.sf-newsletter__msg:empty { display: none; }

/* ======================================================================
   Floating mini cart
   ====================================================================== */
.sf-fcart {
    position: fixed; right: 0; top: 50%; z-index: 45; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: stretch; width: 84px; overflow: hidden;
    border-radius: 18px 0 0 18px; box-shadow: -10px 14px 34px -14px rgba(9, 36, 20, .55); text-align: center;
    transition: width .2s, box-shadow .2s, transform .2s var(--sf-ease);
}
.sf-fcart:hover { box-shadow: -12px 18px 38px -14px rgba(9, 36, 20, .65); }
.sf-fcart__top { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 9px; background: var(--sf-ink); color: #fff; }
.sf-fcart__top .sf-ic { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--sf-brand); }
.sf-fcart__count { font-size: .72rem; font-weight: 700; line-height: 1.2; opacity: .9; }
.sf-fcart__total { display: block; padding: 7px 4px; background: var(--sf-accent); color: #1f1206; font-size: .78rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.sf-fcart:hover .sf-fcart__top { background: var(--sf-brand-deep); }
.sf-fcart.has-items .sf-fcart__top .sf-ic { animation: sf-bump .45s var(--sf-spring); }
@media (max-width: 767px) {
    .sf-fcart { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); right: 12px; transform: none; flex-direction: row; width: auto; border-radius: 999px; display: none; }
    .sf-fcart.has-items { display: flex; }
    .sf-fcart__top { flex-direction: row; gap: 8px; padding: 6px 12px 6px 6px; }
    .sf-fcart__top .sf-ic { width: 32px; height: 32px; border-radius: 50%; }
    .sf-fcart__total { display: flex; align-items: center; padding: 0 16px; font-size: .86rem; }
    .sf-toasts { bottom: 80px; }
}

/* ======================================================================
   Welcome block (no banners yet)
   ====================================================================== */
.sf-welcome {
    background: radial-gradient(900px 380px at 85% -10%, color-mix(in srgb, var(--sf-accent) 40%, transparent), transparent 60%),
                linear-gradient(125deg, var(--sf-brand-deep), var(--sf-brand));
}
.sf-welcome::before { content: ''; position: absolute; inset: 0; background-image: var(--sf-dots); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.sf-welcome__inner { position: relative; }

/* ======================================================================
   Footer: trust strip, four balanced columns, bottom bar
   ====================================================================== */
.sf-footer {
    position: relative; overflow: hidden; isolation: isolate; margin-top: 56px; color: rgba(255, 255, 255, .72);
    background: radial-gradient(760px 340px at 100% 0%, color-mix(in srgb, var(--sf-brand) 38%, transparent), transparent 70%),
                radial-gradient(520px 300px at 0% 100%, color-mix(in srgb, var(--sf-brand) 18%, transparent), transparent 70%), #0a1f13;
}
.sf-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sf-brand), var(--sf-accent) 60%, #ffd36b); }
.sf-footer::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.sf-footer a { color: rgba(255, 255, 255, .74); transition: color .15s; }
.sf-footer a:hover { color: #fff; }
.sf-footer :focus-visible { outline-color: var(--sf-accent); }

/* Trust strip */
.sf-trust { list-style: none; margin: 0; padding: 26px 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .sf-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 30px 0; } }
.sf-trust__item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.sf-trust__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--sf-brand) 85%, #fff), var(--sf-brand-dark)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.sf-trust__item:nth-child(2n) .sf-trust__icon { background: linear-gradient(145deg, color-mix(in srgb, var(--sf-accent) 85%, #fff), var(--sf-accent-dark)); }
.sf-trust__copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sf-trust__title { color: #fff; font-weight: 800; font-size: .9rem; letter-spacing: -.01em; }
.sf-trust__text { font-size: .76rem; color: rgba(255, 255, 255, .6); }

/* Columns */
.sf-footer__grid { padding-top: 44px; padding-bottom: 40px; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-footer__brand, .sf-footer__news { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .sf-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .sf-footer__brand { grid-column: 1; grid-row: span 2; }
    .sf-footer__news { grid-column: 2 / -1; }
}
@media (min-width: 1100px) {
    .sf-footer__grid { grid-template-columns: 1.35fr .9fr .9fr 1.35fr; gap: 40px; padding-top: 52px; }
    .sf-footer__brand { grid-row: auto; }
    .sf-footer__news { grid-column: auto; }
    .sf-footer__grid--3 { grid-template-columns: 1.6fr 1fr 1fr; }
}
.sf-logo--footer .sf-logo__text { color: #fff; }
.sf-logo--footer .sf-logo__mark::after { border-color: #0a1f13; }
.sf-footer__brand .sf-logo__img { filter: none; background: #fff; padding: 6px 10px; border-radius: 12px; max-height: 52px; }
.sf .sf-footer__tagline { margin: 14px 0 0; color: rgba(255, 255, 255, .62); max-width: 340px; line-height: 1.6; font-size: .88rem; }
.sf-footer__contact { margin-top: 20px; gap: 12px; }
.sf-footer__contact li { display: flex; align-items: center; gap: 12px; }
.sf-footer__contact .sf-ic { flex: 0 0 auto; width: 38px; height: 38px; padding: 10px; border-radius: 12px; color: #7ee2a8; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); margin: 0; }
.sf-footer__contact li > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; color: #fff; font-weight: 600; font-size: .88rem; overflow-wrap: anywhere; }
.sf-footer__contact small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
.sf-footer__contact a { color: #fff; }
.sf-footer__social { display: flex; gap: 8px; margin-top: 20px; }
.sf-footer__social .sf-icon-btn { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.sf-footer__social .sf-icon-btn:hover { background: var(--sf-brand); color: #fff !important; border-color: var(--sf-brand); }
.sf .sf-footer__heading { position: relative; color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 6px 0 20px; padding-bottom: 12px; }
.sf .sf-footer__heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 6px; background: var(--sf-accent); -webkit-mask: var(--sf-wave) left center / 30px 6px no-repeat; mask: var(--sf-wave) left center / 30px 6px no-repeat; }
.sf-footer__links { gap: 11px; font-size: .9rem; }
.sf-footer__links a { display: inline-flex; align-items: center; }
.sf-footer__links a::before { content: ''; width: 0; height: 2px; border-radius: 2px; background: var(--sf-accent); transition: width .2s var(--sf-ease), margin .2s var(--sf-ease); }
.sf-footer__links a:hover::before { width: 10px; margin-right: 8px; }

/* Newsletter column */
.sf-footer__news { padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); align-self: start; }
.sf-footer__news .sf-footer__heading { margin-top: 0; }
.sf .sf-footer__news-text { margin: -6px 0 14px; font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.sf-footer__form { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.sf-footer__form .sf-input { flex: 1 1 0; min-width: 0; min-height: 44px; border: 0; border-radius: 12px; padding-left: 14px; }
.sf-footer__form .sf-btn { flex: 0 0 auto; width: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
.sf-footer__form .sf-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sf-footer__form .sf-btn .sf-ic { width: 18px; height: 18px; }
.sf-footer__form .sf-newsletter__msg { flex: 1 1 100%; margin: 0; padding: 0 6px 2px; font-size: .82rem; color: #a7f3d0; }
.sf-footer__form .sf-newsletter__msg.is-error { color: #fecaca; }
.sf-footer__form .sf-newsletter__msg:empty { display: none; }
.sf .sf-footer__pay-title { margin: 18px 0 8px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.sf-footer__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-footer__pay .sf-chip { gap: 6px; padding: 6px 12px; background: #fff; border-color: transparent; color: var(--sf-ink); font-weight: 800; font-size: .76rem; }
.sf-footer__pay .sf-chip .sf-ic { width: 15px; height: 15px; color: var(--sf-brand); }

/* Bottom bar */
.sf-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .22); }
.sf-footer__bottom-inner { color: rgba(255, 255, 255, .55); }
.sf-footer__bottom-end { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sf-footer__pay--bar .sf-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); padding: 4px 11px; font-size: .74rem; }
.sf .sf-footer__top { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--sf-accent); color: #1f1206; font-size: .8rem; font-weight: 800; transition: transform .2s var(--sf-ease); }
.sf .sf-footer__top:hover { color: #1f1206; transform: translateY(-2px); }
.sf-footer__top .sf-ic { transform: rotate(180deg); }
@media (max-width: 599px) {
    .sf-trust__item { padding: 10px; gap: 10px; }
    .sf-trust__icon { width: 38px; height: 38px; border-radius: 12px; }
    .sf-trust__title { font-size: .82rem; }
    .sf-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .sf-footer__pay--bar { display: none; }
}

/* Pages with their own buttons keep the green action colour */
.sf-pagination .is-active span { background: var(--sf-brand); border-color: var(--sf-brand); }

/* Component headings keep their own size over the global h1-h3 scale */
.sf .sf-card__title { font-size: 1.08rem; }
.sf .sf-drawer__title { font-size: 1.1rem; }
.sf .sf-auth__title { font-size: 1.7rem; }
.sf .sf-account__title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.sf .sf-cart-empty__title { font-size: 1.7rem; }
.sf .sf-mini-empty__title { font-size: 1.1rem; }
.sf .sf-delivery__title { font-size: .95rem; }

/* Mid widths: smaller tile art so the copy stays clear; the category links fade at the edge */
@media (min-width: 768px) and (max-width: 1199px) {
    .sf-gh__tile.is-card .sf-gh__tile-art { width: 66%; height: 62%; }
    .sf-gh__tile-copy { max-width: 100%; }
    .sf-gh__tile-text { max-width: 70%; }
}
.sf-catbar__links { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 30px; }

/* Product rails: one gap value for the columns and the spacing (catalog.css set a wider gap than the
   column maths used, so the last card was cut). Category rows show four wider cards on a desktop. */
@media (min-width: 640px) { .sf .sf-rail { gap: 14px; grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1024px) { .sf .sf-rail { gap: 16px; grid-auto-columns: calc((100% - 48px) / 4); } .sf .sf-catrow__rail { gap: 16px; grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1280px) { .sf .sf-rail { gap: 16px; grid-auto-columns: calc((100% - 64px) / 5); } .sf .sf-catrow__rail { gap: 18px; grid-auto-columns: calc((100% - 54px) / 4); } }
/* Room above and below so a lifted card on hover is not clipped by the rail. */
.sf .sf-rail { padding-top: 10px; padding-bottom: 18px; }
/* The poster image keeps its left edge (its own text is drawn there) when the taller row crops it. */
@media (min-width: 1024px) { .sf .sf-catposter.has-image img { object-position: left top; } }

/* ======================================================================
   Responsive pass: phones, tablets, touch screens, large screens
   ====================================================================== */

/* --- Home hero ------------------------------------------------------- */
/* Phones: a shorter picture plate so the slide does not fill the screen */
@media (max-width: 599px) {
    .sf-gh__copy { padding: 22px 18px 4px; }
    .sf-gh__art { padding: 12px 14px 66px; }
    .sf-gh__art picture { aspect-ratio: 16 / 10; }
    .sf-gh__tiles { gap: 10px; }
    .sf-gh__tile { min-height: 136px; border-radius: 18px; }
}
/* Tablets (side-by-side slide): less side padding so the title keeps room */
@media (min-width: 768px) and (max-width: 1023px) {
    .sf-gh__copy { padding: 32px 4px 82px 32px; }
    .sf-gh__art { padding: 26px 24px 26px 4px; }
    .sf-gh__controls { left: 32px; bottom: 22px; }
    .sf .sf-gh__title { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.4rem); }
}

/* --- Campaign chips: the first chip lines up with the page edge when snapped */
@media (max-width: 767px) { .sf-chips-row .sf-chips { scroll-padding-inline: 16px; } }

/* --- Category rows (poster + rail) ----------------------------------- */
@media (max-width: 899px) {
    /* title and "See all" on one line, the sub-category chips scroll full width below */
    .sf-catrow .sf-section__head { flex-wrap: wrap; align-items: center; row-gap: 0; }
    .sf-catrow .sf-section__head > div:first-child { display: contents; }
    .sf-catrow .sf-section__title { flex: 1 1 auto; min-width: 0; margin: 0; }
    .sf-catrow__subs { order: 3; flex: 1 1 100%; min-width: 0; margin: 12px -16px 0; padding: 0 16px 2px; scroll-padding-inline: 16px; }
    /* image poster: no min-height (with the aspect ratio it forced a 360px width on phones) */
    .sf-catposter.has-image { min-height: 0; height: 150px; aspect-ratio: auto; }
    .sf-catposter.has-image.has-mobile { height: auto; aspect-ratio: 3 / 1; }
    .sf-catposter.has-image.has-mobile img { object-position: center; }
}
@media (min-width: 768px) and (max-width: 899px) { .sf-catrow__subs { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; scroll-padding-inline: 24px; } }
/* Laptops and up: the poster column grows with the row (the row height follows the card width),
   so the 2:3 poster art keeps its own text instead of being cropped at the sides.
   Width = about 2/3 of the row height: 3 cards per row below 1280px, 4 from 1280px. */
@media (min-width: 1024px) { .sf-catrow__body { grid-template-columns: calc(18% + 100px) minmax(0, 1fr); } }
@media (min-width: 1280px) { .sf-catrow__body { grid-template-columns: calc(14.3% + 105px) minmax(0, 1fr); } }

/* --- Touch screens --------------------------------------------------- */
@media (hover: none), (pointer: coarse) {
    .sf-rail__btn { display: none !important; }   /* rails are swiped */
    .sf-rail { scroll-snap-type: x mandatory; }
}
@media (pointer: coarse) {
    .sf .sf-section__link { height: 40px; }
    .sf-pcard__wish { width: 38px; height: 38px; }
    .sf .sf-pcard__add { height: 42px; }
    .sf .sf-catrow__subs a { min-height: 36px; align-items: center; }
    .sf .sf-gh__pause, .sf .sf-gh__arrow { width: 38px; height: 38px; }
    .sf-footer__links a { padding: 5px 0; }
    .sf-footer__links { gap: 4px; }
    .sf .sf-catbar__link { min-height: 36px; }
}

/* --- Floating mini cart ---------------------------------------------- */
/* Below 1440px the side tab would sit on top of the page content, so it becomes
   the small round pill at the bottom right (shown only when the cart has items). */
@media (max-width: 1439px) {
    .sf-fcart { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); right: calc(12px + env(safe-area-inset-right)); transform: none; flex-direction: row; width: auto; border-radius: 999px; display: none; }
    .sf-fcart.has-items { display: flex; }
    .sf-fcart__top { flex-direction: row; gap: 8px; padding: 6px 12px 6px 6px; }
    .sf-fcart__top .sf-ic { width: 32px; height: 32px; border-radius: 50%; }
    .sf-fcart__total { display: flex; align-items: center; padding: 0 16px; font-size: .86rem; }
    /* keep the pill clear of the footer's bottom bar ("Back to top") and the product buy bar */
    body:has(.sf-fcart.has-items) .sf-footer__bottom-inner { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
    body:has(.sf-stickybar.is-visible) .sf-fcart { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) and (max-width: 1439px) { .sf-fcart { bottom: calc(24px + env(safe-area-inset-bottom)); right: calc(24px + env(safe-area-inset-right)); } }
.sf-stickybar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }

/* --- Footer: phones -------------------------------------------------- */
@media (max-width: 359px) {
    .sf-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .sf-trust { grid-template-columns: minmax(0, 1fr); }
}

/* --- Large screens --------------------------------------------------- */
@media (min-width: 1680px) {
    .sf-gh__slide.is-split { min-height: 460px; }
    .sf-gh__art picture { max-height: 380px; }
}

/* --- Reduced motion: no slide, ping or zoom animation ---------------- */
@media (prefers-reduced-motion: reduce) {
    .sf-gh__track, .sf-hero__track, .sf-gallery__track { transition: none !important; }
    .sf-gh__eyebrow-dot::after { animation: none !important; opacity: 0 !important; }
    .sf-gh__slide .sf-gh__copy > * { opacity: 1 !important; transform: none !important; }
    .sf-gh__art img, .sf-gh__slide.is-active .sf-gh__art img { transform: none !important; }
    .sf-pcard:hover, .sf-cat:hover, .sf-gh__tile:hover, .sf-chipcard:hover, .sf-brand:hover, .sf .sf-promo:hover { transform: none !important; }
}
