/* ==========================================================
   Restaurant site
   White page, ink text, chilli-orange for actions, leaf green for "good",
   turmeric for emphasis. Sign-painter display face + clean grotesque body.
   Flat: borders instead of shadows, small radii, left-aligned.
   ========================================================== */
:root {
  --bg: #ffffff;
  --soft: #f7f5f2;
  --ink: #1e1b18;
  --muted: #6f675f;
  --line: #e7e2db;
  --brand: #d9480f;
  --brand-dark: #b03a0b;
  --brand-tint: #fdeee6;
  --leaf: #1d5a3c;
  --leaf-tint: #e7f1ea;
  --turmeric: #f2b01e;
  --red: #c0291e;
  --r: 5px;
  --display: 'Yatra One', 'Georgia', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-primary: #d9480f;
  --bs-body-font-family: var(--body);
  --bs-body-color: #1e1b18;
  --bs-body-bg: #ffffff;
  --bs-link-color: #b03a0b;
  --bs-link-hover-color: #8f2e08;
  --bs-border-radius: 5px;
  --bs-border-color: #e7e2db;
}
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 1rem; line-height: 1.55; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: 0; color: var(--ink); line-height: 1.15; }
h5, h6, .h5, .h6 { font-family: var(--body); font-weight: 700; }
a { text-decoration: none; }
p { max-width: 68ch; }
.text-muted { color: var(--muted) !important; }
.text-brand { color: var(--brand) !important; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 8px 12px; border-radius: var(--r); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons & forms ---------- */
.btn { font-family: var(--body); font-weight: 700; border-radius: var(--r); letter-spacing: .01em; }
.btn-brand { background: var(--brand); border: 2px solid var(--brand); color: #fff; padding: .55rem 1.2rem; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-brand:active { transform: translateY(1px); }
.btn-brand:disabled, .btn-brand.disabled { background: #eba88b; border-color: #eba88b; color: #fff; }
.btn-brand.btn-sm { padding: .3rem .8rem; }
.btn-brand.btn-lg { padding: .75rem 1.7rem; font-size: 1.05rem; }
.btn-outline-brand { color: var(--ink); border: 1.5px solid var(--line); background: #fff; font-weight: 600; }
.btn-outline-brand:hover { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.btn-check:checked + .btn-outline-brand { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-check:disabled + .btn-outline-brand { opacity: .4; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-ghost.btn-lg { padding: .75rem 1.7rem; font-size: 1.05rem; }
.form-control, .form-select { border-radius: var(--r); border: 1.5px solid #dcd5cc; padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 176, 30, .45); }
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-range::-webkit-slider-thumb { background: var(--brand); }
.form-range::-moz-range-thumb { background: var(--brand); }
.spinner-inline { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; margin-right: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-nav { background: #fff; border-bottom: 2px solid var(--ink); padding: .55rem 0; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); background: var(--turmeric); color: var(--ink); font-size: 1.15rem; }
.brand-name { font-family: var(--display); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: .5rem .9rem; border-bottom: 3px solid transparent; border-radius: 0; }
.site-nav .nav-link:hover { color: var(--brand-dark); }
.site-nav .nav-link.active { border-bottom-color: var(--brand); }
.btn-cart { border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 1.1rem; padding: .4rem .65rem; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--brand); color: #fff; font-size: .7rem; min-width: 20px; height: 20px; border-radius: 3px; display: grid; place-items: center; padding: 0 5px; font-weight: 700; }
.table-ribbon { background: var(--leaf); color: #fff; text-align: center; font-size: .92rem; padding: .4rem 1rem; }
.promo-strip { background: var(--turmeric); color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem 1rem; }

/* ---------- Home ---------- */
.hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; max-width: 13ch; }
.hero .lead { color: var(--muted); max-width: 32rem; font-size: 1.12rem; }
.hero-hours { border-left: 4px solid var(--turmeric); padding-left: .8rem; margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
.hero-visual { position: relative; padding: 0 0 2rem 1.2rem; }
.hero-visual::before { content: ''; position: absolute; inset: 1.2rem 1.2rem 0 0; background: var(--turmeric); border-radius: var(--r); }
.hero-img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); display: block; background: var(--soft); }
.board { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 1.3rem 1.4rem 1rem; }
.hero-img + .board { position: absolute; left: 0; bottom: 0; width: min(88%, 380px); }
.board-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .6rem; }
.board-row { display: flex; align-items: baseline; gap: .5rem; padding: .32rem 0; animation: boardIn .5s both; }
.board-row:nth-of-type(2) { animation-delay: .08s; } .board-row:nth-of-type(3) { animation-delay: .16s; } .board-row:nth-of-type(4) { animation-delay: .24s; }
.board-row:nth-of-type(5) { animation-delay: .32s; } .board-row:nth-of-type(6) { animation-delay: .4s; }
@keyframes boardIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.board-name { font-weight: 600; }
.leader { flex: 1; border-bottom: 2px dotted #b9b0a5; transform: translateY(-4px); min-width: 16px; }
.board-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.board-foot { margin-top: .6rem; font-size: .85rem; }
.veg-dot { display: inline-block; width: 11px; height: 11px; border: 1.5px solid var(--leaf); border-radius: 2px; position: relative; vertical-align: -1px; margin-right: .35rem; }
.veg-dot::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--leaf); }
.veg-dot.nonveg { border-color: var(--red); } .veg-dot.nonveg::after { background: var(--red); }

.band { padding: 3.5rem 0; }
.band-soft { background: var(--soft); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h2, .band-ink h3 { color: #fff; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; }
.section-sub { color: var(--muted); margin: .4rem 0 0; }
.section { padding: 3.5rem 0; }
.section-soft { background: var(--soft); }
.page-head { padding: 2.6rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .3rem; }
.card-soft { border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.notice-card { border: 2px solid var(--ink); border-radius: var(--r); padding: 1.8rem; background: #fff; }
.notice-card h2 { font-size: 1.7rem; }

.hl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hl-item { padding: 1.3rem 1.2rem 1.3rem 0; display: flex; gap: .8rem; align-items: flex-start; }
.hl-item i { font-size: 1.5rem; color: var(--brand); line-height: 1; margin-top: .15rem; }
.hl-item h3 { font-family: var(--body); font-weight: 800; font-size: 1rem; margin: 0 0 .15rem; }
.hl-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.cat-tile { display: block; padding: .8rem 0; border-bottom: 1.5px solid var(--line); color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; }
.cat-tile::after { content: '+'; color: var(--brand); font-weight: 800; }
.cat-tile:hover { border-bottom-color: var(--ink); color: var(--brand-dark); }
.quote { border-left: 4px solid var(--turmeric); padding: .2rem 0 .2rem 1.1rem; height: 100%; }
.quote blockquote { font-size: 1.05rem; margin: 0 0 .7rem; }
.stars { color: #d98c00; letter-spacing: 2px; }

/* ---------- Menu ---------- */
.menu-tools { padding: 1rem 0 .5rem; }
.search-box .input-group-text { background: #fff; border: 1.5px solid #dcd5cc; border-right: 0; color: var(--muted); }
.search-box .form-control { border-left: 0; }
.filter-chips { gap: 1.1rem !important; }
.chip { border: 0; border-bottom: 3px solid transparent; background: transparent; border-radius: 0; padding: .3rem 0; font-size: .92rem; font-weight: 700; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; }
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); border-bottom-color: var(--brand); }
.chip-check { border: 1.5px solid var(--line); border-radius: var(--r); padding: .25rem .6rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.chip-check:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-check input { accent-color: var(--brand); }
.chip-sm { border: 1.5px solid var(--line); border-radius: var(--r); padding: .15rem .55rem; font-size: .8rem; background: #fff; color: var(--ink); }
.chip-sm:hover { border-color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.veg { background: var(--leaf); } .dot.nonveg { background: var(--red); }
.cat-scroller { display: flex; gap: 1.2rem; overflow-x: auto; padding: .7rem 0; position: sticky; top: 62px; background: #fff; z-index: 20; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-link { white-space: nowrap; color: var(--muted); font-size: .92rem; font-weight: 700; padding: .15rem 0; border-bottom: 3px solid transparent; }
.cat-link:hover, .cat-link.active { color: var(--ink); border-bottom-color: var(--brand); }
.menu-cat { margin-bottom: 2.6rem; }
.menu-cat-title { font-size: 1.9rem; margin-bottom: .4rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
/* a dish is a row of a printed menu, not a card */
.food-card { display: grid; grid-template-columns: 96px 1fr; gap: 0 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); height: 100%; align-items: start; }
.food-card.is-out .food-img img { filter: grayscale(1); opacity: .5; }
.food-img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); overflow: hidden; }
.food-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.veg-badge { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; background: #fff; border: 2px solid; border-radius: 3px; display: grid; place-items: center; }
.veg-badge span { width: 8px; height: 8px; border-radius: 50%; }
.veg-badge.veg { border-color: var(--leaf); } .veg-badge.veg span { background: var(--leaf); }
.veg-badge.nonveg { border-color: var(--red); } .veg-badge.nonveg span { background: var(--red); }
.tag-special { position: absolute; left: 0; bottom: 0; right: 0; background: var(--turmeric); color: var(--ink); font-size: .7rem; font-weight: 800; padding: .1rem .3rem; text-align: center; }
.tag-out { position: absolute; left: 0; bottom: 0; right: 0; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; padding: .1rem .3rem; text-align: center; }
.food-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.food-name { font-family: var(--body); font-size: 1.08rem; font-weight: 800; margin: 0; }
.food-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.low-stock { color: var(--red); font-size: .82rem; font-weight: 700; margin: 0; }
.food-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .4rem; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.portion-toggle .btn { font-size: .8rem; padding: .25rem .55rem; }
.add-btn.added { background: var(--leaf); border-color: var(--leaf); }
.empty-state { text-align: left; padding: 2.5rem 0; color: var(--muted); }
.empty-state i { font-size: 2rem; color: #c9c0b5; display: block; margin-bottom: .5rem; }
@media (max-width: 420px) { .food-card { grid-template-columns: 78px 1fr; } }

/* ---------- Cart ---------- */
.cart-drawer { width: min(440px, 100vw); }
.cart-line { display: flex; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r); flex-shrink: 0; }
.cart-line .name { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; }
.stepper button { border: 0; background: #fff; width: 32px; height: 32px; font-size: 1rem; color: var(--ink); font-weight: 700; }
.stepper button:hover { background: var(--turmeric); }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; font-size: .9rem; }
.totals-row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .95rem; }
.totals-row.grand { border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .7rem; font-weight: 800; font-size: 1.15rem; }
.totals-row.discount { color: var(--leaf); }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--ink); z-index: 1030; }
.cart-bar .btn { max-width: 720px; margin: 0 auto; }
body.has-cart-bar main { padding-bottom: 84px; }
.alert-stock { font-size: .88rem; }

/* ---------- Checkout / order status ---------- */
.pay-option { border: 1.5px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; cursor: pointer; display: flex; gap: .75rem; align-items: center; background: #fff; }
.btn-check:checked + .pay-option { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--soft); }
.pay-option i { font-size: 1.4rem; color: var(--brand); }
.summary-card { position: sticky; top: 90px; }
.status-steps { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0; }
.status-steps::before { content: ''; position: absolute; top: 15px; left: 8%; right: 8%; height: 3px; background: var(--line); z-index: 0; }
.status-step { text-align: center; flex: 1; font-size: .8rem; color: var(--muted); position: relative; z-index: 1; font-weight: 600; }
.status-step .bubble { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; margin: 0 auto .35rem; font-size: .85rem; }
.status-step.done .bubble { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.status-step.done { color: var(--ink); }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--leaf-tint); color: var(--leaf); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 1rem; }
.warn-mark { background: #fff1d6; color: #a86500; }
.spin-invite { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--turmeric); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.fee-box { border: 1.5px solid var(--ink); border-radius: var(--r); padding: .9rem 1rem; background: var(--soft); }

/* ---------- Spin wheel (opened from the link in the bill email) ---------- */
.spin-page { background: #fff; }
.spin-hero { padding: 2.4rem 0 .6rem; }
.eyebrow { color: var(--brand-dark); font-weight: 700; margin: 0 0 .3rem; }
.display-title { font-size: clamp(2.6rem, 8vw, 4.8rem); margin: 0; }
.lead-soft { color: var(--muted); margin: .6rem auto 0; }
.spin-stage { position: relative; width: min(460px, 90vw); aspect-ratio: 1; margin: 0 auto; }
.spin-stage canvas { width: 100%; height: 100%; transition: transform 6s cubic-bezier(.1, .75, .08, 1); }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 36px solid var(--ink); z-index: 3; }
.wheel-hub { position: absolute; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--ink); color: var(--turmeric); border: 5px solid var(--turmeric); border-radius: 50%; font-family: var(--display); font-size: clamp(1rem, 3.4vw, 1.5rem); cursor: pointer; z-index: 2; }
.wheel-hub:hover:not(:disabled) { background: var(--brand-dark); }
.wheel-hub:disabled { cursor: default; opacity: .9; }
.reward-code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 1.7rem; font-weight: 800; letter-spacing: .16em; background: var(--soft); border: 2px dashed var(--ink); border-radius: var(--r); padding: .55rem 1rem; display: inline-block; }
.win-overlay { position: fixed; inset: 0; background: rgba(30, 27, 24, .82); z-index: 3000; display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.win-overlay[hidden] { display: none; }
.win-card { background: #fff; border-radius: var(--r); width: min(560px, 100%); padding: 2rem 1.6rem 1.8rem; text-align: center; border-top: 10px solid var(--turmeric); animation: winIn .5s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes winIn { from { opacity: 0; transform: scale(.8) translateY(20px); } to { opacity: 1; transform: none; } }
.win-kicker { font-weight: 700; color: var(--brand-dark); margin-bottom: .4rem; }
.win-media img { max-width: min(260px, 70%); max-height: 240px; object-fit: contain; border-radius: var(--r); margin-bottom: .8rem; }
.win-title { font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; word-break: break-word; }
.win-card p { margin-left: auto; margin-right: auto; }
body.win-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d3cb; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h5, .site-footer h6 { color: #fff; }
.footer-brand { font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.site-footer .text-muted { color: #aaa297 !important; }
.footer-links a, .site-footer a { color: #fff; }
.footer-links a:hover, .site-footer a:hover { color: var(--turmeric); }
.footer-links li { margin-bottom: .35rem; }
.site-footer hr { border-color: #4a443d; opacity: 1; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--r); }

/* ---------- Bill ---------- */
.bill { max-width: 420px; margin: 1.5rem auto; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 1.5rem; font-size: .92rem; }
.bill hr { border-style: dashed; }
@media print { .no-print, .site-nav, .site-footer, .cart-bar, .table-ribbon { display: none !important; } .bill { border: 0; margin: 0 auto; } }
@media (max-width: 575.98px) {
  .section, .band { padding: 2.4rem 0; }
  .hero { padding: 2rem 0 1.6rem; }
  .cat-scroller { top: 58px; }
  .hero-img + .board { position: relative; width: 100%; margin-top: -3rem; }
}

/* helper: wide column gap without Bootstrap's full gutter system */
.g-x-4 { --bs-gutter-x: 2.5rem; }
.g-x-5 { --bs-gutter-x: 3rem; }
.band-ink .btn-ghost { background: transparent; color: #fff; border-color: #6a6258; }
.band-ink .btn-ghost:hover { border-color: #fff; }
.band-ink a { color: #fff; }
