/* ==========================================================================================================
   Adarsh Foods customer look, 2026 redesign (stage 2 of docs/notes/customer-redesign.md, 2026-11-27).
   The shared pieces of the owner's redesign canvas (https://claude.ai/artifact/WzmhEjKuG3cdvQRyNGjbrf):
   colours, type, the app header with logo C, the bottom tab bar, buttons, fields, chips and the cart bar.
   Loaded LAST on every customer page (customer-menu, orders, profile) so it wins over styles.css / platform.css
   without editing them; only looks, never layout that scripts depend on. Screen-by-screen work (stages 3-10) adds
   its own sections at the end of this file.
   ========================================================================================================== */

/* ---- tokens: the design's palette (also fed into the older --pf-* / --fo-* / --cx-* names the pages use) ---- */
body.order-app {
    --br-bg: #fff8ee;          /* page */
    --br-card: #fffaf2;        /* cards, bars */
    --br-field: #fffdf9;       /* text boxes */
    --br-subtle: #f3e6d2;      /* segmented controls, quiet fills */
    --br-ink: #2a1a0f;
    --br-ink-2: #4f3b2e;       /* secondary text on cards */
    --br-muted: #6b5444;       /* hints; 5.9:1 on the page colour */
    --br-line: #ecdcc4;
    --br-line-2: #e3cfb2;      /* field and chip borders */
    --br-brand: #7a3b12;
    --br-brand-dk: #5c2b0c;
    --br-gold: #c8902e;
    --br-gold-soft: #f8e5b8;   /* selected pill, tags */
    --br-gold-tint: #fdf1d8;   /* offer strip */
    --br-green: #1f7a3a;
    --br-green-ink: #17602d;
    --br-green-bg: #eaf5ec;
    --br-red: #b3261e;
    --br-red-bg: #fdecea;
    --br-shadow: 0 1px 4px rgba(80, 40, 10, .10);
    --br-shadow-up: 0 -2px 10px rgba(80, 40, 10, .08);
    --br-r-card: 16px;
    --br-r-btn: 14px;
    --br-r-field: 14px;

    --pf-bg: var(--br-bg);
    --pf-ink: var(--br-ink);
    --pf-muted: var(--br-muted);
    --pf-line: var(--br-line);
    --pf-brand: var(--br-brand);
    --pf-brand-dk: var(--br-brand-dk);
    --pf-gold: var(--br-gold);
    --pf-green: var(--br-green);
    --pf-green-bg: var(--br-green-bg);
    --pf-red: var(--br-red);
    --pf-red-bg: var(--br-red-bg);
    --pf-shadow: var(--br-shadow);
    --fo-canvas: var(--br-bg);
    --fo-text: var(--br-ink);
    --fo-muted: var(--br-muted);
    --fo-border: var(--br-line);
    --fo-accent: var(--br-brand);
    --fo-accent-dark: var(--br-brand-dk);
    --fo-accent-soft: var(--br-gold-soft);
    --cx-soft: var(--br-gold-soft);
    background: var(--br-bg);
    color: var(--br-ink);
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---- app header: cream bar, logo C tile without a frame, quiet line under it ---- */
body.order-app .app-topbar,
body.order-app .app-topbar.cx-header {
    background: var(--br-bg) !important;
    border-bottom: 1px solid var(--br-line) !important;
    box-shadow: none !important;
}
body.order-app .app-brand-logo-wrap {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
}
body.order-app .app-brand-logo { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 10px; }
body.order-app .app-brand-name { color: var(--br-ink); font-weight: 700; letter-spacing: -.01em; }
body.order-app .cx-avatar { background: var(--br-gold-soft); color: var(--br-brand); font-weight: 700; }
/* phones: the design shows the logo tile before the location (platform.css hid the whole brand under 900px) */
@media (max-width: 899.98px) {
    body.order-app .cx-brand { display: flex !important; flex: none; }
    body.order-app .cx-brand .app-brand-text { display: none !important; }
    body.order-app .cx-header-in { gap: 10px; }
}

/* ---- bottom tab bar: ivory bar, a soft-gold pill behind the selected icon (52 x 30), 11px labels ---- */
body.order-app .app-bottom-nav {
    background: var(--br-card) !important;
    border-top: 0 !important;
    box-shadow: 0 -1px 0 var(--br-line) !important;
}
body.order-app .app-tab { color: var(--br-ink-2); text-transform: none; letter-spacing: 0; }
body.order-app .app-tab .app-tab-icon {
    width: 20px; height: 20px;
    padding: 5px 16px;
    box-sizing: content-box;
    border-radius: 15px;
}
body.order-app .app-tab .app-tab-label { font-size: 11px; font-weight: 500; letter-spacing: 0; }
body.order-app .app-tab.active,
body.order-app .app-tab[aria-current="page"] { color: var(--br-brand); }
body.order-app .app-tab.active .app-tab-label,
body.order-app .app-tab[aria-current="page"] .app-tab-label { font-weight: 700; }
body.order-app .app-tab.active .app-tab-icon,
body.order-app .app-tab[aria-current="page"] .app-tab-icon { background: var(--br-gold-soft); color: var(--br-brand); stroke-width: 2; }

/* ---- buttons: one flat brown main button, gold-outlined secondary ---- */
body.order-app :is(.btn-primary, .cx-btn--primary, .btn-checkout, .btn-checkout-place) {
    min-height: 52px;
    border: 0;
    border-radius: var(--br-r-btn);
    background: var(--br-brand);
    background-image: none;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    box-shadow: none;
}
body.order-app :is(.btn-primary, .cx-btn--primary, .btn-checkout, .btn-checkout-place):active { background: var(--br-brand-dk); }
body.order-app :is(.btn-primary, .cx-btn--primary, .btn-checkout, .btn-checkout-place):disabled { background: #c9b49e; color: #fffaf2; }
body.order-app .btn-secondary {
    min-height: 48px;
    border: 1px solid var(--br-gold);
    border-radius: var(--br-r-btn);
    background: var(--br-card);
    color: var(--br-brand);
    font-family: inherit;
    font-weight: 600;
    box-shadow: none;
}

/* ---- text boxes: 16px (no iPhone zoom), ivory, warm border, brown focus ---- */
body.order-app :is(input[type="text"], input[type="tel"], input[type="search"], input[type="email"], input[type="number"], textarea, select):not(.menu-search-input) {
    border-color: var(--br-line-2);
    border-radius: var(--br-r-field);
    background-color: var(--br-field);
    color: var(--br-ink);
    font-family: inherit;
}
body.order-app :is(input, textarea, select):focus-visible {
    outline: 2px solid var(--br-brand);
    outline-offset: 0;
    border-color: var(--br-brand);
}
body.order-app input::placeholder, body.order-app textarea::placeholder { color: #8f7a68; }

/* the search box at the top of the page */
body.order-app .pf-searchbar { background: var(--br-bg); }
body.order-app .pf-searchbar .menu-search-wrapper {
    background: var(--br-card);
    border: 1px solid var(--br-line-2);
    border-radius: var(--br-r-field);
    box-shadow: none;
}
body.order-app .pf-searchbar .menu-search-wrapper:focus-within { border: 2px solid var(--br-brand); box-shadow: none; }
body.order-app .pf-searchbar .search-icon { color: var(--br-muted); }

/* ---- chips (filters, categories): 36px pills; selected = brown ---- */
body.order-app :is(.pf-chip, .sx-pickchip, .sx-pop) {
    border-color: var(--br-line-2);
    background: var(--br-card);
    color: var(--br-ink);
    box-shadow: none;
}
body.order-app :is(.sx-pickchip.is-on) { background: var(--br-brand); border-color: var(--br-brand); color: #fff; }
body.order-app .pf-chip--open { background: var(--br-green-bg); color: var(--br-green-ink); border-color: transparent; }

/* ---- cards: ivory with one soft shadow (the design's look), never pure white on the cream page ---- */
body.order-app :is(.pf-rest, .sx-group, .sx-type, .sx-rmini, .cx-tcard) {
    background: var(--br-card);
    border-color: var(--br-line);
    box-shadow: var(--br-shadow);
}
body.order-app .sx-ghead { background: var(--br-card); }

/* ---- the cart bar: brown, 60px, 16px corners, gold hint line ---- */
body.order-app .cart-bar:not(.grocery-cart-bar) {
    min-height: 60px;
    border-radius: 16px !important;
    background: var(--br-brand) !important;
    box-shadow: 0 8px 20px rgba(80, 40, 10, .30) !important;
    font-family: inherit;
}
body.order-app .cart-bar:not(.grocery-cart-bar) .cart-bar-meta { color: var(--br-gold-soft); }
body.order-app .cart-bar:not(.grocery-cart-bar) .cart-bar-badge { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; }

/* ---- veg / non-veg marks: the square with a dot ---- */
body.order-app :is(.veg-indicator, .nonveg-indicator) { border-radius: 2px; }

/* ---- focus ring for keyboard users, brand coloured ---- */
body.order-app :is(a, button, [role="tab"], [role="radio"]):focus-visible { outline: 2px solid var(--br-brand); outline-offset: 2px; }

/* ---- address form: Delete (two taps) under Save ---- */
body.order-app .cx-addr-del { display: block; width: 100%; min-height: 48px; margin-top: 4px; border: 0; border-radius: 14px; background: none; font-family: inherit; font-weight: 600; text-align: center; }
body.order-app .cx-addr-del.is-confirm { background: var(--br-red-bg); }


/* ---- splash (2026 redesign, screen 1): brown, the light logo tile, "Adarsh Foods" with Foods in gold, the line under
   it; opens by itself as before (the page hides it when ready). The old pulsing ring and dots are gone. ---- */
body.order-app .app-splash { background: var(--br-brand) !important; background-image: none !important; color: #fff8ee; }
body.order-app .app-splash-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
body.order-app .app-splash-badge { display: block; width: 128px; height: 128px; padding: 0; border: 0; background: none; box-shadow: none; animation: none; }
body.order-app .app-splash-ring, body.order-app .app-splash-dots { display: none !important; }
body.order-app .app-splash-logo { display: block; width: 128px !important; height: 128px !important; border-radius: 23%; box-shadow: none; animation: none; }
body.order-app .app-splash-name { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; color: #fff8ee; }
body.order-app .app-splash-name span { color: #e2b46e; }
body.order-app .app-splash-hello { margin-top: -20px; font-size: 14px; font-weight: 400; color: #f3dcb6; letter-spacing: 0; text-transform: none; }
body.order-app .app-splash-kn { margin-top: -18px; font-size: 13px; color: #e8c9a0; }
body.order-app .app-splash::before, body.order-app .app-splash::after,
body.order-app .app-splash-inner::before, body.order-app .app-splash-inner::after { display: none !important; content: none !important; }
body.order-app .app-splash-name { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: #fff8ee !important; }
body.order-app .app-splash-name span { -webkit-text-fill-color: #e2b46e !important; }

/* ==== Stage 4: Home (2026 redesign, screen 4) ====
   greeting → search box (opens Search) → Breakfast · Lunch · Snacks · Dinner switch → "Suggested for <meal>" circles →
   "Hotels near you" cards with "See all N" → Order again → Popular for <meal>. Behaviour unchanged (platform.js hx*). */
/* Home: the search bar stays pinned at the top like on every other view (owner, 2026-11-28: "search bar should always
   stay on top"); the old box under the greeting scrolled away with the page, so it is hidden. A tap on the bar opens Search. */
body.order-app.pf-m-home .hx-search { display: none; }
body.order-app .hx-hello { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
body.order-app .hx-hello[hidden] { display: none; }
body.order-app .hx-hello h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: 0; color: var(--br-ink); }
body.order-app .hx-hello p { margin: -4px 0 0; font-size: 13px; color: var(--br-muted); }
body.order-app .hx-hello p[hidden] { display: none; }
body.order-app .hx-search { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--br-line-2); border-radius: 14px; background: var(--br-card); color: var(--br-muted); font: inherit; font-size: 14px; text-align: left; cursor: pointer; box-sizing: border-box; }
body.order-app .hx-search:active { background: var(--br-gold-tint); }
body.order-app .hx-search svg { flex: none; }
body.order-app .hx-meals { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 6px; padding: 4px; border-radius: 14px; background: var(--br-subtle); overflow: visible !important; }
body.order-app .hx-meal { display: flex; align-items: center; justify-content: center; min-width: 0; height: 38px; margin: 0; padding: 0 4px; border: 0 !important; border-radius: 10px; background: transparent !important; box-shadow: none !important; color: var(--br-ink-2); font: inherit; font-size: 13px; font-weight: 400; white-space: nowrap; cursor: pointer; }
body.order-app .hx-meal img { display: none !important; }
body.order-app .hx-meal[aria-pressed="true"] { background: var(--br-card) !important; box-shadow: 0 1px 3px rgba(80, 40, 10, .15) !important; color: var(--br-brand); font-weight: 700; }
/* section heads */
body.order-app .pf-block-head h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--br-ink); }
body.order-app .cx-seeall { margin-left: auto; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--br-brand); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
body.order-app .cx-seeall[hidden] { display: none; }
body.order-app #cxTop .pf-block-head { display: flex; align-items: center; gap: 8px; }
/* "Suggested for <meal>": 56 px circles with the name under them */
body.order-app .pf-cats-block .pf-cats { gap: 14px; }
body.order-app .pf-cats-block .pf-cat { width: 60px !important; gap: 6px; }
body.order-app .pf-cats-block .pf-cat-ic { width: 56px !important; height: 56px !important; box-shadow: none !important; }
body.order-app .pf-cats-block .pf-cat-ic img { width: 30px !important; height: 30px !important; }
body.order-app .pf-cats-block .pf-cat > span:last-child { font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--br-ink); }
body.order-app .pf-cats-block .pf-cat small { display: none; }
/* "Hotels near you": 168 px cards (picture 84 px with the rating on it, name, one line) */
body.order-app .cx-top-row { gap: 12px; }
body.order-app .cx-tcard { flex: 0 0 168px !important; max-width: none !important; display: flex; flex-direction: column; gap: 1px; padding: 0 0 10px; border: 0 !important; border-radius: 16px; overflow: hidden; background: var(--br-card); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); color: var(--br-ink); text-align: left; }
body.order-app .cx-tcard-pic { position: relative; display: block; height: 84px; margin-bottom: 7px; }
body.order-app .cx-tcard-pic .cx-tcard-cover { width: 100% !important; height: 84px !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.order-app .cx-tcard-pic .cx-tcard-cover img { width: 100%; height: 100%; object-fit: cover; }
body.order-app .cx-tcard-pic .cx-cover--icons img { width: 28px; height: 28px; object-fit: contain; }
body.order-app .cx-tcard-badge { position: absolute; left: 8px; bottom: 8px; display: flex; }
body.order-app .cx-tcard-badge .cx-rate { height: 22px; padding: 0 7px; border-radius: 7px; font-size: 12px; box-shadow: none; }
body.order-app .cx-tcard-name { padding: 0 10px; font-size: 14px !important; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.order-app .cx-tcard-meta { padding: 0 10px; font-size: 11px; line-height: 16px; color: var(--br-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.order-app .cx-tcard-meta .cx-closed { color: var(--br-red); font-weight: 600; }
body.order-app .cx-tcard.is-closed .cx-tcard-pic { opacity: .65; }
@media (min-width: 900px) { body.order-app .cx-tcard { flex-basis: 220px !important; } body.order-app .cx-tcard-pic, body.order-app .cx-tcard-pic .cx-tcard-cover { height: 120px !important; } }
/* Order again / Popular: the dish cards on ivory with one soft shadow */
body.order-app .hx-dish { background: var(--br-card); border-color: var(--br-line); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); border-radius: 16px; }
body.order-app .hx-veg { border-color: var(--br-green); color: var(--br-green-ink); background: var(--br-card); }
body.order-app .hx-veg[aria-pressed="true"] { background: var(--br-green-bg); }
@media (min-width: 900px) { body.order-app .hx-meals { max-width: 560px; } body.order-app .hx-search { max-width: 640px; } }

/* ==== Stage 5: Search (2026 redesign, screen 5) ====
   ‹ back + the box (2 px brown border) on phones without the location header; Veg only · Open now · Rated · Sort as 34 px
   chips; one card per hotel: name + tag, "km · delivery · pickup" (or Closed · opens …), rating, chevron; dish rows without
   pictures: veg mark, name, price (+ liked), ADD / Choose. Behaviour unchanged (platform.js renderSearch). */
body.order-app .sxr-back { display: none; }
/* "N items found for …" under the search box: one quiet line, not a big bordered card (owner, 2026-11-28: search UI) */
body.order-app .menu-search-container .search-results-info { margin: 8px 4px 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: left; font-size: 13px; line-height: 1.4; color: var(--br-muted); }
body.order-app .menu-search-container .search-results-info strong { color: var(--br-ink); }
body.order-app .menu-search-input:focus-visible { outline: none; } /* the box shows the focus, not the text inside it */
@media (max-width: 899.98px) {
    body.order-app.sx-on .app-topbar { display: none !important; }
    body.order-app.sx-on .app-shell { padding-top: env(safe-area-inset-top, 0px) !important; } /* the header's space goes with it */
    body.order-app.sx-on .pf-searchbar .search-icon { display: none; }
    body.order-app.sx-on .pf-searchbar .menu-search-input { padding-left: 14px; }
    body.order-app.sx-on .pf-searchbar { top: 0 !important; padding-top: 12px; }
    body.order-app.sx-on .menu-search-container { display: flex; align-items: center; gap: 6px; }
    body.order-app.sx-on .sxr-back { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; padding: 0; border: 0; border-radius: 22px; background: none; color: var(--br-ink); cursor: pointer; }
    body.order-app.sx-on .menu-search-container .menu-search-wrapper { flex: 1; min-width: 0; }
    /* the "N items found" note never sits BESIDE the box (it squeezed the box to a thin bar): its own row below */
    body.order-app.sx-on .menu-search-container { flex-wrap: wrap; }
    body.order-app.sx-on .menu-search-container .search-results-info { flex: 0 0 100%; }
}
body.order-app.sx-on .pf-searchbar .menu-search-wrapper,
body.order-app.sx-on .pf-searchbar .menu-search-wrapper:focus-within { border: 2px solid var(--br-brand) !important; background: var(--br-field); box-shadow: none !important; }
body.order-app.sx-on .pf-searchbar .menu-search-input { height: 44px; font-weight: 500; }
/* filters */
body.order-app .sx-filters { gap: 8px; }
body.order-app .sx-filters :is(button, .cx-fchip, .sx-fchip) { min-height: 34px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--br-line-2); background: var(--br-card); color: var(--br-ink); font-size: 13px; font-weight: 400; box-shadow: none; }
body.order-app .sx-filters :is(button, .cx-fchip, .sx-fchip)[aria-pressed="true"] { border-color: var(--br-brand); background: var(--br-brand); color: #fff; font-weight: 600; }
body.order-app .sx-count { font-size: 12px; font-weight: 400; color: var(--br-muted); }
body.order-app .sx-count b { font-weight: 600; color: var(--br-ink-2); }
/* a hotel's card */
body.order-app .sx-group { border: 0; border-radius: 18px; background: var(--br-card); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); }
body.order-app .sx-group.is-mine { box-shadow: 0 0 0 2px var(--br-brand), 0 1px 4px rgba(80, 40, 10, .10); }
body.order-app .sx-ghead { min-height: 64px; gap: 10px; padding: 12px 14px; background: var(--br-card) !important; border-bottom: 1px solid #f0e3cf; }
body.order-app .sx-gtop { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
body.order-app .sx-gname { font-size: 15px; font-weight: 700; letter-spacing: 0; -webkit-line-clamp: 1; }
body.order-app .sx-tag { flex: none; padding: 2px 6px; border-radius: 4px; background: var(--br-gold-soft); color: var(--br-brand); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
body.order-app .sx-tag--mine { background: var(--br-brand); color: #fff; }
body.order-app .sx-gfacts { font-size: 12px; font-weight: 400; color: var(--br-muted); }
body.order-app .sx-grate { flex: none; display: flex; }
body.order-app .sx-grate .cx-rate { height: 22px; padding: 0 7px; border-radius: 7px; font-size: 12px; }
body.order-app .sx-gchev { flex: none; color: var(--br-muted); }
/* its dishes */
body.order-app .sx-glist { border-top: 0; }
body.order-app .sx-glist .sx-row { min-height: 52px; padding: 10px 14px; background: none; border: 0; box-shadow: none; border-radius: 0; }
body.order-app .sx-glist .sx-row .sx-pic { display: none !important; }
body.order-app .sx-glist .sx-row + .sx-row { border-top: 1px solid #f4ebdd !important; }
body.order-app .sx-glist .hx-name { font-size: 14px; font-weight: 500; }
body.order-app .sx-price { font-size: 12px; font-weight: 400; color: var(--br-ink-2); }
body.order-app .sx-glist .sx-side .hx-add, body.order-app .sx-glist .sx-side .hx-choose { min-width: 76px; min-height: 36px; border-radius: 10px; border: 1px solid var(--br-gold); background: var(--br-card); color: var(--br-brand); font-size: 13px; font-weight: 700; }
body.order-app .sx-gmore { min-height: 44px; border-top: 1px solid #f0e3cf; background: var(--br-card); color: var(--br-brand); font-size: 13px; font-weight: 600; }
body.order-app .sx-closedbtn { min-height: 44px; border: 0; background: none; justify-content: center; color: var(--br-muted); font-size: 13px; font-weight: 400; }
body.order-app .sx-allclosed { background: var(--br-gold-tint); color: #7a4300; font-size: 13px; font-weight: 500; }
/* the empty Search page's hotel cards look like Home's "Hotels near you" cards */
body.order-app .sx-rmini { width: 168px; padding: 0 0 10px; gap: 2px; border: 0; border-radius: 16px; overflow: hidden; background: var(--br-card); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); grid-template-rows: auto auto 1fr; }
body.order-app .sx-rmini-cover { height: 84px !important; border-radius: 0 !important; margin-bottom: 6px; }
body.order-app .sx-rmini b { min-height: 0; padding: 0 10px; font-size: 14px; font-weight: 600; -webkit-line-clamp: 1; }
body.order-app .sx-rmini-line { padding: 0 10px; }
body.order-app .sx-type { border: 0; background: var(--br-card); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); }
body.order-app .sx-type b { font-weight: 600; }
body.order-app .sx-hello h2 { font-weight: 700; }

/* ==== Stage 6: Restaurant menu (2026 redesign, screen 6) ====
   The header sits on the page (no card): name 24 px, what they serve, the facts as quiet chips. Dishes are ROWS (Top picks
   too, the design's "Recommended"): veg mark, name, price, liked / SELLING FAST on the left, the picture 112 x 100 on the
   right with ADD (or the brown − qty +) over its lower edge. Pure CSS on script.js's markup, so Add / sizes / toppings /
   closed behave as before. Why the heavy selectors: platform.css styles this page with `#menuItemsContainer
   .menu-category …` and flattens the card's wrappers with `display: contents !important`; these rules have to match that
   strength (and brand.css loads last). Picking Half / Full must stay a FIXED bottom sheet (rule at the end). */
body.order-app.pf-m-restaurant #pfRestHead.cx-rhead,
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
body.order-app.pf-m-restaurant #pfRestHead.cx-rhead { padding: 4px 0 0 !important; }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo { padding: 0 !important; }
body.order-app.pf-m-restaurant #pfRestHead .pf-resthead-name { font-size: 24px !important; line-height: 30px !important; font-weight: 700 !important; letter-spacing: -.3px; color: var(--br-ink); -webkit-line-clamp: 2; }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo-cuis { font-size: 13px !important; font-weight: 400 !important; color: var(--br-muted) !important; }
body.order-app.pf-m-restaurant #pfRestHead .pf-back { width: 44px; height: 44px; border: 0; background: var(--br-card); box-shadow: 0 1px 3px rgba(80, 40, 10, .12); color: var(--br-ink); }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo-facts { border-top: 0 !important; padding-top: 4px !important; gap: 6px; }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo-fact { min-height: 32px; padding: 0 10px; border-radius: 10px; background: var(--br-subtle) !important; color: var(--br-ink-2); font-size: 12px; font-weight: 500; }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo-says { font-size: 12px; color: var(--br-muted); }
body.order-app.pf-m-restaurant #pfRestHead .cx-rinfo-says b { color: var(--br-ink); font-weight: 600; }
body.order-app.pf-m-restaurant #pfRestHead .pf-status { font-size: 11px; font-weight: 700; letter-spacing: .4px; background: var(--br-subtle); color: var(--br-ink-2); }
/* filter chips, section titles, the sticky category chips (on the page colour: dishes never show through) */
body.order-app.pf-m-restaurant :is(.menu-filters, .menu-quick-filters) :is(button, label) { min-height: 36px; border-radius: 18px; border-color: var(--br-line-2); background: var(--br-card); box-shadow: none; font-size: 13px; font-weight: 500; }
body.order-app.pf-m-restaurant :is(.menu-picks-title, .menu-category-title, .category-title, .menu-section-title) { font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--br-ink); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks-sub { font-size: 12px; font-weight: 400; color: var(--br-muted); }
body.order-app.pf-m-restaurant #categoryTabs { background: var(--br-bg) !important; box-shadow: 0 1px 0 var(--br-line); }
body.order-app.pf-m-restaurant #categoryTabsList :is(button, a) { min-height: 36px; border-radius: 18px; font-size: 13px; font-weight: 500; box-shadow: none; }
/* sections: no outer card */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) { background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; grid-template-columns: none !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; scroll-snap-type: none !important; }
/* one dish = one row */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item {
    position: relative; display: block !important; flex: none !important; width: 100% !important; max-width: none !important; min-height: 142px !important; height: auto !important;
    aspect-ratio: auto !important; isolation: auto !important; margin: 0 !important; padding: 14px 128px 14px 0 !important;
    border: 0 !important; border-bottom: 1px solid var(--br-line) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    overflow: visible !important; text-align: left !important; scroll-snap-align: none; content-visibility: auto; contain-intrinsic-size: auto 142px; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item :is(.menu-item-content, .menu-item-header, .menu-item-title-wrap) {
    position: static !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important;
    gap: 4px !important; margin: 0 !important; padding: 0 !important; background: none !important; text-align: left !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item :is(.menu-item-veg-dot, .fast-chip, .menu-item-name, .price, .menu-item-liked) {
    position: static !important; align-self: flex-start !important; justify-self: start !important; margin: 0 !important; grid-column: auto; grid-row: auto; text-align: left !important; text-shadow: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-item-name { min-height: 0 !important; height: auto !important; padding: 0 !important; font-size: 15px !important; font-weight: 600 !important; line-height: 20px !important; color: var(--br-ink) !important; white-space: normal !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item :is(.price, .price-main) { min-height: 0 !important; height: auto !important; padding: 0 !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--br-ink) !important; }
/* the old cards turned white on hover (and stayed white after a tap on phones) */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item:hover { background: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .fast-chip { padding: 2px 6px; border-radius: 4px; background: var(--br-gold-soft) !important; color: var(--br-brand) !important; font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-item-liked { font-size: 12px; font-weight: 500; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item :is(.menu-item-desc, .menu-item-description, .item-description) { font-size: 12px; line-height: 17px; color: var(--br-muted) !important; }
/* the picture on the right */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .pf-thumb {
    position: absolute !important; top: 14px !important; right: 0 !important; left: auto !important; z-index: auto !important;
    width: 112px !important; height: 100px !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 14px !important; overflow: hidden; background: #f6e2c2 !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .pf-thumb::after { display: none !important; } /* no dark gradient over the photo */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .pf-thumb img { position: static !important; width: 100% !important; height: 100% !important; object-fit: cover; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .pf-thumb--icon .pf-thumb-img { width: 60% !important; height: 60% !important; margin: 20% !important; object-fit: contain; }
/* ADD / − qty + over the picture's lower edge */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-item-actions { position: absolute !important; top: 96px !important; right: 8px !important; z-index: 2; display: flex !important; flex-direction: column; align-items: center; gap: 4px; width: 96px; margin: 0 !important; padding: 0 !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-cart-control { width: 96px; margin: 0 !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .order-btn { width: 96px !important; min-width: 0 !important; height: 36px !important; min-height: 36px !important; padding: 0 !important; justify-content: center !important;
    border: 1px solid var(--br-gold) !important; border-radius: 10px !important; background: var(--br-card) !important; color: var(--br-brand) !important;
    box-shadow: 0 2px 6px rgba(80, 40, 10, .15) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .3px; text-transform: uppercase; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .order-btn .order-btn-price { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .order-btn:disabled, body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item.is-closed .order-btn { color: var(--br-muted) !important; border-color: var(--br-line-2) !important; text-transform: none; font-size: 12px !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-cart-qty-bar { width: 96px !important; height: 36px !important; border-radius: 10px !important; background: var(--br-brand) !important; color: #fff !important; box-shadow: 0 2px 6px rgba(80, 40, 10, .25) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-cart-qty-bar button { min-width: 32px; background: transparent !important; color: #fff !important; font-size: 18px; }
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-item-addon-lines { width: 112px; text-align: center; font-size: 10px; line-height: 13px; color: var(--br-muted); }
/* choosing Half / Full: the size panel is the bottom sheet (a centred card on computers), never held in the row */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item.is-picking .menu-item-actions--sizes {
    position: fixed !important; top: auto !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important;
    z-index: 3000 !important; align-items: stretch !important; background: var(--br-bg) !important; border-radius: 24px 24px 0 0 !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item.is-picking .size-chip { border-radius: 14px; border-color: var(--br-line-2); background: var(--br-card); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item.is-picking .cx-pick-head b { font-weight: 700; color: var(--br-ink); }
@media (min-width: 720px) {
    body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item.is-picking .menu-item-actions--sizes { top: 50% !important; bottom: auto !important; left: 50% !important; right: auto !important; width: min(480px, 92vw) !important; transform: translate(-50%, -50%); border-radius: 20px !important; }
}
/* computers: two columns of rows */
@media (min-width: 900px) {
    body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 32px !important; }
}

/* ==== Stage 6b: Dish options sheet (2026 redesign, screen 7; addons-sheet.js, shared with the staff app, so styled
   here for customers only): cream sheet with 24 px top corners, a round close button, each group as an ivory card
   (Required = soft-gold tag, rows 44 px with brown radio / tick), footer with − qty + and "Add item · ₹…". ==== */
body.order-app .qka-backdrop { background: rgba(42, 26, 15, .6); backdrop-filter: none; }
body.order-app .qka-panel { background: var(--br-bg); border-radius: 24px 24px 0 0; font-family: inherit; color: var(--br-ink); }
body.order-app .qka-grab { background: var(--br-line-2); }
body.order-app .qka-title { font-size: 20px; font-weight: 700; line-height: 26px; color: var(--br-ink); }
body.order-app .qka-sub { font-size: 13px; color: var(--br-muted); }
body.order-app .qka-x { width: 44px; height: 44px; border-radius: 22px; background: var(--br-subtle); color: var(--br-ink); font-size: 22px; }
body.order-app .qka-group { margin: 0 0 12px; padding: 14px 14px 6px; border: 0; border-radius: 16px; background: var(--br-card); box-shadow: 0 1px 3px rgba(80, 40, 10, .08); }
body.order-app .qka-group-head { font-size: 15px; font-weight: 600; color: var(--br-ink); }
body.order-app .qka-badge { padding: 2px 8px; border-radius: 10px; background: var(--br-subtle); color: var(--br-muted); font-size: 11px; font-weight: 600; }
body.order-app .qka-badge.is-req { background: var(--br-gold-soft); color: var(--br-brand); }
body.order-app .qka-rule { font-size: 12px; color: var(--br-muted); }
body.order-app .qka-opt { min-height: 44px; border: 0; border-top: 1px solid #f0e3cf; border-radius: 0; background: none; font-size: 14px; color: var(--br-ink); }
body.order-app .qka-opt:first-child { border-top: 0; }
body.order-app .qka-opt[aria-checked="true"], body.order-app .qka-opt.is-on { font-weight: 600; background: none; }
body.order-app .qka-opt-price { color: var(--br-ink-2); font-weight: 400; }
body.order-app .qka-mark { border-color: var(--br-line-2); }
body.order-app .qka-opt[aria-checked="true"] .qka-mark, body.order-app .qka-opt.is-on .qka-mark { border-color: var(--br-brand); background: var(--br-brand); }
body.order-app .qka-foot { gap: 12px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--br-card); box-shadow: 0 -2px 10px rgba(80, 40, 10, .08); border-top: 0; }
body.order-app .qka-qty { height: 52px; border: 1px solid var(--br-line-2); border-radius: 14px; background: var(--br-card); }
body.order-app .qka-step { color: var(--br-brand); font-size: 20px; }
body.order-app .qka-add { min-height: 52px; border-radius: 14px; background: var(--br-brand); color: #fff; font-size: 15px; font-weight: 600; box-shadow: none; }
body.order-app .qka-add:active { background: var(--br-brand-dk); }
body.order-app .qka-qty input, body.order-app .qka-qty output, body.order-app .qka-qty span { border: 0 !important; background: none !important; box-shadow: none !important; outline: none; font-weight: 600; }

/* ==== Stage 7: Checkout (2026 redesign, screen 8): full screen on phones, a sheet on computers; Delivery / Pickup
   cards (chosen = 2 px brown ring), ivory section cards with one soft shadow, the bill with a dashed To pay line, one
   brown 52 px button. Same ids and steps (script.js placeOrder / pickup confirm unchanged). ==== */
@media (max-width: 719.98px) {
    body.order-app .checkout-modal .checkout-modal-content { width: 100% !important; max-width: none !important; height: 100dvh !important; max-height: none !important; border-radius: 0 !important; }
}
body.order-app .checkout-modal .checkout-modal-content { background: var(--br-bg) !important; font-family: inherit; color: var(--br-ink); }
body.order-app .checkout-modal-header { background: var(--br-bg) !important; border-bottom: 1px solid var(--br-line) !important; }
body.order-app .checkout-modal-header :is(h2, h3, .checkout-modal-title) { font-size: 18px !important; font-weight: 700 !important; color: var(--br-ink) !important; }
body.order-app .checkout-modal-header :is(button, .close-btn) { width: 44px; height: 44px; border-radius: 22px; background: var(--br-subtle) !important; color: var(--br-ink) !important; }
body.order-app .checkout-section-title, body.order-app .checkout-delivery-card-label { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .04em; color: var(--br-muted) !important; }
body.order-app .fulfil-cards { gap: 8px !important; }
body.order-app .fulfil-card { min-height: 56px; border: 1px solid var(--br-line-2) !important; border-radius: 14px !important; background: var(--br-card) !important; box-shadow: none !important; color: var(--br-ink) !important; }
body.order-app .fulfil-card :is(b, strong, .fulfil-title) { font-size: 14px; font-weight: 600; }
body.order-app .fulfil-card[aria-checked="true"], body.order-app .fulfil-card.is-on, body.order-app .fulfil-card[aria-pressed="true"] { border: 2px solid var(--br-brand) !important; background: var(--br-card) !important; }
body.order-app .fulfil-card[aria-checked="true"] :is(b, strong, .fulfil-title), body.order-app .fulfil-card.is-on :is(b, strong, .fulfil-title) { color: var(--br-brand); }
body.order-app .fulfil-min { font-size: 11px !important; color: var(--br-muted) !important; }
body.order-app :is(.co-items, .checkout-delivery-card, .checkout-pickup-card, .checkout-price-lines, .co-note) { border: 0 !important; border-radius: 16px !important; background: var(--br-card) !important; box-shadow: 0 1px 3px rgba(80, 40, 10, .08) !important; }
body.order-app .co-items-text { font-size: 15px; font-weight: 600; }
body.order-app .co-edit { min-height: 40px; border-radius: 10px; background: var(--br-gold-soft) !important; color: var(--br-brand) !important; font-weight: 600; }
body.order-app .checkout-delivery-change { min-height: 36px; border-radius: 10px; background: none !important; color: var(--br-brand) !important; font-weight: 600; text-transform: none; letter-spacing: 0; }
body.order-app .checkout-price-row { font-size: 13px !important; color: var(--br-ink) !important; }
body.order-app .checkout-price-row > span:first-child { color: var(--br-muted); }
body.order-app .checkout-discount-row, body.order-app .checkout-discount-amt { color: var(--br-green-ink) !important; }
body.order-app .checkout-total-row { padding-top: 8px; border-top: 1px dashed var(--br-line-2) !important; font-size: 15px !important; font-weight: 700 !important; }
body.order-app .coupon-input-wrap input { min-height: 48px; }
body.order-app .coupon-action-btn { border-radius: 12px; font-weight: 600; }
body.order-app .checkout-modal .btn-checkout-place, body.order-app .checkout-modal #checkoutSubmitBtn, body.order-app .checkout-modal [type="submit"] { min-height: 52px !important; border-radius: 14px !important; background: var(--br-brand) !important; background-image: none !important; box-shadow: none !important; font-weight: 600 !important; font-size: 16px !important; }

/* ==== Stage 7b: Pickup check (screen 9; script.js confirmPickupOrder, same words and buttons) ==== */
body.order-app .rs.pc .rs-card { background: var(--br-bg); border-radius: 24px 24px 0 0; }
body.order-app .rs.pc .pc-body { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
body.order-app .rs.pc .pc-icon { width: 72px; height: 72px; padding: 18px; box-sizing: border-box; border-radius: 36px; background: var(--br-gold-soft); }
body.order-app .rs.pc .pc-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 26px; color: var(--br-ink); }
body.order-app .rs.pc .pc-strong { margin: -4px 0 0; font-size: 14px; font-weight: 600; color: var(--br-red); }
body.order-app .rs.pc .pc-venue { align-self: stretch; margin: 4px 0 0; padding: 14px; border-radius: 16px; background: var(--br-card); box-shadow: 0 1px 3px rgba(80, 40, 10, .08); text-align: left; font-size: 12px; line-height: 17px; color: var(--br-muted); }
body.order-app .rs.pc .pc-venue b { font-size: 14px; font-weight: 600; color: var(--br-ink); }
body.order-app .rs.pc .pc-dir { min-height: 44px; display: inline-flex; align-items: center; color: var(--br-brand); font-weight: 600; font-size: 13px; }
body.order-app .rs.pc .pc-pay { align-self: stretch; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--br-subtle); font-size: 13px; color: var(--br-ink-2); text-align: left; }
body.order-app .rs.pc .rs-btn { min-height: 52px; border-radius: 14px; background: var(--br-brand); color: #fff; font-size: 16px; font-weight: 600; box-shadow: none; }
body.order-app .rs.pc .rs-link { min-height: 48px; color: var(--br-brand); font-size: 14px; font-weight: 600; }

/* ==== Stage 8: Order placed / status (screen 10; script.js order-success sheet, same steps and buttons) ====
   brand badge instead of blue, the arrival / ready time as the design's brown hero card, ivory cards, flat buttons. */
body.order-app .os-sheet, body.order-app .order-success-modal-content { background: var(--br-bg) !important; }
body.order-app .os-mode { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; font-weight: 700; letter-spacing: .5px; }
body.order-app .os-hero h2, body.order-app .os-hero :is(.os-title, h1) { font-size: 22px !important; font-weight: 700 !important; color: var(--br-ink) !important; }
body.order-app .os-orderno { color: var(--br-muted) !important; font-size: 13px; }
body.order-app .os-eta { border: 0 !important; border-radius: 20px !important; background: var(--br-brand) !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
body.order-app .os-eta * { color: inherit; }
body.order-app .os-eta .os-eta-text > :first-child { color: var(--br-gold-soft) !important; font-size: 12px; font-weight: 500; letter-spacing: .4px; }
body.order-app .os-eta-icon { background: #a85a24 !important; color: #fff !important; }
body.order-app .os-card, body.order-app .os-bill { border: 0 !important; border-radius: 16px !important; background: var(--br-card) !important; box-shadow: 0 1px 3px rgba(80, 40, 10, .08) !important; }
body.order-app .os-row-icon { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; }
body.order-app .os-actions :is(.btn-primary, button.btn-primary) { min-height: 52px; border-radius: 14px; background: var(--br-brand) !important; box-shadow: none; }
body.order-app .os-actions :is(.btn-secondary, .os-notify) { min-height: 48px; border-radius: 14px; border: 1px solid var(--br-gold) !important; background: var(--br-card) !important; color: var(--br-brand) !important; font-weight: 600; }

/* ==== Stage 9: My orders (screen 12; orders.js, same data and buttons) ====
   the live order's head as the brown card, past orders as ivory cards, Order again gold-outlined, Rate as a text link. */
body.order-app .mo-card { border: 0 !important; border-radius: 18px !important; background: var(--br-card) !important; box-shadow: 0 1px 4px rgba(80, 40, 10, .10) !important; overflow: hidden; }
body.order-app .mo-card--active .mo-banner { background: var(--br-brand) !important; color: #fff !important; border: 0 !important; }
body.order-app .mo-card--active .mo-banner * { color: inherit !important; }
body.order-app .mo-card--active .mo-banner-text > :not(:first-child), body.order-app .mo-card--active .mo-banner small { color: #f3dcb6 !important; }
body.order-app .mo-card--active .mo-banner-icon { background: #a85a24 !important; color: #fff !important; }
body.order-app .mo-card--active .mo-eta { background: #8e4a1d !important; color: #fff !important; border: 0 !important; }
body.order-app .mo-kind { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; }
body.order-app .mo-btn--primary { min-height: 48px; border-radius: 14px; background: var(--br-brand) !important; box-shadow: none !important; }
body.order-app .mo-btn:not(.mo-btn--primary):not(.mo-btn--cancel):not(.mo-btn--call) { border: 1px solid var(--br-gold) !important; background: var(--br-card) !important; color: var(--br-brand) !important; border-radius: 12px; }
body.order-app .mo-btn--call { background: var(--br-green) !important; border-radius: 22px; }
body.order-app .mo-cod { background: var(--br-green-bg) !important; color: var(--br-green-ink) !important; border-color: transparent !important; }
body.order-app .mo-details { background: var(--br-field) !important; border-color: var(--br-line) !important; }
body.order-app .mo-row-icon { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; }
body.order-app .mo-tab[aria-selected="true"], body.order-app .mo-tab.is-on { background: var(--br-card) !important; color: var(--br-brand) !important; }

/* ==== Stage 9b: Rate the order (screen 11; rate-sheet.js, same steps: never mandatory, Not now always there) ====
   cream sheet, big gold stars, the word under them, quick tags as pills (chosen = brown), 👍 / 👎 per dish, flat buttons. */
body.order-app .rs:not(.pc) .rs-card { background: var(--br-bg); border-radius: 24px 24px 0 0; font-family: inherit; color: var(--br-ink); }
body.order-app .rs-title { font-size: 20px; font-weight: 700; line-height: 26px; color: var(--br-ink); }
body.order-app .rs-sub { font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--br-green-ink); }
body.order-app .rs-close { width: 44px; height: 44px; border-radius: 22px; background: var(--br-subtle); color: var(--br-ink-2); }
body.order-app .rs-star { min-width: 52px; min-height: 52px; color: #d8c3a5; }
body.order-app .rs-star[aria-checked="true"], body.order-app .rs-star.is-on { color: var(--br-gold); }
body.order-app .rs-word { font-size: 14px; font-weight: 600; color: var(--br-brand); }
body.order-app .rs-chip { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--br-line-2); background: var(--br-card); color: var(--br-ink); font-size: 13px; font-weight: 400; }
body.order-app .rs-chip[aria-pressed="true"], body.order-app .rs-chip.is-on { border-color: var(--br-brand); background: var(--br-brand); color: #fff; font-weight: 600; }
body.order-app .rs-dish { min-height: 48px; border-bottom: 1px solid #f0e3cf; }
body.order-app .rs-vote { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--br-line-2); background: var(--br-card); color: var(--br-muted); }
body.order-app .rs-vote[aria-pressed="true"], body.order-app .rs-vote.is-on { border-color: var(--br-green); background: var(--br-green); color: #fff; }
body.order-app .rs-text { border-radius: 12px; border: 1px solid var(--br-line-2); background: var(--br-field); font-size: 16px; }
body.order-app .rs:not(.pc) .rs-btn { min-height: 52px; border-radius: 14px; background: var(--br-brand); color: #fff; font-size: 16px; font-weight: 600; box-shadow: none; }
body.order-app .rs:not(.pc) .rs-link { min-height: 48px; color: var(--br-muted); font-weight: 600; }
body.order-app .rs-scrim { background: rgba(42, 26, 15, .6); backdrop-filter: none; }

/* ==== Stage 10: Profile (screen 13; profile.html / profile.js, same rows and actions) ==== */
body.order-app .pf-card { border: 0 !important; border-radius: 18px !important; background: var(--br-card) !important; box-shadow: 0 1px 4px rgba(80, 40, 10, .10) !important; }
body.order-app .pf-avatar { background: var(--br-brand) !important; color: #fff8ee !important; font-weight: 700 !important; }
body.order-app .pf-name { font-size: 20px !important; font-weight: 700 !important; color: var(--br-ink) !important; }
body.order-app .pf-mobile, body.order-app .pf-city { color: var(--br-muted) !important; font-size: 13px; }
body.order-app .pf-stat { border: 0 !important; border-radius: 16px !important; background: var(--br-card) !important; box-shadow: 0 1px 4px rgba(80, 40, 10, .10) !important; }
body.order-app .pf-stat b, body.order-app .pf-stat strong { font-size: 20px; font-weight: 700; color: var(--br-ink); }
body.order-app .pf-card-head :is(h2, h3) { font-size: 16px !important; font-weight: 700 !important; }
body.order-app .pf-row { min-height: 56px; border-bottom-color: #f0e3cf !important; }
body.order-app .pf-row-icon { width: 36px !important; height: 36px !important; border-radius: 10px !important; background: var(--br-gold-soft) !important; color: var(--br-brand) !important; }
body.order-app .pf-row-body b, body.order-app .pf-row-body strong { font-size: 14px; font-weight: 600; }
body.order-app .pf-btn--primary { min-height: 52px; border-radius: 14px; background: var(--br-brand) !important; box-shadow: none !important; }
body.order-app .pf-btn--soft { background: var(--br-gold-soft) !important; color: var(--br-brand) !important; border: 0 !important; border-radius: 14px; }
body.order-app .pf-btn--out { border: 1px solid var(--br-gold) !important; background: var(--br-card) !important; color: var(--br-brand) !important; border-radius: 14px; }
body.order-app .pf-btn--danger, body.order-app .pf-delete-link { color: var(--br-red) !important; }
/* checkout's address lines and the empty cart in the palette (they were slate blue / grey) */
body.order-app #checkoutModal .checkout-delivery-card-city { color: var(--br-ink) !important; font-weight: 600 !important; }
body.order-app #checkoutModal .checkout-delivery-card-address { color: var(--br-muted) !important; font-weight: 400 !important; }
body.order-app .cart-empty-friendly { color: var(--br-muted); font-weight: 500; }

/* ==== Design match, round 2 (2026-11-28) ==== */
/* Home → Order again as past-order cards with Repeat (screen 4) */
body.order-app #hxAgain.hx-block--orders .hx-row { display: flex !important; flex-direction: column !important; gap: 10px !important; overflow: visible !important; }
body.order-app .hx-order { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--br-card); box-shadow: 0 1px 4px rgba(80, 40, 10, .10); }
body.order-app .hx-order-pic { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #f3dcb6; }
body.order-app .hx-order-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.order-app .hx-order-text b { font-size: 14px; font-weight: 600; color: var(--br-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.order-app .hx-order-text small { font-size: 12px; color: var(--br-muted); }
body.order-app .hx-repeat { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--br-gold); border-radius: 10px; background: var(--br-card); color: var(--br-brand); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
body.order-app .hx-repeat:active { background: var(--br-gold-tint); }
body.order-app .hx-order.is-closed .hx-order-pic { opacity: .6; }
body.order-app .hx-order .hx-closed { flex: none; font-size: 12px; font-weight: 600; color: var(--br-red); }
@media (min-width: 900px) { body.order-app #hxAgain.hx-block--orders .hx-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* restaurant page: Delivery | Pickup and the hotel's offer (screen 6) */
body.order-app .cx-rmode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 12px; padding: 4px; border-radius: 14px; background: var(--br-subtle); }
body.order-app .cx-rmode[hidden], body.order-app .cx-roffer[hidden] { display: none; }
body.order-app .cx-rmode button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--br-ink); font: inherit; text-align: left; cursor: pointer; }
body.order-app .cx-rmode button b { font-size: 14px; font-weight: 600; }
body.order-app .cx-rmode button small { font-size: 11px; color: var(--br-muted); }
body.order-app .cx-rmode button[aria-checked="true"] { background: var(--br-card); box-shadow: 0 1px 3px rgba(80, 40, 10, .14); }
body.order-app .cx-rmode button[aria-checked="true"] b { color: var(--br-brand); }
body.order-app .cx-roffer { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 10px 12px; border: 1px dashed var(--br-gold); border-radius: 12px; background: var(--br-gold-tint); color: var(--br-ink); font-size: 12px; }
body.order-app .cx-roffer svg { flex: none; color: var(--br-brand); }

/* ==== Design match, round 3 (2026-11-28, owner screenshots): the Half / Full sheet and the bill card ====
   1) A dish with sizes shows ONE "ADD" on its photo like every other dish; the card's own size block never shows (it
      was drawn over the photo); ADD opens the dish options sheet (platform.js openSizeSheet, screen 7). */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-item-actions.menu-item-actions--sizes { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item .cx-size-add {
    position: absolute !important; top: 96px !important; right: 8px !important; z-index: 2; display: inline-flex !important; align-items: center; justify-content: center;
    width: 96px !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
    border: 1px solid var(--br-gold) !important; border-radius: 10px !important; background: var(--br-card) !important; color: var(--br-brand) !important;
    box-shadow: 0 2px 6px rgba(80, 40, 10, .15) !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .3px; text-transform: uppercase; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item .cx-size-add:not(.is-added)::after { content: '' !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item .cx-size-add.is-added { background: var(--br-brand) !important; border-color: var(--br-brand) !important; color: #fff !important; text-transform: none; font-size: 13px !important; letter-spacing: 0; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item .cx-size-add::before { content: ''; position: absolute; inset: -4px; } /* 44 px to tap */

/* the dish options sheet */
.dsh { position: fixed; inset: 0; z-index: 3000; font-family: inherit; color: var(--br-ink); }
.dsh-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 15, .55); opacity: 0; transition: opacity .18s ease; }
.dsh-x { position: absolute; left: 50%; top: -58px; width: 44px; height: 44px; margin-left: -22px; border: 0; border-radius: 22px; background: var(--br-ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dsh-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: min(80dvh, 620px); display: flex; flex-direction: column; background: var(--br-bg); border-radius: 24px 24px 0 0; transform: translateY(24px); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.dsh.is-open .dsh-backdrop, .dsh.is-open .dsh-panel { opacity: 1; }
.dsh.is-open .dsh-panel { transform: none; }
.dsh-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 16px; border-radius: 24px 24px 0 0; }
.dsh-photo { margin: 12px 12px 0; height: 150px; border-radius: 18px; overflow: hidden; background: #f6e2c2; display: flex; align-items: center; justify-content: center; }
.dsh-photo img { width: 100%; height: 100%; object-fit: cover; }
.dsh-photo--icon img { width: 76px; height: 76px; object-fit: contain; }
.dsh-info { padding: 14px 20px 0; display: flex; flex-direction: column; gap: 4px; }
.dsh-tags { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.dsh-diet { width: 12px; height: 12px; border: 1.5px solid #1f7a3a; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.dsh-diet::after { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #1f7a3a; }
.dsh-diet--nonveg { border-color: #a3311f; } .dsh-diet--nonveg::after { background: #a3311f; }
.dsh-diet--egg { border-color: #b07a12; } .dsh-diet--egg::after { background: #b07a12; }
.dsh-liked { font-size: 12px; font-weight: 500; color: var(--br-green-ink); }
.dsh-name { margin: 0; font-size: 20px; font-weight: 700; line-height: 26px; color: var(--br-ink); }
.dsh-min { margin: 0; font-size: 13px; line-height: 19px; color: var(--br-muted); }
.dsh-group { margin: 16px 16px 0; border: 0; padding: 14px 14px 6px; background: var(--br-card); border-radius: 16px; box-shadow: 0 1px 3px rgba(80, 40, 10, .08); min-width: 0; }
.dsh-legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; }
.dsh-req { font-size: 11px; font-weight: 600; color: var(--br-brand); background: var(--br-gold-soft); padding: 2px 8px; border-radius: 10px; }
.dsh-opt { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 14px; cursor: pointer; }
.dsh-opt + .dsh-opt { border-top: 1px solid #f0e3cf; }
.dsh-opt:has(input:checked) { font-weight: 600; }
.dsh-opt-name { display: flex; flex-direction: column; }
.dsh-opt-name small { font-size: 12px; font-weight: 500; color: var(--br-brand); }
.dsh-opt-right { display: flex; align-items: center; gap: 10px; }
.dsh-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--br-brand); }
.dsh-next { margin: 12px 20px 0; font-size: 13px; color: var(--br-muted); }
.dsh-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--br-card); box-shadow: 0 -2px 10px rgba(80, 40, 10, .08); }
.dsh-step { flex: none; width: 116px; height: 52px; box-sizing: border-box; border: 1px solid var(--br-line-2); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; }
.dsh-step button { width: 44px; height: 50px; border: 0; background: transparent; color: var(--br-brand); font: inherit; font-size: 22px; cursor: pointer; }
.dsh-step button:disabled { color: var(--br-line-2); cursor: default; }
.dsh-step b { font-size: 16px; font-weight: 600; }
.dsh-add { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 14px; background: var(--br-brand); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
@media (min-width: 720px) {
    .dsh-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: min(440px, 92vw); max-height: min(78dvh, 620px); border-radius: 24px; transform: translate(-50%, calc(-50% + 16px)); }
    .dsh.is-open .dsh-panel { transform: translate(-50%, -50%); }
    .dsh-foot { border-radius: 0 0 24px 24px; }
}

/* 2) Checkout bill = the design's one ivory card: rows 13 px (label muted, amount ink), 6 px apart, a dashed "To pay"
      line; never a second box inside the card (the price list was drawn as its own card, so the amounts touched its edge). */
body.order-app #checkoutModal .checkout-bill-card { padding: 12px 14px !important; border: 0 !important; border-radius: 16px !important; background: var(--br-card) !important; box-shadow: 0 1px 3px rgba(80, 40, 10, .08) !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-section-title { margin: 0 0 8px !important; }
body.order-app #checkoutModal .checkout-bill-card :is(.checkout-bill-panel, .checkout-bill-panel-inner, .checkout-price-lines) { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; background-image: none !important; box-shadow: none !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-lines { display: flex !important; flex-direction: column; gap: 6px !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 !important; padding: 0 !important; min-height: 0 !important; border: 0 !important; background: none !important; font-size: 13px !important; line-height: 20px; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row[hidden] { display: none !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row dt { margin: 0; color: var(--br-muted) !important; font-weight: 400 !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row dt small { font-size: 12px; font-weight: 400 !important; color: var(--br-muted) !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row dd { margin: 0; color: var(--br-ink) !important; font-weight: 500 !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.order-app #checkoutModal .checkout-bill-card .checkout-discount-row :is(dt, dd) { color: var(--br-green-ink) !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-total-row { margin-top: 2px !important; padding-top: 8px !important; border-top: 1px dashed var(--br-line-2) !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-total-row :is(dt, dd) { font-size: 15px !important; font-weight: 700 !important; color: var(--br-ink) !important; }
body.order-app #checkoutModal .checkout-bill-card :is(.checkout-charge-note, .checkout-fee-why) { margin: 8px 0 0 !important; font-size: 12px; line-height: 17px; color: var(--br-muted); }
/* every checkout section card has the same design look as the bill: ivory, no border, one soft shadow */
body.order-app #checkoutModal :is(.co-items, .checkout-delivery-card, .checkout-pickup-card, .co-meta, .checkout-coupon) { border: 0 !important; background: var(--br-card) !important; box-shadow: 0 1px 3px rgba(80, 40, 10, .08) !important; border-radius: 16px !important; }
/* the number in the brown − qty + on a dish was dark brown on brown (platform.css paints .menu-cart-qty-middle in the
   brand colour); white like its − and + (owner screenshot 2026-11-28) */
body.order-app.pf-m-restaurant #menuItemsContainer :is(.menu-category, .menu-picks) .menu-grid > .menu-item .menu-cart-qty-bar .menu-cart-qty-middle { color: #fff !important; font-weight: 700 !important; font-size: 15px !important; }
/* home dish card: "From" sits small above the price so the price and Add always fit the 156px card (owner 2026-11-28) */
body.order-app .hx-dish:not(.sx-row) .hx-price { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
body.order-app .hx-dish:not(.sx-row) .hx-price small { font-size: 11px; font-weight: 500; color: var(--br-muted); }
body.order-app .hx-dish:not(.sx-row) .hx-act { flex: none; }

/* Time-based menu (2026-11-29): a dish or category sold only at some hours. Its hours under the price while it is on,
   "Available 11 am – 4 pm" in place of Add while it is off (greyed like a sold-out dish, but in calm brown, not red) */
body.order-app .menu-item .menu-item-times { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--br-muted); }
body.order-app .menu-item .menu-item-times.is-off { color: var(--br-brand); font-weight: 700; }
body.order-app .menu-item .menu-item-soldout.menu-item-later { color: var(--br-brand); background: #f6efe6; font-weight: 600; }
body.order-app .menu-category-times { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-left: 8px; border-radius: 999px; background: #f6efe6; color: var(--br-brand); font-size: 12px; font-weight: 600; white-space: nowrap; }
body.order-app .menu-category-times.is-off { background: #efe3d2; }
body.order-app .hx-dish.is-later { opacity: .72; }
body.order-app .hx-later { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; border-radius: 10px; background: #f6efe6; color: var(--br-brand); font-size: 11px; font-weight: 600; line-height: 1.2; text-align: right; max-width: 120px; }
