/* ==========================================================
   Local Food Delivery – customer website styles (mobile first)
   ========================================================== */
:root {
  --brand: #E31B23;
  --brand-d: #B3131A;
  --brand-soft: #FFEDEE;
  --green: #1F8A3B;
  --green-d: #17702F;
  --green-soft: #E8F5EC;
  --wa: #25D366;
  --wa-d: #128C7E;
  --ink: #1C1C1C;
  --text: #3D4152;
  --muted: #686B78;
  --line: #E9E9EB;
  --bg: #FFFFFF;
  --bg-2: #F8F8F9;
  --red: #E43B4F;
  --yellow: #F5B400;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(28, 28, 28, .06), 0 10px 30px rgba(28, 28, 28, .06);
  --shadow-lg: 0 20px 50px rgba(28, 28, 28, .18);
  --hdr-h: 72px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; padding-bottom: 64px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .4em; line-height: 1.25; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
h2, .h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.center { text-align: center; }
.sec { padding-top: 28px; padding-bottom: 8px; }
.sec-sm { padding-top: 16px; padding-bottom: 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(227, 27, 35, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px; transition: transform .12s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(227, 27, 35, .28); }
.btn-primary:hover { background: var(--brand-d); }
.btn-primary:disabled { background: #f3b28f; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: #ccc; }
.btn-light { background: #fff; color: var(--brand-d); }
.btn-outline-light { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); font-size: 16px; padding: 15px 22px; }
.btn-wa:hover { background: #1ebe5b; }
.btn-wa:disabled { background: #9adbb2; box-shadow: none; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 600; padding: 0; font-size: 13px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- announcement + header ---------- */
.announce { background: linear-gradient(90deg, #111 0%, var(--brand-d) 50%, #111 100%); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 7px 12px; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.04); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; }
.brand-tx { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.brand-tx b { color: var(--brand); font-size: 17px; font-weight: 800; }
.brand-tx span { color: var(--ink); font-size: 15px; margin-top: 2px; }
.loc-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 8px; border-radius: 10px; min-width: 0; text-align: left; color: var(--ink); }
.loc-btn:hover { background: var(--bg-2); }
.loc-ic { color: var(--brand); display: flex; }
.loc-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.loc-tx small { font-size: 11px; color: var(--muted); }
.loc-tx b { font-size: 14px; font-weight: 700; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-search { display: none; position: relative; flex: 1; max-width: 460px; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.hdr-search input { border: 0; background: none; outline: 0; height: 42px; flex: 1; min-width: 0; color: var(--ink); }
.hdr-search:focus-within { border-color: var(--brand); background: #fff; }
.hdr-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.hdr-link { display: none; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--ink); background: none; border: 0; position: relative; }
.hdr-link:hover { color: var(--brand); background: var(--brand-soft); }
.hdr-link.icon-only { display: inline-flex; padding: 8px; }
.dot { position: absolute; top: 7px; right: 7px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; border: 2px solid #fff; }
.hdr-cart { display: none; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.hdr-cart:hover { color: var(--brand); }
.cart-count { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-count.zero { background: #c9c9cc; }

/* ---------- search suggestions ---------- */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; padding: 6px; max-height: 60vh; overflow: auto; text-align: left; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); }
.suggest a:hover, .suggest a.on { background: var(--bg-2); }
.suggest .s-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.suggest small { display: block; color: var(--muted); font-size: 12px; }
.suggest .s-hd { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 4px; font-weight: 600; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% 0%, #FFE0E1 0%, transparent 60%), linear-gradient(180deg, #FFF6F6 0%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 20px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #FFCFD1; color: var(--brand-d); font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { font-size: 32px; line-height: 1.12; }
.script { font-family: 'Caveat', cursive; color: var(--brand); font-size: 1.22em; font-weight: 700; }
.wa-word { color: var(--wa-d); position: relative; white-space: nowrap; }
.wa-word::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: rgba(37, 211, 102, .25); z-index: -1; border-radius: 4px; }
.lead { font-size: 16px; color: var(--muted); max-width: 560px; }
.hero-search { position: relative; display: flex; align-items: stretch; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 6px; gap: 6px; flex-wrap: wrap; max-width: 620px; }
.hero-loc { display: flex; align-items: center; gap: 6px; border: 0; background: var(--brand-soft); color: var(--brand-d); font-weight: 600; border-radius: 11px; padding: 0 12px; height: 46px; max-width: 100%; }
.hero-loc span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search input { flex: 1; min-width: 160px; border: 0; outline: 0; height: 46px; padding: 0 8px; font-size: 15px; }
.hero-search .btn { height: 46px; padding: 0 16px; }
.hero-search .btn span { display: none; }
.hero-points { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.hero-points li::before { content: '✓'; color: #fff; background: var(--green); border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-right: 6px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(300px, 75vw); height: auto; border-radius: 32px; background: #fff; padding: 10px; box-shadow: 0 30px 60px rgba(227, 27, 35, .2), 0 0 0 1px rgba(0,0,0,.04); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- section headers / scrollers ---------- */
.sec-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-hd h2 { margin: 0; }
.sec-hd small { font-size: 14px; font-weight: 500; }
.more { color: var(--brand); font-weight: 600; font-size: 14px; }
.scroll-btns { display: none; gap: 8px; }
.scroll-btns button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #E2E2E7; font-size: 20px; line-height: 1; color: var(--ink); }
.scroll-btns button:hover { background: #d4d4da; }
.hscroll { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar, .cats::-webkit-scrollbar, .banners::-webkit-scrollbar, .filters::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

/* ---------- banners ---------- */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner { position: relative; scroll-snap-align: start; border-radius: 20px; min-height: 160px; overflow: hidden; background: var(--bg); color: #fff; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, #000) 100%); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner img + .banner-tx { background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.banner-tx { position: relative; z-index: 1; max-width: 75%; }
.banner h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.banner p { font-size: 13.5px; opacity: .92; margin-bottom: 10px; }
.banner-cta { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.banner-emoji { position: absolute; right: -6px; bottom: -14px; font-size: 104px; line-height: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); transform: rotate(-8deg); }

/* ---------- categories ---------- */
.cats { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 6px 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.cats-sm { grid-template-rows: auto; margin: 6px 0 20px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; padding: 8px 4px; border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--text); text-align: center; scroll-snap-align: start; }
.cat:hover { background: var(--brand-soft); }
.cat.on { background: var(--brand-soft); color: var(--brand-d); }
.cat-ic { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(145deg, #FFF1F1, #FFDCDD); display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; box-shadow: inset 0 -4px 10px rgba(227, 27, 35,.12); }
.cat-ic img { width: 100%; height: 100%; object-fit: cover; }
.cats-sm .cat { width: 84px; }
.cats-sm .cat-ic { width: 56px; height: 56px; font-size: 28px; }

/* ---------- coupon tickets ---------- */
.tickets { grid-auto-columns: minmax(260px, 300px); }
.ticket { position: relative; border: 1.5px dashed #FFB8BB; background: linear-gradient(135deg, #FFF7F7, #fff); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.ticket-l b { display: block; color: var(--brand-d); font-size: 17px; font-weight: 800; }
.ticket-l span { font-size: 13px; color: var(--ink); font-weight: 500; }
.ticket-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ticket code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; background: #fff; border: 1px solid #FFC9CB; padding: 3px 8px; border-radius: 6px; color: var(--ink); font-size: 13px; }
.ticket-d { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.ticket-rest { grid-column: 1 / -1; font-size: 12px; font-weight: 600; color: var(--green); }
.ticket-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 18px; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; position: sticky; top: 64px; z-index: 20; background: #fff; }
.chip { flex-shrink: 0; border: 1px solid #D4D5D9; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.chip:hover { border-color: #aaa; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on::after { content: ' ✕'; font-size: 11px; }
.chip-select { appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }

/* ---------- restaurant cards ---------- */
.rgrid { display: grid; grid-template-columns: 1fr; gap: 22px 18px; }
.rgrid-row { grid-auto-columns: 78%; }
.rcard { display: flex; flex-direction: column; border-radius: var(--radius); transition: transform .18s; }
.rcard:hover { transform: scale(.975); }
.rcard-img { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; }
.rcard-img .emoji-ph { font-size: 72px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.rcard-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); pointer-events: none; }
.rcard-offer { position: absolute; left: 12px; bottom: 8px; z-index: 1; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.01em; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.tag-ck { position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.closed-tag { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.is-closed .rcard-img { filter: grayscale(.85); }
.rcard-bd { padding: 10px 4px 0 6px; }
.rcard-bd h3 { font-size: 17px; font-weight: 700; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard-meta { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); flex-wrap: wrap; }
.sep { color: var(--muted); }
.pv { font-size: 11px; color: var(--green); border: 1px solid var(--green); border-radius: 5px; padding: 0 5px; font-weight: 600; }
.cuis, .area { margin: 2px 0 0; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist:not(:empty)::before { content: ' · '; }
.dist.far { color: var(--red); }
.rate { display: inline-flex; align-items: center; gap: 3px; background: var(--green); color: #fff; font-weight: 700; font-size: 12.5px; padding: 1px 7px 1px 6px; border-radius: 6px; }
.rate-mid { background: #6CB33E; }
.rate-new { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- how / why / partner cta ---------- */
.how { background: linear-gradient(180deg, #fff, var(--brand-soft)); padding: 40px 0; margin-top: 28px; }
.steps { display: grid; gap: 16px; margin-top: 22px; }
.step { position: relative; background: #fff; border-radius: 20px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow); }
.step-n { position: absolute; top: 14px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.step-ic { font-size: 42px; margin-bottom: 8px; display: flex; justify-content: center; }
.step-ic.wa-ic svg { width: 46px; height: 46px; color: var(--wa); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.cmp-wrap { overflow-x: auto; margin-top: 18px; border-radius: 18px; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; font-size: 14px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--bg-2); font-weight: 700; color: var(--ink); }
.cmp th.us { background: var(--brand); color: #fff; }
.cmp td.us { background: #FFF7F7; font-weight: 600; color: var(--ink); }
.cmp td:first-child { font-weight: 500; color: var(--ink); }
.cmp tr:last-child td { border-bottom: 0; }
.partner-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: linear-gradient(120deg, #111 0%, #2a2a2a 55%, var(--brand-d) 100%); color: #fff; border-radius: 24px; padding: 28px 24px; }
.partner-cta h2 { color: #fff; }
.partner-cta p { opacity: .92; margin: 0; max-width: 620px; }
.seo-text { color: var(--muted); font-size: 14px; }
.seo-text h2 { font-size: 18px; }
.seo-text a { color: var(--brand-d); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 12.5px; color: var(--muted); padding: 14px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sl { opacity: .5; }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

/* ---------- restaurant page ---------- */
.rhead { border-radius: 24px; background: linear-gradient(180deg, #fff 0%, #F4F4F6 100%); padding: 0 0 16px; box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.rhead-cover { height: 130px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #000)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rhead-cover img { width: 100%; height: 100%; object-fit: cover; }
.rhead-cover .emoji-ph { font-size: 84px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.rhead-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; margin: -36px 12px 0; position: relative; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); flex-wrap: wrap; }
.rlogo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }
.rhead-main { flex: 1; min-width: 200px; }
.rhead-main h1 { font-size: 24px; margin-bottom: 2px; }
.rhead-main .cuis { white-space: normal; color: var(--brand-d); font-weight: 500; }
.rhead-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.rhead-badges span { display: inline-flex; align-items: center; gap: 4px; }
.badge-veg, .badge-ck, .badge-open, .badge-closed { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge-veg { background: var(--green-soft); color: var(--green-d); }
.badge-ck { background: #EEF2FF; color: #4338CA; }
.badge-open { background: var(--green-soft); color: var(--green-d); }
.badge-closed { background: #FDECEE; color: var(--red); }
.rhead-rate { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-align: center; }
.big-rate { color: var(--green); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 4px; justify-content: center; }
.big-rate svg { width: 16px; height: 16px; }
.rhead-rate small { font-size: 11.5px; color: var(--muted); display: block; border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 4px; }
.rhead-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 12px 0; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.rhead-stats > div { padding: 10px 8px; text-align: center; border-right: 1px solid var(--line); }
.rhead-stats > div:last-child { border-right: 0; }
.rhead-stats b { display: block; font-size: 14.5px; color: var(--ink); }
.rhead-stats small { font-size: 11.5px; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.alert-warn { background: #FFF7E0; color: #8A5A00; border: 1px solid #FFE3A3; }
.alert-err { background: #FDECEE; color: #A3162A; border: 1px solid #F8C7CE; }
.alert-ok { background: var(--green-soft); color: var(--green-d); border: 1px solid #BFE3C9; }
.alert ul { margin: 0; padding-left: 18px; }

.menu-tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0 6px; position: sticky; top: 64px; z-index: 20; background: #fff; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-search { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; background: var(--bg-2); border-radius: 12px; padding: 0 12px; color: var(--muted); border: 1px solid var(--line); }
.menu-search input { border: 0; background: none; outline: 0; height: 42px; flex: 1; min-width: 0; color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tg { width: 38px; height: 22px; border-radius: 22px; background: #D4D5D9; position: relative; transition: background .2s; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + .tg { background: var(--green); }
.toggle input:checked + .tg::after { transform: translateX(16px); }
.toggle input:focus-visible + .tg { outline: 3px solid rgba(227, 27, 35,.45); }

.menu-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.menu-nav { display: none; }
.mgroup { padding: 14px 0 6px; border-bottom: 12px solid var(--bg-2); }
.mgroup:last-of-type { border-bottom: 0; }
.mgroup h2 { font-size: 19px; padding: 6px 0 4px; }
.mgroup h2 small { color: var(--muted); font-weight: 500; font-size: 14px; }
.item { display: flex; gap: 16px; justify-content: space-between; padding: 20px 0 26px; border-bottom: 1px solid var(--line); }
.mgroup .item:last-child { border-bottom: 0; }
.item.is-na { opacity: .55; }
.item-info { flex: 1; min-width: 0; }
.item-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.fi { width: 16px; height: 16px; border: 1.6px solid var(--green); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fi::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.fi-nv { border-color: #B5371F; }
.fi-nv::after { border-radius: 0; width: 0; height: 0; background: none; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid #B5371F; }
.fi-egg { border-color: #D4A20C; }
.fi-egg::after { background: #D4A20C; }
.best { color: #D61F26; font-size: 12.5px; font-weight: 700; }
.item h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 3px; color: #3E4152; }
.price { font-size: 15px; color: var(--ink); }
.price s { color: var(--muted); font-size: 13.5px; }
.price b { font-weight: 600; }
.desc { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-media { position: relative; width: 130px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.item-img { width: 130px; height: 120px; border-radius: 14px; overflow: hidden; background: linear-gradient(145deg, #FFF1F1, #FFDCDD); display: flex; align-items: center; justify-content: center; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-img .emoji-ph { font-size: 52px; }
.add-wrap, .item-media > .add-btn.disabled { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); }
.add-btn { width: 108px; height: 38px; border-radius: 10px; border: 1px solid #D4D5D9; background: #fff; color: var(--green); font-weight: 800; font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,.08); display: inline-flex; align-items: center; justify-content: center; }
.add-btn:hover { background: #F2FBF4; }
.add-btn.disabled { font-size: 12px; color: var(--muted); font-weight: 600; cursor: not-allowed; box-shadow: none; }
.stepper { width: 108px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid #D4D5D9; box-shadow: 0 4px 10px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: space-between; color: var(--green); font-weight: 800; overflow: hidden; }
.stepper button { width: 34px; height: 100%; border: 0; background: none; color: var(--green); font-size: 20px; font-weight: 700; }
.stepper button:hover { background: #F2FBF4; }
.stepper span { font-size: 15px; min-width: 20px; text-align: center; }
.has-cartbar .menu-fab { bottom: 150px; }
.has-cartbar .menu-pop { bottom: 204px; }
.menu-fab { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 40; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; box-shadow: var(--shadow-lg); }
.menu-pop { position: fixed; bottom: 138px; left: 50%; transform: translateX(-50%); z-index: 41; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px; width: min(320px, 90vw); max-height: 50vh; overflow: auto; box-shadow: var(--shadow-lg); }
.menu-pop a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; }
.menu-pop a:hover { background: rgba(255,255,255,.1); }
.reviews { border-top: 1px solid var(--line); margin-top: 20px; }
.rv-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rv { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.rv-hd { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.rv-hd > div { flex: 1; }
.rv-hd b { display: block; color: var(--ink); font-size: 14.5px; }
.rv-hd small { font-size: 12px; }
.rv-av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-d); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rv p { margin: 0; font-size: 14px; }
.rv-reply { margin-top: 10px; background: var(--bg-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.rv-reply b { font-size: 12px; color: var(--green-d); }
.rinfo { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 20px; }

/* ---------- search / dishes ---------- */
.big-search { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid #D4D5D9; border-radius: 14px; padding: 0 16px; margin-bottom: 20px; color: var(--muted); background: #fff; }
.big-search input { border: 0; outline: 0; height: 52px; flex: 1; font-size: 16px; color: var(--ink); min-width: 0; }
.big-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227, 27, 35,.12); }
.tabs { display: flex; gap: 8px; margin: 6px 0 16px; }
.tab { border: 1px solid #D4D5D9; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dish-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.dish { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px 6px; }
.dish-rest { font-size: 13px; color: var(--muted); display: block; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.dish-rest b { color: var(--ink); }
.dish .item { border: 0; padding-bottom: 28px; }
.closed-mini { font-style: normal; font-size: 11px; color: var(--red); font-weight: 600; }
.cat-hero { display: flex; gap: 16px; align-items: center; background: var(--brand-soft); border-radius: 20px; padding: 18px; margin-bottom: 10px; }
.cat-hero-ic { font-size: 54px; width: 84px; height: 84px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cat-hero h1 { font-size: 22px; }
.cat-hero p { margin: 0; }

/* ---------- empty / loading ---------- */
.empty { text-align: center; padding: 48px 16px; }
.empty-ic { font-size: 56px; margin-bottom: 8px; }
.empty p { color: var(--muted); }
.loading-block { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 60px 0; color: var(--muted); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- forms / cards ---------- */
.card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea, .input { width: 100%; border: 1px solid #D4D5D9; border-radius: 12px; padding: 12px 14px; font-size: 15px; background: #fff; outline: 0; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus, .input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227, 27, 35,.12); }
.form .row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.done-box { text-align: center; padding: 20px 0; }
.done-box .big { font-size: 48px; }

/* ---------- support / partner / about / policy ---------- */
.support-grid { display: grid; gap: 24px; }
.help-cards { display: grid; gap: 12px; margin-bottom: 26px; }
.help-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; font-size: 26px; background: #fff; transition: box-shadow .2s; }
.help-card:hover { box-shadow: var(--shadow); }
.help-card b { display: block; font-size: 15px; color: var(--ink); }
.help-card small { font-size: 13px; color: var(--muted); }
.help-card.wa { background: #F0FBF4; border-color: #BFEACD; }
.help-card.wa svg { color: var(--wa-d); width: 34px; height: 34px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.partner-hero { background: linear-gradient(120deg, var(--brand) 0%, #F0464C 60%, #FF8A8E 100%); color: #fff; padding: 56px 0 48px; }
.partner-hero h1 { color: #fff; font-size: 32px; max-width: 640px; }
.partner-hero p { font-size: 17px; max-width: 560px; opacity: .95; }
.feature-list { display: grid; gap: 14px; margin-top: 30px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feature { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--bg-2); }
.feature > span { font-size: 28px; }
.feature b { color: var(--ink); }
.feature p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.about-grid { display: grid; gap: 28px; align-items: center; }
.about-grid img { border-radius: 32px; background: #fff; padding: 10px; max-width: 380px; margin: 0 auto; box-shadow: 0 30px 60px rgba(227, 27, 35,.2); }
.about p { font-size: 16px; }
.policy h2 { font-size: 19px; margin-top: 26px; }
.policy p, .policy li { font-size: 15px; color: var(--text); }
.policy ul { padding-left: 20px; }

/* ---------- checkout ---------- */
.co-grid { display: grid; gap: 18px; align-items: start; }
.co-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.co-card + .co-card { margin-top: 16px; }
.co-card h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-step { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.co-rest { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.co-rest-ic { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.co-rest-ic img { width: 100%; height: 100%; object-fit: cover; }
.co-rest b { display: block; color: var(--ink); font-size: 16px; }
.co-line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.co-line:last-child { border-bottom: 0; }
.co-line .nm { flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink); }
.co-line .nm small { display: block; color: var(--muted); font-size: 12.5px; }
.co-line .stepper { width: 92px; height: 34px; box-shadow: none; }
.co-line .amt { width: 64px; text-align: right; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.co-line.na { opacity: .5; }
.co-note { width: 100%; border: 1px solid var(--line); background: var(--bg-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; resize: vertical; margin-top: 10px; outline: 0; }
.co-note:focus { border-color: var(--brand); background: #fff; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; text-transform: uppercase; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--green-soft); border: 1px dashed var(--green); border-radius: 12px; padding: 10px 14px; color: var(--green-d); font-weight: 600; font-size: 14px; }
.coupon-list { display: grid; gap: 8px; margin-top: 10px; }
.coupon-opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.coupon-opt b { color: var(--ink); font-family: ui-monospace, Consolas, monospace; }
.coupon-opt small { display: block; color: var(--muted); }
.err-sm { color: var(--red); font-size: 13px; margin-top: 6px; }
.loc-box { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.loc-box .loc-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); justify-content: center; align-items: center; flex-shrink: 0; }
.loc-box div { flex: 1; min-width: 0; font-size: 14px; }
.loc-box b { display: block; color: var(--ink); }
.loc-box.missing { border-color: #F8C7CE; background: #FFF6F7; }
.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: #FFF7F7; }
.pay-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.bill-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text); }
.bill-row small { display: block; font-size: 12px; color: var(--muted); }
.bill-row.disc { color: var(--green-d); font-weight: 600; }
.bill-total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 17px; color: var(--ink); }
.free { color: var(--green-d); font-weight: 700; }
.saving { background: var(--green-soft); color: var(--green-d); text-align: center; font-weight: 600; font-size: 13.5px; padding: 8px; border-radius: 10px; margin-top: 10px; }
.wa-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.co-side { order: 0; }
.item.flash { animation: flash 2s ease-out; border-radius: 12px; }
@keyframes flash { 0%, 40% { background: var(--brand-soft); } }
.progress-hint { background: var(--brand-soft); color: var(--brand-d); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; margin-top: 10px; }

/* ---------- order tracking ---------- */
.track-hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--brand-soft); color: var(--brand-d); }
.status-pill.delivered { background: var(--green-soft); color: var(--green-d); }
.status-pill.cancelled { background: #FDECEE; color: var(--red); }
.timeline { list-style: none; padding: 0; margin: 18px 0 0; }
.timeline li { position: relative; padding: 0 0 22px 38px; color: var(--muted); font-size: 14.5px; }
.timeline li::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li .tl-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.current .tl-dot { box-shadow: 0 0 0 6px rgba(31,138,59,.18); }
.timeline small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.wa-hero { text-align: center; padding: 26px 18px; background: linear-gradient(180deg, #F0FBF4, #fff); border: 1px solid #BFEACD; border-radius: 20px; }
.wa-hero .wa-big { width: 74px; height: 74px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 10px 30px rgba(37,211,102,.4); animation: pulse 1.6s infinite; }
.wa-hero .wa-big svg { width: 40px; height: 40px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
.stars { display: flex; gap: 6px; font-size: 32px; justify-content: center; margin: 8px 0; }
.stars button { background: none; border: 0; color: #D4D5D9; padding: 0; line-height: 1; transition: transform .1s; }
.stars button.on { color: var(--yellow); }
.stars button:hover { transform: scale(1.15); }
.order-list { display: grid; gap: 14px; }
.order-card { display: block; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px; }
.order-card:hover { box-shadow: var(--shadow-lg); }
.order-card .oc-hd { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.order-card b { color: var(--ink); }
.order-card .oc-items { color: var(--muted); font-size: 13.5px; margin: 8px 0; }
.order-card .oc-ft { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; font-size: 14px; }

/* ---------- footer ---------- */
.ftr { background: #0F0F10; color: #B7B7BD; margin-top: 48px; padding: 40px 0 20px; font-size: 14px; }
.ftr-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; }
.ftr .brand-tx span { color: #fff; }
.ftr .brand-tx b { color: #FF4D53; }
.ftr-brand p { margin-top: 12px; max-width: 360px; }
.ftr-motto { font-family: 'Caveat', cursive; font-size: 22px; color: #FF8A8E; }
.ftr h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.ftr-grid a, .ftr-addr { display: block; padding: 4px 0; }
.ftr-grid a:hover { color: #fff; }
.ftr-social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.ftr-bottom { border-top: 1px solid #262629; margin-top: 30px; padding-top: 18px; font-size: 13px; }

/* ---------- mobile bottom nav + floating ---------- */
.bnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -2px 14px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
.bnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
.bnav a.on { color: var(--brand); }
.bnav .cart-count { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 10px; }
.wa-float { position: fixed; right: 16px; bottom: 80px; z-index: 44; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 46; padding: 0 12px 8px; }
.cartbar-in { display: flex; justify-content: space-between; align-items: center; background: var(--green); color: #fff; border-radius: 14px; padding: 12px 16px; font-weight: 700; box-shadow: 0 10px 26px rgba(31,138,59,.4); max-width: 820px; margin: 0 auto; }
.cartbar-in > span { display: flex; align-items: center; gap: 6px; }
.cartbar-in small { display: block; font-weight: 500; font-size: 11.5px; opacity: .9; }
.cartbar-in > span:first-child { display: block; }
.has-cartbar .wa-float { bottom: 140px; }

/* ---------- modal / drawer / toast ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; background: rgba(15,15,16,.55); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { background: #fff; width: 100%; max-width: 440px; border-radius: 22px 22px 0 0; max-height: 92vh; display: flex; flex-direction: column; animation: up .22s ease-out; }
.modal-lg { max-width: 620px; }
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.modal-hd { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.modal-hd h3 { margin: 0; font-size: 18px; }
.modal-bd { padding: 16px 18px; overflow: auto; }
.modal-ft { padding: 12px 18px 18px; border-top: 1px solid var(--line); }
.modal-ft.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg-2); font-size: 22px; line-height: 1; color: var(--ink); }
.btn-gps { width: 100%; background: var(--brand-soft); color: var(--brand-d); border: 1px solid #FFC9CB; }
.loc-search { position: relative; margin: 12px 0 6px; }
.loc-search input { width: 100%; border: 1px solid #D4D5D9; border-radius: 12px; padding: 12px 14px; outline: 0; }
.loc-search input:focus { border-color: var(--brand); }
.loc-results { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 5; max-height: 220px; overflow: auto; }
.loc-results button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.loc-results button:hover { background: var(--bg-2); }
.map-wrap { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map { height: 300px; background: #eef0f2; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--brand); z-index: 500; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.map-pin svg { width: 40px; height: 40px; fill: var(--brand); stroke: #fff; stroke-width: 1.5; }
.loc-picked { margin: 10px 0 0; font-size: 13.5px; color: var(--ink); font-weight: 500; min-height: 20px; }
.drawer { justify-content: flex-end; align-items: stretch; }
.drawer-box { background: #fff; width: min(400px, 92vw); height: 100%; display: flex; flex-direction: column; animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: .5; } }
.drawer-bd { overflow: auto; padding: 8px 18px 18px; }
.notif { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notif b { color: var(--ink); font-size: 14.5px; display: block; }
.notif p { margin: 2px 0; font-size: 13.5px; color: var(--muted); }
.notif small { font-size: 12px; color: var(--muted); }
.notif.new b::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.toast { position: fixed; left: 50%; bottom: 150px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 200; opacity: 0; pointer-events: none; transition: all .25s; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (max-width: 599px) {
  .brand-logo { width: 42px; height: 42px; }
  .brand-tx b { font-size: 14px; }
  .brand-tx span { font-size: 12.5px; }
  .announce { font-size: 12px; padding: 6px 10px; }
  .hero h1 { font-size: 28px; }
  .lead { font-size: 14.5px; }
  .hero-art { display: none; }
  .hero-loc { flex: 1 1 100%; justify-content: flex-start; }
  .hero-loc span { max-width: none; }
  .hero-search input { flex: 1; min-width: 0; }
  .hero-points { font-size: 12.5px; }
  /* compact horizontal restaurant cards on phones */
  .rgrid { gap: 18px; }
  .rgrid .rcard { flex-direction: row; align-items: center; gap: 14px; }
  .rgrid .rcard:hover { transform: none; }
  .rgrid .rcard-img { width: 132px; flex-shrink: 0; aspect-ratio: 4/5; border-radius: 16px; }
  .rgrid .rcard-img .emoji-ph { font-size: 52px; }
  .rgrid .rcard-offer { font-size: 13px; left: 8px; right: 8px; bottom: 6px; line-height: 1.15; }
  .rgrid .rcard-bd { padding: 0; min-width: 0; flex: 1; }
  .rgrid .rcard-bd h3 { font-size: 16px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .rgrid .cuis, .rgrid .area { font-size: 13px; }
  .rgrid .area { white-space: normal; }
  .rgrid-row { grid-auto-columns: 72%; }
  .rgrid-row .rcard-img { aspect-ratio: 16/11; }
}
@media (min-width: 600px) {
  .rgrid { grid-template-columns: repeat(2, 1fr); }
  .rgrid-row { grid-auto-columns: 46%; }
  .banners { grid-auto-columns: 60%; }
  .hero-search .btn span { display: inline; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .help-cards { grid-template-columns: repeat(3, 1fr); }
  .help-card { flex-direction: column; text-align: center; }
  .modal { align-items: center; padding: 20px; }
  .modal-box { border-radius: 22px; }
  .item-media, .item-img { width: 156px; }
  .item-img { height: 144px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bnav { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
  .cartbar { bottom: 0; padding-bottom: 16px; }
  .has-cartbar .wa-float { bottom: 96px; }
  .hdr-in { height: 76px; gap: 18px; }
  .hdr-search { display: flex; }
  .hdr-link, .hdr-cart { display: inline-flex; }
  .filters, .menu-tools { top: 76px; }
  .hero-in { grid-template-columns: 1.2fr .8fr; padding-top: 48px; padding-bottom: 40px; }
  .hero h1 { font-size: 48px; }
  .hero-art img { width: 400px; }
  .banners { grid-auto-columns: calc((100% - 28px) / 3); }
  .banner { min-height: 190px; }
  .scroll-btns { display: flex; }
  .cats { grid-template-rows: auto; }
  .cat { width: 120px; }
  .cat-ic { width: 96px; height: 96px; font-size: 46px; }
  .rgrid { grid-template-columns: repeat(3, 1fr); }
  .rgrid-row { grid-auto-columns: calc((100% - 42px) / 4); }
  .partner-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 40px; }
  .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; }
  .ftr-brand { grid-column: auto; }
  .rhead { display: grid; grid-template-columns: 1fr; }
  .rhead-cover { height: 200px; }
  .rhead-card { margin: -50px 24px 0; padding: 22px 24px; }
  .rhead-main h1 { font-size: 30px; }
  .rhead-stats { margin: 16px 24px 0; }
  .menu-layout { grid-template-columns: 220px 1fr; }
  .menu-nav { display: flex; flex-direction: column; position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; border-right: 1px solid var(--line); padding-right: 12px; }
  .menu-nav a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); }
  .menu-nav a small { color: var(--muted); }
  .menu-nav a:hover { background: var(--bg-2); }
  .menu-nav a.on { background: var(--brand-soft); color: var(--brand-d); font-weight: 700; }
  .menu-search { flex: 0 1 360px; }
  .menu-fab, .menu-pop { display: none !important; }
  .support-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .about-grid { grid-template-columns: 1.2fr .8fr; }
  .co-grid { grid-template-columns: 1.35fr 1fr; }
  .co-side { order: 2; position: sticky; top: 92px; }
  .partner-hero h1 { font-size: 42px; }
  .toast { bottom: 40px; }
  h1 { font-size: 32px; }
}
@media (min-width: 1200px) {
  .rgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
