/* ==========================================================================
   Adarsh Foods — customer web app as a food-delivery platform (customer-menu.html + platform.js).
   Loaded after styles.css / delight.css, so these rules win. Rules of this file:
   - phone first (360–430px), then tablet / desktop; 44px tap targets; no sideways scrolling;
   - fast: no blur, no endless animation, no heavy shadows;
   - facts only: no invented ratings, photos or delivery times.
   Palette = the logo: brown #7a3b12, gold #c8902e, leaf green (open), warm cream surfaces.
   ========================================================================== */
body.order-app {
    --pf-bg: #f7f2ea;
    --pf-card: #fff;
    --pf-ink: #2b1d12;
    --pf-muted: #7b6b59;
    --pf-line: #eadfce;
    --pf-brand: #7a3b12;
    --pf-brand-dk: #5e2c0c;
    --pf-gold: #c8902e;
    --pf-green: #2e7d32;
    --pf-green-bg: #e8f5e9;
    --pf-red: #b3261e;
    --pf-red-bg: #fdecea;
    --pf-shadow: 0 1px 2px rgba(62, 27, 7, .06), 0 2px 8px rgba(62, 27, 7, .06);
    background: var(--pf-bg);
    color: var(--pf-ink);
}
.pf-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- top bar: brand only (location lives on the home) ---------- */
body.order-app .app-topbar { background: #fff; border-bottom: 1px solid var(--pf-line); box-shadow: none; }
body.order-app .app-brand-name { font-weight: 800; letter-spacing: -.01em; color: var(--pf-brand); }

/* ---------- search: always on top, sticky ---------- */
.pf-searchbar { position: sticky; top: var(--topbar-h, 56px); z-index: 40; background: var(--pf-bg); padding: 10px 16px 8px; }
.pf-searchbar-in { max-width: 1120px; margin: 0 auto; }
.pf-searchbar .menu-search-container { max-width: none; margin: 0; padding: 0; background: none; }
body.order-app .pf-searchbar .menu-search-wrapper { padding: 0; min-height: 0; position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--pf-line); border-radius: 14px; box-shadow: var(--pf-shadow); }
.pf-searchbar .menu-search-wrapper:focus-within { border-color: var(--pf-brand); box-shadow: 0 0 0 3px rgba(122, 59, 18, .14); }
.pf-searchbar .search-icon { flex: none; width: 20px; height: 20px; margin-left: 14px; color: var(--pf-brand); }
.pf-searchbar .menu-search-input { flex: 1; min-width: 0; height: 48px; padding: 0 14px 0 10px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--pf-ink); outline: none; }
.pf-searchbar .menu-search-input::placeholder { color: #9d8d78; }
.pf-searchbar .search-clear-btn { flex: none; width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 50%; background: transparent; color: var(--pf-muted); cursor: pointer; }
.pf-searchbar .search-clear-btn svg { width: 18px; height: 18px; }
.pf-searchbar .search-results-info { margin: 8px 2px 0; font-size: .85rem; color: var(--pf-muted); }

/* ---------- views ---------- */
body.order-app:not(.mode-grocery).pf-m-home #menu { display: none; }
body.order-app:not(.mode-grocery).pf-m-restaurant #home { display: none; }
body.order-app:not(.mode-grocery).pf-m-search #home .pf-title,
body.order-app:not(.mode-grocery).pf-m-search #home .pf-cats-block,
body.order-app:not(.mode-grocery).pf-m-search #home .pf-home-top,
body.order-app.pf-m-home #categoryJumpFab { display: none !important; }
body.order-app.mode-grocery #home, body.order-app.mode-grocery .pf-searchbar { display: none; }

/* ---------- home ---------- */
.pf-home { max-width: 1120px; margin: 0 auto; padding: 4px 16px 24px; }
.pf-home-top { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.pf-home .delivery-hero-location { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; background: #fff; border: 1.5px solid var(--pf-line); border-radius: 999px; box-shadow: var(--pf-shadow); color: var(--pf-ink); max-width: 100%; }
.pf-home .delivery-hero-location-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(122, 59, 18, .1); color: var(--pf-brand); }
.pf-home .delivery-hero-location-text { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-size: .95rem; }
.pf-home .delivery-hero-location-text strong { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 14rem; }
.pf-home .delivery-hero-location-text, .pf-home .delivery-hero-location-text strong { color: var(--pf-ink); }
.pf-title { margin: 14px 0 14px; font-size: 1.55rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--pf-ink); }
.pf-title span { color: var(--pf-brand); }

.pf-cats { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pf-cats::-webkit-scrollbar { display: none; }
.pf-cat { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--pf-ink); cursor: pointer; scroll-snap-align: start; }
.pf-cat-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--pf-line); }
.pf-cat span:last-child { font-size: .78rem; font-weight: 700; text-align: center; line-height: 1.2; max-width: 76px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pf-cat:active .pf-cat-ic { box-shadow: 0 0 0 2px var(--pf-brand); }
.pf-cartnote { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff4e5; border: 1px solid #f3d5a8; color: #7a4a05; font-size: .85rem; line-height: 1.35; }
.pf-cartnote[hidden] { display: none; }

.pf-block { margin: 0 0 22px; }
.pf-block[hidden] { display: none; }
.pf-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.pf-block-head h2 { margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.pf-count { font-size: .82rem; color: var(--pf-muted); font-weight: 600; }

/* restaurant cards */
.pf-rest-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pf-rest { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; align-items: center; gap: 12px; width: 100%; padding: 12px; text-align: left; font: inherit; color: var(--pf-ink); background: var(--pf-card); border: 1px solid var(--pf-line); border-radius: 16px; box-shadow: var(--pf-shadow); cursor: pointer; min-height: 84px; }
.pf-rest:active { background: #fcf8f1; }
.pf-rest:focus-visible { outline: 3px solid rgba(122, 59, 18, .35); outline-offset: 2px; }
.pf-mono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tone, var(--pf-brand)); color: #fff; font-size: 1.5rem; font-weight: 800; }
.pf-rest-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pf-rest-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pf-rest-name { flex: 0 1 auto; min-width: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-rest-sub { font-size: .84rem; color: var(--pf-muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-rest-meta { font-size: .78rem; color: #6b5a48; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.pf-veg { color: var(--pf-green); font-weight: 700; }
.pf-note { color: var(--pf-brand); font-weight: 700; }
.pf-chev { color: #b39d82; }
.pf-chip { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.pf-chip--open { background: var(--pf-green-bg); color: var(--pf-green); }
.pf-chip--closed { background: #efe8dc; color: #7b6b59; }
.pf-rest--closed .pf-mono { filter: grayscale(.85); opacity: .75; }
.pf-rest--closed .pf-rest-name { color: #5d4d3b; }
.pf-skel { height: 84px; border-radius: 16px; background: #efe7da; }
.pf-empty { grid-column: 1 / -1; padding: 22px 18px; text-align: center; background: #fff; border: 1px dashed #d9c9b0; border-radius: 16px; }
.pf-empty h3 { margin: 0 0 6px; font-size: 1.05rem; }
.pf-empty p { margin: 0 0 12px; color: var(--pf-muted); font-size: .9rem; }
.pf-empty .btn { min-height: 44px; }

/* popular dishes */

/* ---------- one restaurant ---------- */
.pf-resthead { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.pf-resthead[hidden] { display: none; }
.pf-back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--pf-line); border-radius: 50%; background: #fff; color: var(--pf-brand); cursor: pointer; box-shadow: var(--pf-shadow); }
.pf-resthead-text { flex: 1; min-width: 0; }
.pf-resthead-name { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-resthead-meta { margin: 2px 0 0; font-size: .82rem; color: var(--pf-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-status { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.pf-status--open { background: var(--pf-green-bg); color: var(--pf-green); }
.pf-status--closed { background: #efe8dc; color: #6b5a48; }

body.order-app .menu-section.order-menu { padding: 4px 0 24px; background: transparent; }
body.order-app .menu-section .container { max-width: 760px; padding: 0 16px; }
body.order-app .menu-hotel-filter { display: none !important; }
body.order-app .menu-venue-closed-notice, body.order-app .platform-announcement { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: .88rem; }

/* category chips */
body.order-app .category-tabs-container { background: var(--pf-bg); }
body.order-app .category-tab { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--pf-line); background: #fff; color: var(--pf-ink); font-weight: 700; font-size: .9rem; box-shadow: none; }
body.order-app .category-tab.active { background: var(--pf-brand); border-color: var(--pf-brand); color: #fff; }

/* dishes: one clean row each, inside a white card per category */
body.order-app .menu-category { margin: 0 0 14px; padding: 0 14px; background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; box-shadow: var(--pf-shadow); overflow: clip; }
body.order-app .menu-category-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; padding: 14px 0 6px; border: 0; background: none; }
body.order-app .menu-category-title { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
body.order-app .menu-category-count { font-size: .78rem; color: var(--pf-muted); font-weight: 600; }
body.order-app .menu-venue-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(122, 59, 18, .08); color: var(--pf-brand); font-size: .72rem; font-weight: 700; vertical-align: 2px; }
body.order-app .menu-grid { display: block; margin: 0; padding: 0; gap: 0; }

/* special picks: same rows */
body.order-app .menu-picks { margin: 0 0 14px; padding: 0 14px; background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; box-shadow: var(--pf-shadow); }
body.order-app .menu-picks-head { padding: 14px 0 6px; }
body.order-app .menu-picks-title { margin: 0; font-size: 1.05rem; font-weight: 800; }

/* ---------- footer ---------- */
.pf-footer { margin-top: 8px; padding: 22px 16px calc(96px + env(safe-area-inset-bottom, 0px)); background: transparent; border-top: 1px solid var(--pf-line); color: var(--pf-muted); }
.pf-footer .container { max-width: 1120px; }
.pf-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pf-footer-brand img { border-radius: 10px; }
.pf-footer-brand strong { display: block; color: var(--pf-ink); font-size: 1rem; }
.pf-footer-brand span { font-size: .85rem; }
.pf-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 12px; }
.pf-footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--pf-brand); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pf-footer-copy { margin: 0; font-size: .78rem; }

/* ---------- bottom bar + cart bar sit on the same palette ---------- */
body.order-app .app-bottom-nav { background: #fff; border-top: 1px solid var(--pf-line); box-shadow: none; }
body.order-app .app-tab.active, body.order-app .app-tab[aria-current="page"] { color: var(--pf-brand); }

/* ---------- tablets / desktop ---------- */
@media (min-width: 720px) {
    .pf-title { font-size: 2rem; }
    .pf-rest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1100px) {
    .pf-rest-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
    .pf-title { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

body.order-app.pf-m-restaurant .menu-venue-tag { display: none; }
body.order-app .menu-category-title::before, body.order-app .menu-category-title::after { content: none; display: none; }



.pf-back[hidden] { display: none; }

/* food icons */
.pf-cat-ic img { width: 42px; height: 42px; }
.pf-rest-icons { display: flex; gap: 4px; margin: 1px 0 2px; }
.pf-rest-icons img { width: 22px; height: 22px; }
.pf-rest-sub { -webkit-line-clamp: 1; }


/* speed: long menus paint only what is on screen; the home's lower blocks too */
body.order-app .menu-category { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.pf-rest { content-visibility: auto; contain-intrinsic-size: auto 96px; }

/* cart + search thumbnails: fixed 64×64, icon fallback contained */
.cart2-thumb { width: 64px; height: 64px; object-fit: cover; }
.cart2-thumb[src*="/images/food/"] { object-fit: contain; padding: 10px; background: #fbf4e8; box-sizing: border-box; }




/* sticky order on every screen size: top bar, then search, then the category chips (they used to sit on top of the search on desktop) */
body.order-app .pf-searchbar { top: 56px; }
body.order-app .category-tabs-container { top: 126px; margin-top: 0; background: var(--pf-bg); z-index: 39; }
@media (min-width: 900px) { body.order-app .category-tabs { padding-left: 44px; padding-right: 44px; } }

/* ===== App shell ===== */
/* no blur on the bars (speed), a clear selected tab: brand colour + a pill behind the icon */
body.order-app .app-topbar, body.order-app .app-bottom-nav { background: #fff !important; }
body.order-app .app-tab { color: #8a7a66; }
body.order-app .app-tab .app-tab-icon { padding: 4px 14px; box-sizing: content-box; width: 22px; height: 22px; border-radius: 999px; transition: none; }
body.order-app .app-tab.active { color: var(--pf-brand); font-weight: 800; }
body.order-app .app-tab.active .app-tab-icon { background: #f8e5b8; color: var(--pf-brand); stroke-width: 2.2; }
body.order-app .app-tab:not(.active)::before { display: none; }
body.order-app .app-tab .app-tab-label { font-size: .68rem; letter-spacing: .02em; }
/* Mart without any store: a small "Soon" tag on the tab */
body.order-app .app-tab[data-app-tab="grocery"] { position: relative; }
body.order-app.mart-soon .app-tab[data-app-tab="grocery"]::after { content: "Soon"; position: absolute; top: 4px; left: 50%; margin-left: 8px; padding: 1px 5px; border-radius: 999px; background: #c8902e; color: #fff; font-size: .55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }

/* orders / profile are pages kept alive in frames: only the frame shows, the page chrome stays */
.pf-frame { display: none; position: fixed; left: 0; right: 0; top: 56px; bottom: 64px; z-index: 30; background: var(--pf-bg, #f7f2ea); max-width: var(--fo-max, 760px); margin: 0 auto; }
.pf-frame.is-on { display: block; }
.pf-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; }
.pf-frame.is-loaded iframe { opacity: 1; }
.pf-frame-loading { position: absolute; inset: 0; display: grid; place-items: center; }
.pf-frame.is-loaded .pf-frame-loading { display: none; }
body.pf-v-frame .pf-searchbar, body.pf-v-frame #home, body.pf-v-frame #menu, body.pf-v-frame #grocery, body.pf-v-frame .pf-footer,
body.pf-v-frame .cart-bar, body.pf-v-frame #categoryJumpFab, body.pf-v-frame .grocery-cart-bar { display: none !important; }
body.pf-v-frame { overflow: hidden; }

/* ===== Mart ===== */
body.order-app #grocery .grocery-hero { background: #fff; color: var(--pf-ink); border: 1px solid var(--pf-line); border-radius: 16px; box-shadow: var(--pf-shadow); padding: 16px; margin: 4px 0 12px; }
body.order-app #grocery .grocery-hero-eyebrow { background: var(--pf-green-bg); color: var(--pf-green); font-weight: 800; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
body.order-app #grocery .grocery-hero-title { color: var(--pf-ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
body.order-app #grocery .grocery-hero-lead { color: var(--pf-muted); font-size: .88rem; margin: 0 0 12px; }
body.order-app #grocery .grocery-search-wrapper { background: #fbf7f0; border: 1.5px solid var(--pf-line); border-radius: 12px; box-shadow: none; }
.pf-soon { display: none; margin: 18px 0; padding: 32px 20px; text-align: center; background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; box-shadow: var(--pf-shadow); }
.pf-soon-icons { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-bottom: 10px; }
.pf-soon h2 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; color: var(--pf-ink); }
.pf-soon p { margin: 0 auto 16px; max-width: 28rem; color: var(--pf-muted); font-size: .92rem; line-height: 1.45; }
.pf-soon .btn { min-height: 44px; }
body.mart-soon .pf-soon { display: block; }
body.mart-soon #grocery .grocery-hero, body.mart-soon #grocery .grocery-store-filter, body.mart-soon #grocery .grocery-store-closed-notice,
body.mart-soon #grocery .grocery-cat-tabs, body.mart-soon #grocery .grocery-items-container { display: none !important; }

/* =====================================================================================================
   DISH ROW (v4) — the one place dish rows are styled. Owner rules (2026-11-18): spacing must be clean and
   EVERY scenario must fit: photo, no photo, Selling fast, Half / Full, toppings, several choices of one dish,
   sold out / closed, long names, Special picks, search results, 360px phones.
   Layout (Swiggy / Zomato pattern): a TOP part with text on the left and the 96×96 picture on the right
   (ADD / − qty + floats on the picture's bottom edge), then anything extra (Half / Full chips, per-choice
   rows, toppings) in a FULL-WIDTH part under it. The top part never changes height with the extras, nothing
   touches a border, and the picture is the same fixed size whether it is a photo or the food icon.
   ===================================================================================================== */
body.order-app .menu-grid > .menu-item { display: grid !important; grid-template-columns: minmax(0, 1fr) 88px; column-gap: 14px; row-gap: 0; align-items: start; position: relative; margin: 0; padding: 14px 14px 14px !important; min-height: 0 !important;
    background: none !important; border: 0 !important; border-top: 1px solid var(--pf-line) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; transition: none !important; }
body.order-app .menu-grid > .menu-item:first-child { border-top: 0 !important; }
body.order-app .menu-grid > .menu-item:hover { background: #fdfaf4 !important; transform: none !important; }
body.order-app .menu-grid > .menu-item:hover .menu-item-image img { transform: none !important; }
body.order-app .menu-category, body.order-app .menu-picks { padding-left: 0; padding-right: 0; overflow: hidden; }
body.order-app .menu-category-header, body.order-app .menu-picks-head { padding-left: 14px; padding-right: 14px; }
body.order-app .menu-item .menu-item-content, body.order-app .menu-item .menu-item-actions--simple { display: contents !important; }
body.order-app .menu-item .menu-item-content, body.order-app .menu-item .menu-item-header, body.order-app .menu-item .menu-item-title-wrap { position: static !important; }

/* picture: fixed 96×96, top right */
body.order-app .menu-item .pf-thumb { grid-column: 2; grid-row: 1; align-self: start; width: 88px; height: 88px; margin: 0 0 16px; position: relative; overflow: hidden; border-radius: 14px; background: #f3e7d1; }
body.order-app .menu-item:not(:has(.menu-cart-control)) .pf-thumb { margin-bottom: 0; }
body.order-app .menu-item .pf-thumb-img { position: absolute; inset: 0; width: 88px; height: 88px; object-fit: cover; display: block; }
body.order-app .menu-item .pf-thumb--icon { background: #fbf4e8; }
body.order-app .menu-item .pf-thumb--icon .pf-thumb-img { padding: 20px; box-sizing: border-box; object-fit: contain; }
body.order-app .menu-grid > .menu-item--soldout .pf-thumb { filter: grayscale(1); opacity: .6; }
body.order-app .menu-grid > .menu-item--soldout .menu-item-header { opacity: .65; }

/* text: one column, everything starts at the same x */
body.order-app .menu-item .menu-item-header { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding-right: 0; }
body.order-app .menu-item .menu-item-title-wrap { display: block; min-width: 0; }
body.order-app .menu-item .menu-item-name { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 700; color: var(--pf-ink); overflow-wrap: anywhere; }
body.order-app .menu-item .menu-item-veg-dot { position: absolute; right: 72px; top: 20px; margin: 0; width: 14px; height: 14px; background-color: #fff; box-shadow: 0 0 0 2px #fff; z-index: 1; }
body.order-app .menu-item .fast-chip { margin: 0; padding: 2px 8px; border-radius: 999px; background: #fff1de; color: #a8431f; font-size: .7rem; font-weight: 700; }
body.order-app .menu-item .price { margin: 0; font-size: 1rem; font-weight: 800; color: var(--pf-ink); }
body.order-app .menu-item .price .price-main { color: inherit; }
body.order-app .menu-item .menu-item-min { margin: 0; font-size: .76rem; color: var(--pf-muted); }
body.order-app .menu-item .menu-item-custom { margin: 0; font-size: .76rem; font-weight: 700; color: var(--pf-brand); }

/* ADD / stepper: centred on the picture's bottom edge */
body.order-app .menu-item .menu-cart-control { grid-column: 2; grid-row: 1; align-self: end; justify-self: center; z-index: 2; display: flex; justify-content: center; }
body.order-app .menu-item .order-btn--primary-add { width: 88px; min-width: 88px; height: 40px; min-height: 40px; padding: 0; border-radius: 10px; border: 1.5px solid var(--pf-brand); background: #fff; color: var(--pf-brand); font-size: .92rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 3px 8px rgba(62, 27, 7, .16); }
body.order-app .menu-item .order-btn--primary-add .order-btn-price { display: none; }
body.order-app .menu-item .order-btn--primary-add:active { background: #f8efe6; }
body.order-app .menu-item:has(.menu-item-custom) .order-btn--primary-add .order-btn-label::after { content: " +"; }
body.order-app .menu-item .menu-cart-qty-bar { display: inline-flex; align-items: center; justify-content: space-between; width: 88px; height: 40px; border-radius: 10px; background: #fff; border: 1.5px solid var(--pf-brand); box-shadow: 0 3px 8px rgba(62, 27, 7, .16); box-sizing: border-box; }
body.order-app .menu-item .menu-cart-qty-bar[hidden] { display: none; }
body.order-app .menu-item .menu-cart-qty-bar button { flex: none; width: 28px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--pf-brand); font-size: 1.2rem; font-weight: 800; cursor: pointer; }
body.order-app .menu-item .menu-cart-qty-middle { flex: 1; min-width: 0; text-align: center; font-weight: 800; font-size: .95rem; color: var(--pf-ink); background: none; }

/* the full-width part under the top part: Half / Full, per-choice rows, closed note */
body.order-app .menu-item .menu-item-actions--sizes, body.order-app .menu-item .menu-item-actions--soldout, body.order-app .menu-item .menu-item-addon-lines { grid-column: 1 / -1; grid-row: 2; width: 100%; }
body.order-app .menu-item .menu-item-actions--sizes { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
body.order-app .menu-item .menu-item-actions--sizes .menu-item-note { display: none; }
body.order-app .menu-item .size-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; width: 100%; }
body.order-app .menu-item .size-chip { display: flex; flex-direction: row !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--pf-brand); background: #fff; color: var(--pf-brand); white-space: nowrap; }
body.order-app .menu-item .size-chip:active { background: #f8efe6; }
body.order-app .menu-item .size-chip-label, body.order-app .menu-item .size-chip-price { display: inline; margin: 0; font-size: .92rem; }
body.order-app .menu-item .size-chip-label { font-weight: 800; }
body.order-app .menu-item .size-chip-price { font-weight: 700; color: var(--pf-ink); }
body.order-app .menu-item .size-chip-price-original { display: none; }
body.order-app .menu-item .menu-item-actions--soldout { margin-top: 10px; }
body.order-app .menu-item .menu-item-soldout { margin: 0; padding: 8px 12px; border-radius: 10px; background: #f6efe6; font-size: .85rem; font-weight: 700; color: var(--pf-red); text-align: center; }
body.order-app .menu-item .menu-item-addon-lines, body.order-app .menu-item .menu-item-size-lines { display: flex; flex-direction: column; gap: 0; }
body.order-app .menu-item .menu-item-addon-lines:empty, body.order-app .menu-item .menu-item-size-lines:empty { display: none; }
body.order-app .menu-item .menu-item-addon-lines, body.order-app .menu-item .menu-item-actions--sizes .menu-item-size-lines { margin-top: 4px; }
body.order-app .menu-item .menu-size-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-top: 1px dashed var(--pf-line); }
body.order-app .menu-item .menu-size-qty-label { flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; color: var(--pf-ink); overflow-wrap: anywhere; }
body.order-app .menu-item .menu-cart-qty-bar--compact { width: 104px; height: 38px; background: var(--pf-brand); border-color: var(--pf-brand); box-shadow: none; }
body.order-app .menu-item .menu-cart-qty-bar--compact button { width: 34px; height: 44px; color: #fff; }
body.order-app .menu-item .menu-cart-qty-bar--compact .menu-cart-qty-middle { color: #fff; }

/* cart + search thumbnails: fixed 64×64 */
.cart2-thumb { width: 64px; height: 64px; object-fit: cover; }
.cart2-thumb[src*="/images/food/"] { object-fit: contain; padding: 10px; background: #fbf4e8; box-sizing: border-box; }
/* the veg mark is placed against the row (the picture's corner), whatever positioned wrappers styles.css adds */
body.order-app .menu-item .menu-item-content, body.order-app .menu-item .menu-item-header, body.order-app .menu-item .menu-item-title-wrap { position: static !important; }

/* ---- Accessibility polish (UI only): visible keyboard focus on the platform controls, calm motion on request ---- */
body.order-app .pf-rest:focus-visible,
body.order-app .pf-cat:focus-visible,
body.order-app .category-tab:focus-visible,
body.order-app .app-tab:focus-visible,
body.order-app .menu-item button:focus-visible,
body.order-app .menu-item .menu-size-qty-row button:focus-visible { outline: 3px solid #b8691f; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    body.order-app *, body.order-app *::before, body.order-app *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* No restaurant reaches the chosen place: the location chip must not say "Delivering now" */
body.pf-no-delivery .pf-deliv-now { display: none; }
/* The search band: styles.css (body.app-mobile .menu-search-container) added 20px under the box, leaving a dead strip */
body.order-app .pf-searchbar .menu-search-container { margin: 0 !important; }
/* Cart footer: the total is the only row shown there, so no dashed rule / empty gap above it (body.app-mobile rule in styles.css won) */
body.order-app .cart2-foot .cart-summary-row--total { padding: 0 !important; margin: 0 !important; border: 0 !important; }
/* Checkout on phones: the form and its scroll area both added 16px, so cards sat 33px in from the edge */
@media (max-width: 720px) {
    body.order-app .checkout-form-scroll { padding-left: 0 !important; padding-right: 0 !important; }
}
/* Bottom tabs: the selected tab already has a pill behind its icon; the old 3px bar above it doubled the marker */
body.order-app.app-mobile .app-tab::before { display: none !important; }

/* =====================================================================================================
   CX — customer redesign (2026-11-18, owner: "a familiar food-delivery app experience, in our colours").
   Shared tokens + components for /menu (home, restaurant, search), the cart / checkout sheets and the
   Orders / Profile pages (platform-pages.css reuses the tokens). Colours come ONLY from the --pf-* tokens
   (the logo palette). Phone first; 44px targets; no blur, no endless animation; facts only (no ratings).
   ===================================================================================================== */
body.order-app {
    --cx-r: 16px;            /* cards */
    --cx-r-sm: 10px;         /* buttons, chips' inner bits, inputs */
    --cx-gap: 16px;          /* page gutter on phones */
    --cx-ink2: #5d4d3b;      /* secondary text */
    --cx-soft: #f3e9db;      /* brand-tinted surface (chips on, covers) */
    --cx-shadow: 0 1px 2px rgba(62, 27, 7, .05), 0 4px 14px rgba(62, 27, 7, .07);
    --cx-shadow-up: 0 -2px 12px rgba(62, 27, 7, .08);
    --fo-top: 64px;
}

/* ---------- buttons (shared) ---------- */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--cx-r-sm); border: 1.5px solid transparent; font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; text-decoration: none; }
.cx-btn--primary { background: var(--pf-brand); color: #fff; }
.cx-btn--primary:active { background: var(--pf-brand-dk); }
.cx-btn--outline { background: #fff; color: var(--pf-brand); border-color: rgba(122, 59, 18, .45); }
.cx-btn--block { width: 100%; }

/* ---------- header: location on the left, profile on the right (phones); brand + location + links (desktop) ---------- */
body.order-app .app-topbar.cx-header { border-bottom: 1px solid var(--pf-line); }
body.order-app .cx-header-in { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 6px 0 !important; }
body.order-app .cx-brand { flex: none; }
@media (max-width: 899.98px) { body.order-app .cx-brand { display: none !important; } }
.cx-loc { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px 0 0; border: 0; background: none; color: var(--pf-ink); cursor: pointer; text-align: left; border-radius: var(--cx-r-sm); }
.cx-loc-pin { flex: none; color: var(--pf-brand); }
.cx-loc-text { display: flex !important; flex-direction: column; min-width: 0; gap: 1px; }
.cx-loc-top { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.cx-loc-top strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; color: var(--pf-ink); }
.cx-loc-chev { flex: none; color: var(--pf-brand); }
.cx-loc-line { font-size: .8rem; color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70vw; }
.cx-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cx-soft); color: var(--pf-brand); font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; }
.cx-avatar span:empty::before { content: ''; display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.cx-dnav { display: none; }
@media (min-width: 900px) {
    body.order-app .cx-header-in { gap: 24px; }
    .cx-loc { flex: 0 1 340px; padding-left: 16px; border-left: 1px solid var(--pf-line); border-radius: 0; }
    .cx-loc-top strong { max-width: 240px; }
    .cx-loc-line { max-width: 300px; }
    .cx-avatar { display: none; }
    .cx-dnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
    .cx-dnav-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--cx-r-sm); background: none; color: var(--pf-ink); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
    .cx-dnav-link:hover { background: var(--cx-soft); color: var(--pf-brand); }
    .cx-dnav-link svg { color: var(--pf-brand); }
    .cx-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pf-green); color: #fff; font-size: .75rem; line-height: 20px; text-align: center; }
    .cx-cart-count[hidden] { display: none; }
    /* the bottom tabs are a phone pattern: the header links replace them on computers */
    body.order-app .app-bottom-nav { display: none !important; }
    body.app-mobile .app-shell { padding-bottom: 24px; }
}
body.order-app .pf-searchbar { top: var(--fo-top, 64px) !important; }
body.order-app .category-tabs-container { top: calc(var(--fo-top, 64px) + 70px) !important; }

/* ---------- home: sections ---------- */
.pf-home { padding-top: 8px; }
.pf-block { margin-bottom: 28px; }
.pf-block-head h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; }
#pfCatsTitle span:not(:empty) { text-transform: none; }
#pfCatsTitle { text-transform: none; }
#pfCatsTitle::first-letter { text-transform: uppercase; }
/* categories: two rows that scroll sideways on phones */
.pf-cats { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 84px; gap: 14px 10px; }
.pf-cats:has(> :nth-child(-n+5):last-child) { grid-template-rows: auto; }
.pf-cat { width: 84px; }
.pf-cat-ic { width: 72px; height: 72px; box-shadow: none; }
.pf-cat span:last-child { font-size: .8rem; color: var(--cx-ink2); }
@media (min-width: 900px) { .pf-cats { grid-template-rows: auto; grid-auto-columns: 104px; } .pf-cat { width: 104px; } .pf-cat-ic { width: 88px; height: 88px; } .pf-cat-ic img { width: 50px; height: 50px; } }

/* cover (a real dish photo, or the restaurant's food icons on a tinted tile) */
.cx-cover { position: relative; display: block; overflow: hidden; background: var(--cx-soft); border-radius: var(--cx-r); }
.cx-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-cover--icons { display: flex; align-items: center; justify-content: center; gap: 2px; background: color-mix(in srgb, var(--tone, #7a3b12) 14%, #fff); }
.cx-cover--icons > img { width: 30%; height: auto; max-width: 52px; object-fit: contain; }
.cx-closed { color: var(--pf-red); font-weight: 800; }

/* top picks: a sideways row of larger cards */
.cx-top-row { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cx-top-row::-webkit-scrollbar { display: none; }
.cx-tcard { flex: 0 0 min(64vw, 240px); display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--pf-ink); cursor: pointer; scroll-snap-align: start; }
.cx-tcard-cover { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 6px; box-shadow: var(--cx-shadow); }
.cx-tcard-name { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-tcard-eta { font-size: .85rem; font-weight: 700; color: var(--pf-ink); }
.cx-tcard-cuis { font-size: .82rem; color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-tcard.is-closed .cx-tcard-cover { filter: grayscale(1); opacity: .7; }
.cx-arrows { display: none; gap: 8px; }
@media (hover: hover) and (min-width: 900px) {
    .cx-arrows { display: inline-flex; }
    .cx-arrow { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cx-soft); color: var(--pf-brand); font-size: 1.3rem; font-weight: 800; line-height: 1; cursor: pointer; }
    .cx-top-row { margin: 0; padding: 2px 0 8px; }
    .cx-tcard { flex-basis: 260px; }
}

/* filter chips + sort */
.cx-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px; scrollbar-width: none; }
.cx-filters::-webkit-scrollbar { display: none; }
.cx-filters[hidden] { display: none; }
.cx-fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #dccbb2; background: #fff; color: var(--pf-ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(62, 27, 7, .05); }
.cx-fchip[hidden] { display: none; }
.cx-fchip[aria-pressed="true"], .cx-fchip.is-on { background: var(--cx-soft); border-color: var(--pf-brand); color: var(--pf-brand); }
.cx-fchip[aria-pressed="true"]::after { content: '✕'; font-size: .72rem; margin-left: 2px; }
@media (min-width: 900px) { .cx-filters { margin: 0 0 16px; padding: 2px 0; flex-wrap: wrap; } }

/* restaurant list cards: cover left, facts right (phones); cover on top in a grid (tablet / desktop) */
.pf-rest-list { gap: 20px; }
.cx-rcard { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--pf-ink); cursor: pointer; content-visibility: auto; contain-intrinsic-size: auto 140px; }
.cx-rcard-cover { width: 128px; height: 140px; box-shadow: var(--cx-shadow); }
.cx-rcard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-rcard-name { font-size: 1.08rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx-rcard-eta { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 800; color: var(--pf-ink); }
.cx-rcard-eta svg { color: var(--pf-green); flex: none; }
.cx-rcard-cuis { font-size: .86rem; color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-rcard-meta { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: .8rem; color: var(--pf-muted); }
.cx-rcard-meta span + span::before { content: '·'; margin-right: 10px; color: #c4b49e; }
.cx-tag { position: absolute; left: 0; top: 12px; z-index: 1; padding: 3px 8px; border-radius: 0 6px 6px 0; background: var(--pf-gold); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(62, 27, 7, .2); }
.cx-rcard.is-closed .cx-rcard-cover { filter: grayscale(1); opacity: .65; }
.cx-rcard.is-closed .cx-rcard-name { color: var(--cx-ink2); }
.cx-rcard:focus-visible, .cx-tcard:focus-visible { outline: 3px solid rgba(122, 59, 18, .4); outline-offset: 4px; border-radius: var(--cx-r); }
@media (hover: hover) { .cx-rcard:hover .cx-rcard-cover, .cx-tcard:hover .cx-tcard-cover { transform: scale(.98); transition: transform .15s ease; } }
@media (min-width: 720px) {
    .pf-rest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    .cx-rcard { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; contain-intrinsic-size: auto 300px; }
    .cx-rcard-cover { width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .cx-tag { top: 14px; }
}
@media (min-width: 1100px) { .pf-rest-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* skeletons + empty state */
.cx-skel-card { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; }
.cx-skel-card i { display: block; height: 140px; border-radius: var(--cx-r); background: #ece2d3; }
.cx-skel-card b { display: block; height: 64px; border-radius: 8px; background: linear-gradient(#ece2d3 0 18px, transparent 18px 28px, #f1e9dd 28px 42px, transparent 42px 52px, #f1e9dd 52px 64px); }
@media (min-width: 720px) { .cx-skel-card { grid-template-columns: 1fr; } .cx-skel-card i { height: auto; aspect-ratio: 16 / 10; } }
.cx-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; border-style: solid; border-color: var(--pf-line); }
.cx-empty img { opacity: .9; margin-bottom: 4px; }


/* ---------- bottom sheet (shared): phones = sheet from the bottom, wider screens = centred dialog ---------- */
.cx-sheet { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; }
.cx-sheet[hidden] { display: none; }
.cx-sheet-scrim { position: absolute; inset: 0; background: rgba(30, 18, 8, .5); }
.cx-sheet-card { position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 20px 20px 0 0; box-shadow: var(--cx-shadow-up); animation: cxUp .2s ease-out; }
.cx-sheet-card::before { content: ''; display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: #dccbb2; }
@keyframes cxUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cx-sheet-card { animation: none; } }
@media (min-width: 720px) { .cx-sheet { align-items: center; } .cx-sheet-card { border-radius: 20px; } .cx-sheet-card::before { display: none; } }
.cx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.cx-sheet-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.cx-sheet-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cx-soft); color: var(--pf-ink); font-size: .95rem; cursor: pointer; }
body.cx-sheet-open { overflow: hidden; }
.cx-radio-list { display: flex; flex-direction: column; margin-bottom: 16px; }
.cx-radio { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--pf-line); font-weight: 600; cursor: pointer; }
.cx-radio:last-child { border-bottom: 0; }
.cx-radio input { order: 2; width: 20px; height: 20px; accent-color: var(--pf-brand); }
/* header location: plain text button (styles.css gives .delivery-hero-location a pill) */
body.order-app .cx-header .cx-loc { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 4px 0 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; }
@media (min-width: 900px) { body.order-app .cx-header .cx-loc { padding-left: 16px !important; border-left: 1px solid var(--pf-line) !important; } }
.pf-block-head .pf-count { white-space: nowrap; }
/* icon cover: one big icon of the restaurant's main dish on its tint (the other icons only on wide cards) */
.cx-cover--icons > img { width: 46%; max-width: 76px; }
.cx-cover--icons > img + img { display: none; }
@media (min-width: 720px) { .cx-rcard .cx-cover--icons > img + img { display: block; width: 22%; max-width: 48px; opacity: .9; } }
.cx-tcard-cover { aspect-ratio: 16 / 10; }
.cx-rcard-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- restaurant page: back button, then an info card (facts only) ---------- */
.cx-rhead { display: block !important; margin: 4px 0 16px; }
.cx-rhead[hidden] { display: none !important; }
.cx-rhead-bar { display: flex; align-items: center; margin-bottom: 10px; }
.cx-rhead-bar .pf-back[hidden] { display: none; }
.cx-rinfo { padding: 16px; background: #fff; border: 1px solid var(--pf-line); border-radius: 20px; box-shadow: var(--cx-shadow); }
.cx-rinfo-top { display: flex; align-items: flex-start; gap: 12px; }
.cx-rinfo .pf-resthead-name { font-size: 1.35rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cx-rinfo-cuis { margin: 4px 0 0; font-size: .88rem; color: var(--pf-brand); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-rinfo-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--pf-line); }
.cx-rinfo-fact { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--cx-soft); font-size: .85rem; font-weight: 800; color: var(--pf-ink); }
.cx-rinfo-fact:empty { display: none; }
.cx-rinfo-fact svg { color: var(--pf-green); }
.cx-rinfo-meta { margin-top: 10px !important; white-space: normal !important; }
@media (min-width: 900px) {
    .cx-rinfo { padding: 20px 24px; }
    .cx-rinfo .pf-resthead-name { font-size: 1.6rem; }
}
.cx-rinfo-top .pf-back { width: 40px; height: 40px; margin: -2px 0 0 -4px; box-shadow: none; border-color: var(--pf-line); }
.cx-rinfo-facts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.cx-rinfo-fact { flex: none; white-space: nowrap; }

/* ---------- address book (cx-address.js) ---------- */
.cx-overline { margin: 18px 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-muted); }
.cx-addr-quick { display: flex; flex-direction: column; border: 1px solid var(--pf-line); border-radius: 14px; overflow: hidden; }
.cx-addr-q { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--pf-line); background: #fff; text-align: left; font: inherit; color: var(--pf-ink); cursor: pointer; }
.cx-addr-q:last-child { border-bottom: 0; }
.cx-addr-q svg { flex: none; color: var(--pf-brand); }
.cx-addr-q span { display: flex; flex-direction: column; gap: 1px; }
.cx-addr-q b { font-weight: 800; color: var(--pf-brand); }
.cx-addr-q small { font-size: .8rem; color: var(--pf-muted); }
.cx-addr-q:active { background: #fcf8f1; }
.cx-addr-list { display: flex; flex-direction: column; }
.cx-addr { padding: 10px 0 12px; border-bottom: 1px solid var(--pf-line); }
.cx-addr:last-child { border-bottom: 0; }
.cx-addr-pick { display: flex; gap: 14px; width: 100%; padding: 4px 0; border: 0; background: none; text-align: left; font: inherit; color: var(--pf-ink); cursor: pointer; }
.cx-addr-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cx-soft); color: var(--pf-brand); }
.cx-addr-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cx-addr-text b { font-weight: 800; font-size: 1rem; }
.cx-addr-text > span { font-size: .88rem; color: var(--cx-ink2); line-height: 1.35; }
.cx-addr-text small { font-size: .8rem; color: var(--pf-muted); }
.cx-addr-text em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--pf-red); }
.cx-addr-cur { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--pf-green-bg); color: var(--pf-green); font-size: .7rem; font-weight: 800; vertical-align: 2px; }
.cx-addr.is-current .cx-addr-ic { background: var(--pf-brand); color: #fff; }
.cx-addr.is-out .cx-addr-ic { background: #efe8dc; color: #9b8b77; }
.cx-addr-acts { display: flex; gap: 6px; padding-left: 54px; }
.cx-link { min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--pf-brand); font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
.cx-link:hover { background: var(--cx-soft); }
.cx-link--danger { color: var(--pf-red); }
.cx-addr.is-confirm .cx-link--danger { background: var(--pf-red-bg); }
.cx-addr-status { min-height: 1.2em; margin: 10px 0 0; font-size: .85rem; font-weight: 600; color: var(--pf-red); }
.cx-addr-status:empty { margin: 0; }
.cx-addr-pin { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--cx-soft); color: var(--pf-brand); }
.cx-addr-pin-text { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--pf-ink); }
.cx-addr-pin-text b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-addr-pin-text small { font-size: .8rem; color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cx-field > span { font-size: .85rem; font-weight: 700; color: var(--cx-ink2); }
.cx-field em { font-style: normal; font-weight: 500; color: var(--pf-muted); }
.cx-field input, .cx-field textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1.5px solid #d9c9b0; border-radius: var(--cx-r-sm); background: #fff; font: inherit; font-size: 16px; color: var(--pf-ink); resize: vertical; }
.cx-field input:focus, .cx-field textarea:focus { outline: none; border-color: var(--pf-brand); box-shadow: 0 0 0 3px rgba(122, 59, 18, .14); }
.cx-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cx-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1.5px solid #d9c9b0; border-radius: var(--cx-r-sm); background: #fff; font: inherit; font-weight: 700; color: var(--pf-ink); cursor: pointer; }
.cx-seg button svg { width: 18px; height: 18px; color: var(--pf-brand); }
.cx-seg button[aria-checked="true"] { border-color: var(--pf-brand); background: var(--cx-soft); color: var(--pf-brand); }
.cx-note { margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #7a4a05; font-size: .85rem; }
.cx-addr-contact { margin: 0 0 12px; font-size: .85rem; color: var(--pf-muted); }
/* the location picker (geo-client.js) opens above the address sheets */
.qk-sheet { z-index: 3100 !important; }

/* =====================================================================================================
   CX cart + checkout (styles only — every handler, price and calculation in script.js is unchanged).
   One white list of items with dividers, flat brand buttons (no gradients), sections as white cards on cream,
   overline section titles, the amount to pay always visible at the bottom.
   ===================================================================================================== */
body.order-app .cart-modal-content.cart2, body.order-app #checkoutModal .checkout-modal-content { background: var(--pf-bg) !important; }
body.order-app .cart2-head, body.order-app #checkoutModal .checkout-modal-header { background: #fff !important; border-bottom: 1px solid var(--pf-line) !important; box-shadow: none !important; }
body.order-app .cart2-head h2, body.order-app .cart2-head h3, body.order-app #checkoutModal .checkout-modal-header h2 { font-weight: 800 !important; letter-spacing: -.015em; color: var(--pf-ink) !important; }
body.order-app .cart2-sub { color: var(--pf-muted) !important; }
body.order-app .cart-close, body.order-app .checkout-close { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: var(--cx-soft) !important; color: var(--pf-ink) !important; border: 0 !important; box-shadow: none !important; }
body.order-app .cart2-clear { color: var(--pf-red) !important; font-weight: 800 !important; }

/* items: one card, rows divided */
body.order-app .cart2-items { padding: 12px 16px !important; }
body.order-app .cart2-items > .cart2-item:first-child { border-radius: var(--cx-r) var(--cx-r) 0 0 !important; }
body.order-app .cart2-item { margin: 0 !important; padding: 14px !important; background: #fff !important; border: 1px solid var(--pf-line) !important; border-top-width: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.order-app .cart2-items > .cart2-item:first-child { border-top-width: 1px !important; }
body.order-app .cart2-items > .cart2-item:last-of-type { border-radius: 0 0 var(--cx-r) var(--cx-r) !important; box-shadow: var(--cx-shadow) !important; }
body.order-app .cart2-items > .cart2-item:only-of-type { border-radius: var(--cx-r) !important; }
body.order-app .cart2-thumb { width: 56px !important; height: 56px !important; border-radius: 12px !important; }
body.order-app .cart2-info h4 { font-weight: 800 !important; font-size: .98rem !important; color: var(--pf-ink) !important; }
body.order-app .cart2-unit { color: var(--pf-muted) !important; }
body.order-app .cart2-stepper { display: inline-flex !important; align-items: center !important; height: 36px !important; border: 1.5px solid var(--pf-brand) !important; border-radius: 10px !important; background: #fff !important; overflow: hidden; }
body.order-app .cart2-qty { width: 36px !important; height: 36px !important; border: 0 !important; background: none !important; color: var(--pf-brand) !important; font-size: 1.15rem !important; font-weight: 800 !important; }
body.order-app .cart2-qty-val { min-width: 22px; text-align: center; font-weight: 800 !important; color: var(--pf-brand) !important; }
body.order-app .cart2-line { font-weight: 800 !important; color: var(--pf-ink) !important; }
body.order-app .cart2-remove { width: 36px !important; height: 36px !important; border-radius: 50% !important; background: none !important; color: #a8957d !important; border: 0 !important; }
body.order-app .cart2-remove:hover { background: var(--pf-red-bg) !important; color: var(--pf-red) !important; }

/* cart footer */
body.order-app .cart2-foot { background: #fff !important; border-top: 1px solid var(--pf-line) !important; box-shadow: var(--cx-shadow-up) !important; }
body.order-app .cart2-loc { background: var(--cx-soft) !important; border: 0 !important; border-radius: 12px !important; }
body.order-app .cart2-loc-change { color: var(--pf-brand) !important; font-weight: 800 !important; }
body.order-app .cart-summary { background: #fff !important; border: 1px solid var(--pf-line) !important; border-radius: 12px !important; box-shadow: none !important; }

/* one primary button style everywhere: flat brand, no gradient */
body.order-app .cart2-cta, body.order-app .btn-checkout, body.order-app .btn-checkout-place, body.order-app #checkoutSubmitBtn,
body.order-app .cart-bar:not(.grocery-cart-bar) { background: var(--pf-brand) !important; background-image: none !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; box-shadow: 0 4px 14px rgba(122, 59, 18, .28) !important; font-weight: 800 !important; }
body.order-app .cart2-cta:active, body.order-app #checkoutSubmitBtn:active { background: var(--pf-brand-dk) !important; }
body.order-app .cart-bar:not(.grocery-cart-bar) .cart-bar-badge { background: #fff !important; color: var(--pf-brand) !important; }

/* checkout: white section cards on cream */
body.order-app #checkoutModal .checkout-form-scroll { padding: 12px 16px !important; }
body.order-app #checkoutModal .co-items,
body.order-app #checkoutModal .checkout-delivery-card,
body.order-app #checkoutModal .co-meta,
body.order-app #checkoutModal .checkout-coupon,
body.order-app #checkoutModal .checkout-pay-note,
body.order-app #checkoutModal .checkout-bill-panel-inner { background: #fff !important; background-image: none !important; border: 1px solid var(--pf-line) !important; border-radius: var(--cx-r) !important; box-shadow: var(--cx-shadow) !important; }
body.order-app #checkoutModal .checkout-delivery-card-label, body.order-app #checkoutModal .checkout-section-title, body.order-app #checkoutModal .co-meta-body small { font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--pf-muted) !important; }
body.order-app #checkoutModal .checkout-delivery-card-city { font-weight: 800 !important; color: var(--pf-ink) !important; }
body.order-app #checkoutModal .checkout-delivery-change, body.order-app #checkoutModal .co-edit { background: var(--cx-soft) !important; border: 0 !important; color: var(--pf-brand) !important; font-weight: 800 !important; border-radius: 999px !important; box-shadow: none !important; }
body.order-app #checkoutModal .co-meta-icon { background: var(--cx-soft) !important; color: var(--pf-brand) !important; border-radius: 50% !important; }
body.order-app #checkoutModal .checkout-detail-input, body.order-app #checkoutModal .coupon-input-wrap input { min-height: 48px; border: 1.5px solid #d9c9b0 !important; border-radius: var(--cx-r-sm) !important; font-size: 16px !important; background: #fff !important; }
body.order-app #checkoutModal .checkout-detail-input:focus, body.order-app #checkoutModal .coupon-input-wrap input:focus { border-color: var(--pf-brand) !important; box-shadow: 0 0 0 3px rgba(122, 59, 18, .14) !important; outline: none; }
body.order-app #checkoutModal .coupon-action-btn { background: none !important; color: var(--pf-brand) !important; border: 0 !important; font-weight: 800 !important; box-shadow: none !important; }
body.order-app #checkoutModal .checkout-pay-note { border-color: #cfe5cf !important; background: var(--pf-green-bg) !important; color: #1f4d22 !important; }
body.order-app #checkoutModal .checkout-form-footer { background: #fff !important; border-top: 1px solid var(--pf-line) !important; box-shadow: var(--cx-shadow-up) !important; }
body.order-app #checkoutModal .checkout-price-row { color: var(--cx-ink2); }
body.order-app #checkoutModal .checkout-discount-row { color: var(--pf-green) !important; }
body.order-app #checkoutModal .checkout-coupon { padding: 14px !important; }
body.order-app #checkoutModal .checkout-coupon .coupon-row { border-style: solid !important; border-color: var(--pf-line) !important; background: #fff !important; }
/* computers: the header's Cart (with its count) replaces the floating "View cart" bar */
@media (min-width: 900px) { body.order-app #cartBar { display: none !important; } }

/* =====================================================================================================
   DISH CARDS (v5, owner 2026-11-18: "card grid like the big delivery apps", restaurant page only).
   Two cards per row on phones (3 on tablets, 4 on computers): square picture on top, then veg mark +
   "Selling fast", the name (2 lines), price on the left and ADD / − qty + on the right, extras (Half / Full,
   choices, sold out) full width under it. Top picks = a sideways row with the text on the photo.
   Search results and other lists keep the DISH ROW (v4) rows above. Sections fold on a tap on their heading.
   ===================================================================================================== */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 0 8px !important; padding: 0 !important; overflow: visible; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category[hidden], body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks[hidden] { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category-header { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 8px 2px !important; margin: 0 0 4px; border-top: 1px solid var(--pf-line); background: none !important; position: static !important; cursor: pointer; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category:first-of-type .menu-category-header { border-top: 0; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category-title { margin: 0 !important; font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -.015em; color: var(--pf-ink) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category-count { margin-right: auto; font-size: 1.05rem; font-weight: 800; color: var(--pf-ink); background: none !important; padding: 0 !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category-header::after { content: ''; flex: none; width: 10px; height: 10px; margin: 0 8px 0 0; border: solid var(--cx-ink2); border-width: 0 2.4px 2.4px 0; transform: rotate(-135deg) translate(-2px, -2px); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category.is-folded .menu-category-header::after { transform: rotate(45deg) translate(-2px, -2px); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category.is-folded .menu-grid { display: none !important; }

/* the grid */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px !important; padding: 4px 0 20px !important; background: none !important; }
@media (min-width: 720px) { body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px 16px !important; } }
@media (min-width: 1100px) { body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* one card */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-grid > .menu-item { grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: auto; column-gap: 8px; padding: 0 !important; border: 0 !important; background: none !important; content-visibility: auto; contain-intrinsic-size: auto 320px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-grid > .menu-item[hidden] { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-grid > .menu-item:hover { background: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-header,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-title-wrap { display: contents !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .pf-thumb { grid-column: 1 / -1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0 0 10px; border-radius: 16px; box-shadow: 0 2px 10px rgba(62, 27, 7, .1); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .pf-thumb-img { width: 100%; height: 100%; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .pf-thumb--icon .pf-thumb-img { padding: 26%; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-veg-dot { position: static !important; grid-column: 1 / -1; grid-row: 2; justify-self: start; align-self: center; margin: 0 !important; box-shadow: none; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .fast-chip { grid-column: 1 / -1; grid-row: 2; justify-self: start; align-self: center; margin: 0 0 0 22px !important; padding: 0; background: none; color: #a8431f; font-size: .78rem; font-weight: 800; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-name { grid-column: 1 / -1; grid-row: 3; margin: 6px 0 0 !important; font-size: .98rem !important; font-weight: 800 !important; line-height: 1.3 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .price { grid-column: 1; grid-row: 4; align-self: center; margin: 10px 0 0 !important; font-size: .98rem !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .price--multi { grid-column: 1 / -1; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-cart-control { grid-column: 2; grid-row: 4; align-self: center; justify-self: end; margin-top: 10px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .order-btn--primary-add,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) { width: 84px; min-width: 84px; height: 38px; min-height: 38px; box-shadow: none; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-custom { grid-column: 2; grid-row: 5; justify-self: center; margin-top: 4px !important; font-size: .7rem !important; font-weight: 600 !important; color: var(--pf-muted) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-min { grid-column: 1 / -1; grid-row: 6; margin-top: 4px !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-actions--sizes,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-actions--soldout,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-addon-lines { grid-column: 1 / -1; grid-row: 7; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-item-actions--sizes { margin-top: 10px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .size-chips { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .size-chip { min-height: 40px; justify-content: space-between; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item .menu-size-qty-row { flex-wrap: wrap; gap: 6px; min-height: 0; padding: 8px 0; }

/* Top picks: a sideways row, the name / price written on the photo */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks { margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks-head { display: flex; align-items: baseline; gap: 10px; padding: 4px 2px 10px !important; background: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks-title { margin: 0; font-size: 1.2rem !important; font-weight: 800 !important; color: var(--pf-ink) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks-sub { font-size: .82rem; color: var(--pf-muted); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-grid { display: flex !important; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px !important; scrollbar-width: none; background: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-grid::-webkit-scrollbar { display: none; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-grid > .menu-item { flex: 0 0 min(72vw, 280px); scroll-snap-align: start; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto auto; padding: 0 !important; border: 0 !important; border-radius: 18px !important; overflow: hidden; background: #2b1d12 !important; aspect-ratio: 5 / 4; isolation: isolate; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-header, body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-title-wrap { display: contents !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb { grid-column: 1 / -1; grid-row: 1 / -1; width: 100%; height: 100%; margin: 0; border-radius: 0; z-index: -1; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 4, 0) 35%, rgba(20, 10, 4, .82) 100%); }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb-img { width: 100%; height: 100%; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb--icon .pf-thumb-img { padding: 18% 30% 34%; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-veg-dot { position: static !important; grid-column: 1; grid-row: 2; justify-self: start; margin: 0 0 0 14px !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .fast-chip { grid-column: 1; grid-row: 2; justify-self: start; margin: 0 0 0 36px !important; padding: 0; background: none; color: #ffd8a8; font-size: .76rem; font-weight: 800; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-name { grid-column: 1 / -1; grid-row: 3; margin: 4px 14px 0 !important; color: #fff !important; font-size: 1.05rem !important; font-weight: 800 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .price { grid-column: 1; grid-row: 4; margin: 4px 0 14px 14px !important; color: #fff !important; align-self: center; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-cart-control { grid-column: 2; grid-row: 4; margin: 4px 14px 14px 0; align-self: center; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .order-btn--primary-add { width: 96px; height: 38px; min-height: 38px; border-color: #fff; box-shadow: none; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-custom, body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-min { display: none; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-actions--sizes { display: none; } /* Half / Full: chosen on the card in its section */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-addon-lines { display: none; }

/* dish filters: veg / non-veg switches + chips (restaurant page) */
.cx-dfilters { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 12px; border-bottom: 1px solid var(--pf-line); scrollbar-width: none; }
.cx-dfilters::-webkit-scrollbar { display: none; }
.cx-dfilters[hidden], .cx-dfilters [hidden] { display: none !important; }
.cx-dfilter { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid #dccbb2; background: #fff; cursor: pointer; box-shadow: 0 1px 2px rgba(62, 27, 7, .05); }
.cx-diet { position: relative; display: inline-block; width: 18px; height: 18px; border: 2px solid; border-radius: 4px; box-sizing: border-box; }
.cx-diet--veg { border-color: #2e7d32; }
.cx-diet--veg::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #2e7d32; }
.cx-diet--nonveg { border-color: #b3261e; }
.cx-diet--nonveg::after { content: ''; position: absolute; left: 2px; right: 2px; top: 3px; bottom: 3px; background: #b3261e; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cx-dtrack { position: relative; width: 30px; height: 12px; border-radius: 999px; background: #e7ddd0; }
.cx-dtrack::after { content: ''; position: absolute; left: -2px; top: -3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .15s ease; }
.cx-dfilter--veg[aria-pressed="true"] { border-color: #2e7d32; background: #edf7ed; }
.cx-dfilter--veg[aria-pressed="true"] .cx-dtrack { background: #9fd3a2; }
.cx-dfilter--veg[aria-pressed="true"] .cx-dtrack::after { left: 14px; background: #2e7d32; }
.cx-dfilter--nonveg[aria-pressed="true"] { border-color: #b3261e; background: #fdecea; }
.cx-dfilter--nonveg[aria-pressed="true"] .cx-dtrack { background: #f0b4ae; }
.cx-dfilter--nonveg[aria-pressed="true"] .cx-dtrack::after { left: 14px; background: #b3261e; }
.cx-dfilter-empty { margin: 8px 0 24px; padding: 18px; text-align: center; background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; color: var(--pf-muted); }
.cx-dfilter-empty[hidden] { display: none; }
@media (min-width: 900px) { .cx-dfilters { margin: 0 0 16px; padding: 2px 0 14px; } }
@media (prefers-reduced-motion: reduce) { .cx-dtrack::after { transition: none; } }
/* Top picks without a photo: dark brand tile, the food icon small at the top, so the white text stays readable */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb--icon { background: radial-gradient(120% 90% at 50% 20%, #8a4a1c 0%, #5e2c0c 55%, #3e1b07 100%) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .pf-thumb--icon .pf-thumb-img { inset: 12% 0 auto 0 !important; width: 100% !important; height: 40% !important; padding: 0 !important; object-fit: contain; }
/* styles.css sets -webkit-text-fill-color on dish names / prices, which beats `color`: follow the colour instead */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .menu-item-name,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .price,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-picks .menu-item .price-main { -webkit-text-fill-color: currentColor !important; color: #fff !important; }

/* ---------- loader shaped like the restaurant page (static: no shimmer, speed rule) ---------- */
.cx-rskel { display: none; }
body.cx-loading-rest .cx-rskel { display: block; }
body.cx-loading-rest #home > .pf-block { display: none !important; }
.cx-rskel i, .cx-rskel b { display: block; background: #ece2d3; border-radius: 999px; }
.cx-rskel .w20 { width: 20%; } .cx-rskel .w25 { width: 25%; } .cx-rskel .w35 { width: 35%; } .cx-rskel .w40 { width: 40%; }
.cx-rskel .w45 { width: 45%; } .cx-rskel .w55 { width: 55%; } .cx-rskel .w60 { width: 60%; } .cx-rskel .w70 { width: 70%; }
.cx-rskel-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; margin: 8px 0 16px; background: #fff; border: 1px solid var(--pf-line); border-radius: 20px; }
.cx-rskel-card i { height: 16px; } .cx-rskel-card i.sm { height: 11px; margin-left: 30px; }
.cx-rskel-badge { position: absolute; left: 18px; top: 92px; width: 22px; height: 22px; background: #f6d9c4; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.cx-rskel-search { height: 52px; border-radius: 14px !important; margin-bottom: 14px; }
.cx-rskel-chips { display: flex; gap: 10px; margin-bottom: 26px; } .cx-rskel-chips i { width: 96px; height: 40px; border-radius: 12px; }
.cx-rskel-head { width: 40%; height: 20px; margin-bottom: 18px; }
.cx-rskel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.cx-rskel-grid > div { display: flex; flex-direction: column; gap: 10px; }
.cx-rskel-grid b { aspect-ratio: 1 / 1; border-radius: 16px; }
.cx-rskel-grid i { height: 12px; }
.cx-rskel-grid span { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.cx-rskel-grid span i.btn { height: 38px; border-radius: 10px; }
@media (min-width: 720px) { .cx-rskel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cx-rskel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- one-page cart: the checkout's order card lists every line (− qty +, amount) ---------- */
body.order-app #checkoutModal .co-items { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 14px 16px !important; }
body.order-app #checkoutModal .co-items .co-thumbs, body.order-app #checkoutModal .co-items #coItemsSub { display: none !important; }
body.order-app #checkoutModal .co-items-text strong { font-size: 1rem; font-weight: 800; color: var(--pf-ink); }
body.order-app #checkoutModal .co-items .co-edit { min-height: 36px; padding: 0 12px; font-size: .85rem; }
.co-lines { grid-column: 1 / -1; display: flex; flex-direction: column; margin-top: 6px; }
.co-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--pf-line); }
.co-line-main { display: flex; flex-direction: column; min-width: 0; }
.co-line-name { font-weight: 700; font-size: .93rem; line-height: 1.3; color: var(--pf-ink); overflow-wrap: anywhere; }
.co-line-extra { font-size: .78rem; color: var(--pf-muted); }
.co-line-step { display: inline-flex; align-items: center; height: 34px; border: 1.5px solid var(--pf-brand); border-radius: 10px; background: #fff; overflow: hidden; }
.co-line-step button { width: 34px; height: 44px; border: 0; background: none; color: var(--pf-brand); font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.co-line-step span { min-width: 18px; text-align: center; font-weight: 800; color: var(--pf-brand); }
.co-line-amt { text-align: right; font-weight: 800; color: var(--pf-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 360px) { .co-line { grid-template-columns: minmax(0, 1fr) auto; } .co-line-amt { grid-column: 2; } .co-line-step { grid-column: 2; grid-row: 1; } }

/* ---------- grid fixes (owner phone screenshot 2026-11-18: "ui is very bad") ----------
   1) a card never stretches to its taller neighbour (its text used to spread down the column);
   2) dishes with sizes show ONE button (ADD / "N added") that opens a sheet with Full / Half and their steppers. */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { align-items: start !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-grid > .menu-item { align-content: start; align-self: start; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item:has(.cx-size-add) .menu-item-actions--sizes { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price--multi { grid-column: 1; }
.cx-size-add { grid-column: 2; grid-row: 4; align-self: center; justify-self: end; width: 84px; height: 38px; margin-top: 10px; border-radius: 10px; border: 1.5px solid var(--pf-brand); background: #fff; color: var(--pf-brand); font: inherit; font-size: .9rem; font-weight: 800; letter-spacing: .03em; cursor: pointer; }
.cx-size-add.is-added { background: var(--pf-brand); color: #fff; font-size: .8rem; letter-spacing: 0; }
.cx-size-add:not(.is-added)::after { content: ' +'; }
.menu-item .menu-item-min { white-space: normal; }

/* the size sheet (the card's own size block, shown fixed while choosing) */
.cx-pick-scrim { position: fixed; inset: 0; z-index: 2990; background: rgba(30, 18, 8, .5); }
.cx-pick-scrim[hidden] { display: none; }
.cx-pick-head, .cx-pick-done { display: none !important; }
body.order-app #menuItemsContainer .menu-category .menu-item.is-picking { content-visibility: visible !important; contain: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item.is-picking .menu-item-actions--sizes {
    display: flex !important; flex-direction: column; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; margin: 0 auto !important; max-width: 520px; max-height: 80vh; overflow: auto;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 20px 20px 0 0; box-shadow: var(--cx-shadow-up);
}
body.order-app #menuItemsContainer .menu-item.is-picking .cx-pick-head { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 6px; }
body.order-app #menuItemsContainer .menu-item.is-picking .cx-pick-head b { font-size: 1.1rem; font-weight: 800; color: var(--pf-ink); }
body.order-app #menuItemsContainer .menu-item.is-picking .cx-pick-done { display: flex !important; margin-top: 6px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item.is-picking .size-chips { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item.is-picking .size-chip { min-height: 48px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-item.is-picking .menu-size-qty-row { flex-wrap: nowrap; min-height: 52px; padding: 6px 0; }
@media (min-width: 720px) {
    body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item.is-picking .menu-item-actions--sizes { top: 50%; bottom: auto; left: 50%; right: auto; width: min(480px, 92vw); transform: translate(-50%, -50%); border-radius: 20px; }
}
/* the floating Menu button sits above the View cart bar, never on top of the sheet */
body.cx-sheet-open #categoryJumpFab { display: none !important; }
/* sections use content-visibility for speed, which traps position: fixed — lift it only while its sheet is open */
body.order-app #menuItemsContainer .menu-category:has(.menu-item.is-picking),
body.order-app #menuItemsContainer .menu-category:has(.menu-item.is-picking) .menu-grid { content-visibility: visible !important; contain: none !important; overflow: visible !important; }

/* every dish card is its own white card on the cream page (owner: "not able to differentiate cards") */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item {
    background: #fff !important; border: 1px solid #e3d5bf !important; border-radius: 16px !important;
    padding: 8px 10px 12px !important; box-shadow: 0 1px 2px rgba(62, 27, 7, .06), 0 4px 12px rgba(62, 27, 7, .08) !important;
}
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item:hover { background: #fff !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .pf-thumb { margin: 0 0 10px !important; border-radius: 12px !important; box-shadow: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { gap: 14px 10px !important; }
@media (min-width: 720px) { body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { gap: 18px 16px !important; } }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price { white-space: nowrap; font-size: .92rem !important; min-width: 0; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price--multi .price-main { font-size: .88rem; }

/* ---------- grid card alignment (owner screenshot 2026-11-18): price, ADD and the stepper line up in every card ---------- */
/* equal-height cards: the spare space goes to an empty last row, so every card's rows start at the same height */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid { align-items: stretch !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-grid > .menu-item { align-self: stretch; align-content: start; grid-template-rows: auto auto auto auto auto auto auto 1fr; }
/* the name always takes two lines, so the price row sits at the same height next to a long name */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-item-name { min-height: 2.6em; }
/* price: "From" small on top, the amount under it (never runs into the button) */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; min-height: 38px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price .price-from { display: block; font-size: .68rem; font-weight: 600; color: var(--pf-muted); line-height: 1.1; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .price-main { display: flex; flex-direction: column; }
/* ADD / "N added" / stepper: one size, one centre line */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-control,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .cx-size-add { align-self: center; justify-self: end; margin-top: 10px; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .order-btn--primary-add,
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .cx-size-add { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 38px; min-height: 38px; padding: 0; line-height: 1; box-sizing: border-box; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) { display: grid !important; grid-template-columns: 1fr 1fr 1fr; align-items: stretch; width: 84px; height: 38px; padding: 0; overflow: hidden; box-sizing: border-box; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar[hidden] { display: none !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) button { display: grid; place-items: center; width: auto; height: 100%; padding: 0; margin: 0; font-size: 1.25rem; line-height: 1; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) .menu-cart-qty-middle { display: grid; place-items: center; min-width: 0; line-height: 1; font-size: .95rem; }
/* the veg mark / "Selling fast" row has one fixed height, with or without the chip */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-item-veg-dot, body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .fast-chip { grid-row: 2; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item::before { content: ''; grid-column: 1 / -1; grid-row: 2; height: 20px; }
/* styles.css gives stepper buttons a 48×48 minimum, which squashed the number: 28 | number | 28 inside the 84×38 bar */
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) { grid-template-columns: 28px minmax(0, 1fr) 28px !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) button { min-width: 0 !important; min-height: 0 !important; width: 28px !important; height: 100% !important; }
body.order-app.pf-m-restaurant #menuItemsContainer .menu-category .menu-item .menu-cart-qty-bar:not(.menu-cart-qty-bar--compact) .menu-cart-qty-middle { min-width: 0 !important; width: auto !important; }

/* =====================================================================================================
   Desktop checkout (≥ 1000px): two columns — order, address, contact, coupon on the left; the bill, the total
   and Place order in a sticky card on the right (always open). Phones / tablets keep the bottom bar.
   Styles only: the same elements, the same handlers, the same totals.
   ===================================================================================================== */
@media (min-width: 1000px) {
    body.order-app #checkoutModal .checkout-modal-content { max-width: 1040px !important; width: 94% !important; max-height: 92vh; border-radius: 20px !important; }
    body.order-app #checkoutModal .checkout-form { display: grid !important; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 0 20px; padding: 0 20px 20px; overflow: hidden; }
    body.order-app #checkoutModal .checkout-form-scroll { grid-column: 1; grid-row: 1; max-height: calc(92vh - 150px); overflow-y: auto; padding: 16px 4px 16px 0 !important; }
    body.order-app #checkoutModal .checkout-form-footer { grid-column: 2; grid-row: 1; position: sticky; top: 16px; margin-top: 16px; padding: 18px !important; background: #fff !important; border: 1px solid var(--pf-line) !important; border-radius: 16px !important; box-shadow: var(--cx-shadow) !important; }
    /* the bill is always open; the total is the card's heading */
    body.order-app #checkoutModal .checkout-bill-toggle { pointer-events: none; cursor: default; padding: 0 0 12px !important; border: 0 !important; background: none !important; box-shadow: none !important; }
    body.order-app #checkoutModal .checkout-bill-toggle::before, body.order-app #checkoutModal .checkout-bill-toggle-action { display: none !important; }
    body.order-app #checkoutModal .checkout-bill-toggle-main { grid-template-columns: 1fr auto; align-items: baseline; width: 100%; }
    body.order-app #checkoutModal .checkout-bill-toggle-main small { grid-column: 1; grid-row: 1; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-muted); }
    body.order-app #checkoutModal .checkout-bill-toggle-main strong { grid-column: 2; grid-row: 1; font-size: 1.6rem; color: var(--pf-ink); }
    body.order-app #checkoutModal .checkout-bill-panel { grid-template-rows: 1fr !important; margin-bottom: 14px; }
    body.order-app #checkoutModal .checkout-bill-panel-inner { max-height: none !important; overflow: visible !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-top: 1px dashed var(--pf-line) !important; border-radius: 0 !important; padding-top: 10px !important; }
    body.order-app #checkoutModal .btn-checkout-place { width: 100%; min-height: 52px; }
}

/* ---------- Menu switcher: a small round button at the bottom-right (was a wide pill in the middle of the screen,
   on top of the dish cards and the cart bar). Tap = the category sheet, as before. ---------- */
body.order-app .category-jump-fab {
    left: auto !important; right: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px) !important;
    width: 60px; height: 60px; padding: 0 !important; border-radius: 50% !important; gap: 1px !important;
    flex-direction: column; justify-content: center; text-align: center;
    background: var(--pf-brand-dk, #5e2c0c) !important; color: #fff; box-shadow: 0 4px 14px rgba(62, 27, 7, .35) !important;
    transform: translateY(10px) !important;
}
body.order-app .category-jump-fab.visible { transform: none !important; }
body.order-app .category-jump-fab:active { transform: scale(.96) !important; }
body.order-app.has-cart-bar .category-jump-fab { bottom: calc(env(safe-area-inset-bottom, 0px) + 160px) !important; }
body.order-app .category-jump-fab-badge { width: 22px; height: 22px; background: none !important; color: #fff; }
body.order-app .category-jump-fab-icon { width: 20px; height: 20px; }
body.order-app .category-jump-fab-label { font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
body.order-app .category-jump-fab-current { display: none !important; }
@media (min-width: 900px) {
    body.order-app .category-jump-fab, body.order-app.has-cart-bar .category-jump-fab { right: 24px; bottom: 24px !important; }
}

/* =====================================================================================================
   Category chips (restaurant page) — one clean style (owner screenshot 2026-11-18: arrow on top of a chip,
   a pale square behind the selected chip, heavy borders / shadows). Flat white chips with a thin border,
   the selected one filled brown, soft fades at the scrolling edges, round arrows ON the fade (computers only).
   ===================================================================================================== */
body.order-app .category-tabs-container { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--pf-bg) !important; }
body.order-app .category-tabs-wrapper { padding: 6px 0 !important; gap: 0 !important; }
body.order-app .category-tabs { gap: 8px !important; padding: 2px 16px !important; scroll-snap-type: none !important; }
body.order-app .category-tab { min-height: 40px !important; padding: 0 16px !important; border: 1px solid #dccbb2 !important; background: #fff !important; color: var(--cx-ink2) !important; font-size: .9rem !important; font-weight: 700 !important; box-shadow: none !important; transform: none !important; transition: background .12s, color .12s, border-color .12s !important; }
body.order-app .category-tab::before, body.order-app .category-tab::after { content: none !important; display: none !important; }
body.order-app .category-tab:hover:not(.active) { background: var(--cx-soft) !important; border-color: #cfb995 !important; color: var(--pf-brand) !important; transform: none !important; }
body.order-app .category-tab.active { background: var(--pf-brand) !important; background-image: none !important; border-color: var(--pf-brand) !important; color: #fff !important; box-shadow: none !important; transform: none !important; }
/* soft fade where more chips are hidden */
body.order-app .category-tabs { --fl: 0px; --fr: 0px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); }
body.order-app .category-tabs-wrapper:has(.category-scroll-indicator.left.visible) .category-tabs { --fl: 52px; }
body.order-app .category-tabs-wrapper:has(.category-scroll-indicator.right.visible) .category-tabs { --fr: 52px; }
/* arrows: small round buttons on the fade; phones swipe instead */
body.order-app .category-scroll-indicator { width: 34px !important; height: 34px !important; font-size: 1.2rem !important; background: #fff !important; border: 1px solid #dccbb2 !important; box-shadow: 0 2px 8px rgba(62, 27, 7, .15) !important; color: var(--pf-brand) !important; transform: translateY(-50%) !important; }
body.order-app .category-scroll-indicator:hover { background: var(--cx-soft) !important; transform: translateY(-50%) !important; }
body.order-app .category-scroll-indicator.left { left: 8px; }
body.order-app .category-scroll-indicator.right { right: 8px; }
@media (max-width: 899.98px) { body.order-app .category-scroll-indicator { display: none !important; } }
@media (min-width: 900px) { body.order-app .category-tabs { padding-left: 16px !important; padding-right: 16px !important; } }
body.order-app .category-tabs-container { background: transparent !important; }
@media (min-width: 900px) { body.order-app .category-tabs { padding-left: 0 !important; padding-right: 0 !important; } }

/* =====================================================================================================
   Quantity steppers (− qty +) — one look everywhere (owner: "qty plus minus not good"). The − and + were font
   characters (thin, small, sitting low); they are now drawn as 12 × 2.4px bars, dead centre, in the stepper's
   text colour (brown on white, white on the brown size-sheet rows). Dish cards, Top picks, size sheet, cart
   sheet, checkout lines.
   ===================================================================================================== */
body.order-app :is(.menu-cart-qty-bar button, .co-line-step button, .cart2-stepper .cart2-qty) { font-size: 0 !important; line-height: 0 !important; position: relative; color: var(--pf-brand) !important; -webkit-text-fill-color: currentColor; }
body.order-app .menu-cart-qty-bar--compact button { color: #fff !important; }
body.order-app :is(.menu-cart-qty-bar button, .co-line-step button, .cart2-stepper .cart2-qty)::before { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.4px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
body.order-app :is(.menu-qty-plus, .co-line-step button:last-child, .cart2-stepper .cart2-qty:last-child)::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2.4px; height: 12px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
/* the number between them */
body.order-app .menu-cart-qty-middle, body.order-app .co-line-step span, body.order-app .cart2-qty-val { font-weight: 800; font-size: .98rem; line-height: 1; color: var(--pf-brand); font-variant-numeric: tabular-nums; }
body.order-app .menu-cart-qty-bar--compact .menu-cart-qty-middle { color: #fff; }
/* a little more room to tap in checkout / cart */
body.order-app .co-line-step { height: 38px; }
body.order-app .co-line-step button { width: 38px; }
body.order-app .co-line-step span { min-width: 24px; }
body.order-app .menu-cart-qty-bar.menu-cart-qty-bar--compact button { color: #fff !important; }
body.order-app .menu-cart-qty-bar.menu-cart-qty-bar--compact .menu-cart-qty-middle { color: #fff !important; }

/* Pickup from the hotel: Delivery | Pickup choice at checkout, hotel card (docs/notes/pickup-orders.md) */
.checkout-fulfil { margin-bottom: 1rem; }
.fulfil-toggle { display: flex; gap: 0; margin-top: 0.4rem; border: 1px solid rgba(122, 59, 18, 0.35); border-radius: 12px; overflow: hidden; }
.fulfil-toggle button { flex: 1 1 0; min-height: 44px; padding: 0 0.75rem; border: 0; background: #fff; color: #5a3a1e; font: inherit; font-weight: 600; cursor: pointer; }
.fulfil-toggle button + button { border-left: 1px solid rgba(122, 59, 18, 0.35); }
.fulfil-toggle button[aria-pressed='true'] { background: #7a3b12; color: #fff; }
.pickup-links { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.pickup-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(122, 59, 18, 0.35); color: #7a3b12; font-weight: 600; text-decoration: none; }
.pickup-link[hidden], #checkoutPickupCard[hidden], .checkout-fulfil[hidden] { display: none; }

/* "What would you like to eat?": how many places serve it and how far the nearest is */
.pf-cat small { display: block; margin-top: 2px; font-size: .66rem; font-weight: 600; color: #8a7a68; line-height: 1.2; }

/* Confirm order: what this order IS (delivery or pickup), the two choices as cards, the charge rule */
.checkout-mode { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 14px; border: 1.5px solid; }
.checkout-mode b { font-size: .8rem; letter-spacing: .06em; font-weight: 800; }
.checkout-mode span { font-size: .85rem; font-weight: 600; }
.checkout-mode.is-delivery { background: #eaf3ff; border-color: #9cc3f2; color: #1d4d86; }
.checkout-mode.is-pickup { background: #e9f6ec; border-color: #8fcf9f; color: #1f6b34; }
.fulfil-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .4rem; }
.fulfil-card { display: grid; gap: 2px; align-content: start; min-height: 64px; padding: .65rem .75rem; text-align: left; border: 1.5px solid rgba(122, 59, 18, .3); border-radius: 14px; background: #fff; color: #3e1b07; font: inherit; cursor: pointer; }
.fulfil-card b { font-size: .95rem; font-weight: 800; }
.fulfil-card span { font-size: .75rem; font-weight: 600; color: #7a6652; line-height: 1.25; }
.fulfil-card[aria-pressed='true'] { border-color: #7a3b12; background: #fff4e6; box-shadow: 0 0 0 2px rgba(122, 59, 18, .25); }
.fulfil-min { margin: .5rem 0 0; font-size: .8rem; font-weight: 600; color: #9a3412; }
.fulfil-min[hidden], .checkout-mode[hidden] { display: none; }
.checkout-charge-note { margin: .6rem 0 0; font-size: .78rem; font-weight: 600; color: #7a6652; }
.pickup-note { margin: .5rem 0 0; padding: .55rem .75rem; border-radius: 12px; background: #e9f6ec; border: 1px solid #8fcf9f; color: #1f6b34; font-size: .82rem; font-weight: 700; }
.pickup-note[hidden] { display: none; }
.os-mode { display: inline-block; margin-bottom: .4rem; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.os-mode.is-delivery { background: #eaf3ff; color: #1d4d86; }
.os-mode.is-pickup { background: #e9f6ec; color: #1f6b34; }
.cx-rcard-modes { display: flex; gap: 6px; margin-top: 4px; }
.cx-rcard-modes i { font-style: normal; font-size: .68rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.cx-rcard-modes .m-del { background: #eaf3ff; color: #1d4d86; }
.cx-rcard-modes .m-pick { background: #e9f6ec; color: #1f6b34; }

.fulfil-switch { margin-left: 4px; padding: .3rem .8rem; border: 1.5px solid #1f6b34; border-radius: 999px; background: #e9f6ec; color: #1f6b34; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; min-height: 36px; }

/* our own ratings on the restaurant card and page */
.cx-rcard-rate { display: block; font-size: .82rem; color: #5b4631; }
.cx-rcard-rate b { color: #7a3b12; }
.cx-rcard-rate i { font-style: normal; color: #7b6650; }
.cx-rinfo-facts { flex-wrap: wrap; }
.cx-rinfo-rating { border: 0; min-height: 44px; color: #7a3b12; font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.menu-item-liked { margin: 2px 0 0; font-size: .8rem; color: #5b4631; }

/* 2026-11-24: the diet switches say what they do; the restaurant facts fit two to a row on small phones */
.cx-dlabel { font-size: .85rem; font-weight: 800; color: var(--pf-ink); }
@media (max-width: 420px) {
    .cx-rinfo-facts { gap: 6px; }
    .cx-rinfo-fact { min-height: 30px; padding: 0 10px; font-size: .78rem; gap: 5px; }
}

/* Ratings that help choose (2026-11-24): a coloured score badge (4.0+ green, 3.5–3.9 amber, lower grey; "New" below 10
   ratings), the number of ratings next to it, "Most say" tags on the restaurant page, "% liked" on dishes and a
   "Most liked" tag on the restaurant's best-liked dishes. */
.cx-rate { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: 7px; font-size: .8rem; font-weight: 800; line-height: 1; color: #fff; vertical-align: middle; font-variant-numeric: tabular-nums; }
.cx-rate--hi { background: #1f7a33; }
.cx-rate--mid { background: #b7791f; }
.cx-rate--lo { background: #7b6a58; }
.cx-rate--new { background: #f1e7d8; color: #6b4a22; }
.cx-rate-n { margin-left: 6px; font-size: .8rem; font-weight: 600; color: #6b5a48; vertical-align: middle; }
.cx-rcard-rate { display: flex; align-items: center; margin: 3px 0 2px; }
.cx-rcard-rate b, .cx-rcard-rate i { all: unset; }
.cx-tcard-rate { display: block; margin: 4px 0 0; }
.cx-rinfo-rating { display: inline-flex; align-items: center; gap: 0; padding: 0 12px 0 6px; }
.cx-rinfo-rating .cx-rate-n { color: #4b3a2a; }
.cx-rate-more { margin-left: 10px; color: #7a3b12; font-weight: 800; }
.cx-rinfo-says { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .84rem; color: #4b3a2a; }
.cx-rinfo-says[hidden] { display: none; }
.cx-rinfo-says b { font-weight: 800; }
.cx-rinfo-says span { padding: 3px 9px; border-radius: 999px; background: #edf7ed; color: #1f5a22; font-weight: 700; }
.menu-item-liked { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: .78rem; font-weight: 800; }
.menu-item-liked small { font-weight: 600; color: #7b6650; }
.menu-item-liked--hi { color: #1f7a33; }
.menu-item-liked--mid { color: #8a5a00; }
.menu-item-liked--lo { color: #7b6650; }
.menu-item:has(> .menu-item-top) { position: relative; }
.menu-item-top { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 8px; border-radius: 6px; background: #1f7a33; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; pointer-events: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.menu-item-header > .menu-item-liked { grid-column: 1 / -1; margin: 2px 0 4px; }
.cx-rinfo-fact .cx-rate svg, .cx-rate svg { color: inherit; } /* the header's icons are green; the star in the badge stays white */

/* searching inside an open restaurant (2026-11-24): the dishes come right under the search box, the info card returns when the search is cleared */
body.pf-venue-searching.pf-m-restaurant #pfRestHead .cx-rinfo-cuis,
body.pf-venue-searching.pf-m-restaurant #pfRestHead .cx-rinfo-facts,
body.pf-venue-searching.pf-m-restaurant #pfRestHead .cx-rinfo-says,
body.pf-venue-searching.pf-m-restaurant #pfRestHead .cx-rinfo-meta { display: none !important; }
body.pf-venue-searching.pf-m-restaurant #pfRestHead .cx-rinfo { padding: 10px 14px; }

/* =====================================================================================================
   Confirm order, cleaned up (owner screenshot 2026-11-25: "so many unneeded info, spacing not good").
   One rhythm: 16px from the edges, 12px between cards, 16px inside each card; no box inside a box (the bill had a
   bordered panel inside its card, the coupon a dashed frame around a bordered field); the bill ends with its own
   "To pay" row, so the phone footer is only the button (the amount is on it); how to pay is one quiet line.
   ===================================================================================================== */
body.order-app #checkoutModal .checkout-modal-header { gap: 12px; padding: 12px 16px !important; }
body.order-app #checkoutModal .checkout-modal-header h2 { min-width: 0; font-size: 1.15rem !important; line-height: 1.25; }
body.order-app #checkoutModal .checkout-close { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0 !important; font-size: 1.6rem !important; line-height: 1; }
body.order-app #checkoutModal .checkout-form-scroll { display: flex; flex-direction: column; gap: 12px; padding: 16px !important; }
body.order-app #checkoutModal .checkout-form-scroll > * { margin: 0 !important; }
body.order-app #checkoutModal .checkout-form-scroll > [hidden] { display: none !important; }
/* every card: same border, radius and inside space, no shadow */
body.order-app #checkoutModal :is(.co-items, .checkout-delivery-card, .co-meta, .checkout-coupon, .checkout-bill-card) { border: 1px solid var(--pf-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: none !important; }
body.order-app #checkoutModal :is(.co-items, .checkout-delivery-card, .checkout-bill-card) { padding: 14px 16px !important; }
body.order-app #checkoutModal .co-meta { padding: 0 16px !important; }
body.order-app #checkoutModal .checkout-delivery-card > * + * { margin-top: 4px; }
body.order-app #checkoutModal .checkout-delivery-card .pickup-links { margin: 10px 0 6px; }
body.order-app #checkoutModal .checkout-delivery-card .checkout-delivery-lock { margin-top: 6px; font-size: .8rem; color: var(--pf-muted); }
body.order-app #checkoutModal .checkout-fulfil > .checkout-delivery-card-label { margin: 0 0 8px; }
body.order-app #checkoutModal .fulfil-cards { margin-top: 0; gap: 10px; }
/* coupon: one field with the tag icon and Apply inside it */
body.order-app #checkoutModal .checkout-coupon { padding: 12px !important; }
body.order-app #checkoutModal .checkout-coupon .checkout-section-title { display: none !important; }
body.order-app #checkoutModal .checkout-coupon .coupon-row { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.order-app #checkoutModal .checkout-coupon .coupon-input-wrap { min-height: 48px; padding: 4px 4px 4px 12px; gap: 8px; border: 1.5px solid #e6d6c2 !important; border-radius: 12px; background: #fff; }
body.order-app #checkoutModal .checkout-coupon .coupon-input-wrap:focus-within { border-color: var(--pf-brand) !important; box-shadow: 0 0 0 3px rgba(122, 59, 18, .14); }
body.order-app #checkoutModal .checkout-coupon .coupon-input-wrap input { min-height: 40px !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
body.order-app #checkoutModal .checkout-coupon .coupon-action-btn { height: 40px; padding: 0 14px !important; border-radius: 10px !important; }
body.order-app #checkoutModal .checkout-coupon .coupon-feedback { margin: 8px 0 0; }
/* bill: the rows sit straight in the card, the total closes it */
body.order-app #checkoutModal .checkout-bill-card .checkout-section-title { margin: 0 0 10px !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-bill-panel-inner { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-lines { margin: 0; gap: 8px; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row { align-items: baseline; gap: 12px; font-size: .92rem; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row dt small { font-weight: 600; color: var(--pf-muted); }
body.order-app #checkoutModal .checkout-total-row { margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--pf-line); }
body.order-app #checkoutModal .checkout-total-row dt, body.order-app #checkoutModal .checkout-total-row dd { font-size: 1rem; font-weight: 800; color: var(--pf-ink); }
body.order-app #checkoutModal .checkout-fee-why { margin: 10px 0 0; }
/* how to pay: one quiet line, not a green card */
body.order-app #checkoutModal .checkout-pay-note { display: flex; align-items: center; gap: 10px; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--pf-muted) !important; }
body.order-app #checkoutModal .checkout-pay-note svg { flex: none; color: var(--pf-green, #1f7a3a); }
body.order-app #checkoutModal .checkout-pay-note div { gap: 1px; font-size: .8rem; color: var(--pf-muted); }
body.order-app #checkoutModal .checkout-pay-note strong { font-size: .88rem; color: var(--pf-ink); }
/* phones / tablets: the footer is the button only (its words carry the amount; the bill above has "To pay") */
@media (max-width: 999.98px) {
    body.order-app #checkoutModal .checkout-bill-toggle { display: none !important; }
    body.order-app #checkoutModal .checkout-form-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
    body.order-app #checkoutModal .btn-checkout-place { width: 100%; min-height: 52px; }
}
/* pickup hides the "Delivery time" row: its flex display beat [hidden], so pickup orders still said "About 30–40 min" */
body.order-app #checkoutModal .co-meta-row[hidden] { display: none !important; }
body.order-app #checkoutModal .co-meta-row:not([hidden]) ~ .co-meta-row, body.order-app #checkoutModal .co-meta-row[hidden] + .co-meta-row { border-top: 0; }
body.order-app #checkoutModal .co-meta-row:not([hidden]) + .co-meta-row:not([hidden]) { border-top: 1px solid #f3e8d4; }
body.order-app #checkoutModal .checkout-bill-card .checkout-price-row dt { color: var(--cx-ink2, #5a3a1e); }
@media (max-width: 999.98px) {
    body.order-app #checkoutModal .checkout-form { padding: 0 !important; }
}

/* =====================================================================================================
   Home that helps choose (owner, 2026-11-25): greeting + Breakfast / Lunch / Snacks / Dinner tabs, "Order again",
   "Popular for <meal>" dish cards with Add, then smaller restaurant cards with a "Try" line. platform.js hx* / tryLine.
   No animations, no blur; rows scroll sideways with the finger only.
   ===================================================================================================== */
.hx-hello { margin: 4px 0 18px; }
.hx-hello[hidden], .hx-block[hidden] { display: none; }
.hx-hello h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--pf-ink); }
.hx-hello p { margin: 2px 0 12px; font-size: .9rem; color: var(--pf-muted); }
.hx-meals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hx-meal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 4px; border: 1px solid #e6d6c2; border-radius: 14px; background: #fff; color: var(--cx-ink2, #5a3a1e); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.hx-meal img { width: 24px; height: 24px; }
.hx-meal[aria-pressed="true"] { border-color: var(--pf-brand); background: var(--cx-soft); color: var(--pf-brand); box-shadow: inset 0 0 0 1px var(--pf-brand); font-weight: 800; }
.hx-block .pf-block-head { align-items: center; }
.hx-veg { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid #dccbb2; border-radius: 999px; background: #fff; color: var(--cx-ink2, #5a3a1e); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; position: relative; }
.hx-veg::after { content: ''; position: absolute; inset: -4px 0; } /* 44px tap area */
.hx-veg i { width: 12px; height: 12px; border: 1.5px solid #2e7d32; border-radius: 3px; background: radial-gradient(circle, #2e7d32 0 3px, transparent 3.5px); }
.hx-veg[aria-pressed="true"] { border-color: #2e7d32; background: #e9f6ec; color: #1f6b34; }
.hx-row { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hx-row::-webkit-scrollbar { display: none; }
.hx-empty { margin: 0; padding: 12px 0; color: var(--pf-muted); font-size: .9rem; }
.hx-dish { flex: 0 0 156px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid var(--pf-line); border-radius: 16px; background: #fff; overflow: hidden; }
.hx-dish-open { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 0 0 4px; border: 0; background: none; font: inherit; color: var(--pf-ink); text-align: left; cursor: pointer; }
.hx-pic { display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 6px; background: var(--cx-soft); overflow: hidden; }
.hx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-pic.is-icon img { object-fit: contain; padding: 18% 28%; box-sizing: border-box; }
.hx-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0 10px; font-size: .88rem; font-weight: 800; line-height: 1.25; }
.hx-diet { display: inline-block; width: 10px; height: 10px; margin: 0 5px 1px 0; vertical-align: middle; border: 1.5px solid #2e7d32; border-radius: 2px; background: radial-gradient(circle, #2e7d32 0 2.4px, transparent 2.8px); }
.hx-diet--nonveg { border-color: #b3261e; background: radial-gradient(circle, #b3261e 0 2.4px, transparent 2.8px); }
.hx-diet--egg { border-color: #c8902e; background: radial-gradient(circle, #c8902e 0 2.4px, transparent 2.8px); }
.hx-rest { padding: 0 10px; font-size: .74rem; color: var(--pf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-liked, .hx-note { padding: 0 10px; font-size: .72rem; font-weight: 700; color: #9a6a1c; }
.hx-liked.is-hi { color: #1f6b34; }
.hx-note { color: var(--pf-brand); }
.hx-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 8px 10px 10px; }
.hx-price { font-size: .92rem; font-weight: 800; color: var(--pf-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-act { display: inline-flex; }
.hx-add { min-width: 64px; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--pf-brand); border-radius: 10px; background: #fff; color: var(--pf-brand); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; position: relative; }
.hx-add::after { content: ''; position: absolute; inset: -4px -2px; }
.hx-add:active { background: var(--cx-soft); }
.hx-step { display: inline-flex; align-items: center; height: 36px; border-radius: 10px; background: var(--pf-brand); color: #fff; }
.hx-step button { width: 30px; height: 36px; border: 0; background: none; color: #fff; font: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.hx-step b { min-width: 16px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }
.hx-closed { font-size: .72rem; font-weight: 700; color: #a3280b; text-align: right; }
.hx-dish.is-closed .hx-pic { filter: grayscale(1); opacity: .7; }
@media (min-width: 720px) {
    .hx-meals { display: flex; }
    .hx-meal { flex-direction: row; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .9rem; }
    .hx-meal img { width: 20px; height: 20px; }
    .hx-dish { flex-basis: 180px; }
}
@media (min-width: 900px) { .hx-row { margin: 0; padding: 2px 0 8px; } }

/* restaurant cards: smaller cover on phones, a "Try" line with two dishes, closed restaurants after a divider */
.cx-rcard-try { font-size: .8rem; color: var(--cx-ink2, #5a3a1e); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.cx-rcard-try b { color: var(--pf-brand); font-weight: 800; margin-right: 2px; }
.cx-rcard-try em { font-style: normal; font-weight: 700; color: var(--pf-ink); }
.hx-divider { margin: 4px 0 -6px; padding-top: 14px; border-top: 1px dashed var(--pf-line); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-muted); grid-column: 1 / -1; }
@media (max-width: 719.98px) {
    .pf-rest-list { gap: 16px; }
    .cx-rcard { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; contain-intrinsic-size: auto 120px; }
    .cx-rcard-cover { width: 96px; height: 96px; }
    .cx-rcard-name { font-size: 1rem; }
    .cx-rcard-eta { font-size: .84rem; }
    .cx-rcard-cuis { display: none; } /* the Try line names real dishes instead of category names */
}
.cx-rcard-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cx-rcard-modes { margin-top: 2px; }
.hx-pic { aspect-ratio: 16 / 10; }
.hx-pic.is-icon img { padding: 14% 30%; }

/* =====================================================================================================
   Search page (owner, 2026-11-25, platform.js renderSearch → #sx): the search view shows only #sx (no home rows, no
   restaurant list, no old dish cards); one clear button in the box; compact dish rows (64px picture) with Add.
   ===================================================================================================== */
.sx[hidden] { display: none; }
body.order-app:not(.mode-grocery).pf-m-search #home > :not(.sx):not(h1) { display: none !important; }
body.order-app:not(.mode-grocery).pf-m-search #menu { display: none; }
body.order-app:not(.mode-grocery).pf-m-search #searchResultsInfo { display: none !important; }
.pf-searchbar input[type="search"]::-webkit-search-cancel-button,
.pf-searchbar input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.sx { display: grid; gap: 18px; padding-top: 6px; }
.sx-sec { display: grid; gap: 10px; }
.sx-sec h2 { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--pf-ink); }
.sx-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sx-link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--pf-brand); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; }
.sx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-pop img { flex: none; }
.sx-recent { display: inline-flex; align-items: center; border: 1px solid #dccbb2; border-radius: 999px; background: #fff; overflow: hidden; }
.sx-recent-q { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 4px 0 12px; border: 0; background: none; color: var(--pf-ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.sx-recent-q svg { color: var(--pf-muted); }
.sx-recent-x { width: 36px; min-height: 40px; border: 0; background: none; color: var(--pf-muted); font-size: 1.1rem; cursor: pointer; }
.sx-cats { margin: 0; }
.sx-count { margin: 0; font-size: .85rem; font-weight: 700; color: var(--pf-muted); }
.sx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -8px; }
.sx-chips .cx-fchip[aria-pressed="true"]::after { content: none; }
.sx-sort { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 4px 0 12px; border: 1px solid #dccbb2; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 700; color: var(--pf-muted); }
.sx-sort select { min-height: 38px; border: 0; background: none; color: var(--pf-ink); font: inherit; font-weight: 800; cursor: pointer; }
.sx-rests { display: grid; gap: 8px; }
.sx-rest { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 1px solid var(--pf-line); border-radius: 16px; background: #fff; text-align: left; font: inherit; color: var(--pf-ink); cursor: pointer; }
.sx-rest-cover { flex: none; width: 56px !important; height: 56px !important; border-radius: 12px !important; box-shadow: none !important; }
.sx-rest-cover img { width: 100%; height: 100%; object-fit: cover; }
.sx-rest-cover.cx-cover--icons img { width: 22px; height: 22px; }
.sx-rest-text { display: grid; gap: 2px; min-width: 0; }
.sx-rest-text b { font-size: .98rem; font-weight: 800; }
.sx-rest-text small { font-size: .78rem; font-weight: 700; color: var(--pf-brand); }
.sx-list { display: grid; border: 1px solid var(--pf-line); border-radius: 16px; background: #fff; overflow: hidden; }
.sx-row { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; flex: none !important; border: 0 !important; border-radius: 0 !important; padding: 10px 12px 10px 10px; content-visibility: auto; contain-intrinsic-size: auto 84px; }
.sx-row + .sx-row { border-top: 1px solid #f1e6d3 !important; }
.sx-open { flex-direction: row !important; align-items: center; gap: 12px; padding: 0 !important; min-width: 0; }
.sx-pic { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--cx-soft); }
.sx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx-pic.is-icon img { object-fit: contain; padding: 14px; box-sizing: border-box; }
.sx-text { display: grid; gap: 2px; min-width: 0; }
.sx-text .hx-name, .sx-text .hx-rest, .sx-text .hx-liked { padding: 0; }
.sx-text .hx-rest { white-space: normal; }
.sx-text mark { background: #fff1c9; color: inherit; border-radius: 3px; padding: 0 1px; }
.sx-fast { font-size: .72rem; font-weight: 700; color: #b45309; }
.sx-side { flex: none; display: grid; justify-items: end; gap: 6px; margin-left: auto; }
.sx-row.is-closed .sx-pic { opacity: .55; }
.sx-more { justify-self: center; min-height: 44px; }
.sx-empty { text-align: center; }
.sx-did { margin: 8px 0 0; font-weight: 800; color: var(--pf-ink); }
.sx-empty .sx-tags { justify-content: center; }
@media (min-width: 900px) {
    .sx-rests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-row:nth-child(2) { border-top: 0 !important; }
    .sx-row:nth-child(odd) { border-right: 1px solid #f1e6d3 !important; }
}
.sx-sort select { width: auto; max-width: 11rem; padding: 0 4px; appearance: auto; box-shadow: none; }
.sx-fixed { margin: -10px 0 0; font-size: .85rem; color: var(--pf-muted); }
.sx-fixed b { color: var(--pf-ink); }

/* ---- Search page v2 (owner, 2026-11-25: "show items; filters and categories in small icons, not much space"):
   one 32px-high sideways row pinned under the box, then the dishes. ---- */
.sx-filters[hidden] { display: none; }
.sx-filters { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 8px -16px 0; padding: 0 16px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sx-filters::-webkit-scrollbar { display: none; }
.sx-chip { flex: none; position: relative; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border: 1px solid #dccbb2; border-radius: 999px; background: #fff; color: var(--cx-ink2, #5a3a1e); font: inherit; font-size: .8rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.sx-chip::after { content: ''; position: absolute; inset: -6px 0; } /* 44px tap area, 32px look */
.sx-chip img { width: 18px; height: 18px; flex: none; }
.sx-chip.is-on { border-color: var(--pf-brand); background: var(--pf-brand); color: #fff; }
.sx-vegdot { width: 11px; height: 11px; border: 1.5px solid #2e7d32; border-radius: 2px; background: radial-gradient(circle, #2e7d32 0 2.4px, transparent 2.8px); }
.sx-chip.is-on .sx-vegdot { border-color: #fff; background: radial-gradient(circle, #fff 0 2.4px, transparent 2.8px); }
.sx-sortchip { padding: 0 4px 0 10px; }
.sx-sortchip::after { content: none; }
.sx-sortchip select { height: 30px; min-height: 0; max-width: 7.5rem; padding: 0 2px; border: 0; background: none; color: var(--pf-ink); font: inherit; font-weight: 800; cursor: pointer; }
.sx-sep { flex: none; width: 1px; height: 20px; background: #dccbb2; margin: 0 2px; }
.sx { gap: 10px; padding-top: 2px; }
.sx-line { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
.sx-line::-webkit-scrollbar { display: none; }
.sx-line-label { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-muted); }
.sx-line .sx-recent { flex: none; height: 30px; }
.sx-line .sx-recent-q { min-height: 0; height: 30px; padding: 0 2px 0 10px; font-size: .8rem; }
.sx-line .sx-recent-x { min-height: 0; height: 30px; width: 28px; }
.sx-rpill { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--pf-line); border-radius: 999px; background: #fff; color: var(--pf-ink); font: inherit; font-size: .8rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.sx-rpill svg { color: var(--pf-brand); }
.sx-rpill small { padding: 0 6px; border-radius: 999px; background: var(--cx-soft); color: var(--pf-brand); font-size: .72rem; }
.sx-rpill.is-closed { color: var(--pf-muted); }
.sx-count { margin: 0; font-size: .78rem; }
.sx-fixed { margin: 0; }
.sx-row { padding: 8px 10px 8px 8px; contain-intrinsic-size: auto 72px; }
.sx-pic { width: 56px; height: 56px; border-radius: 10px; }
.sx-pic.is-icon img { padding: 12px; }
.sx-text .hx-name { font-size: .88rem; -webkit-line-clamp: 2; }
.sx-text .hx-rest { font-size: .74rem; }
.sx-side .hx-add { min-width: 60px; min-height: 34px; }
@media (min-width: 900px) { .sx-filters, .sx-line { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }
.sx-sortchip select { max-width: 5.5rem; field-sizing: content; appearance: none; -webkit-appearance: none; padding-right: 6px; }
.sx-sortchip.is-on select { color: #fff; }
.sx-sortchip.is-on select option { color: var(--pf-ink); }
.sx-text .hx-rest { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Home order v3 (owner, 2026-11-25): suggested categories for the time of day as ONE sideways row of small icons,
   then the restaurants as a sideways row of cards, then Order again / Popular dishes. ---- */
body.order-app .pf-cats-block .pf-cats { display: flex !important; gap: 10px; grid-template-rows: none; }
body.order-app .pf-cats-block .pf-cat { width: 68px; flex: none; gap: 4px; }
body.order-app .pf-cats-block .pf-cat-ic { width: 56px; height: 56px; }
body.order-app .pf-cats-block .pf-cat-ic img { width: 32px; height: 32px; }
body.order-app .pf-cats-block .pf-cat > span:last-child { font-size: .74rem; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.order-app .pf-cats-block .pf-cat small { display: none; }
body.order-app .pf-cats-block, body.order-app #cxTop { margin-top: 4px; }
.cx-tcard { flex-basis: min(58vw, 220px); }
.cx-tcard-cover { aspect-ratio: 16 / 10; }
.cx-tcard-try { font-size: .76rem; -webkit-line-clamp: 1; }
.cx-tcard .cx-tcard-rate { display: flex; }
@media (min-width: 900px) {
    body.order-app .pf-cats-block .pf-cat { width: 88px; }
    body.order-app .pf-cats-block .pf-cat-ic { width: 72px; height: 72px; }
    body.order-app .pf-cats-block .pf-cat-ic img { width: 40px; height: 40px; }
    .cx-tcard { flex-basis: 240px; }
}
/* phones: compact restaurant cards in the sideways row (short picture, rating + time on one line) */
.cx-tcard .cx-tcard-rate { display: none; }
.cx-tcard-eta .cx-rate { margin-right: 6px; }
@media (max-width: 719.98px) {
    .cx-tcard { flex-basis: 64vw; max-width: 250px; gap: 2px; }
    .cx-tcard-cover { aspect-ratio: 2 / 1; margin-bottom: 4px; }
    .cx-tcard-name { font-size: .95rem; }
    .cx-tcard-eta { font-size: .8rem; }
}

/* ===== Two-tone icons like the logo (owner, 2026-11-25: "icon colours, two-tone like the logo") =====
   Line icons: brown lines (currentColor) with a soft gold fill inside their CLOSED shapes only (circles, boxes, paths whose
   outline ends with z): open strokes (arrows, chevrons, x, +, refresh arcs) would turn into odd filled blobs, so they stay plain. */
body.order-app { --duo-fill: rgba(200, 144, 46, .30); --duo-fill-on: rgba(200, 144, 46, .62); }
body.order-app .app-tab { color: #8a5a36; }
body.order-app :is(.app-tab-icon, .cx-header svg:not(.cx-loc-pin), .app-topbar svg:not(.cx-loc-pin), .pf-searchbar svg, .pf-cartbar svg, .cx-cartbar svg, .cart-modal svg, .checkout-modal svg, .pf-rest-head svg)
  :is(path[d$="z"], path[d$="Z"], circle, rect, ellipse, polygon):not([fill]) { fill: var(--duo-fill); }
body.order-app .app-tab.active .app-tab-icon :is(path[d$="z"], path[d$="Z"], circle, rect, ellipse, polygon) { fill: var(--duo-fill-on); }
/* the location pin: brown with a gold centre */
body.order-app .cx-loc-pin { color: var(--pf-brand); }
/* food pictures (meal tabs, categories, dishes without a photo): warm brown-and-gold tone, like the logo */
img[src^="/images/food/"] { filter: sepia(.85) saturate(1.7) hue-rotate(-8deg) contrast(1.05); }


/* Size picker opened by "Choose" on home / search dish cards (platform.js openSizeSheet, 2026-11-25): the page stays put */
.pf-size .pf-size-opt { min-height: 52px; }
.pf-size .pf-size-add { min-width: 64px; padding: 0.42rem 0.9rem; border: 1.5px solid #7a3b12; border-radius: 10px; color: #7a3b12; font-weight: 700; font-size: 0.9rem; text-align: center; }
.pf-size .pf-size-opt:active .pf-size-add { background: #7a3b12; color: #fff; }

/* ---- Search page v3 (owner, 2026-11-25: "dishes from different hotels mixed = very confusing; make it very easy"):
   results grouped BY RESTAURANT (one card each: who sells it, then its matching dishes), and a calm start screen.
   platform.js renderSearch / sxGroup / sxStart. ---- */
.sx { gap: 14px; }
.sx-hello h2 { margin: 2px 0 2px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--pf-ink); }
.sx-hello p { margin: 0; font-size: .86rem; color: var(--pf-muted); }
.sx-sec { gap: 10px; }
.sx-sec h3 { margin: 0; font-size: .98rem; font-weight: 800; color: var(--pf-ink); }
.sx-sec-head .sx-link { min-height: 36px; font-size: .82rem; }
.sx-recent-q svg { flex: none; }
.sx-pop { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid #e2d3bd; border-radius: 999px; background: #fff; color: var(--pf-ink); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(62, 27, 7, .06); }
.sx-pop:active { background: var(--cx-soft); }
.sx-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .sx-types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sx-types { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sx-type { display: grid; justify-items: center; gap: 4px; min-height: 108px; padding: 12px 6px 10px; border: 1px solid #ecdfcc; border-radius: 16px; background: #fff; color: var(--pf-ink); font: inherit; text-align: center; cursor: pointer; box-shadow: 0 1px 2px rgba(62, 27, 7, .05), 0 6px 14px -8px rgba(62, 27, 7, .2); }
.sx-type:active { background: #fffaf2; }
.sx-type-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cx-soft); }
.sx-type b { font-size: .8rem; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sx-type small { font-size: .68rem; font-weight: 600; color: var(--pf-muted); }

.sx-count { margin: 0; font-size: .82rem; color: var(--pf-muted); font-weight: 600; }
.sx-count b { color: var(--pf-ink); font-weight: 800; }
.sx-tip { margin: -6px 0 0; font-size: .78rem; color: var(--pf-muted); }
/* a restaurant's result card */
.sx-group { border: 1px solid #e6d7c3; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(62, 27, 7, .06), 0 10px 22px -14px rgba(62, 27, 7, .3); content-visibility: auto; contain-intrinsic-size: auto 300px; }
.sx-group.is-mine { border-color: var(--pf-brand); box-shadow: 0 0 0 1px var(--pf-brand), 0 10px 22px -12px rgba(122, 59, 18, .4); }
.sx-ghead { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 12px 10px; border: 0; background: linear-gradient(180deg, #fffaf2 0%, #fff 100%); color: var(--pf-ink); font: inherit; text-align: left; cursor: pointer; }
.sx-ghead:active { background: #fbf2e4; }
.sx-gcover { flex: none; width: 48px !important; height: 48px !important; border-radius: 12px !important; box-shadow: none !important; overflow: hidden; }
.sx-gcover img { width: 100%; height: 100%; object-fit: cover; }
.sx-gcover.cx-cover--icons img { width: 20px; height: 20px; }
.sx-gtext { flex: 1; min-width: 0; display: grid; gap: 4px; }
.sx-gname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-width: 0; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.sx-gname mark { background: #fff1c9; color: inherit; border-radius: 3px; padding: 0 1px; }
.sx-mine { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--pf-brand); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .02em; }
.sx-gfacts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .78rem; font-weight: 600; color: var(--pf-muted); }
.sx-gfacts .cx-rate { height: 20px; font-size: .74rem; }
.sx-gmenu { flex: none; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--cx-soft); color: var(--pf-brand); font-size: .8rem; font-weight: 800; }
.sx-ghint { margin: 0; padding: 0 14px 4px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-muted); }
.sx-glist { display: grid; border-top: 1px solid #f1e6d3; }
.sx-glist .sx-row { padding: 10px 12px; content-visibility: visible; }
.sx-glist .sx-row + .sx-row { border-top: 1px solid #f4ebdd !important; }
.sx-glist .sx-text { gap: 3px; }
.sx-glist .hx-name { font-size: .92rem; font-weight: 700; }
.sx-price { font-size: .9rem; font-weight: 800; color: var(--pf-ink); font-variant-numeric: tabular-nums; }
.sx-glist .sx-side { align-self: center; }
.sx-glist .sx-side .hx-add { min-width: 76px; min-height: 38px; }
.sx-group.is-closed .sx-ghead { background: #faf7f2; }
.sx-group.is-closed .sx-gname, .sx-group.is-closed .sx-row { opacity: .7; }
.sx-gmore { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border: 0; border-top: 1px solid #f1e6d3; background: #fffdf9; color: var(--pf-brand); font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.sx-gmore:active { background: var(--cx-soft); }
@media (min-width: 900px) {
    .sx-glist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-glist .sx-row:nth-child(2) { border-top: 0 !important; }
    .sx-glist .sx-row:nth-child(odd) { border-right: 1px solid #f4ebdd !important; }
}
/* v3.1 (owner, 2026-11-25: "even more easy"): pick a dish, helper badges, closed restaurants folded away */
.sx-pick { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: -4px -16px 0; padding: 2px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sx-pick::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .sx-pick { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; } }
.sx-pickchip { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px 0 10px; border: 1px solid #e2d3bd; border-radius: 999px; background: #fff; color: var(--pf-ink); font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgba(62, 27, 7, .06); }
.sx-pickchip::after { content: ''; position: absolute; inset: -4px 0; }
.sx-pickchip img { flex: none; }
.sx-pickchip small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cx-soft); color: var(--pf-brand); font-size: .7rem; font-weight: 800; }
.sx-pickchip:active { background: var(--cx-soft); }
.sx-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.sx-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .01em; }
.sx-badge--rate { background: #e6f4e8; color: #1f6b2c; }
.sx-badge--price { background: #fff1d6; color: #8a4b00; }
.sx-badge--near { background: #e4f0fa; color: #0b5c94; }
.sx-closedbtn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 1px dashed #d8c6ab; border-radius: 16px; background: #fbf7f1; color: var(--pf-muted); font: inherit; font-size: .86rem; font-weight: 700; text-align: left; cursor: pointer; }
.sx-closedbtn span { flex: none; color: var(--pf-brand); font-weight: 800; }
.sx-closedhead { margin: 6px 0 -4px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pf-muted); }
.sx-allclosed { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff6e8; color: #8a3a00; font-size: .84rem; font-weight: 600; }
.sx-pickchip.is-on { border-color: var(--pf-brand); background: var(--pf-brand); color: #fff; }
.sx-pickchip.is-on small { background: rgba(255, 255, 255, .22); color: #fff; }
/* v3.2 (owner, 2026-11-25: "first the small cards of all serviceable restaurants and categories; somewhere user can see all the items") */
.sx-sec h3 small { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--cx-soft); color: var(--pf-brand); font-size: .72rem; font-weight: 800; vertical-align: 2px; }
.sx-line .sx-link { flex: none; min-height: 30px; }
.sx-rrow { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.sx-rrow::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .sx-rrow { margin: 0; padding: 2px 0 8px; flex-wrap: wrap; overflow: visible; } }
.sx-rmini { flex: none; width: 132px; align-self: stretch; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 8px 8px 10px; border: 1px solid #e6d7c3; border-radius: 16px; background: #fff; color: var(--pf-ink); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; box-shadow: 0 1px 2px rgba(62, 27, 7, .06), 0 8px 16px -10px rgba(62, 27, 7, .3); }
.sx-rmini:active { background: #fffaf2; }
.sx-rmini-cover { width: 100% !important; height: 64px !important; border-radius: 11px !important; box-shadow: none !important; overflow: hidden; }
.sx-rmini-cover img { width: 100%; height: 100%; object-fit: cover; }
.sx-rmini-cover.cx-cover--icons img { width: 26px; height: 26px; object-fit: contain; }
.sx-rmini b { min-height: 2.4em; font-size: .84rem; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sx-rmini-line { align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
/* every restaurant card the same size (owner, 2026-11-25: "card sizes are not proper": a two-line name made one card taller) */
.sx-rrow { align-items: stretch; }
.sx-types { grid-auto-rows: 1fr; }
.sx-type { min-width: 0; }
.sx-rmini-line .cx-rate { height: 19px; font-size: .7rem; padding: 0 6px; }
.sx-rmini-line small { font-size: .72rem; font-weight: 700; color: var(--pf-muted); }
.sx-rmini.is-closed .sx-rmini-cover, .sx-rmini.is-closed b { opacity: .6; }
.sx-allbtn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border: 1px solid var(--pf-brand); border-radius: 16px; background: linear-gradient(180deg, #fffaf2 0%, #fff 100%); color: var(--pf-brand); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(122, 59, 18, .45); }
.sx-allbtn:active { background: var(--cx-soft); }
.sx-allbtn-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--pf-brand); color: #fff; }
.sx-allbtn-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sx-allbtn-t b { font-size: .98rem; font-weight: 800; color: var(--pf-ink); }
.sx-allbtn-t small { font-size: .78rem; font-weight: 600; color: var(--pf-muted); }
.sx-allhead { display: flex; align-items: center; gap: 8px; }
.sx-back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e2d3bd; border-radius: 50%; background: #fff; color: var(--pf-brand); cursor: pointer; }
