
:root {
    --brand-red:   #C00A27;
    --brand-red-2: #E31837;
    --text:        #1B1B1F;
    --text-muted:  #6B7280;
    --border:      rgba(0,0,0,0.08);
    --shadow-sm:   0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:   0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .heading-font { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.015em; margin: 0; }

/* Header + mobile-menu + footer styles are all defined in the shared
   v2_chrome_assets partial (included from the head). Don't duplicate them
   here — keeping page-specific styles only below. */

/* SLIDER */
/* 2026-11-12 — THE WHOLE BANNER, NEVER CROPPED.

   This was height: clamp(500px, 65vh, 680px) with object-fit: cover. On a
   1920px screen that box is about 2.8:1 while a normal banner is 16:9, so
   cover scaled the image to fill the width and sliced roughly 37% off the
   top and bottom. On artwork with the logo and dish name baked into it —
   which is what the admin actually uploads — those are exactly the parts
   that got cut.

   Driving the height from the image's own 16:9 shape instead means nothing
   is ever lost.

   2026-11-12, second pass — max-height REMOVED. It was 78vh, which on a
   1920x911 screen clamped the box to 1905x711. That is 2.68:1 against a
   1.78:1 image, so `contain` letterboxed it and the homepage grew black
   pillars down both sides. Measured, not guessed:

       slider box 1905x711 (2.68)   image 1600x900 (1.78)

   A height cap and a fixed aspect ratio cannot both hold. The aspect ratio
   is the one that matters here, so the cap goes: the hero is exactly 16:9 at
   whatever width the screen gives it, the artwork fills it edge to edge, and
   there is no dead space in either direction. */
.home-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    margin-top: 20px;
}
/* Slides now contain a real <picture>/<img> instead of CSS background so
   the browser can preload + prioritize the LCP image. The img fills the
   slide; object-position is set per-slide via inline style from the
   admin focal-point picker (defaults to centre). */
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* contain, not cover: show all of it. The focal-point setting still applies
   on the axis that has spare room. */
.slide img { object-fit: contain; object-position: 50% 50%; }

/* Ken Burns removed. A slow 1.07 zoom is lovely on a scenic photo and wrong
   on a finished banner — it pushes the baked-in logo and dish name past the
   edge over its 18-second cycle, so the artwork is only fully visible for
   the first instant. */
.slide.active { opacity: 1; z-index: 1; }

/* The dark scrim is gone too. It existed to keep white overlay text legible,
   and this slider renders NO overlay text — it is image-only. All it did was
   dim artwork that already carries its own contrast, at up to 0.85 black
   across the bottom. */

.slider-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.slider-dots button { width: 28px; height: 4px; background: rgba(255,255,255,0.4); border: none; border-radius: 2px; cursor: pointer; transition: 0.25s; padding: 0; position: relative; }
/* 2026-11-05 — the dot stays 4px tall visually, but gets a real hit area.
   A 28x4 target is not tappable on a phone; enlarging the dot itself would
   change the hero design, so the ::after extends the touch region above and
   below without moving a pixel. Flex centring keeps the row height as it
   was. Deliberately not inside a media query — a 4px target is awkward with
   a mouse too. */
.slider-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: -20px; bottom: -20px; }
.slider-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.slider-dots button.active { background: #fff; width: 44px; }

/* ORDER CARD — original v2 dimensions.
   `width: 100%` is REQUIRED here because body is now a flex column container
   (sticky-footer trick lives in v2_chrome_assets). Without it, the card
   sizes to content + auto margins instead of stretching to max-width,
   which collapses it to ~400px on wide viewports. */
/* 2026-05-28 — was margin: 36px auto -90px which pulled the next section
   up underneath the card (intentional overlap effect). But the card's
   z-index:5 + white background was visually clipping the reels section's
   "Watch what's cooking" heading on mobile + desktop. Removing the
   negative bottom margin gives the heading clear room. */
/* 2026-05-30 — Domino's-style big-button layout per client request.
   Was: slim bar with toggle + address + Find button. Now: headline +
   two large CTA buttons (DELIVERY | OR | CARRYOUT). The address entry
   happens inside the modal that opens on either click — same modal
   as the rest of the site, just pre-filled with the picked type.
   This produces a much cleaner above-the-fold and matches the
   industry-standard pattern customers know from Domino's, Pizza Hut,
   etc. Desktop: single row, headline left + 2 big buttons right.
   Mobile: stacks (headline → delivery → OR → carryout). */
.order-card { background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); width: 100%; max-width: 980px; margin: 18px auto 16px; position: relative; z-index: 5; border: 1px solid var(--border); box-sizing: border-box; display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
/* 2026-05-30 — Big-button layout. Headline left, two big buttons right
   separated by a small "OR" rail. h2 is visible now (real heading,
   matches Domino's pattern). h2/sub kept sr-only fallback removed. */
.order-card .ob-headline { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; padding-right: 16px; border-right: 1px solid var(--border); }
.order-card h2 { font-size: 18px; font-weight: 800; margin: 0; color: var(--text); letter-spacing: -0.01em; line-height: 1.15; white-space: nowrap; }
.order-card .sub { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.3; }

.order-buttons { display: flex; align-items: stretch; gap: 14px; flex: 1; min-width: 0; }
.order-btn {
    flex: 1;
    /* 2026-11-03 - three buttons now share this row and the labels are
       white-space:nowrap below. A flex item defaults to min-width:auto, which
       refuses to shrink past its content, so without this the third button
       pushes the row into an overflow instead of the three sharing the space. */
    min-width: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 22px;
    border: 0; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
    color: #fff;
    font-family: inherit;
    font-weight: 800; font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(192,10,39,0.30);
    transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
    text-decoration: none;
    white-space: nowrap;
}
.order-btn:hover  { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(192,10,39,0.40); filter: brightness(1.04); }
.order-btn:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(192,10,39,0.30); }
/* Icon sits in a soft translucent badge — gives the buttons a premium,
   intentional look instead of a plain stretched bar. */
.order-btn svg    { width: 20px; height: 20px; stroke-width: 2.1; flex-shrink: 0;
                    background: rgba(255,255,255,0.18); border-radius: 50%; padding: 8px; box-sizing: content-box; }

/* .order-or removed 2026-11-03 - the divider went when Catering became a
   third button; two choices read as "or", three read as a list. */

/* Three buttons do not fit the two-button padding between tablet and small
   desktop. Tighten it there rather than letting CATERING - the longest label -
   clip against white-space:nowrap. Below 769px they stack and this is moot. */
@media (min-width: 769px) and (max-width: 1100px) {
    .order-buttons { gap: 10px; }
    .order-btn     { padding: 15px 12px; font-size: 14px; letter-spacing: 0.03em; gap: 8px; }
    .order-btn svg { padding: 6px; }
}

@media (max-width: 768px) {
    .order-card { flex-direction: column; align-items: stretch; padding: 16px; border-radius: 18px; gap: 12px; }
    .order-card .ob-headline { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 10px; text-align: center; }
    .order-card h2 { font-size: 19px; white-space: normal; }
    .order-buttons { flex-direction: column; gap: 12px; }
    .order-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        letter-spacing: 0.05em;
        border-radius: 14px;
        gap: 12px;
        min-height: 60px;
        box-shadow: 0 6px 16px rgba(192,10,39,0.28);
    }
    .order-btn svg { width: 21px; height: 21px; stroke-width: 2.1; padding: 9px; }
}

/* Saved-restaurant banner — shown only when localStorage has a previous pick.
   Lets the user skip the picker on return visits with one click. */
.saved-store-banner { display: none; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(135deg, rgba(192,10,39,0.05), rgba(227,24,55,0.04)); border: 1px solid rgba(192,10,39,0.18); border-radius: 12px; margin-bottom: 14px; }
.saved-store-banner.show { display: flex; }
.saved-store-banner .ssb-icon { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.saved-store-banner .ssb-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.saved-store-banner .ssb-text { flex: 1; min-width: 0; line-height: 1.3; }
.saved-store-banner .ssb-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.saved-store-banner .ssb-name { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.saved-store-banner .ssb-name img { height: 14px; width: auto; max-width: 30px; object-fit: contain; }
.saved-store-banner .ssb-change { font-size: 12.5px; font-weight: 700; color: var(--brand-red); cursor: pointer; padding: 6px 10px; border-radius: 8px; background: transparent; border: none; font-family: inherit; flex-shrink: 0; transition: 0.15s; }
.saved-store-banner .ssb-change:hover { background: rgba(192,10,39,0.08); }
/* 2026-05-28 — Inline-compact + Apple-pill animation. The "checked"
   background is rendered by a SHARED ::before pseudo on .segmented
   that animates its translate-x between the two label positions when
   the radio toggles — same gliding pill effect as iOS Segmented Control.
   The label background is no longer set on :checked, so the pill
   actually slides instead of jump-cutting. */
.segmented { position: relative; display: inline-flex; background: #F4F4F5; border-radius: 10px; padding: 3px; flex-shrink: 0; isolation: isolate; }
/* 2026-05-30 — sliding pill now uses the brand-red gradient (same as
   the Find a Bravo button) so the selected state visually ties to the
   primary CTA. Text on the active pill flips to white for contrast. */
.segmented::before {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: calc(50% - 3px); height: calc(100% - 6px);
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(192,10,39,0.28);
    transition: transform 280ms cubic-bezier(.34,1.56,.64,1), width 280ms cubic-bezier(.34,1.56,.64,1);
    z-index: 0;
}
/* When Carry-out is checked, slide the pill to the second slot. */
.segmented:has(#opt-carryout:checked)::before { transform: translateX(100%); }
.segmented input[type="radio"] { display: none; }
.segmented label { position: relative; z-index: 1; padding: 8px 12px; text-align: center; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--text-muted); transition: color 180ms ease; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.segmented input[type="radio"]:checked + label { color: #fff; }
.segmented label svg { width: 16px; height: 16px; stroke-width: 2; }
@media (max-width: 768px) {
    .segmented { width: 100%; display: inline-flex; }
    .segmented label { padding: 10px 12px; font-size: 14px; flex: 1; }
}

/* 2026-05-28 — Subtle onboarding hints.
   When the page loads AND the customer has never picked a delivery type
   (no localStorage.deliveryType), pulse the segmented toggle 3 times to
   draw the eye. After they pick a type, pulse the address field once so
   they know that's the next step. JS adds/removes .ob-pulse classes. */
@keyframes ob-pulse-toggle {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192,10,39,0); }
    50%      { box-shadow: 0 0 0 6px rgba(192,10,39,0.18); }
}
.segmented.ob-pulse {
    animation: ob-pulse-toggle 1200ms ease-in-out 3;
    border-radius: 10px;
}
@keyframes ob-pulse-input {
    0%, 100% { border-color: var(--border); box-shadow: 0 0 0 0 rgba(192,10,39,0); }
    50%      { border-color: var(--brand-red); box-shadow: 0 0 0 4px rgba(192,10,39,0.15); }
}
.address-input.ob-pulse {
    animation: ob-pulse-input 1000ms ease-in-out 2;
}

/* Slim-bar address row: input grows, Locate-me shrinks to icon-only
   on narrow desktop widths so the whole bar fits on one line. */
.input-row { display: flex; gap: 6px; flex: 1; min-width: 0; }
@media (max-width: 768px) {
    .input-row { width: 100%; }
}
/* Address input gets a relative wrapper so the clear (×) button can be
   absolutely positioned inside its right padding without affecting the
   grid layout. */
.address-field { position: relative; min-width: 0; flex: 1; }
/* Slim-bar — shorter padding so the input is 40px tall (matches the
   .segmented + .btn-primary-modern heights). */
.address-input { width: 100%; padding: 10px 40px 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; transition: 0.15s; box-sizing: border-box; }
@media (max-width: 768px) {
    .address-input { padding: 12px 40px 12px 14px; font-size: 15px; }
}
.address-input:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 4px rgba(192,10,39,0.1); }
/* Clear button — only visible when the field has a value (toggled via .has-value on parent).
   Inset into the input's right padding so it never pushes the input width.
   Sized 32px (well above 44px effective tap area with padding) for mobile thumbs. */
.address-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border: 0; padding: 0; margin: 0; background: transparent;
    color: #6B7280; cursor: pointer; border-radius: 50%; display: none;
    align-items: center; justify-content: center; line-height: 1; font-size: 18px;
    transition: background-color .15s, color .15s; }
.address-field.has-value .address-clear { display: inline-flex; }
.address-clear:hover, .address-clear:active { background: rgba(0,0,0,0.06); color: #1B1B1F; }
.address-clear svg { width: 14px; height: 14px; pointer-events: none; display: block; }
/* Slim-bar — Locate-me trimmed; on narrower widths the label hides,
   icon stays so the button is still tap-able. */
.locate-me { padding: 0 12px; height: 40px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--text); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: 0.15s; font-family: inherit; flex-shrink: 0; }
.locate-me:hover { border-color: var(--brand-red); color: var(--brand-red); }
.locate-me .locate-label { display: inline; }
@media (max-width: 1023px) and (min-width: 769px) {
    .locate-me .locate-label { display: none; }
    .locate-me { padding: 0 10px; }
}
/* Slim-bar primary — auto-width (not full-width), 40px tall. Mobile
   override below restores the full-width pill so it's easy to tap. */
.btn-primary-modern { padding: 10px 18px; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(192,10,39,0.28); transition: 0.15s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; flex-shrink: 0; white-space: nowrap; }
.btn-primary-modern:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(192,10,39,0.38); }
.btn-primary-modern:active { transform: translateY(0); }
@media (max-width: 768px) {
    .btn-primary-modern { width: 100%; padding: 14px 20px; font-size: 15px; box-shadow: 0 8px 20px rgba(192,10,39,0.35); }
}

/* LOCATIONS */
.locations-section { max-width: 1280px; margin: 0 auto; padding: 44px 24px 36px; }
.locations-section .section-head { text-align: center; margin: 0 auto 28px; max-width: 640px; }
.locations-section .section-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0 0 6px; }
.locations-section .section-sub { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.location-group { margin-bottom: 32px; }
.location-group:last-child { margin-bottom: 0; }
.location-group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.location-group-head .group-name { font-size: 15px; font-weight: 700; color: var(--text); }
.location-group-head .group-count { font-size: 13px; color: var(--text-muted); font-weight: 500; }
/* 2026-10-20 — THREE per row, not four.
   With 9 restaurants a 4-column grid leaves 4 + 4 + 1, stranding a single
   card alone on the last row; 3 columns give an even 3 + 3 + 3. It also makes
   each card wider (~400px inside the 1280px container instead of ~296px), so
   the 16:9 storefront photos render noticeably larger. The cards are
   aspect-ratio based, so nothing else needs adjusting.
   The 2-column and 1-column breakpoints below are unchanged. */
.vendor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
a.vendor-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: 0.18s; cursor: pointer; border: 1px solid var(--border); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.vendor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Vendor card image — wrapper owns the 16:9 aspect ratio so the box
   is sized from card width + ratio, independent of the source image's
   natural dimensions. Previously this was a div with background-image
   and `height: 150px` — when the uploaded image is a square logo or
   tall portrait, browsers in some flex/grid contexts can still let the
   element shrink/grow off the 150px, so we now use the bulletproof
   aspect-ratio wrapper. */
.vendor-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #F4F4F5;
    overflow: hidden;
    height: auto !important;  /* defeat any legacy `height: 150px` declarations */
}
.vendor-image .vendor-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;  /* 2026-06-02 — explicit centred crop so every card image fills its 16:9 box identically */
    display: block;
}
.vendor-image .pill { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--brand-red); padding: 5px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; box-shadow: var(--shadow-sm); z-index: 2; }
.vendor-image .pill.kosher { color: #1B7E2F; }
.vendor-info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.vendor-info h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--text); letter-spacing: -0.005em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* Kosher certification logo — uniform "settle" size regardless of source
   aspect ratio. Sits BEFORE the store name. object-fit:contain so wider
   banner logos (VAAD) and tall block logos (KOF-K) all render to the
   same visual weight without distortion. */
/* 2026-05-30 — round white-pill style, matching the modal's store
   picker so the certs look consistent across the site. Was: raw image
   at native aspect ratio (VAAD looked like a banner, KSF looked
   cramped, K looked OK but inconsistent). Now: 28px circle, white
   background with subtle shadow, image cropped to contain. */
.vendor-info h3 .kosher-cert {
    height: 28px;
    width: 28px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
}
/* Admin-written store tagline — sits between the name and the address.
   Same `users.store_blurb` value rendered on the store-locator card. */
.vendor-info .blurb { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin: -4px 0 10px; font-style: italic; }
.vendor-info .addr { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin: 0 0 14px; display: flex; gap: 6px; align-items: flex-start; flex: 1; }
.vendor-info .addr svg { flex-shrink: 0; margin-top: 2px; stroke: var(--text-muted); }
/* Meta row — 2-col grid so status (left) stays neatly separated from phone
   (right) on every card. Status text can wrap inside its column without
   affecting phone alignment, so the grid stays visually consistent across
   cards even when status detail length varies. */
.vendor-info .meta { font-size: 12px; border-top: 1px solid var(--border); padding-top: 12px; color: var(--text-muted); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.vendor-info .meta .status-group { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
.vendor-info .meta .status-group .status-detail { color: var(--text-muted); white-space: nowrap; }
.vendor-info .meta .status { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.vendor-info .meta .status::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
/* 2026-06-18 — status colours darkened slightly to clear WCAG AA contrast
     (Lighthouse flagged the lighter green/amber on the card background). */
.vendor-info .meta .status.open    { color: #157026; }
.vendor-info .meta .status.closing { color: #B45309; }
.vendor-info .meta .status.closed  { color: #B91C1C; }
.vendor-info .meta .status.closing::before { animation: status-pulse 1.5s ease-in-out infinite; }
.vendor-info .meta .phone { white-space: nowrap; color: var(--text); font-weight: 600; justify-self: end; }
@keyframes status-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(199,119,0,0.5); } 50% { box-shadow: 0 0 0 5px rgba(199,119,0,0); } }
a.vendor-card.is-closed { opacity: 0.78; }
a.vendor-card.is-closed .vendor-image { filter: grayscale(0.85) brightness(0.92); }
a.vendor-card.is-closed .vendor-image::after { content: "Currently closed"; position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 6px; text-transform: uppercase; }
a.vendor-card.is-closed:hover { opacity: 1; }
a.vendor-card.is-closed:hover .vendor-image { filter: none; }
a.vendor-card.is-closing-soon { border-color: rgba(199,119,0,0.30); box-shadow: 0 0 0 3px rgba(199,119,0,0.06), var(--shadow-sm); }

/* ABOUT STRIP */
.about-strip-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 24px 36px; }
.about-strip { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 0.9fr 1fr; box-shadow: var(--shadow-sm); }
.about-strip .photo { background-size: cover; background-position: center; min-height: 300px; background-color: #F4F4F5; }
.about-strip .body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.about-strip .eyebrow { color: var(--brand-red); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.about-strip h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
.about-strip p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 8px; max-width: 480px; }
.about-strip .signature { color: var(--text-muted); font-style: italic; font-size: 13px; margin-top: 8px; }
.about-strip .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--brand-red); font-weight: 700; font-size: 13px; transition: gap 0.2s; }
.about-strip .read-more:hover { gap: 10px; }
.about-strip .read-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* REVIEWS */
.reviews-section { max-width: 1280px; margin: 0 auto; padding: 36px 24px 44px; }
/* 2026-06-02 — Birdeye live-reviews presentation. A soft full-width band
   with the self-contained widget centred inside. The widget brings its
   own heading + stars + scrolling review list, so the band just frames
   it cleanly. justify-content centres the fixed-width Birdeye card. */
.reviews-birdeye-section { padding: 44px 24px 52px; }
.reviews-birdeye-band {
    max-width: 1100px; margin: 0 auto;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
}
.reviews-birdeye-wrap { display: flex; justify-content: center; min-height: 120px; }
/* Let the embedded widget breathe + use available width up to a readable cap. */
.reviews-birdeye-wrap > div[id^="bf-revz-widget-"] { width: 100%; max-width: 900px; }
@media (max-width: 600px) {
    .reviews-birdeye-section { padding: 28px 14px 36px; }
    .reviews-birdeye-band { padding: 16px 10px; border-radius: 16px; }
}
.reviews-section .section-head { text-align: center; margin: 0 auto 24px; max-width: 640px; }
.reviews-section .section-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0 0 6px; }
.reviews-section .section-sub { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.reviews-aggregate { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px 18px; background: #FAFAFB; border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: var(--text-muted); }
.reviews-aggregate .big-rating { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; font-family: 'Inter', sans-serif; }
.reviews-aggregate .stars { color: #F59E0B; letter-spacing: 1px; font-size: 14px; line-height: 1; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.review-card .rev-stars { color: #F59E0B; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.review-card .rev-text { font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 0; }
.review-card .rev-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.review-card .rev-avatar { width: 32px; height: 32px; background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.review-card .rev-info { line-height: 1.3; }
.review-card .rev-info .name { font-size: 13px; font-weight: 700; color: var(--text); }
.review-card .rev-info .where { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.review-card .rev-info .where .verified { display: inline-flex; align-items: center; gap: 3px; color: #1B7E2F; font-weight: 600; }
.review-card .rev-info .where .verified::before { content: "✓"; font-size: 10px; }

/* ───── Homepage reels — horizontal-scroll auto-playing row ─────
   2026-05-21 redesign: dropped the modal/click flow entirely. Reels are
   now a single horizontal scroll-snap row of 9:16 tiles that all
   autoplay muted on load and keep looping — purely ambient, no user
   interaction expected. Matches the reference design (jewellery brand
   reel strip). */
/* 2026-05-28 — tightened top padding (48px → 22px) so the videos sit
   close to the slim order bar. Bottom stays 28px. */
.reels-section { padding: 22px 0 28px; max-width: none; margin: 0; }
.reels-head { text-align: center; margin-bottom: 22px; padding: 0 24px; }
.reels-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--text); }

/* Horizontal scroll strip — overflow:auto + scroll-snap so it feels
   intentional on touch screens too.

   2026-05-21 sizing: 6 tiles per row at ~230px each on desktop
   (6 × 230 + 5 × 14 + 48 padding ≈ 1500px), centered when 1–6 fit,
   horizontal scroll when more — `safe center` keeps the first tile
   from being cut off when content overflows. On screens narrower than
   ~1500px the row naturally collapses to scrollable, which is exactly
   the "slider on small screen" UX requested. */
.reels-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 24px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* 2026-11-03 — scrollbar hidden. It sat as a grey bar right under the
       video row and read as page furniture rather than a control. The row
       still scrolls: touch and trackpad as before, and pointer drag added
       below for a desktop mouse, which otherwise has no way to move it. */
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: safe center;
    max-width: 1500px;
    margin: 0 auto;
}
.reels-grid::-webkit-scrollbar { display: none; }
/* Drag affordance, only where a mouse is the pointer. */
@media (hover: hover) and (pointer: fine) {
    .reels-grid { cursor: grab; }
    .reels-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
    .reels-grid.is-dragging a { pointer-events: none; }
}

.reel-tile {
    position: relative; display: block;
    /* 230px × 9:16 → 409px tall — sized so 6 tiles fit one row at
       ~1500px max. On smaller screens the row scrolls horizontally
       (overflow-x on .reels-grid). */
    flex: 0 0 230px;
    width: 230px; height: 409px;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}
.reel-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.22); text-decoration: none; }
.reel-tile .reel-video,
.reel-tile .reel-iframe,
.reel-tile .reel-still {
    width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
}
/* Instagram-without-video fallback: pan the poster slowly so the tile
   doesn't look frozen next to its autoplaying neighbours. */
@keyframes reelStillPan {
    0%   { transform: scale(1.06) translateY(0%); }
    50%  { transform: scale(1.10) translateY(-2%); }
    100% { transform: scale(1.06) translateY(0%); }
}
.reel-tile .reel-still { animation: reelStillPan 14s ease-in-out infinite; }

@media (max-width: 720px) {
    /* 2026-05-28 — mobile top padding tightened so the "Watch what's
       cooking" heading isn't clipped by the slim order bar above. */
    .reels-section { padding: 14px 0 18px; }
    .reels-head { padding: 0 14px; margin-bottom: 14px; }
    .reels-head h2 { font-size: 22px; }
    .reels-grid { padding: 4px 14px 12px; gap: 10px; }
    /* Mobile: tighter slider — tiles smaller, swipe to see more. */
    .reel-tile { flex: 0 0 180px; width: 180px; height: 320px; border-radius: 12px; }
}

/* Footer styles + header/footer mobile breakpoints live in
   v2_chrome_assets — keeping page-specific media queries below. */

@media (max-width: 720px) {
    /* 2026-11-12 — height removed here too. This rule forced 400-520px on a
       phone while the base rule asked for 16:9 (about 242px at 430px wide),
       so a banner sat in the middle of a tall black box with dead space above
       and below it. The aspect ratio from the base rule is the only thing
       that should decide the height; margin is all this needs to set. */
    .home-slider { margin-top: 12px; }
    /* On mobile we want the card centred with equal gutters. Using `margin:auto`
       won't work while width is 100% from the base rule above, so we constrain
       width with max-width: calc(100% - 32px) and let auto margins centre it.
       2026-05-28 — removed the -60px negative bottom margin that was
       overlapping the "Watch what's cooking" heading on mobile (slim-bar
       redesign doesn't need it; was for the old 350px-tall card). */
    .order-card { width: auto; max-width: none; margin: 14px 16px 12px; padding: 18px 18px; border-radius: 20px; }
    .order-card h2 { font-size: 20px; }
    /* Keep address input + locate-me on the same row on mobile too —
       just shrink the locate-me to icon-only so it fits. */
    .input-row { grid-template-columns: 1fr auto; gap: 6px; }
    .address-input { font-size: 14px; padding: 12px 14px; }
    .locate-me { padding: 0 12px; min-width: 44px; justify-content: center; gap: 0; font-size: 0; }
    .locate-me svg { width: 18px; height: 18px; }
    .vendor-grid { grid-template-columns: 1fr; gap: 14px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .about-strip { grid-template-columns: 1fr; }
    .about-strip .photo { min-height: 220px; order: -1; }
    .about-strip .body { padding: 28px 24px; }
    .about-strip h2 { font-size: 20px; }
}
@media (max-width: 980px) and (min-width: 721px) {
    .vendor-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}
/* 2026-06-17 — small-phone polish: shorter About photo so it doesn't eat a
   third of the viewport, and let the order-card heading wrap instead of
   overflowing. */
@media (max-width: 480px) {
    .about-strip .photo { min-height: 170px; }
    .order-card h2 { white-space: normal; }
}

/* ─── ORDER FLOW MODALS ─── */
.flow-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.60); backdrop-filter: blur(4px); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; animation: fade-in 0.2s ease; }
.flow-modal-backdrop.open { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.flow-modal { background: #1B1B1F; color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.06); border-radius: 18px; max-width: 600px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,0.55); overflow: hidden; animation: pop-in 0.25s ease; max-height: 90vh; display: flex; flex-direction: column; }
@keyframes pop-in { from { transform: translateY(20px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.flow-modal .modal-head { padding: 22px 26px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.flow-modal .modal-head .step { color: rgba(255,255,255,0.50); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.flow-modal .modal-head h3 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; margin: 4px 0 4px; letter-spacing: -0.015em; color: #fff; }
.flow-modal .modal-recap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.flow-modal .vendor-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; background: rgba(227,24,55,0.18); color: #FF6B7B; border: 1px solid rgba(227,24,55,0.30); }
.flow-modal .vendor-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flow-modal .recap-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.10); }
.flow-modal .recap-pill .recap-icon { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.flow-modal .modal-body { padding: 20px 26px 8px; overflow-y: auto; flex: 1; }
.flow-modal .modal-foot { padding: 14px 26px 20px; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid rgba(255,255,255,0.08); }
.flow-modal .btn-back, .flow-modal .btn-cancel { background: transparent; color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.16); padding: 10px 16px; border-radius: 9px; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit; transition: 0.15s; }
.flow-modal .btn-back:hover, .flow-modal .btn-cancel:hover { border-color: rgba(255,255,255,0.36); color: #fff; background: rgba(255,255,255,0.04); }
.flow-modal .btn-primary { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)); color: #fff; border: none; padding: 10px 20px; border-radius: 9px; font-weight: 700; font-size: 13.5px; cursor: pointer; box-shadow: 0 4px 14px rgba(227,24,55,0.40); font-family: inherit; display: inline-flex; align-items: center; gap: 8px; transition: 0.15s; }
.flow-modal .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(227,24,55,0.55); }
.flow-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.flow-choices input[type="radio"] { display: none; }
.flow-choices label { border: 1.5px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); border-radius: 12px; padding: 16px 14px; cursor: pointer; text-align: center; transition: 0.18s; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; }
.flow-choices label svg { width: 26px; height: 26px; stroke: rgba(255,255,255,0.55); fill: none; stroke-width: 2; transition: 0.18s; }
.flow-choices label .name { font-weight: 700; font-size: 14px; color: rgba(255,255,255,0.92); }
.flow-choices label .desc { font-size: 11.5px; color: rgba(255,255,255,0.50); line-height: 1.4; }
.flow-choices label:hover { border-color: rgba(255,255,255,0.20); background: rgba(255,255,255,0.06); }
.flow-choices input[type="radio"]:checked + label { border-color: var(--brand-red-2); background: rgba(227,24,55,0.10); transform: translateY(-1px); }
.flow-choices input[type="radio"]:checked + label svg { stroke: var(--brand-red-2); }
.flow-choices input[type="radio"]:checked + label .name { color: #fff; }
.flow-choices input[type="radio"]:checked + label .desc { color: rgba(255,255,255,0.72); }
@media (max-width: 540px) {
    .flow-choices { gap: 8px; }
    .flow-choices label { padding: 12px 10px; min-height: 100px; }
    .flow-choices label svg { width: 22px; height: 22px; }
    .flow-choices label .name { font-size: 13px; }
    .flow-choices label .desc { font-size: 10.5px; }
}
.flow-conditional { margin-top: 14px; }
.flow-conditional.hidden { display: none; }
.flow-field-label { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.flow-address-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.flow-address-row input { padding: 11px 14px; border: 1.5px solid rgba(255,255,255,0.12); border-radius: 10px; font-family: inherit; font-size: 14px; background: rgba(255,255,255,0.04); color: #fff; color-scheme: dark; width: 100%; }
.flow-address-row input:focus { outline: none; border-color: var(--brand-red-2); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(227,24,55,0.18); }
.flow-locate-btn { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.12); padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 12.5px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: 0.15s; }
.flow-locate-btn:hover { border-color: rgba(255,255,255,0.30); background: rgba(255,255,255,0.08); }
.flow-locate-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.flow-hint { margin: 8px 0 0; font-size: 11.5px; color: rgba(255,255,255,0.50); line-height: 1.4; }
.flow-hint.error { color: #FF8A95; }
.flow-hint.success { color: #6FD681; }
.flow-pickup-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 10px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; }
.flow-pickup-box .pin { width: 18px; height: 18px; stroke: var(--brand-red-2); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.flow-pickup-box .pickup-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.50); font-weight: 700; margin-bottom: 2px; }
.flow-pickup-box .pickup-store { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.flow-pickup-box .pickup-addr { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-top: 3px; line-height: 1.4; }
.flow-asap-note { margin: 10px 0 0; font-size: 12px; background: rgba(37,168,69,0.10); border: 1px solid rgba(37,168,69,0.25); padding: 9px 12px; border-radius: 9px; color: #6FD681; line-height: 1.45; }
.flow-asap-note.hidden { display: none; }
/* Closed-now notice — sits above the ASAP/Schedule choice when the user picks
   a store that's currently closed but accepting scheduled orders. */
.flow-closed-notice {
    margin: 0 0 12px; padding: 10px 12px; border-radius: 9px;
    background: rgba(255,184,51,0.12);
    border: 1px solid rgba(255,184,51,0.35);
    color: #FFC15A;
    font-size: 12.5px; line-height: 1.5;
}
.flow-closed-notice.hidden { display: none; }
/* When ASAP is disabled (closed store), grey it out so user knows why */
.flow-choices label.disabled,
.flow-choices input:disabled + label {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.schedule-fields { margin-top: 14px; padding: 14px; background: rgba(0,0,0,0.25); border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }
.schedule-fields.hidden { display: none; }
.schedule-fields .label-row { display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.schedule-fields .label-row:not(:first-child) { margin-top: 14px; }

/* ── Custom themed calendar ── */
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 10px; }
.cal-header .month-label { font-size: 14px; font-weight: 700; color: #fff; }
.cal-header button {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    border-radius: 8px;
    cursor: pointer;
    display: grid; place-items: center;
    transition: 0.15s;
    font-family: inherit;
}
.cal-header button:hover:not(:disabled) { border-color: rgba(255,255,255,0.30); background: rgba(255,255,255,0.08); }
.cal-header button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-header button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.cal-weekdays div { text-align: center; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 0; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid button {
    height: 34px;                 /* fixed compact height — was aspect-ratio 1/1 (too tall) */
    background: transparent;
    border: 1.5px solid transparent;
    color: rgba(255,255,255,0.85);
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    transition: 0.15s;
    display: grid; place-items: center;
    padding: 0;
}
.cal-grid button:hover:not(:disabled):not(.empty) { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.cal-grid button.empty { visibility: hidden; cursor: default; }
.cal-grid button:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-grid button.today { color: var(--brand-red-2); font-weight: 700; }
.cal-grid button.active { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)); color: #fff; border-color: var(--brand-red-2); font-weight: 700; box-shadow: 0 4px 14px rgba(227,24,55,0.35); }

/* ── Custom time picker — HH input + MM input + AM/PM toggle ── */
.time-picker { display: flex; align-items: flex-end; justify-content: center; gap: 8px; flex-wrap: wrap; }
.time-picker .time-stepper-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.time-picker .time-stepper-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.time-picker .time-stepper {
    display: flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    padding: 2px;
}
.time-picker .time-stepper input {
    width: 48px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 8px 0;
    -moz-appearance: textfield;
}
.time-picker .time-stepper input::-webkit-outer-spin-button,
.time-picker .time-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.time-picker .time-stepper input:focus { outline: none; }
.time-picker .time-stepper:focus-within { border-color: var(--brand-red-2); box-shadow: 0 0 0 3px rgba(227,24,55,0.18); }
.time-picker .stepper-btn {
    width: 22px; height: 36px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    border-radius: 6px;
    display: grid; place-items: center;
    transition: 0.15s;
}
.time-picker .stepper-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.time-picker .time-colon { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.55); margin: 0 -4px; }
.time-picker .ampm-toggle {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    padding: 2px;
}
.time-picker .ampm-toggle button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.65);
    padding: 6px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 7px;
    transition: 0.15s;
    letter-spacing: 0.04em;
}
.time-picker .ampm-toggle button.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
    color: #fff;
}
.time-picker .time-error {
    font-size: 11.5px;
    color: #FF8A95;
    margin-top: 4px;
    width: 100%;
    display: none;
}
.time-picker .time-error.show { display: block; }

/* Mobile compaction for the schedule picker + modal footer */
@media (max-width: 540px) {
    /* Calendar — smaller cells, smaller font */
    .cal-header { padding: 2px 0 6px; }
    .cal-header .month-label { font-size: 13px; }
    .cal-header button { width: 28px; height: 28px; }
    .cal-header button svg { width: 12px; height: 12px; }
    .cal-weekdays div { font-size: 9px; padding: 2px 0; }
    .cal-grid { gap: 1px; }
    .cal-grid button { height: 30px; font-size: 11.5px; }
    .schedule-fields { padding: 10px; }
    .schedule-fields .label-row { font-size: 10px; margin-bottom: 6px; }

    /* Time picker — shrink steppers + AM/PM, full row */
    .time-picker { gap: 6px; justify-content: center; }
    .time-picker .time-stepper input { width: 36px; font-size: 16px; padding: 6px 0; }
    .time-picker .stepper-btn { width: 20px; height: 30px; font-size: 13px; }
    .time-picker .time-colon { font-size: 16px; }
    .time-picker .ampm-toggle button { padding: 5px 10px; font-size: 12px; }

    /* Modal foot — buttons evenly fill the row instead of right-aligning */
    .flow-modal .modal-foot {
        padding: 12px 18px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .flow-modal .modal-foot button {
        flex: 1 1 calc(33% - 4px);
        min-width: 0;
        padding: 10px 8px;
        font-size: 12.5px;
        justify-content: center;
    }
    .flow-modal .modal-foot .btn-primary {
        flex: 1 1 100%;
        order: -1;       /* primary CTA on top row, full width */
        padding: 12px 16px;
        font-size: 14px;
    }
    .flow-modal .modal-head { padding: 18px 20px 12px; }
    .flow-modal .modal-head h3 { font-size: 18px; }
    .flow-modal .modal-body { padding: 16px 20px 6px; }
}
/* Store picker — compact 2-up grid. Each tile shows just: name (with optional
   kosher cert icon), distance, delivery-accepted badge. Address/phone/hours
   are NOT shown here — those live on the homepage cards. */
.store-picker-grid {
    display: grid;
    /* 2026-11-03 — THIS FILE HAS ITS OWN COPY of the modal's CSS, in an inline
       <style> that loads after the order-flow-modal bundle. So when the bundle
       was made fluid, this duplicate quietly overrode it back to two columns:
       the modal widened to 880px and the cards stretched to fill it instead of
       re-flowing. Kept in step with the bundle deliberately; the two must match
       until the duplication itself is removed.

       auto-fill at 200px gives two columns in the narrow steps, three or four
       once the picker step widens. 200 and not 220 because 3 x 220 + gaps does
       not fit the content box of a 720px modal, and it silently stays two-up. */
    grid-template-columns: 1fr 1fr;
    /* default align-items:stretch → cards in a row share one height, so the
       columns line up cleanly (no stagger). Content is top-aligned inside. */
    gap: 8px;
    /* 2026-08-08 — belt-and-braces. This grid is a FLEX ITEM inside .modal-body
       (display:flex; column; min-height:0), so on a short viewport it can be
       shrunk below its content height. Auto rows would then be compressed
       shorter than a card's content and — now that the card no longer clips —
       the status line would paint OUTSIDE the tile. min-content rows can never
       be squeezed; the list scrolls instead (overflow-y:auto is already set). */
    grid-auto-rows: min-content;
    /* Follows the viewport rather than a flat 360px, which showed the same
       four-and-a-bit stores on any screen. Matches the bundle. */
    max-height: min(56vh, 520px);
    overflow-y: auto;
    /* 2026-11-03 - headroom for the hover lift and the selected ring.
       This is a scroll container (overflow-y:auto), so it clips its children.
       Padding was right-only, which left 0px at the top and left - and a card
       lifts 1px on hover and draws `box-shadow: 0 0 0 2px` when selected, both
       OUTSIDE its own box. The top row's border was sliced off, which is the
       reported "hovering cuts the top". 4px clears the ring and the lift. */
    padding: 4px 6px 4px 4px;
    /* Custom dark scrollbar to match modal — Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.18) transparent;
}
/* Custom dark scrollbar — WebKit/Chromium/Safari */
.store-picker-grid::-webkit-scrollbar { width: 6px; }
.store-picker-grid::-webkit-scrollbar-track { background: transparent; }
.store-picker-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 100px; }
.store-picker-grid::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.26); }
.store-picker-grid::-webkit-scrollbar-corner { background: transparent; }
/* Apply the same treatment to the modal body if it ever scrolls */
.flow-modal .modal-body { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent; }
.flow-modal .modal-body::-webkit-scrollbar { width: 6px; }
.flow-modal .modal-body::-webkit-scrollbar-track { background: transparent; }
.flow-modal .modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 100px; }
.flow-modal .modal-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.26); }
.store-picker-grid input[type="radio"] { display: none; }
/* Tile layout — fixed-height rhythm so every card lines up regardless of
   whether it has a kosher cert logo, distance, or extra "closed-now" hint.
   Header (icon+name) at top, distance below, status group pinned at the
   bottom via `margin-top: auto`. */
/* 2026-08-08 — BOXED TILE. Rebuilt as a fixed 3-zone grid (name · distance ·
   status) so every card has the same internal shape no matter how long the
   store name is or how many status lines it has. Key changes vs the old flex
   card: `overflow:hidden` is GONE (it was slicing the status text at the card
   edge), the status zone is its own row pinned to the bottom, and the tile is
   compact so full rows fit the 360px scroll area instead of being cut mid-card. */
.store-picker-grid label.spx {
    /* 2026-08-08b — FLEX, not grid. A `1fr` status row does NOT contribute its
       content height when the browser measures the card's intrinsic height, so
       the tile came out too short and (with overflow no longer hidden) the
       "Closed · Opens 9 PM" line spilled past the border. Flex + margin-top:auto
       on the status block gives the same bottom-pinned layout while sizing the
       card correctly. */
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 11px 12px;
    border: 1.5px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    border-radius: 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
    min-height: 110px;
}
.store-picker-grid label.spx:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.store-picker-grid input[type="radio"]:checked + label.spx { border-color: var(--brand-red-2); background: rgba(227,24,55,0.12); box-shadow: 0 0 0 2px rgba(227,24,55,0.22), 0 6px 16px rgba(227,24,55,0.18); }
.store-picker-grid label.spx.out-of-range { opacity: 0.55; cursor: not-allowed; }
.store-picker-grid label.spx.out-of-range:hover { border-color: rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); }

/* Name zone reserves 2 lines so a short name ("Midtown") and a wrapping one
   ("American Dream Mall") occupy the same height — that's what keeps the
   distance + status rows aligned across every card. */
.spx .spx-top { display: flex; align-items: flex-start; gap: 8px; min-height: 2.5em; }
.spx .spx-top img {
    /* Kosher cert icons live on a dark modal — wrap them in a white pill so
       they're legible at small sizes regardless of the source image colour. */
    height: 26px; width: 26px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.35);
    flex-shrink: 0;
}
/* 2026-08-08 — UNIFORM CARDS. The name block reserves 2 lines (clamped), so a
   one-word store ("Midtown") and a wrapping one ("American Dream Mall") take the
   same height and every row beneath them lines up across all cards. Without this
   the distance + status pills sat at different heights per card — and the kosher
   icon (26px) made it worse by stretching the row on some cards only. */
.spx .spx-top .store-name {
    font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.25; flex: 1; min-width: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 2026-07-21 — locality/address line fills the tile + helps customers
   recognise the branch. Clamped to 2 lines. */
.spx .spx-addr { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,0.5); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Distance reads as the tile's key number — dropped the 📍 emoji (visual noise
   at this size; "0.4 mi away" is self-explanatory). */
.spx .spx-distance { font-size: 12.5px; font-weight: 800; color: #fff; display: flex; align-items: baseline; gap: 4px; letter-spacing: -0.01em; }
.spx .spx-distance .small { font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.45); }

/* Status group — vertical stack pinned to the bottom of the tile so the
   first status pill always sits at the same height across all cards.
   Holds delivery/pickup pill + optional closed-now hint underneath. */
/* margin-top:auto pins the pills to the BOTTOM of the tile. Same-row cards are
   stretched to equal height by the grid, so every status pill lands on the same
   baseline no matter how much (or little) content sits above it. */
/* margin-top:auto pushes the status block to the bottom of the tile, so every
   card's pill sits on the same baseline regardless of what's above it. */
.spx .spx-statuses { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; margin-top: auto; padding-top: 6px; }

/* 2026-07-21 — inline-block (not inline-flex) so a long custom off-reason
   wraps INSIDE the card and the card auto-grows to fit it; inline-flex kept the
   text on one line, so it spilled past the card edge and got clipped. */
/* Rounded-rect (not a full pill) at 11px — a two-word status like "Delivery
   unavailable today" now fits one line in the ~207px-wide tile instead of
   wrapping and blowing the card height out. */
.spx .spx-status { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.3; padding: 4px 8px; border-radius: 8px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.spx .spx-status.ok    { background: rgba(37,168,69,0.14); color: #6FD681; border: 1px solid rgba(37,168,69,0.30); }
.spx .spx-status.warn  { background: rgba(192,10,39,0.14); color: #FFB7BD; border: 1px solid rgba(192,10,39,0.30); }
.spx .spx-status.soon  { background: rgba(245,158,11,0.16); color: #FCD34D; border: 1px solid rgba(245,158,11,0.35); }
/* Coming-soon cards are visible but not orderable — dim slightly less than
   out-of-range so the badge stays readable. */
.store-picker-grid label.spx.coming-soon { opacity: 0.72; cursor: not-allowed; }
/* Closed-now: amber, NOT a hard block — store is selectable for scheduled orders.
   Switched from pill to inline text label (with calendar glyph) since the long
   "Opens tomorrow 11 AM" text doesn't fit a pill cleanly. */
.spx .spx-status.info  { background: transparent; color: #FFC15A; border: none; padding: 0; font-size: 11px; font-weight: 600; }
.spx .spx-status.info::before { content: "⏰"; width: auto; height: auto; background: transparent; border-radius: 0; font-size: 10px; }
.store-picker-grid label.spx.is-closed-now:not(.out-of-range) { /* still selectable */ }
.spx .spx-status::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }

.flow-no-stores { padding: 18px; background: rgba(192,10,39,0.10); border: 1px solid rgba(192,10,39,0.30); border-radius: 11px; color: #FFB7BD; font-size: 13px; line-height: 1.55; text-align: center; margin-top: 12px; }
.flow-no-stores.hidden { display: none; }
/* Mobile: keep store picker 2-up (smaller tiles, smaller text) */
@media (max-width: 540px) {
    .store-picker-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .store-picker-grid label.spx { padding: 10px; gap: 4px; min-height: 102px; }
    .spx .spx-top { gap: 6px; }
    .spx .spx-top img { height: 21px; width: 21px; }
    .spx .spx-top .store-name { font-size: 12.5px; }
    .spx .spx-distance { font-size: 12px; }
    .spx .spx-distance .small { font-size: 10px; }
    .spx .spx-status { font-size: 10.5px; padding: 3px 7px; }
}
/* (Mobile flow-choices sizing handled in the @media block above — keeps 2-up.) */
