/* ==========================================================================
   FaroDash stylesheet (assets/css/faro.css)
   Original CSS written for FaroDash's page markup (index, restaurant, checkout, menu, header).
   includes/css_tags.php loads THIS file only when the site has no assets/css/home.css.
   If you add your own home.css later, it takes over automatically and this file is skipped.
   ========================================================================== */
:root {
    --bg: #fefdfb; --surface: #ffffff; --text: #1f1f1f; --muted: #7c766e; --line: #ddd9d4; --line-soft: #eee9e3;
    --red: #d9381c; --red-ink: #ea482c; --yellow: #f6cd13; --yellow-press: #e0ba0c; --peach: #faead8; --peach-press: #f3dcc2;
    --field: #f2eee9; --disabled: #eae6e1; --disabled-ink: #9a948c;
    --colour-logo-text: #ea482c;
    --header-h: 64px; --wrap: 1180px; --r: 6px; --r-lg: 14px;
    --shadow: 0 2px 10px rgba(31,31,31,.14); --shadow-lg: 0 10px 40px rgba(31,31,31,.22);
    --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color-scheme: light;
}
/* dark mode follows the Appearance radios in the menu (works with or without script) */
html:has(#colour-scheme-dark:checked) { --bg:#1e1e1e; --surface:#272726; --text:#f3f0ea; --muted:#aaa39a; --line:#3d3a37; --line-soft:#2f2d2b; --peach:#3b2f25; --peach-press:#4a3b2e; --field:#33312f; --disabled:#353230; --disabled-ink:#7d766f; color-scheme: dark; }
@media (prefers-color-scheme: dark) { html:has(#colour-scheme-auto:checked) { --bg:#1e1e1e; --surface:#272726; --text:#f3f0ea; --muted:#aaa39a; --line:#3d3a37; --line-soft:#2f2d2b; --peach:#3b2f25; --peach-press:#4a3b2e; --field:#33312f; --disabled:#353230; --disabled-ink:#7d766f; color-scheme: dark; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.has-overlay { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.45; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1,h2,h3,h4,h5 { margin: 0 0 .4em; line-height: 1.2; font-weight: 600; }
h3 { font-size: 20px; } h5 { font-size: 15px; color: var(--muted); font-weight: 500; margin: 18px 0 4px; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
turbo-frame { display: block; position: relative; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d9381c66; outline-offset: 2px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.is-flexbox { display: flex; align-items: center; }
.align-items-start { align-items: flex-start; } .align-self-center { align-self: center; }
.flex-column { flex-direction: column; } .flex-grow-1 { flex: 1 1 auto; min-width: 0; }
.justify-content-between { justify-content: space-between; } .justify-content-end { justify-content: flex-end; } .justify-content-stretch > * { flex: 1 1 0; }
.is-flex-gap-xs { gap: 8px; } .has-gap-sm { gap: 10px; }
.is-aligned-right { margin-left: auto; }
.is-full-width { width: 100%; }
.has-space-between { justify-content: space-between; }
.is-completely-hidden { display: none !important; }
.is-position-absolute { position: absolute; left: 0; right: 0; top: 0; }
.is-layer-lowest { z-index: 20; } .is-layer-low { z-index: 25; } .is-layer-middle { z-index: 30; }
.is-sticky { position: sticky; top: 0; z-index: 40; }
.is-stuck-top { position: sticky; top: 0; }
.is-stuck-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; }
.has-underline { text-decoration: underline; text-underline-offset: 3px; }
.has-short-line-length { max-width: 46ch; }
.is-tiny-muted-text { font-size: 13.5px; color: var(--muted); }
.helper { font-size: 13.5px; color: var(--muted); }
.stack { display: grid; }
.space-mb-none { margin-bottom: 0; } .space-mb-xs { margin-bottom: 6px; } .space-mb-sm { margin-bottom: 10px; } .space-mb-md { margin-bottom: 16px; } .space-mb-lg { margin-bottom: 24px; }
.space-mt-none { margin-top: 0; } .space-mt-xs { margin-top: 6px; } .space-mt-sm { margin-top: 10px; } .space-mt-md { margin-top: 16px; }
.space-ml-xs { margin-left: 6px; } .space-mr-xs { margin-right: 6px; } .space-m-xs { margin: 6px; }
.space-pt-none { padding-top: 0; } .space-pb-none { padding-bottom: 0; } .space-pl-none { padding-left: 0; }
.is-hidden-above-tablet, .is-hidden-above-desktop { }
@media (min-width: 768px) { .is-hidden-above-tablet { display: none !important; } }
@media (min-width: 1024px) { .is-hidden-above-desktop { display: none !important; } }
@media (max-width: 767px) { .is-visible-above-tablet { display: none !important; } }
@media (max-width: 1023px) { .is-visible-above-desktop { display: none !important; } }

/* ---------- icons & buttons ---------- */
.icon { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.is-large-text { width: 26px; height: 26px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
    border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text);
    font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .15s, transform .05s;
}
.button:hover { background: var(--peach); }
.button:active { transform: translateY(1px); }
.button.is-primary { background: var(--yellow); border-color: var(--yellow); color: #1f1f1f; font-weight: 600; }
.button.is-primary:hover { background: var(--yellow-press); border-color: var(--yellow-press); }
.button.is-ghost { background: transparent; border-color: transparent; }
.button.is-ghost:hover { background: var(--peach); }
.button.is-icon-only { width: 44px; padding: 0; border-radius: 50%; }
.button.is-icon-only .icon, .button.is-icon-only svg { fill: var(--red-ink); color: var(--red-ink); }
.button.has-large-icon .icon { width: 24px; height: 24px; }
.button.is-raised { border-color: transparent; background: #fff; box-shadow: var(--shadow); }
.button[disabled] { background: var(--disabled); border-color: var(--disabled); color: var(--disabled-ink); cursor: not-allowed; box-shadow: none; }
.fd-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: -4px; }
.button.is-icon-only .fd-ic { color: var(--red-ink); }

/* ---------- header ---------- */
#base-header { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
#base-header > .container { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.logo { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.logo > svg { width: 132px; height: 24px; display: block; }
.logo text { font-family: var(--font); font-weight: 700; letter-spacing: -.02em; }
.overlay-header .logo > svg { width: 120px; height: 22px; }
.menu-and-search { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
.cart-button { position: relative; }
.cart-count, .menu-cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: #1f1f1f; font-size: 12px; font-weight: 700; }
.cart-count { position: absolute; top: 2px; right: 0; }
.menu-cart-count { margin-left: 8px; }
.popover-sheet { position: relative; }
.option-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.option-bar.is-tiny { font-size: 14.5px; gap: 6px 12px; }
.option-bar > .icon { width: 16px; height: 16px; color: var(--muted); }
.link-selector { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; min-height: 40px; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--peach); font-weight: 500; }
.link-selector:hover { background: var(--peach-press); }
.link-selector > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.link-selector .icon { width: 18px; height: 18px; fill: var(--red-ink); }
.link-selector #locLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shim { display: none; }
.surface { display: none; }
.popover-sheet.is-active > .surface { display: block; position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; width: 380px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.surface .content { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.address-actions { margin-top: 10px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; font-size: 15px; }
.notice .icon { width: 20px; height: 20px; margin-top: 1px; }
.notice.is-deal { background: var(--yellow); color: #1f1f1f; align-items: center; justify-content: center; text-align: left; }
.notice.is-important { background: #fde8e6; color: #b3261e; border-radius: var(--r); margin-bottom: 4px; }
.text-input { margin: 0 0 12px; }
.text-input label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.text-input.has-hidden-label label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-input > span { position: relative; display: block; }
.text-input input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--r); background: var(--field); color: var(--text); font-size: 16px; }
.text-input input::placeholder { color: var(--disabled-ink); }
.text-input input:focus { outline: 2px solid var(--red-ink); outline-offset: -1px; background: var(--surface); }
.text-input.has-prefix-icon input { padding-left: 44px; }
.text-input.has-prefix-icon > span > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--red-ink); pointer-events: none; }
.text-input.is-muted-icon > span > .icon { fill: var(--muted); }
.text-input .input-controls { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.text-input input[required]:not(:valid) + .input-controls { opacity: 0; visibility: hidden; }
.text-input input[type=search]::-webkit-search-cancel-button { display: none; }
#searchPopover { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
@media (min-width: 1024px) { #searchPopover > .text-input { margin: 0; max-width: 620px; } #base-header > .container { flex-wrap: nowrap; } }
.search-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: 70vh; overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.search-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); text-decoration: none; }
.search-item:hover { background: var(--peach); }
.search-item .thumb { width: 44px; height: 44px; border-radius: var(--r); background: var(--peach) center / cover no-repeat; flex: 0 0 auto; }
.search-item b { display: block; font-weight: 500; } .search-item small { color: var(--muted); }
.search-note { padding: 14px; color: var(--muted); }
/* phones / tablets: address + search open as full-screen sheets */
@media (max-width: 1023px) {
    .popover-sheet.is-active > .surface { position: fixed; z-index: 120; inset: 0; width: auto; max-width: none; border: 0; border-radius: 0; box-shadow: none; overflow-y: auto; }
    .popover-sheet.is-active > .surface .content { min-height: 100%; padding: 16px; }
    #searchPopover { position: static; }
    #searchPopover .search-panel { display: none; }
    #base-header .popover-sheet.has-fulfilment-options { order: 3; flex: 1 1 100%; }
    .link-selector.will-shrink { max-width: calc(100vw - 150px); }
}
@media (min-width: 1024px) { .link-selector.will-shrink { max-width: 280px; } }

/* ---------- overlays: menu drawer + modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: none; }
.overlay.is-open { display: flex; background: rgba(20,18,16,.55); }
.overlay .card { background: var(--bg); border: 0; }
.overlay.is-menu .card { margin-left: auto; width: 420px; max-width: 100%; height: 100%; overflow-y: auto; border-radius: 0; box-shadow: var(--shadow-lg); animation: fd-slide .2s ease-out; }
.overlay.is-modal { align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.overlay.is-modal .card { width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: fd-rise .2s ease-out; }
@keyframes fd-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fd-rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.overlay-header .container { justify-content: space-between; padding-top: 12px; padding-bottom: 8px; }
.modal-body { padding-top: 4px; padding-bottom: 22px; }
.list-nav { padding-bottom: 28px; }
.list-nav a { display: flex; align-items: center; padding: 11px 0; text-decoration: none; }
.list-nav a:hover { color: var(--red); }
.is-nav-primary a { font-size: 22px; font-weight: 600; }
.is-nav-footer a { font-size: 14px; color: var(--muted); padding: 5px 0; }
fieldset.stack { border: 0; padding: 0; margin: 0; gap: 10px; min-width: 0; }
.chip { position: relative; }
.chip.is-filter-illustrated > input, .chip.is-choice > input { position: absolute; opacity: 0; pointer-events: none; }
.chip.is-filter-illustrated > label, .chip.is-choice > label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer; }
.chip.is-filter-illustrated > label:hover, .chip.is-choice > label:hover { background: var(--peach); }
.chip.is-filter-illustrated > label img { width: 22px; height: 22px; object-fit: contain; }
.chip.is-choice > label { font-weight: 700; }   /* the category names along the top of a restaurant's menu */
.chip.is-filter-illustrated > input:checked + label, .chip.is-choice > input:checked + label { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.is-filter-illustrated > input:focus-visible + label, .chip.is-choice > input:focus-visible + label { outline: 3px solid #d9381c66; outline-offset: 2px; }
.chip.is-filter-illustrated.is-full-width { flex: 1 1 0; }
.chip.is-filter-illustrated.is-full-width > label { flex-direction: column; width: 100%; justify-content: center; border-radius: var(--r); padding: 12px 6px; gap: 4px; font-size: 14px; }
.chip.is-filter-illustrated.is-full-width > input:checked + label { background: var(--peach); color: var(--text); border-color: var(--red-ink); box-shadow: 0 0 0 1px var(--red-ink); }
.chip.is-filter-illustrated.is-full-width > label .icon { fill: var(--red-ink); }
.chip.is-action { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--peach); color: var(--text); font-size: 15px; text-decoration: none; }
.chip.is-action:hover { background: var(--peach-press); }

/* ---------- dividers, chip strips, headings ---------- */
.divider.has-content { display: flex; align-items: center; gap: 12px; padding: 12px 22px; background: var(--peach); font-size: 16px; font-weight: 500; }
.divider.has-content.choice-strip { display: flex; gap: 10px; padding: 14px 20px; background: transparent; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; font-weight: inherit; }
.choice-strip::-webkit-scrollbar { display: none; }
.divider.has-content.is-stuck-top { background: var(--bg); padding: 8px 16px; }
.is-display-heading { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--red-ink); line-height: 1.05; }
h2.is-display-heading { font-size: 30px; }
.category-section-heading { font-size: 28px; }
.has-lowered-contrast-above-tablet, .has-lowered-contrast, .has-lowered-contrast-below-tablet, .has-high-contrast, .has-high-contrast-above-tablet, .has-container-spacing-top-above-tablet { }

/* ---------- restaurant cards, strips, grids ---------- */
.grid { display: grid; gap: 22px 18px; }
.grid.has-5-breaking-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
section.has-lowered-contrast-below-tablet > .container, #dealsSection > .container { padding-top: 6px; }
#dealsSection, #catSection, #picksSection, #allSection, #closedSection { padding: 20px 0 8px; }
.choice-strip.has-one-visible { display: flex; gap: 18px; overflow-x: auto; padding: 0 20px 6px; max-width: var(--wrap); margin: 0 auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.choice-strip.has-one-visible > .card { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 720px) { .choice-strip.has-one-visible > .card { flex-basis: 32%; } }
@media (min-width: 1024px) { .choice-strip.has-one-visible > .card { flex-basis: calc((100% - 54px) / 4); } }
.card.is-restaurant { display: block; min-width: 0; background: none; border: 0; border-radius: 0; text-decoration: none; color: inherit; }
.card.is-restaurant .image { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--peach) center / cover no-repeat; overflow: hidden; }
.card.is-restaurant .title { margin-top: 10px; font-weight: 600; font-size: 17px; }
.card.is-restaurant:hover .title { text-decoration: underline; }
.card.is-restaurant p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.is-restaurant.is-closed .image { filter: grayscale(.85); opacity: .6; }
.attributes { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.badge .icon { width: 15px; height: 15px; fill: var(--muted); }
.badge-slot { position: absolute; left: 10px; bottom: 10px; }
.badge.is-deal { flex-wrap: wrap; padding: 5px 10px; border-radius: 999px; background: var(--yellow); color: #1f1f1f; font-size: 13px; }
.badge.is-deal .icon { fill: #1f1f1f; }
.badge.is-quantity { display: inline-flex; align-items: center; justify-content: center; min-width: 39px; height: 29px; padding: 0 10px; border-radius: 999px; background: var(--yellow); color: #1f1f1f; font-size: 16px; font-weight: 600; gap: 1px; line-height: 1; }
.badge.is-quantity.is-round { min-width: 29px; padding: 0 8px; font-size: 15px; }
.badge.is-quantity:not(.is-round):not(:empty)::before { content: "\00d7"; }
.empty-note { grid-column: 1 / -1; color: var(--muted); padding: 10px 0; }
.progress-bar { height: 3px; z-index: 50; }
.progress-bar.is-loading-indeterminate { background: linear-gradient(90deg, transparent, var(--red), transparent) -40% 0 / 40% 100% no-repeat; animation: fd-bar 1.1s linear infinite; }
@keyframes fd-bar { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.fd-toast { position: fixed; z-index: 500; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(380px, calc(100vw - 32px)); padding: 12px 18px; border-radius: var(--r); background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 15px; animation: fd-rise .2s ease-out; }
.fd-toast.is-error { background: #c62828; color: #fff; }

/* ---------- restaurant page ---------- */
.restaurant-header { display: flex; flex-direction: column-reverse; position: relative; background: #f9f5ef; }
.restaurant-header > section { flex: 1 1 auto; }
.restaurant-header .details { padding: 22px 0 14px; }
.restaurant-header .details h2 { margin-bottom: 8px; }
.restaurant-header .details > p { color: var(--muted); max-width: 60ch; }
.header-image { position: relative; height: 200px; background: var(--peach) center / cover no-repeat; }
.header-controls { position: absolute; top: 14px; right: 14px; }
.button.is-favourite { width: 44px; padding: 0; border-radius: 50%; border-color: transparent; background: #fff; box-shadow: var(--shadow); }
.button.is-favourite svg { fill: none; stroke: var(--red-ink); stroke-width: 2; width: 22px; height: 22px; }
.button.is-favourite[aria-pressed="true"] svg { fill: var(--red-ink); }
@media (min-width: 768px) {
    .restaurant-header { flex-direction: row; min-height: 260px; }
    .restaurant-header > section { flex: 1 1 50%; display: flex; }
    .restaurant-header .container { max-width: 620px; margin: 0 0 0 auto; }
    .header-image { flex: 1 1 50%; height: auto; }
    #topBar { display: none; }
}
#topBar { position: absolute; top: 0; left: 0; z-index: 30; background: transparent !important; padding: 12px 14px !important; }
#rNav { position: sticky; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.catalog-section-heading { padding-top: 8px; }
.catalog-section-heading h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
#menuCol > section[data-cat] ~ section[data-cat] { margin-top: 24px; }   /* a little room between one group of dishes (Rice) and the next (Swallow); the first group needs none */
.product-listing-with-image { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.product-listing-with-image:hover .title { text-decoration: underline; }
.product-details .title { font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.product-details .price { font-weight: 600; margin-bottom: 4px; }
.product-details .description p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-image { position: relative; width: 132px; height: 100px; border-radius: var(--r); background: var(--peach) center / cover no-repeat; }
.product-image .badge { position: absolute; top: 6px; right: 6px; }
.grid.has-aside { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; max-width: var(--wrap); margin: 0 auto; }
.grid.has-aside > .column { min-width: 0; }
.has-container-spacing-top-above-tablet { padding-top: 12px; }
.is-sticky-column { position: sticky; top: calc(var(--header-h) + 70px); }
@media (min-width: 1024px) { .grid.has-aside { grid-template-columns: minmax(0, 1fr) 380px; } .co-page .grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { .co-page .grid.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.has-gradient { background: linear-gradient(180deg, transparent, var(--bg) 40%); }
.is-stuck-bottom .container { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }

/* ---------- checkout ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.co-page .card > section.container { padding: 20px 22px; }
.co-page .card > section + section, .co-page .card > .divider + section { border-top: 0; }
.co-page .card hr { margin: 0; }
fieldset.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; border: 0; padding: 0; margin: 0 0 14px; }
fieldset.checkbox > input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
fieldset.checkbox > label { cursor: pointer; }
fieldset.checkbox > p { grid-column: 2; margin: 0; }
.textarea label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.textarea textarea { width: 100%; min-height: 96px; padding: 10px 14px; border: 1px solid transparent; border-radius: var(--r); background: var(--field); resize: vertical; }
.textarea textarea:focus { outline: 2px solid var(--red-ink); outline-offset: -1px; background: var(--surface); }
.line-item { padding: 0; }
@media (max-width: 767px) { .restaurant-header .container, .co-page .card > section.container { padding-left: 16px; padding-right: 16px; } .container { padding-left: 16px; padding-right: 16px; } .divider.has-content.choice-strip { padding-left: 16px; padding-right: 16px; } h2.is-display-heading { font-size: 26px; } .category-section-heading { font-size: 24px; } .overlay.is-modal { padding: 0; align-items: flex-end; } .overlay.is-modal .card { max-width: none; border-radius: var(--r-lg) var(--r-lg) 0 0; } .overlay.is-menu .card { width: 100%; } .product-listing-with-image { grid-template-columns: minmax(0, 1fr) 110px; } .product-image { width: 110px; height: 88px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ==========================================================================
   Home / phone match (measured from the delivereasy-style mobile home screenshot, 443px wide)
   ========================================================================== */
.home-page { background: #f9f4f0; }
html:has(#colour-scheme-dark:checked) .home-page { background: var(--bg); }
.container { padding-left: 24px; padding-right: 24px; }
.logo > svg { width: 150px; height: 27px; }

/* header: logo + icons on row 1, plain "ASAP -> address" row 2 (no pills) */
#base-header { border-bottom: 0; }
@media (max-width: 1023px) {
    #base-header > .container { padding-top: 23px; padding-bottom: 27px; row-gap: 25px; }
    /* on phones the tall header scrolls away (a 140px sticky bar would eat the screen); sticky bars below it then pin to the very top */
    #base-header.is-sticky { position: static; }
    :root { --header-h: 0px !important; }
}
.menu-and-search { gap: 0; }
.menu-and-search .button.is-icon-only { width: 40px; }
.option-bar { gap: 14px; flex-wrap: nowrap; }
.option-bar > .icon { width: 20px; height: 20px; color: var(--text); }
.link-selector { min-height: 0; padding: 0; border-radius: 0; background: none; font-size: 17px; font-weight: 400; gap: 8px; }
.link-selector:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.link-selector .icon { width: 22px; height: 22px; }
.link-selector > span { gap: 10px; }

/* yellow promo strip */
.notice.is-deal { padding: 17px max(24px, calc((100% - var(--wrap)) / 2 + 20px)); font-size: 16px; line-height: 24px; font-weight: 500; justify-content: flex-start; align-items: center; gap: 12px; }
.notice.is-deal .icon { width: 24px; height: 24px; }
.notice.is-deal .has-underline { font-weight: 600; }

/* category strip: white band with square illustrated tiles */
.divider.has-content.choice-strip { max-width: none; margin: 0; padding: 13px max(24px, calc((100% - var(--wrap)) / 2 + 20px)) 12px; gap: 8px; background: var(--bg); }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label {
    flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 102px; height: 92px; padding: 8px 4px;
    border: 1px solid #e2ddd7; border-radius: 4px; background: #fff; color: #1f1f1f; font-size: 14px; font-weight: 400; line-height: 1.2; white-space: normal; text-align: center;
}
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label img { width: 52px; height: 52px; object-fit: contain; }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label:hover { background: #fff; border-color: #bdb8b2; }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > input:checked + label { background: #fff; color: #1f1f1f; border-color: #1f1f1f; box-shadow: 0 0 0 1px #1f1f1f; }

/* sections + headings */
#dealsSection, #catSection, #picksSection, #allSection, #closedSection { padding: 32px 0 6px; }
h2.category-section-heading.is-display-heading { font-size: 20px; font-weight: 800; letter-spacing: .01em; color: #e8452c; line-height: 1.1; }
.space-mb-lg { margin-bottom: 28px; }
.choice-strip.has-one-visible { padding-left: max(24px, calc((100% - var(--wrap)) / 2 + 20px)); padding-right: 24px; max-width: none; margin: 0; }

/* restaurant cards: one big card per row on phones, 5:3 image */
.grid.has-5-breaking-columns { grid-template-columns: minmax(0, 1fr); gap: 38px 18px; }
@media (min-width: 600px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid.has-5-breaking-columns { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card.is-restaurant .image { aspect-ratio: 5 / 3; border-radius: 6px; }
.card.is-restaurant .title { margin-top: 18px; font-size: 18px; font-weight: 400; line-height: 24px; }
.card.is-restaurant:hover .title { text-decoration: none; }
.card.is-restaurant p { margin: 14px 0 0; font-size: 15px; line-height: 22px; color: #7c766e; }
.card.is-restaurant .attributes { margin-top: 13px; gap: 6px 16px; }
.card.is-restaurant .badge { font-size: 15px; color: var(--text); gap: 8px; }
.card.is-restaurant .badge .icon { width: 17px; height: 17px; fill: var(--red-ink); }
.card.is-restaurant .badge.is-deal { color: #1f1f1f; }
.card.is-restaurant .badge.is-deal .icon { fill: #1f1f1f; }
.card.is-restaurant.is-closed .image { opacity: .22; filter: grayscale(1); }
@media (max-width: 767px) { .container { padding-left: 24px; padding-right: 24px; } .divider.has-content.choice-strip { padding-left: 24px; padding-right: 24px; } }

/* ==========================================================================
   Round 4: calmer header + icons, auth pages, shared page components, checkout
   ========================================================================== */
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--field); }
.icon-btn .fd-ic { width: 22px; height: 22px; }
.icon-btn.is-small { width: 34px; height: 34px; }
.icon-btn.is-small .fd-ic { width: 16px; height: 16px; }
.button .fd-ic { width: 18px; height: 18px; }
.button.is-primary .fd-ic { color: #1f1f1f; }
.logo img { display: block; height: 34px; width: auto; max-width: 100%; }
.muted { color: var(--muted); }

/* header */
#base-header { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
#base-header > .container { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
.menu-and-search { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1 1 auto; min-width: 0; }
.loc-btn { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: var(--field); font: inherit; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; }
.loc-btn:hover { background: var(--peach); }
.loc-btn .fd-ic { width: 18px; height: 18px; color: var(--red-ink); flex: 0 0 auto; }
.loc-btn .fd-ic.loc-chev { color: var(--muted); width: 16px; height: 16px; margin-left: 2px; }
.loc-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.surface-title { font-size: 18px; margin: 0 0 12px; }
.text-input.has-prefix-icon > span > .fd-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.notice.is-important .fd-ic { width: 18px; height: 18px; }
.cart-count, .menu-cart-count { background: var(--red); color: #fff; }
.cart-count { top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
@media (max-width: 1023px) {
    #base-header .popover-sheet.has-fulfilment-options { order: 3; flex: 1 1 100%; }
    .loc-btn { width: 100%; }
    .loc-btn span { max-width: none; flex: 1 1 auto; text-align: left; }
    #base-header > .container { padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
}
.container .popover-sheet.has-fulfilment-options .surface .content > section + section { margin-top: 4px; }

/* menu drawer */
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 8px 14px 8px 20px; }
.drawer-nav { padding: 0 12px 28px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li a { display: flex; align-items: center; gap: 14px; padding: 13px 10px; border-radius: 10px; text-decoration: none; font-size: 17px; font-weight: 500; }
.drawer-nav li a:hover { background: var(--field); }
.drawer-nav li a .fd-ic { width: 22px; height: 22px; color: var(--muted); }
.drawer-nav li a .menu-cart-count { margin-left: auto; }
.drawer-user { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 6px; border-radius: 12px; background: var(--field); text-decoration: none; }
.drawer-user b { display: block; font-weight: 600; } .drawer-user small { color: var(--muted); }
.drawer-user > .fd-ic { margin-left: auto; color: var(--muted); width: 20px; height: 20px; }
.avatar-sm { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 12px; }
.drawer-appearance { padding: 14px 10px 4px; }
.drawer-label { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1 1 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; }
.seg input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.seg input:focus-visible + span { outline: 3px solid #d9381c66; outline-offset: 2px; }
.drawer-nav .drawer-legal { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.drawer-nav .drawer-legal a { padding: 8px 10px; font-size: 14.5px; font-weight: 400; color: var(--muted); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0 20px; }
.modal-head h2 { font-size: 20px; margin: 0; }
.overlay .modal-body { padding: 8px 20px 22px; }

/* minimal header (sign in / sign up) */
.min-header { border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.min-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.min-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 15px; }
.min-back:hover { color: var(--text); }

/* forms + alerts (shared by auth, account, addresses, events) */
.field { margin: 0 0 16px; }
.field > label, .field-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 16px; }
textarea.input { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:focus { outline: 2px solid var(--red-ink); outline-offset: -1px; border-color: transparent; }
.input::placeholder { color: var(--disabled-ink); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap .icon-btn { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 480px) { .field-row.is-stack { grid-template-columns: 1fr; } }
.hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); flex: 0 0 auto; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 15px; margin: 0 0 16px; }
.alert .fd-ic { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; }
.alert.is-error { background: #fde8e6; color: #b3261e; }
.alert.is-ok { background: #e4f4ea; color: #1f6b3d; }
.alert.is-info { background: #fff2d6; color: #7a4f00; }
.link { color: var(--red); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.button.is-danger { background: #c62828; border-color: #c62828; color: #fff; }
.button.is-small { min-height: 36px; padding: 6px 14px; font-size: 14.5px; }
.button .spin, .spin { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fd-spin .7s linear infinite; }
@keyframes fd-spin { to { transform: rotate(360deg); } }

/* auth */
.auth-shell { display: grid; place-items: start center; padding: 28px 16px 56px; }
.auth-card { width: 100%; max-width: 440px; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(31, 31, 31, .06); }
.auth-card h1 { font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.auth-sub { color: var(--muted); margin: 0 0 22px; }
.auth-links { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.auth-links p { margin: 0 0 8px; }
.auth-links a { color: var(--red); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.cart-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin: 0 0 18px; border-radius: 10px; background: var(--peach); font-size: 15px; }
.cart-note .fd-ic { color: var(--red-ink); flex: 0 0 auto; }
.auth-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--red-ink); }
.auth-icon.is-ok { background: #e4f4ea; color: #1f6b3d; }
.auth-icon .fd-ic { width: 28px; height: 28px; }
.auth-center { text-align: center; }
details.opt > summary { cursor: pointer; color: var(--red); font-weight: 600; font-size: 15px; list-style: none; margin: 0 0 12px; }
details.opt > summary::-webkit-details-marker { display: none; }

/* generic page + components */
.page-wrap { padding-bottom: 72px; }
.narrow { max-width: 760px; margin: 0 auto; }
.page-head { padding: 22px 0 10px; }
.page-head h1 { font-size: 28px; font-weight: 700; margin: 0 0 4px; }
.page-head p { color: var(--muted); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back-link:hover { color: var(--text); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.panel-pad { padding: 20px; }
.panel + .panel, .panel + .panel-gap { margin-top: 16px; }
.panel-title { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { justify-content: space-between; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15.5px; }
.kv.total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tab:hover { background: var(--peach); }
.tab.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.tab .count { font-size: 12.5px; opacity: .75; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff2d6; color: #7a4f00; font-size: 12.5px; font-weight: 600; text-transform: capitalize; }
.status.is-ok { background: #e4f4ea; color: #1f6b3d; } .status.is-bad { background: #fde8e6; color: #b3261e; } .status.is-live { background: #e8f0ff; color: #1d4fb8; }
.empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.empty .fd-ic { width: 40px; height: 40px; margin-bottom: 10px; color: var(--disabled-ink); }
.empty h3 { color: var(--text); margin: 0 0 6px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--peach) center / cover no-repeat; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: var(--red); flex: 0 0 auto; overflow: hidden; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer; }
.switch-row + .switch-row { border-top: 1px solid var(--line-soft); }
.switch-row small { display: block; color: var(--muted); }
.switch { position: relative; width: 46px; height: 28px; flex: 0 0 auto; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .15s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch input:checked + i { background: var(--red); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid #d9381c66; outline-offset: 2px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat b { display: block; font-size: 24px; } .stat span { color: var(--muted); font-size: 14px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a, .menu-list button.row-link { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; border: 0; background: none; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.menu-list li + li { border-top: 1px solid var(--line-soft); }
.menu-list .fd-ic { color: var(--muted); }
.menu-list .grow { flex: 1 1 auto; min-width: 0; } .menu-list .grow small { display: block; color: var(--muted); }
.menu-list .fd-ic.chev { width: 18px; height: 18px; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* orders */
.order-card { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: inherit; text-decoration: none; }
.order-card + .order-card { margin-top: 12px; }
.order-card:hover { border-color: var(--text); }
.order-card h3 { font-size: 17px; margin: 0; }
.order-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 20px 34px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 7px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.steps li::after { content: ""; position: absolute; left: 13px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; } .steps li:last-child::after { display: none; }
.steps li.is-done { color: var(--text); } .steps li.is-done::before { background: var(--red); border-color: var(--red); }
.steps li.is-now { color: var(--text); font-weight: 600; } .steps li.is-now::before { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217, 56, 28, .16); }
.item-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.item-line + .item-line { border-top: 1px solid var(--line-soft); }
.item-line small { display: block; color: var(--muted); }

/* addresses */
.addr-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.addr-card .fd-ic.pinic { width: 22px; height: 22px; color: var(--red-ink); margin-top: 2px; flex: 0 0 auto; }
.addr-card h3 { font-size: 16px; margin: 0 0 2px; }
.addr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--peach); font-size: 12px; font-weight: 600; color: var(--text); vertical-align: 2px; }

/* events */
.event-grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.event-card { display: block; color: inherit; text-decoration: none; }
.event-card .flyer { aspect-ratio: 4 / 5; border-radius: 14px; background: var(--peach) center / cover no-repeat; }
.event-card h3 { font-size: 17px; margin: 12px 0 2px; }
.event-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.event-card .price { margin-top: 4px; font-weight: 700; }
.event-hero { aspect-ratio: 16 / 9; border-radius: 16px; background: var(--peach) center / cover no-repeat; }
.qty-pick { display: inline-flex; align-items: center; gap: 16px; }
.qty-pick button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.qty-pick button[disabled] { opacity: .4; cursor: default; }
.qty-pick output { min-width: 24px; text-align: center; font-weight: 700; font-size: 18px; }

/* legal pages */
.prose { max-width: 760px; margin: 0 auto; padding: 8px 0 72px; }
.prose h1 { font-size: 32px; margin: 18px 0 6px; }
.prose h2 { font-size: 21px; margin: 32px 0 8px; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

/* ==== checkout ==== */
.co-wrap { padding-bottom: 120px; }
.co-head { display: flex; align-items: center; gap: 12px; padding: 18px 0 12px; }
.co-head h1 { font-size: 26px; margin: 0; }
.co-head small { display: block; color: var(--muted); font-size: 14.5px; font-weight: 400; }
.co-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 960px) { .co-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; } .co-side { position: sticky; top: calc(var(--header-h, 64px) + 16px); } }
.co-sec { padding: 20px; }
.co-sec h2 { font-size: 18px; margin: 0 0 4px; }
.co-sec .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.co-main > .co-sec + .co-sec { margin-top: 16px; }
.addr-list { display: grid; gap: 10px; margin: 12px 0; }
.addr-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.addr-opt input { position: absolute; opacity: 0; pointer-events: none; }
.addr-opt .mark { width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.addr-opt .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .12s; }
.addr-opt input:checked + .mark { border-color: var(--red); }
.addr-opt input:checked + .mark::after { transform: scale(1); }
.addr-opt:has(input:checked) { border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 1px var(--red); }
.addr-opt input:focus-visible + .mark { outline: 3px solid #d9381c66; outline-offset: 2px; }
.addr-opt .lab { font-weight: 600; } .addr-opt .txt { color: var(--muted); font-size: 14.5px; }
.map-box { height: 160px; margin: 4px 0 12px; border-radius: 12px; background: var(--peach); overflow: hidden; }
.contact-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.contact-line p { margin: 0; line-height: 1.6; }
.pay-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--peach); font-size: 15px; }
.pay-card .fd-ic { width: 24px; height: 24px; color: var(--red-ink); flex: 0 0 auto; }
.co-summary { padding: 20px; }
.co-summary h2 { font-size: 18px; margin: 0 0 12px; }
.sum-line { display: flex; gap: 12px; padding: 10px 0; }
.sum-line + .sum-line { border-top: 1px solid var(--line-soft); }
.sum-line .q { flex: 0 0 auto; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--yellow); color: #1f1f1f; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.sum-line .nm { flex: 1 1 auto; min-width: 0; font-weight: 500; }
.sum-line .nm small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; line-height: 1.4; }
.sum-line .pr { font-weight: 600; white-space: nowrap; }
.co-totals { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.co-totals .kv.total { border-top: 0; margin-top: 2px; }
.co-terms { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.co-terms a { text-decoration: underline; }
.co-pay { margin-top: 14px; min-height: 52px; font-size: 17px; font-weight: 700; }
.co-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(31, 31, 31, .08); }
.co-bar .button { min-height: 52px; font-size: 17px; font-weight: 700; }
@media (min-width: 960px) { .co-bar { display: none; } .co-wrap { padding-bottom: 72px; } }
@media (max-width: 959px) { .co-pay.is-desktop { display: none; } }
.js-pay[disabled] { background: var(--disabled); border-color: var(--disabled); color: var(--disabled-ink); }
.sum-toggle { display: none; }
@media (max-width: 959px) { .co-summary .sum-items.is-collapsed { display: none; } .sum-toggle { display: inline-flex; margin: 0 0 4px; } }
.spin.big { width: 38px; height: 38px; border-width: 3px; color: var(--red); margin: 4px auto 18px; display: block; }
.mb-0 { margin-bottom: 0; }
.pw-toggle .fd-ic:nth-of-type(2) { display: none; }
.pw-toggle.is-shown .fd-ic:nth-of-type(1) { display: none; }
.pw-toggle.is-shown .fd-ic:nth-of-type(2) { display: block; }

/* ==== listing pages (home / all / black friday) ==== */
.home-sec { padding: 24px 0 6px; }
.sec-title { font-size: 22px; font-weight: 700; margin: 0 0 16px; letter-spacing: -.01em; }
h2.sec-title { text-transform: none; color: var(--text); }
.h-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -4px; padding-left: 4px; padding-right: 4px; }
.h-scroll::-webkit-scrollbar { display: none; }
#bannerRow { align-items: flex-start; }
.banner { flex: 0 0 min(86%, 420px); scroll-snap-align: start; text-decoration: none; }
/* a banner is shown whole, at the proportions of the picture the admin uploaded. Until it has loaded it holds a 16:7 place so the page does not jump;
   an extremely tall picture is kept from taking over the screen (it is shown whole, with the tinted background beside it). */
.banner .bimg { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; aspect-ratio: 16 / 7; border-radius: 14px; background: var(--peach); }
.banner .bimg.is-ready { aspect-ratio: auto; }
.pick { flex: 0 0 168px; scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.pick .pimg { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--peach) center / cover no-repeat; }
.pick .pn { display: block; margin-top: 8px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.pick .pr { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.card.is-restaurant .image { border-radius: 14px; }
.card.is-restaurant .title { margin-top: 12px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.card.is-restaurant p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.4; -webkit-line-clamp: 1; }
.card.is-restaurant .attributes { margin-top: 6px; gap: 2px 0; }
.attributes .meta { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); }
.attributes .meta + .meta::before { content: "\00b7"; margin: 0 8px; }
.attributes .meta .fd-ic { width: 15px; height: 15px; }
.grid.has-5-breaking-columns { gap: 28px 18px; }
.closed-box > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; border-top: 1px solid var(--line-soft); }
.closed-box > summary::-webkit-details-marker { display: none; }
.closed-box[open] > summary .fd-ic { transform: rotate(180deg); }
.closed-box .grid { padding-top: 12px; }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label { width: 92px; height: 88px; gap: 6px; }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label img { width: 44px; height: 44px; }
.choice-strip .chip.is-filter-illustrated:not(.is-full-width) > label span { font-size: 13.5px; line-height: 1.2; }
.divider.has-content.choice-strip { border-bottom: 1px solid var(--line-soft); }

/* ==== home: food first ==== */
/* phones: one dish per row, a big picture on top (like the restaurant list). From 600px wide: a grid of square cards. */
.food-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 600px) { .food-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 960px) { .food-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .food-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.food-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.food-card .fimg { display: block; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--peach) center / cover no-repeat; }
.food-card:hover .fimg { filter: brightness(.96); }
.food-card .fn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.food-card .fp { display: block; margin-top: 3px; font-weight: 700; font-size: 15px; }
.food-card .fr { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.food-card .fd { display: none; }   /* the short description is only shown in the one-column phone layout below */
@media (max-width: 599px) {
    .food-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: start; }
    .food-card .fimg { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
    .food-card .fn { grid-column: 1; margin-top: 12px; font-size: 17px; line-height: 22px; overflow-wrap: anywhere; }
    .food-card .fp { grid-column: 2; margin-top: 12px; font-size: 17px; line-height: 22px; white-space: nowrap; }
    .food-card .fd { display: -webkit-box; grid-column: 1 / -1; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
    .food-card .fr { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; }
    .food-card.skel i { grid-column: 1 / -1; }
}
.food-card.skel .fimg, .food-card.skel i { background: linear-gradient(90deg, var(--field) 25%, var(--peach) 50%, var(--field) 75%); background-size: 200% 100%; animation: fd-shimmer 1.2s linear infinite; }
.food-card.skel i { display: block; height: 14px; border-radius: 6px; margin-top: 10px; }
.food-card.skel i + i { width: 55%; height: 12px; margin-top: 8px; }
@keyframes fd-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more-wrap { display: grid; place-items: center; padding: 22px 0 4px; }
.h-scroll > .card.is-restaurant { flex: 0 0 min(72%, 250px); scroll-snap-align: start; }
.card.is-restaurant.skel { pointer-events: none; }
.card.is-restaurant.skel .image, .card.is-restaurant.skel i { background: linear-gradient(90deg, var(--field) 25%, var(--peach) 50%, var(--field) 75%); background-size: 200% 100%; animation: fd-shimmer 1.2s linear infinite; }
.card.is-restaurant.skel .image { display: block; }
.card.is-restaurant.skel i { display: block; height: 14px; border-radius: 6px; margin-top: 12px; }
.card.is-restaurant.skel i + i { width: 55%; height: 12px; margin-top: 8px; }
.h-scroll .card.is-restaurant p { display: none; }

.h-scroll { scroll-padding: 0 4px; }
