/* =========================================================
   HARNEET'S KITCHEN — customer site
   Warm, appetising, mobile-first.
   ========================================================= */
:root {
  --brand: #d62828; --brand-600: #b51f1f; --brand-50: #fff0ee;
  --saffron: #f59e0b; --ink: #221c17; --ink-2: #4a423b; --muted: #807770;
  --line: #eee6dc; --bg: #fbf7f2; --card: #ffffff;
  --green: #16843f; --green-50: #e7f6ec; --red: #c62828; --amber-50: #fff5e1;
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(60,30,10,.05), 0 2px 10px rgba(60,30,10,.05);
  --sh-2: 0 10px 30px rgba(60,30,10,.12);
  --fh: 'Poppins', system-ui, sans-serif; --fb: 'Inter', system-ui, sans-serif;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--fb); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: 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 { font-family: var(--fh); line-height: 1.2; margin: 0 0 8px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 680px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; padding: 11px 18px; font-weight: 600; font-size: 15px; transition: transform .06s, background .15s, box-shadow .15s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.btn.block { display: flex; width: 100%; }
.btn.big { padding: 15px 20px; font-size: 16px; border-radius: 14px; }
.btn.grow { flex: 1; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(214,40,40,.28); }
.btn-primary:hover { background: var(--brand-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn-outline.loading { opacity: .7; }
.btn-whatsapp { background: #1faa53; color: #fff; }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 600; padding: 4px; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13.5px; font-weight: 500; padding: 8px 14px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__logo { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: var(--sh-1); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--fh); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__status { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.brand__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.brand__status.open { color: var(--green); } .brand__status.closed { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link { padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.site-nav__link:hover { background: var(--bg); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; margin-left: 4px; }
.cart-btn__count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; transform: scale(0); transition: transform .2s; }
.cart-btn__count.has { transform: scale(1); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,12,5,.35) 0%, rgba(25,12,5,.78) 100%); }
.hero__inner { position: relative; padding: 52px 16px 44px; }
.hero--small .hero__inner { padding: 40px 16px 34px; }
.hero__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.hero__title { font-size: clamp(30px, 6vw, 52px); font-weight: 800; margin-bottom: 6px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero__sub { font-size: clamp(14px, 2.2vw, 17px); opacity: .92; margin: 0 0 18px; max-width: 640px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
a.chip-glass:hover { background: rgba(255,255,255,.24); }

.closed-banner { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #f3d3cf; border-left: 5px solid var(--brand); border-radius: var(--r); padding: 14px 16px; margin-top: -22px; position: relative; box-shadow: var(--sh-2); }
.closed-banner__icon { font-size: 30px; }
.closed-banner p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.quick-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh-1); transition: transform .15s; }
.quick-card:hover { transform: translateY(-2px); }
.quick-card__icon { font-size: 26px; width: 46px; height: 46px; border-radius: 12px; background: var(--amber-50); display: grid; place-items: center; }
.quick-card strong { display: block; font-size: 14.5px; }
.quick-card small { color: var(--muted); }

/* ---------- Menu toolbar ---------- */
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(251,247,242,.95); backdrop-filter: blur(8px); padding-top: 14px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.menu-toolbar__row { display: flex; gap: 10px; align-items: center; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; border: 0; outline: 0; background: none; padding: 11px 0; color: var(--ink); min-width: 0; }
.veg-toggle { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; user-select: none; }
.veg-toggle input { position: absolute; opacity: 0; }
.veg-toggle__track { width: 44px; height: 24px; border-radius: 999px; background: #e1d9cf; position: relative; transition: background .15s; }
.veg-toggle__track .veg-mark { position: absolute; top: 3px; left: 3px; transition: transform .15s; background: #fff; }
.veg-toggle input:checked + .veg-toggle__track { background: var(--green); }
.veg-toggle input:checked + .veg-toggle__track .veg-mark { transform: translateX(20px); }
.category-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav__item { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: .15s; }
.category-nav__item.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Veg mark ---------- */
.veg-mark { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--green); border-radius: 4px; position: relative; background: #fff; flex-shrink: 0; }
.veg-mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--green); }
.veg-mark.nonveg { border-color: var(--red); }
.veg-mark.nonveg::after { border-radius: 0; inset: 2px 3px 3px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.veg-mark.sm { width: 14px; height: 14px; border-width: 1.5px; margin-right: 6px; vertical-align: -2px; }
.veg-mark.sm::after { inset: 2px; }

/* ---------- Menu ---------- */
.menu { padding-top: 6px; padding-bottom: 40px; }
.menu-section { padding-top: 22px; }
.menu-section__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.menu-section__title { font-size: 21px; margin: 0; }
.menu-section__time { font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--green-50); padding: 3px 9px; border-radius: 999px; }
.menu-section__time.off { color: #9a5b00; background: var(--amber-50); }
.menu-section__count { font-size: 12.5px; color: var(--muted); margin-left: auto; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.food-card { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.food-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.food-card__media { position: relative; aspect-ratio: 16/10; background: #f3ece4; overflow: hidden; }
.food-card__media img { width: 100%; height: 100%; object-fit: cover; }
.food-card__media .veg-mark { position: absolute; top: 10px; left: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.food-card__tags { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.tag-best { background: #221c17; color: #fff; display: inline-flex; align-items: center; gap: 3px; }
.tag-star { color: #ffc531; font-size: 1.15em; line-height: 1; }
.tag-out { background: var(--ink); color: #fff; }
.tag-later { background: #fff; color: #9a5b00; }
.food-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.food-card__name { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.food-card__desc { font-size: 13px; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.food-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.food-card__price { font-weight: 700; font-size: 15px; }
.food-card.is-soldout .food-card__media img { filter: grayscale(1); opacity: .6; }
.food-card.is-soldout .food-card__name, .food-card.is-soldout .food-card__price { color: var(--muted); }
.soldout-text { font-weight: 700; color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; gap: 10px; }
  .food-card { flex-direction: row-reverse; align-items: stretch; }
  .food-card__media { width: 128px; flex-shrink: 0; aspect-ratio: auto; min-height: 128px; margin: 10px 10px 10px 0; border-radius: 12px; }
  .food-card__tags { top: auto; bottom: 6px; right: 6px; left: 6px; justify-content: center; }
  .tag { font-size: 10.5px; padding: 3px 6px; }
  .food-card__body { padding: 12px; }
  .food-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.add-btn { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); border-radius: 10px; padding: 7px 16px; font-weight: 700; font-size: 14px; line-height: 1.1; display: inline-flex; flex-direction: column; align-items: center; min-width: 92px; box-shadow: 0 2px 6px rgba(214,40,40,.12); }
.add-btn small { font-size: 10px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.add-btn:hover { background: var(--brand-50); }
.add-btn.added { background: var(--brand); color: #fff; }
.qty-stepper { display: inline-flex; align-items: center; background: var(--brand); color: #fff; border-radius: 10px; overflow: hidden; min-width: 92px; justify-content: space-between; box-shadow: 0 2px 8px rgba(214,40,40,.25); }
.qty-stepper button { background: none; border: 0; color: #fff; font-size: 18px; font-weight: 700; width: 32px; height: 34px; }
.qty-stepper span { font-weight: 700; min-width: 22px; text-align: center; }
.qty-stepper.big button { width: 44px; height: 48px; font-size: 20px; }
.qty-stepper.big { border-radius: 14px; }

.skeleton { background: linear-gradient(90deg, #f1e9e0 0%, #f8f2eb 50%, #f1e9e0 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 44px 16px; color: var(--muted); }
.empty-state strong { color: var(--ink); font-size: 17px; }
.empty-state .btn { margin-top: 10px; }

.review-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, #221c17, #4a2a1a); color: #fff; border-radius: var(--r-lg); padding: 22px; margin-top: 10px; margin-bottom: 30px; }
.review-cta h3 { margin: 0 0 4px; }
.review-cta p { margin: 0; opacity: .85; }
.review-cta.compact { margin: 0 0 14px; padding: 18px; }

/* ---------- Bottom sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(20,10,5,.55); animation: fade .2s; }
.sheet__panel { position: relative; background: #fff; width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; animation: up .22s ease-out; }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet__panel { border-radius: 22px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); font-size: 15px; }
.sheet__head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding-right: 30px; }
.sheet__head img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.sheet__head h3 { margin: 0 0 3px; }
.sheet__head p { margin: 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sheet__label { font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.sheet__options { display: grid; gap: 8px; margin-bottom: 16px; }
.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.option input { accent-color: var(--brand); width: 18px; height: 18px; }
.option__label { flex: 1; font-weight: 600; }
.option__label em { color: var(--muted); font-weight: 400; }
.option__price { font-weight: 700; }
.option.disabled { opacity: .5; cursor: not-allowed; }
.sheet__foot { display: flex; gap: 10px; align-items: center; }

/* ---------- Sticky cart ---------- */
.sticky-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.sticky-cart__inner { pointer-events: auto; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; background: var(--green); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(22,132,63,.35); animation: up .25s; }
.sticky-cart__cta { font-weight: 700; }
.page-home .site-footer { padding-bottom: 96px; }

.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 500; font-size: 14px; opacity: 0; transition: .2s; z-index: 120; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: #1d1813; color: #d8cfc5; margin-top: 30px; padding: 36px 0 20px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--fh); font-size: 17px; margin-bottom: 10px; }
.site-footer__brand img { border-radius: 12px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.site-footer p { margin: 0 0 7px; }
.site-footer a:hover { color: #fff; }
.site-footer__copy { text-align: center; border-top: 1px solid rgba(255,255,255,.08); margin: 24px 0 0; padding-top: 16px; font-size: 12.5px; color: #8f857b; }

/* ---------- Generic page ---------- */
.page { padding-top: 18px; padding-bottom: 40px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-head h1 { margin: 0; font-size: 22px; }
.back-link { font-weight: 600; color: var(--muted); font-size: 14px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.card-list { display: grid; gap: 10px; }
.page-actions { display: grid; gap: 10px; margin-top: 16px; }

.line-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--sh-1); }
.line-item img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.line-item__info { flex: 1; min-width: 0; }
.line-item__name { margin: 0; font-weight: 600; }
.line-item__variant { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.line-item__price { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.line-item__price strong { color: var(--ink); }

.summary-card, .info-card, .step-card, .pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-1); margin-top: 14px; }
.summary-card__title, .info-card h2, .pay-card h2 { font-size: 16px; margin: 0 0 10px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.summary-row.item { font-size: 13.5px; color: var(--ink-2); }
.summary-row.item em { color: var(--muted); font-style: normal; }
.summary-row.sep { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 17px; font-family: var(--fh); }
.min-order-note { background: var(--amber-50); color: #8a5300; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin: 8px 0 0; }

/* ---------- Checkout ---------- */
.welcome-back { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--green-50); border: 1px solid #c3e7d0; border-radius: var(--r); padding: 12px 16px; }
.welcome-back p { margin: 2px 0 0; }
.step-card__title { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 12px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.hint { font-size: 13.5px; color: var(--ink-2); margin: -4px 0 12px; }
.hint-hi { color: var(--muted); display: block; font-size: 12.5px; margin-top: 2px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid #e2d9ce; background: #fff; border-radius: 12px; padding: 12px 13px; font-size: 16px; outline: 0; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input.invalid, .input-prefix:has(input.invalid) { border-color: var(--red); background: #fff8f8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field-error { display: none; color: var(--red); font-size: 13px; margin-top: 5px; font-weight: 500; }
.field-error.visible { display: block; }
.req { color: var(--red); } .opt { color: var(--muted); font-weight: 400; }
.input-prefix { display: flex; align-items: center; border: 1.5px solid #e2d9ce; border-radius: 12px; background: #fff; overflow: hidden; }
.input-prefix:focus-within { border-color: var(--ink); }
.input-prefix span { padding: 0 4px 0 13px; color: var(--muted); font-weight: 600; }
.field .input-prefix input { border: 0; padding-left: 6px; }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin: 12px 0; text-transform: uppercase; letter-spacing: .05em; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.search-input { display: flex; align-items: center; gap: 8px; border: 1.5px solid #e2d9ce; border-radius: 12px; padding: 0 12px; background: #fff; color: var(--muted); }
.search-input:focus-within { border-color: var(--ink); }
.search-input input { flex: 1; border: 0; outline: 0; padding: 12px 0; font-size: 16px; color: var(--ink); background: none; min-width: 0; }
.pac-container { border-radius: 12px; box-shadow: var(--sh-2); border: 0; margin-top: 4px; font-family: var(--fb); }
.pac-item { padding: 8px 12px; font-size: 14px; cursor: pointer; }
.map-wrap { position: relative; margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map { height: 260px; background: #eee; }
.map-wrap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 46px; transform: translate(-50%, -100%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 46'%3E%3Cpath d='M17 0C7.6 0 0 7.6 0 17c0 12.7 17 29 17 29s17-16.3 17-29C34 7.6 26.4 0 17 0z' fill='%23d62828'/%3E%3Ccircle cx='17' cy='17' r='6.5' fill='white'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.map-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.location-status { margin-top: 12px; padding: 11px 13px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.location-status.loading { background: #f3efe9; color: var(--muted); }
.location-status.ok { background: var(--green-50); color: #0e5c2b; }
.location-status.warn { background: var(--amber-50); color: #7f4b00; }
.location-status.error { background: #fdeceb; color: #9b1c1c; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.chip-opt.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.address-preview { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.address-preview p { margin: 3px 0 0; font-weight: 500; font-size: 14px; }
.when-banner { background: var(--amber-50); color: #7f4b00; border-radius: 12px; padding: 11px 13px; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px; cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(214,40,40,.08); }
.choice__icon { font-size: 22px; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.choice strong { display: block; font-size: 14.5px; }
.choice small { color: var(--muted); font-size: 12.5px; }
.choice.disabled { opacity: .45; cursor: not-allowed; }
.schedule-box { margin-top: 14px; }
.date-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; }
.date-chip { flex-shrink: 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; display: flex; flex-direction: column; align-items: center; min-width: 78px; }
.date-chip small { color: var(--muted); font-size: 12px; }
.date-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.date-chip.active small { color: #d8cfc5; }
.check-line { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-alert { background: #fdeceb; color: #9b1c1c; border-radius: 12px; padding: 12px 14px; font-weight: 500; margin-top: 14px; }
.place-bar { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 14px; background: #fff; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60,30,10,.06); }
.place-bar__total small { display: block; color: var(--muted); font-size: 12px; }
.place-bar__total strong { font-family: var(--fh); font-size: 19px; }
@media (min-width: 700px) { .place-bar { border-radius: 16px; margin: 16px 0 0; border: 1px solid var(--line); } }

/* ---------- Track ---------- */
.track-loading { text-align: center; padding: 60px 0; color: var(--muted); }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-hero { text-align: center; padding: 14px 0 6px; }
.success-hero h1 { font-size: 26px; margin-bottom: 6px; }
.success-hero p { color: var(--ink-2); margin: 0 auto; max-width: 440px; }
.success-hero__tick { width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; font-size: 36px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 0 0 10px var(--green-50); animation: pop .35s ease-out; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.info-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-row h2 { margin: 0; }
.timeline { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; top: 21px; left: 10%; right: 10%; height: 3px; background: var(--line); }
.timeline li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.timeline__dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 19px; position: relative; filter: grayscale(1); opacity: .55; }
.timeline__label { font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.timeline li.done .timeline__dot { filter: none; opacity: 1; border-color: var(--green); background: var(--green-50); }
.timeline li.current .timeline__dot { filter: none; opacity: 1; border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 6px rgba(214,40,40,.12); animation: pulse 1.8s infinite; }
.timeline li.current .timeline__label { color: var(--ink); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(214,40,40,.05); } }
.cancelled-box { background: #fdeceb; color: #9b1c1c; padding: 12px; border-radius: 12px; font-weight: 500; }
.cancelled-box a { text-decoration: underline; }
.pay-card { border: 2px solid var(--brand); }
.upi-btn { margin-bottom: 8px; }
.qr { display: flex; justify-content: center; margin: 8px 0; }
.qr svg, .qr img { width: 200px; height: 200px; border-radius: 10px; }
.copy { cursor: pointer; }
.utr { background: var(--bg); border-radius: 12px; padding: 12px; margin-top: 10px; }
.utr label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 8px; }
.utr__row { display: flex; gap: 8px; }
.utr__row input { flex: 1; min-width: 0; border: 1.5px solid #e2d9ce; border-radius: 10px; padding: 10px 12px; font-size: 16px; }
.pay-pill { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--amber-50); color: #8a5300; }
.pay-pill.paid { background: var(--green-50); color: var(--green); }
.wa-card p { margin: 0 0 10px; font-size: 14px; }
.order-link { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh-1); }
.order-link__right { text-align: right; }
.order-link__right small { color: var(--brand); font-weight: 600; }

/* ---------- Tiffin ---------- */
.tiffin-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 22px; }
.tiffin-perks div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.tiffin-perks span { font-size: 24px; }
.tiffin-perks small { color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.plan-card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.plan-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.plan-card__body p { font-size: 14px; flex: 1; }
.plan-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.plan-card__meal { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.plan-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.plan-card__price strong { font-family: var(--fh); font-size: 26px; }
.plan-card__price span { color: var(--muted); }
.plan-card__price small { width: 100%; color: var(--green); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.legal-nav a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--ink-2); }
.legal-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.legal-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-1); font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.legal-body h2 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.legal-body ul { padding-left: 20px; margin: 0 0 10px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--brand); font-weight: 500; }
.legal-body .btn { color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--bg); font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--bg); border-radius: 14px; padding: 16px 10px; text-align: center; color: var(--ink) !important; }
.contact-card span { font-size: 26px; }
.contact-card small { color: var(--muted); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 22px; font-size: 13px; }
.site-footer__legal a { color: #bfb5aa; }
.consent-note { font-size: 12.5px; color: var(--muted); margin: 14px 2px 0; line-height: 1.5; }
.consent-note a { color: var(--ink-2); text-decoration: underline; }

@media (max-width: 560px) {
  .quick-links { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick-card { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .quick-card__icon { width: 40px; height: 40px; font-size: 22px; }
  .quick-card strong { font-size: 13px; }
  .quick-card small { display: none; }
  .veg-toggle > span:last-child { display: none; }
  .hero__inner { padding: 34px 16px 30px; }
  .hero__chips { gap: 6px; }
  .chip-glass { font-size: 12px; padding: 6px 10px; }
}

/* ---------- Tiffin v2 ---------- */
.timing-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #1f5a34; color: #fff; border-radius: var(--r-lg); padding: 14px; margin-bottom: 22px; }
.timing-strip__item { display: flex; align-items: center; gap: 10px; justify-content: center; }
.timing-strip__item > span { font-size: 24px; }
.timing-strip__item strong { display: block; font-size: 14px; }
.timing-strip__item small { opacity: .85; font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) {
  .timing-strip { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .timing-strip__item { justify-content: flex-start; }
}
.plans-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.plans-head h2 { margin: 0; font-size: 21px; }
.period-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.period-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.period-toggle button.active { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(214,40,40,.25); }
.plan-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plan-card { position: relative; }
.plan-card__body { padding: 18px; }
.plan-card__body h3 { font-size: 18px; margin: 10px 0 4px; }
.plan-card__meals { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.meal-chip { font-size: 12px; font-weight: 600; background: var(--amber-50); color: #8a5300; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.plan-card__price { margin: 2px 0 8px; }
.plan-card__facts { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.plan-card__facts li { padding: 3px 0 3px 22px; position: relative; }
.plan-card__facts li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan-card__facts li.green { color: var(--green); font-weight: 600; }
.plan-card__body p.small { flex: 1; margin: 0 0 14px; }
.plan-card__body .btn { margin-top: auto; }
.free-delivery { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px dashed #b9dcc6; border-radius: var(--r-lg); padding: 18px; margin: 24px 0; }
.free-delivery__icon { font-size: 32px; width: 54px; height: 54px; border-radius: 14px; background: var(--green-50); display: grid; place-items: center; flex-shrink: 0; }
.free-delivery h3 { margin: 4px 0 10px; color: var(--green); }
.area-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.area-chips span { font-size: 13px; background: var(--bg); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }

.brand__status { white-space: nowrap; }
@media (max-width: 400px) {
  .hide-xs { display: none; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 15px; }
  .site-nav__link { padding: 8px 6px; font-size: 18px; }
}
