:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3eee6;
  --ink: #1f1b16;
  --muted: #6f655a;
  --line: #e6ded2;
  --brand: #c2410c;
  --brand-ink: #ffffff;
  --brand-soft: #fde8dc;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --info: #1d4ed8;
  --info-soft: #dbeafe;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(31, 27, 22, .06), 0 4px 16px rgba(31, 27, 22, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 12px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 16px; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--brand); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 10px;
  padding: 10px 16px; font: 600 15px var(--font); cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-ink); transition: filter .15s, background .15s; }
.btn:hover { filter: brightness(.95); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.danger { background: var(--bad); }
.btn.ok { background: var(--ok); }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 14px 22px; font-size: 16px; }
.btn.block { width: 100%; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input, select, textarea { width: 100%; font: 15px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
input[type=checkbox] { width: auto; }
textarea { min-height: 80px; resize: vertical; }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink); font-size: 15px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.badge.confirmed { background: var(--info-soft); color: var(--info); }
.badge.seated { background: var(--ok-soft); color: var(--ok); }
.badge.completed { background: var(--surface-2); color: var(--muted); }
.badge.cancelled { background: var(--bad-soft); color: var(--bad); }
.badge.no_show { background: var(--warn-soft); color: var(--warn); }
.alert { padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); color: #78350f; font-size: 14px; }
.alert.error { background: var(--bad-soft); color: var(--bad); }
.alert.ok { background: var(--ok-soft); color: #14532d; }

/* Hero / search */
.hero { background: linear-gradient(135deg, #2b1a10 0%, #5b2a12 55%, #c2410c 120%); color: #fff; padding: 64px 0 88px; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); max-width: 720px; }
.hero p { color: #f5e6d8; font-size: 18px; max-width: 560px; }
.search-bar { margin-top: 28px; background: var(--surface); border-radius: 14px; padding: 10px; display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr 1.1fr auto; gap: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.search-bar input, .search-bar select { border: none; background: var(--surface-2); }
@media (max-width: 820px) { .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .btn, .search-bar #cuisine { grid-column: span 2; } }
.results { margin-top: -48px; padding-bottom: 64px; }
.results-head { color: #fff; margin-bottom: 14px; min-height: 24px; }
.r-card { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px; margin-bottom: 14px; }
.r-thumb { text-decoration: none; width: 120px; height: 120px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 40px; font-weight: 700; background-size: cover; background-position: center; }
.r-card h3 { font-size: 20px; margin-bottom: 2px; }
.r-card h3 a { color: var(--ink); text-decoration: none; }
.r-meta { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .r-card { grid-template-columns: 72px 1fr; } .r-thumb { width: 72px; height: 72px; font-size: 26px; } }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.slot { border: none; background: var(--brand); color: #fff; font: 600 14px var(--font); padding: 8px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; min-width: 78px; text-align: center; }
.slot:hover { filter: brightness(.92); }
.slot.off { background: var(--surface-2); color: #b6aa9c; cursor: not-allowed; text-decoration: line-through; }
.slot.selected { outline: 3px solid var(--ink); }

/* Sections */
.section { padding: 56px 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature h3 { font-size: 17px; }
.price-card { text-align: center; max-width: 420px; margin: 0 auto; }
.price { font-family: var(--serif); font-size: 56px; font-weight: 700; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }

/* Booking flow */
.booking { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 32px 0 64px; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
.r-banner { height: 200px; border-radius: 16px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 22px; color: #fff; }
.r-banner h1 { font-size: 36px; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shift-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 14px; }
.confirm-box { text-align: center; padding: 30px 20px; }
.confirm-box .code { font-family: ui-monospace, monospace; font-size: 22px; letter-spacing: .12em; background: var(--surface-2); padding: 6px 14px; border-radius: 8px; display: inline-block; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 30px; margin: 0 auto 10px; }

/* Toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.error { background: var(--bad); }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(31,27,22,.45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { font-size: 20px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:hover td { background: #fcfaf7; }
.table-wrap { overflow-x: auto; }

/* Pick for me + featured */
.mode-tabs { display: inline-flex; gap: 4px; margin-top: 26px; background: rgba(255,255,255,.12); padding: 4px; border-radius: 12px; }
.mode-tabs button { border: 0; background: transparent; color: #f5e6d8; font: 600 14px var(--font); padding: 9px 14px; border-radius: 9px; cursor: pointer; }
.mode-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.mode-tabs + .search-bar { margin-top: 10px; }
.prefs { grid-column: 1 / -1; display: grid; gap: 10px; padding: 8px 6px 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.pref-group { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: start; }
.pref-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 8px; }
@media (max-width: 560px) { .pref-group { grid-template-columns: 1fr; gap: 4px; } .pref-label { padding-top: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip:focus-visible, .mode-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tagchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tagchip { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tagchip.hit { background: var(--ok-soft); color: var(--ok); }
.feat-badge { display: inline-block; vertical-align: middle; font: 700 11px var(--font); letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); }
.pick-card { padding: 0; overflow: hidden; margin-bottom: 8px; }
.pick-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--ink); color: #fff; }
.pick-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.match { font-weight: 700; background: var(--ok); padding: 3px 10px; border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }
.pick-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 20px; }
.r-thumb.big { width: 180px; height: 180px; font-size: 56px; }
@media (max-width: 640px) { .pick-body { grid-template-columns: 1fr; } .r-thumb.big { width: 100%; height: 140px; } }
.reasons { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; font-size: 15px; }
.slot.best { outline: 3px solid var(--ink); outline-offset: 1px; }
.slot.sm { min-width: 0; padding: 6px 10px; font-size: 13px; }
.featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 14px; }
.mini { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mini-img { height: 110px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 36px; font-weight: 700; text-decoration: none; background-size: cover; background-position: center; }
.mini-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mini-body .slots { margin-top: auto; padding-top: 10px; }

/* Restaurant page */
.r-hero { position: relative; margin-top: 24px; min-height: 300px; border-radius: 20px; background-size: cover; background-position: center; overflow: hidden; display: flex; align-items: flex-end; gap: 18px; padding: 24px; color: #fff; flex-wrap: wrap; }
.r-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.65)); }
.r-hero > * { position: relative; }
.r-hero-logo { width: 104px; height: 104px; border-radius: 50%; border: 4px solid #fff; background-size: cover; background-position: center; flex: none; display: grid; place-items: center; font: 700 36px var(--serif); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.r-hero-text { flex: 1; min-width: 200px; }
.r-hero h1 { font-size: 42px; margin: 0 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.r-hero-meta { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.r-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.light { background: rgba(255,255,255,.94); color: var(--ink); border-color: transparent; }
.btn.light:hover { background: #fff; }
.open-badge { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-shadow: none; }
.open-badge.yes { background: #dcfce7; color: #166534; }
.open-badge.no { background: #fee2e2; color: #991b1b; }
@media (max-width: 600px) { .r-hero { min-height: 260px; padding: 18px; } .r-hero-logo { width: 72px; height: 72px; font-size: 26px; } .r-hero h1 { font-size: 30px; } }
.booking { padding-top: 20px; }
.sticky-book { position: sticky; top: 16px; }
@media (max-width: 860px) { .sticky-book { position: static; } }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 700; color: var(--ink); }
.menu-chips { margin: 14px 0 4px; }
.chip .cnt { opacity: .65; font-size: 12px; }
.menu-h { font-family: var(--serif); font-size: 20px; margin: 22px 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dish-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.dtag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #ecfdf3; color: #166534; white-space: nowrap; }

/* Phone polish */
.nav a { white-space: nowrap; }
.show-xs { display: none; }
@media (max-width: 480px) {
  .site-header .container { gap: 10px; height: 58px; }
  .logo { font-size: 20px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .nav .hide-xs { display: none; }
  .nav .show-xs { display: inline; }
}
.mobile-book { display: none; }
@media (max-width: 860px) {
  .mobile-book { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); font-size: 16px; padding: 14px; border-radius: 12px; }
  body.has-mobile-book { padding-bottom: 84px; }
  #booking { scroll-margin-top: 70px; }
}
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.perks span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
@media (max-width: 480px) { .perks span { font-size: 13px; padding: 5px 10px; } .hero { padding: 40px 0 72px; } }

/* Home page: light, calm hero */
.home .hero { background: radial-gradient(1200px 420px at 85% -10%, #fde7d6 0%, rgba(253,231,214,0) 60%), var(--bg); color: var(--ink); padding: 64px 0 40px; }
.home .hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -.01em; margin: 0 0 10px; }
.home .hero p { color: var(--muted); font-size: 18px; margin: 0; }
.home .mode-tabs { background: var(--surface-2); margin-top: 28px; }
.home .mode-tabs button { color: var(--muted); }
.home .mode-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.home .search-bar { box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(60,30,10,.08); border: 1px solid var(--line); }
.home .results { margin-top: 0; padding-bottom: 24px; }
.home .results-head { color: var(--ink); }
.home .section { padding: 40px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step h3 { font-size: 16px; margin: 2px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft, #fde7d6); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.owner-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
@media (max-width: 700px) {
  .home .hero { padding: 32px 0 24px; }
  .home .hero h1 { font-size: 34px; }
  .home .hero p { font-size: 16px; }
  .home .mode-tabs { margin-top: 20px; }
  .home .search-bar { padding: 8px; }
  .home .search-bar #zip { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
  .owner-cta .btn { width: 100%; justify-content: center; }
}
/* iPhone zooms into fields under 16px; keep them at 16px on phones. */
@media (max-width: 700px) { input, select, textarea { font-size: 16px !important; } }
.search-bar > div { display: flex; } .search-bar > div > input { flex: 1; min-height: 48px; }

/* Find your restaurant (signup) */
.find-box { background: var(--brand-soft); border: 1px solid #f6cfb6; border-radius: 12px; padding: 14px; margin: 4px 0 18px; }
.find-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; }
.find-results { display: grid; gap: 6px; margin-top: 10px; }
.find-results:empty { display: none; }
.find-item { display: grid; gap: 2px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.find-item:hover { border-color: var(--brand); }
.find-item .tagchip { justify-self: start; margin-top: 4px; }
@media (max-width: 560px) { .find-row { grid-template-columns: 1fr 1fr; } .find-row .btn { grid-column: span 2; } }

/* Hearts (likes) */
.heart { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 14px var(--font); cursor: pointer; line-height: 1; }
.heart i { font-style: normal; font-size: 16px; color: #e11d48; }
.heart.on { background: #fff1f2; border-color: #fecdd3; }
.heart span:empty { display: none; }
.heart.light { background: rgba(255,255,255,.92); border-color: transparent; padding: 10px 14px; border-radius: 10px; }
.heart.sm { padding: 3px 8px; font-size: 12px; margin-left: 8px; vertical-align: middle; }
.heart.sm i { font-size: 13px; }
.heart.on-photo { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.heart.pop i { animation: heartpop .35s ease; }
@keyframes heartpop { 0% { transform: scale(1); } 50% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .heart.pop i { animation: none; } }
/* Gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin-top: 12px; }
.gal-item { position: relative; margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-big { margin: 0 0 12px; }
.gal-big img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; background: #000; }
.gal-big figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
@media (max-width: 480px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
/* Trending on home */
.trend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 14px; }
.trend { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; display: block; }
.trend .ph { aspect-ratio: 4 / 3; position: relative; background: var(--surface-2); }
.trend .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trend .tx { padding: 10px 12px; }
.trend .tx b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend .tx span { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .trend-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .trend .tx { padding: 8px 10px; } .trend .tx b { font-size: 14px; } }
.dish-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dish-price .heart.sm { margin-left: 0; }
.loves { color: #e11d48; font-weight: 600; }

/* Website import choices */
.site-row { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 560px) { .site-row { grid-template-columns: minmax(0, 1fr) auto; } .site-row .btn { grid-column: auto; } }
.site-picks { display: grid; gap: 6px; margin-top: 10px; }
.site-pick { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.site-pick > input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.site-pick > span { display: grid; gap: 2px; min-width: 0; }
.site-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.site-img { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--surface-2); cursor: pointer; opacity: .35; }
.site-img.on { border-color: var(--brand); opacity: 1; }
.site-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-logo { max-height: 40px; max-width: 120px; object-fit: contain; margin-top: 4px; }
.site-pick, .site-pick label { font-size: 15px; color: var(--ink); font-weight: 400; text-transform: none; letter-spacing: 0; margin: 0; }
.site-pick b { font-weight: 600; }
.site-pick .muted { color: var(--muted); font-weight: 400; }

/* Dish options (sizes, add-ons) */
.dish-opts { margin-top: 4px; display: grid; gap: 2px; }

/* ---------- For restaurants: pricing comparison ---------- */
.pc { max-width: 1040px; margin: 0 auto; }
.pc-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.pc-title { font-size: clamp(30px, 5vw, 44px); }
.pc-lede { font-size: 19px; margin: 0 0 8px; }
.pc-price { margin: 22px 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.pc-price b { font-size: clamp(56px, 10vw, 80px); color: var(--brand); line-height: 1; }
.pc-just, .pc-per { font-size: 20px; color: var(--muted); }
.pc-terms { font-weight: 600; margin: 0; }
.pc-h { font-size: clamp(22px, 3.4vw, 28px); text-align: center; margin: 48px 0 14px; }
.pc-banner { text-align: center; background: var(--brand-soft); color: #7c2d12; border-radius: var(--radius); padding: 14px 18px; margin: 0 auto 16px; max-width: 760px; }
.pc-table-wrap { padding: 0; overflow: hidden; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pc-table th, .pc-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.pc-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.pc-table tbody tr:last-child th, .pc-table tbody tr:last-child td { border-bottom: none; }
.pc-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-table tbody th { font-weight: 600; }
.pc-me { background: var(--brand); color: #fff; }
.pc-me th, .pc-me td { border-bottom-color: transparent; font-weight: 700; }
.pc-me td.num { font-size: 18px; }
.pc-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: var(--brand); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.pc-fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.pc-fine.center { text-align: center; }
.pc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pc-save { text-align: center; padding: 28px 18px; border-top: 4px solid var(--brand); }
.pc-save-n { font-size: clamp(34px, 5vw, 46px); color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pc-save-n small { font-size: 17px; color: var(--muted); font-family: var(--font); font-weight: 500; margin-left: 2px; }
.pc-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 48px; align-items: start; }
.pc-list h3, .pc-calc h3 { font-size: 22px; }
.pc-brand { color: var(--brand); }
.pc-checks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pc-checks li { position: relative; padding-left: 26px; }
.pc-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }
.pc-input { margin: 10px 0 14px; }
.pc-input input { font-size: 22px; font-weight: 600; }
.pc-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-calc-grid > div { background: var(--brand-soft); border-radius: 10px; padding: 14px; display: grid; }
.pc-calc-grid b { font-size: 30px; color: #7c2d12; font-variant-numeric: tabular-nums; }
.pc-size { max-width: 680px; margin: 0 auto; text-align: center; }
.pc-cta { margin-top: 48px; text-align: center; background: linear-gradient(135deg, #c2410c, #9a3412); color: #fff; border-radius: 18px; padding: 44px 24px; }
.pc-cta h3 { font-size: clamp(24px, 4vw, 32px); max-width: 620px; margin: 0 auto 8px; }
.pc-cta p { margin: 0 0 6px; opacity: .95; }
.pc-cta-price { font-size: 18px; }
.pc-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pc-go { background: #fff; color: #7c2d12; }
.pc-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
@media (max-width: 820px) {
  .pc-split { grid-template-columns: 1fr; }
  .pc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pc-checks { grid-template-columns: 1fr; }
  .pc-table thead { display: none; }
  .pc-table, .pc-table tbody, .pc-table tr, .pc-table th, .pc-table td { display: block; width: 100%; }
  .pc-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .pc-table th, .pc-table td { border: none; padding: 3px 0; }
  .pc-table tbody th { font-size: 17px; margin-bottom: 4px; }
  .pc-table td { display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .pc-table td::before { content: attr(data-label); color: var(--muted); font-weight: 500; text-align: left; }
  .pc-me td::before { color: rgba(255,255,255,.85); }
  .pc-input input { font-size: 22px; }
  .pc-btns .btn { width: 100%; }
}
.pc-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding-left: 12px; }
.pc-input span { color: var(--muted); font-size: 22px; } .pc-input input { border: 0; box-shadow: none; outline: none; width: 100%; padding: 10px; background: transparent; }
.pc-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* Hashtags: every restaurant has one */
.r-tagline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; opacity: .95; }
.r-hashtag { font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.r-hashtag.sm { color: var(--brand); background: var(--brand-soft); border-color: transparent; font-size: 13px; cursor: default; margin-left: 8px; }
.r-card-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; margin: -2px 0 4px; }
.tag-find { display: flex; align-items: center; gap: 6px; max-width: 520px; margin: 14px auto 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; box-shadow: var(--shadow); }
.tag-find span { font-weight: 800; color: var(--brand); font-size: 18px; }
.tag-find input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; background: transparent; padding: 8px 4px; }
.tag-find .btn { border-radius: 999px; }
.tag-miss { color: var(--bad); font-size: 14px; margin: 0 0 8px; }

/* Restaurant maps */
.map-card { margin-top: 14px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line, #e8e1d7); background: #eef1f3; }
.rb-map { height: 320px; width: 100%; z-index: 0; }
.rb-map.small { height: 200px; }
.rb-map-off { display: grid; place-items: center; }
.rb-pin-wrap { background: none; border: 0; }
.rb-pin { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand, #c2410c); border: 2px solid #fff; box-shadow: 0 4px 10px rgba(31,27,22,.3); }
.rb-pin span { transform: rotate(45deg); color: #fff; font: 700 14px var(--font, system-ui); }
.rb-pop { display: grid; gap: 4px; font-family: var(--font, system-ui); }
.rb-pop img { width: 100%; height: 90px; object-fit: cover; border-radius: 10px; margin-bottom: 4px; }
.rb-pop b { font-size: 15px; }
.rb-pop-tag { color: var(--brand, #c2410c); font-weight: 700; font-size: 13px; }
.rb-pop .btn { margin-top: 6px; justify-self: start; color: #fff; }
.leaflet-container a.btn { color: #fff; }
.map-foot { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--surface); font-size: 14px; }
@media (max-width: 480px) { .rb-map { height: 260px; } }

/* "Spin it" reel on the home page */
.spin { background: linear-gradient(160deg, #2b1a10, #5b2a12 70%, #7c2d12); color: #fff; border-radius: 24px; padding: 24px 0 22px; overflow: hidden; }
.spin-head { display: flex; align-items: center; gap: 16px; padding: 0 24px; flex-wrap: wrap; }
.spin-head > div { flex: 1; min-width: 200px; }
.spin-head h2 { font-size: clamp(24px, 4vw, 32px); margin: 0; color: #fff; }
.spin-head p { margin: 4px 0 0; color: #f5e6d8; }
.spin-btn { background: #fff; color: var(--brand); font-weight: 800; font-size: 17px; padding: 12px 22px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.spin-btn:hover { background: #fff7ed; }
.spin-btn:disabled { opacity: .7; cursor: wait; }
.reel { position: relative; margin-top: 18px; height: 250px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-track { display: flex; gap: 12px; height: 100%; padding: 12px 0; will-change: transform; }
.reel-card { position: relative; flex: 0 0 220px; height: 220px; border-radius: 18px; background-size: cover; background-position: center; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.35); transition: transform .35s, box-shadow .35s; }
.reel-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); }
.reel-ini { position: absolute; inset: 0; display: grid; place-items: center; font: 700 56px var(--serif, Georgia, serif); color: rgba(255,255,255,.9); }
.reel-tx { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.reel-tx b { font-size: 17px; line-height: 1.2; }
.reel-tx span { font-size: 13px; color: #f5e6d8; }
.reel-card.won { transform: scale(1.06); box-shadow: 0 0 0 4px #fff, 0 16px 40px rgba(0,0,0,.45); z-index: 2; }
.reel-mark { position: absolute; left: 50%; top: 0; transform: translateX(-50%); border: 10px solid transparent; border-top: 12px solid #fff; z-index: 3; }
.spin-out { margin: 4px 24px 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.spin-out.show { max-height: 400px; opacity: 1; }
.spin-win { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 16px 18px; }
.spin-win > div { flex: 1; min-width: 200px; }
.spin-win h3 { margin: 2px 0 4px; font-size: 24px; }
.spin-win .slots { margin-top: 8px; }
@media (max-width: 560px) { .spin { border-radius: 18px; margin-left: -4px; margin-right: -4px; } .spin-head { padding: 0 16px; } .spin-out { margin: 4px 16px 0; } .spin-btn { width: 100%; justify-content: center; } }
.hero .slogan { display: inline-block; margin: 0 0 12px; padding: 7px 16px; border-radius: 999px; background: var(--ink, #1f1b16); border: 0; color: #fff; box-shadow: 0 6px 16px rgba(31,27,22,.18); font: 700 15px var(--font); letter-spacing: .02em; transform: rotate(-2deg); }
.hero p.slogan { color: #fff; font-size: 15px; }
.ref-invite { margin-bottom: 14px; background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; }
