/* =============================================================================
   QuickPick storefront shell — header, search, menu drawer, bottom nav,
   floating cart bar, footer. White surfaces, ink text, yellow on actions only.
   Mobile-first; the desktop layout starts at 1024px.
   ========================================================================== */

/* ---- Header --------------------------------------------------------------- */

.sf-hd {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--sf-surface);
    border-bottom: 1px solid var(--sf-border);
}

.sf-hd__bar {
    display: flex;
    align-items: center;
    gap: var(--sf-space-3);
    height: var(--sf-header-height);
}

.sf-hd__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: -9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--sf-ink);
    font-size: var(--sf-text-lg);
    cursor: pointer;
}

.sf-hd__logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.sf-hd__logo img { height: 32px; width: auto; }

/* Desktop only — the phone reaches these through the drawer. */
.sf-hd__links { display: none; }

.sf-hd__actions {
    display: flex;
    align-items: center;
    gap: var(--sf-space-2);
    margin-left: auto;
}

/* The two round controls the design asks for: 42px, tinted, never yellow —
   they are destinations, not actions. */
.sf-hd__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sf-surface-2);
    color: var(--sf-ink);
    font-size: var(--sf-text-md);
}

.sf-hd__action:hover { background: var(--sf-border); }
.sf-hd__action:focus-visible { outline: 2px solid var(--sf-gold); outline-offset: 2px; }

.sf-hd__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--sf-radius-pill);
    background: var(--sf-black);
    color: #fff;
    font-size: 11px;
    font-weight: var(--sf-weight-bold);
    line-height: 18px;
    text-align: center;
}

.sf-hd__badge.is-empty { display: none; }

/* ---- Delivery zone strip -------------------------------------------------- */

.sf-hd__deliver {
    border-top: 1px solid var(--sf-border);
    background: var(--sf-surface);
}

.sf-hd__deliver-inner {
    display: flex;
    align-items: center;
    gap: var(--sf-space-2);
    min-height: 34px;
    font-size: var(--sf-text-xs);
    color: var(--sf-muted);
}

.sf-hd__deliver-label { flex: 0 0 auto; }

.sf-hd__zones {
    display: inline-flex;
    padding: 2px;
    border-radius: var(--sf-radius-pill);
    background: var(--sf-surface-2);
}

.sf-hd__zone {
    padding: 3px 10px;
    border: 0;
    border-radius: var(--sf-radius-pill);
    background: none;
    color: var(--sf-muted);
    font: inherit;
    line-height: 1.45;
    cursor: pointer;
}

/* The chosen area is the one selected thing in the strip, so it gets the
   yellow; the other stays plain text on the tinted track. */
.sf-hd__zone[aria-pressed="true"] {
    background: var(--sf-gold);
    color: var(--sf-black);
    font-weight: var(--sf-weight-bold);
}

.sf-hd__zone:focus-visible { outline: 2px solid var(--sf-black); outline-offset: 1px; }

.sf-hd__deliver-eta {
    color: var(--sf-ink);
    font-weight: var(--sf-weight-medium);
}

.sf-hd__deliver-eta [hidden] { display: none; }

/* ---- Search --------------------------------------------------------------- */

.sf-hd__searchwrap--inline { display: none; }
.sf-hd__searchwrap--row { padding-bottom: var(--sf-space-3); }

.sf-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--sf-space-2);
    height: 48px;
    padding: 0 6px 0 var(--sf-space-4);
    border-radius: var(--sf-radius-lg);
    background: var(--sf-surface-2);
}

.sf-search:focus-within { outline: 2px solid var(--sf-black); outline-offset: -2px; }

.sf-search__icon { color: var(--sf-ink-subtle); font-size: var(--sf-text-sm); }

.sf-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    background: none;
    color: var(--sf-ink);
    font: inherit;
    font-size: var(--sf-text-sm);
    outline: 0;
}

.sf-search input::placeholder { color: var(--sf-ink-subtle); }
/* The browser's own clear button is a second, differently-shaped control in a
   field that already has one action. */
.sf-search input::-webkit-search-cancel-button { display: none; }

.sf-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: var(--sf-radius-md);
    background: var(--sf-gold);
    color: var(--sf-black);
    font-size: var(--sf-text-sm);
    cursor: pointer;
}

.sf-search button:focus-visible { outline: 2px solid var(--sf-black); outline-offset: 2px; }

/* Popular terms, offered while the field is focused and empty. */
.sf-search__popular {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 130;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sf-space-2);
    padding: var(--sf-space-3);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius-lg);
    background: var(--sf-surface);
    box-shadow: var(--sf-shadow-md);
}

.sf-search__popular[hidden] { display: none; }

.sf-search__popular-label {
    color: var(--sf-muted);
    font-size: var(--sf-text-xs);
}

.sf-search__chip {
    padding: 6px 12px;
    border-radius: var(--sf-radius-pill);
    background: var(--sf-surface-2);
    color: var(--sf-ink);
    font-size: var(--sf-text-xs);
}

.sf-search__chip:hover { background: var(--sf-tint-yellow); }

/* ---- Menu drawer ---------------------------------------------------------- */

.sf-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.sf-drawer[hidden] { display: none; }

.sf-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .38);
    opacity: 0;
    transition: opacity .2s ease;
}

.sf-drawer.is-open .sf-drawer__scrim { opacity: 1; }

.sf-drawer__panel {
    position: absolute;
    inset-block: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    background: var(--sf-surface);
    transform: translateX(-100%);
    transition: transform .22s ease;
}

.sf-drawer.is-open .sf-drawer__panel { transform: none; }

.sf-drawer__head {
    display: flex;
    align-items: center;
    gap: var(--sf-space-2);
    flex: 0 0 auto;
    height: var(--sf-header-height);
    padding-inline: var(--sf-space-4);
    border-bottom: 1px solid var(--sf-border);
}

.sf-drawer__title {
    color: var(--sf-ink);
    font-size: var(--sf-text-md);
    font-weight: var(--sf-weight-bold);
}

/* When the back control is showing it names the level above, so the title
   would repeat it. */
.sf-drawer__back:not([hidden]) ~ .sf-drawer__title { display: none; }

.sf-drawer__back,
.sf-drawer__close {
    display: inline-flex;
    align-items: center;
    gap: var(--sf-space-2);
    padding: 0;
    border: 0;
    background: none;
    color: var(--sf-ink);
    font: inherit;
    font-size: var(--sf-text-sm);
    font-weight: var(--sf-weight-medium);
    cursor: pointer;
}

.sf-drawer__back[hidden] { display: none; }

.sf-drawer__close {
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: -8px;
    border-radius: 50%;
    font-size: var(--sf-text-lg);
}

.sf-drawer__level {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: var(--sf-space-3) var(--sf-space-2) var(--sf-space-6);
    -webkit-overflow-scrolling: touch;
}

.sf-drawer__level[hidden] { display: none; }

.sf-drawer__link {
    display: flex;
    align-items: center;
    gap: var(--sf-space-3);
    width: 100%;
    min-height: 48px;
    padding: 0 var(--sf-space-3);
    border: 0;
    border-radius: var(--sf-radius-md);
    background: none;
    color: var(--sf-ink);
    font: inherit;
    font-size: var(--sf-text-sm);
    font-weight: var(--sf-weight-medium);
    text-align: left;
    cursor: pointer;
}

.sf-drawer__link:hover { background: var(--sf-surface-2); }
.sf-drawer__link:focus-visible { outline: 2px solid var(--sf-gold); outline-offset: -2px; }

.sf-drawer__link i { width: 18px; color: var(--sf-muted); font-size: var(--sf-text-sm); }
.sf-drawer__chev { margin-left: auto; }
.sf-drawer__link--all { font-weight: var(--sf-weight-bold); }

.sf-drawer__rule {
    height: 1px;
    margin: var(--sf-space-2) var(--sf-space-3);
    background: var(--sf-border);
}

.sf-drawer__minor {
    display: block;
    padding: var(--sf-space-2) var(--sf-space-3);
    color: var(--sf-muted);
    font-size: var(--sf-text-xs);
}

.sf-drawer__minor:hover { color: var(--sf-ink); }

body.sf-drawer-lock { overflow: hidden; }

/* ---- Bottom nav (phone only) ---------------------------------------------- */

/* Phones only: from 768px up the header carries the same destinations. */
.sf-bnav { display: none; }

/* While the on-screen keyboard is up -- or the support chat's field has focus,
   which is the moment before it is -- the nav goes away entirely. It is fixed
   to the bottom of the layout viewport, so with the keyboard up it rides on top
   of the keyboard and steals a row from the panel being typed into.
   chat-widget.js owns the class. Outside the media query, because the class is
   only ever set on a phone and the rule must beat the display: grid below. */
body.sf-keyboard-open .sf-bnav { display: none !important; }
body.sf-keyboard-open .sf-cartbar { display: none !important; }
body.sf-keyboard-open.sf-has-bottom-nav { padding-bottom: 0; }

@media (max-width: 767px) {
    body.sf-has-bottom-nav {
        --sf-bottom-nav-rendered-height: calc(var(--sf-bottom-nav-height, 62px) + env(safe-area-inset-bottom));
        padding-bottom: calc(var(--sf-bottom-nav-rendered-height) + 12px);
    }

    /* The storefront footer supplies this clearance inside its final bar.
       Standalone post-order pages have no footer, so they keep the body rule. */
    body.sf.sf-has-bottom-nav { padding-bottom: 0; }

    .sf-bnav {
        box-sizing: border-box;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: flex;
        align-items: stretch;
        height: 60px;
        min-height: 60px;
        box-sizing: content-box;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        overflow: visible;
        transform: none !important;
        border-top: 1px solid var(--sf-border, #efefec);
        background: var(--sf-surface, #ffffff);
        -webkit-tap-highlight-color: transparent;
    }
}

/* The extra .sf-bnav is load-bearing: storefront.css carries
   `body.sf a:link { color: inherit }` to beat the UA stylesheet, and at (0,2,2)
   that outranks a bare `.sf-bnav__item` (0,1,0). Scoping through the nav rather
   than body.sf keeps it working on the standalone post-order pages, which have
   no .sf on the body. */
.sf-bnav .sf-bnav__item {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--sf-muted, #6b6b6b);
    font-size: 11px;
    font-weight: var(--sf-weight-medium, 600);
    text-decoration: none;
}

.sf-bnav__item i { font-size: var(--sf-text-md, 16px); }
/* The active tab is the one place in the row yellow is allowed. */
.sf-bnav .sf-bnav__item.is-active { color: var(--sf-ink, #111111); }
.sf-bnav .sf-bnav__item.is-active i { color: var(--sf-gold-ink, #8a6a00); }

/* Every storefront page renders the nav, so every page owes it clearance. */
.sf-has-bottom-nav .sf-ft__bar {
    padding-bottom: calc(var(--sf-bottom-nav-height) + env(safe-area-inset-bottom) + var(--sf-space-4));
}

/* ---- Floating cart bar ---------------------------------------------------- */

.sf-cartbar {
    position: fixed;
    left: var(--sf-gutter);
    right: var(--sf-gutter);
    bottom: calc(var(--sf-bottom-nav-height) + env(safe-area-inset-bottom) + var(--sf-space-2));
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sf-space-3);
    min-height: 52px;
    padding: 0 var(--sf-space-4);
    border-radius: 18px;
    background: var(--sf-gold);
    color: var(--sf-black);
    font-size: var(--sf-text-sm);
    font-weight: var(--sf-weight-bold);
    box-shadow: var(--sf-shadow-md);
}

.sf-cartbar[hidden] { display: none; }

.sf-cartbar__summary { display: inline-flex; align-items: center; gap: 5px; }
.sf-cartbar__dot { color: rgba(17, 17, 17, .45); }
.sf-cartbar__total { font-family: var(--sf-price-font); font-weight: var(--sf-weight-price); }
.sf-cartbar__go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ---- Footer --------------------------------------------------------------- */

.sf-ft {
    margin-top: var(--sf-space-8);
    border-top: 1px solid var(--sf-border);
    background: var(--sf-surface);
}

.sf-ft__inner {
    display: grid;
    gap: var(--sf-space-6);
    padding-block: var(--sf-space-7);
}

.sf-ft__logo img { height: 30px; width: auto; }

.sf-ft__about {
    max-width: 46ch;
    margin: var(--sf-space-3) 0 0;
    color: var(--sf-muted);
    font-size: var(--sf-text-sm);
    line-height: 1.6;
}

.sf-ft__social {
    display: flex;
    gap: var(--sf-space-2);
    margin-top: var(--sf-space-4);
}

.sf-ft__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sf-surface-2);
    color: var(--sf-ink);
    font-size: var(--sf-text-sm);
}

.sf-ft__social a:hover { background: var(--sf-tint-yellow); }

.sf-ft__col { display: grid; align-content: start; gap: var(--sf-space-2); }

.sf-ft__col h2 {
    margin-bottom: var(--sf-space-1);
    color: var(--sf-ink);
    font-size: var(--sf-text-sm);
    font-weight: var(--sf-weight-bold);
}

.sf-ft__col a,
.sf-ft__hours {
    color: var(--sf-muted);
    font-size: var(--sf-text-sm);
    line-height: 1.5;
}

.sf-ft__col a:hover { color: var(--sf-ink); }
.sf-ft__contact i { width: 16px; color: var(--sf-ink-subtle); }

.sf-ft__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sf-space-3);
    padding-block: var(--sf-space-4);
    border-top: 1px solid var(--sf-border);
    color: var(--sf-muted);
    font-size: var(--sf-text-xs);
}

.sf-ft__bar a { color: var(--sf-ink); font-weight: var(--sf-weight-medium); }

/* ---- Touch targets --------------------------------------------------------- */
/* Most of the shell is already drawn at 42px or more -- the header's two round
   controls, the drawer rows, the whole height of a nav slot. These two are
   drawn smaller on purpose and grow an invisible 44px target instead of being
   resized, so the design keeps its proportions.

   Text links inside a sentence are deliberately excluded: WCAG 2.5.8 exempts
   them, and padding them to 44px would break the line box. */
@media (hover: none) {
    .sf-search button,
    .sf-drawer__close {
        position: relative;
    }

    .sf-search button::after,
    .sf-drawer__close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 44px;
        min-height: 44px;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }
}

/* ---- Tablet --------------------------------------------------------------- */

@media (min-width: 768px) {
    .sf-ft__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-ft__brand { grid-column: 1 / -1; }
}

/* ---- Desktop -------------------------------------------------------------- */

/* From tablet up there is no bottom nav to sit above, so the cart bar becomes
   the corner pill rather than a full-width bar. */
@media (min-width: 768px) {
    .sf-cartbar {
        left: auto;
        right: var(--sf-gutter);
        bottom: var(--sf-gutter);
        width: auto;
        gap: var(--sf-space-4);
    }

    .sf-has-bottom-nav .sf-ft__bar { padding-bottom: var(--sf-space-4); }
}

@media (min-width: 1024px) {
    /* The drawer button and the phone search row are phone affordances; desktop
       has the header links and an in-bar search instead. */
    .sf-hd__menu,
    .sf-hd__searchwrap--row { display: none; }

    .sf-hd__bar { gap: var(--sf-space-5); height: 72px; }

    .sf-hd__links {
        display: inline-flex;
        align-items: center;
        gap: var(--sf-space-4);
        flex: 0 0 auto;
    }

    .sf-hd__links a,
    .sf-hd__links button {
        padding: 0;
        border: 0;
        background: none;
        color: var(--sf-ink);
        font: inherit;
        font-size: var(--sf-text-sm);
        font-weight: var(--sf-weight-medium);
        cursor: pointer;
    }

    .sf-hd__links a:hover,
    .sf-hd__links button:hover { color: var(--sf-gold-ink); }

    /* The current page is marked with the brand underline rather than a colour
       change, so it reads at a glance without a second ink tier. */
    .sf-hd__links [aria-current="page"] {
        box-shadow: inset 0 -2px 0 var(--sf-gold);
    }

    .sf-hd__searchwrap--inline {
        display: block;
        flex: 1 1 auto;
        min-width: 220px;
    }

    .sf-hd__searchwrap--inline .sf-search { height: 44px; }

    .sf-hd__deliver-inner { justify-content: flex-end; min-height: 38px; }

    .sf-ft__inner {
        grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
        gap: var(--sf-space-7);
        padding-block: var(--sf-space-8);
    }

    .sf-ft__brand { grid-column: auto; }
}

.sf-hd {
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    border-bottom-color: #e7e7e3;
    box-shadow: 0 2px 8px rgba(17, 17, 17, .035);
}

.sf-hd__bar { gap: clamp(12px, 1.7vw, 28px); }
.sf-hd__logo { align-items: flex-start; flex-direction: column; gap: 1px; }
.sf-hd__logo img { height: 31px; }
.sf-hd__tagline,
.sf-ft__tagline { color: #6a675d; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .015em; }
.sf-hd__action { width: 40px; height: 40px; border: 1px solid #e9e8e3; background: #fff; }
.sf-hd__action:hover { border-color: #d3ad28; background: #fffdf4; }
.sf-hd__badge--cart { display: block; }
.sf-hd__badge--cart.is-empty { display: none; }
.sf-hd__deliver { border-top-color: #f0efe9; background: #f8f7f2; }
.sf-hd__deliver-inner { min-height: 34px; color: #5b5b56; }
.sf-hd__zone { min-height: 28px; }
.sf-hd__zone[aria-pressed="true"] { background: #f3c928; color: #171717; }
.sf-search { height: 44px; border: 1px solid #e5e4df; border-radius: 4px; background: #f7f7f5; }
.sf-search:focus-within { border-color: #272727; outline: 1px solid #272727; }
.sf-search button { width: 36px; height: 36px; border-radius: 3px; background: #171717; color: #f3c928; }
.sf-hd__links a,
.sf-hd__links button { min-height: 42px; display: inline-flex; align-items: center; position: relative; }
.sf-hd__links a[aria-current="page"]::after,
.sf-hd__links button[aria-expanded="true"]::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #f3c928; content: ''; }

.sf-ft { margin-top: 64px; border-top: 0; background: #171717; color: #fff; }
.sf-ft__inner { gap: 38px 48px; padding-block: 52px 42px; }
.sf-ft__tagline { margin: 3px 0 0; color: #d0cbbd; }
.sf-ft__about { margin-top: 18px; color: #c2c2bd; }
.sf-ft__social a { border: 1px solid #44443f; border-radius: 3px; background: transparent; color: #fff; }
.sf-ft__social a:hover { border-color: #f3c928; background: #f3c928; color: #171717; }
.sf-ft__col h2 { color: #f3c928; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.sf-ft__col a,
.sf-ft__hours { color: #c6c6c1; }
.sf-ft__col a:hover { color: #fff; }
.sf-ft__contact i { color: #f3c928; }
.sf-ft__bar { border-top-color: #3a3a36; color: #aaa9a3; }
.sf-ft__bar a { color: #fff; }

@media (max-width: 767px) {
    body.sf {
        --sf-bottom-nav-height: 60px;
        --sf-bottom-nav-rendered-height: calc(60px + env(safe-area-inset-bottom, 0px));
        --sf-bottom-nav-offset: 0px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        position: relative;
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    html,
    body { width: 100%; overflow-x: hidden !important; position: relative; }
    body.sf.sf-has-bottom-nav { padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)); }
    body.sf .sf-main,
    body.sf .sf-container,
    body.sf .sf-card,
    body.sf .sf-drawer,
    body.sf .sf-drawer__panel { min-width: 0; max-width: 100%; }

    .sf-hd { position: sticky; top: 0; }
    .sf-hd__bar { position: relative; display: flex; width: calc(100vw - (var(--sf-gutter) * 2)); min-width: 0; height: 52px; gap: 6px; margin-inline: auto; padding-inline: 0; }
    .sf-hd__menu { width: 36px; height: 36px; margin-left: -5px; }
    .sf-hd__logo { flex: 0 1 auto; min-width: 0; }
    .sf-hd__logo img { height: 25px; }
    .sf-hd__tagline { font-size: 9px; }
    .sf-hd__actions { display: flex !important; gap: 4px; margin-left: auto; }
    .sf-hd__wishlist { display: none; }
    .sf-hd__action { width: 36px; height: 36px; font-size: 15px; }
    .sf-hd__deliver-inner { min-height: 26px; gap: 6px; font-size: 10px; }
    .sf-hd__zone { min-height: 22px; padding-inline: 8px; }
    .sf-hd__deliver-eta { margin-left: auto; white-space: nowrap; }
    .sf-hd__searchwrap--row { padding-top: 4px; padding-bottom: 4px; }
    .sf-search { height: 38px; border-radius: 12px; }
    .sf-cartbar {
        left: 16px;
        right: 16px;
        bottom: 70px;
        z-index: 40;
        min-height: 56px;
        padding: 12px;
        border: 0;
        border-radius: 16px;
        background: #111827;
        color: #fff;
        box-shadow: 0 20px 32px rgba(15, 23, 42, .2);
    }
    .sf-bnav {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0 !important;
        z-index: 9999;
        height: 60px;
        min-height: 60px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transform: none !important;
        overflow: visible;
        border-top-color: #e5e7eb;
        background: rgba(255, 255, 255, .9);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 -4px 16px rgba(15, 23, 42, .04);
    }
    .sf-bnav .sf-bnav__item { font-size: 10px; }
    .sf-ft { margin-top: 42px; }
    .sf-ft__inner { gap: 28px 18px; padding-block: 36px 28px; }
    .sf-ft__brand { grid-column: 1 / -1; }
    .sf-ft__bar { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (min-width: 768px) {
    body.sf { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
}

@media (min-width: 768px) {
    .sf-ft__inner { grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(130px, 1fr)) minmax(180px, 1.2fr); }
    .sf-ft__brand { grid-column: auto; }
}

@media (min-width: 1024px) {
    .sf-hd__bar { display: grid; grid-template-columns: auto auto minmax(220px, 1fr) auto; gap: clamp(14px, 2vw, 30px); height: 82px; }
    .sf-hd__logo img { height: 34px; }
    .sf-hd__links { gap: clamp(14px, 1.7vw, 25px); }
}

.sf-hd__deliver { background: #f8fafc; }
.sf-hd { z-index: 30; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sf-hd__zone[aria-pressed="true"] { background: #f59e0b; color: #111827; }
.sf-search { border-color: #e2e8f0; border-radius: 14px; background: #f8fafc; }
.sf-search button { border-radius: 10px; background: #111827; color: #f59e0b; }
.sf-ft { background: #1f2937; }
.sf-ft__col h2,
.sf-ft__contact i { color: #f59e0b; }

body.sf a.sf-cartbar,
body.sf a.sf-cartbar:link,
body.sf a.sf-cartbar:visited {
    background: #0f172a;
    color: #fff;
}
body.sf .sf-cartbar * { color: #fff; }
body.sf .sf-cartbar .sf-cartbar__dot { color: rgba(255, 255, 255, .55); }
body.sf .sf-cartbar .sf-cartbar__go {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #f59e0b;
    color: #0f172a;
    font-weight: 700;
}
body.sf .sf-cartbar .sf-cartbar__go i { color: #0f172a; }
body.sf .sf-cartbar [data-cart-bar-count],
body.sf .sf-cartbar [data-cart-bar-total] { color: #fbbf24; }

/* Dark glass header, transformed rather than removed so scroll never shifts
   document flow. */
body.sf .sf-hd {
    color: #f8fafc;
    background: rgba(15, 23, 42, .96);
    border-color: #1e293b;
    box-shadow: 0 6px 24px rgba(2, 6, 23, .16);
    transition: transform .24s ease, background-color .2s ease, box-shadow .2s ease;
    will-change: transform;
}
body.sf .sf-hd.is-hidden { pointer-events: none; transform: translateY(-100%); }
body.sf .sf-hd__tagline { color: #fbbf24; }
body.sf .sf-hd__links,
body.sf .sf-hd__links a,
body.sf .sf-hd__links button,
body.sf .sf-hd__action,
body.sf .sf-hd__menu { color: #e2e8f0; }
body.sf .sf-hd__links a:hover,
body.sf .sf-hd__links button:hover,
body.sf .sf-hd__action:hover,
body.sf .sf-hd__menu:hover { color: #fff; }
body.sf .sf-hd__action { border-color: #334155; background: #1e293b; }
body.sf .sf-hd__action:hover,
body.sf .sf-hd__menu:hover { background: #334155; }
body.sf .sf-hd__deliver,
body.sf .sf-hd__searchwrap--row { color: #cbd5e1; border-color: #1e293b; background: #111c32; }
body.sf .sf-hd__deliver-inner { color: #cbd5e1; }
body.sf .sf-hd__deliver-label { color: #94a3b8; }
body.sf .sf-hd__zones { background: #1e293b; }
body.sf .sf-hd__zone { color: #cbd5e1; }
body.sf .sf-hd__zone[aria-pressed="true"] { background: #f59e0b; color: #0f172a; }
body.sf .sf-hd__deliver-eta { color: #fbbf24; border-color: #475569; background: #1e293b; }
body.sf .sf-search { border-color: #334155; background: #1e293b; }
body.sf .sf-search input { color: #f8fafc; }
body.sf .sf-search input::placeholder { color: #94a3b8; }
body.sf .sf-search button { background: #f59e0b; color: #0f172a; }
body.sf .sf-hd__links [aria-current="page"] { box-shadow: inset 0 -2px 0 #f59e0b; }

/* Compact floating summary: final mobile presentation is the cart ball below. */
body.sf .sf-cartbar {
    left: auto;
    right: 16px;
    bottom: 78px;
    width: min(340px, calc(100vw - 32px));
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid #334155;
    border-radius: 18px;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(2, 6, 23, .3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.97);
    transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}
body.sf .sf-cartbar.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
body.sf .sf-cartbar[hidden] { display: none; }
body.sf .sf-cartbar__summary { gap: 5px; }
body.sf .sf-cartbar__go { box-shadow: 0 5px 16px rgba(245, 158, 11, .22); transition: transform .16s ease, background-color .16s ease; }
body.sf .sf-cartbar:hover .sf-cartbar__go { background: #fbbf24; transform: translateY(-1px); }

@media (min-width: 768px) {
    body.sf .sf-cartbar { right: 24px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    body.sf .sf-hd,
    body.sf .sf-cartbar,
    body.sf .sf-cartbar__go { transition: none; }
}

/* Scroll transforms preserve the header's sticky layout slot, preventing CLS. */
body.sf .sf-hd {
    position: sticky;
    top: 0;
    z-index: 999;
    transform: none;
    pointer-events: auto;
    background: rgba(15, 23, 42, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
body.sf .sf-hd.is-hidden { transform: translateY(-100%); pointer-events: none; }

/* Floating cart ball: one thumb-sized checkout target above mobile navigation. */
body.sf a.sf-cartbar,
body.sf a.sf-cartbar:link,
body.sf a.sf-cartbar:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    right: 16px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(245, 158, 11, .4);
}
body.sf a.sf-cartbar[hidden] { display: none !important; }

body.sf .sf-bnav {
    background: rgba(255, 255, 255, .85);
    border-top-color: rgba(229, 231, 235, .8);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .05);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
body.sf .sf-bnav .sf-bnav__item { transition: color .18s ease; }
body.sf .sf-bnav .sf-bnav__item i { transition: color .18s ease, transform .18s ease; }
body.sf .sf-bnav .sf-bnav__item.is-active { color: #0f172a; }
body.sf .sf-bnav .sf-bnav__item.is-active i { color: #f59e0b; transform: translateY(-1px); }

.sf-ft { margin-top: 40px; }
.sf-ft__inner { gap: 24px 28px; padding-block: 32px 26px; }
.sf-ft__about { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 10px; }
.sf-ft__social { margin-top: 12px; }
.sf-ft__col { gap: 8px; }
.sf-ft__col h2 { margin-bottom: 0; }
.sf-ft__bar { padding-block: 12px; }

@media (max-width: 767px) {
    .sf-ft { margin-top: 28px; }
    .sf-ft__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding-block: 22px 18px; }
    .sf-ft__brand { grid-column: 1 / -1; }
    .sf-ft__logo img { height: 26px; }
    .sf-ft__social { gap: 8px; margin-top: 10px; }
    .sf-ft__social a { width: 32px; height: 32px; }
    .sf-ft__col { gap: 6px; }
    .sf-ft__col h2 { font-size: 11px; }
    .sf-ft__col a,
    .sf-ft__hours { font-size: 12px; line-height: 1.35; }
    .sf-ft__contact { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
    .sf-ft__contact h2 { grid-column: 1 / -1; }
    .sf-ft__bar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-block: 10px; }
    .sf-has-bottom-nav .sf-ft__bar { padding-bottom: 10px; }
}
body.sf .sf-cartbar__icon { color: #0f172a; font-size: 23px; }
body.sf .sf-cartbar__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
body.sf .sf-cartbar__badge.is-empty { display: none; }
body.sf .sf-cartbar.is-visible:hover { box-shadow: 0 16px 34px rgba(15, 23, 42, .34); transform: translateY(-2px) scale(1); }

@media (min-width: 768px) {
    body.sf a.sf-cartbar,
    body.sf a.sf-cartbar:link,
    body.sf a.sf-cartbar:visited { right: 24px; bottom: 24px; }
}
