/* Flashio website. A warm cream page with navy text, navy bars, and bright orange for buttons, prices and what's
   selected; navy for Add and the quantity steppers; green confirms; red is only for errors. Cards sit a step lighter than the page.
   The same colours as the app (global.css, constants/theme.ts) and the dashboard.

   Palette: Navy #1C223A, Cream #E5D4B5, Orange #F44E1C. */
/* Plus Jakarta Sans for headings, names and buttons; Inter for everything people read and compare. Jakarta comes in
   three pieces: the basic letters, then ₦ and the wider Latin letters, then the dotted vowels and tone marks Yoruba uses */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Variable.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Variable-Ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-Variable-Extra.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter-Variable-Extra.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+20A6, U+1E62-1E63, U+0300-0301, U+0323; }

:root {
    /* Flashio's colours: a warm cream page, navy for text and the bars (header, footer, the phone's bottom bar),
       and bright orange for buttons, prices and what's selected, with white text on it. Green confirms (paid,
       completed, open, answered), adds to the cart and writes store names; red is only for errors and deleting. */
    --navy: #1C223A;
    --navy-deep: #0C142C;
    --cream: #E5D4B5;
    /* A deeper cream, for the phone menu's icons */
    --cream-deep: #B8965F;
    --accent: #F44E1C;
    --accent-hover: #FF6B3D;
    --accent-tint: rgba(244, 78, 28, 0.14);
    /* Item prices */
    --orange: #F44E1C;
    --red: #C62828;
    --red-tint: rgba(198, 40, 40, 0.1);
    /* --green for filled marks and buttons with white on them, --green-ink for words on the cream page */
    --green: #16A34A;
    --green-ink: #15803D;
    --green-tint: rgba(22, 163, 74, 0.14);
    --green-hover: #22A757;
    /* Navy controls (Add and the quantity steppers) have white text; lighter under the pointer */
    --navy-hover: #2B3456;

    /* Tints of the navy, for soft panels, hovers and chips on the cream */
    --navy-tint: rgba(28, 34, 58, 0.06);
    --navy-tint-strong: rgba(28, 34, 58, 0.12);

    color-scheme: light;
    --page: var(--cream);
    --ink: var(--navy);
    /* The navy panels that stand out on the cream: the app band, the profile card, the delivery code */
    --deep: var(--navy);
    --band: rgba(28, 34, 58, 0.05);
    /* Cards: a lighter, warmer cream than the page */
    --surface: #F6EEDF;
    --muted: rgba(28, 34, 58, 0.68);
    --line: rgba(28, 34, 58, 0.14);
    --shadow: 0 1px 2px rgba(28, 34, 58, 0.06), 0 6px 18px rgba(28, 34, 58, 0.08);
    --shadow-lifted: 0 18px 44px rgba(28, 34, 58, 0.18);
    /* Hints inside empty fields */
    --placeholder: rgba(28, 34, 58, 0.42);
    /* The navy bars: the desktop header and the phone's bottom bar */
    --header-bar: rgba(28, 34, 58, 0.97);
    --bottom-bar: rgba(28, 34, 58, 0.98);
    /* The home page's big headline */
    --hero-title: var(--navy);
    /* Smaller, squarer corners, like the brand board's blocks */
    --radius: 14px;
    --radius-small: 10px;
    --wrap: 1180px;
    --pattern-light: url('/images/adire-light.svg');
    /* Type. Rules name these, never a font or a bare weight. Plus Jakarta Sans for headings, names, buttons and menus;
       Inter for reading text and anything compared: prices, totals, codes, labels and small print. The same pair as the
       app and the dashboard. Text is read at medium, so it stays solid. */
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-ui: var(--font-heading);
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;
    --leading-tight: 1.12;
    --leading-snug: 1.3;
    /* Line heights: headings tight, short labels snug, reading text comfortable but not airy */
    --leading-body: 1.5;
    --tracking-tight: -0.02em;
    --tracking-snug: -0.01em;
    --tracking-caps: 0.08em;
}

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: var(--weight-medium) 16px/var(--leading-body) var(--font-body);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { display: block; flex: none; }
a { color: var(--ink); }
h1, h2, h3, h4 {
    font-family: var(--font-heading); font-weight: var(--weight-bold); line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight); margin: 0 0 8px;
}
/* One order of sizes everywhere: page title, section title, card title, lead line, text, small print */
h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: var(--weight-heavy); }
h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: var(--weight-heavy); }
h3 { font-size: 18px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); }
h4 { font-weight: var(--weight-semibold); letter-spacing: var(--tracking-snug); }
strong, b { font-weight: var(--weight-bold); }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
:focus:not(:focus-visible) { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 18px; line-height: var(--leading-body); color: var(--muted); max-width: 560px; }
.empty { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip-link:focus { left: 8px; }
.app-loading { padding: 80px 24px; color: var(--muted); }

/* A short label above a heading */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px;
    font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-heading); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--accent);
}
.eyebrow svg { width: 16px; height: 16px; }

/* Buttons: like the app's main buttons, or an outline */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--accent);
    background: var(--accent); color: #fff; font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 16px; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--band); border-color: var(--accent); color: var(--ink); }
.button-order { background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 20px rgba(28, 34, 58, 0.22); }
.button-order:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-semibold); font-family: var(--font-ui); color: var(--ink); text-decoration: none; }
/* No button shape: a thin orange arrow beside the words, which slides on and draws an underline under them on hover */
.arrow-link-icon { display: inline-grid; place-items: center; color: var(--accent); transition: transform 0.25s ease; }
.arrow-link-icon svg { width: 18px; height: 18px; }

/* ---- Header: no bar of its own. The logo, the cart and the menu button float over the page as white pills. ---- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 10; pointer-events: none; }
.site-header a, .site-header button, .site-menu-panel { pointer-events: auto; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
main { padding-top: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-bold); font-family: var(--font-heading); font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: var(--tracking-tight); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.logo-mark img { width: 74%; height: 74%; object-fit: contain; }
.logo-light { color: #fff; }
.float-pill { background: var(--surface); border-radius: 999px; padding: 7px 18px 7px 7px; box-shadow: var(--shadow-lifted); }
.header-logo { padding: 6px; }
.header-logo .logo-mark { width: 40px; height: 40px; border-radius: 12px; border: 0; }
.header-actions { display: flex; gap: 10px; }
.float-button {
    width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink);
    display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lifted);
}
.float-button:hover { color: var(--accent); }
.menu-button .menu-close-icon, .menu-button[aria-expanded='true'] .menu-open-icon { display: none; }
.menu-button[aria-expanded='true'] .menu-close-icon { display: block; }
.site-menu { display: flex; justify-content: flex-end; margin-top: 10px; }
.site-menu[hidden] { display: none; }
.site-menu-panel {
    display: grid; gap: 2px; min-width: 270px; background: var(--surface); border-radius: var(--radius); padding: 10px;
    box-shadow: var(--shadow-lifted); border: 1px solid var(--line); animation: rise 0.2s ease both;
}
.site-menu-panel a:not(.button) { color: var(--ink); text-decoration: none; font-weight: var(--weight-semibold); font-family: var(--font-ui); padding: 12px 14px; border-radius: var(--radius-small); }
.site-menu-panel a:not(.button):hover, .site-menu-panel a[aria-current='page'] { background: var(--band); }
/* The page you're on: a soft cream band behind it, no orange edge */
.site-menu-panel a[aria-current='page'] { font-weight: var(--weight-bold); }
.site-menu-panel .button { margin-top: 8px; }
/* "Services", a small heading between the main places and the services */
.site-menu-group { margin: 8px 14px 2px; font-family: var(--font-body); font-size: 11px; font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
/* Log in / Sign up (or My account) and Get the app, side by side at the bottom of the menu */
.site-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.site-menu-actions .button { justify-content: center; padding-left: 10px; padding-right: 10px; white-space: nowrap; }

/* The desktop header: one see-through bar across the top with the links in view, and no menu button */
.desktop-nav, .desktop-only { display: none; }
@media (min-width: 900px) {
    .site-header {
        top: 0; pointer-events: auto; background: var(--header-bar); backdrop-filter: saturate(1.4) blur(12px);
        border-bottom: 1px solid var(--line);
    }
    .header-row { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 72px; gap: 24px; }
    .header-row > .logo { justify-self: start; }
    .header-actions { justify-self: end; }
    .site-header .float-pill { padding: 0; box-shadow: none; background: none; }
    .site-header .float-button { box-shadow: none; background: var(--band); width: 42px; height: 42px; }
    .site-header .float-button:hover { background: var(--navy-tint); }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
    .desktop-nav a {
        padding: 10px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 15px; white-space: nowrap;
    }
    .desktop-nav a:hover { background: var(--band); }
    .desktop-nav a[aria-current='page'] { color: #fff; background: var(--accent); }
    .header-actions { align-items: center; gap: 8px; }
    .desktop-only { display: inline-flex; }
    .float-button.desktop-only { display: grid; }
    .header-actions .button-order { box-shadow: none; margin-left: 4px; white-space: nowrap; }
}
/* Narrower desktops: the links stay in the middle of the bar, a little tighter */
@media (min-width: 900px) and (max-width: 1399px) {
    .header-row { gap: 12px; }
    .desktop-nav { gap: 0; }
    .desktop-nav a { padding: 10px 9px; font-size: 14px; }
}
@media (min-width: 900px) and (max-width: 1239px) {
    .header-actions .button-order { display: none; }
}


/* ---- Home hero: the question, the location search and the rider ---- */
.hero {
    position: relative; margin-top: -76px; padding: 88px 0 36px;
    /* The same page colour as the rest of the page: one background all the way down */
    background: var(--page);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
/* The home page's opening: what Flashio is, then where to deliver, with the services straight below */
.hero-compact { padding-bottom: 8px; text-align: center; }
.hero-compact .hero-copy { display: grid; justify-items: center; gap: 4px; }
.hero-compact .hero-retro-title { max-width: 760px; margin-bottom: 6px; }
.hero-compact .lead { margin: 0 auto 18px; }
.hero-compact .locate { width: 100%; max-width: 640px; text-align: left; }
.hero-compact .hero-copy .hero-retro-title { font-size: clamp(34px, 4.6vw, 56px); }
.hero-compact .hero-copy .lead { color: var(--muted); }
.hero-compact .locate-towns { margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: var(--weight-medium); text-align: center; }
/* On phones the headline and the line under it each stay on one line, sized to the screen's width */
@media (max-width: 600px) {
    /* Heavy and bold, so it still leads the page at this size */
    .hero-compact .hero-copy .hero-retro-title { font-family: var(--font-heading); font-weight: 800; font-size: calc((100vw - 40px) / 22.3); white-space: nowrap; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 4px; }
    .hero-compact .hero-copy .lead { font-size: 17px; white-space: nowrap; max-width: none; margin-bottom: 14px; }
}
.hero h1 { max-width: 620px; }
/* "Hi Ada," sits at the left of the hero, above the centred headline */
.hero-greeting { margin: 0 0 6px; font-family: var(--font-heading); font-weight: var(--weight-semibold); font-size: clamp(22px, 2.6vw, 28px); color: var(--accent); justify-self: start; text-align: left; }
/* The red swoosh under one word */
.highlight { position: relative; z-index: 0; white-space: nowrap; color: var(--ink); }
.highlight::after {
    content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.2em; z-index: -1;
    background: var(--accent); opacity: 0.35; border-radius: 999px; transform: rotate(-1.5deg);
}
.hero .lead { margin-bottom: 0; }

/* The delivery location: the box with Order Now inside it */
.locate { max-width: 760px; margin: 0 auto; }
.locate-towns svg { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.locate-row {
    /* The button sits at the pill's right end with only a hair of space around it */
    display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lifted);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.locate-row:focus-within { border-color: var(--accent); box-shadow: var(--shadow-lifted), 0 0 0 4px var(--accent-tint); }
.locate-box { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 12px; }
.locate-pin-button {
    width: 42px; height: 42px; flex: none; margin-left: -6px; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent); color: #fff; cursor: pointer; transition: background-color 0.15s, color 0.15s;
}
.locate-pin-button:hover { background: var(--accent-hover); color: #fff; }
.locate-pin-button:disabled { cursor: default; background: none; }
.locate-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-weight: var(--weight-medium); color: var(--ink); padding: 12px 0; }
.locate-box input::placeholder { color: var(--muted); font-weight: var(--weight-regular); }
.locate-row .button-order { flex: none; min-height: 48px; padding: 0 22px; }
.locate-clear {
    flex: none; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
    background: var(--navy-tint); color: var(--muted); cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.locate-clear[hidden] { display: none; }
.locate-clear svg { width: 16px; height: 16px; }
.locate-clear:hover { background: var(--navy-tint-strong); color: var(--ink); }
.locate-clear:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.locate-list {
    position: absolute; z-index: 5; top: calc(100% + 16px); left: -8px; right: -60px; list-style: none; margin: 0; padding: 6px;
    background: var(--surface); border-radius: var(--radius-small); box-shadow: var(--shadow-lifted); border: 1px solid var(--line);
}
.locate-option { display: grid; padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: var(--leading-snug); }
.locate-option span { color: var(--muted); font-size: 14px; }
.locate-option:hover, .locate-option[aria-selected='true'] { background: var(--band); }

/* The rider drawing on a soft glow, with moments of an order floating around it */
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-glow {
    position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--surface) 0%, var(--accent-tint) 45%, var(--accent) 100%);
    box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.06);
}
.rider-scene { position: relative; width: 100%; max-width: 480px; height: auto; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lifted); border: 1px solid var(--line);
    font-size: 14px; line-height: var(--leading-snug); animation: drift 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 13px; }
.float-card img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.float-card-food { top: 6%; left: -2%; }
.float-card .float-card-icon { object-fit: contain; padding: 5px; background: var(--band); }
.hero-scene { position: absolute; inset: 0; pointer-events: none; opacity: 0; animation: hero-scene 32s infinite; animation-delay: calc(var(--scene) * 4s); }
@keyframes hero-scene {
    0% { opacity: 0; transform: translateY(10px); }
    2%, 11% { opacity: 1; transform: none; }
    13%, 100% { opacity: 0; transform: translateY(-6px); }
}
.float-card-status { bottom: 10%; right: -2%; animation-delay: -1.6s; }
.float-card-rider { top: 18%; right: 2%; padding: 8px 14px; color: var(--ink); animation-delay: -3.2s; }
.float-card-rider strong { color: var(--ink); }
.float-card-tick { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.float-card-tick svg { width: 18px; height: 18px; }


/* The map, in a dialog over the page */
.map-dialog { width: min(640px, calc(100% - 32px)); border: 0; border-radius: var(--radius); padding: 24px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-lifted); }
.map-dialog::backdrop { background: rgba(28, 34, 58, 0.55); backdrop-filter: blur(2px); }
.map-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.map-dialog-head h2 { margin: 0; font-size: 24px; }
.map-dialog-head .float-button { box-shadow: none; background: var(--band); }
.map-dialog-hint { color: var(--muted); font-size: 15px; margin: 8px 0 14px; }
.map-dialog-address { font-weight: var(--weight-semibold); font-family: var(--font-body); min-height: 1.6em; margin: 12px 0; }
.map-canvas { height: min(52vh, 420px); border-radius: var(--radius-small); overflow: hidden; margin-top: 14px; background: var(--band); }
.map-dialog .button { width: 100%; }

.page-hero > .wrap { width: calc(100% - 48px); max-width: calc(var(--wrap) - 48px); }

/* ---- Inner pages: a warm band with the page's drawing ---- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 20px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current='page'] { color: var(--ink); font-weight: var(--weight-semibold); font-family: var(--font-ui); }
.app-page .crumbs ol, .auth-section .crumbs ol { padding: 0; margin-bottom: 18px; }
.page-hero { padding: 24px 0 0; }
.page-hero > .wrap {
    background:
        var(--band);
    border-radius: var(--radius); padding: 40px;
}
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-hero h1 { max-width: 640px; }
.page-hero-art { width: 220px; height: 220px; border-radius: 50%; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-lifted); display: grid; place-items: center; }
.offer-badge { display: inline-block; background: var(--accent-tint); color: var(--ink); border: 1px dashed var(--accent); font-weight: var(--weight-semibold); font-family: var(--font-heading); font-size: 15px; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-row { justify-content: center; }

/* ---- Sections: the page colour, a soft band, or navy ---- */
.section { padding: 56px 0; }
/* Sections sit on the page's own colour, so the whole page is one background */
.section-tint { background: var(--page); }
.section-dark { background: var(--page); color: var(--ink); }
/* How Flashio works: its title centred over the phone on every screen size */
.section-dark .section-title { color: var(--ink); text-align: center; }
/* Section titles are navy, under the orange labels (.eyebrow) */
.section-title { margin-bottom: 10px; color: var(--ink); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.section-head .section-title { margin-bottom: 0; }
.more-link { margin-top: 28px; }

/* The eight services with the app's 3D icons */
.service-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-tile {
    display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: var(--radius);
    background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-tile-icon { width: 64px; height: 64px; flex: none; border-radius: 18px; background: var(--band); display: grid; place-items: center; }
.service-tile-icon img { width: 48px; height: 48px; }
.service-tile-text { display: grid; line-height: var(--leading-snug); }
.service-tile-text strong { font-size: 17px; font-family: var(--font-heading); }
.service-tile-text span { color: var(--muted); font-size: 14px; }

.service-tiles.wave-ready > li { opacity: 0; transform: translateY(36px) scale(0.92); }
.service-tiles.is-waving > li { animation: tile-wave 0.7s cubic-bezier(0.34, 1.4, 0.5, 1) both; animation-delay: var(--wave-delay, 0ms); }
@keyframes tile-wave {
    0% { opacity: 0; transform: translateY(36px) scale(0.92); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

/* Big photo cards for food, shopping and errands */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card {
    display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 0 0 18px; overflow: hidden;
    color: inherit; text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-photo { width: 100%; height: auto; flex: none; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; background: var(--navy-tint); }
.service-card h3, .service-card p, .service-card .arrow-link { margin-left: 24px; margin-right: 24px; }
.service-card p { color: var(--muted); font-size: 16px; flex: 1; }

/* How it works: numbered steps joined by a dashed line */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.steps::before { content: ''; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed var(--line); }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: var(--weight-bold); font-family: var(--font-heading); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--accent-tint); }
.step h3 { color: var(--ink); }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Restaurant cards */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.place-card {
    display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.place-card-media { position: relative; aspect-ratio: 2 / 1; background: var(--navy-tint); }
.place-card-media img { width: 100%; height: 100%; object-fit: cover; }
.place-card-body { padding: 10px 12px 12px; }
.place-card-body h3 { margin: 0 0 2px; font-size: 18px; font-weight: var(--weight-bold); color: var(--green-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.place-card-body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The bottom row, as on the app's card: the bike and delivery fee, and open or closed */
.place-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.place-card-fee { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: var(--weight-semibold); font-family: var(--font-body); color: var(--ink); }
.place-card-fee svg { width: 16px; height: 16px; color: var(--ink); }

/* Towns */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-card { position: relative; padding: 18px; border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; border: 1px solid var(--line); box-shadow: var(--shadow); }
.area-card::after { content: '→'; position: absolute; right: 22px; top: 22px; color: var(--accent); font-weight: var(--weight-bold); font-family: var(--font-heading); transition: transform 0.2s ease; }
.area-card h3 { margin-bottom: 4px; }
.area-card p { margin: 0; color: var(--muted); font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature h3::before { content: ''; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.feature p { margin: 0; color: var(--muted); }
.section-tint .feature, .section-tint .faq-list { background: var(--surface); }

.chip-list { list-style: none; padding: 0; margin: 20px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { background: var(--navy-tint); color: var(--ink); font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.numbered { padding-left: 22px; }
.numbered li { margin-bottom: 10px; }

/* Questions: one card, divided rows */
.faq-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; box-shadow: var(--shadow); }
.faq + .faq { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: var(--weight-semibold); font-family: var(--font-heading); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::after {
    /* A thin orange chevron, no circle: points down to the answer, and turns to point up once it is open */
    content: ''; flex: none; width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F44E1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 22px no-repeat;
    transition: transform 0.3s ease; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Get the app: a navy band with the adire pattern, from one edge of the screen to the other */
.app-band { margin: 0 0 56px; padding: 48px 0; background: var(--deep) var(--pattern-light); background-size: auto, 64px; color: #fff; }
.section-tint + .app-band { margin-top: 88px; }
.app-band-row { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.app-band h2 { color: #fff; }
.app-band p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 0 auto; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; padding: 8px 18px; font-weight: var(--weight-bold); font-family: var(--font-heading); font-size: 18px; line-height: var(--leading-tight); }
.store-badge-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; }
.store-badge-small { font-weight: var(--weight-medium); font-size: 11px; opacity: 0.75; }
.hero-store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 24px auto 0;
    padding: 40px
}

/* ---- A restaurant's page ---- */
.store-head { display: flex; gap: 32px; align-items: center; margin-bottom: 36px; background: var(--band); border-radius: var(--radius); padding: 32px; }
.store-head-media { width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden; background: var(--navy-tint); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-lifted); }
.store-head-media img { width: 100%; height: 100%; object-fit: cover; }
.store-meta { font-weight: var(--weight-semibold); font-family: var(--font-body); color: var(--muted); }
.menu-section { display: flex; align-items: center; gap: 12px; margin: 40px 0 14px; color: var(--ink); }
.menu-section-name { font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: 24px; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.menu { list-style: none; padding: 4px 24px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; }
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.menu-item p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.menu-price { font-weight: var(--weight-bold); font-family: var(--font-body); white-space: nowrap; color: var(--orange); }
.menu-price small { font-weight: var(--weight-medium); color: var(--muted); }
/* "Size: SM · MD · XL", and "Color:" with a swatch for each colour (the same list and shades as the app) */
.menu-colours { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.menu-item p.menu-option, .menu-item p.menu-colours { font-size: 14px; }
.menu-option-label { color: var(--ink); font-family: var(--font-body); font-weight: var(--weight-semibold); margin-right: 2px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }
/* These swatches show a product's real colours, so they keep their own shades */
.swatch-black { background: #111111; } .swatch-white { background: #ffffff; } .swatch-grey { background: #9ca3af; }
.swatch-silver { background: #c0c4cc; } .swatch-gold { background: #d4af37; } .swatch-red { background: #dc2626; }
.swatch-orange { background: #f97316; } .swatch-yellow { background: #facc15; } .swatch-green { background: #16a34a; }
.swatch-blue { background: #2563eb; } .swatch-navy { background: #1e3a8a; } .swatch-purple { background: #7c3aed; }
.swatch-pink { background: #ec4899; } .swatch-brown { background: #92400e; } .swatch-beige { background: #e7d8c0; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---- Account pages: one card on a warm glow, with the form inside ---- */
.auth-section {
    padding: 40px 16px 88px;
    background: var(--page);
}
.auth-card {
    width: 100%; max-width: 480px; margin: 0 auto; padding: 32px; text-align: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lifted);
}
.auth-mark { width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 12px; }
.auth-title { font-size: clamp(28px, 4vw, 34px); margin-bottom: 4px; }
.auth-subtitle { color: var(--muted); margin: 0 auto 16px; max-width: 360px; line-height: var(--leading-snug); }
.auth-form { display: grid; gap: 10px; text-align: left; }
/* hCaptcha's box (its compact size: the tick box above its mark), centred, and held at its height while it loads so the button doesn't jump */
.captcha { display: grid; justify-items: center; gap: 6px; min-height: 144px; }
.auth-forgot { justify-self: end; margin-top: -4px; }
.auth-switch { margin: 2px 0 0; text-align: center; color: var(--muted); font-size: 13px; line-height: var(--leading-snug); }
.text-link.auth-forgot, .auth-switch .text-link { color: var(--accent); }
/* The same size as the Create account / Log in line under the button */
.text-link.auth-forgot { font-size: 13px; }
.button-block { width: 100%; }

/* Form fields: a label, a rounded box that turns navy when in use or red when wrong, and the error under it */
.field { display: grid; gap: 4px; min-width: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-label { font-size: 14px; line-height: var(--leading-snug); font-weight: var(--weight-semibold); font-family: var(--font-body); }
.field-control {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 46px; padding: 0 14px;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-small); transition: border-color 0.15s, box-shadow 0.15s;
}
.field-control:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field-control-error, .field-control-error:focus-within { border-color: var(--red); box-shadow: none; }
.field-prefix { font-weight: var(--weight-semibold); font-family: var(--font-body); padding-right: 10px; border-right: 1px solid var(--line); }
/* The typed text and its placeholder share one line height, so both sit in the middle of the box */
.field-input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); padding: 10px 0; }
.field-input::placeholder { color: var(--placeholder); font-size: 15px; line-height: 1.4; font-weight: var(--weight-regular); }
.field-input-code { font-size: 22px; font-weight: var(--weight-bold); font-family: var(--font-body); letter-spacing: 0.4em; }
.field-error { margin: 0; color: var(--red); font-size: 13px; }
.field-icon-button { border: 0; background: none; padding: 6px; margin-right: -6px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.field-icon-button:hover { color: var(--ink); }

/* What went wrong, or good news such as "Code sent" */
/* Messages for customers (a store closed, an error, good news), centred in their box */
.notice { margin: 0; padding: 9px 12px; border-radius: var(--radius-small); font-size: 13px; line-height: var(--leading-snug); font-weight: var(--weight-medium); text-align: center; }
/* Red text on the page itself, with no box behind it */
.notice-error { background: none; color: var(--red); padding: 4px 0; }
.notice-good { background: var(--green-tint); color: var(--ink); }

.text-link { border: 0; background: none; padding: 0; font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); color: var(--ink); cursor: pointer; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.account-details { list-style: none; margin: 0 0 24px; padding: 4px 18px; text-align: left; background: var(--band); border-radius: var(--radius-small); }
.account-details li { display: flex; align-items: center; gap: 12px; padding: 14px 0; overflow-wrap: anywhere; }
.account-details li + li { border-top: 1px solid var(--line); }
.account-details li > span:first-of-type, .account-detail { flex: 1; min-width: 0; }
.account-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.account-details svg { color: var(--ink); }
.account-badge {
    display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 10px; border-radius: 999px;
    font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-body); text-decoration: none; background: var(--navy-tint); color: var(--ink);
}
.account-badge svg { width: 14px; height: 14px; color: inherit; }
.account-badge-good { background: var(--green); color: #fff; }

/* ---- Ordering pages ---- */
.app-page { padding: 24px 0 96px; min-height: 60vh; }
.app-page-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 6px; }
.app-page-subtitle { margin-bottom: 18px; }
.app-page-subtitle.center { margin-left: auto; margin-right: auto; }
.small-note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.card-label { font-weight: var(--weight-bold); font-family: var(--font-heading); margin: 0 0 8px; }
.center-lead { margin: 0 auto 8px; }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-danger { background: var(--red); border-color: var(--red); }
.button-danger:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.notice { margin: 12px 0; }

/* Search and the All / Open now / Name switch above a list of stores */
.list-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.search-box { flex: 1 1 280px; }
.search-box input {
    width: 100%; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
    font: inherit; color: var(--ink); background: var(--surface);
}
.search-box input:focus { outline: 0; border-color: var(--navy); box-shadow: none; }
/* The hint inside the box: faint and light, so it never reads as typed text */
.search-box input::placeholder { color: var(--placeholder); font-weight: var(--weight-regular); opacity: 1; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--band); }
.segmented button { border: 0; background: none; font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 15px; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.segmented button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.segmented-wide { display: flex; margin: 0 auto 24px; max-width: 420px; }
.segmented-wide button { flex: 1; }

/* Food's "Show" dropdown and the dishes it lists */
.select-box { display: inline-flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; min-height: 50px; border-radius: 999px; background: var(--band); font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 15px; }
.select-box select {
    /* Cream with navy text and a navy arrow; no orange fill */
    min-height: 40px; padding: 0 36px 0 14px; border: 0; border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231C223A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: var(--ink); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); cursor: pointer; appearance: none;
}
.list-heading { font-family: var(--font-heading); font-size: 20px; letter-spacing: var(--tracking-snug); margin: 8px 0 16px; }
.dish-section-after { margin-top: 40px; }
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.dish-card { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lifted); }
.dish-card-media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--band); }
.dish-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-card-media .dish-card-icon { width: 56px; height: 56px; object-fit: contain; }
.dish-card-body { display: grid; gap: 2px; padding: 12px 14px 14px; }
.dish-card-body strong { font-size: 15px; line-height: var(--leading-snug); font-family: var(--font-heading); }
.dish-card-body span { color: var(--muted); font-size: 13px; }
.dish-card-body em { font-style: normal; font-weight: var(--weight-bold); font-family: var(--font-body); margin-top: 4px; color: var(--orange); }

/* Open or closed */
.open-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-body); }
.open-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status-open { color: var(--ink); }
.open-status-open .open-status-dot { background: var(--green); box-shadow: 0 0 0 2px var(--navy); color: #fff; }
.open-status-closed { color: var(--muted); }
.place-card-closed .place-card-media img { filter: grayscale(0.6); opacity: 0.8; }

/* A store's page */
.store-tags { font-weight: var(--weight-semibold); font-family: var(--font-body); color: var(--accent); margin-bottom: 6px; }
.store-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 12px 0 0; font-weight: var(--weight-semibold); font-family: var(--font-body); font-size: 15px; }
.store-facts span { display: inline-flex; align-items: center; gap: 6px; }
.store-facts svg { color: var(--ink); }
.menu-item { align-items: center; }
.menu-item-text { min-width: 0; }
.menu-item-text strong { font-size: 17px; font-weight: var(--weight-semibold); font-family: var(--font-heading); }
.menu-item-text .menu-price { display: block; margin-top: 6px; color: var(--orange); }
.menu-item-card { flex: none; width: 120px; border-radius: var(--radius-small); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.menu-item-card-photo { display: grid; place-items: center; height: 96px; background: var(--band); }
.menu-item-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-card-photo .menu-item-card-icon { width: 44px; height: 44px; object-fit: contain; }
.add-bar {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 38px; border: 0; padding: 0 6px;
    background: var(--navy); color: #fff; font: inherit; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: 15px; cursor: pointer;
}
button.add-bar:hover { background: var(--navy-hover); color: #fff; }
.add-bar:disabled { opacity: 0.4; cursor: not-allowed; }
.add-bar-stepper { justify-content: space-between; cursor: default; }
.add-bar-stepper button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #fff; cursor: pointer; }
.add-bar-stepper button:hover { background: rgba(255, 255, 255, 0.18); }
.add-bar-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.add-bar-stepper > span { font-family: var(--font-body); font-weight: var(--weight-bold); }
.stock-tag { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-body); color: var(--red); }
.stock-tag-out { padding: 2px 10px; border-radius: 999px; background: var(--red-tint); color: var(--red); }
.menu-line-total { display: block; margin-top: 6px; font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-body); color: var(--ink); }
.basket-line-name small { display: block; color: var(--muted); font-size: 13px; font-weight: var(--weight-medium); }
.rx-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--red-tint); color: var(--red); font-size: 12px; font-weight: var(--weight-bold); font-family: var(--font-body); vertical-align: middle; }

/* The top of a store's page: the photo, then everything centred under it */
.store-hero { display: grid; justify-items: center; text-align: center; margin-bottom: 28px; }
.store-hero-media { display: block; width: 100%; aspect-ratio: 16 / 7; max-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--band); box-shadow: var(--shadow); margin-bottom: 22px; }
.store-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.store-hero-media-icon img, .place-card-media-icon img { object-fit: contain; padding: 14%; }
.store-hero-name { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 8px; color: var(--green-ink); }
.store-hero-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0; color: var(--muted); font-size: 15px; }
.store-hero-line strong { color: var(--ink); }
.store-hero-line svg { color: var(--ink); width: 16px; height: 16px; }
.store-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.store-hero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: var(--weight-semibold); font-family: var(--font-ui); }
.store-hero-chip svg { width: 16px; height: 16px; }
.store-hero-about { max-width: 560px; margin: 14px auto 0; color: var(--muted); }
.store-hero-order { margin-top: 18px; }

/* Add, then − count +, like the app */
.add-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 84px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--navy);
    background: var(--surface); color: var(--ink); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 15px; cursor: pointer;
}
.add-button:hover { background: var(--navy); color: #fff; }
.add-button:disabled { opacity: 0.4; cursor: not-allowed; background: var(--surface); color: var(--ink); }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: var(--navy); color: #fff; }
.stepper button {
    width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff;
    display: grid; place-items: center; cursor: pointer;
}
.stepper button:hover { background: rgba(255, 255, 255, 0.28); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper > span { min-width: 22px; text-align: center; font-weight: var(--weight-bold); font-family: var(--font-body); }

/* Choosing a size and colour */
.options-label { font-weight: var(--weight-bold); font-family: var(--font-heading); margin: 4px 0 10px; }
.colour-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.colour-chip {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 14px; color: var(--ink); cursor: pointer;
}
.colour-chip-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.colour-chip-dot { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--page); }
.colour-chip .swatch { width: 16px; height: 16px; }
.option-rows { list-style: none; margin: 0; padding: 0; }
.option-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.option-row + .option-row { border-top: 1px solid var(--line); }
.option-row > span { display: grid; }
.option-price { color: var(--orange); font-size: 14px; }

/* Dialogs over the page */
.app-dialog { width: min(480px, calc(100% - 32px)); border: 0; border-radius: var(--radius); padding: 0; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-lifted); }
.app-dialog-wide { width: min(640px, calc(100% - 32px)); }
.app-dialog::backdrop { background: rgba(28, 34, 58, 0.55); backdrop-filter: blur(2px); }
.app-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px 0; }
.app-dialog-head h2 { margin: 0; font-size: 22px; }
.app-dialog-head .float-button { width: 40px; height: 40px; box-shadow: none; background: var(--band); font-size: 15px; }
.app-dialog-body { padding: 14px 24px; }
.app-dialog-body p { color: var(--muted); }
.app-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 24px 22px; }

/* The basket bar at the bottom of a store's page */
.basket-bar {
    position: fixed; z-index: 9; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 32px));
    display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 999px;
    background: var(--accent); color: #fff; text-decoration: none; font-weight: var(--weight-semibold); font-family: var(--font-ui); box-shadow: 0 14px 34px rgba(28, 34, 58, 0.4);
    animation: rise 0.3s ease both;
}
.basket-bar:hover { background: var(--accent-hover); color: #fff; }

/* The basket, store by store */
.basket-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 20px; }
.basket-group + .basket-group { border-top: 1px dashed var(--line); }
.basket-group-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 6px; }
.basket-group-head a { font-weight: var(--weight-bold); font-family: var(--font-heading); font-size: 17px; color: var(--green-ink); text-decoration: none; }
.basket-group-head a:hover { color: var(--accent); }
.basket-group ul { list-style: none; margin: 0; padding: 0 0 10px; }
.basket-line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 10px 0; }
.basket-line-name { min-width: 0; }
.basket-line-price { font-weight: var(--weight-bold); font-family: var(--font-body); color: var(--orange); }
.basket-line-quantity { min-width: 36px; text-align: right; font-weight: var(--weight-bold); font-family: var(--font-body); color: var(--ink); }

/* Money */
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin: 16px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.summary-row > span:first-child { color: var(--muted); }
.summary-row-bold { font-weight: var(--weight-bold); font-family: var(--font-body); font-size: 18px; }
.summary-row-bold > span:first-child { color: var(--ink); }
.summary-divider { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.summary-link { display: block; color: inherit; text-decoration: none; }
.summary-link:hover .summary-row > span:first-child { color: var(--ink); }

/* Checkout: the order and address on the left, payment on the right; one column on phones */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout-main { display: grid; gap: 14px; min-width: 0; }
.checkout-side { position: sticky; top: 92px; display: grid; gap: 12px; }
.checkout-side .summary-card { margin: 0; }
.checkout-heading { font-size: 20px; margin: 12px 0 0; }
.checkout-subheading { font-size: 17px; margin: 10px 0 0; }
.option-buttons { display: grid; gap: 10px; }
.option-button {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; border-radius: var(--radius-small);
    border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); color: var(--ink); cursor: pointer;
}
.option-button svg { color: var(--ink); }
.option-button:hover { border-color: var(--accent); }
.pay-method { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius-small); border: 2px solid var(--accent); background: var(--surface); }
.pay-method span { color: var(--muted); font-size: 14px; }

/* Sending it as a gift */
.gift-card { border: 1.5px dashed var(--placeholder); border-radius: var(--radius); background: var(--accent-tint); padding: 4px; }
.gift-card-on { border-style: solid; border-color: var(--accent); background: var(--surface); }
.gift-toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.gift-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.gift-card-on .gift-icon { background: var(--accent); color: #fff; }
.gift-text { flex: 1; display: grid; }
.gift-text span { color: var(--muted); font-size: 14px; }
.gift-fields { display: grid; gap: 14px; padding: 4px 14px 16px; }

/* Payment confirmed */
.success-mark { width: 84px; height: 84px; margin: 20px auto 18px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px var(--accent-tint); }
.success-mark svg { width: 40px; height: 40px; }

/* Orders */
.order-list { display: grid; gap: 14px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.order-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-card-head h2 { font-size: 18px; margin: 0; color: var(--green-ink); }
.order-card-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.order-card-note { margin: 12px 0 4px; }
.order-card-items { color: var(--muted); font-size: 14px; margin: 0; }
.order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-card-foot strong { font-size: 18px; }
.order-card-actions { display: flex; gap: 8px; }
.status-badge { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-body); background: var(--band); color: var(--ink); }
.status-pending, .status-requested { background: var(--accent-tint); color: var(--ink); }
.status-price-ready, .status-preparing { background: var(--accent-tint); color: var(--accent); }
.status-picked-up, .status-arrived { background: var(--navy-tint-strong); color: var(--ink); }
.status-completed { background: var(--green); color: #fff; }
.status-cancelled { background: var(--band); color: var(--muted); }
.status-note { font-size: 18px; font-weight: var(--weight-semibold); font-family: var(--font-heading); margin: 14px 0; }
.rider-note { padding: 14px 16px; border-radius: var(--radius-small); background: var(--band); }

/* Order progress: four milestones joined by bars */
.order-progress { margin: 18px 0 4px; }
.order-progress-bars { display: flex; gap: 6px; }
.order-progress-bars span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.order-progress-bars span.is-done { background: var(--green); color: #fff; }
.order-progress-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.order-progress-steps .is-done { color: var(--ink); font-weight: var(--weight-bold); font-family: var(--font-heading); }

/* Waiting time, charges and an expired code */
.code-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 16px 0; }
.code-card-big { font-size: 40px; font-weight: var(--weight-bold); font-family: var(--font-body); margin: 4px 0; letter-spacing: var(--tracking-tight); }
.code-card .button { margin-top: 14px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.errand-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.errand-photo { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; background: var(--band); }
.route-list { margin: 0; }
.route-list dt { color: var(--muted); font-size: 13px; margin-top: 10px; }
.route-list dd { margin: 2px 0 0; }

/* The delivery code: navy with the adire pattern and an orange glow, each digit on its own tile */
.delivery-code {
    position: relative; overflow: hidden; margin: 20px 0; padding: 26px 22px 22px; border-radius: var(--radius); text-align: center; color: #fff;
    background: var(--deep) var(--pattern-light);
    background-size: auto, 56px; box-shadow: 0 22px 50px rgba(28, 34, 58, 0.3);
}
.delivery-code-brand {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: var(--weight-bold); font-family: var(--font-body); letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.delivery-code-brand .logo-mark { width: 24px; height: 24px; border-radius: 7px; border: 0; }
.delivery-code-title { margin: 14px 0 18px; font-weight: var(--weight-semibold); font-family: var(--font-heading); font-size: 17px; }
.delivery-code-digits { display: flex; justify-content: center; gap: 12px; }
.delivery-code-digits span {
    width: clamp(56px, 16vw, 72px); aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 18px;
    background: #fff; color: var(--navy); font-size: clamp(34px, 9vw, 44px); font-weight: var(--weight-bold); font-family: var(--font-body);
    box-shadow: inset 0 -5px 0 var(--accent), 0 8px 18px rgba(28, 34, 58, 0.25);
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.delivery-code-digits span:nth-child(2) { animation-delay: 0.06s; }
.delivery-code-digits span:nth-child(3) { animation-delay: 0.12s; }
.delivery-code-digits span:nth-child(4) { animation-delay: 0.18s; }
.delivery-code-note { max-width: 420px; margin: 18px auto 0; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.delivery-code-note svg { display: inline-block; vertical-align: -3px; margin-right: 6px; color: var(--accent); }

/* Parcel Delivery: the three steps, then the request form */
.errand-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.errand-steps li { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius-small); background: var(--band); font-weight: var(--weight-semibold); font-family: var(--font-heading); font-size: 15px; }
.errand-steps span { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 14px; }
.errand-form { display: grid; gap: 20px; }
.field-control-area { align-items: stretch; padding: 4px 14px; }
.field-control-area textarea { resize: vertical; min-height: 120px; line-height: var(--leading-body); }
.field-count { justify-self: end; color: var(--muted); font-size: 13px; }
.errand-photos-row { display: flex; flex-wrap: wrap; gap: 12px; }
.errand-photo-tile { position: relative; width: 96px; height: 96px; border-radius: var(--radius-small); overflow: hidden; background: var(--band); }
.errand-photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.errand-photo-tile button {
    position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0;
    background: rgba(28, 34, 58, 0.75); color: #fff; font-size: 12px; cursor: pointer;
}
.errand-photo-add {
    display: grid; place-items: center; align-content: center; gap: 4px; border: 1.5px dashed var(--navy-tint-strong); background: var(--navy-tint);
    color: var(--ink); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 13px; cursor: pointer;
}
.errand-photo-add:hover { border-color: var(--accent); }
.errand-counter { display: inline-flex; align-items: center; gap: 16px; justify-self: start; }
.errand-counter button {
    width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.errand-counter button:disabled { opacity: 0.35; cursor: not-allowed; }
.errand-counter strong { min-width: 32px; text-align: center; font-size: 22px; }
.errand-route { display: grid; gap: 14px; padding-left: 18px; border-left: 3px dashed var(--navy-tint-strong); }
.errand-add-stop { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.errand-estimate { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-tint); }
.errand-estimate span { color: var(--muted); font-size: 14px; }
.errand-estimate strong { font-size: 28px; }

/* ---- The profile: who you are, shortcuts, then grouped menus ---- */
.profile-card {
    display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; padding: 28px;
    border-radius: var(--radius); color: #fff; background: var(--deep) var(--pattern-light);
    background-size: auto, 64px;
}
.profile-avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 28px; font-weight: var(--weight-bold); font-family: var(--font-heading); }
.profile-who h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.profile-who p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; overflow-wrap: anywhere; }
.profile-who svg { width: 16px; height: 16px; }
.profile-card .account-badge-good { background: var(--green); color: #fff; }
.profile-card .account-badge { background: #fff; color: var(--navy); }
.profile-note { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.profile-note .text-link { color: #fff; text-decoration: underline; }
.profile-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.profile-tile {
    position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px 10px; border-radius: var(--radius); text-align: center;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 14px;
}
.profile-tile svg { width: 26px; height: 26px; }
a.profile-tile:hover { border-color: var(--accent); }
.profile-tile-soon { color: var(--muted); }
.profile-tile em { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 10px; font-weight: var(--weight-bold); font-family: var(--font-body); padding: 2px 7px; border-radius: 999px; background: var(--band); }
.menu-group-title { font-size: 13px; font-weight: var(--weight-bold); font-family: var(--font-heading); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); margin: 0 0 8px 4px; }
.menu-group-list { list-style: none; margin: 0; padding: 4px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-group-list li + li { border-top: 1px solid var(--line); }
.menu-row {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left;
    font: inherit; color: var(--ink); text-decoration: none; cursor: pointer;
}
.menu-row:hover { background: var(--band); }
.menu-row-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.menu-row-icon svg { width: 20px; height: 20px; }
.menu-row-text { flex: 1; display: grid; min-width: 0; }
.menu-row-text strong { font-size: 15px; }
.menu-row-text span { color: var(--muted); font-size: 13px; }
.menu-row > svg { color: var(--muted); }
.menu-row-soon { cursor: default; opacity: 0.6; }
.menu-row-soon:hover { background: none; }
.menu-row-danger { color: var(--red); }
.menu-row-danger .menu-row-icon { background: var(--red-tint); }
.soon-tag { flex: none; font-size: 11px; font-weight: var(--weight-bold); font-family: var(--font-body); padding: 3px 9px; border-radius: 999px; background: var(--band); color: var(--muted); }

/* ---- Help & support ---- */
.support { display: grid; gap: 28px; }
.support-hero { padding: 32px; border-radius: var(--radius); background: var(--band); }
.support-search {
    display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 14px; padding: 0 18px; min-height: 56px;
    border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow);
}
.support-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.support-search svg { color: var(--muted); }
.support-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.support-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.support-card h2, .support-topics h2, .support-contact h2 { font-size: 20px; margin-bottom: 12px; }
.support-orders { list-style: none; margin: 0; padding: 0; }
.support-orders li + li { border-top: 1px solid var(--line); }
.support-order { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.support-order > span:first-child { display: grid; min-width: 0; }
.support-order > span:first-child span { color: var(--muted); font-size: 13px; }
.support-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.support-status-open { background: var(--accent-tint); color: var(--ink); }
.support-status-answered { background: var(--green); color: #fff; }
.support-status-closed { background: var(--band); color: var(--muted); }
.support-ask { margin-top: 12px; gap: 8px; }
.support-ask svg { width: 18px; height: 18px; }
.support-topic { margin-top: 18px; }
.support-topic h3 { font-size: 15px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--muted); margin-bottom: 10px; }
.support-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--accent-tint); }
.support-contact p { margin: 0; color: var(--muted); }
.support-contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.support-contact-buttons .button { background: var(--surface); color: var(--ink); }
.support-contact-buttons .button:hover { background: var(--accent-hover); color: #fff; }
.support-contact-buttons svg { width: 18px; height: 18px; }
.issue-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.issue-chip { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: var(--weight-semibold); font-family: var(--font-ui); font-size: 14px; color: var(--ink); cursor: pointer; }
.issue-chip.is-on { border-color: var(--accent); background: var(--accent); color: #fff; }
.help-form .options-label { display: block; }
.get-help { margin-top: 10px; }

/* A conversation with Flashio */
.thread { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; }
.bubble p { margin: 4px 0 0; white-space: pre-wrap; }
.bubble-who { font-size: 12px; font-weight: var(--weight-bold); font-family: var(--font-body); opacity: 0.7; }
.bubble-user { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bubble-flashio { justify-self: start; background: var(--band); border-bottom-left-radius: 6px; }
.reply-box { display: grid; gap: 10px; }
.reply-box .button { justify-self: end; }

/* Nothing here yet */
.empty-state { text-align: center; padding: 48px 24px; background: var(--band); border-radius: var(--radius); }
.empty-state-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.empty-state-icon svg { width: 32px; height: 32px; }
.empty-state h2 { font-size: 24px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* The header's basket count */
.basket-button { position: relative; }
.basket-count {
    position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: 11px; font-weight: var(--weight-bold); font-family: var(--font-body); display: grid; place-items: center; border: 2px solid var(--page);
}
.basket-count[hidden] { display: none; }

/* ---- Footer: navy ---- */
.site-footer { background: var(--navy); border-top: 4px solid var(--accent); color: rgba(255, 255, 255, 0.75); padding: 36px 0 18px; font-size: 14px; line-height: var(--leading-snug); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 20px 24px; }
.footer-tagline { margin: 8px 0 0; max-width: 290px; }
.footer-title { font-size: 13px; color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; text-align: center; }

/* The phone action bar, hidden on wider screens */

/* ---- Screen sizes ---- */

@media (min-width: 1440px) {
    :root { --wrap: 1280px; }
    .hero { padding-bottom: 40px; }
}

@media (max-width: 1100px) {
    .service-tiles { grid-template-columns: repeat(2, 1fr); }
    .float-card-food { left: 0; }
}

@media (max-width: 960px) {
    .hero { padding-top: 88px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-art { min-height: 0; max-width: 520px; margin: 0 auto; width: 100%; }
    .locate { max-width: none; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .page-hero-art { width: 160px; height: 160px; order: -1; }
    .page-hero-art svg { width: 110px; height: 110px; }
    .service-grid, .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .app-band-row { flex-direction: column; align-items: center; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-side { position: static; }
}

/* Phones: one column, big tap targets, and the two main actions fixed at the bottom */
@media (max-width: 600px) {
    body { font-size: 15px; }
    /* Sizes in line with other delivery sites on a phone: about 28px headings, 22px sections, 15px text */
    h1, h2, h3 { margin-bottom: 10px; }
    h1 { font-size: 28px; }
    h2, .section-title { font-size: 22px; }
    .section-title { margin-bottom: 8px; }
    .section-head { margin-bottom: 10px; }
    h3 { font-size: 17px; }
    .lead { font-size: 16px; }
    .app-page-title, .store-hero-name, .auth-title { font-size: 24px; }
    .profile-who h1 { font-size: 22px; }
    .page-hero h1 { font-size: 26px; }
    .page-hero-art { width: 96px; height: 96px; }
    .page-hero-art svg { width: 64px; height: 64px; }
    .page-hero-grid { gap: 16px; }
    .eyebrow { font-size: 11px; }
    .button { font-size: 15px; min-height: 48px; padding: 0 20px; }
    .service-tile-text strong { font-size: 15px; }
    .service-tile-text span, .place-card-body p, .dish-card-body span, .small-note, .crumbs ol { font-size: 13px; }
    .service-card p, .step p, .faq p, .feature p, .area-card p { font-size: 14px; }
    .place-card-body h3 { font-size: 16px; }
    .faq summary { font-size: 15px; padding: 13px 0; }
    .menu-item-text strong { font-size: 15px; }
    .menu-section { margin: 24px 0 10px; gap: 10px; }
    .menu-section-name { font-size: 20px; }
    .menu-item p, .store-hero-line, .store-hero-chip { font-size: 13px; }
    .code-card-big { font-size: 32px; }
    .errand-estimate strong { font-size: 24px; }
    .site-footer { font-size: 14px; padding: 28px 0 14px; }
    .field-input, .search-box input, .support-search input, .locate-box input { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .hero { padding: 80px 0 16px; }
    .section { padding: 28px 0; }
    .app-band { margin-bottom: 32px; padding: 32px 0; }
    .hero-store-badges { margin-top: 16px; padding: 12px 0; }
    .store-badge { font-size: 15px; padding: 6px 14px; gap: 8px; }
    .store-badge-icon { width: 22px; height: 22px; }
    .store-badges { flex-direction: column; align-items: center; }
    .section-tint + .app-band { margin-top: 32px; }
    .page-hero > .wrap, .store-head { border-radius: var(--radius); padding: 22px 16px; }
    .page-hero > .wrap { width: calc(100% - 32px); }
    /* Order Now stays inside the bar, smaller, so the bar keeps its shape on a phone */
    .locate-row { padding: 3px 3px 3px 6px; gap: 6px; }
    .locate-box { gap: 8px; padding-left: 4px; }
    .locate-pin-button { width: 36px; height: 36px; margin-left: 0; }
    .locate-box input { font-size: 15px; padding: 10px 0; }
    .locate-row .button-order { min-height: 38px; padding: 0 14px; font-size: 13px; box-shadow: none; }
    .locate-list { right: -8px; top: calc(100% + 10px); }
    .float-card { font-size: 12px; padding: 8px 10px 8px 8px; }
    .float-card strong { font-size: 12px; }
    .float-card span { font-size: 11px; }
    .float-card img { width: 34px; height: 34px; }
    .float-card-tick { width: 28px; height: 28px; }
    .float-card-rider { display: none; }
    .service-tiles { gap: 10px; }
    .service-tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .service-tile-icon { width: 54px; height: 54px; border-radius: 16px; }
    .service-tile-icon img { width: 40px; height: 40px; }
    .service-tile-text strong { font-size: 16px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .feature-grid, .area-grid { grid-template-columns: 1fr; }
    /* The logo across the top, then the link lists two to a row */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .store-head { flex-direction: column; align-items: flex-start; }
    .store-head-media { width: 120px; height: 120px; }
    .hero-actions .button, .contact-buttons .button { flex: 1 1 100%; }
    .site-menu-panel { width: 100%; }
    .auth-section { padding: 16px 16px 56px; }
    .auth-card { padding: 22px 16px; border-radius: var(--radius); }
    .field-pair { grid-template-columns: 1fr; }
    .errand-steps { grid-template-columns: 1fr; }
    .store-hero-media { aspect-ratio: 16 / 10; border-radius: 22px; }
    .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .select-box { width: 100%; justify-content: space-between; }
    .support-grid { grid-template-columns: 1fr; }
    .support-hero { padding: 22px; }
    .bubble { max-width: 92%; }
    .errand-photo-tile { width: 88px; height: 88px; }
    .app-page { padding: 16px 0 140px; }
    .basket-bar { bottom: calc(16px + env(safe-area-inset-bottom)); border-radius: 20px; }
    .menu-item { padding: 14px 0; }
    .menu-item-card { width: 104px; }
    .menu-item-card-photo { height: 80px; }
    .basket-line { grid-template-columns: 1fr auto; }
    .basket-line .stepper, .basket-line-quantity { grid-column: 2; justify-self: end; }
    .basket-line-price { grid-row: 1; grid-column: 2; }
    .order-card-foot { flex-direction: column; align-items: stretch; }
    .order-card-actions .button { flex: 1; }
    .card-actions .button, .app-dialog-actions .button { flex: 1; }
    .header-actions { gap: 8px; }
    .float-button { width: 44px; height: 44px; }
}

/* Very small phones */
@media (max-width: 360px) {
    h1 { font-size: 27px; }
    .app-page-title, .store-hero-name, .auth-title { font-size: 24px; }
    h2, .section-title { font-size: 20px; }
    .service-tiles { grid-template-columns: 1fr; }
    .service-tile { flex-direction: row; align-items: center; }
    .float-card-food { display: none; }
}

/* ---- Motion. Short, soft and only where it says something. Everything stops for people who ask for less motion. ---- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drive-in { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes streak { 0% { opacity: 0; transform: translateX(24px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(-36px); } }
@keyframes shadow-pulse { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.94); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-art .rider-scene { animation: drive-in 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rider-scene .wheel { animation: spin 0.9s linear infinite; }
.rider-scene .scene-bob { animation: bob 0.6s ease-in-out infinite; }
.rider-scene .scene-speed path { animation: streak 1.1s ease-out infinite; }
.rider-scene .scene-speed path:nth-child(2) { animation-delay: 0.35s; }
.rider-scene .scene-speed path:nth-child(3) { animation-delay: 0.7s; }
.rider-scene .scene-shadow { transform-origin: 250px 352px; animation: shadow-pulse 0.6s ease-in-out infinite; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.service-card, .service-tile, .place-card, .area-card, .feature { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.15s, opacity 0.6s ease; }
.service-card:hover, .service-tile:hover, .place-card:hover, .area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lifted); border-color: transparent; }
.area-card:hover::after { transform: translateX(4px); }
.service-photo, .place-card-media img { transition: transform 0.5s ease; }
.service-card:hover .service-photo, .place-card:hover .place-card-media img { transform: scale(1.04); }
.place-card-media, .service-card { overflow: hidden; }
.button { transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
.button:active { transform: scale(0.97); }
/* On hover the circle fills navy and the arrow glides out and back in, once */
.arrow-link:has(.arrow-link-icon) { width: fit-content; gap: 6px; padding-bottom: 2px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1.5px no-repeat; transition: background-size 0.3s ease; }
.service-card:hover .arrow-link, .bring-slide:hover .arrow-link, .bring-slide:focus-visible .arrow-link, .arrow-link:hover { background-size: 100% 1.5px; }
.service-card:hover .arrow-link-icon, .bring-slide:hover .arrow-link-icon, .bring-slide:focus-visible .arrow-link-icon, .arrow-link:hover .arrow-link-icon { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero-scene:first-of-type { opacity: 1; }
}

/* The hero's headline type */
.hero-copy .hero-retro-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 14px;
    padding: 7px 10px;
    border: 1.5px solid var(--navy);
    color: #fff4df;
    background: #e53935;
    box-shadow: 3px 3px 0 var(--navy);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    transform: rotate(-2deg);
}

.hero-copy .hero-retro-title {
    max-width: 650px;
    color: var(--hero-title);
    font-family: var(--font-heading);
    font-size: clamp(42px, 5.8vw, 76px);
    font-weight: var(--weight-heavy);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-copy .lead {
    max-width: 440px;
    color: #49433b;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: var(--leading-body);
}

@media (max-width: 700px) {
    .hero-copy .hero-retro-title { font-size: clamp(30px, 8.5vw, 36px); }
}

/* ---- Two columns of smaller cards on a service's page (Food, Shop, Mall…), on every screen ---- */
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-two .dish-card-media { aspect-ratio: 2 / 1; }
.grid-two .place-card-body { padding: 12px 14px 14px; }
.grid-two .place-card-body h3 { font-size: 16px; }
@media (max-width: 600px) {
    .grid-two { gap: 12px; }
    .grid-two .place-card-media, .grid-two .dish-card-media { aspect-ratio: 16 / 10; }
    .grid-two .place-card-body { padding: 10px 12px 12px; }
    .grid-two .place-card-body h3 { font-size: 15px; }
}

/* ---- Stars: a review's rating, and the five to tap when leaving one ---- */
.stars { display: inline-flex; gap: 4px; }
.star { display: inline-flex; color: var(--navy-tint-strong); }
.star.is-on { color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.stars-input .star { background: none; border: 0; padding: 4px; cursor: pointer; border-radius: 8px; }
.stars-input svg { width: 32px; height: 32px; }
.stars-input .star:hover { color: var(--accent); }
.review-form { display: grid; gap: 12px; }
.review-form .card-label { margin-bottom: -4px; }
.review-form .options-label { margin: 0; }
.review-comment { margin: 10px 0 0; }

/* ---- Testimonials: customers' reviews, newest first ---- */
.testimonials-empty { margin: 0; padding: 24px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.testimonial-grid[hidden], .testimonials-empty[hidden] { display: none; }
.testimonial-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.testimonial { display: grid; gap: 12px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0; font-size: 16px; font-style: italic; line-height: var(--leading-body); overflow-wrap: anywhere; }
.testimonial-name { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-family: var(--font-heading); font-weight: var(--weight-bold); }
.testimonial-name span { color: var(--muted); font-weight: var(--weight-regular); font-size: 14px; }

/* ---- How Flashio works: a phone playing each step beside the list. Three screens, four seconds each. ---- */
/* Only the phone now: it shows the steps itself */
.steps-showcase { display: grid; justify-items: center; }
.steps-showcase .steps { grid-template-columns: 1fr; gap: 12px; }
.steps-showcase .steps::before { display: none; }
.steps-showcase .step { animation: step-lit 12s infinite; animation-delay: calc(var(--screen) * 4s); }
@keyframes step-lit {
    0%, 32% { border-color: var(--accent); background: var(--surface); }
    34%, 100% { border-color: var(--line); background: var(--surface); }
}

.phone {
    position: relative; width: 270px; aspect-ratio: 9 / 19.5; border: 10px solid var(--navy); border-radius: 46px;
    background: var(--page); box-shadow: 0 0 0 2px var(--navy-tint-strong), var(--shadow-lifted); color: var(--ink);
}
.phone-island { position: absolute; top: 8px; left: 50%; width: 88px; height: 24px; transform: translateX(-50%); border-radius: 999px; background: var(--navy-deep); z-index: 2; }
.phone-display { position: absolute; inset: 0; overflow: hidden; border-radius: 36px; }
.phone-video { width: 100%; height: 100%; object-fit: cover; }
.phone-screen {
    position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 44px 14px 16px;
    font-size: 12px; line-height: var(--leading-snug); opacity: 0; animation: phone-screen 12s infinite; animation-delay: calc(var(--screen) * 4s);
}
.phone-screen:first-child { opacity: 1; }
@keyframes phone-screen { 0% { opacity: 0; } 3%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }

.mock-head { display: flex; flex-direction: column; gap: 8px; }
.mock-head strong { font-family: var(--font-heading); font-size: 18px; }
.mock-search { padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.mock-dish { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-small); background: var(--surface); border: 1px solid var(--line); }
.mock-dish img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.mock-dish div { display: grid; flex: 1; min-width: 0; }
.mock-dish span { color: var(--muted); }
.mock-add { padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff !important; font-weight: var(--weight-bold); }
.mock-add-plain { background: var(--navy-tint-strong); color: var(--ink) !important; }
.mock-dish:first-of-type .mock-add { animation: mock-tap 12s infinite; animation-delay: inherit; }
.mock-basket {
    display: flex; justify-content: space-between; margin-top: auto; padding: 12px 14px; border-radius: var(--radius-small);
    background: var(--accent); color: #fff; font-weight: var(--weight-bold); transform: translateY(140%); animation: mock-rise 12s infinite;
}
.mock-card { padding: 10px 12px; border-radius: var(--radius-small); background: var(--surface); border: 1px solid var(--line); }
.mock-row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 4px 0; color: var(--muted); }
.mock-row-total { color: var(--ink); font-weight: var(--weight-bold); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.mock-pay { display: block; text-align: center; padding: 12px; border-radius: var(--radius-small); background: var(--accent); color: #fff; font-weight: var(--weight-bold); animation: mock-tap 12s infinite; }
.mock-small { margin: 0; color: var(--muted); font-size: 11px; }
.mock-paid, .mock-done {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center;
    background: var(--page); opacity: 0; animation: mock-show 12s infinite;
}
.mock-done { animation-name: mock-show-late; }
.mock-paid strong, .mock-done strong { font-family: var(--font-heading); font-size: 18px; }
.mock-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: 28px; font-weight: var(--weight-bold); }
.mock-paid .mock-tick, .mock-done .mock-tick { background: var(--green); color: #fff; }
.mock-progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); animation-name: mock-light; animation-duration: 12s; animation-iteration-count: infinite; }
.mock-progress li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.mock-progress li:nth-child(2) { animation-name: mock-light-2; }
.mock-progress li:nth-child(3) { animation-name: mock-light-3; }
.mock-progress li:nth-child(4) { animation-name: mock-light-4; }
.mock-code { display: grid; justify-items: center; gap: 4px; margin-top: 6px; padding: 14px; border-radius: var(--radius-small); background: var(--surface); border: 1px solid var(--accent); }
.mock-code strong { font-family: var(--font-body); font-size: 30px; letter-spacing: 0.3em; color: var(--accent); }

/* Each screen's own moments, inside its third of the cycle */
@keyframes mock-tap { 0%, 10%, 14%, 100% { transform: none; filter: none; } 12% { transform: scale(0.9); filter: brightness(1.3); } }
@keyframes mock-rise { 0%, 13% { transform: translateY(140%); } 16%, 31% { transform: none; } 34%, 100% { transform: translateY(140%); } }
@keyframes mock-show { 0%, 16% { opacity: 0; } 18%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes mock-show-late { 0%, 24% { opacity: 0; } 26%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes mock-light { 0% { color: var(--muted); } 2%, 31% { color: var(--green-ink); } 34%, 100% { color: var(--muted); } }
@keyframes mock-light-2 { 0%, 5% { color: var(--muted); } 7%, 31% { color: var(--green-ink); } 34%, 100% { color: var(--muted); } }
@keyframes mock-light-3 { 0%, 10% { color: var(--muted); } 12%, 31% { color: var(--green-ink); } 34%, 100% { color: var(--muted); } }
@keyframes mock-light-4 { 0%, 15% { color: var(--muted); } 17%, 31% { color: var(--green-ink); } 34%, 100% { color: var(--muted); } }
/* The moments follow their screen's delay */
.phone-screen * { animation-delay: inherit; }

@media (max-width: 960px) {
    .steps-showcase { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
    .steps-showcase .steps { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .phone-screen:first-child .mock-basket { transform: none; }
}

/* ---- The navy bars: the desktop top bar and the phone's bottom bar have light links and icons. On phones the
   top has no bar: the logo and the round buttons float over the page. ---- */
@media (min-width: 900px) {
    .site-header .float-button { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: none; }
    .site-header .float-button:hover { background: rgba(255, 255, 255, 0.18); color: var(--accent); }
    .site-header .float-pill { box-shadow: none; }
    .desktop-nav a { color: #fff; }
    .desktop-nav a:hover { background: rgba(255, 255, 255, 0.1); }
    .desktop-nav a[aria-current='page'] { color: #fff; background: var(--accent); }
}



/* ---- Legal & Policies: the list, one policy with the others beside it, the sign-up tick box and the reminder ---- */
.legal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.legal-card {
    display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border-radius: var(--radius); background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
}
.legal-card:hover { border-color: var(--accent); }
.legal-card > svg { flex: none; color: var(--muted); }
.legal-card-icon { flex: none; width: 44px; height: 44px; border-radius: var(--radius-small); background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.legal-card-text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.legal-card-text strong { font-family: var(--font-heading); font-size: 17px; }
.legal-card-text span { color: var(--muted); font-size: 14px; line-height: var(--leading-snug); }
.legal-card-text .legal-card-date { font-size: 13px; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-layout > .legal-document:only-child { grid-column: 1 / -1; max-width: 820px; }
.legal-nav { position: sticky; top: 96px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--muted); margin-bottom: 8px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 8px 10px; border-radius: var(--radius-small); color: var(--ink); text-decoration: none; font-size: 14px; font-family: var(--font-ui); font-weight: var(--weight-medium); }
.legal-nav a:hover { background: var(--navy-tint); }
.legal-nav a[aria-current='page'] { background: var(--accent); color: #fff; }
.legal-document { padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-actions { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.legal-print-head { display: none; }
.legal-text { line-height: var(--leading-body); }
.legal-text h2 { font-size: 20px; margin: 24px 0 8px; }
.legal-text h3 { font-size: 17px; margin: 18px 0 6px; }
.legal-text > :first-child { margin-top: 0; }
.legal-text p, .legal-text ul, .legal-text ol { margin: 0 0 12px; }
.legal-text ul, .legal-text ol { padding-left: 22px; }
.legal-text li + li { margin-top: 4px; }
.legal-note { padding: 12px 14px; border-radius: var(--radius-small); background: var(--accent-tint); }
.legal-versions { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.legal-versions summary { cursor: pointer; font-weight: var(--weight-semibold); font-family: var(--font-ui); }
.legal-versions ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; color: var(--muted); }

.consent { display: grid; gap: 4px; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: var(--leading-snug); cursor: pointer; }
.consent-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent-check .text-link { color: var(--accent); }

.legal-reminder {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 18px;
    border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow);
}
.legal-reminder p { margin: 0; font-size: 15px; }
.legal-reminder .text-link { color: var(--accent); }
.legal-reminder-actions { display: flex; gap: 8px; }
.legal-reminder .notice { flex-basis: 100%; margin: 0; }

@media (max-width: 960px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; order: 2; }
}

@media (max-width: 600px) {
    .legal-list { grid-template-columns: 1fr; }
    .legal-document { padding: 18px 16px; }
}

/* Printing a policy: only the policy, navy on white */
@media print {
    .site-header, .site-footer, .skip-link, .crumbs, .app-page-title, .app-page-subtitle, .legal-nav, .legal-actions, .legal-versions, .legal-reminder { display: none !important; }
    body, .app-page { background: #fff !important; color: var(--navy); }
    .app-page { padding: 0; min-height: 0; }
    .legal-layout { display: block; }
    .legal-document { padding: 0; border: 0; box-shadow: none; background: none; max-width: none; }
    .legal-print-head { display: block; margin-bottom: 16px; }
    .legal-print-head h1 { font-size: 24px; margin-bottom: 4px; }
    .legal-print-head p { margin: 0; font-size: 12px; }
    .legal-note { background: none; border: 1px solid var(--navy); }
    .legal-text h2, .legal-text h3 { break-after: avoid; }
}

/* ---- Restaurant cards waiting for restaurants: the same shape as a real card, softly shimmering ---- */
.place-card-placeholder { pointer-events: none; }
.place-card-placeholder .place-card-media,
.placeholder-line { background: linear-gradient(90deg, var(--navy-tint) 25%, var(--navy-tint-strong) 50%, var(--navy-tint) 75%); background-size: 200% 100%; animation: placeholder-shimmer 1.6s ease-in-out infinite; }
.placeholder-line { display: block; height: 12px; border-radius: 6px; margin-top: 10px; width: 80%; }
.placeholder-line-title { height: 16px; width: 60%; margin-top: 4px; }
.placeholder-line-short { width: 40%; }
@keyframes placeholder-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---- What may we bring you: one service at a time; the photo drifts with the pointer inside its frame ---- */
.bring { --drift-x: 0; --drift-y: 0; }
.bring-slides { display: grid; }
.bring-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 32px;
    padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    color: var(--ink); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s;
}
.bring-slide.is-active { opacity: 1; visibility: visible; }
.bring-frame { display: block; overflow: hidden; border-radius: var(--radius-small); aspect-ratio: 4 / 3; background: var(--navy-tint); }
.bring-frame img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.12) translate(calc(var(--drift-x) * -3%), calc(var(--drift-y) * -3%)); transition: transform 0.4s ease-out;
}
.bring-copy { display: grid; gap: 10px; padding-right: 16px; }
.bring-count { font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: 13px; letter-spacing: var(--tracking-caps); color: var(--accent); }
.bring-copy h3 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.bring-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: var(--leading-body); }
.bring-slide.is-active .bring-copy > * { animation: bring-rise 0.6s ease both; }
.bring-slide.is-active .bring-copy > :nth-child(2) { animation-delay: 0.06s; }
.bring-slide.is-active .bring-copy > :nth-child(3) { animation-delay: 0.12s; }
.bring-slide.is-active .bring-copy > :nth-child(4) { animation-delay: 0.18s; }
@keyframes bring-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bring-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.bring-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--navy-tint-strong); cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.bring-dot[aria-current='true'] { width: 28px; background: var(--accent); }
.bring-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Where we deliver: a large map with each town pinned ---- */
.delivery-map { margin: 0; }
.delivery-map-frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
/* The image and its pins move together, so a pin stays on its town however the map is zoomed */
.delivery-map-canvas { position: relative; }
.delivery-map-canvas img { display: block; width: 100%; height: auto; }
/* The delivery riding across the map, under the town pins */
.map-ride { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-pin {
    position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px 6px 8px;
    border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: 14px;
    white-space: nowrap; box-shadow: var(--shadow-lifted);
}
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.map-pin-below { transform: translate(-50%, 0); }
.map-pin-below::after { bottom: auto; top: -6px; }
.map-pin svg { width: 16px; height: 16px; color: var(--accent); }
.delivery-map figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }
.delivery-map figcaption a { color: inherit; }

@media (max-width: 760px) {
    .bring-slide { grid-template-columns: 1fr; gap: 16px; padding: 12px; }
    .bring-copy { padding: 0 6px 6px; }
    .map-pin { font-size: 12px; padding: 4px 9px 4px 6px; }
    /* Phones: zoomed in on the four towns, so the map fills more of the screen */
    .delivery-map-frame { aspect-ratio: 1 / 1; }
    .delivery-map-canvas { width: 200%; left: -50%; top: -15%; }
    .map-pin svg { width: 13px; height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .place-card-placeholder .place-card-media, .placeholder-line, .bring-slide.is-active .bring-copy > * { animation: none; }
    .bring-frame img { transform: none; transition: none; }
}

/* ---- The home page's restaurants: one sliding row, swiped on phones, with arrows on computers ---- */
.place-carousel { position: relative; }
.place-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 14px; scrollbar-width: none;
}
.place-track::-webkit-scrollbar { display: none; }
.place-track > * { scroll-snap-align: start; }
.place-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.carousel-arrow {
    position: absolute; top: calc(50% - 26px); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-lifted); cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-prev { left: -18px; }
.carousel-prev svg { transform: rotate(180deg); }
.carousel-next { right: -18px; }
.carousel-arrow:hover:not(:disabled) { background: var(--accent); }
.carousel-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 1100px) {
    .place-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 760px) {
    /* Phones: one card and a bit of the next, so it's clear the row slides; swiping replaces the arrows */
    .place-track { grid-auto-columns: 78%; gap: 12px; }
    .carousel-arrow { display: none; }
}

/* ---- The home page, tighter: sections close together but with room to breathe ---- */
.home .section { padding: 28px 0; }
.home .hero-compact + .section { padding-top: 12px; }
.home .eyebrow { margin-bottom: 4px; }
.home .section-title, .home .section-head { margin-bottom: 10px; }
.home .service-tiles { gap: 6px; }
/* Browse by Menu: tight, crisp cards: small gaps, squarer corners and a light shadow */
.home .service-tile { padding: 12px; border-radius: var(--radius-small); box-shadow: 0 1px 2px rgba(28, 34, 58, 0.08); }
.home .service-tile-icon { border-radius: 10px; }
.home .place-track { gap: 12px; grid-auto-columns: calc((100% - 3 * 12px) / 4); padding-bottom: 8px; }
.home .bring-dots { margin-top: 12px; }
.home .section-tint + .app-band { margin-top: 36px; }
.home .app-band { margin-bottom: 36px; }

@media (max-width: 1100px) {
    .home .place-track { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
}
@media (max-width: 760px) {
    .home .section { padding: 18px 0; }
    .home .hero-compact + .section { padding-top: 8px; }
    .home .section-title, .home .section-head { margin-bottom: 8px; }
    .home .place-track { grid-auto-columns: 78%; gap: 10px; }
    .home .section-tint + .app-band { margin-top: 24px; }
    .home .app-band { margin-bottom: 24px; }
}

/* ---- Account: laid out like Uber Eats' and Glovo's account pages ----
   Computers: who you are and a menu of sections down the side, shortcuts and settings beside them.
   Phones: one column like an app, with log out as a clear button at the end. */
.account { max-width: 1120px; }
.account-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.account .profile-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; padding: 26px 22px 20px; }
.account .profile-avatar { width: 84px; height: 84px; font-size: 30px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12); }
.account .profile-who { display: grid; justify-items: center; gap: 4px; min-width: 0; width: 100%; }
.account .profile-who h1 { font-size: 22px; margin: 0 0 2px; }
.account .profile-who p { justify-content: center; margin: 0; font-size: 14px; max-width: 100%; }
.profile-detail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account .profile-who .account-badge { margin-top: 8px; }
.account .profile-note { margin: 4px 0 0; padding-top: 12px; width: 100%; font-size: 13px; }
.account-nav { display: grid; gap: 2px; padding: 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.account-nav a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-small); color: var(--ink);
    text-decoration: none; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: 15px;
}
.account-nav a:hover { background: var(--accent-tint); color: var(--accent); }
.account-nav svg { width: 18px; height: 18px; color: var(--accent); }
.account-main { display: grid; gap: 22px; min-width: 0; }
.account-main .menu-group { scroll-margin-top: 96px; }
.account .profile-tiles { gap: 12px; }
.account .profile-tile { padding: 16px 10px; gap: 10px; }
.profile-tile-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.profile-tile-soon .profile-tile-icon { background: var(--navy-tint); color: var(--muted); }
.profile-tile-icon svg { width: 22px; height: 22px; }
.account-leave { display: grid; justify-items: center; gap: 10px; padding-top: 4px; }
.account-leave .button svg { width: 18px; height: 18px; }
.account-delete {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; background: none; cursor: pointer;
    color: var(--red); font: inherit; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: 14px;
}
.account-delete svg { width: 16px; height: 16px; }
.account-delete:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .account-layout { grid-template-columns: 1fr; gap: 18px; }
    .account-side { position: static; }
    .account-nav { display: none; }
    /* The card goes sideways, avatar beside the name, like the profile header in delivery apps */
    .account .profile-card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; gap: 4px 16px; padding: 20px; }
    .account .profile-avatar { width: 64px; height: 64px; font-size: 24px; }
    .account .profile-who { justify-items: start; }
    .account .profile-who p { justify-content: flex-start; }
    .account .profile-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .account .profile-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .account .profile-tile { padding: 12px 4px; font-size: 12px; gap: 6px; }
    .profile-tile-icon { width: 40px; height: 40px; }
    .profile-tile-icon svg { width: 20px; height: 20px; }
    .account .profile-tile em { top: 4px; right: 4px; font-size: 9px; padding: 1px 5px; }
    .account-main { gap: 18px; }
}

/* ---- Payment Method: who keeps payments safe, the ways to pay, what to know and where to get help ---- */
.pay-page { display: grid; gap: 24px; max-width: 900px; }
.pay-heading { font-size: 20px; margin-bottom: 12px; }
.pay-secure {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
    color: #fff; background: var(--deep) var(--pattern-light); background-size: auto, 64px;
}
.pay-secure h2 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.pay-secure p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: var(--leading-body); }
.pay-secure-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.pay-secure-icon svg { width: 26px; height: 26px; }
.pay-secure-lock {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
    font-family: var(--font-ui); font-weight: var(--weight-bold); font-size: 13px; white-space: nowrap;
}
.pay-methods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pay-method { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pay-method h3 { font-size: 17px; margin: 4px 0 0; }
.pay-method p { margin: 0; color: var(--muted); font-size: 14px; line-height: var(--leading-body); }
.pay-method-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.pay-method-icon svg { width: 22px; height: 22px; }
.pay-know ul { list-style: none; margin: 0; padding: 6px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pay-know li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; font-size: 15px; line-height: var(--leading-body); }
.pay-know li + li { border-top: 1px solid var(--line); }
.pay-know li > svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green-ink); }
.pay-know .text-link { color: var(--accent); }
.pay-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--band); border: 1px dashed var(--line); }
.pay-help h2 { font-size: 18px; margin-bottom: 4px; }
.pay-help p { margin: 0; color: var(--muted); font-size: 14px; }
.pay-help .button { flex: none; }

@media (max-width: 760px) {
    .pay-page { gap: 20px; }
    .pay-secure { grid-template-columns: auto 1fr; padding: 18px; }
    .pay-secure-lock { grid-column: 1 / -1; justify-self: start; }
    .pay-methods { grid-template-columns: 1fr; gap: 10px; }
    .pay-method { grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
    .pay-method-icon { grid-row: span 2; }
    .pay-method h3 { margin: 0; align-self: end; }
    .pay-help { flex-direction: column; align-items: stretch; text-align: left; padding: 18px; }
}

/* ---- Order from anywhere: the shopping animation beside a short message ---- */
.convenience-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.convenience-art { aspect-ratio: 4 / 3; max-width: 520px; width: 100%; justify-self: center; overflow: hidden; }
.convenience-art svg { display: block; }
.convenience-copy { display: grid; justify-items: start; gap: 4px; }
.convenience-copy .section-title { font-size: clamp(28px, 3.4vw, 42px); }
.convenience-copy .lead { margin: 0 0 18px; }

@media (max-width: 760px) {
    .convenience-row { grid-template-columns: 1fr; gap: 8px; }
    .convenience-art { max-width: 340px; }
    .convenience-copy { justify-items: center; text-align: center; }
    .convenience-copy .lead { font-size: 16px; }
}


/* Flashio's social profiles under the footer's tagline */
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; }

/* ---- Navy frame: the hero and How Flashio works are navy, the sections people read and order from stay cream ---- */
/* The hero: navy behind the headline and location box, its bottom edge curving softly into the cream below
   (a fade would pass through a muddy grey on the way) */
.hero { --hero-title: #fff; background: var(--navy); border-radius: 0 0 48px 48px; }
.hero-compact { padding-bottom: 48px; }
.hero-compact .hero-copy .lead { color: rgba(255, 255, 255, 0.8); }
.hero-compact .locate-towns { color: rgba(255, 255, 255, 0.72); }
/* How Flashio works: a full-width navy band, the phone outlined so its navy frame still shows */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .phone { box-shadow: 0 0 0 2px rgba(246, 238, 223, 0.35), 0 18px 44px rgba(12, 20, 44, 0.5); }
.home .section-dark { padding: 44px 0; }
@media (max-width: 760px) {
    .hero { border-radius: 0 0 28px 28px; }
    .hero-compact { padding-bottom: 32px; }
    .home .section-dark { padding: 32px 0; }
}
/* A little room between the hero's curved edge and the first section */
.home .hero-compact + .section { padding-top: 24px; }
@media (max-width: 760px) {
    .home .hero-compact + .section { padding-top: 16px; }
}

/* The hero's fold: its content slides shut and the navy goes with it, so the page starts on cream under the menu;
   the grab handle stays to open it again */
.hero-fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.35s ease, opacity 0.25s ease; }
.hero-fold > .hero-copy { min-height: 0; overflow: hidden; }
.hero.is-folded .hero-fold { grid-template-rows: 0fr; opacity: 0; }
.hero { transition: background-color 0.35s ease, padding-bottom 0.35s ease, border-radius 0.35s ease; }
.hero.is-folded { padding-bottom: 0; background-color: transparent; border-radius: 0; }
.hero-toggle {
    /* A grab handle under the hero's edge: a rounded bar with a thin chevron, no button shape. The swipe stays on the handle. */
    position: absolute; left: 50%; bottom: -40px; z-index: 2; width: 72px; height: 40px; display: grid; justify-items: center; align-content: center; gap: 2px;
    padding: 0; transform: translateX(-50%); border: 0; background: none; color: var(--navy); cursor: grab; touch-action: none;
}
.hero-grab { width: 40px; height: 5px; border-radius: 999px; background: var(--navy); opacity: 0.35; transition: opacity 0.2s ease, width 0.2s ease; }
.hero-toggle svg { width: 18px; height: 18px; opacity: 0.6; transition: transform 0.3s ease, opacity 0.2s ease; }
.hero.is-folded .hero-toggle svg { transform: rotate(180deg); }
.hero-toggle:hover .hero-grab, .hero-toggle:focus-visible .hero-grab { opacity: 0.6; width: 48px; }
.hero-toggle:hover svg, .hero-toggle:focus-visible svg { opacity: 1; }
.hero-toggle:active { cursor: grabbing; }
.hero-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
/* Room under the hero for the half of the button that hangs below its edge */
.home .hero-compact + script + .section { padding-top: 36px; }
@media (max-width: 760px) {
    .hero.is-folded { padding-bottom: 0; }
    .home .hero-compact + script + .section { padding-top: 30px; }
}

/* The page behind the open phone menu: slightly blurred and dimmed, so the menu stands out. A tap on it closes the menu. */
body.menu-open::before {
    content: ''; position: fixed; inset: 0; z-index: 9; background: rgba(28, 34, 58, 0.18);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: menu-fade 0.2s ease both;
}
@keyframes menu-fade { from { opacity: 0; } }

/* The sliding row of restaurants only scrolls sideways; its cards don't lift on hover, so nothing moves up or down inside it */
.place-track { overflow-y: hidden; padding-top: 2px; padding-bottom: 12px; }
.place-track .place-card:hover { transform: none; }
.home .place-track { padding-bottom: 12px; }
@media (max-width: 760px) {
    /* Restaurants on Flashio with All restaurants right under it */
    .home .section-head { gap: 0; }
    .home .section-head .section-title { line-height: 1.1; }
}

@media (max-width: 760px) {
    .home .service-tiles { gap: 6px; }
    .home .service-tile { padding: 12px; }
}

/* ---- Restaurant and store cards: the photo on top, the lower part navy with white names and orange accents ---- */
.place-card { display: flex; flex-direction: column; }
.place-card-body { flex: 1; background: var(--navy); }
.place-card-body h3 { color: #fff; }
.place-card-body p { color: rgba(246, 238, 223, 0.72); }
.place-card-fee, .place-card-fee svg { color: var(--accent); }
.place-card .open-status-open { color: #fff; }
.place-card .open-status-closed { color: rgba(246, 238, 223, 0.6); }
.place-card .open-status-open .open-status-dot { box-shadow: 0 0 0 2px rgba(246, 238, 223, 0.25); }
/* Placeholder cards keep the same shape, their lines shimmering lightly on the navy */
.place-card-placeholder .place-card-body .placeholder-line { background: linear-gradient(90deg, rgba(246, 238, 223, 0.1) 25%, rgba(246, 238, 223, 0.2) 50%, rgba(246, 238, 223, 0.1) 75%); background-size: 200% 100%; }

/* ---- Browse by Menu, compact: four small square cards per row on every screen, the icon above the name ---- */
.home .service-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home .service-tile { flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 12px 6px; text-align: center; }
.home .service-tile-icon { width: 52px; height: 52px; }
.home .service-tile-icon img { width: 38px; height: 38px; }
.home .service-tile-text strong { font-size: 14px; line-height: 1.2; }
/* The short description stays for search engines and screen readers, out of sight */
.home .service-tile-text span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
    .home .service-tiles { gap: 6px; }
    .home .service-tile { padding: 10px 4px; gap: 4px; }
    .home .service-tile-icon { width: 44px; height: 44px; }
    .home .service-tile-icon img { width: 32px; height: 32px; }
    .home .service-tile-text strong { font-size: 12px; }
}
/* Browse by Menu cards: a soft shadow that lifts a little more under the pointer */
.home .service-tile { box-shadow: 0 2px 4px rgba(28, 34, 58, 0.08), 0 8px 18px rgba(28, 34, 58, 0.12); }
.home .service-tile:hover { box-shadow: 0 4px 8px rgba(28, 34, 58, 0.1), 0 14px 28px rgba(28, 34, 58, 0.18); }

/* Testimonials: its title centred, the same size as How Flashio works */
.testimonials .section-title { text-align: center; }
/* Restaurant, store, dish and product cards: no border. Flashio's signature instead: a short orange flash bar on the
   navy panel's top edge, which sweeps across the whole card when it's pointed at or tabbed to */
.place-card, .dish-card { border: 0; }
.place-card-body, .dish-card-body { position: relative; }
.place-card-body::before, .dish-card-body::before {
    content: ''; position: absolute; top: 0; left: 12px; width: 28px; height: 3px; border-radius: 0 0 3px 3px;
    background: var(--accent); transition: width 0.35s ease, left 0.35s ease;
}
.place-card:hover .place-card-body::before, .place-card:focus-visible .place-card-body::before,
.dish-card:hover .dish-card-body::before, .dish-card:focus-visible .dish-card-body::before { left: 0; width: 100%; border-radius: 0; }

/* Dish and product cards: the same as the restaurant cards, a navy lower part with white names and the price in orange */
.dish-card { display: flex; flex-direction: column; }
.dish-card-body { flex: 1; align-content: start; background: var(--navy); }
.dish-card-body strong { color: #fff; }
.dish-card-body span { color: rgba(246, 238, 223, 0.72); }

/* ---- Compact pages: the ones the Browse by Menu cards open (a service's shop page and Parcel Delivery). Smaller
   text, boxes and gaps; buttons and fields stay at least 44px tall to tap. ---- */
.app-page.compact { padding: 16px 0 72px; }
.app-page.compact .crumbs ol { margin-bottom: 10px; font-size: 13px; }
.app-page.compact .app-page-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 2px; }
.app-page.compact .app-page-subtitle { margin-bottom: 12px; font-size: 15px; }
.app-page.compact .list-tools { gap: 8px; margin-bottom: 14px; }
.app-page.compact .search-box input { min-height: 44px; padding: 0 16px; font-size: 15px; }
.app-page.compact .select-box { min-height: 44px; font-size: 14px; }
.app-page.compact .list-heading { font-size: 18px; margin: 4px 0 10px; }
.app-page.compact .dish-section-after { margin-top: 24px; }
.app-page.compact .grid-two { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-page.compact .grid-two .place-card-media, .app-page.compact .grid-two .dish-card-media { aspect-ratio: 16 / 10; }
.app-page.compact .grid-two .place-card-body { padding: 8px 10px 10px; }
.app-page.compact .grid-two .place-card-body h3 { font-size: 15px; }
.app-page.compact .grid-two .place-card-body p { font-size: 13px; }
.app-page.compact .grid-two .dish-card-body { padding: 8px 10px 10px; }
.app-page.compact .grid-two .dish-card-body strong { font-size: 14px; }
.app-page.compact .grid-two .dish-card-body span { font-size: 12px; }
.app-page.compact .errand-steps { margin-bottom: 14px; gap: 6px; }
.app-page.compact .errand-steps li { padding: 9px 12px; font-size: 14px; gap: 8px; }
.app-page.compact .errand-steps span { width: 22px; height: 22px; font-size: 12px; }
.app-page.compact .errand-form { gap: 14px; }
.app-page.compact .field { gap: 4px; }
.app-page.compact .field-label { font-size: 13px; }
.app-page.compact .field-control { min-height: 44px; padding: 0 12px; }
.app-page.compact .field-control-area textarea { min-height: 88px; height: 96px; }
.app-page.compact .errand-photos-row { gap: 8px; }
.app-page.compact .errand-photo-tile { width: 84px; height: 76px; }
.app-page.compact .errand-counter { gap: 12px; }
.app-page.compact .errand-counter button { width: 36px; height: 36px; }
.app-page.compact .errand-counter strong { font-size: 18px; }
.app-page.compact .errand-route { gap: 10px; padding-left: 14px; }
.app-page.compact .errand-estimate { padding: 12px 14px; }
.app-page.compact .errand-estimate span { font-size: 13px; }
.app-page.compact .errand-estimate strong { font-size: 22px; }
.app-page.compact .button-block { min-height: 46px; font-size: 15px; }
@media (max-width: 600px) {
    .app-page.compact { padding-top: 10px; }
    .app-page.compact .app-page-title { font-size: 22px; }
    .app-page.compact .app-page-subtitle { font-size: 14px; }
    .app-page.compact .grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .app-page.compact .grid-two .place-card-body h3 { font-size: 14px; }
    .app-page.compact .grid-two .place-card-body p { font-size: 12px; }
}

/* ---- The heart on a product's photo: adds it to Favourites. A small cream circle in the photo's top-right corner,
   orange and filled once hearted. On a card it sits beside the link, so the card is wrapped to place it. ---- */
.dish-card-wrap { position: relative; display: grid; }
.menu-item-card-photo { position: relative; }
.favorite-button {
    position: absolute; top: 8px; right: 8px; z-index: 1; width: 32px; height: 32px; padding: 0; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; box-shadow: 0 2px 6px rgba(28, 34, 58, 0.18);
    transition: transform 0.15s ease, color 0.15s ease;
}
.favorite-button:hover { transform: scale(1.08); color: var(--accent); }
.favorite-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.favorite-button.is-active { color: var(--accent); }
.menu-item-card-photo .favorite-button { top: 6px; right: 6px; width: 28px; height: 28px; }
/* The heart lifts with its card under the pointer */
.dish-card-wrap:hover .dish-card { transform: translateY(-3px); box-shadow: var(--shadow-lifted); }
.dish-card-wrap:hover .favorite-button { transform: translateY(-3px); }
.dish-card-wrap .favorite-button:hover { transform: translateY(-3px) scale(1.08); }

/* The delete for an item in the cart: the photo's top-left corner (the heart is top-right), red as deleting is */
.item-delete-button {
    position: absolute; top: 6px; left: 6px; z-index: 1; width: 28px; height: 28px; padding: 0; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: var(--surface); color: var(--red); cursor: pointer; box-shadow: 0 2px 6px rgba(28, 34, 58, 0.18);
}
.item-delete-button svg { width: 15px; height: 15px; }
.item-delete-button:hover { transform: scale(1.08); }
.item-delete-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- The cookie note: a navy card at the bottom of the page until OK is pressed (client/cookie-notice.ts). On phones
   it sits above the Order Now / My Orders bar. ---- */
.cookie-notice {
    position: fixed; z-index: 30; left: 24px; bottom: 24px; width: min(420px, calc(100% - 48px));
    display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
    background: var(--navy); color: #fff; box-shadow: 0 14px 34px rgba(28, 34, 58, 0.4);
    animation: cookie-in 0.35s ease both;
}
.cookie-notice p { margin: 0; font-size: 14px; line-height: var(--leading-body); color: rgba(255, 255, 255, 0.88); }
.cookie-notice-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.cookie-notice-actions a { color: #fff; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions a:hover { color: var(--accent); }
.cookie-notice-actions .button { min-height: 40px; padding: 0 22px; font-size: 15px; }
.cookie-notice.is-leaving { animation: cookie-out 0.25s ease both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(16px); } }
@media (max-width: 600px) {
    .cookie-notice { left: 16px; right: 16px; width: auto; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 14px 16px; }
    .cookie-notice p { font-size: 13px; }
}
@media print { .cookie-notice { display: none; } }

/* An error fading away after a few seconds (components/Notice.tsx) */
.notice.is-leaving { animation: notice-out 0.4s ease forwards; }
@keyframes notice-out { to { opacity: 0; } }

/* ---- The home page's dish and product rows (New Arrivals, Local and Continental meals): dish cards sliding like the
   restaurant cards, with the same wide photo so the rows line up ---- */
.place-track .dish-card-media { position: relative; aspect-ratio: 2 / 1; }
.place-track .dish-card:hover { transform: none; }

/* ---- A chosen delivery place on the home page: the orange pin and the address in place of the box. The pin brings
   the box back (client/location.ts). ---- */
.locate-summary { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 640px; margin: 0 auto; }
.locate-summary[hidden] { display: none; }
.locate-summary .locate-pin-button { margin-left: 0; box-shadow: 0 6px 16px rgba(244, 78, 28, 0.35); }
.locate-summary-text {
    margin: 0; min-width: 0; color: #fff; font-family: var(--font-body); font-size: 16px; font-weight: var(--weight-semibold);
    line-height: var(--leading-snug); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.locate-row[hidden] { display: none; }
@media (max-width: 600px) {
    .locate-summary-text { font-size: 15px; }
}
/* On phones the floating logo sits in the top-left corner, so "Hi Ada," starts just below it */
@media (max-width: 600px) {
    .hero-greeting { margin-top: 44px; }
}

/* ---- The navy top section's order of importance: the headline first (white, "made easy" in orange), then the chosen
   place (white), then the line under the headline and the greeting (soft cream), then the towns (smallest, faintest).
   Lines sit close together. ---- */
.hero-accent { color: var(--accent); }
.hero-compact .hero-copy { gap: 0; }
.hero-greeting { margin: 0 0 4px; font-family: var(--font-body); font-size: 16px; font-weight: var(--weight-semibold); color: rgba(246, 238, 223, 0.8); }
.hero-compact .hero-copy .hero-retro-title { margin-bottom: 4px; }
.hero-compact .hero-copy .lead { margin: 0 auto 14px; font-family: var(--font-body); font-size: 16px; font-weight: var(--weight-medium); color: rgba(246, 238, 223, 0.7); }
.hero-compact .locate-towns { margin: 8px 0 0; font-family: var(--font-body); font-size: 13px; color: rgba(246, 238, 223, 0.55); }
.locate-summary-text { color: #fff; }
@media (max-width: 600px) {
    .hero-greeting { font-size: 14px; }
    .hero-compact .hero-copy .lead { font-size: 13px; margin-bottom: 10px; }
    .hero-compact .locate-towns { margin-top: 6px; font-size: 12px; }
}
/* A chosen place stays centred under the headline on every screen, where the search box was, so nothing slides across
   once it's set */
@media (max-width: 600px) {
    /* A little room under the floating logo */
    .hero-greeting { margin-top: 10px; }
}
/* ---- No arrows beside the sliding rows: they slide by swipe, trackpad or the keyboard (each row can take focus) ---- */
.carousel-arrow { display: none; }

/* ---- The home page's sections sit closer together, and each title sits just above its cards. A title inside a
   section's header row used to keep its own gap as well as the row's, doubling the space. ---- */
.home .section { padding: 16px 0; }
.home .section-head .section-title { margin-bottom: 0; }
/* Just enough under the sliding cards for their shadow */
.home .place-track { padding-bottom: 6px; }
.home .section-title, .home .section-head { margin-bottom: 8px; }
@media (max-width: 600px) {
    .home .section { padding: 12px 0; }
    .home .section-title, .home .section-head { margin-bottom: 6px; }
}

/* The location pin, in the search box and beside a chosen place: the icon itself in orange, with no circle behind it */
.locate-pin-button { background: none; color: var(--accent); box-shadow: none; }
.locate-pin-button:hover { background: none; color: var(--accent-hover); }
.locate-pin-button svg { width: 24px; height: 24px; }
.locate-summary .locate-pin-button { box-shadow: none; width: 32px; height: 32px; }

/* "Version 1.0.0 · 15 Nov 2026" after the copyright: small and quiet */
.footer-version { display: block; margin-top: 4px; font-size: 12px; opacity: 0.6; }

/* ---- Restaurant and store pages, compact: the name, its details and the info pills ("Opens at 8:00am",
   "25–40 mins", "Delivery fee from ₦500") smaller and close together, and the menu below tighter ---- */
.store-hero { margin-bottom: 14px; }
.store-hero-media { margin-bottom: 12px; }
.store-hero-name { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 4px; }
.store-hero-line { margin: 0; gap: 4px; font-size: 13px; line-height: var(--leading-snug); }
.store-hero-line svg { width: 14px; height: 14px; }
.store-hero-chips { gap: 6px; margin-top: 8px; }
.store-hero-chip { gap: 5px; padding: 4px 10px; font-family: var(--font-body); font-size: 12px; }
.store-hero-chip svg { width: 13px; height: 13px; }
.store-hero-about { margin-top: 8px; font-size: 14px; line-height: var(--leading-snug); }
.store-hero-order { margin-top: 12px; }
.store-hero + .notice { margin: 0 0 8px; }
.menu-section { margin: 22px 0 8px; }
.menu-section-name { font-size: 19px; }
.menu { padding: 2px 16px; }
.menu-item { gap: 14px; padding: 12px 0; }
.menu-item-text strong { font-size: 15px; }
.menu-item p { margin-top: 2px; font-size: 13px; line-height: var(--leading-snug); }
.menu-item p.menu-option, .menu-item p.menu-colours { font-size: 12px; }
.menu-item-text .menu-price { margin-top: 4px; font-size: 14px; }
.menu-line-total, .stock-tag { margin-top: 4px; font-size: 12px; }
.menu-item-card { width: 108px; }
.menu-item-card-photo { height: 84px; }
@media (max-width: 600px) {
    .store-hero-name { font-size: 22px; }
    .menu { padding: 2px 12px; }
    .menu-item-card { width: 96px; }
    .menu-item-card-photo { height: 76px; }
}

/* ---- New Arrivals on the home page, as in the app: narrower cards, more to a row, and a green "NEW" ribbon across
   the photo's top-left corner ---- */
.home .place-track-narrow { grid-auto-columns: calc((100% - 5 * 12px) / 6); }
.place-track-narrow .dish-card-body { padding: 8px 10px 10px; }
.place-track-narrow .dish-card-body strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-track-narrow .dish-card-body span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-track-narrow .dish-card-body em { font-size: 14px; }
.dish-card-ribbon {
    position: absolute; top: 12px; left: -30px; width: 110px; padding: 2px 0; transform: rotate(-45deg); text-align: center;
    background: var(--green); color: #fff; font-family: var(--font-body); font-size: 10px; font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-caps); text-transform: uppercase; box-shadow: 0 2px 6px rgba(28, 34, 58, 0.2);
}
@media (max-width: 1024px) {
    .home .place-track-narrow { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
}
@media (max-width: 600px) {
    .home .place-track-narrow { grid-auto-columns: 44%; gap: 10px; }
}


/* ---- Send a package: a wide navy banner for Parcel Delivery, the 3D parcel beside the words, the orange button at the end ---- */
.parcel-banner {
    display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: var(--radius); background: var(--navy); color: #fff;
    text-decoration: none; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.parcel-banner::before { content: ''; position: absolute; top: 0; left: 24px; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); transition: left 0.35s ease, width 0.35s ease; }
.parcel-banner:hover::before, .parcel-banner:focus-visible::before { left: 0; width: 100%; border-radius: 0; }
.parcel-banner-art { flex: none; width: 88px; height: 88px; object-fit: contain; }
.parcel-banner-text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.parcel-banner-text strong { font-family: var(--font-heading); font-size: 24px; line-height: var(--leading-tight); color: #fff; }
.parcel-banner-text > span { font-size: 14px; line-height: var(--leading-snug); color: rgba(246, 238, 223, 0.75); }
.parcel-banner-button { flex: none; min-height: 44px; padding: 0 22px; font-size: 15px; }
@media (max-width: 600px) {
    .parcel-banner { flex-wrap: wrap; gap: 12px; padding: 16px; }
    .parcel-banner-art { width: 64px; height: 64px; }
    .parcel-banner-text { flex-basis: calc(100% - 76px); }
    .parcel-banner-text strong { font-size: 20px; }
    .parcel-banner-text > span { font-size: 13px; }
    /* As wide as its words, under the text and lined up with it */
    .parcel-banner-button { width: auto; margin-left: 76px; min-height: 40px; padding: 0 18px; font-size: 14px; }
}

/* ---- A shop page with "All": its stores in one sliding row above the products' grid, a little more than two showing
   so it's clear the row slides ---- */
.shop-store-row { grid-auto-columns: calc((100% - 2 * 10px) / 2.4); gap: 10px; margin-bottom: 4px; }
.shop-store-row .place-card-media { aspect-ratio: 16 / 10; }
.shop-store-row .place-card-body { padding: 8px 10px 10px; }
.shop-store-row .place-card-body h3 { font-size: 15px; }
.shop-store-row .place-card-body p { font-size: 12px; }
@media (max-width: 600px) {
    .shop-store-row { grid-auto-columns: 72%; gap: 8px; }
}
/* A dish's photo keeps to its box's shape, so a card with a real photo is the same height as one showing the icon */
.dish-card-media { overflow: hidden; min-height: 0; }

/* ---- Restaurants and stores in a sliding row (home page, and above a shop page's products): no card. The photo has
   rounded corners and the name, place, delivery fee and open status sit under it as plain text on the page. ---- */
.place-track .place-card { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.place-track .place-card:hover { box-shadow: none; }
.place-track .place-card-media { border-radius: var(--radius); box-shadow: var(--shadow); }
.place-track .place-card:hover .place-card-media img { transform: scale(1.04); }
.place-track .place-card-body { background: none; padding: 8px 2px 0; }
.place-track .place-card-body::before { content: none; }
.place-track .place-card-body h3 { color: var(--green-ink); font-size: 17px; }
.place-track .place-card-body p { color: var(--muted); font-size: 13px; }
.place-track .place-card-meta { margin-top: 4px; }
.place-track .place-card-fee, .place-track .place-card-fee svg { color: var(--accent); }
.place-track .open-status-open { color: var(--green-ink); }
.place-track .open-status-closed { color: var(--muted); }
.place-track .place-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.place-track .place-card-placeholder .place-card-body .placeholder-line { background: linear-gradient(90deg, var(--navy-tint) 25%, var(--navy-tint-strong) 50%, var(--navy-tint) 75%); background-size: 200% 100%; }
@media (max-width: 600px) {
    .place-track .place-card-body h3 { font-size: 15px; }
    .place-track .place-card-body p { font-size: 12px; }
}


/* ---- The Search page: the categories to browse before typing, then what matches, in groups ---- */
.search-categories { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.search-categories .service-tile { padding: 10px 12px; gap: 10px; }
.search-categories .service-tile-icon { width: 44px; height: 44px; border-radius: 12px; }
.search-categories .service-tile-icon img { width: 32px; height: 32px; }
.search-categories .service-tile-text strong { font-size: 14px; }
.search-categories .service-tile-text span { font-size: 12px; }
.search-group + .search-group { margin-top: 18px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface);
    border: 1px solid var(--line); color: var(--ink); font-family: var(--font-heading); font-size: 14px; font-weight: var(--weight-semibold); text-decoration: none;
}
.search-chip:hover { border-color: var(--navy); }
.search-chip img { width: 24px; height: 24px; }
/* The basket and the menu button at the right of the bar, on every screen */
.header-actions { margin-left: auto; }

/* ---- Restaurants and stores, everywhere: no card. A small round photo with the name, the place, the delivery fee and
   whether it's open stacked under it, centred. More fit in a row, and they read clearly apart from the dish and
   product cards. ---- */
.place-card { display: grid; justify-items: center; align-content: start; text-align: center; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.place-card:hover { transform: none; box-shadow: none; }
.place-card .place-card-media { width: 104px; height: 104px; aspect-ratio: 1; border-radius: 50%; box-shadow: var(--shadow); border: 3px solid var(--surface); }
.place-card:hover .place-card-media img { transform: scale(1.06); }
.place-card .place-card-body { width: 100%; padding: 8px 0 0; background: none; text-align: center; }
.place-card .place-card-body::before { content: none; }
.place-card .place-card-body h3 { margin: 0; color: var(--green-ink); font-size: 15px; }
.place-card .place-card-body p { color: var(--muted); font-size: 12px; }
.place-card .place-card-meta { justify-content: center; flex-wrap: wrap; gap: 2px 10px; margin-top: 3px; }
.place-card .place-card-fee { font-size: 12px; }
.place-card .place-card-fee, .place-card .place-card-fee svg { color: var(--accent); }
.place-card .place-card-fee svg { width: 14px; height: 14px; }
.place-card .open-status { font-size: 11px; }
.place-card .open-status-open { color: var(--green-ink); }
.place-card .open-status-closed { color: var(--muted); }
.place-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-small); }
.place-card .place-card-placeholder .place-card-body .placeholder-line, .place-card-placeholder .place-card-body .placeholder-line { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, var(--navy-tint) 25%, var(--navy-tint-strong) 50%, var(--navy-tint) 75%); background-size: 200% 100%; }
/* Rows of them: six to a row on a computer, a little over three on a phone so it's clear the row slides */
.place-track:has(> .place-card), .place-track:has(> .place-card-placeholder) { grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; }
.home .place-track:has(> .place-card) { grid-auto-columns: calc((100% - 5 * 14px) / 6); }
.shop-store-row { grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; }
/* A grid of them (a shop page showing only its stores, search results, the service pages) */
.place-grid, .place-grid.grid-two, .app-page.compact .place-grid.grid-two { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 18px 12px; }
@media (max-width: 760px) {
    .place-track:has(> .place-card), .home .place-track:has(> .place-card), .shop-store-row { grid-auto-columns: 30%; gap: 10px; }
    .place-card .place-card-media { width: 88px; height: 88px; }
    .place-grid, .place-grid.grid-two, .app-page.compact .place-grid.grid-two { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
    .place-card .place-card-body h3 { font-size: 14px; }
}
/* Each one keeps to its column: a long name is cut off with "…", and the fee and open status always sit on their own lines */
.place-card { min-width: 0; }
.place-card .place-card-body { min-width: 0; max-width: 100%; }
.place-card .place-card-body h3, .place-card .place-card-body p { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place-card .place-card-meta { flex-direction: column; align-items: center; gap: 1px; }
/* A name may take two lines, so it reads in full; only a very long one is cut */
.place-card .place-card-body h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
/* Section titles ("Browse by Menu", "Restaurants near you", "All dishes"…) in a lighter weight */
.section-title, .list-heading { font-weight: var(--weight-medium); letter-spacing: -0.01em; }

/* How far a restaurant or store is from the customer's chosen place */
.place-card .place-card-body .place-card-distance { margin-top: 1px; color: var(--ink); font-size: 11px; font-weight: var(--weight-semibold); }
.place-card .place-card-body .place-card-distance[hidden] { display: none; }

/* A product drawn round (Shop the Mall), like a store: its price in orange under the name and store */
.place-card .place-card-body .round-item-price { color: var(--accent); font-family: var(--font-body); font-size: 13px; font-weight: var(--weight-bold); }
/* A product's name is navy; green is for store names */
.place-card.round-item .place-card-body h3 { color: var(--ink); }

/* ---- A restaurant or store page in the ordering app (pages/Store.tsx), like the delivery apps' store pages: a wide
   cover photo, the store's round mark over its bottom-left corner with the name and details beside it, then the menu
   with a bar of its sections that stays under the header, the whole menu in one box, and "Your order" beside
   the menu on computers ---- */
.store-top { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; margin-bottom: 18px; }
.store-top-cover { grid-column: 1 / -1; display: block; height: clamp(170px, 25vw, 320px); border-radius: var(--radius); overflow: hidden; background: var(--band); box-shadow: var(--shadow); }
.store-top-cover img { width: 100%; height: 100%; object-fit: cover; }
.store-top-mark {
    position: relative; width: 96px; height: 96px; margin: -48px 0 0 24px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); border: 4px solid var(--page); box-shadow: var(--shadow);
}
.store-top-mark img { width: 58%; height: 58%; object-fit: contain; }
.store-top-text { min-width: 0; padding-top: 12px; }
.store-top-name { margin: 0 0 4px; color: var(--green-ink); font-size: clamp(26px, 3.2vw, 36px); }
.store-top-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-size: 14px; }
.store-top-line strong { color: var(--ink); }
.store-top-line svg { width: 15px; height: 15px; color: var(--ink); }
.store-top-dot { margin: 0 4px; }
.store-top-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.store-top-chips .store-hero-chip { gap: 5px; padding: 5px 12px; font-family: var(--font-body); font-size: 13px; }
.store-top-chips .store-hero-chip svg { width: 14px; height: 14px; }
.store-top-about { max-width: 640px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: var(--leading-snug); }
.store-top + .notice { margin: 0 0 12px; }

.store-layout { display: grid; gap: 28px; align-items: start; }
.store-menu { min-width: 0; }
/* The menu's search and section tabs, on the page's own cream so the menu scrolls away under them */
.store-menu-bar { position: sticky; top: 72px; z-index: 5; display: grid; gap: 10px; padding: 10px 0; background: var(--page); border-bottom: 1px solid var(--line); }
.store-menu-search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); }
.store-menu-search:focus-within { border-color: var(--navy); }
.store-menu-search svg { width: 18px; height: 18px; flex: none; }
.store-menu-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.store-menu-search input::placeholder { color: var(--placeholder); opacity: 1; }
.store-menu-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.store-menu-tabs::-webkit-scrollbar { display: none; }
.store-menu-tabs button {
    flex: none; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--band); color: var(--ink); cursor: pointer;
    font: inherit; font-family: var(--font-ui); font-size: 14px; font-weight: var(--weight-semibold); white-space: nowrap;
}
.store-menu-tabs button:hover { background: var(--navy-tint-strong); }
.store-menu-tabs button.is-on { background: var(--navy); color: #fff; }
.store-menu-empty { margin-top: 18px; }
/* Each section's heading clears the header and the bar when a tab jumps to it */
.menu-block { scroll-margin-top: 170px; }
.store-menu .menu-section { margin: 24px 0 10px; }
.store-menu .menu-section-name { font-size: 20px; }
.menu-section-count { padding: 2px 9px; border-radius: 999px; background: var(--band); color: var(--muted); font-family: var(--font-body); font-size: 12px; font-weight: var(--weight-semibold); }
/* The whole menu in one box: each section's name, then its dishes one under the other with a thin line between,
   and a line between sections */
.store-menu-box { margin-top: 14px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-block + .menu-block { border-top: 1px solid var(--line); }
.store-menu .menu-section { margin: 0; padding: 18px 0 4px; }
.store-menu .menu { display: block; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.store-menu .menu-item { padding: 14px 0; gap: 14px; }
.store-menu .menu-item + .menu-item { border-top: 1px solid var(--line); }
.store-menu .menu-item p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-menu .menu-item p.menu-option, .store-menu .menu-item p.menu-colours { display: flex; }

/* "Your order": beside the menu on computers, where the cart bar isn't needed */
.store-side { display: none; }
@media (min-width: 1024px) {
    .store-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .store-side { display: block; position: sticky; top: 92px; }
    .store-layout ~ .basket-bar { display: none; }
}
.store-side-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.store-side-title { margin: 0 0 12px; font-size: 18px; }
.store-side-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; max-height: 46vh; overflow-y: auto; }
.store-side-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; font-size: 14px; }
.store-side-qty { font-family: var(--font-body); font-weight: var(--weight-bold); color: var(--accent); }
.store-side-name { min-width: 0; }
.store-side-name small { display: block; color: var(--muted); font-size: 12px; }
.store-side-price { font-family: var(--font-body); font-weight: var(--weight-semibold); white-space: nowrap; }
.store-side-total { display: flex; justify-content: space-between; margin: 0 0 14px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-body); }
.store-side-card .small-note { margin: 10px 0 0; }
.store-side-empty { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; text-align: center; color: var(--muted); font-size: 14px; }
.store-side-empty svg { width: 34px; height: 34px; color: var(--ink); opacity: 0.5; }
.store-side-empty p { margin: 0; }

@media (max-width: 899px) {
    .store-menu-bar { top: 64px; }
}
@media (max-width: 600px) {
    /* The mark over the photo's corner, then the name and details under it across the whole width */
    .store-top { grid-template-columns: 1fr; }
    .store-top-cover { height: auto; aspect-ratio: 16 / 9; border-radius: 18px; }
    .store-top-mark { width: 68px; height: 68px; margin: -34px 0 0 14px; border-width: 3px; }
    .store-top-text { padding-top: 6px; }
    .store-top-name { font-size: 22px; }
    .store-top-line, .store-top-about { font-size: 13px; }
    .store-top-chips .store-hero-chip { font-size: 12px; padding: 4px 10px; }
    .store-menu-box { padding: 0 12px; }
    .store-menu .menu-section { padding-top: 14px; }
    .store-menu .menu-item { padding: 12px 0; }
    .store-menu .menu-section-name { font-size: 18px; }
}

/* ---- Home page section titles on phones (Restaurants near you, Browse by Menu, New Arrivals, Popular dishes, Stores
   near you, Shop the Mall), smaller so they sit lightly over their rows; "Order from anywhere…" a step bigger ---- */
@media (max-width: 600px) {
    .home .section-title { font-size: 18px; }
    .home .convenience-copy .section-title { font-size: 20px; }
}

/* ---- The payment page (pages/Pay.tsx): the customer's card, drawn in their bank's colours from its first 6 digits,
   with the total and Pay beside it on computers and under it on phones ---- */
.pay-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) {
    .pay-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .pay-side { position: sticky; top: 92px; }
}
.pay-card-side { display: grid; gap: 14px; }
.pay-card-side .small-note { margin: -4px 0 0; }
/* A bank card's own shape (85.6 × 54 mm), navy until the bank is known, then its colours fade in */
.pay-card {
    position: relative; overflow: hidden; width: 100%; max-width: 400px; aspect-ratio: 1.586; padding: 20px 22px; border-radius: 18px;
    display: grid; grid-template-rows: auto 1fr auto auto; color: #fff; background: linear-gradient(135deg, var(--navy-hover), var(--navy-deep));
    box-shadow: 0 18px 40px rgba(28, 34, 58, 0.3); transition: background 0.4s ease;
}
/* A soft sheen across the card */
.pay-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% -10%, rgba(255, 255, 255, 0.28), transparent 55%); pointer-events: none; }
.pay-card-bank { animation: rise 0.35s ease both; }
.pay-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pay-card-bank-name { font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: 19px; letter-spacing: var(--tracking-tight); }
.pay-card-type { font-size: 11px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: 0.8; }
.pay-card-chip { align-self: center; width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F3D98B, #C9A227); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.pay-card-number { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-size: clamp(18px, 5vw, 23px); font-weight: var(--weight-semibold); letter-spacing: 0.08em; white-space: nowrap; margin-bottom: 10px; }
.pay-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.pay-card-holder { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: 0.9; }
.pay-card-scheme { flex: none; }
.pay-card-visa { font-family: var(--font-heading); font-style: italic; font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.pay-card-verve { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.pay-card-mastercard { display: flex; }
.pay-card-mastercard span { width: 30px; height: 30px; border-radius: 50%; background: #EB001B; }
.pay-card-mastercard span + span { margin-left: -12px; background: #F79E1B; mix-blend-mode: screen; }
.pay-side-card { display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-family: var(--font-body); }
.pay-total strong { font-size: 22px; color: var(--ink); }
.pay-side-ref { margin: -6px 0 0; color: var(--muted); font-size: 13px; }
.pay-side-card .button svg { width: 18px; height: 18px; }
.pay-side-secure { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-size: 13px; line-height: var(--leading-snug); }
.pay-side-secure svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--green-ink); }
@media (max-width: 600px) {
    .pay-card { padding: 16px 18px; border-radius: 16px; }
    .pay-card-bank-name { font-size: 17px; }
}

/* ---- "Get updates on this order?" on an order under way (components/PushPrompt.tsx) ---- */
.push-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 12px 0; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.push-prompt-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.push-prompt-icon svg { width: 20px; height: 20px; }
.push-prompt-text { flex: 1 1 220px; display: grid; gap: 2px; min-width: 0; }
.push-prompt-text strong { font-family: var(--font-heading); font-size: 15px; }
.push-prompt-text > span { color: var(--muted); font-size: 13px; line-height: var(--leading-snug); }
.push-prompt-actions { display: flex; gap: 8px; }

/* ---- Past the ends of the page (a phone's bounce when scrolling): cream above the top, the footer's navy below the
   bottom, so the footer never shows a cream strip under it ---- */
html { background: linear-gradient(var(--page) 50%, var(--navy) 50%); }

/* ---- The phone menu: every place a row of its own, its icon and name centred across and down, a line between rows;
   the groups (Services, Work with us) under small centred headings, then Log in and Get the app, then Flashio's
   social accounts along the bottom in their own colours ---- */
.site-menu-panel { gap: 0; padding: 8px 14px 14px; max-height: calc(100dvh - 90px); overflow-y: auto; }
.site-menu-panel a.site-menu-row {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 12px;
    border-radius: 0; font-size: 16px; text-align: center;
}
.site-menu-panel a.site-menu-row + a.site-menu-row { border-top: 1px solid var(--line); }
.site-menu-panel a.site-menu-row:hover, .site-menu-panel a.site-menu-row[aria-current='page'] { background: var(--band); }
.site-menu-row svg { width: 20px; height: 20px; flex: none; color: var(--cream-deep); }
.site-menu-group { margin: 6px 0 0; padding: 14px 0 6px; border-top: 1px solid var(--line); text-align: center; }
.site-menu-group + a.site-menu-row { border-top: 1px solid var(--line); }
.site-menu-actions { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.site-menu-panel .site-menu-actions .button { margin-top: 0; }
.site-menu-social { display: flex; justify-content: center; gap: 22px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.site-menu-social > * { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--page); }
.site-menu-social svg { width: 20px; height: 20px; }
.social-x { color: #000; }
.social-facebook { color: #1877F2; }
.social-instagram { color: #E4405F; }
.social-tiktok { color: #010101; }

/* ---- Every dish and product card: the navy part about two-thirds of its old height (tighter padding, no gaps, a size
   smaller), so the photo leads ---- */
.dish-card .dish-card-body, .app-page.compact .grid-two .dish-card .dish-card-body { gap: 0; padding: 6px 10px 7px; }
.dish-card .dish-card-body strong, .app-page.compact .grid-two .dish-card .dish-card-body strong { font-size: 14px; line-height: 1.2; }
.dish-card .dish-card-body span, .app-page.compact .grid-two .dish-card .dish-card-body span { font-size: 12px; line-height: 1.25; }
.dish-card .dish-card-body em { margin-top: 1px; font-size: 14px; line-height: 1.2; }
.place-track-narrow .dish-card .dish-card-body { padding: 5px 8px 6px; }
.place-track-narrow .dish-card .dish-card-body strong, .place-track-narrow .dish-card .dish-card-body em { font-size: 13px; }
.place-track-narrow .dish-card .dish-card-body span { font-size: 11px; }
/* Log in / Sign up (My Account once logged in): a deep cream outline with navy words, so the solid orange Get the app
   stays the one that stands out */
.site-menu-actions .button-ghost { background: transparent; border-color: var(--cream-deep); color: var(--navy); }
.site-menu-actions .button-ghost:hover { background: rgba(184, 150, 95, 0.14); border-color: var(--cream-deep); color: var(--navy); }

/* "Finding your location…", or why it couldn't, under the home page's location box */
.locate-status { margin: 10px 0 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.locate-status[hidden] { display: none; }

/* ---- Parcel Delivery (pages/ParcelDelivery.tsx), laid out like the courier apps' booking pages: a title with the three
   steps beside it, the route as stops joined by a line (green start, orange end), what's being sent, and "Your
   delivery" with the vehicle, the estimate and Send beside the form on computers ---- */
.parcel-top { display: grid; gap: 14px; margin-bottom: 18px; }
.parcel-title { margin: 0 0 4px; font-size: clamp(26px, 3.2vw, 36px); }
.parcel-lead { margin: 0; color: var(--muted); font-size: 15px; }
.parcel-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.parcel-steps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-small); background: var(--band); font-family: var(--font-heading); font-weight: var(--weight-semibold); font-size: 13px; line-height: var(--leading-snug); }
.parcel-steps span { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; }
@media (min-width: 900px) {
    .parcel-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 28px; }
}

.parcel-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) {
    .parcel-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
    .parcel-side { position: sticky; top: 92px; }
}
.parcel-main { display: grid; gap: 16px; min-width: 0; }
.parcel-card { display: grid; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.parcel-card-title { margin: 0; font-size: 18px; }

/* The route: a dot for each place, joined by a dashed line down the left */
.parcel-route { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.parcel-stop { position: relative; padding-left: 30px; }
.parcel-stop::before { content: ''; position: absolute; left: 6px; top: 36px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--muted); z-index: 1; }
.parcel-stop:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 48px; bottom: -34px; border-left: 2px dashed var(--line); }
.parcel-stop-start::before { border-color: var(--green); background: var(--green); }
.parcel-stop-end::before { border-color: var(--accent); background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.parcel-stop-add::before { content: none; }
.parcel-stop-add:not(:last-child)::after { top: -12px; }
.parcel-stop .field { margin: 0; }

.parcel-row { display: grid; gap: 14px; }
@media (min-width: 700px) {
    .parcel-row { grid-template-columns: auto minmax(0, 1fr); gap: 28px; }
}

.parcel-summary { gap: 10px; }
.parcel-vehicle { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-small); border: 2px solid var(--accent); background: var(--accent-tint); }
.parcel-vehicle-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.parcel-vehicle-icon svg { width: 22px; height: 22px; }
.parcel-vehicle > span:last-child { display: grid; }
.parcel-vehicle strong { font-family: var(--font-heading); }
.parcel-vehicle small { color: var(--muted); font-size: 13px; }
.parcel-summary-row { display: flex; justify-content: space-between; margin: 0; font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.parcel-summary-row strong { color: var(--ink); }
.parcel-summary-total { padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.parcel-summary-total strong { font-size: 20px; }
.parcel-summary .small-note { margin: 0; }
@media (max-width: 600px) {
    .parcel-steps { grid-template-columns: 1fr; }
    .parcel-card { padding: 14px; }
}


/* "See all FAQs" under the home page's four questions */
.faq-more { margin: 14px 0 0; text-align: center; font-weight: var(--weight-semibold); }

/* ---- Join Our Team (/careers): the ways to join as three cards, each with its drawing, words and button ---- */
.careers-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.careers-way { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 22px 18px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.careers-way h3 { margin: 4px 0 0; font-size: 18px; }
.careers-way p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: var(--leading-body); }
.careers-way .button { margin-top: auto; }
.careers-way-art svg { width: 72px; height: 72px; }
.careers-list { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }
.careers-apply-title { margin-top: 28px; }
@media (max-width: 760px) {
    .careers-ways { grid-template-columns: 1fr; }
}

/* ---- The payment page's ways to pay (pages/Pay.tsx): four tabs, then the chosen one's panel: the card picture for
   Card, the transfer details for Bank transfer, OPay in its green, and the bank app ---- */
.pay-main { display: grid; gap: 16px; min-width: 0; }
.pay-methods-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay-method-tab {
    display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: var(--radius-small); cursor: pointer; text-align: center;
    background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font: inherit;
}
.pay-method-tab:hover { border-color: var(--navy); }
.pay-method-tab.is-on { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.pay-method-tab-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--band); color: var(--ink); }
.pay-method-tab.is-on .pay-method-tab-icon { background: var(--accent); color: #fff; }
.pay-method-tab-opay.is-on .pay-method-tab-icon { background: #1DCF9F; color: #0A3D2F; }
.pay-method-tab-icon svg { width: 18px; height: 18px; }
.pay-method-tab strong { font-family: var(--font-heading); font-size: 14px; }
.pay-method-tab small { color: var(--muted); font-size: 11px; line-height: 1.25; }
.pay-panel { display: grid; gap: 14px; animation: rise 0.25s ease both; }

/* Bank transfer: what Paystack will show, as a receipt-like card */
.pay-transfer { max-width: 400px; padding: 18px 20px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px rgba(28, 34, 58, 0.3); display: grid; gap: 8px; }
.pay-transfer-label { margin: 0 0 4px; font-size: 11px; font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: 0.7; }
.pay-transfer-row { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.pay-transfer-row span { opacity: 0.75; }
.pay-transfer-row strong { font-family: var(--font-body); font-variant-numeric: tabular-nums; }

/* OPay and the bank app: a wide banner in the method's own colours */
.pay-brand { max-width: 400px; display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 18px; font-weight: var(--weight-semibold); font-size: 15px; box-shadow: 0 18px 40px rgba(28, 34, 58, 0.22); }
.pay-brand-opay { background: linear-gradient(135deg, #1DCF9F, #0A8F6C); color: #fff; }
.pay-brand-bank { background: linear-gradient(135deg, var(--navy-hover), var(--navy-deep)); color: #fff; }
.pay-brand-mark { flex: none; display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 10px; border-radius: 14px; background: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 18px; }
.pay-brand-opay .pay-brand-mark { color: #0A8F6C; }
.pay-brand-bank .pay-brand-mark { color: var(--navy); }
.pay-brand-mark svg { width: 26px; height: 26px; }

.pay-steps { margin: 0; padding: 0; list-style: none; counter-reset: pay-step; display: grid; gap: 10px; }
.pay-steps li { counter-increment: pay-step; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: var(--leading-body); }
.pay-steps li::before { content: counter(pay-step); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; font-weight: var(--weight-bold); }
.pay-side-choose { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.pay-side-choose strong { color: var(--ink); }
@media (max-width: 600px) {
    .pay-methods-tabs { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Phones: the top section's fold button sits up in the header line, a round button just left of the cart, the
   same size and look as the cart and menu buttons. It scrolls away with the top section it folds. ---- */
@media (max-width: 899px) {
    .hero-toggle {
        top: 16px; bottom: auto; left: auto; right: 120px; transform: none; z-index: 11; width: 44px; height: 44px;
        border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lifted);
    }
    .hero-toggle .hero-grab { display: none; }
    .hero-toggle svg { width: 20px; height: 20px; opacity: 1; }
}

/* ---- Desktop bar (html.ts header): the logo and the delivery location on the left, the links in the middle, the icons,
   Order now and the menu button on the right. The menu slides in from the right under the bar while the pointer is over
   the button or the menu (client/site.ts), with the same content as the phone menu ---- */
.nav-location-panel[hidden] { display: none; }
@media (min-width: 900px) {
    .header-start { display: flex; align-items: center; gap: 14px; min-width: 0; justify-self: start; }
    .site-header .site-menu {
        position: absolute; top: 100%; right: 0; height: calc(100vh - 73px); height: calc(100dvh - 73px); width: 360px; max-width: 100%;
        margin: 0; padding: 0; display: block;
    }
    .site-header .site-menu[hidden] { display: none; }
    .site-header .site-menu-panel {
        height: 100%; max-height: none; min-width: 0; border-radius: 0; border-width: 0 0 0 1px; padding: 12px 18px 20px;
        animation: sidebar-in 0.25s ease both;
    }
    .site-header .menu-button { color: #fff; }

    /* The delivery location: a short space beside the logo, the address gliding across it right to left */
    .nav-location { position: relative; flex: 0 1 260px; min-width: 0; }
    .nav-location-button {
        display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 0; border: 0; background: none; color: #fff;
        font: inherit; cursor: pointer; text-align: left;
    }
    .nav-location-button > svg:first-child { width: 20px; height: 20px; flex: none; color: var(--accent); }
    .nav-location-button > svg:last-child { width: 14px; height: 14px; flex: none; opacity: 0.8; }
    .nav-location-text { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
    .nav-location-text small { display: none; }
    .nav-location-ticker { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
    .nav-location-text strong {
        display: inline-block; padding-left: 100%; font-size: 14px; font-family: var(--font-ui); white-space: nowrap;
        animation: location-glide 10s linear infinite;
    }
    .nav-location-button:hover strong, .nav-location-button[aria-expanded='true'] strong { animation-play-state: paused; }
    .nav-location-panel { position: absolute; top: calc(100% + 10px); left: 0; width: 360px; }
}
@keyframes sidebar-in { from { transform: translateX(24px); opacity: 0; } }
@media (min-width: 900px) and (max-width: 1239px) {
    .nav-location { flex-basis: 140px; }
}

/* The location panel, on every screen: Use my location, then a box with suggestions as you type */
.nav-location-panel {
    z-index: 30; display: grid; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lifted); color: var(--ink);
}
.nav-location-use {
    display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 12px; background: var(--accent-tint);
    color: var(--accent); font: inherit; font-family: var(--font-ui); font-weight: var(--weight-semibold); cursor: pointer;
}
.nav-location-use svg { width: 18px; height: 18px; }
.nav-location-input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--page); font: inherit; color: var(--ink); }
.nav-location-input:focus { outline: 0; border-color: var(--navy); }
.nav-location-input::placeholder { color: var(--placeholder); }
.nav-location-list { list-style: none; margin: 0; padding: 0; display: grid; max-height: 260px; overflow-y: auto; }
.nav-location-list[hidden] { display: none; }
.nav-location-list li { display: grid; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.nav-location-list li:hover { background: var(--band); }
.nav-location-list li span { color: var(--muted); font-size: 13px; }
.nav-location-status { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.nav-location-status[hidden] { display: none; }

/* Phones: the location as a pill between the logo and the cart, no arrow; its panel drops across the screen. The
   top section's fold button isn't needed up here any more. */
@media (max-width: 899px) {
    .nav-location { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-start; }
    .nav-location-button {
        display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; height: 44px; padding: 0 14px 0 10px; border: 0; border-radius: 999px;
        background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lifted); font: inherit; cursor: pointer; pointer-events: auto;
    }
    .nav-location-button > svg:first-child { width: 18px; height: 18px; flex: none; color: var(--accent); }
    .nav-location-button > svg:last-child, .nav-location-text small { display: none; }
    .nav-location-text { min-width: 0; }
    /* The pill fills the room between the logo and the cart, and the address glides across it right to left */
    .nav-location-button { width: 100%; }
    .nav-location-text { flex: 1 1 auto; }
    .nav-location-ticker { display: block; min-width: 0; overflow: hidden; white-space: nowrap; }
    .nav-location-text strong {
        display: inline-block; padding-left: 100%; white-space: nowrap; font-size: 13px; font-family: var(--font-ui);
        animation: location-glide 12s linear infinite;
    }
    .nav-location-panel { position: fixed; top: 68px; left: 16px; right: 16px; pointer-events: auto; }
    .hero-toggle { display: none; }
}

@keyframes location-glide { to { transform: translateX(-100%); } }
/* The address keeps gliding even where the device asks for less motion (the site stops other animation there): it's
   slow, and it pauses under the pointer */
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
    .nav-location-text strong { animation: location-glide 12s linear infinite !important; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
    .nav-location-text strong { animation: location-glide 14s linear infinite !important; }
    .nav-location-button:hover strong, .nav-location-button[aria-expanded='true'] strong { animation-play-state: paused !important; }
}
/* Phones: the location floats with no pill behind it; a soft cream glow round the words and pin keeps them readable
   over whatever scrolls underneath, the home page's navy top included */
@media (max-width: 899px) {
    .nav-location-button { background: none; box-shadow: none; padding: 0 4px; }
    .nav-location-text strong { color: var(--ink); text-shadow: 0 0 2px var(--page), 0 0 6px var(--page), 0 0 10px var(--page); }
    .nav-location-button > svg:first-child { filter: drop-shadow(0 0 2px var(--page)) drop-shadow(0 0 4px var(--page)); }
}
@media (max-width: 899px) {
    .site-header.over-dark .nav-location-text strong { color: #fff; text-shadow: none; }
    .site-header.over-dark .nav-location-button > svg:first-child { filter: none; }
}
/* No address kept (logged out, or none chosen yet): only the pin shows, on every screen */
.nav-location.is-empty .nav-location-text, .nav-location.is-empty .nav-location-button > svg:last-child { display: none; }
.nav-location.is-empty .nav-location-button { width: auto; }

/* ---- The home page's top: a slim navy band with just the headline and "Shop, send and receive." under it, always in
   view, taking no more room than the two lines need ---- */
.hero.hero-slim { padding: 94px 0 20px; border-radius: 0 0 var(--radius) var(--radius); }
.hero.hero-slim .hero-retro-title { max-width: none; }
.hero.hero-slim .hero-copy { gap: 2px; }
.hero.hero-slim .hero-copy .hero-retro-title { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; white-space: normal; }
.hero.hero-slim .hero-copy .lead { margin: 0; font-size: 15px; }
@media (max-width: 899px) {
    /* Room above for the floating logo and buttons, then the two lines */
    .hero.hero-slim { padding: 72px 0 14px; }
    .hero.hero-slim .hero-copy .hero-retro-title { font-size: calc((100vw - 40px) / 22.3); white-space: nowrap; }
    .hero.hero-slim .hero-copy .lead { font-size: 13px; }
}
/* Phones: the logo and the location together on the left, filling the room up to the cart */
@media (max-width: 899px) {
    .header-start { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
}

/* ---- A category page's choices (components/SortChips.tsx): one row of chips, each with its icon and name, sliding
   sideways when they don't fit. Navy on a light chip; the chosen one orange with white ---- */
.sort-chips { display: flex; gap: 8px; margin: 0 0 18px; padding: 2px 0 6px; overflow-x: auto; scrollbar-width: none; }
.sort-chips::-webkit-scrollbar { display: none; }
.sort-chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font: inherit; font-family: var(--font-ui); font-size: 14px; font-weight: var(--weight-semibold);
    white-space: nowrap; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.sort-chip:hover { border-color: var(--navy); }
.sort-chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sort-chip-icon { display: grid; width: 18px; height: 18px; color: var(--ink); }
.sort-chip.is-on .sort-chip-icon { color: #fff; }
.sort-chip-icon svg { width: 100%; height: 100%; }
@media (max-width: 600px) {
    .sort-chips { margin-bottom: 14px; }
    .sort-chip { padding: 7px 12px 7px 9px; font-size: 13px; }
}

/* ---- Become a rider (pages/RiderApply.tsx): the application in cards, the three photos as picture tiles, and the
   status once it's sent ---- */
.rider-form { display: grid; gap: 16px; }
.rider-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .rider-row { grid-template-columns: 1fr 1fr; } }
.rider-photo {
    display: grid; justify-items: center; gap: 4px; padding: 14px; border-radius: var(--radius-small); border: 1.5px dashed var(--line);
    background: var(--page); cursor: pointer; text-align: center;
}
.rider-photo:hover { border-color: var(--navy); }
.rider-photo-missing { border-color: var(--red); }
.rider-photo input { display: none; }
.rider-photo img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.rider-photo-empty { display: grid; place-items: center; gap: 4px; width: 120px; height: 90px; border-radius: 10px; background: var(--band); color: var(--muted); font-size: 12px; }
.rider-photo-empty svg { width: 22px; height: 22px; }
.rider-photo strong { font-family: var(--font-heading); font-size: 14px; }
.rider-photo small { color: var(--muted); font-size: 12px; }
.rider-status { display: flex; gap: 16px; align-items: flex-start; padding: 20px; margin-bottom: 18px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.rider-status h2 { margin: 2px 0 6px; color: #fff; font-size: 20px; }
.rider-status p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: var(--leading-body); }
.rider-status-label { font-size: 11px !important; font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--accent) !important; }
.rider-status-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.rider-status-approved .rider-status-icon { background: var(--green); }
.rider-status-icon svg { width: 22px; height: 22px; color: #fff; }
.rider-summary { display: grid; margin: 0; padding: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rider-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; }
.rider-summary div + div { border-top: 1px solid var(--line); }
.rider-summary dt { color: var(--muted); }
.rider-summary dd { margin: 0; font-weight: var(--weight-semibold); text-align: right; }

/* The footer's social icons: in their own colours on cream circles, like the menu, so the black ones show on the navy */
.footer-social { gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); transition: transform 0.15s; }
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer .footer-social { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.site-footer .footer-social li { margin: 0; }
.site-footer .footer-social a { opacity: 1; padding: 0; }
.site-footer .footer-social a.social-x, .site-footer .footer-social a.social-tiktok { color: #010101; }
.site-footer .footer-social a.social-facebook { color: #1877F2; }
.site-footer .footer-social a.social-instagram { color: #E4405F; }

/* ---- Home page: room around "How Flashio works" and its phone, so neither sits squeezed against the edges ---- */
.home .section.section-dark { padding: 64px 0 72px; }
.home .section-dark .section-title { margin-bottom: 32px; }
.home .section-dark .steps-showcase { padding: 0 16px; }
@media (max-width: 899px) {
    .home .section.section-dark { padding: 52px 0 60px; }
    .home .section-dark .section-title { margin-bottom: 26px; }
}
@media (max-width: 600px) {
    .home .section.section-dark { padding: 44px 0 52px; }
    .home .section-dark .section-title { margin-bottom: 22px; }
}

/* ---- Testimonials before the first review: a friendly invitation, not a blank box (replaced by real reviews) ---- */
.testimonials-empty {
    display: grid; justify-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 32px 24px; text-align: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink);
}
.testimonials-empty-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); }
.testimonials-empty h3 { margin: 6px 0 0; font-size: clamp(18px, 2vw, 22px); }
.testimonials-empty p { margin: 0; max-width: 420px; color: var(--muted); font-size: 15px; line-height: var(--leading-body); }
@media (max-width: 600px) {
    .testimonials-empty { padding: 26px 18px; }
    .testimonials-empty p { font-size: 14px; }
}
/* The section after "How Flashio works" starts with room under the navy band too */
.home .section.testimonials { padding-top: 56px; }
@media (max-width: 600px) { .home .section.testimonials { padding-top: 40px; } }

/* ---- Testimonials, bigger: the cards stretch across the full width of the page (one review fills it, more share it),
   with roomier padding and larger words; the empty-state card is full width too ---- */
.testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.testimonial { gap: 16px; padding: 32px 36px; }
.testimonial blockquote { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; }
.testimonial-name { font-size: 17px; }
.testimonial-name span { font-size: 15px; }
.testimonial svg { width: 22px; height: 22px; }
.testimonials-empty { max-width: none; padding: 48px 32px; }
.testimonials-empty p { max-width: 640px; font-size: 17px; }
.testimonials-empty h3 { font-size: clamp(20px, 2.4vw, 26px); }
@media (max-width: 600px) {
    .testimonial { padding: 22px 20px; }
    .testimonial blockquote { font-size: 17px; }
    .testimonials-empty { padding: 32px 20px; }
    .testimonials-empty p { font-size: 15px; }
}

/* New Arrivals glides on its own (client/carousel.ts), so it doesn't snap card by card */
.place-track[data-auto-scroll] { scroll-snap-type: none; scroll-behavior: auto; }
.place-track[data-auto-scroll] > * { scroll-snap-align: none; }

/* ---- Home page rows of round photos (Restaurants near you, Stores near you, Shop the Mall): smaller photos, and
   smaller, lighter words under them ---- */
.home .place-track .place-card .place-card-media { width: 84px; height: 84px; }
.home .place-track .place-card .place-card-body h3 { font-size: 13px; font-weight: var(--weight-semibold); }
.home .place-track .place-card .place-card-body p { font-size: 11px; font-weight: var(--weight-regular); }
.home .place-track .place-card .place-card-body .place-card-fee, .home .place-track .place-card .place-card-body .round-item-price { font-size: 11px; font-weight: var(--weight-semibold); }
@media (max-width: 600px) {
    .home .place-track .place-card .place-card-media { width: 70px; height: 70px; }
    .home .place-track .place-card .place-card-body h3 { font-size: 12px; }
}
/* The sort row's icons in the menu's deep cream; the chosen one stays white on orange */
.sort-chip-icon { color: var(--cream-deep); }

/* The location panel's landmark step: the full address found, then a landmark for the rider */
.nav-location-landmark { display: grid; gap: 8px; }
.nav-location-landmark[hidden], .nav-location-use[hidden], .nav-location-input[hidden] { display: none; }
.nav-location-found { margin: 0; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: 14px; color: var(--ink); line-height: var(--leading-snug); }
.nav-location-landmark-label { font-size: 13px; color: var(--muted); }
.nav-location-landmark-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ---- A dish or product card waiting for a store to add one (home page rows before launch): the real card's shape,
   the photo area and the lines in the navy strip softly shimmering ---- */
.dish-card-placeholder { pointer-events: none; }
.dish-card-placeholder .dish-card-media { background: linear-gradient(90deg, var(--navy-tint) 25%, var(--navy-tint-strong) 50%, var(--navy-tint) 75%); background-size: 200% 100%; animation: placeholder-shimmer 1.6s ease-in-out infinite; }
.dish-card-placeholder .dish-card-body::before { display: none; }
.dish-card-placeholder .dish-card-body .placeholder-line { margin-top: 6px; height: 10px; background: linear-gradient(90deg, rgba(246, 238, 223, 0.1) 25%, rgba(246, 238, 223, 0.22) 50%, rgba(246, 238, 223, 0.1) 75%); background-size: 200% 100%; animation: placeholder-shimmer 1.6s ease-in-out infinite; }
.dish-card-placeholder .dish-card-body .placeholder-line-title { height: 12px; margin-top: 2px; }

/* ---- "The Flashio app is coming soon" line across the top of every page (html.ts promoBar): the navy with a softer,
   lighter navy-blue blended through it, the words in white, and the "Get the app" band's store badges made small. A
   faint light sweep catches the eye. ✕ hides it (html.promo-off) and everything moves back up. ---- */
:root { --promo-h: 44px; --navy-soft: #2E3A63; }
html.promo-off { --promo-h: 0px; }
html.promo-off .promo-bar { display: none; }

.promo-bar {
    position: fixed; z-index: 12; top: 0; left: 0; right: 0; height: var(--promo-h); display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 50%, var(--navy) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.promo-bar::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.1), transparent); animation: promo-sweep 6s ease-in-out infinite;
}
@keyframes promo-sweep { 0%, 55% { left: -30%; } 100% { left: 130%; } }
.promo-bar-inner { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 0 44px; color: inherit; text-decoration: none; white-space: nowrap; }
.promo-bar-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-body); font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.promo-bar-text strong { color: #fff; font-family: var(--font-heading); font-weight: 700; }
/* The store badges, small enough for the line, in the same navy-blue */
.store-badges.store-badges-compact { flex: none; flex-direction: row; flex-wrap: nowrap; gap: 6px; }
.store-badges-compact .store-badge { gap: 6px; padding: 3px 10px 3px 8px; border-radius: 8px; font-size: 12px; background: var(--navy-soft); border-color: rgba(255, 255, 255, 0.22); }
.store-badges-compact .store-badge-icon, .store-badges-compact .store-badge-icon svg { width: 16px; height: 16px; }
.store-badges-compact .store-badge-small { font-size: 8.5px; }
.promo-bar-inner:hover .store-badge { border-color: rgba(255, 255, 255, 0.45); }
.promo-bar-close {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer;
}
.promo-bar-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.promo-bar-close svg { width: 14px; height: 14px; }
/* Phones: "The Flashio app" and the two small badges */
@media (max-width: 600px) {
    .promo-bar-more { display: none; }
    .promo-bar-inner { gap: 8px; padding: 0 36px 0 10px; }
    .promo-bar-text { font-size: 12px; }
    .store-badges-compact .store-badge { padding: 3px 7px 3px 6px; font-size: 11px; }
    .store-badges-compact .store-badge-small { font-size: 8px; }
}
@media (max-width: 360px) {
    .promo-bar-text { display: none; }
}

/* Everything that sits under the header, moved down by the line's height */
html { scroll-padding-top: calc(84px + var(--promo-h)); }
main { padding-top: calc(76px + var(--promo-h)); }
.site-header { top: calc(12px + var(--promo-h)); }
.checkout-side, .store-side, .pay-side, .parcel-side { top: calc(92px + var(--promo-h)); }
.legal-nav, .account-side { top: calc(96px + var(--promo-h)); }
.account-main .menu-group { scroll-margin-top: calc(96px + var(--promo-h)); }
.store-menu-bar { top: calc(72px + var(--promo-h)); }
@media (min-width: 900px) {
    .site-header { top: var(--promo-h); }
    .site-header .site-menu { height: calc(100dvh - 73px - var(--promo-h)); }
}
@media (max-width: 899px) {
    .store-menu-bar { top: calc(64px + var(--promo-h)); }
    .nav-location-panel { top: calc(68px + var(--promo-h)); }
}
