/* Default storefront theme. Colors come from CSS variables set in layouts/main.php
   from the theme settings (main and secondary color). */

:root {
    /* 1.77.0: the colours come from Theme options → Colours (earthy sage, warm oat, deep slate, muted sage, golden honey
       by default). Lines and soft fills are mixed from them, so changing one colour keeps everything in tune. */
    --ink: var(--theme-text-color, #1F2937);
    --muted: var(--theme-muted-color, #8A9A86);
    --accent: var(--theme-accent-color, #D97706);
    --accent-d: color-mix(in srgb, var(--accent) 78%, #000);
    --on-accent: #fff;
    --accent-bg: color-mix(in srgb, var(--accent) 12%, var(--surface));
    --line: color-mix(in srgb, var(--muted) 30%, var(--surface));
    --tile: color-mix(in srgb, var(--muted) 9%, var(--page));
    --ok: #1B7A45;
    /* Backgrounds: the page and the cards, panels and pop-ups on it. Child themes can change these. */
    --page: var(--theme-page-color, #F7F4EE);
    --surface: var(--theme-surface-color, #FFFDF9);
    /* Shades used by status boxes, placeholders and hover states (the dark palette below changes them). */
    --tile-hover: color-mix(in srgb, var(--muted) 17%, var(--page));
    --ok-bg: #E8F5EE;
    --ok-ink: #19734A;
    --bad-bg: #FDECEC;
    --danger: #DC3545;
    --danger-ink: #B42318;
    --warn-bg: #FFF6DB;
    --warn-ink: #6B4E00;
    --warn-line: #F3E2AE;
    --note-bg: #FFF9EC;
    --note-line: #F6E3B4;
    --note-ink: #5E4700;
    --verify-bg: #FFF6E5;
    --verify-line: #F5DDAA;
    --verify-icon: #C98A00;
    --ph-a: color-mix(in srgb, var(--brand, #4A6B5D) 8%, var(--surface));
    --ph-b: color-mix(in srgb, var(--brand, #4A6B5D) 18%, var(--surface));
    --ph-icon: color-mix(in srgb, var(--brand, #4A6B5D) 40%, var(--surface));
    --star-off: color-mix(in srgb, var(--muted) 35%, var(--surface));
    --body-text: var(--ink);
    --float-bg: color-mix(in srgb, var(--surface) 94%, transparent);
    color-scheme: light;
    --bs-body-font-family: var(--font-body, 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif);
    --bs-body-color: var(--ink);
    /* Bootstrap's own parts (forms, pop-ups, menus, tables) follow the same warm palette. */
    --bs-body-bg: var(--surface);
    --bs-border-color: var(--line);
    --bs-secondary-color: var(--muted);
    --bs-emphasis-color: var(--ink);
}

/* ---------- Dark mode ----------
   Chosen in Admin → Look and feel → Theme options: always light, always dark, or follow the visitor's device.
   layouts/main.php sets data-color-mode on <html> and a lighter main colour for dark pages.
   The two variable blocks below are the same on purpose (one for "dark", one for "follow the device"). */
html[data-color-mode="dark"] {
    color-scheme: dark;
    --ink: var(--theme-dark-text, #ECEEF1);
    --accent: color-mix(in srgb, var(--theme-accent-color, #D97706) 85%, #fff);
    --accent-d: color-mix(in srgb, var(--theme-accent-color, #D97706) 65%, #fff);
    --on-accent: #fff;
    --accent-bg: color-mix(in srgb, var(--theme-accent-color, #D97706) 20%, var(--surface));
    --muted: #A3AAB5;
    --line: #2E3239;
    --tile: #24272D;
    --tile-hover: #2E3239;
    --ok: #4CC38A;
    --ok-bg: #153325;
    --ok-ink: #6FD6A2;
    --bad-bg: #3A1B20;
    --danger: #FF6B77;
    --danger-ink: #FF8A93;
    --warn-bg: #3A2F10;
    --warn-ink: #F2D27A;
    --warn-line: #5A4818;
    --note-bg: #33290F;
    --note-line: #58461A;
    --note-ink: #F0D58A;
    --verify-bg: #33290F;
    --verify-line: #58461A;
    --verify-icon: #F2B93B;
    --ph-a: #2A2325;
    --ph-b: #3A2C2F;
    --ph-icon: #735559;
    --star-off: #4A4F58;
    --body-text: #D3D7DD;
    --tint: color-mix(in srgb, var(--brand) 9%, var(--surface));
    --float-bg: rgba(27, 29, 33, .92);
    /* The page and the cards on it; the administrator can change them (theme options). */
    --page: var(--theme-dark-page, #121316);
    --surface: var(--theme-dark-surface, #1B1D21);
    /* Bootstrap's own parts (forms, pop-ups, menus, tables) follow the same palette. */
    --bs-body-bg: var(--surface);
    --bs-body-color: var(--ink);
    --bs-emphasis-color: var(--ink);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--line);
    --bs-secondary-bg: var(--tile);
    --bs-tertiary-bg: var(--tile);
}
@media (prefers-color-scheme: dark) {
    html[data-color-mode="system"] {
        color-scheme: dark;
        --ink: var(--theme-dark-text, #ECEEF1);
    --accent: color-mix(in srgb, var(--theme-accent-color, #D97706) 85%, #fff);
    --accent-d: color-mix(in srgb, var(--theme-accent-color, #D97706) 65%, #fff);
    --on-accent: #fff;
    --accent-bg: color-mix(in srgb, var(--theme-accent-color, #D97706) 20%, var(--surface));
        --muted: #A3AAB5;
        --line: #2E3239;
        --tile: #24272D;
        --tile-hover: #2E3239;
        --ok: #4CC38A;
        --ok-bg: #153325;
        --ok-ink: #6FD6A2;
        --bad-bg: #3A1B20;
        --danger: #FF6B77;
        --danger-ink: #FF8A93;
        --warn-bg: #3A2F10;
        --warn-ink: #F2D27A;
        --warn-line: #5A4818;
        --note-bg: #33290F;
        --note-line: #58461A;
        --note-ink: #F0D58A;
        --verify-bg: #33290F;
        --verify-line: #58461A;
        --verify-icon: #F2B93B;
        --ph-a: #2A2325;
        --ph-b: #3A2C2F;
        --ph-icon: #735559;
        --star-off: #4A4F58;
        --body-text: #D3D7DD;
        --tint: color-mix(in srgb, var(--brand) 9%, var(--surface));
        --float-bg: rgba(27, 29, 33, .92);
        /* The page and the cards on it; the administrator can change them (theme options). */
        --page: var(--theme-dark-page, #121316);
        --surface: var(--theme-dark-surface, #1B1D21);
        /* Bootstrap's own parts (forms, pop-ups, menus, tables) follow the same palette. */
        --bs-body-bg: var(--surface);
        --bs-body-color: var(--ink);
        --bs-emphasis-color: var(--ink);
        --bs-secondary-color: var(--muted);
        --bs-border-color: var(--line);
        --bs-secondary-bg: var(--tile);
        --bs-tertiary-bg: var(--tile);
    }
}

body {
    font-family: var(--font-body, 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif);
    font-size: .93rem;
    background: var(--page);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; padding-bottom: 1rem; }
h1, h2, h3, h4, h5, .logo { font-weight: 700; font-family: var(--font-heading, inherit); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
.wrap { max-width: 1170px; }
.text-brand { color: var(--brand); }
.min-w-0 { min-width: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.page-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.breadcrumb a { color: var(--muted); }

/* Buttons */
.pillbtn { border: 0; border-radius: var(--r-btn, 99px); font-weight: 600; font-size: .84rem; padding: .55rem 1.05rem; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; text-decoration: none; }
.pb-brand { background: var(--brand); color: var(--on-brand); }
.pb-brand:hover, .pb-brand:focus { background: var(--brand-d); color: var(--on-brand); }
.pb-dark { background: var(--ink); color: #fff; }
.pb-dark:hover { background: #000; color: #fff; }
.pb-soft { background: var(--tile); color: var(--ink); }
.pb-soft:hover { background: var(--tile-hover); color: var(--ink); }
.pb-tint { background: var(--tint); color: var(--brand); }
.pb-tint:hover { background: var(--brand); color: var(--on-brand); }
.pillbtn:disabled { opacity: .55; cursor: not-allowed; }
.btn-brand { background: var(--brand); color: var(--on-brand); border: 0; border-radius: var(--r-btn, 99px); padding: .6rem 1.4rem; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-d); color: var(--on-brand); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* Header */
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 1030; }
.logo { font-weight: 800; font-size: 1.4rem; color: var(--brand); display: flex; align-items: center; gap: .45rem; letter-spacing: -.02em; white-space: nowrap; }
.logo:hover { color: var(--brand-d); }
.logo i { font-size: 1.1rem; }
.logo img { max-height: 44px; width: auto; }
@media (max-width: 575px) { .logo span { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; font-size: 1.15rem; } }
.navl a { font-weight: 500; padding: .4rem .8rem; color: var(--ink); white-space: nowrap; }
.navl a.on, .navl a:hover { color: var(--brand); }
/* Two rows on wide screens: logo, delivery choice, search and buttons on top; the page links below. */
.site-header .hrow { min-height: 64px; }
.site-header .hsearch { flex: 1 1 auto; min-width: 0; justify-content: center; }
.site-header .hsearch .search { width: 100%; max-width: 520px; min-width: 0; }
.site-header .hbtns { flex-shrink: 0; }
.nav-row { border-top: 1px solid var(--line); }
.nav-row .navl { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin-left: -.8rem; }
.nav-row .navl::-webkit-scrollbar { display: none; }
.nav-row .navl a { position: relative; padding: .6rem .8rem; font-size: .92rem; }
.nav-row .navl a.on::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); }
@media (max-width: 1199.98px) { .choice-btn b { max-width: 130px; } }
.choice-btn { border: 0; background: none; align-items: center; gap: .6rem; padding: .3rem .5rem; border-radius: calc(12px * var(--rs, 1)); color: var(--ink); max-width: 260px; }
.choice-btn:hover { background: var(--tile); }
.choice-btn > i:first-child { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.choice-btn small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.1; }
.choice-btn b { font-size: .84rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.choice-strip { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: var(--tint); color: var(--brand); padding: .55rem 1rem; font-size: .82rem; text-align: left; }
.closed-strip { background: var(--warn-bg); color: var(--warn-ink); font-size: .84rem; padding: .55rem 0; border-bottom: 1px solid var(--warn-line); }
.search { background: var(--tile); border-radius: var(--r-btn, 99px); display: flex; align-items: center; padding: 0 1rem; gap: .5rem; min-width: 220px; position: relative; }
.search input { border: 0; background: none; padding: .55rem 0; outline: 0; width: 100%; font-size: .86rem; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search:focus-within { box-shadow: 0 0 0 2px var(--brand); }
.search-page { max-width: 560px; padding-right: .3rem; }
.search-page .pillbtn { padding: .4rem 1rem; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 320px; background: var(--surface); border-radius: calc(14px * var(--rs, 1)); box-shadow: 0 12px 34px rgba(0, 0, 0, .16); z-index: 1050; overflow: hidden; }
.search-results a, .search-results .sr-empty { display: flex; gap: .7rem; align-items: center; padding: .55rem .8rem; color: var(--ink); font-size: .85rem; }
.search-results a:hover, .search-results a.active { background: var(--tile); }
.search-results .sr-ph { width: 42px; height: 42px; border-radius: calc(8px * var(--rs, 1)); background: var(--tile); flex-shrink: 0; overflow: hidden; display: grid; place-items: center; color: var(--star-off); }
.search-results .sr-ph img { width: 100%; height: 100%; object-fit: cover; }
.search-results .sr-all { justify-content: center; font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); }
.search-results .sr-price { margin-left: auto; font-weight: 600; white-space: nowrap; }
.basket-btn { position: relative; }
.basket-count { position: absolute; top: -6px; right: -6px; background: var(--brand); color: var(--on-brand); border: 2px solid var(--surface); border-radius: var(--r-btn, 99px); font-size: .68rem; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 4px; }
.mobile-nav a, .mobile-nav button { color: var(--ink); font-weight: 500; padding: .7rem .4rem; border: 0; background: none; border-bottom: 1px solid var(--line); }
.mobile-nav a.on { color: var(--brand); }
.lang-switch { display: inline-flex; background: var(--tile); border-radius: var(--r-btn, 99px); padding: 3px; }
.lang-switch a { padding: .3rem .8rem; border-radius: var(--r-btn, 99px); font-weight: 600; font-size: .78rem; color: var(--muted); }
.lang-switch a.on { background: var(--brand); color: var(--on-brand); }

/* Photo placeholder: shows an icon until the photo loads, or when there is none */
.ph { position: relative; background: linear-gradient(135deg, var(--ph-a), var(--ph-b)); overflow: hidden; display: block; }
.ph::after { content: "\f2e7"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ph-icon); font-size: 2.4rem; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph picture { position: absolute; inset: 0; z-index: 1; }

/* Home slider (pictures only) */
.slider { position: relative; border-radius: calc(20px * var(--rs, 1)); overflow: hidden; aspect-ratio: 21 / 8; min-height: 200px; background: var(--ph-b); touch-action: pan-y; min-width: 0; }
.slider .track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.slider .slide { flex: 0 0 100%; height: 100%; }
.slider .slide .ph { height: 100%; }
.snav { position: absolute; top: 50%; margin-top: -21px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface); color: var(--brand); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); z-index: 5; display: grid; place-items: center; }
.snav:hover { background: var(--brand); color: var(--on-brand); }
.snav.prev { left: 14px; }
.snav.next { right: 14px; }
.sdots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; z-index: 5; }
.sdots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: calc(9px * var(--rs, 1)); background: rgba(255, 255, 255, .65); transition: width .3s, background .3s; }
.sdots button.on { width: 30px; background: #fff; }
.snav:focus-visible, .sdots button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 767px) { .slider { aspect-ratio: 16 / 9; min-height: 0; } .snav { display: none; } }
.welcome { border-radius: calc(20px * var(--rs, 1)); background: linear-gradient(120deg, var(--surface), var(--tint)); border: 1px solid var(--line); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 260px; }
.welcome h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); line-height: 1.1; }
.welcome p { color: var(--muted); max-width: 32rem; }
.welcome-art { font-size: 8rem; color: color-mix(in srgb, var(--brand) 25%, transparent); }
@media (max-width: 767px) { .welcome { padding: 1.6rem; } .welcome-art { display: none; } }

/* Slideshow with a panel beside it (1.41.0): promo picture, quick links, opening hours */
.hero-split { display: grid; gap: 1rem; }
.hero-main { min-width: 0; }
.hero-main .slider, .hero-main .welcome { height: 100%; }
.hero-side { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.hero-promo { position: relative; border-radius: calc(16px * var(--rs, 1)); overflow: hidden; aspect-ratio: 9 / 4; background: var(--ph-b); flex-shrink: 0; }
.hero-promo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-promo-slide.on { opacity: 1; z-index: 1; }
.hero-promo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a.hero-promo-slide:hover img { transform: scale(1.03); }
.hero-links { display: flex; flex-direction: column; gap: .55rem; }
.hero-link { display: flex; align-items: center; gap: .85rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: calc(14px * var(--rs, 1)); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hero-link:hover, .hero-link:focus-visible { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 8px 22px rgba(0, 0, 0, .07); transform: translateY(-1px); }
.hero-link-ic { width: 46px; height: 46px; border-radius: calc(12px * var(--rs, 1)); display: grid; place-items: center; color: #fff; font-size: 1.15rem; flex-shrink: 0; }
.hl-red { background: linear-gradient(135deg, #ff6b5b, #e8392b); }
.hl-green { background: linear-gradient(135deg, #2fb36a, #157a43); }
.hl-purple { background: linear-gradient(135deg, #b356f0, #7b26c9); }
.hl-amber { background: linear-gradient(135deg, #ffb340, #e07b00); }
.hl-blue { background: linear-gradient(135deg, #4c9dff, #1e62d6); }
.hero-link-t { flex: 1; min-width: 0; line-height: 1.25; }
.hero-link-t b { display: block; font-size: .98rem; }
.hero-link-t small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-link-go { color: var(--ink); font-size: .85rem; transition: transform .18s ease; }
.hero-link:hover .hero-link-go { transform: translateX(3px); }
.hero-hours { display: flex; align-items: center; gap: .8rem; padding: .8rem .95rem; border-radius: calc(14px * var(--rs, 1)); background: color-mix(in srgb, #f5a623 13%, var(--surface)); border: 1px solid color-mix(in srgb, #f5a623 22%, var(--line)); margin-top: auto; }
.hero-hours-ic { font-size: 1.6rem; color: #d98a00; flex-shrink: 0; }
.hero-hours-t { flex: 1; min-width: 0; font-size: .82rem; color: var(--ink); line-height: 1.4; }
.hero-hours-t b { display: block; color: #c27a00; font-size: .92rem; margin-bottom: .1rem; }
.hero-open { font-size: .78rem; font-weight: 700; color: var(--muted); text-align: end; flex-shrink: 0; max-width: 40%; }
.hero-open.is-open { color: var(--ok-ink, #137a48); display: inline-flex; align-items: center; gap: .4rem; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: heroDot 2s ease-out infinite; }
@keyframes heroDot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 100% { box-shadow: 0 0 0 7px transparent; } }
@media (min-width: 992px) {
    .hero-split { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); align-items: stretch; }
    .hero-main .slider { aspect-ratio: auto; min-height: 420px; }
}
@media (max-width: 991.98px) {
    .hero-side { display: grid; grid-template-columns: 1fr; }
    .hero-links { flex-direction: row; }
    .hero-link { flex: 1 1 0; flex-direction: column; text-align: center; gap: .45rem; padding: .8rem .4rem; }
    .hero-link-t small, .hero-link-go { display: none; }
    .hero-link-t b { font-size: .85rem; }
    .hero-link-ic { width: 42px; height: 42px; }
}
@media (max-width: 991.98px) { .hero-promo { aspect-ratio: 21 / 8; } }
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablets: the promo on the left, links and hours on the right. */
    .hero-side { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .hero-promo { aspect-ratio: auto; min-height: 220px; grid-row: span 2; }
    .hero-links { flex-direction: column; }
    .hero-link { flex-direction: row; text-align: start; padding: .6rem .75rem; }
    .hero-link-t small, .hero-link-go { display: block; }
    .hero-link-go { display: inline-block; }
    .hero-side:not(:has(.hero-promo)) { grid-template-columns: 1fr; }
}
html[data-color-mode="dark"] .hero-hours-t b, html[data-color-mode="dark"] .hero-hours-ic { color: #f5b544; }
@media (prefers-color-scheme: dark) { html[data-color-mode="system"] .hero-hours-t b, html[data-color-mode="system"] .hero-hours-ic { color: #f5b544; } }
@media (prefers-reduced-motion: reduce) { .hero-dot { animation: none; } .hero-link, .hero-promo-slide, .hero-promo-slide img { transition: none; } }

/* Sections and categories */
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 2.4rem 0 1.1rem; }
.sec-h h2 { font-size: 1.35rem; margin: 0; }
.sec-h h2 a { color: inherit; }
.cats { display: flex; gap: .8rem; overflow-x: auto; scrollbar-width: none; padding: .2rem .1rem .4rem; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
/* Arrows and edge fades when the categories do not fit (added by theme.js) */
.cats-wrap { position: relative; }
.cats-wrap .cats { scroll-behavior: smooth; }
.cats-wrap.dragging .cats { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; }
.cats-wrap.dragging .cat { pointer-events: none; }
.cats-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); display: none; place-items: center; cursor: pointer; }
.cats-arrow:hover { color: var(--brand); }
.cats-arrow.prev { left: -6px; }
.cats-arrow.next { right: -6px; }
.cats-wrap.can-prev .cats-arrow.prev, .cats-wrap.can-next .cats-arrow.next { display: grid; }
.cats-wrap::before, .cats-wrap::after { content: ""; position: absolute; top: 0; bottom: .4rem; width: 48px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .2s; }
.cats-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg, var(--page)), transparent); }
.cats-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg, var(--page)), transparent); }
.cats-wrap.can-prev::before, .cats-wrap.can-next::after { opacity: 1; }
@media (hover: none) { .cats-arrow { display: none !important; } }
.cat { flex: 0 0 120px; background: var(--tile); border-radius: calc(16px * var(--rs, 1)); padding: .85rem .5rem; text-align: center; font-size: .78rem; font-weight: 600; color: var(--ink); scroll-snap-align: start; }
.cat:hover { background: var(--tile-hover); color: var(--ink); }
.cat .cat-ph { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto .5rem; }
.cat .cat-ph::after { font-size: 1rem; }
.cat .cat-all { background: var(--tint); display: grid; place-items: center; color: var(--brand); font-size: 1.3rem; }
.cat .cat-all::after { content: none; }
.cat.on { background: var(--tint); outline: 2px solid var(--brand); }

/* Item cards */
.fc { border: 1px solid var(--line); border-radius: calc(14px * var(--rs, 1)); overflow: hidden; background: var(--surface); height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s; }
.fc:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .07); }
.fc .ph { aspect-ratio: 4 / 3; }
.fc .b { padding: .85rem .95rem .95rem; display: flex; flex-direction: column; flex: 1; }
.fc h3 { font-size: .93rem; margin: 0 0 .2rem; line-height: 1.3; }
.fc h3 a { color: var(--ink); }
.fc h3 a:hover { color: var(--brand); }
.fc p { color: var(--muted); font-size: .78rem; margin: 0 0 .7rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-icons { display: flex; gap: .4rem; color: var(--ok); font-size: .78rem; margin-bottom: .3rem; }
.pr { font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.pr small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.addb { background: var(--tint); color: var(--brand); border: 0; border-radius: var(--r-btn, 99px); padding: .38rem .85rem; font-weight: 600; font-size: .78rem; display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; }
.addb:hover { background: var(--brand); color: var(--on-brand); }
.addb.disabled { background: var(--tile); color: var(--muted); }
.addb.busy { opacity: .6; pointer-events: none; }
.is-sold-out .ph img { filter: grayscale(.85); opacity: .7; }
.sold-badge { position: absolute; z-index: 2; left: .6rem; top: .6rem; background: rgba(20, 22, 27, .85); color: #fff; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: var(--r-btn, 99px); }
@media (max-width: 575px) {
    .fc .b { padding: .7rem; }
    .fc .b > .d-flex { flex-direction: column; align-items: stretch !important; }
    .addb { justify-content: center; }
}

/* Promo banners */
.promo { border-radius: calc(16px * var(--rs, 1)); overflow: hidden; min-height: 200px; position: relative; color: #fff; display: flex; align-items: center; }
.promo .ph { position: absolute; inset: 0; }
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, .78), rgba(20, 20, 22, .1)); z-index: 2; }
.promo .t { position: relative; z-index: 3; padding: 1.6rem; max-width: 65%; }
.promo h2 { margin: .2rem 0 .8rem; }

/* Menu page */
.menu-section + .menu-section { margin-top: 2.2rem; }

/* Sort order and cards/list switch above the dishes */
.menu-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-bottom: .9rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.menu-toolbar + .menu-section .sec-h, .menu-toolbar + .small + .dish-grid { margin-top: 0; }
.sort-form { display: flex; align-items: center; gap: .55rem; margin: 0; min-width: 0; }
.sort-form label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; margin: 0; }
.sort-form .form-select { width: auto; min-width: 0; border-radius: var(--r-btn, 99px); padding-left: .9rem; }
.view-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-btn, 99px); background: var(--tile); margin-left: auto; }
.view-switch[hidden] { display: none; }
.view-switch button { border: 0; background: none; width: 2.2rem; height: 2rem; border-radius: var(--r-btn, 99px); color: var(--muted); display: grid; place-items: center; transition: background-color .15s, color .15s; }
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.view-switch button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Dishes: 2 columns on phones, 3 on tablets, 4 on wide screens (or one row each in the list view) */
.dish-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .dish-grid { gap: .7rem; } }
.dish-cell { min-width: 0; }
.dish-cell .fc { container-type: inline-size; }
/* Narrow cards: price above a full-width button */
@container (max-width: 14rem) {
    .fc .b { padding: .75rem; }
    .fc .b > .d-flex { flex-direction: column; align-items: stretch !important; }
    .fc .addb { justify-content: center; }
}
html[data-menu-view="list"] .dish-grid { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc { flex-direction: row; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc .ph { width: clamp(6rem, 18%, 8.5rem); aspect-ratio: 1; flex-shrink: 0; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc .b { padding: .8rem 1rem; min-width: 0; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc .b > .d-flex { flex-direction: row; align-items: center !important; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc .addb { justify-content: center; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc p { margin-bottom: .5rem; }
html[data-menu-view="list"] .dish-grid .dish-cell .fav-form.on-photo { top: .5rem; right: .5rem; }
html[data-menu-view="list"] .dish-grid .dish-cell .fav-btn { width: 32px; height: 32px; font-size: .8rem; background: var(--tile); box-shadow: none; }
html[data-menu-view="list"] .dish-grid .dish-cell .fc h3 { padding-right: 2.4rem; }
@media (min-width: 768px) {
    html[data-menu-view="list"] .dish-grid .dish-cell .fc .b { padding: .9rem 1.2rem; }
    html[data-menu-view="list"] .dish-grid .dish-cell .fc h3 { font-size: 1rem; }
    html[data-menu-view="list"] .dish-grid .dish-cell .fc p { font-size: .82rem; }
}
.filters-panel { --bs-offcanvas-width: 300px; }
@media (min-width: 992px) { .filters-panel { position: sticky; top: var(--sticky-top, 130px); } }
.filter-block { border: 0; padding: 0; margin: 0 0 1.4rem; }
.filter-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .6rem; }
.filter-link { display: flex; justify-content: space-between; padding: .38rem .6rem; border-radius: calc(8px * var(--rs, 1)); color: var(--ink); font-size: .87rem; }
.filter-link:hover { background: var(--tile); color: var(--ink); }
.filter-link.on { background: var(--tint); color: var(--brand); font-weight: 600; }
.filter-link .count { color: var(--muted); font-size: .78rem; }
.filters .form-check { margin-bottom: .25rem; font-size: .87rem; }
.filter-block-head { display: flex; align-items: center; gap: .55rem; list-style: none; cursor: default; }
.filter-block-head::-webkit-details-marker { display: none; }
details.filter-block > summary { cursor: pointer; user-select: none; }
.filter-block-head h3 { margin: 0; flex: 1 1 auto; }
.filter-block-head .fb-ico { width: 1.1rem; text-align: center; color: var(--accent); font-size: .8rem; }
.filter-block-head .fb-chev { font-size: .65rem; color: var(--muted); transition: transform .15s ease; }
details.filter-block[open] > summary .fb-chev { transform: rotate(180deg); }
.filter-block-head .fb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.filter-block-body { padding-top: .6rem; }
.filter-block .btn-check:checked + .pillbtn i { color: inherit; }
.filters-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: .85rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 24px -16px rgba(0, 0, 0, .22); }
.filters-card .filters-head { align-items: center; justify-content: space-between; padding: .1rem .15rem .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line); }
.filters-card .filters-title { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: var(--ink); }
.filters-card .filters-title i { color: var(--accent); }
.filters-card .filters-clear { font-size: .8rem; font-weight: 600; color: var(--accent-d); }
.filters-card .filter-block { background: color-mix(in srgb, var(--muted) 6%, var(--surface)); border: 1px solid var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .65rem .75rem; margin: 0 0 .65rem; }
.filters-card .filter-block:hover { border-color: color-mix(in srgb, var(--muted) 45%, var(--surface)); }
.filters-card .filter-link { margin: 0 -.25rem; }
.filters-card .filter-actions { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.filters-plain .filter-block { margin: 0 0 1.4rem; }
.filters-plain .filter-block-head .fb-ico { display: none; }
@media (max-width: 991.98px) { .filters-card { box-shadow: none; } }
.empty-state { text-align: center; color: var(--muted); padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: calc(16px * var(--rs, 1)); }
.empty-state i { font-size: 2rem; margin-bottom: .8rem; display: block; }

/* Item page and popup */
.item-photo { border-radius: calc(18px * var(--rs, 1)); aspect-ratio: 4 / 3; }
.item-modal { border: 0; border-radius: calc(18px * var(--rs, 1)); }
.tag-pill { background: var(--ok-bg); color: var(--ok); border-radius: var(--r-btn, 99px); padding: .25rem .7rem; font-size: .76rem; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; }
.tag-pill-sm { padding: .12rem .55rem; font-size: .7rem; }
.allergen-box { background: var(--note-bg); border: 1px solid var(--note-line); border-radius: calc(12px * var(--rs, 1)); padding: .7rem .9rem; color: var(--note-ink); }

/* Popup: small photo beside the name, description and price; the choices below; quantity and total at the bottom */
.item-dialog { --bs-modal-width: 40rem; }
/* 1.87.0: on phones the dish popup floats as a window with the website showing around it (Menu → Search and
   filters → Dish popup on phones). --im-gap: the space around it; --im-maxh: how tall it may get (share of the screen). */
@media (max-width: 575.98px) {
    .item-dialog.item-float { --bs-modal-margin: var(--im-gap, 14px); margin-left: auto; margin-right: auto; width: calc(100% - var(--bs-modal-margin) * 2); }
    .item-dialog.item-float .item-modal { max-height: min(100%, calc(var(--im-maxh, 90) * 1dvh - var(--bs-modal-margin) * 2)); border-radius: calc(18px * var(--rs, 1)); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45); }
    .item-dialog.item-float .modal .add-bar, .item-dialog.item-float .add-bar { padding-bottom: .7rem; border-radius: 0 0 calc(18px * var(--rs, 1)) calc(18px * var(--rs, 1)); }
    .modal.fade .item-dialog.item-float { transform: translateY(24px) scale(.97); }
    .modal.show .item-dialog.item-float { transform: none; }
}
.im-head { align-items: flex-start; gap: .75rem; padding: 1.1rem 1.25rem 1rem; border-bottom: 1px solid var(--line); }
.im-intro { display: flex; gap: 1rem; flex: 1; min-width: 0; }
.im-thumb { width: clamp(4.75rem, 20vw, 7.5rem); height: auto; aspect-ratio: 1; border-radius: calc(14px * var(--rs, 1)); object-fit: cover; flex-shrink: 0; background: var(--tile); }
.im-thumb-none { display: grid; place-items: center; color: var(--brand); background: var(--tint); font-size: 1.6rem; }
.im-text { min-width: 0; flex: 1; }
.im-text .modal-title { font-size: 1.2rem; line-height: 1.25; margin: .1rem 0 .3rem; overflow-wrap: anywhere; }
.im-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .4rem; }
.im-desc { color: var(--muted); font-size: .85rem; margin: 0 0 .45rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.im-meta { display: flex; align-items: baseline; gap: .4rem 1rem; flex-wrap: wrap; }
.im-meta .pr { font-size: 1.12rem; color: var(--brand); }
.im-actions { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.im-actions .btn-close { margin: 0; }
.im-actions .fav-btn { width: 34px; height: 34px; background: var(--tile); box-shadow: none; font-size: .85rem; }
.im-body { padding: 1rem 1.25rem 0; }
.allergen-fold { padding: .5rem .8rem; margin-bottom: 1.1rem; }
.allergen-fold summary { cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.allergen-fold[open] summary { white-space: normal; }
.allergen-fold[open] .allergen-peek { display: none; }
.allergen-peek { font-weight: 400; }

/* Choices: sizes as pills, extras as cards (popup and item page) */
.opt-group { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
.opt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1rem; font-size: .95rem; font-weight: 700; padding: 0 0 .5rem; margin: 0; width: 100%; float: none; }
.opt-rule { font-size: .74rem; font-weight: 500; color: var(--muted); text-align: right; }
.opt-rule .req { background: var(--tint); color: var(--brand); border-radius: var(--r-btn, 99px); padding: .1rem .5rem; margin-left: .3rem; font-weight: 600; }
.opt-error { margin-bottom: .4rem; }
.opt-grid { display: grid; gap: .5rem; }
.opt-pills { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.opt-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
/* Choices in the dish popup and page (1.63.1): a light #FAFAFA background (the surface colour on dark pages). */
html[data-color-mode="dark"] { --opt-bg: var(--surface); }
@media (prefers-color-scheme: dark) { html[data-color-mode="system"] { --opt-bg: var(--surface); } }
.opt { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border: 1.5px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: calc(12px * var(--rs, 1));
    background: var(--opt-bg, #FAFAFA); cursor: pointer; font-size: .88rem; margin: 0; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.opt:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 4px 14px -8px color-mix(in srgb, var(--brand) 50%, transparent); }
.opt:has(input:checked) { border-color: var(--brand); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 18%, var(--surface)), color-mix(in srgb, var(--brand) 5%, var(--surface))); }
.opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.opt .form-check-input { margin: 0; flex-shrink: 0; width: 1.1em; height: 1.1em; }
.opt .form-check-input:focus { box-shadow: none; }
.opt-cards .opt .form-check-input { order: 2; margin-left: auto; }
.opt-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.opt-name { font-weight: 600; overflow-wrap: anywhere; }
.opt-price { color: var(--muted); font-size: .78rem; margin-top: .1rem; }
.opt:has(input:checked) .opt-price { color: var(--brand); }
.opt.is-disabled { opacity: .45; cursor: not-allowed; }
.opt-group.has-error .opt { border-color: var(--danger); }

.note-box { border: 1.5px dashed var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .55rem .8rem; }
.note-box summary { list-style: none; display: flex; align-items: center; gap: .55rem; cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--brand); }
.note-box summary::-webkit-details-marker { display: none; }
.note-caret { margin-left: auto; font-size: .7rem; transition: transform .2s; }
.note-box[open] .note-caret { transform: rotate(180deg); }
.note-box textarea { font-size: .88rem; }

.add-bar { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; }
.modal .add-bar { position: sticky; bottom: 0; z-index: 3; background: var(--surface); border-top: 1px solid var(--line); padding: .8rem 1.25rem; margin: 1rem -1.25rem 0; }
.add-go { flex: 1; min-width: 0; justify-content: space-between; padding: .8rem 1.2rem; font-size: .92rem; }
.add-go > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.add-total { font-weight: 700; padding-left: .85rem; border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
@media (max-width: 575.98px) {
    .im-head, .im-body { padding-left: 1rem; padding-right: 1rem; }
    .modal .add-bar { margin-left: -1rem; margin-right: -1rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); }
    .add-go { padding: .75rem 1rem; }
}
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-btn, 99px); background: var(--surface); }
.qty button { border: 0; background: none; width: 38px; height: 42px; font-weight: 700; color: var(--ink); }
.qty input { width: 36px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 30px; height: 30px; font-size: .75rem; }
.qty-sm span { min-width: 20px; text-align: center; font-weight: 600; font-size: .85rem; }

/* Basket: a wide two-column pop-up on large screens, a bottom sheet on phones */
.basket-modal .modal-dialog { max-width: 940px; }
.basket-modal .modal-content { border: 0; border-radius: calc(20px * var(--rs, 1)); max-height: min(88vh, 780px); overflow: hidden; background: var(--surface); }
.basket-modal .modal-header { border-bottom: 1px solid var(--line); padding: .9rem 1.25rem; }
.basket-modal-body { display: flex; flex-direction: column; padding: 0; min-height: 0; overflow: hidden; }
.basket-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem; }
.basket-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.basket-grid.is-empty { grid-template-columns: minmax(0, 1fr); }
.basket-side { position: sticky; top: 0; background: var(--tile); border-radius: calc(14px * var(--rs, 1)); padding: 1rem; font-size: .92rem; }
.basket-footer { flex: none; border-top: 1px solid var(--line); background: var(--surface); padding: .8rem 1.25rem; padding-bottom: calc(.8rem + env(safe-area-inset-bottom)); }
.basket-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.basket-total { display: flex; flex-direction: column; line-height: 1.1; }
.basket-total strong { font-size: 1.4rem; }
.basket-cta { flex: 0 1 300px; min-width: 200px; text-align: center; justify-content: center; }
.basket-extras { margin: .35rem 0 .5rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.basket-extras > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .88rem; padding: .25rem 0; }
.basket-extras > summary::-webkit-details-marker { display: none; }
.basket-extras > summary::after { content: ''; width: 7px; height: 7px; margin-inline-start: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; flex-shrink: 0; }
.basket-extras[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.basket-extras > summary > i { color: var(--brand); }
.basket-extras-codes { font-weight: 500; font-size: .75rem; color: var(--muted); background: var(--surface); border-radius: 99px; padding: .05rem .5rem; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.basket-extras > :not(summary) { margin-top: .5rem; }
.basket-main .upsells { margin-top: 1rem; }
.basket-choice { display: flex; align-items: center; gap: .7rem; background: var(--tile); border-radius: calc(12px * var(--rs, 1)); padding: .65rem .8rem; margin-bottom: .8rem; }
.basket-choice > i { color: var(--brand); }
.line { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.line .line-ph { width: 56px; height: 56px; border-radius: calc(10px * var(--rs, 1)); flex-shrink: 0; }
.line .line-ph::after { font-size: 1rem; }
.line-opts { font-size: .76rem; }
.line.has-problem { opacity: .75; }
.basket-body-busy { opacity: .5; pointer-events: none; }
.basket-totals { border-top: 0; }

/* View basket bar (phones and tablets) */
.basket-bar { display: none; }
@media (max-width: 991.98px) {
    .basket-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .basket-side { position: static; }
    .basket-bar { position: fixed; z-index: 1030; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .75rem; background: var(--brand); color: var(--on-brand, #fff); border: 0; border-radius: var(--r-btn, 99px); padding: .75rem 1.1rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
    .basket-bar.d-none { display: none; }
    .basket-bar-label { flex: 1; text-align: start; }
    .basket-bar-count { background: var(--on-brand, #fff); color: var(--brand); border-radius: 99px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
    body.has-basket-bar { padding-bottom: 88px; }
    body.basket-open .basket-bar { display: none; }
}
/* Phones: the basket slides up from the bottom */
@media (max-width: 767.98px) {
    .modal.basket-modal .modal-dialog, .modal.basket-modal.fade .modal-dialog { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; min-height: 0; transform: translateY(100%); transition: transform .3s ease-out; }
    .modal.basket-modal.show .modal-dialog { transform: none; }
    .basket-modal .modal-content { border-radius: calc(22px * var(--rs, 1)) calc(22px * var(--rs, 1)) 0 0; max-height: 92vh; max-height: 92dvh; }
    .basket-modal .modal-header { position: relative; padding-top: 1.1rem; }
    .basket-modal .modal-header::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: var(--line); }
    .basket-scroll { padding: .8rem 1rem; }
    .basket-footer { padding-inline: 1rem; }
    .basket-cta { flex: 1 1 auto; min-width: 0; }
    .basket-total strong { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .modal.basket-modal .modal-dialog { transition: none; } }

/* Branch popup */
.choice-modal { border: 0; border-radius: calc(20px * var(--rs, 1)); }
.service-switch { display: flex; background: var(--tile); border-radius: var(--r-btn, 99px); padding: 4px; }
.service-switch button { flex: 1; border: 0; background: none; border-radius: var(--r-btn, 99px); padding: .6rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: .5rem; }
.service-switch button.on { background: var(--surface); color: var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.branch-opt { width: 100%; display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--line); background: var(--surface); border-radius: calc(14px * var(--rs, 1)); padding: .8rem 1rem; color: var(--ink); }
.branch-opt:hover { border-color: var(--brand); }
.branch-opt.on { border-color: var(--brand); background: var(--tint); }
.status-dot { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; white-space: nowrap; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-dot.open { color: var(--ok); }
.status-dot.closed { color: var(--muted); }

/* Toast messages */
.toast-zone { position: fixed; top: 84px; right: 16px; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.toast-msg { pointer-events: auto; min-width: 260px; max-width: 360px; background: var(--surface); border-radius: calc(12px * var(--rs, 1)); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); padding: .8rem 1rem; display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; border-left: 4px solid var(--ok); transform: translateX(120%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.toast-msg.show { transform: none; }
.toast-msg.error { border-left-color: var(--danger); }
.toast-msg > i { margin-top: .15rem; color: var(--ok); }
.toast-msg.error > i { color: var(--danger); }
.toast-msg .toast-action { margin-left: auto; font-weight: 600; white-space: nowrap; border: 0; background: none; color: var(--brand); padding: 0; }
@media (max-width: 575px) { .toast-zone { left: 12px; right: 12px; top: 70px; } .toast-msg { max-width: none; } }

/* Footer */
.site-footer { background: var(--secondary); color: color-mix(in srgb, var(--on-secondary) 68%, transparent); margin-top: 3rem; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--on-secondary); }
.site-footer h2 { color: var(--on-secondary); font-weight: 700; margin-bottom: 1rem; }
.site-footer .footer-logo { color: var(--on-secondary); }
.site-footer .footer-logo i { color: var(--brand); }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--on-secondary) 12%, transparent); }
.site-footer .lang-switch { background: color-mix(in srgb, var(--on-secondary) 10%, transparent); }
.site-footer .lang-switch a { color: inherit; }
.site-footer .lang-switch a.on { color: var(--on-brand); }
.soc a { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--on-secondary) 10%, transparent); color: var(--on-secondary); display: grid; place-items: center; }
.soc a:hover { background: var(--brand); color: var(--on-brand); }

/* Error pages */
.error-page .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--tint); line-height: 1; -webkit-text-stroke: 2px var(--brand); }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .slider .track { transition: none; }
}

/* Checkout and order pages */
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: 1.3rem 1.4rem; margin-bottom: 1rem; }
.co-card h2 { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.co-step { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: .8rem; display: inline-grid; place-items: center; flex-shrink: 0; }
@media (min-width: 992px) { .co-summary { position: sticky; top: var(--sticky-top, 130px); } }
.when-opt { display: flex; gap: .8rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .8rem 1rem; cursor: pointer; margin: 0; }
.when-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
.when-opt .form-check-input { margin-top: .2rem; flex-shrink: 0; }
.when-opt.is-disabled { opacity: .55; cursor: not-allowed; }
/* Delivery / collection time: the two choices side by side when there is room; lists only as wide as their entries */
.when-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: start; }
.when-grid .when-opt { height: 100%; min-width: 0; }
.when-grid .when-opt > span { min-width: 0; }
.slot-select { width: auto; max-width: 100%; }
.slot-pick { display: flex; gap: .5rem; margin-top: .5rem; }
.slot-pick .form-select { width: auto; min-width: 0; flex: 0 1 auto; }
.slot-pick .form-select + .form-select { flex: 0 0 auto; }
.pay-opt { align-items: center; }
.pay-opt .form-check-input { margin-top: 0; }
.pay-icon { width: 42px; height: 42px; border-radius: calc(10px * var(--rs, 1)); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.15rem; background: var(--soft, var(--tile)); color: var(--ink, #1f2328); }
.pay-icon.pay-paypal { background: #eaf3fc; color: #003087; }
.pay-icon.pay-cash { background: #e9f7ef; color: #137a48; }
.pay-icon.pay-stripe { background: #efeefe; color: #635bff; }
.pay-credit { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1.5px solid var(--ok-ink, #137a48); border-radius: calc(12px * var(--rs, 1)); background: var(--ok-bg, #e9f7ef); margin-bottom: .75rem; }
.pay-icon.pay-credit-ic { background: var(--surface, #fff); color: var(--ok-ink, #137a48); }
.pay-brands { display: flex; gap: .3rem; font-size: 1.25rem; flex-shrink: 0; }
@media (max-width: 420px) { .pay-brands { display: none; } }
.order-hero { display: flex; gap: 1rem; align-items: center; background: var(--ok-bg); border-radius: calc(18px * var(--rs, 1)); padding: 1.4rem 1.6rem; }
.order-hero > i { font-size: 2.6rem; color: var(--ok); }
.order-hero h1 { font-size: 1.4rem; margin: 0 0 .2rem; }
.order-hero p { margin: 0; color: var(--body-text); }
.order-hero.is-waiting { background: var(--tile); }
.order-hero.is-waiting .spinner-border { color: var(--brand); flex-shrink: 0; }
.order-hero.is-cancelled { background: var(--bad-bg); }
.order-hero.is-cancelled > i { color: var(--danger); }
.order-steps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; counter-reset: s; }
.order-steps li { font-size: .78rem; color: var(--muted); text-align: center; position: relative; padding-top: 1.6rem; }
.order-steps li span { position: absolute; top: 0; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--line); }
.order-steps li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: -1; }
.order-steps li:first-child::before { content: none; }
.order-steps li.done { color: var(--ink); font-weight: 600; }
.order-steps li.done span, .order-steps li.done::before { background: var(--ok); }
.order-steps li.now span { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 25%, transparent); }
/* Live tracker on the order page (1.64.0) */
.trk { margin-top: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: calc(18px * var(--rs, 1)); padding: 1.1rem 1.2rem 1.2rem; box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .25); }
.trk-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.trk-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.trk.is-late .trk-ico { background: var(--warn-bg, #fff3cd); color: #b45309; }
.trk-text { flex: 1; min-width: 0; }
.trk-text h2 { font-size: 1.15rem; margin: 0; font-weight: 700; }
.trk-text p { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.trk-clock { text-align: center; line-height: 1; background: var(--tint); color: var(--brand); border-radius: calc(14px * var(--rs, 1)); padding: .55rem .8rem; min-width: 4.4rem; flex-shrink: 0; }
.trk-clock b { display: block; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.trk-clock small { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.trk-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: .2rem; }
.trk-bar span { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 70%, var(--ok)), var(--ok)); border-radius: 99px; transition: width .6s ease; }
.trk .order-steps { margin-top: .9rem; }
.trk-time { display: block; font-style: normal; font-weight: 500; font-size: .72rem; color: var(--muted); min-height: 1em; }
.trk-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.trk-actions .pillbtn { font-size: .85rem; padding: .45rem .9rem; }
.btn-link { color: var(--brand); text-decoration: none; font-weight: 600; } .btn-link:hover { color: var(--brand-d); }

/* Customer accounts */
.auth-card { max-width: 440px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: calc(20px * var(--rs, 1)); padding: 2rem 1.6rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.auth-card .btn-brand { padding: .75rem 1.4rem; }
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 2.8rem; }
.pw-field .form-control.is-invalid { background-image: none; }
.pw-toggle { position: absolute; top: 0; right: 0; bottom: 0; width: 2.8rem; border: 0; background: none; color: var(--muted); }
.pw-toggle:hover { color: var(--ink); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.acc-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .acc-grid { grid-template-columns: 250px 1fr; align-items: start; } .acc-nav { position: sticky; top: var(--sticky-top, 130px); } }
.acc-nav { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: .8rem; }
.acc-me { display: flex; gap: .7rem; align-items: center; padding: .5rem .5rem .9rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.acc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.acc-nav nav { display: flex; flex-direction: column; gap: 2px; }
.acc-nav nav a, .acc-nav nav button { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: calc(10px * var(--rs, 1)); color: var(--ink); font-size: .9rem; font-weight: 500; border: 0; background: none; width: 100%; text-align: start; }
.acc-nav nav i { width: 18px; text-align: center; color: var(--muted); }
.acc-nav nav a:hover, .acc-nav nav button:hover { background: var(--tile); }
.acc-nav nav a.on { background: var(--tint); color: var(--brand); font-weight: 600; }
.acc-nav nav a.on i { color: var(--brand); }
@media (max-width: 991.98px) {
    .acc-me { display: none; }
    .acc-nav { padding: .4rem; overflow-x: auto; }
    .acc-nav nav { flex-direction: row; }
    .acc-nav nav a, .acc-nav nav button { white-space: nowrap; width: auto; font-size: .82rem; }
}
.acc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.acc-tile { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: 1rem 1.1rem; color: var(--ink); display: flex; flex-direction: column; gap: .15rem; min-width: 0; transition: box-shadow .2s; }
.acc-tile:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .07); color: var(--ink); }
.acc-tile i { color: var(--brand); font-size: 1.1rem; margin-bottom: .3rem; }
.acc-tile b { font-size: 1.35rem; }
.acc-tile span { color: var(--muted); font-size: .82rem; }
.acc-verify { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; background: var(--verify-bg); border: 1px solid var(--verify-line); border-radius: calc(14px * var(--rs, 1)); padding: .9rem 1.1rem; margin-bottom: 1rem; }
.acc-verify > i { font-size: 1.6rem; color: var(--verify-icon); }
.acc-order { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: 1rem 1.2rem; margin-bottom: .8rem; }
.acc-order a.fw-bold { color: var(--ink); }
.acc-lines { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .86rem; }
.acc-lines li { padding: .15rem 0; }
.acc-pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: .15rem .55rem; border-radius: var(--r-btn, 99px); margin-left: .35rem; vertical-align: middle; }
.acc-pill.is-live { background: var(--tint); color: var(--brand); }
.acc-pill.is-done { background: var(--ok-bg); color: var(--ok-ink); }
.acc-pill.is-off { background: var(--tile); color: var(--body-text); }
.acc-danger summary { cursor: pointer; font-weight: 600; color: var(--danger-ink); }
.saved-addresses { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.saved-address { display: flex; gap: .7rem; align-items: flex-start; text-align: start; border: 1.5px solid var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .7rem .9rem; background: var(--surface); }
.saved-address i { color: var(--muted); margin-top: .2rem; }
.saved-address b { display: block; font-size: .88rem; }
.saved-address small { display: block; color: var(--muted); font-size: .78rem; }
.saved-address.on { border-color: var(--brand); background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
.saved-address.on i { color: var(--brand); }
.acc-btn.on { background: var(--tint); color: var(--brand); }
/* Light grey cards on the account pages: menu, orders and addresses (dark mode keeps its own surface) */
/* 1.40.1: every card on the account pages (all its links) and in the checkout. */
.acc-nav, .acc-order, .acc-address, .acc-grid .co-card, [data-checkout] .co-card { background: #FAFAFA; }
html[data-color-mode="dark"] .acc-nav, html[data-color-mode="dark"] .acc-order, html[data-color-mode="dark"] .acc-address, html[data-color-mode="dark"] .acc-grid .co-card, html[data-color-mode="dark"] [data-checkout] .co-card { background: var(--surface); }
@media (prefers-color-scheme: dark) { html[data-color-mode="system"] .acc-nav, html[data-color-mode="system"] .acc-order, html[data-color-mode="system"] .acc-address, html[data-color-mode="system"] .acc-grid .co-card, html[data-color-mode="system"] [data-checkout] .co-card { background: var(--surface); } }

/* Favourite heart */
.fav-form { margin: 0; }
.fav-form.on-photo { position: absolute; top: .55rem; right: .55rem; z-index: 2; }
.fav-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--float-bg); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .15s; flex-shrink: 0; }
.fav-btn:hover { transform: scale(1.08); color: var(--brand); }
.fav-btn.on { color: var(--brand); }
.fav-btn:disabled { opacity: .6; }
.page-title + .fav-form .fav-btn, .d-flex > .fav-form .fav-btn { background: var(--tile); box-shadow: none; }

/* Content pages */
.page-body { max-width: 780px; }
.page-text { font-size: .97rem; line-height: 1.75; color: var(--body-text); }
.page-text h2 { font-size: 1.3rem; margin: 2rem 0 .7rem; color: var(--ink); }
.page-text h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; color: var(--ink); }
.page-text p, .page-text ul, .page-text ol { margin-bottom: 1rem; }
.page-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.page-text img { max-width: 100%; height: auto; border-radius: calc(14px * var(--rs, 1)); }
.page-text table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .9rem; }
.page-text th, .page-text td { border: 1px solid var(--line); padding: .5rem .7rem; }
.page-text blockquote { border-left: 4px solid var(--brand); padding: .3rem 1rem; color: var(--muted); margin: 1rem 0; }
.page-text iframe { border-radius: calc(14px * var(--rs, 1)); margin-bottom: 1rem; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1040; /* above the page, below the basket drawer and popups so it never covers their buttons */ display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { pointer-events: auto; background: var(--surface); border-radius: calc(18px * var(--rs, 1)); box-shadow: 0 16px 48px rgba(0, 0, 0, .22); padding: 1.1rem 1.3rem; max-width: 980px; width: 100%; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.cookie-text { flex: 1 1 380px; font-size: .86rem; }
.cookie-text p { margin: .3rem 0 0; color: var(--muted); }
.cookie-text a { color: var(--brand); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-options { display: grid; gap: .5rem; margin-top: .8rem; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .6rem .8rem; margin: 0; cursor: pointer; }
.cookie-opt .form-check-input { margin-top: .2rem; flex-shrink: 0; }
.cookie-opt b { display: block; font-size: .85rem; }
.cookie-opt small { color: var(--muted); }
@media (max-width: 575.98px) { .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; } .cookie-actions .pillbtn { flex: 1 1 auto; justify-content: center; } }
.btn-link-footer { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-size: inherit; }
.btn-link-footer:hover { color: #fff; }

/* Offers and coupons */
.text-ok { color: var(--ok) !important; }
.discount-line { font-size: .92rem; }
.offer-hint { background: color-mix(in srgb, var(--tint) 60%, var(--surface)); color: var(--brand); border-radius: calc(10px * var(--rs, 1)); padding: .45rem .7rem; margin: .4rem 0; font-weight: 500; }
.coupon-box { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: .55rem 0; margin: .5rem 0; }
.coupon-box summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.coupon-box .form-control { letter-spacing: .05em; }

/* Rows added in Admin → Content → Home page */
.home-row { margin-top: 2.4rem; }
.home-row.hr-bg-light, .home-row.hr-bg-tint, .home-row.hr-bg-dark { border-radius: calc(22px * var(--rs, 1)); padding: 2rem 1.6rem; }
.home-row.hr-bg-light { background: var(--tile, #F6F6F7); }
.home-row.hr-bg-tint { background: var(--tint); }
.home-row.hr-bg-dark { background: var(--secondary, #14161B); color: #fff; }
.home-row.hr-bg-dark .sec-h h2, .home-row.hr-bg-dark .hr-text h1, .home-row.hr-bg-dark .hr-text h2, .home-row.hr-bg-dark .hr-text h3 { color: #fff; }
.home-row.hr-bg-dark .hr-text a:not(.pillbtn) { color: #fff; text-decoration: underline; }
.home-row .sec-h { margin-top: 0; }
.hr-text { line-height: 1.7; }
.hr-text > :last-child { margin-bottom: 0; }
.hr-text h1, .hr-text h2, .hr-text h3 { font-weight: 700; letter-spacing: -.01em; }
.hr-text img { max-width: 100%; height: auto; border-radius: calc(12px * var(--rs, 1)); }
.hr-image img { width: 100%; height: auto; display: block; }
.hr-text + .hr-image, .hr-image + .hr-text, .hr-text + .hr-button, .hr-image + .hr-button, .hr-button + .hr-text { margin-top: 1rem; }
.hr-button { display: inline-block; margin: .25rem .3rem .25rem 0; }
.pb-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.pb-outline:hover { background: var(--brand); color: var(--on-brand); }
.home-row.hr-bg-dark .pb-outline { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.icon-img { width: 1.15em; height: 1.15em; object-fit: contain; vertical-align: -.18em; }

/* Home page dish blocks and category tiles */
.sec-h-sm { margin: 1.6rem 0 .8rem; }
.sec-h-sm h3 { font-size: 1.08rem; margin: 0; }
.sec-h p { font-size: .9rem; }
.dish-track { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: .2rem .1rem .6rem; }
.dish-track::-webkit-scrollbar { display: none; }
.dish-slide { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
.cats-wrap .dish-track { scroll-behavior: smooth; }
.cats-wrap.dragging .dish-track { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; }
.cats-wrap.dragging .dish-slide { pointer-events: none; }
.dish-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; padding-bottom: .2rem; }
.dish-tab { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-btn, 99px); padding: .45rem 1rem; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.dish-tab:hover { border-color: var(--brand); color: var(--brand); }
.dish-tab.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.dish-row { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--line); border-radius: calc(14px * var(--rs, 1)); background: var(--surface); padding: .6rem; height: 100%; transition: box-shadow .2s; }
.dish-row:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .07); }
.dish-row.is-sold-out { opacity: .6; }
.dr-ph { width: 84px; height: 84px; border-radius: calc(10px * var(--rs, 1)); overflow: hidden; flex-shrink: 0; background: var(--tint); display: grid; place-items: center; color: var(--brand); }
.dr-ph img { width: 100%; height: 100%; object-fit: cover; }
.dr-b { flex: 1; min-width: 0; }
.dr-b h3 { font-size: .95rem; margin: 0 0 .15rem; line-height: 1.3; }
.dr-b h3 a { color: var(--ink); }
.dr-b h3 a:hover { color: var(--brand); }
.dr-tag { font-size: .78rem; color: var(--muted); margin-left: .3rem; }
.dr-b p { color: var(--muted); font-size: .78rem; margin: 0 0 .25rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dr-add .addb.icon-only { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.cat-tile { position: relative; display: block; border-radius: calc(16px * var(--rs, 1)); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); color: #fff; }
.cat-tile .ct-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); font-size: 2rem; }
.cat-tile .ct-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-tile:hover .ct-ph img { transform: scale(1.05); }
.cat-tile .ct-b { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent); display: flex; flex-direction: column; }
.cat-tile .ct-b strong { font-size: 1rem; line-height: 1.2; }
.cat-tile .ct-b small { opacity: .85; font-size: .75rem; }

/* Language menu (more than three languages) */
.lang-drop-btn { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-btn, 99px); padding: .35rem .8rem; font-size: .82rem; font-weight: 600; color: var(--ink); }
.lang-drop .dropdown-item.active { background: var(--tint); color: var(--brand); }
/* 1.78.3: language and currency menus (also in the dark footer): readable dark-green text on hover, same background. */
.lang-drop .dropdown-item { color: var(--ink); }
.lang-drop .dropdown-item:hover, .lang-drop .dropdown-item:focus,
.site-footer .lang-drop .dropdown-item:hover, .site-footer .lang-drop .dropdown-item:focus { color: var(--brand); background: var(--tint); }
[dir="rtl"] .cats-arrow.prev { left: auto; right: -6px; }
[dir="rtl"] .cats-arrow.next { right: auto; left: -6px; }

/* ---------- 1.3: loyalty points ---------- */
.points-box { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; border-top: 1px dashed var(--line); padding: .55rem 0 0; margin-top: .5rem; }
.points-box form { margin: 0; }
.points-box + .coupon-box { border-top: 0; margin-top: 0; }
.points-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
.points-big { font-size: 2.4rem; font-weight: 800; line-height: 1.1; color: var(--brand); }
.points-big i { font-size: 1.8rem; color: var(--accent); }
.bg-brand { background: var(--brand) !important; }
.points-how { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.points-how li { display: flex; gap: .7rem; align-items: flex-start; }
.points-how i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: calc(10px * var(--rs, 1)); display: grid; place-items: center; background: var(--tile); color: var(--brand); }
.points-history li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.points-history li:last-child { border-bottom: 0; }

/* ---------- 1.3: suggestions ---------- */
.upsells { margin: .9rem 0 .2rem; }
.upsells-h { font-weight: 700; font-size: .9rem; margin-bottom: .45rem; }
.upsell-track { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .3rem; scroll-snap-type: x proximity; }
.upsell { position: relative; flex: 0 0 132px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(14px * var(--rs, 1)); padding: .45rem .45rem .55rem; display: flex; flex-direction: column; gap: .15rem; scroll-snap-align: start; }
.upsell-ph { display: block; aspect-ratio: 4 / 3; border-radius: calc(10px * var(--rs, 1)); overflow: hidden; background: var(--tile); margin-bottom: .2rem; }
.upsell-ph img { width: 100%; height: 100%; object-fit: cover; }
.upsell-name { font-size: .8rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2em; }
.upsell-price { font-size: .8rem; color: var(--muted); }
.upsell form { position: absolute; right: .45rem; bottom: .45rem; margin: 0; }
.upsell-add { position: absolute; right: .45rem; bottom: .45rem; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--brand); color: var(--on-brand, #fff); display: grid; place-items: center; font-size: .8rem; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.upsell form .upsell-add { position: static; }
.upsell-add:hover, .upsell-add:focus-visible { filter: brightness(1.1); }
.upsells-checkout { margin-top: 0; margin-bottom: 1rem; }

/* ---------- 1.3: reviews ---------- */
.stars { color: var(--accent); white-space: nowrap; letter-spacing: .05em; }
.star-input { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.star-input label { font-size: 2.1rem; color: var(--star-off); cursor: pointer; line-height: 1; padding: .1rem; transition: transform .1s, color .1s; }
.star-input label.on { color: var(--accent); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: calc(6px * var(--rs, 1)); }
.star-word { margin-left: .5rem; min-width: 6em; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: 1.1rem 1.2rem; height: 100%; display: flex; flex-direction: column; gap: .6rem; }
.review-text { margin: 0; white-space: normal; line-height: 1.55; }
.review-who { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; }
.review-reply { background: var(--tile); border-radius: calc(12px * var(--rs, 1)); padding: .65rem .8rem; font-size: .9rem; }
.review-reply b { display: block; font-size: .8rem; margin-bottom: .15rem; }
.reviews-summary { text-align: center; position: sticky; top: var(--sticky-top, 130px); }
.reviews-avg { font-size: 3.2rem; font-weight: 800; line-height: 1; }
.reviews-bars li { display: grid; grid-template-columns: 2.6rem 1fr 2rem; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: .35rem; text-align: left; }
.reviews-bars li i { color: var(--accent); font-size: .75rem; }
.reviews-bars .bar { height: 8px; border-radius: var(--r-btn, 99px); background: var(--tile); overflow: hidden; }
.reviews-bars .bar span { display: block; height: 100%; background: var(--accent); border-radius: var(--r-btn, 99px); }
.reviews-inline { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; }
.home-reviews { margin: 2.5rem 0; }
.review-track .review-slide { flex: 0 0 min(340px, 84vw); scroll-snap-align: start; }
.review-prompt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.star-links a { font-size: 1.6rem; color: var(--star-off); padding: 0 .1rem; text-decoration: none; transition: color .1s; }
.star-links:hover a { color: var(--accent); }
.star-links a:hover ~ a { color: var(--star-off); }
.google-ask { background: var(--tile); border-radius: calc(14px * var(--rs, 1)); padding: 1rem; }
.review-done .review-text { font-style: italic; }
.points-box > span:not(.w-100) { flex: 1 1 0; min-width: 0; }

/* ---------- 1.5.1: free items from promotions ---------- */
.gift-badge { display: inline-block; background: var(--ok-bg); color: var(--ok-ink); font-weight: 700; font-size: .74rem; border-radius: var(--r-btn, 99px); padding: .1rem .55rem; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Dark mode: parts that are not just a colour variable ---------- */
.logo-dark { display: none; }
html[data-color-mode="dark"] .logo-light { display: none; }
html[data-color-mode="dark"] .logo-dark { display: inline; }
html[data-color-mode="dark"] .pb-dark { background: var(--ink); color: var(--page); }
html[data-color-mode="dark"] .pb-dark:hover { background: #fff; color: #000; }
html[data-color-mode="dark"] .pay-icon.pay-paypal { background: #172640; color: #8DB8FF; }
html[data-color-mode="dark"] .pay-icon.pay-cash { background: var(--ok-bg); color: var(--ok-ink); }
html[data-color-mode="dark"] .pay-icon.pay-stripe { background: #221F45; color: #A9A3FF; }
html[data-color-mode="dark"] .site-footer { border-top: 1px solid var(--line); }
html[data-color-mode="dark"] .ph img, html[data-color-mode="dark"] .cat-ph img { filter: brightness(.92); }
@media (prefers-color-scheme: dark) {
    html[data-color-mode="system"] .logo-light { display: none; }
    html[data-color-mode="system"] .logo-dark { display: inline; }
    html[data-color-mode="system"] .pb-dark { background: var(--ink); color: var(--page); }
    html[data-color-mode="system"] .pb-dark:hover { background: #fff; color: #000; }
    html[data-color-mode="system"] .pay-icon.pay-paypal { background: #172640; color: #8DB8FF; }
    html[data-color-mode="system"] .pay-icon.pay-cash { background: var(--ok-bg); color: var(--ok-ink); }
    html[data-color-mode="system"] .pay-icon.pay-stripe { background: #221F45; color: #A9A3FF; }
    html[data-color-mode="system"] .site-footer { border-top: 1px solid var(--line); }
    html[data-color-mode="system"] .ph img, html[data-color-mode="system"] .cat-ph img { filter: brightness(.92); }
}

/* Light/dark button in the header (shown by theme.js; the icon shows the mode you would switch to) */
.color-switch[hidden] { display: none; }
.color-switch .fa-sun { display: none; }
[data-bs-theme="dark"] .color-switch .fa-moon { display: none; }
[data-bs-theme="dark"] .color-switch .fa-sun { display: inline-block; }

/* Very narrow phones (under 390px): the header buttons fit on one line */
@media (max-width: 389.98px) {
    .site-header .ms-auto.gap-2 { gap: .3rem !important; }
    .site-header .ms-auto > .pillbtn.px-3 { padding-left: .7rem !important; padding-right: .7rem !important; }
    .site-header .basket-btn { padding-left: .75rem; padding-right: .75rem; }
}

/* ---------- Design options (Admin → Look and feel) ----------
   layouts/main.php puts each choice on <html> as data-header, data-corners, data-buttons, data-cards
   and data-density; heading and text fonts come in as --font-heading and --font-body. */
html[data-corners="soft"] { --rs: 1.45; }
html[data-corners="square"] { --rs: .25; }
html[data-buttons="rounded"] { --r-btn: 10px; }
html[data-buttons="square"] { --r-btn: 3px; }

/* Dish cards: a line around them (outline), lifted with a shadow, or flat on the page. */
html[data-cards="shadow"] .fc, html[data-cards="shadow"] .dish-row { border-color: transparent; box-shadow: 0 2px 12px rgba(17, 20, 28, .07); }
html[data-cards="shadow"] .fc:hover, html[data-cards="shadow"] .dish-row:hover { box-shadow: 0 10px 28px rgba(17, 20, 28, .12); }
html[data-cards="flat"] .fc, html[data-cards="flat"] .dish-row { border-color: transparent; background: var(--tile); }
html[data-cards="flat"] .fc:hover, html[data-cards="flat"] .dish-row:hover { box-shadow: none; background: var(--tile-hover); }
html[data-color-mode="dark"][data-cards="shadow"] .fc { border-color: var(--line); }

/* Compact: more dishes on the screen. */
html[data-density="compact"] .dish-grid { gap: .6rem; }
html[data-density="compact"] .fc .b { padding: .6rem .7rem .7rem; }
html[data-density="compact"] .sec-h { margin: 1.6rem 0 .8rem; }
html[data-density="compact"] .home-row { margin-top: 1.6rem; }
html[data-density="compact"] .dish-row { padding: .45rem; gap: .7rem; }

/* Header: bold (in the secondary colour). */
html[data-header="bold"] .site-header { background: var(--secondary); border-bottom-color: transparent !important; }
html[data-header="bold"] .site-header .logo, html[data-header="bold"] .site-header .navl a,
html[data-header="bold"] .site-header .choice-btn, html[data-header="bold"] .site-header .choice-btn small { color: var(--on-secondary); }
html[data-header="bold"] .site-header .navl a.on, html[data-header="bold"] .site-header .navl a:hover { color: var(--on-secondary); }
html[data-header="bold"] .site-header .nav-row { border-top-color: color-mix(in srgb, var(--on-secondary) 18%, transparent); }
html[data-header="bold"] .site-header .nav-row .navl a.on::after { background: var(--on-secondary); }
html[data-header="bold"] .site-header .pb-soft { background: color-mix(in srgb, var(--on-secondary) 14%, transparent); color: var(--on-secondary); }
html[data-header="bold"] .site-header .pb-soft:hover { background: color-mix(in srgb, var(--on-secondary) 24%, transparent); }
html[data-header="bold"] .site-header .pb-dark { background: var(--brand); color: var(--on-brand); }
html[data-header="bold"] .site-header .search { background: color-mix(in srgb, var(--on-secondary) 12%, transparent); border-color: transparent; }
html[data-header="bold"] .site-header .search input { color: var(--on-secondary); }
html[data-header="bold"] .site-header .search input::placeholder, html[data-header="bold"] .site-header .search .text-muted { color: color-mix(in srgb, var(--on-secondary) 70%, transparent) !important; }

/* Header: centred (wide screens): the logo in the middle, the links and buttons on a row below. */
@media (min-width: 992px) {
    html[data-header="centered"] .site-header > .hrow { flex-wrap: wrap; row-gap: .4rem !important; }
    html[data-header="centered"] .site-header .logo { flex: 0 0 100%; justify-content: center; margin: .2rem 0 .1rem !important; font-size: 1.7rem; }
    html[data-header="centered"] .site-header .logo img { max-height: 56px; }
    html[data-header="centered"] .site-header .choice-btn { order: 1; }
    html[data-header="centered"] .site-header .hsearch { order: 2; }
    html[data-header="centered"] .site-header .hrow > .ms-auto { order: 3; }
    html[data-header="centered"] .nav-row .navl { justify-content: center; }
}

/* Offers page and home page offers */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.offer-card { position: relative; display: flex; flex-direction: column; gap: .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: calc(16px * var(--rs, 1)); padding: 1.15rem 1.2rem 1.1rem; overflow: hidden; }
.offer-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--brand); }
.offer-card.is-personal { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: linear-gradient(160deg, var(--tint), var(--surface) 55%); }
.offer-card.is-later::before { background: var(--line); }
.offer-top { display: flex; align-items: flex-start; gap: .8rem; }
.offer-ic { width: 44px; height: 44px; flex: none; border-radius: calc(12px * var(--rs, 1)); display: grid; place-items: center; background: var(--tint); color: var(--brand); font-size: 1.1rem; }
.offer-card.is-later .offer-ic { background: var(--tile); color: var(--muted); }
.offer-head { flex: 1; min-width: 0; }
.offer-headline { font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.offer-name { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.offer-badge { font-size: .7rem; font-weight: 700; border-radius: var(--r-btn, 99px); padding: .25rem .6rem; white-space: nowrap; }
.offer-badge-you { background: var(--brand); color: var(--on-brand); }
.offer-desc { margin: 0; color: var(--body-text); font-size: .92rem; }
.offer-conds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.offer-conds li { background: var(--tile); border-radius: var(--r-btn, 99px); padding: .2rem .65rem; font-size: .78rem; color: var(--body-text); }
.offer-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .8rem; }
.offer-state { font-weight: 600; }
.offer-state.is-ok { color: var(--ok-ink); }
.offer-state.is-wait { color: var(--warn-ink); }
.offer-ends { color: var(--muted); }
.offer-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: .3rem; }
.offer-actions form { margin: 0; }
.offer-code { display: inline-flex; align-items: stretch; border: 2px dashed color-mix(in srgb, var(--brand) 55%, var(--line)); border-radius: calc(10px * var(--rs, 1)); overflow: hidden; }
.offer-code code { color: var(--ink); background: none; font-size: 1rem; font-weight: 700; letter-spacing: .06em; padding: .35rem .7rem; }
.offer-copy { border: 0; border-left: 2px dashed color-mix(in srgb, var(--brand) 55%, var(--line)); background: var(--tint); color: var(--brand); font-weight: 600; font-size: .8rem; padding: 0 .7rem; display: inline-flex; align-items: center; gap: .35rem; }
.offer-copy.is-done { background: var(--ok-bg); color: var(--ok-ink); }
.offer-go { display: inline-flex; align-items: center; padding: .5rem 1.1rem; font-size: .88rem; margin-left: auto; }
.offer-auto { font-size: .82rem; color: var(--muted); }
.offer-error { color: var(--danger-ink); }
.offer-signin { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; background: var(--tile); border-radius: calc(14px * var(--rs, 1)); padding: .85rem 1.1rem; font-size: .92rem; }
.home-offers .offer-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (max-width: 575.98px) {
    .offer-go { margin-left: 0; width: 100%; justify-content: center; }
    .offer-actions form { width: 100%; }
}

/* Refer a friend */
.ref-hero { display: flex; gap: 1rem; align-items: center; background: color-mix(in srgb, var(--tint) 55%, var(--surface)); }
.ref-hero h2 { font-size: 1.25rem; }
.ref-hero-ic { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 1.5rem; }
.ref-code { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border: 2px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: calc(12px * var(--rs, 1)); padding: .45rem .5rem .45rem .9rem; background: var(--tint); }
.ref-code code { font-size: 1.25rem; font-weight: 800; letter-spacing: .08em; color: var(--ink); background: none; padding: 0; overflow-wrap: anywhere; }
.ref-copy { border: 0; background: var(--surface); color: var(--brand); border-radius: 50%; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; }
.ref-copy:hover { background: var(--brand); color: var(--on-brand); }
.ref-link { display: flex; gap: .5rem; }
.ref-link .form-control { min-width: 0; font-size: .85rem; }
.ref-share { display: flex; flex-wrap: wrap; gap: .5rem; }
.ref-share .pillbtn { gap: .4rem; }
.ref-wa { background: #1E7E45; color: #fff; }
.ref-wa:hover, .ref-wa:focus { background: #166236; color: #fff; }
.ref-fb { background: #1A5DC8; color: #fff; }
.ref-fb:hover, .ref-fb:focus { background: #144a9e; color: #fff; }
.ref-ms { background: #6A3BD6; color: #fff; }
.ref-ms:hover, .ref-ms:focus { background: #552fb0; color: #fff; }
.ref-sums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.ref-sums > div { background: var(--tile); border-radius: calc(12px * var(--rs, 1)); padding: .7rem .8rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ref-sums span { font-size: .8rem; color: var(--muted); }
.ref-sums b { font-size: 1.15rem; }
.ref-st-ok { color: var(--ok-ink); font-weight: 600; }
.ref-st-wait { color: var(--warn-ink); font-weight: 600; }
.ref-st-muted { color: var(--muted); }
.ref-invited { display: flex; gap: .75rem; align-items: center; background: color-mix(in srgb, var(--tint) 60%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: calc(14px * var(--rs, 1)); padding: .8rem 1rem; margin-bottom: 1.25rem; }
.ref-invited i { color: var(--brand); font-size: 1.4rem; }
.credit-box + .coupon-box, .points-box + .credit-box { border-top: 0; margin-top: 0; }
@media (max-width: 575.98px) {
    .ref-sums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ref-link { flex-direction: column; }
    .ref-hero { align-items: flex-start; }
}

/* ---- Sign in with Google (1.12.0): Google's button style (white, or dark in dark mode) ---- */
.gsi-wrap { margin-bottom: 1.25rem; }
.gsi-btn { --gsi-bg: #FFFFFF; --gsi-border: #747775; --gsi-ink: #1F1F1F; --gsi-hover: rgba(31, 31, 31, .08);
    position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 16px;
    background: var(--gsi-bg); border: 1px solid var(--gsi-border); border-radius: 22px; color: var(--gsi-ink) !important; text-decoration: none !important;
    font-family: Roboto, "Google Sans", Arial, sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .25px; line-height: 1.2; transition: background-color .15s, box-shadow .15s; }
.gsi-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: transparent; transition: background-color .15s; pointer-events: none; }
.gsi-btn:hover::after { background: var(--gsi-hover); }
.gsi-btn:hover { box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); }
.gsi-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.gsi-btn .gsi-logo { width: 20px; height: 20px; flex: 0 0 20px; }
.gsi-btn-sm { display: inline-flex; width: auto; min-height: 38px; font-size: 14px; }
.gsi-checkout { margin: -.25rem 0 1rem; max-width: 360px; }
.gsi-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .6rem 0 0; }
.auth-or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; margin: 1.25rem 0 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[data-color-mode="dark"] .gsi-btn { --gsi-bg: #131314; --gsi-border: #8E918F; --gsi-ink: #E3E3E3; --gsi-hover: rgba(227, 227, 227, .08); }
@media (prefers-color-scheme: dark) {
    html[data-color-mode="system"] .gsi-btn { --gsi-bg: #131314; --gsi-border: #8E918F; --gsi-ink: #E3E3E3; --gsi-hover: rgba(227, 227, 227, .08); }
}

/* Profile → Sign-in */
.sec-list, .sec-history { list-style: none; padding: 0; margin: 0; }
.sec-row { display: flex; align-items: center; gap: .85rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.sec-row:first-child { border-top: 0; padding-top: .25rem; }
.sec-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tile); color: var(--muted); }
.sec-ic .gsi-logo { width: 20px; height: 20px; }
.sec-history li { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem 0; border-top: 1px dashed var(--line); }
.sec-history li:first-child { border-top: 0; }
.sec-history li > i { width: 18px; margin-top: .25rem; color: var(--muted); text-align: center; }
.sec-now { display: inline-block; font-size: .72rem; font-weight: 600; padding: .05rem .5rem; border-radius: 99px; background: var(--ok-bg, #E7F6EE); color: var(--ok-ink, #137A48); }
.acc-avatar { position: relative; overflow: hidden; }
.acc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
    .sec-row { flex-wrap: wrap; }
    .sec-row > .pillbtn, .sec-row > form, .sec-row > span.small { margin-left: calc(40px + .85rem); }
}
.sec-disconnect { position: relative; }
.sec-disconnect > summary { list-style: none; cursor: pointer; }
.sec-disconnect > summary::-webkit-details-marker { display: none; }
.sec-disconnect-form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 240px; padding: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }

/* Tips at checkout */
.tip-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
.tip-opt { position: relative; display: flex; border: 1.5px solid var(--line); border-radius: calc(12px * var(--rs, 1)); padding: .6rem .7rem; cursor: pointer; margin: 0; text-align: center; justify-content: center; min-height: 3.6rem; }
.tip-opt > input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.tip-opt > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; width: 100%; }
.tip-opt small { color: var(--muted, #6B7280); }
.tip-opt:has(input[type=radio]:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
.tip-opt:has(input[type=radio]:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.tip-custom .form-control { max-width: 6rem; text-align: center; }
/* Ordering at a table */
.table-badge { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--brand); font-size: 1.25rem; flex-shrink: 0; }
.table-bar { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .92rem; }
.table-bar .container { display: flex; align-items: center; gap: .6rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.table-bar form { margin-left: auto; }

/* Repeat orders (checkout box and account pages) */
.repeat-save { display: inline-block; margin-left: .4rem; font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: var(--r-btn, 99px); background: var(--ok-bg); color: var(--ok-ink); vertical-align: middle; }
.repeat-days { display: flex; flex-wrap: wrap; gap: .4rem; }
.repeat-day { position: relative; margin: 0; cursor: pointer; }
.repeat-day input { position: absolute; opacity: 0; pointer-events: none; }
.repeat-day span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: .45rem .7rem; border: 1.5px solid var(--line); border-radius: var(--r-btn, 99px); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .86rem; transition: border-color .15s, background .15s; }
.repeat-day input:checked + span { border-color: var(--brand); background: var(--tint); color: var(--brand); }
.repeat-day input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.repeat-day.is-closed { cursor: not-allowed; }
.repeat-day.is-closed span { opacity: .4; text-decoration: line-through; }
.repeat-facts { list-style: none; padding: 0; display: grid; gap: .45rem; }
.repeat-facts li { display: flex; gap: .6rem; align-items: flex-start; }
.repeat-facts i { color: var(--brand); width: 16px; text-align: center; margin-top: .2rem; flex-shrink: 0; }
.repeat-coming li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.repeat-coming li:last-child { border-bottom: 0; }
.repeat-coming li.is-skipped b, .repeat-coming li.is-paused b { text-decoration: line-through; color: var(--muted); }
a.repeat-row { display: block; color: var(--ink); transition: box-shadow .2s; }
a.repeat-row:hover { color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .07); }

/* Dishes available only at certain times (1.25.0) */
.item-hours { display: flex; align-items: flex-start; gap: .35rem; font-size: .78rem; line-height: 1.3; color: var(--bs-secondary-color, #6b7280); margin: .15rem 0 .45rem; }
.item-hours i { margin-top: .12rem; }
.item-hours.is-ahead { color: #8a5e00; }
.item-hours.is-closed { color: var(--bs-secondary-color, #6b7280); font-weight: 600; }
.item-form .item-hours { font-size: .85rem; margin-bottom: .8rem; }
[data-bs-theme="dark"] .item-hours.is-ahead { color: #f3c969; }

/* ------------------------------------------------------------------ 1.26.0: gift cards, table bookings, allergies, notifications */
.gift-amounts, .book-times { display: flex; flex-wrap: wrap; gap: .5rem; }
.gift-amount, .book-time { display: inline-flex; align-items: center; justify-content: center; min-width: 5.2rem; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: calc(12px * var(--rs, 1)); font-weight: 600; cursor: pointer; margin: 0; background: var(--surface); }
.book-time { min-width: 4.6rem; padding: .55rem .8rem; }
.btn-check:checked + .gift-amount, .btn-check:checked + .book-time { border-color: var(--brand); background: color-mix(in srgb, var(--tint) 55%, var(--surface)); color: var(--brand-d, var(--brand)); }
.btn-check:focus-visible + .gift-amount, .btn-check:focus-visible + .book-time { outline: 3px solid var(--brand); outline-offset: 2px; }
.book-time.is-full { color: var(--muted); text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.gift-visual { perspective: 800px; }
.gift-visual-card { aspect-ratio: 1.6; border-radius: calc(18px * var(--rs, 1)); padding: 1.4rem; color: var(--on-brand, #fff); display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--brand) 70%, transparent); }
.gift-visual-site { font-weight: 700; opacity: .95; }
.gift-visual-amount { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.gift-visual-to { opacity: .9; }
.gift-points { list-style: none; padding: 0; display: grid; gap: .55rem; }
.gift-points li { display: flex; gap: .6rem; align-items: baseline; }
.allergy-banner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding: .7rem .9rem; border-radius: calc(12px * var(--rs, 1)); background: color-mix(in srgb, var(--tint) 60%, var(--surface)); border: 1px solid var(--line); }
.allergy-banner.is-warning { background: color-mix(in srgb, #F59E0B 14%, var(--surface)); border-color: color-mix(in srgb, #F59E0B 40%, var(--line)); }
.allergy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .2rem .8rem; }
.line-allergy { color: #B45309; font-weight: 600; }
.push-card { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.push-card > .min-w-0 { flex: 1 1 240px; }
.push-card-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 70%, var(--surface)); color: var(--brand); font-size: 1.15rem; }
@media (prefers-color-scheme: dark) { .line-allergy { color: #FBBF24; } }
[data-theme="dark"] .line-allergy { color: #FBBF24; }

/* ---------- Date and time pickers (assets/js/datepicker.js): a calendar in the shop's colours ---------- */
.dp-box { position: relative; display: block; }
.dp-box .dp-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; padding: 0; border: 0; left: 0; bottom: 0; }
.dp-box .dp-text { padding-right: 2.6rem; cursor: pointer; caret-color: transparent; background-color: var(--surface); }
.dp-box-time .dp-text { caret-color: auto; cursor: text; }
.dp-box .dp-icon { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.dp-box.open .dp-text { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.dp-pop {
    position: absolute; z-index: 1090; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
    border-radius: calc(18px * var(--rs, 1)); box-shadow: 0 20px 50px rgba(17, 20, 28, .2); padding: .9rem;
    display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: .8rem; font-size: .9rem; animation: dpIn .14s ease-out;
}
@keyframes dpIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dp-cal { width: 286px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.dp-head strong { font-weight: 700; text-transform: capitalize; font-family: var(--font-heading, inherit); }
.dp-nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tile); color: var(--ink); display: grid; place-items: center; }
.dp-nav:hover { background: var(--tint); color: var(--brand); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-wd { text-align: center; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: .3rem 0; }
.dp-day { height: 38px; border: 0; border-radius: calc(12px * var(--rs, 1)); background: transparent; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; transition: background .12s, color .12s; }
.dp-day:hover:not(:disabled) { background: var(--tint); color: var(--brand); }
.dp-day.today { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.dp-day.on { background: var(--brand); color: var(--on-brand, #fff); box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 35%, transparent); }
.dp-day:disabled { color: var(--muted); opacity: .35; text-decoration: line-through; text-decoration-thickness: 1px; cursor: not-allowed; }
.dp-time { display: flex; gap: .5rem; }
.dp-col { width: 76px; }
.dp-col-title { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; text-align: center; margin-bottom: .3rem; }
.dp-list { height: 250px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; scrollbar-width: thin; padding-right: 2px; }
.dp-list button { border: 0; border-radius: calc(10px * var(--rs, 1)); background: transparent; color: var(--ink); padding: .4rem 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.dp-list button:hover { background: var(--tint); color: var(--brand); }
.dp-list button.on { background: var(--brand); color: var(--on-brand, #fff); }
.dp-pop.dp-datetime-local { grid-template-columns: max-content max-content; }
.dp-pop.dp-time { display: grid; }
.dp-foot { grid-row: 2; grid-column: 1 / -1; display: flex; gap: .4rem; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: .7rem; }
.dp-foot button { border: 0; background: var(--tile); color: var(--ink); border-radius: var(--r-btn, 99px); padding: .4rem 1rem; font-size: .82rem; font-weight: 600; }
.dp-foot button:hover { background: var(--tint); color: var(--brand); }
.dp-foot .dp-done { background: var(--brand); color: var(--on-brand, #fff); }
.dp-foot .dp-done:hover { background: var(--brand); color: var(--on-brand, #fff); filter: brightness(1.08); }
.dp-foot button:first-child { margin-right: auto; }
/* Phones: a sheet from the bottom of the screen. */
html.dp-locked, html.dp-locked body { overflow: hidden; }
.dp-backdrop { position: fixed; inset: 0; background: rgba(17, 20, 28, .5); z-index: 1089; animation: dpFade .15s ease-out; }
@keyframes dpFade { from { opacity: 0; } to { opacity: 1; } }
.dp-pop.dp-sheet { position: fixed !important; left: 0 !important; right: 0; bottom: 0; top: auto !important; border-radius: calc(24px * var(--rs, 1)) calc(24px * var(--rs, 1)) 0 0; border: 0;
    padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; display: flex !important; flex-direction: column; gap: .8rem; animation: dpUp .22s ease-out; }
.dp-pop.dp-sheet::before { content: ""; width: 42px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; margin-top: -.3rem; }
@keyframes dpUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.dp-sheet .dp-title { font-weight: 700; font-size: 1.05rem; text-align: center; }
.dp-sheet .dp-cal { width: 100%; }
.dp-sheet .dp-day { height: 46px; font-size: 1rem; }
.dp-sheet .dp-time { justify-content: center; }
.dp-sheet .dp-col { width: 120px; }
.dp-sheet .dp-list { height: 210px; }
.dp-sheet .dp-list button { padding: .55rem 0; font-size: 1.05rem; }
.dp-sheet .dp-foot button { padding: .6rem 1.2rem; font-size: .95rem; }

/* Calories (1.57.0). */
.pr .kcal, small.kcal { font-size: .74em; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pr .kcal::before { content: "· "; }
.opt-kcal { display: block; font-size: .72rem; color: var(--muted); }
.kcal-box { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; padding: .55rem .8rem; margin: .4rem 0 .8rem; border-radius: calc(12px * var(--rs, 1)); background: var(--tint); font-size: .86rem; color: var(--ink); }
.kcal-box i { color: #e8590c; }
.kcal-box small { flex-basis: 100%; color: var(--muted); font-size: .74rem; }
.kcal-line i { color: #e8590c; }
.kcal-sum { padding: .35rem 0; border-top: 1px dashed var(--line); margin-top: .35rem; }
.kcal-sum i { color: #e8590c; }
.kcal-note { font-size: .72rem; margin-top: .1rem; }
/* Calories on menu cards (1.57.2): a small line of its own, away from the price and the Add button. */
.kcal-card { display: flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--muted); margin: -.15rem 0 .45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcal-card i { color: #e8590c; font-size: .8em; }
/* Meal deals (1.58.0) */
.deal-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; }
.deal-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #fff; background: var(--brand); border-radius: 999px; padding: .15rem .55rem; }
.deal-save { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; color: var(--accent-d); background: var(--accent-bg); border-radius: 999px; padding: .15rem .55rem; }
.deal-badges-popup { margin-bottom: .25rem; }
.deal-sum { font-size: .78rem; font-weight: 600; color: var(--ink); margin: -.1rem 0 .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: .5rem; }
.opt-dishes .opt { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: .4rem; cursor: pointer; }
.opt-dishes .opt .form-check-input { position: absolute; top: .55rem; right: .55rem; z-index: 1; margin: 0; }
.opt-dishes .opt-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(9px * var(--rs, 1)); margin-bottom: .35rem; background: var(--tint); }
.opt-dishes .opt-img-none { display: grid; place-items: center; color: var(--muted); font-size: 1.3rem; }
.opt-dishes .opt-body { display: block; padding: 0 .15rem; }
.opt-dishes .opt-name { display: block; font-weight: 600; font-size: .86rem; line-height: 1.25; }
.opt-dishes .opt-price { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--brand); }
.opt-dishes .opt:has(.form-check-input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.opt-dishes .opt:has(.form-check-input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.deal-suggest { display: grid; gap: .4rem; margin: 0 0 .9rem; }
.deal-suggest .ds-row { display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 6%, transparent); border-radius: calc(12px * var(--rs, 1)); padding: .55rem .75rem; color: var(--ink); }
.deal-suggest .ds-row:hover, .deal-suggest .ds-row:focus-visible { border-style: solid; }
.deal-suggest .ds-ico { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.deal-suggest .ds-txt { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.deal-suggest .ds-txt b { display: block; font-size: .9rem; }
.deal-suggest .ds-txt small { color: var(--muted); font-size: .78rem; }
.deal-suggest .ds-go { flex: 0 0 auto; font-weight: 700; font-size: .82rem; color: var(--brand); white-space: nowrap; }
@media (max-width: 420px) { .opt-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .deal-suggest .ds-go { display: none; } }
/* Happy hours (1.59.0) */
.pr-old { color: var(--muted); font-weight: 500; font-size: .82em; margin-right: .1rem; }
.pr.is-happy { color: var(--brand); }
.happy-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; align-items: center; }
.happy-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: .15rem .55rem; }
.happy-ends { font-size: .72rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.happy-band { background: var(--accent); color: var(--on-accent); font-size: .88rem; }
.happy-band.is-next { background: var(--tint); color: var(--ink); }
.happy-band-in { display: flex; align-items: center; gap: .6rem; padding-top: .5rem; padding-bottom: .5rem; }
.happy-band .hb-ico { font-size: 1.05rem; flex: 0 0 auto; }
.happy-band .hb-text { flex: 1 1 auto; min-width: 0; }
.happy-band .hb-ends { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.happy-band .hb-more { opacity: .85; margin-left: .3rem; }
.happy-band .hb-go { flex: 0 0 auto; font-weight: 700; color: inherit; text-decoration: none; white-space: nowrap; border: 1.5px solid currentColor; border-radius: 999px; padding: .15rem .7rem; }
.happy-band .hb-go:hover, .happy-band .hb-go:focus-visible { background: rgba(255, 255, 255, .15); }
.happy-band .hb-close { flex: 0 0 auto; background: none; border: 0; color: inherit; opacity: .8; padding: .2rem .4rem; }
@media (max-width: 575.98px) { .happy-band { font-size: .8rem; } .happy-band .hb-go { padding: .1rem .5rem; } }
/* Happy hour in the basket and at checkout (1.60.1) */
.happy-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: var(--accent-d); background: var(--accent-bg); border-radius: 999px; padding: .1rem .5rem; margin-top: .15rem; }
.happy-now { color: var(--accent-d); font-weight: 700; }
.line .pr-old, .happy-now + .pr-old { font-size: .85em; }
.happy-saving { display: flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; color: var(--ok-ink); background: var(--ok-bg); border-radius: calc(10px * var(--rs, 1)); padding: .45rem .7rem; margin: 0 0 .7rem; }
/* Popular labels (1.61.0; on the photo and colours 1.62.1) */
.pop-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; margin-bottom: .3rem; }
.pop-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: var(--pop-fg, #fff); background: var(--pop-bg, #f76707); border-radius: 999px; padding: .15rem .55rem; }
.pop-today { font-size: .72rem; font-weight: 600; color: var(--muted); }
.pop-photo { position: absolute; z-index: 2; pointer-events: none; font-size: .72rem; font-weight: 700; line-height: 1.2; color: var(--pop-fg, #fff); }
.pop-photo .pop-in { display: inline-flex; align-items: center; gap: .3rem; background: var(--pop-bg, #f76707); white-space: nowrap; }
.pop-photo.pos-tag-tl, .pop-photo.pos-tag-tr, .pop-photo.pos-tag-bl, .pop-photo.pos-tag-br { max-width: calc(100% - 1.2rem); }
.pop-photo[class*="pos-tag"] .pop-in { padding: .22rem .6rem; border-radius: var(--r-btn, 999px); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pop-photo.pos-tag-tl { top: .6rem; left: .6rem; }
.pop-photo.pos-tag-tr { top: .6rem; right: 3.1rem; }
.pop-photo.pos-tag-bl { bottom: .6rem; left: .6rem; }
.pop-photo.pos-tag-br { bottom: .6rem; right: .6rem; }
.pop-photo.pos-band-top, .pop-photo.pos-band-bottom { left: 0; right: 0; }
.pop-photo.pos-band-top { top: 0; }
.pop-photo.pos-band-bottom { bottom: 0; }
.pop-photo[class*="pos-band"] .pop-in { display: flex; justify-content: center; padding: .32rem .6rem; text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; }
.pop-photo.pos-band-top .pop-in { padding-right: 2.8rem; padding-left: 2.8rem; }
.pop-photo.pos-corner { top: 0; left: 0; width: 9.5rem; height: 9.5rem; overflow: hidden; }
.pop-photo.pos-corner .pop-in { position: absolute; top: 2rem; left: -3.1rem; width: 13rem; justify-content: center; transform: rotate(-45deg); padding: .28rem 0; font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
html[data-menu-view="list"] .dish-grid .dish-cell .pop-photo { font-size: .6rem; }
html[data-menu-view="list"] .dish-grid .dish-cell .pop-photo[class*="pos-tag"] { top: .3rem; left: .3rem; right: auto; bottom: auto; }
html[data-menu-view="list"] .dish-grid .dish-cell .pop-photo.pos-corner { transform: scale(.7); transform-origin: top left; }
html[data-menu-view="list"] .dish-grid .dish-cell .pop-photo[class*="pos-band"] .pop-in { padding: .2rem .3rem; font-size: .56rem; }
/* Report a problem (1.62.0) */
.problem-card .prb-details > summary { list-style: none; display: flex; align-items: center; gap: .75rem; cursor: pointer; }
.problem-card .prb-details > summary::-webkit-details-marker { display: none; }
.prb-ico { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--brand); font-size: 1.05rem; }
.prb-ico.prb-resolved { background: var(--ok-bg); color: var(--ok-ink); }
.prb-ico.prb-declined { background: var(--note-bg); color: var(--note-ink); }
.prb-open-btn { flex: 0 0 auto; font-weight: 700; font-size: .85rem; color: var(--brand); white-space: nowrap; }
.prb-details[open] .prb-open-btn i { transform: rotate(180deg); }
.prb-reasons, .prb-wants { display: flex; flex-wrap: wrap; gap: .45rem; }
.prb-reason, .prb-want { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .35rem .8rem; font-size: .86rem; cursor: pointer; margin: 0; }
.prb-reason i, .prb-want i { color: var(--muted); }
.btn-check:checked + .prb-reason, .btn-check:checked + .prb-want { border-color: var(--brand); background: var(--tint); color: var(--ink); font-weight: 600; }
.btn-check:checked + .prb-reason i, .btn-check:checked + .prb-want i { color: var(--brand); }
.btn-check:focus-visible + .prb-reason, .btn-check:focus-visible + .prb-want { outline: 2px solid var(--brand); outline-offset: 2px; }
.prb-items { border: 1px solid var(--line); border-radius: calc(12px * var(--rs, 1)); overflow: hidden; }
.prb-item { display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.prb-item:last-child { border-bottom: 0; }
.prb-previews { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.prb-previews img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.prb-reply { border-left: 3px solid var(--line); padding-left: .7rem; margin-top: .4rem; color: var(--ink); }

/* Basket goals bar (1.65.0) */
.bgoal { margin: 0 0 .9rem; padding: .65rem .8rem .8rem; border-radius: calc(12px * var(--rs, 1)); background: color-mix(in srgb, var(--brand) 7%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.bgoal-text { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink); }
.bgoal-text > i { color: var(--brand); }
.bgoal-text > span { flex: 1 1 auto; min-width: 0; }
.bgoal-amt { white-space: nowrap; color: var(--brand); }
.bgoal-track { position: relative; height: 8px; margin: .7rem .6rem .15rem 0; border-radius: 99px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.bgoal-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--brand); transition: width .35s ease; }
.bgoal-mark { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; background: var(--surface, #fff); color: var(--muted, #777); border: 2px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.bgoal-mark.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.bgoal.is-done { background: color-mix(in srgb, var(--ok, #1c9d55) 10%, transparent); border-color: color-mix(in srgb, var(--ok, #1c9d55) 35%, transparent); }
.bgoal.is-done .bgoal-text > i { color: var(--ok, #1c9d55); }
.bgoal-steps .bgoal-track { height: 4px; }
@media (prefers-reduced-motion: reduce) { .bgoal-fill { transition: none; } }

/* Smarter search (1.65.0) */
.search-ideas { margin-top: 1rem; }
.idea-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .75rem .35rem .35rem; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); background: var(--surface, #fff); color: var(--ink); text-decoration: none; text-align: left; }
.idea-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.idea-chip span { display: flex; flex-direction: column; line-height: 1.15; font-size: .88rem; padding-left: .4rem; }
.idea-chip small { color: var(--muted, #777); }
.idea-chip:hover { border-color: var(--brand); }
.filter-block .btn-check:checked + .pillbtn { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Easier ordering (1.66.0) */
.easy-card { margin: 1rem 0; padding: 1rem 1.1rem; border-radius: calc(14px * var(--rs, 1)); background: color-mix(in srgb, var(--brand) 6%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.easy-card-slim { display: flex; align-items: center; gap: .7rem; font-size: .92rem; }
.easy-head { display: flex; gap: .8rem; align-items: flex-start; }
.easy-head > i { font-size: 1.4rem; color: var(--brand); margin-top: .2rem; }
.easy-head h2 { font-size: 1.05rem; margin: 0 0 .15rem; }
.easy-head p { margin: 0; font-size: .9rem; color: var(--muted, #666); }
.easy-perks { list-style: none; padding: 0; margin: .7rem 0 .6rem; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .85rem; }
.easy-perks i { color: var(--brand); margin-right: .4rem; }
.easy-who { margin-bottom: .6rem; }
.easy-bar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 1060; width: min(520px, calc(100vw - 1.5rem)); padding: .85rem 1rem .6rem; border-radius: calc(16px * var(--rs, 1)); background: var(--surface, #fff); color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, .22); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.easy-row { display: flex; align-items: center; gap: .75rem; padding: .25rem 1.4rem .25rem 0; }
.easy-row + .easy-row { border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); margin-top: .35rem; padding-top: .6rem; }
.easy-ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); overflow: hidden; }
.easy-ic img { width: 100%; height: 100%; object-fit: cover; }
.easy-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.easy-tx small { color: var(--muted, #666); }
.easy-x { position: absolute; top: .45rem; right: .5rem; border: 0; background: transparent; color: var(--muted, #777); padding: .25rem .4rem; }
.easy-later { display: block; margin: .3rem auto 0; border: 0; background: transparent; color: var(--muted, #777); font-size: .8rem; text-decoration: underline; }
.easy-how { margin: .4rem 0 .2rem; padding: .5rem .7rem; border-radius: 10px; background: color-mix(in srgb, var(--brand) 7%, transparent); font-size: .85rem; }
@media (max-width: 575px) { .easy-bar { bottom: .5rem; } .easy-row .pillbtn { padding-inline: .8rem; } }

/* The share card on the order page (1.67.0) */
.order-refer { margin-top: 1rem; border: 1px dashed var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface, #fff)); border-radius: 14px; padding: .85rem 1rem; }
.order-refer-head { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .65rem; }
.order-refer-head > i { color: var(--brand); font-size: 1.4rem; margin-top: .15rem; }
.order-refer-head strong { display: block; }
.order-refer-head span { display: block; font-size: .9rem; color: var(--muted, #6b6b6b); }
.order-refer-btns { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Missions and streaks (1.67.0) */
.msn-card { display: flex; gap: .85rem; align-items: flex-start; background: var(--surface, #fff); border: 1px solid var(--line, #e6e6e6); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .75rem; }
.msn-card.is-done { border-color: var(--ok, #1a8f4e); background: color-mix(in srgb, var(--ok, #1a8f4e) 6%, var(--surface, #fff)); }
.msn-ico { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 1.1rem; }
.msn-body { flex: 1; min-width: 0; }
.msn-head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; justify-content: space-between; }
.msn-reward { font-size: .85rem; color: var(--brand); font-weight: 600; white-space: nowrap; }
.msn-desc { font-size: .9rem; color: var(--muted, #6b6b6b); }
.msn-bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 14%, transparent); overflow: hidden; margin: .5rem 0 .3rem; }
.msn-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s; }
.msn-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; font-size: .85rem; color: var(--muted, #6b6b6b); }
.msn-ok { color: var(--ok, #1a8f4e); font-weight: 600; }
.msn-risk { color: #c2410c; font-weight: 600; }
.msn-code { margin-top: .5rem; font-size: .9rem; }
.msn-code code { font-weight: 700; letter-spacing: 1px; border: 1px dashed var(--brand); border-radius: 8px; padding: .1rem .5rem; }
.msn-strip { margin: 1rem 0; }
.msn-strip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.msn-strip-head i { color: var(--brand); }
.msn-card.is-compact { padding: .65rem .85rem; margin-bottom: .5rem; }
.msn-card.is-compact .msn-ico { flex-basis: 32px; height: 32px; font-size: .95rem; }
.msn-history { list-style: none; margin: 0; padding: 0; }
.msn-history li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line, #e6e6e6); }
.msn-history li:last-child { border-bottom: 0; }

/* Loyalty tiers and points boosts (1.69.0) */
.tier-card { --tier: #868e96; display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; padding: .9rem 1rem; margin-bottom: 1rem; border: 1px solid var(--line, #e9ecef); border-left: 4px solid var(--tier); border-radius: 14px; background: var(--surface, #fff); }
.tier-card-compact { padding: .6rem .8rem; margin: .75rem 0; }
.tier-badge { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--tier); font-size: 1.15rem; }
.tier-card-compact .tier-badge { width: 2.1rem; height: 2.1rem; font-size: .95rem; }
.tier-body { flex: 1 1 220px; min-width: 0; }
.tier-name b { font-size: 1.05rem; }
.tier-perks { color: var(--muted, #6c757d); }
.tier-bar { height: 7px; margin: .4rem 0 .3rem; }
.tier-bar .progress-bar { background: var(--tier); }
.tier-more { white-space: nowrap; }
.tier-ladder { flex: 1 0 100%; list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .45rem; }
.tier-ladder li { display: flex; gap: .6rem; align-items: flex-start; opacity: .6; }
.tier-ladder li.is-here, .tier-ladder li.is-done { opacity: 1; }
.tier-ladder li > i { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-size: .8rem; color: #fff; background: var(--tier); }
.tier-ladder li.is-here > span b::after { content: ' ✓'; color: var(--tier); }
.boost-banner { background: var(--secondary); color: var(--on-secondary); font-size: .9rem; }
.boost-banner[hidden] { display: none; }
.boost-inner { display: flex; align-items: center; gap: .6rem; padding-top: .45rem; padding-bottom: .45rem; }
.boost-inner > i { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.boost-inner a { color: color-mix(in srgb, var(--accent) 70%, #fff); white-space: nowrap; }
.boost-text { flex: 1 1 auto; min-width: 0; }
.boost-close { border: 0; background: transparent; color: inherit; opacity: .7; padding: .2rem .4rem; }
.boost-close:hover { opacity: 1; }
.boost-note { color: var(--accent-d); font-weight: 600; }
.boost-note i { color: var(--accent); }
.foryou-row { margin: 1.25rem 0; }
.foryou-row h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.foryou-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: .75rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; }
.foryou-grid > * { scroll-snap-align: start; }
@media (min-width: 992px) { .foryou-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.foryou-tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .05rem .5rem; border-radius: 999px; background: rgba(0,0,0,.06); margin-bottom: .25rem; }

/* Getting around: back button, breadcrumb trail and bottom bar (1.69.2) */
.trail-wrap { padding-top: .75rem; }
.trail { display: flex; align-items: center; gap: .75rem; min-width: 0; font-size: .85rem; }
.trail-back { display: none; align-items: center; gap: .35rem; flex: 0 0 auto; padding: .35rem .8rem .35rem .6rem; border-radius: 999px; background: var(--tile); color: var(--ink); font-weight: 600; text-decoration: none; }
.trail-back:hover { background: var(--tint); color: var(--brand); }
.trail-back[data-show="always"], html.is-app .trail-back[data-show="app"] { display: inline-flex; }
[dir="rtl"] .trail-back i { transform: scaleX(-1); }
.trail-crumbs { min-width: 0; overflow: hidden; }
.trail-crumbs ol { list-style: none; display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.trail-crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.trail-crumbs li + li::before { content: '›'; margin: 0 .45rem; opacity: .6; }
.trail-crumbs a { color: var(--muted); text-decoration: none; }
.trail-crumbs a:hover { color: var(--brand); text-decoration: underline; }
.trail-crumbs li[aria-current="page"] { color: var(--ink); font-weight: 600; }
.app-bar { display: none; position: fixed; inset: auto 0 0 0; z-index: 1035; background: var(--surface); border-top: 1px solid var(--line); padding: .2rem .25rem calc(.2rem + env(safe-area-inset-bottom)); justify-content: space-around; }
.app-bar a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .2rem; color: var(--muted); font-size: .7rem; font-weight: 600; text-decoration: none; min-width: 0; }
.app-bar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-bar a i { font-size: 1.15rem; }
.app-bar a.on { color: var(--brand); }
@media (max-width: 991.98px) {
    .app-bar[data-show="always"], html.is-app .app-bar[data-show="app"] { display: flex; }
    html[data-app-bar="always"] body, html.is-app[data-app-bar="app"] body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    /* The chat button, the cookie notice and the basket bar sit above the bar, not behind it. */
    html[data-app-bar="always"] .cbot, html.is-app[data-app-bar="app"] .cbot { bottom: calc(72px + env(safe-area-inset-bottom)); }
    html[data-app-bar="always"] .cookie-banner, html.is-app[data-app-bar="app"] .cookie-banner { bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Order status everywhere (1.70.0): the strip, the dot, the orders list tabs and search. */
.ao { background: var(--tint); border-bottom: 1px solid var(--line); }
.ao.ao-quiet { display: none; }
.ao .container { display: flex; flex-direction: column; }
.ao-item { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; color: var(--body-text); text-decoration: none; font-size: .9rem; min-width: 0; }
.ao-item + .ao-item { border-top: 1px dashed var(--line); }
.ao-item > i { color: var(--brand); }
.ao-item.is-done > i { color: var(--ok-ink); }
.ao-item .ao-label { font-weight: 600; white-space: nowrap; }
.ao-item .ao-eta { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ao-item .ao-go { margin-inline-start: auto; font-weight: 600; color: var(--brand); white-space: nowrap; }
.ao-item .ao-go i { margin-inline-start: .35rem; font-size: .7rem; }
.ao-item:hover .ao-go { text-decoration: underline; }
.ao-pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); flex: none; animation: ao-ping 1.8s ease-out infinite; }
.ao-item.is-done .ao-pulse, .ao-item.is-off .ao-pulse { animation: none; background: var(--ok-ink); }
.ao-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); margin-inline-start: .3rem; animation: ao-ping 1.8s ease-out infinite; flex: none; }
.app-bar a { position: relative; }
.app-bar .ao-dot { position: absolute; top: .35rem; left: calc(50% + .5rem); margin: 0; }
@keyframes ao-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 .5rem transparent; } }
@media (prefers-reduced-motion: reduce) { .ao-pulse, .ao-dot { animation: none; } }
@media (max-width: 575.98px) { .ao-item .ao-eta { display: none; } }
.ord-filter { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ord-tabs { display: flex; gap: .25rem; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
.ord-tabs a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 99px; background: var(--tile); color: var(--body-text); text-decoration: none; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.ord-tabs a span { background: var(--surface); border-radius: 99px; padding: 0 .4rem; font-size: .72rem; color: var(--muted); }
.ord-tabs a.on { background: var(--brand); color: var(--on-brand); }
.ord-tabs a.on span { background: rgba(255,255,255,.25); color: inherit; }
.ord-search { position: relative; flex: 1 1 14rem; max-width: 22rem; }
.ord-search > i { position: absolute; inset-inline-start: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.ord-search input { width: 100%; padding: .45rem 2rem .45rem 2.2rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: inherit; }
.ord-clear { position: absolute; inset-inline-end: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.acc-pill.is-warn { background: #fff3cd; color: #7a5b00; }
html[data-bs-theme="dark"] .acc-pill.is-warn { background: #4a3b00; color: #ffd966; }
.acc-hint { font-size: .85rem; font-weight: 600; margin-top: .15rem; }
.acc-hint.is-live { color: var(--brand); }
.acc-hint.is-warn { color: #7a5b00; }
html[data-bs-theme="dark"] .acc-hint.is-warn { color: #ffd966; }

/* Stamp cards (1.74.0) */
.stamp-dots { display: flex; flex-wrap: wrap; gap: .4rem; }
.stamp-dot { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--stamp-color, #b71c2b) 45%, transparent); color: color-mix(in srgb, var(--stamp-color, #b71c2b) 35%, transparent); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; transition: transform .2s; }
.stamp-dot.on { background: var(--stamp-color, #b71c2b); border: 2px solid var(--stamp-color, #b71c2b); color: #fff; }
.stamp-dot.gift { border-style: solid; color: var(--stamp-color, #b71c2b); }
.stamp-dots.small-dots .stamp-dot { width: 1.6rem; height: 1.6rem; font-size: .65rem; border-width: 1.5px; }
.stamp-box { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .75rem; margin: .5rem 0; border-radius: var(--fa-radius, 12px); background: var(--bs-tertiary-bg, #f6f6f6); }
.stamp-card { border-top: 3px solid var(--stamp-color, #b71c2b); margin-bottom: .75rem; }
.stamp-note { display: flex; align-items: center; gap: .75rem; }
.stamp-note > i { color: var(--bs-primary, #b71c2b); font-size: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .stamp-dot { transition: none; } }

/* 1.75.0: the weekly reward ladder for repeat orders */
.rr-card h2 { font-size: 1.05rem; }
.rr-bar { height: .55rem; background: var(--tile); border-radius: 99px; }
.rr-bar .progress-bar { background: var(--brand); border-radius: 99px; transition: width .4s ease; }
.rr-next { font-weight: 600; }
.rr-steps { list-style: none; padding: 0; display: grid; gap: .3rem; }
.rr-steps li { display: flex; align-items: baseline; gap: .45rem; color: var(--muted); }
.rr-steps li i { font-size: .8rem; opacity: .45; }
.rr-steps li.is-done { color: inherit; }
.rr-steps li.is-done i { color: var(--ok); opacity: 1; }
.rr-steps li.is-next { color: inherit; font-weight: 600; }
.rr-steps li.is-next i { color: var(--brand); opacity: 1; }
.rr-teaser { background: var(--tint); border-radius: 12px; padding: .65rem .8rem; }
.rr-chips { list-style: none; padding: 0; margin: .4rem 0 .3rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.rr-chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: .15rem .6rem; }
.rr-chips li b { color: var(--brand); margin-right: .15rem; }
.rr-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 99px; padding: .05rem .5rem; margin: .15rem 0; }

/* 1.76.0: ways to save */
.ways-hero { text-align: center; max-width: 640px; margin: 0 auto 1.6rem; }
.ways-hero-icon { width: 64px; height: 64px; border-radius: 18px; display: inline-grid; place-items: center; font-size: 1.7rem; background: var(--tint); color: var(--brand); margin-bottom: .8rem; }
.ways-tally { display: inline-block; margin: .8rem 0 0; padding: .25rem .8rem; border-radius: 99px; background: var(--ok-bg); color: var(--ok-ink); font-weight: 600; font-size: .9rem; }
.ways-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; background: var(--tint); border-radius: 16px; padding: .8rem 1rem; margin: 0 auto 1.4rem; max-width: 760px; text-align: center; }
.ways-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ways-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; }
.ways-card h2 { font-size: 1.1rem; margin: .7rem 0 .35rem; }
.ways-card p { color: var(--muted); margin: 0 0 1rem; flex-grow: 1; line-height: 1.5; }
.ways-card.is-using { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.ways-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.ways-using { color: var(--ok-ink); font-weight: 600; font-size: .85rem; display: inline-flex; gap: .3rem; align-items: center; }
.ways-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-grid; place-items: center; font-size: 1.2rem; background: var(--tint); color: var(--brand); flex: 0 0 auto; }
.ways-icon.sm { width: 38px; height: 38px; font-size: 1rem; border-radius: 12px; }
.ways-box h2 { font-size: 1.05rem; }
.ways-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ways-list li { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 14px; background: var(--tile); }
@media (max-width: 575.98px) { .ways-list li { flex-wrap: wrap; } .ways-list li .pillbtn { margin-left: calc(38px + .7rem); } }
.ways-chips ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.ways-chips li { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; padding: .2rem .65rem; border-radius: 99px; background: var(--tint); }
.ways-chips li i { color: var(--brand); }
.ways-strip { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 14px; background: var(--tint); color: inherit; text-decoration: none; margin: 0 0 1rem; }
.ways-strip > i:first-child { color: var(--brand); font-size: 1.2rem; }
.ways-strip span { flex-grow: 1; }
.ways-strip:hover { color: inherit; filter: brightness(.98); }
.repeat-nudge { display: flex; gap: .55rem; align-items: flex-start; background: var(--ok-bg); color: var(--ok-ink); border-radius: 12px; padding: .6rem .8rem; margin-bottom: .7rem; font-weight: 600; }
/* 1.82.0: "powered by" line under address suggestions (some map services ask for it). */
.search-results .addr-credit { padding: .3rem .75rem; font-size: .72rem; color: var(--muted, #6c757d); text-align: right; border-top: 1px solid var(--line, #eee); }

/* 1.83.2: on large screens the filter column scrolls by itself, so the page does not have to. Its title and the
   Show dishes button stay in view while the options scroll. */
@media (min-width: 992px) {
    .filters-panel.filters-scroll { max-height: calc(100vh - var(--sticky-top, 130px) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 45%, transparent) transparent; border-radius: calc(16px * var(--rs, 1)); }
    .filters-panel.filters-scroll::-webkit-scrollbar { width: 6px; }
    .filters-panel.filters-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 99px; }
    .filters-panel.filters-scroll .offcanvas-body { overflow: visible; }
    .filters-scroll .filters-card .filters-head { position: sticky; top: -.85rem; z-index: 3; background: var(--surface); margin-top: -.85rem; padding-top: .95rem; }
    .filters-scroll .filters-card .filter-actions { position: sticky; bottom: -.85rem; z-index: 3; background: var(--surface); margin-bottom: -.85rem; padding-bottom: .85rem; }
}

/* 1.83.3: everything you can click in the menu filters shows the hand pointer. */
.filters label.pillbtn, .filters .btn-check + label, .filters .form-check-input, .filters .form-check-label,
.filters details.filter-block > summary, .filters .filter-link, .filters .filters-clear, .filters button, .filters a,
.menu-toolbar select, .menu-toolbar label[for], [data-view-switch] [data-view] { cursor: pointer; }
.filters .btn-check:disabled + label, .filters .form-check-input:disabled, .filters .form-check-input:disabled + .form-check-label { cursor: not-allowed; }

/* 1.84.0: filter chips, the category bar, recently viewed, back to top and dish galleries. */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 1rem; }
.filter-chips .fc-count { font-weight: 700; font-size: .9rem; color: var(--ink); margin-right: .3rem; }
.fchip { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .55rem .32rem .8rem; border-radius: 99px; background: var(--accent-bg); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--surface)); color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.fchip i { font-size: .7rem; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, var(--surface)); color: var(--accent-d); }
.fchip:hover { border-color: var(--accent); color: var(--ink); }
.fchip:hover i { background: var(--accent); color: var(--on-accent); }
.fc-clear { font-size: .82rem; font-weight: 600; color: var(--accent-d); margin-left: .2rem; cursor: pointer; }
.cat-bar { position: sticky; top: var(--sticky-top, 130px); z-index: 5; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding: .5rem; margin: 0 0 1.2rem; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: calc(14px * var(--rs, 1)); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .35); }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar a { flex: 0 0 auto; padding: .4rem .85rem; border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s ease, color .15s ease; }
.cat-bar a:hover { background: var(--tile); color: var(--ink); }
.cat-bar a.on { background: var(--ink); color: var(--surface); }
.menu-section { scroll-margin-top: calc(var(--sticky-top, 130px) + 70px); }
.recent-dishes { margin: 0 0 1.6rem; }
.recent-dishes .sec-h h2 { font-size: 1.05rem; }
.recent-clear { border: 0; background: none; color: var(--muted); font-size: .8rem; font-weight: 600; cursor: pointer; }
.recent-clear:hover { color: var(--accent-d); }
.recent-row { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .1rem .6rem; scrollbar-width: thin; }
.recent-cell { flex: 0 0 200px; scroll-snap-align: start; }
@media (max-width: 575.98px) { .recent-cell { flex-basis: 165px; } }
.to-top { position: fixed; right: 1.1rem; bottom: 5.6rem; z-index: 1035; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--surface); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.dish-gallery { position: relative; width: 100%; border-radius: calc(14px * var(--rs, 1)); overflow: hidden; background: var(--tile); }
.dg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: 0; }
.dg-track::-webkit-scrollbar { display: none; }
.dg-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 3; }
.dg-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-gallery:not(.is-big) .dg-slide { aspect-ratio: 16 / 9; }
.dg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #1F2937; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.dg-prev { left: .6rem; } .dg-next { right: .6rem; }
.dish-gallery:hover .dg-arrow, .dg-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .dg-arrow { display: none; } }
.dg-dots { position: absolute; left: 0; right: 0; bottom: .55rem; display: flex; justify-content: center; gap: .3rem; pointer-events: none; }
.dg-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .2s ease, background .2s ease; }
.dg-dots span.on { width: 18px; border-radius: 99px; background: #fff; }
.dg-count { position: absolute; top: .55rem; right: .6rem; background: rgba(0, 0, 0, .55); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 99px; }
.im-head.has-gallery { flex-direction: column; align-items: stretch; gap: .8rem; }
.item-photo.has-gallery { aspect-ratio: auto; }
.im-head.has-gallery { position: relative; }
.im-head.has-gallery .im-actions { position: absolute; top: 1.6rem; left: 1.9rem; display: flex; flex-direction: row; gap: .4rem; z-index: 3; margin: 0; }
.im-head.has-gallery .im-actions .btn-close { background-color: rgba(255, 255, 255, .92); border-radius: 50%; width: 34px; height: 34px; padding: 0; background-size: 12px; opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.im-head.has-gallery .im-actions .fav-btn { box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
@media (max-width: 575.98px) { .im-head.has-gallery .im-actions { top: 1.5rem; left: 1.5rem; } }

/* 1.87.0: the credit line set by the Super Admin (System → Footer credit). */
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit.fc-muted { opacity: .75; }
.footer-credit.fc-bold { font-weight: 600; }

/* 1.88.1: galleries on the dish page: the photos side by side (not stacked by the photo frame's own rules), arrows
   above them and always shown on computers, and the small photos underneath. */
.dish-gallery .dg-slide img { position: static; inset: auto; z-index: auto; }
.dg-arrow, .dg-dots, .dg-count { z-index: 3; }
.item-photo.has-gallery { aspect-ratio: auto; background: none; overflow: visible; position: relative; }
.item-photo.has-gallery .dish-gallery { border-radius: calc(18px * var(--rs, 1)); }
.dish-gallery.is-big .dg-arrow { opacity: .9; width: 42px; height: 42px; }
.dg-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: .2rem; }
.dg-thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 1; border-radius: calc(10px * var(--rs, 1)); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--tile); cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.dg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-thumb:hover, .dg-thumb.on { opacity: 1; }
.dg-thumb.on { border-color: var(--brand); }
.item-photo.has-gallery .sold-badge { z-index: 4; }
.footer-bottom .footer-credit { margin-left: .15rem; }
