/* Darbar Restaurant & BBQ: public site styles.
   Navy + tandoor-orange theme from the logo. Mobile-first and RTL aware (logical properties). */
:root {
  /* Brand palette, taken from the Darbar logo (navy) plus a tandoor-orange accent.
     The live values come from Admin > Settings > Branding (printed as a <style> block in the page head);
     these are the defaults. Every colour in the UI should use one of these variables. */
  --primary: #0b2a63;        /* logo navy */
  --primary-600: #163c85;    /* hover / lighter navy */
  --primary-dark: #071c44;   /* footers, top bar */
  --primary-soft: #e8edf7;   /* tinted backgrounds */
  --accent: #c2410c;         /* tandoor orange: main call-to-action (white text 5.2:1) */
  --accent-dark: #9a3412;
  --accent-bright: #f28c38;  /* decorative only, navy text on it */
  --accent-light: #fdba74;   /* accent text on navy (8:1) */
  --accent-soft: #ffedd5;
  --accent-ink: #9a3412;     /* accent-coloured text on light backgrounds */
  --on-accent: #ffffff;
  --bg: #f5f7fb;
  --bg-2: #eaeef5;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --line: #dce2ec;
  --text: #0e1526;           /* logo ink */
  --muted: #5a6478;
  --dark: #071c44;
  --green: #15803d;
  --red: #b91c1c;
  --red-2: #991b1b;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 25, 56, .06), 0 1px 3px rgba(11, 25, 56, .08);
  --shadow: 0 10px 30px rgba(11, 25, 56, .10);
  --shadow-lg: 0 20px 50px rgba(11, 25, 56, .16);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ur: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15.5px; line-height: 1.65; padding-bottom: 64px; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
html[dir="rtl"] body { font-family: var(--font-ur), var(--font-body); line-height: 2.1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(194, 65, 12, .55); outline-offset: 2px; border-radius: 6px; }
.ur, [lang="ur"] { font-family: var(--font-ur); line-height: 2; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: var(--font-ur); letter-spacing: 0; line-height: 1.9; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
main { min-height: 60vh; outline: none; }
.eyebrow-text { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }

/* Announcement */
.announcement { background: var(--primary); color: #fff; font-size: .84rem; text-align: center; padding: 7px 0; font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--primary); flex-shrink: 0; }
.brand:hover { color: var(--primary-dark); }
.main-nav { display: none; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { background: transparent; border: 1px solid transparent; color: var(--text); width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; position: relative; transition: background .15s; }
.icon-btn:hover { background: var(--bg-2); color: var(--primary); }
.cart-count { position: absolute; top: -2px; inset-inline-end: -2px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; font-family: var(--font-body); line-height: 1; border: 2px solid #fff; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
.lang-toggle { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: .8rem; color: var(--muted); background: #fff; }
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .on { color: var(--primary); font-weight: 700; }
.lang-toggle .sep { opacity: .4; }
.lang-toggle .ur { font-size: .78rem; line-height: 1.5; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.main-nav.open { display: flex; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; padding: 16px 16px 100px; gap: 2px; overflow-y: auto; z-index: 49; animation: fadeIn .2s ease; }
.main-nav a { color: var(--text); padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--bg-2); }
.nav-mobile-extra { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
@media (min-width: 1024px) {
  .main-nav, .main-nav.open { display: flex; position: static; flex-direction: row; padding: 0; background: none; gap: 2px; margin-inline-start: 22px; animation: none; overflow: visible; }
  .main-nav a { padding: 8px 12px; font-size: .92rem; }
  .main-nav a.active { background: none; color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
  .main-nav a:hover { background: none; }
  .nav-mobile-extra, .nav-toggle { display: none !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; border: 1.5px solid var(--primary); font-weight: 600; font-size: .92rem; cursor: pointer; transition: transform .12s, background .2s, color .2s, box-shadow .2s, border-color .2s; text-align: center; line-height: 1.2; white-space: nowrap; font-family: var(--font-body); }
.btn:active { transform: scale(.98); }
/* .btn-primary = the main action on a screen (Order Now, Add, Place order, Save): tandoor orange.
   .btn-navy = strong secondary action in the logo navy. */
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); box-shadow: 0 6px 16px rgba(194, 65, 12, .28); }
.btn-navy { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; box-shadow: 0 6px 16px rgba(11, 42, 99, .25); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--primary-dark); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: #a51f1f; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-disabled, .btn:disabled { opacity: .55; cursor: not-allowed; border-color: var(--line); background: var(--bg-2); color: var(--muted); box-shadow: none; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-color: #fff #fff #fff transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost.loading::after { border-color: var(--primary) var(--primary) var(--primary) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ornament */
.ornament { color: var(--accent); display: flex; justify-content: center; margin: 6px auto 14px; opacity: .85; }
.ornament svg { max-width: 180px; height: auto; }

/* Hero */
.hero { position: relative; height: min(82vh, 680px); min-height: 480px; overflow: hidden; background: var(--dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s ease; }
.hero-slide.active img { transform: scale(1); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 16, 40, .82) 0%, rgba(5, 16, 40, .5) 50%, rgba(5, 16, 40, .1) 100%); }
html[dir="rtl"] .hero-slide::after { background: linear-gradient(270deg, rgba(5, 16, 40, .82) 0%, rgba(5, 16, 40, .5) 50%, rgba(5, 16, 40, .1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-content .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-light); letter-spacing: .2em; font-size: .76rem; text-transform: uppercase; font-weight: 600; }
.hero-content .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent-light); }
.hero-content h1, .hero-content .h1 { color: #fff; margin: 12px 0 14px; font-size: clamp(2.1rem, 5.4vw, 3.8rem); }
.hero-content p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; max-width: 520px; margin: 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: rgba(255, 255, 255, .85); font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-dots { position: absolute; bottom: 22px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: none; font-size: 1.4rem; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(255, 255, 255, .26); }
.hero-arrow.prev { inset-inline-start: 18px; }
.hero-arrow.next { inset-inline-end: 18px; }
@media (min-width: 768px) { .hero-arrow { display: grid; place-items: center; } }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; margin: 0 auto 32px; max-width: 640px; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .ornament { margin: 4px auto 8px; }
.page-hero { padding: 48px 0 34px; text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 4px; font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.services-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: -46px; position: relative; z-index: 5; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px; text-align: center; box-shadow: var(--shadow); color: var(--text); transition: transform .2s, box-shadow .2s; }
a.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.service .ic { font-size: 1.6rem; line-height: 1.2; }
.service strong { display: block; color: var(--primary); font-size: .95rem; margin-top: 4px; }
.service span { color: var(--muted); font-size: .8rem; }

/* Grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.dish-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dish-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1180px) { .dish-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Dish card */
.dish-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; box-shadow: var(--shadow-sm); }
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b8c4dd; }
.dish-img { position: relative; display: block; width: 100%; aspect-ratio: 4/3; border: 0; padding: 0; background: var(--bg-2); cursor: pointer; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dish-card:hover .dish-img img { transform: scale(1.05); }
.is-soldout .dish-img img { filter: grayscale(1) opacity(.6); }
.soldout-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--dark); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.veg-dot { position: absolute; bottom: 10px; inset-inline-start: 10px; width: 18px; height: 18px; border: 2px solid; background: #fff; border-radius: 4px; }
.veg-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; }
.veg-dot.veg { border-color: var(--green); } .veg-dot.veg::after { background: var(--green); }
.veg-dot.nonveg { border-color: var(--red); } .veg-dot.nonveg::after { background: var(--red); }
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #9aa6bd; cursor: pointer; font-size: 1.05rem; z-index: 2; transition: transform .2s, color .2s; box-shadow: var(--shadow-sm); }
.fav-btn:hover { color: var(--primary); }
.fav-btn.on { color: var(--primary); }
.fav-btn:active { transform: scale(1.2); }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.dish-name { margin: 0; font-size: 1.12rem; font-family: var(--font-display); }
.dish-name a { color: var(--text); }
.dish-name a:hover { color: var(--primary); }
html[dir="rtl"] .dish-name { font-family: var(--font-display); line-height: 1.3; }
.dish-ur { color: var(--accent-ink); font-size: .95rem; margin-top: 0; }
.dish-desc { color: var(--muted); font-size: .86rem; margin: 4px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.dish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.price { color: var(--primary); font-weight: 700; font-size: 1.08rem; font-family: var(--font-body); white-space: nowrap; }
.price-pending { font-size: .86rem; color: var(--accent-ink); font-weight: 600; white-space: normal; }
.price small { color: var(--muted); font-weight: 500; font-size: .72rem; }
.time-note { font-size: .8rem; color: var(--accent-ink); margin: 0 0 8px; background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; display: inline-block; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.tag { font-size: .68rem; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-weight: 600; font-family: var(--font-body); line-height: 1.6; letter-spacing: .02em; }
.tag-popular { background: var(--accent-soft); color: var(--accent-ink); }
.tag-spicy { background: #fde4e1; color: #b3261e; }
.tag-chef_special { background: var(--primary); color: #fff; }
.tag-new { background: #e1f3e8; color: #1f7a45; }

/* Quantity stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--primary); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 34px; background: transparent; border: 0; color: var(--primary); font-size: 1.15rem; cursor: pointer; font-weight: 600; }
.stepper button:hover { background: rgba(11, 42, 99, .08); }
.stepper .val { min-width: 28px; text-align: center; font-weight: 700; font-family: var(--font-body); color: var(--text); }
.stepper-lg button { width: 44px; height: 44px; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 16, 40, .85)); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile:hover { color: #fff; box-shadow: var(--shadow); }
.cat-tile span { position: relative; z-index: 1; padding: 14px; width: 100%; }
.cat-tile strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: #fff; }
.cat-tile em { font-style: normal; font-family: var(--font-ur); font-size: .88rem; color: var(--accent-light); }

/* About snippet */
.about-split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.about-img { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--bg-2); }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose p { color: #2e3a52; }
.prose { white-space: pre-line; }

/* Testimonials */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
@media (min-width: 768px) { .testimonial-track { grid-auto-columns: calc(33.333% - 11px); } }
.testimonial { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.testimonial::before { content: '“'; position: absolute; top: -4px; inset-inline-end: 18px; font-size: 4.2rem; color: var(--accent); opacity: .25; font-family: var(--font-display); }
.testimonial p { margin: 10px 0 14px; color: #2e3a52; }
.testimonial strong { color: var(--text); }
.stars { color: #f59e0b; letter-spacing: 2px; font-family: var(--font-body); }
.stars .off { color: #d5dce8; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid a, .gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; display: block; aspect-ratio: 1; background: var(--bg-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(5, 16, 40, .8)); font-size: .82rem; color: #fff; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 16, 40, .92); z-index: 200; display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 85vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; inset-inline-end: 14px; color: #fff; background: rgba(255, 255, 255, .15); }

/* Delivery + contact */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow-sm); }
.area-card h3 { margin: 0 0 4px; color: var(--primary); }
.area-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-2); box-shadow: var(--shadow-sm); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: linear-gradient(135deg, var(--bg-2), #e3e8f2); }
.map-facade .pin { font-size: 2.4rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Offers strip */
.offers { display: grid; gap: 12px; }
@media (min-width: 768px) { .offers { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.offer { border: 1.5px dashed var(--accent); border-radius: var(--radius); padding: 14px 18px; background: #fff7ed; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500; }
.offer code { background: var(--primary); color: #fff; padding: 5px 12px; border-radius: 8px; font-weight: 700; font-family: var(--font-body); letter-spacing: .05em; white-space: nowrap; }

/* Menu page */
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(245, 247, 251, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 12px 0 0; }
.menu-search { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-input { flex: 1 1 220px; position: relative; }
.search-input input { padding-inline-start: 40px; background: #fff; }
.search-input svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-chips { display: flex; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 14px; font-size: .84rem; cursor: pointer; white-space: nowrap; font-weight: 500; }
.chip:hover { border-color: var(--primary); }
.chip.active, .chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; scroll-behavior: smooth; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex-shrink: 0; padding: 8px 16px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); background: #fff; font-size: .88rem; white-space: nowrap; font-weight: 500; }
.cat-tabs a:hover { color: var(--primary); border-color: var(--primary); }
.cat-tabs a.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.menu-section { padding-top: 34px; scroll-margin-top: calc(var(--header-h) + 130px); }
.menu-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.menu-section-head h2 { margin: 0; font-size: 1.7rem; }
.menu-section-head .ur { color: var(--accent-ink); font-size: 1.15rem; }
.menu-section-head p { width: 100%; margin: 0; color: var(--muted); font-size: .9rem; }
.empty-state { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty-state .ic { font-size: 2.6rem; opacity: .7; }

/* Forms */
label { display: block; font-size: .86rem; color: #2e3a52; margin-bottom: 6px; font-weight: 600; }
input, select, textarea { width: 100%; background: #fff; border: 1px solid #cbd3e1; border-radius: 10px; color: var(--text); padding: 11px 14px; font: inherit; font-size: .95rem; font-family: var(--font-body); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #8e9ab3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 42, 99, .12); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--primary); }
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 16px; }
.field-error { color: var(--red); font-size: .82rem; margin-top: 5px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.form-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1fr 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 8px; color: var(--text); cursor: pointer; font-weight: 500; }
.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-cards.two { grid-template-columns: repeat(2, 1fr); }
.radio-card { position: relative; margin: 0; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; cursor: pointer; background: #fff; color: var(--text); font-size: .9rem; font-weight: 600; transition: border-color .15s, background .15s; }
.radio-card span b { display: block; font-size: 1.35rem; }
.radio-card span:hover { border-color: #b8c4dd; }
.radio-card input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 42, 99, .08); }
.radio-card input:focus-visible + span { outline: 3px solid rgba(194, 65, 12, .55); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 16px; }
.card h2, .card h3 { font-size: 1.2rem; }
.auth-wrap { max-width: 460px; margin: 48px auto; }
.pay-details { white-space: pre-line; background: var(--accent-soft); border: 1px dashed var(--accent); padding: 10px 14px; border-radius: 10px; font-size: .88rem; margin: 2px 0 6px; }

/* Alerts & badges */
.alert { padding: 12px 16px; border-radius: 10px; margin: 14px 0; border: 1px solid; font-size: .92rem; }
.alert-success { background: #ecf7f0; border-color: #b9e0c8; color: #1d6b3f; }
.alert-error { background: #fdeeee; border-color: #f1c4c4; color: #9b1c1c; }
.alert-info { background: var(--primary-soft); border-color: #c7d2e8; color: var(--accent-ink); }
.alert-warning { background: #fff7ed; border-color: #fed7aa; color: var(--accent-ink); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; font-family: var(--font-body); line-height: 1.6; white-space: nowrap; }
.badge-pending { background: var(--accent-soft); color: var(--accent-ink); }
.badge-confirmed { background: #e3efff; color: #1a56b3; }
.badge-preparing { background: #f1e6ff; color: #6b2fb3; }
.badge-out_for_delivery { background: #dff5f1; color: #0f7766; }
.badge-delivered, .badge-completed, .badge-approved, .badge-paid { background: #e3f4e9; color: #1d6b3f; }
.badge-ready { background: #dcfce7; color: #166534; }
.badge-cancelled, .badge-rejected, .badge-declined, .badge-hidden { background: #fde4e4; color: #a51f1f; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5, 16, 40, .5); z-index: 90; animation: fadeIn .2s; }
.cart-drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; box-shadow: var(--shadow-lg); }
html[dir="rtl"] .cart-drawer { transform: translateX(-100%); }
.cart-drawer.open { transform: none !important; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.3rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px; background: var(--surface-2); }
.drawer-foot p { margin: 4px 0 12px; }
.drawer-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.15rem; font-weight: 700; }
.sum-row.total strong { color: var(--primary); }
.sum-row .disc { color: var(--green); }
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.cart-line .name { font-weight: 600; color: var(--text); font-size: .95rem; line-height: 1.3; }
.cart-line .meta { color: var(--muted); font-size: .8rem; }
.cart-line .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.cart-line .err { color: var(--red); font-size: .8rem; }
.cart-line .note-input { margin-top: 8px; padding: 7px 10px; font-size: .82rem; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; padding: 0; margin-top: 6px; }
.link-btn:hover { color: var(--red); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #e9edf4 25%, #f4f6fa 50%, #e9edf4 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-line { height: 64px; margin: 12px 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .modal { align-items: center; padding: 20px; } }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 16, 40, .55); animation: fadeIn .2s; }
.modal-panel { position: relative; background: #fff; border-radius: 18px 18px 0 0; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; animation: slideUp .3s ease; outline: none; box-shadow: var(--shadow-lg); }
@media (min-width: 700px) { .modal-panel { border-radius: 18px; } }
.modal-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); }
.modal-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-2); }
.modal-body { padding: 20px 22px 24px; }
.modal-body h2 { margin-bottom: 0; }
.variant-list { display: grid; gap: 8px; margin: 8px 0 16px; }
.variant-opt { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; font-weight: 600; margin: 0; }
.variant-opt:hover { border-color: #b8c4dd; }
.variant-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.variant-opt input { margin-inline-end: 10px; }
.modal-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.modal-actions .btn { flex: 1; }
.confirm-box { padding: 26px; text-align: center; }

/* Toasts */
.toasts { position: fixed; bottom: 84px; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 300; pointer-events: none; padding: 0 16px; }
@media (min-width: 900px) { .toasts { bottom: 28px; } }
.toast { background: var(--dark); color: #fff; padding: 11px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); animation: slideUp .25s ease; pointer-events: auto; font-size: .9rem; max-width: 100%; font-weight: 500; }
.toast.error { background: var(--red); }
.toast.success::before { content: '✓ '; color: #8fe3a5; font-weight: 700; }

/* Floating actions & bottom bar */
.floating-actions { position: fixed; bottom: 80px; inset-inline-end: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
@media (min-width: 900px) { .floating-actions { bottom: 26px; } }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .2s; }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-wa { background: #25d366; }
.fab-call { background: var(--primary); }
.bottom-bar { position: fixed; bottom: 0; inset-inline: 0; height: 64px; background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); z-index: 70; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 14px rgba(11, 25, 56, .06); }
.bottom-bar a, .bottom-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); background: none; border: 0; font-size: .72rem; position: relative; cursor: pointer; font-weight: 600; }
.bottom-bar a:hover, .bottom-bar button:hover { color: var(--primary); }
.bottom-bar .cart-count { top: 6px; inset-inline-end: calc(50% - 22px); }
@media (min-width: 900px) { .bottom-bar { display: none; } }

/* Footer */
.site-footer { background: var(--dark); color: #c9d3e6; padding-top: 48px; margin-top: 56px; }
.site-footer .ornament { display: none; }
.footer-grid { display: grid; gap: 30px; padding-bottom: 34px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.site-footer h3, .site-footer .footer-h { font-size: 1rem; margin-bottom: 14px; color: #fff; font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; }
.site-footer .muted { color: #8e9ab3; }
.site-footer a { color: #c9d3e6; }
.site-footer a:hover { color: #fff; }
.footer-links, .hours-list { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #c9d3e6; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; font-size: .87rem; padding: 3px 0; }
.site-footer address { font-style: normal; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; color: #8e9ab3; font-size: .82rem; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--primary); color: #fff; }
.hours-list { color: inherit; }
main .hours-list li { color: var(--text); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 11px 13px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f7f9fc; }

/* Timeline (order tracking) */
.timeline { list-style: none; padding: 0; margin: 14px 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 42px; padding-bottom: 22px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 14px; top: 28px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { border-color: var(--green); background: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.current .dot { box-shadow: 0 0 0 6px rgba(21, 128, 61, .18); animation: pulse 1.6s infinite; }
.timeline li.cancelled .dot { background: var(--red); border-color: var(--red); color: #fff; }
.timeline strong { display: block; }
.timeline time { font-size: .8rem; color: var(--muted); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(21, 128, 61, .05); } }

/* Account */
.account-layout { display: grid; gap: 22px; padding: 28px 0; }
@media (min-width: 900px) { .account-layout { grid-template-columns: 240px 1fr; } }
.account-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.account-nav a { flex-shrink: 0; padding: 10px 14px; border-radius: 10px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; font-size: .92rem; background: #fff; font-weight: 500; }
.account-nav a:hover { color: var(--primary); }
.account-nav a.active { color: #fff; background: var(--primary); border-color: var(--primary); }
@media (min-width: 900px) { .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; } .account-nav a { border: 0; } }
.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 768px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.45rem; color: var(--primary); font-family: var(--font-body); }
.stat span { color: var(--muted); font-size: .82rem; }
.list-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-card:last-child { border-bottom: 0; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); padding: 0 8px; background: #fff; }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* FAQ */
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; padding: 17px 0; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq-list details[open] summary { color: var(--primary); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0 0 18px; color: #2e3a52; }

/* Checkout layout */
.checkout-grid { display: grid; gap: 22px; padding: 28px 0; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.45fr 1fr; align-items: start; } .checkout-grid .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot-grid .radio-card span { padding: 9px 4px; font-size: .84rem; }
.slot-grid .radio-card small { display: block; color: var(--muted); font-size: .68rem; font-weight: 500; }
.slot-grid .radio-card input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .55s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
/* without JS nothing stays hidden */
.no-js .reveal { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 404 */
.error-page { text-align: center; padding: 80px 16px; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 9rem); color: var(--primary); line-height: 1; font-weight: 700; }

@media print {
  body { background: #fff !important; color: #000; padding: 0; }
  .site-header, .site-footer, .bottom-bar, .floating-actions, .announcement, .no-print, .account-nav, .cart-drawer, .toasts { display: none !important; }
  .account-layout { display: block; padding: 0; }
}

/* ===================== v2 layout components ===================== */
.icon { flex-shrink: 0; vertical-align: middle; }
.btn .icon { margin-top: -1px; }

/* Top utility bar */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, .85); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar-info, .topbar-actions { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar-info span, .topbar a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-note { overflow: hidden; text-overflow: ellipsis; color: var(--accent-light); }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--accent-light); }
.topbar .lang-toggle { background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .7); padding: 2px 10px; }
.topbar .lang-toggle .on { color: #fff; }
.hide-md { display: none !important; }
@media (min-width: 900px) { .hide-md { display: inline-flex !important; } }
.announcement { display: none; }
.header-cta { display: none; margin-inline-start: 6px; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.main-nav a { font-weight: 500; }

/* Hero tweaks */
.hero { height: min(78vh, 640px); }
.hero-content .eyebrow { margin-bottom: 0; }

/* Features row */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; align-items: center; gap: 14px; padding: 22px 14px; color: var(--text); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .feature { border-bottom: 0; } .feature:last-child { border-inline-end: 0; } }
a.feature:hover { color: var(--text); background: var(--surface-2); }
.feature-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.feature strong { display: block; font-size: .96rem; }
.feature span { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }

/* Section heads */
.section-head .eyebrow-text, .section-head-row .eyebrow-text { margin-bottom: 4px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head-row h2 { margin: 0 0 4px; }
.section-head-row p { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); white-space: nowrap; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }
.eyebrow-text.light { color: var(--accent-light); }

/* Category circles */
.cat-circles { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 12px; scroll-snap-type: x mandatory; justify-content: flex-start; scrollbar-width: none; }
.cat-circles::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cat-circles { justify-content: center; gap: 40px; } }
.cat-circle { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; scroll-snap-align: start; flex-shrink: 0; width: 120px; color: var(--text); }
@media (min-width: 900px) { .cat-circle { width: 160px; } }
.cat-circle-img { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), var(--shadow); transition: transform .3s, box-shadow .3s; margin-bottom: 10px; }
@media (min-width: 900px) { .cat-circle-img { width: 148px; height: 148px; } }
.cat-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle:hover { color: var(--primary); }
.cat-circle:hover .cat-circle-img { transform: translateY(-4px); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent), var(--shadow-lg); }
.cat-circle strong { font-family: var(--font-display); font-size: 1.05rem; }
.cat-circle em { font-style: normal; font-family: var(--font-ur); color: var(--accent-ink); font-size: .85rem; line-height: 1.8; }

/* Dish card v2 */
.dish-card { border: 0; box-shadow: 0 2px 10px rgba(11, 25, 56, .07); }
.dish-card:hover { box-shadow: 0 14px 34px rgba(11, 25, 56, .14); }
.img-badge { position: absolute; top: 12px; inset-inline-start: 12px; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .03em; box-shadow: var(--shadow-sm); }
.img-badge.tag-popular { background: #fff; color: var(--primary); }
.fav-btn { display: grid; place-items: center; }
.fav-btn.on .icon { fill: currentColor; }
.dish-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.diet { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; border-radius: 4px; border: 1.5px solid; display: grid; place-items: center; }
.diet.veg { border-color: var(--green); color: var(--green); }
.diet.nonveg { border-color: var(--red); }
.diet.nonveg::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.diet .icon { width: 11px; height: 11px; }
.dish-foot { border-top: 0; padding-top: 4px; }
.spicy-note { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: #b3261e; font-weight: 600; margin: -4px 0 10px; }
.time-note { display: inline-flex; align-items: center; gap: 5px; }
.dish-card .btn-primary.btn-sm { border-radius: 999px; padding: 8px 16px; }
.veg-dot { display: none; }

/* Offer banner */
.offer-banner { position: relative; overflow: hidden; color: #fff; padding: 80px 0; background: var(--dark); }
.offer-banner .offer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.offer-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 68, .92) 0%, rgba(7, 28, 68, .7) 50%, rgba(5, 16, 40, .35) 100%); }
.offer-inner { position: relative; z-index: 1; display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .offer-inner { grid-template-columns: 1.4fr 1fr; } }
.offer-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 620px; }
.offer-inner p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; margin: 0 0 22px; }
.code-pill { display: inline-block; background: #fff; color: var(--primary); font-weight: 800; padding: 3px 12px; border-radius: 6px; letter-spacing: .08em; margin: 0 4px; border: 1.5px dashed var(--accent); }
.code-pill.sm { font-size: .78rem; padding: 1px 8px; }
.offer-list { list-style: none; margin: 0; padding: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); display: grid; gap: 14px; backdrop-filter: blur(4px); }
.offer-list li { display: flex; gap: 10px; align-items: flex-start; }
.offer-list .icon { color: var(--accent-light); margin-top: 3px; }

/* Story */
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.story-media { position: relative; padding-bottom: 40px; padding-inline-end: 40px; }
.story-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.story-small { position: absolute; bottom: 0; inset-inline-end: 0; width: 45%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.lead { font-size: 1.05rem; color: #2e3a52; }
.check-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check-list .icon { color: var(--green); }

/* Testimonials v2 */
.testimonial { border: 0; box-shadow: 0 2px 12px rgba(11, 25, 56, .07); padding: 26px; display: flex; flex-direction: column; margin: 0; }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Gallery strip */
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) { .gallery-strip { grid-template-columns: repeat(6, 1fr); } }
.gallery-strip a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); position: relative; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery-strip a:hover img { transform: scale(1.08); filter: brightness(.85); }

/* Visit section */
.visit { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 48px; } }
.visit .map-wrap { min-height: 460px; height: 100%; }
.visit .contact-card { border: 0; box-shadow: none; padding: 0; background: transparent; margin: 18px 0 24px; }
.contact-list li div { display: flex; flex-direction: column; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.status-dot { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status-dot.open { color: var(--green); }
.status-dot.open::before { background: var(--green); }
.status-dot.closed { color: var(--red); }
.status-dot.closed::before { background: var(--red); }
.delivery-areas { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 10px rgba(11, 25, 56, .06); }
.delivery-areas h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 1rem; color: var(--primary); }
.delivery-areas ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-areas li { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.delivery-areas li strong { display: block; }
.delivery-areas li span { font-size: .8rem; color: var(--muted); }
.map-facade .pin { color: var(--primary); display: flex; justify-content: center; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--primary-600)); color: #fff; padding: 44px 0; margin-top: 40px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); max-width: 620px; }
.cta-band .eyebrow-text { color: var(--accent-light); }
.site-footer { margin-top: 0; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .9rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: #c9d3e6; margin-top: 3px; }
.footer-contact address { font-style: normal; }

/* Page hero with image */
.page-hero-img { position: relative; overflow: hidden; color: #fff; padding: 70px 0 60px; border: 0; background: var(--dark); }
.page-hero-img .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero-img .container { position: relative; }
.page-hero-img h1 { color: #fff; }
.page-hero-img p { color: rgba(255, 255, 255, .88); }

/* Menu layout with sidebar */
.menu-layout { display: block; padding-top: 0; padding-bottom: 20px; }
.menu-side-title { display: none; }
.menu-side { position: sticky; top: var(--header-h); z-index: 31; background: var(--bg); margin-inline: -16px; padding-inline: 16px; border-bottom: 1px solid var(--line); }
.menu-side .cat-tabs a { display: inline-flex; gap: 6px; align-items: center; }
.menu-side .cat-tabs small { font-size: .72rem; opacity: .7; }
.menu-toolbar { position: static; background: transparent; border: 0; padding: 18px 0 0; backdrop-filter: none; }
.sort-select { width: auto; padding: 9px 12px; font-size: .86rem; }
@media (min-width: 1000px) {
  .menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding-top: 30px; }
  .menu-side { position: relative; top: auto; margin: 0; padding: 0; border: 0; background: none; }
  .menu-side-inner { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(11, 25, 56, .07); padding: 18px 12px; }
  .menu-side-title { display: block; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 10px 10px; }
  .menu-side .cat-tabs { flex-direction: column; overflow: visible; padding: 0; gap: 2px; }
  .menu-side .cat-tabs a { border: 0; border-radius: 10px; justify-content: space-between; padding: 11px 12px; background: none; color: var(--text); font-size: .94rem; }
  .menu-side .cat-tabs a:hover { background: var(--surface-2); color: var(--primary); }
  .menu-side .cat-tabs a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
  .menu-side .cat-tabs small { background: var(--bg-2); border-radius: 999px; padding: 1px 8px; opacity: 1; color: var(--muted); }
  .menu-toolbar { padding-top: 0; }
  .menu-main .dish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) { .menu-main .dish-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-section { padding-top: 30px; scroll-margin-top: calc(var(--header-h) + 70px); }
@media (min-width: 1000px) { .menu-section { scroll-margin-top: calc(var(--header-h) + 20px); } }
.menu-section-head { border-bottom: 2px solid var(--line); padding-bottom: 12px; align-items: flex-end; }
.menu-section-head h2 { font-size: 1.6rem; margin: 0 0 2px; }
.menu-section-head p { width: auto; }

/* Branded banner for inner pages */
.page-hero { background: linear-gradient(120deg, var(--dark) 0%, var(--primary) 55%, var(--primary-600) 100%); border: 0; padding: 56px 0 46px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); }
.page-hero .ornament { color: var(--accent-light); }
.page-hero-img::before { display: none; }
.fav-btn-inline.on .icon { fill: currentColor; }

/* ===================== v3 features ===================== */
/* Deals pricing */
.price del { color: var(--muted); font-weight: 500; font-size: .82rem; margin-inline-start: 4px; }
.save-badge { background: var(--green); color: #fff; }
.dish-rating { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); margin: 2px 0 2px; }
.dish-rating .icon { color: #f59e0b; fill: #f59e0b; }
.dish-rating strong { color: var(--text); }
.deals-section { background: linear-gradient(180deg, #fff, var(--bg)); }

/* How to order */
.steps-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .steps-row { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.steps-row li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: 0 2px 12px rgba(11, 25, 56, .07); text-align: center; }
.steps-row .step-num { position: absolute; top: 14px; inset-inline-start: 16px; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--line); line-height: 1; }
.steps-row .step-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 12px; }
.steps-row strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.steps-row p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Order progress stepper */
.order-steps { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 18px auto 0; max-width: 560px; }
.order-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: .78rem; color: rgba(255, 255, 255, .7); text-align: center; }
.order-steps li::before { content: ""; position: absolute; top: 15px; inset-inline-end: 50%; width: 100%; height: 2px; background: rgba(255, 255, 255, .3); z-index: 0; }
.order-steps li:first-child::before { display: none; }
.order-steps li.done::before, .order-steps li.current::before { background: var(--accent-light); }
.order-steps .os-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255, 255, 255, .15); color: #fff; border: 2px solid rgba(255, 255, 255, .4); }
.order-steps li.done .os-dot { background: var(--accent-light); border-color: var(--accent-light); color: var(--primary-dark); }
.order-steps li.current .os-dot { background: #fff; color: var(--primary); border-color: #fff; }
.order-steps li.current { color: #fff; font-weight: 600; }
.container > .order-steps { margin-bottom: 18px; }
.container > .order-steps li { color: var(--muted); }
.container > .order-steps li::before { background: var(--line); }
.container > .order-steps li.done::before, .container > .order-steps li.current::before { background: var(--green); }
.container > .order-steps .os-dot { background: #fff; color: var(--muted); border-color: var(--line); }
.container > .order-steps li.done .os-dot, .container > .order-steps li.current .os-dot { background: var(--green); border-color: var(--green); color: #fff; }

/* ETA */
.eta-box { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: #ecf7f0; color: #1d6b3f; border-radius: 10px; font-size: .9rem; }

/* Cart upsell */
.upsell { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.upsell h3 { font-family: var(--font-body); font-size: .92rem; margin: 0 0 10px; color: var(--text); }
.upsell-list { display: grid; gap: 8px; }
.upsell-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 10px; padding: 6px 8px; }
.upsell-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.upsell-item .name { font-weight: 600; font-size: .86rem; line-height: 1.3; }
.upsell-item .meta { color: var(--primary); font-size: .8rem; font-weight: 600; }
.upsell-add { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.2rem; cursor: pointer; line-height: 1; }
.upsell-add:hover { background: var(--primary-dark); }

/* Rewards */
.rewards-section { background: linear-gradient(135deg, #fff7ed, var(--primary-soft)); }
.rewards { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .rewards { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.rewards-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rewards-steps li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 2px 10px rgba(11, 25, 56, .06); }
.rewards-steps .step-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 1.1rem; }
.rewards-steps strong { display: block; }
.rewards-steps span { color: var(--muted); font-size: .88rem; }

/* WhatsApp subscribe */
.subscribe { background: var(--dark); color: #fff; padding: 40px 0; }
.subscribe-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .subscribe-inner { grid-template-columns: 1fr 1.1fr; gap: 40px; } }
.subscribe h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0 0 4px; }
.subscribe p { margin: 0; color: rgba(255, 255, 255, .75); }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input { flex: 1 1 160px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .5); }
.subscribe-form .btn { flex: 0 0 auto; }
.subscribe-ok { color: #8fe3a5; font-weight: 600; margin: 0; }
.subscribe + .cta-band { margin-top: 0; }

/* Catering */
.package-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 12px rgba(11, 25, 56, .07); border-top: 4px solid var(--primary); }
.package h3 { margin: 12px 0 2px; font-size: 1.3rem; }
.package .check-list { margin: 14px 0 18px; }
.table-banner { display: flex; gap: 10px; align-items: center; }

/* ===================== Mobile polish (no overlapping controls) ===================== */
@media (max-width: 639px) {
  .topbar-info span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-actions { gap: 14px; }
  .header-inner { gap: 6px; }
  .hero { min-height: 420px; height: 70vh; }
  .hero-content h1, .hero-content .h1 { font-size: 2rem; }
  .hero-content p { font-size: .98rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .section { padding: 44px 0; }
  .section-head-row { margin-bottom: 18px; }
  .feature { padding: 16px 10px; gap: 10px; }
  .feature-ic { width: 40px; height: 40px; }
  .feature-ic .icon { width: 20px; height: 20px; }
  .feature span { font-size: .76rem; }
  .story-media { padding-bottom: 24px; padding-inline-end: 24px; }
  .offer-banner { padding: 50px 0; }
  .cta-inner .btn-row, .cta-inner .btn-row .btn { width: 100%; }
  .delivery-areas ul { grid-template-columns: 1fr 1fr; }
  .visit .map-wrap { min-height: 320px; }
  .dish-foot .btn { padding: 8px 14px; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions .btn { flex: 1 1 100%; }
  .radio-cards { gap: 6px; }
  .radio-card span { padding: 12px 4px; font-size: .82rem; }
  .order-steps .os-label { font-size: .7rem; }
  .drawer-buttons { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero-img { padding: 50px 0 44px; }
  .subscribe-form .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* Floating WhatsApp button: keep it clear of the bottom bar, cart buttons and the "Add" buttons */
@media (max-width: 899px) {
  .floating-actions { bottom: 76px; inset-inline-end: 12px; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
  body.drawer-open .floating-actions, body.modal-open .floating-actions { display: none; }
  .toasts { bottom: 136px; }
}
body.drawer-open .floating-actions, body.modal-open .floating-actions { display: none; }
.dish-card .dish-foot { padding-inline-end: 0; }
/* Touch targets */
@media (pointer: coarse) {
  .stepper button { width: 40px; height: 40px; }
  .chip { padding: 9px 15px; }
}
body.nav-open .floating-actions { display: none; }
.grid > *, .checkout-grid > *, .account-layout > *, .story > *, .visit > *, .menu-layout > * { min-width: 0; }

/* Mobile: WhatsApp lives in the bottom bar, no floating button over content */
.bottom-bar { grid-template-columns: repeat(4, 1fr); }
.bottom-bar .bb-wa { color: #128c4b; }
@media (max-width: 899px) { .floating-actions { display: none !important; } .toasts { bottom: 80px; } }
/* Stepper on the maroon page banner */
.page-hero .order-steps li { color: rgba(255,255,255,.85); }
.page-hero .order-steps li::before { background: rgba(255,255,255,.35); }
.page-hero .order-steps li.done::before, .page-hero .order-steps li.current::before { background: var(--accent-light); }
.page-hero .order-steps .os-dot { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.5); }
.page-hero .order-steps li.done .os-dot { background: var(--accent-light); border-color: var(--accent-light); color: var(--primary-dark); }
.page-hero .order-steps li.current .os-dot { background: #fff; border-color: #fff; color: var(--primary); }
.page-hero .order-steps li.current { color: #fff; }

/* ===================== Brand logo ===================== */
/* The logo is a wide wordmark (house + DARBAR / RESTAURANT), about 3.8 : 1. */
.brand picture { display: block; }
.logo-img { display: block; height: 44px; width: auto; max-width: 200px; object-fit: contain; transition: transform .25s; }
.brand:hover .logo-img { transform: translateY(-1px); }
.logo-img.logo-pill { background: #fff; border-radius: 10px; padding: 4px 8px; }
.site-footer .logo-img { height: 52px; max-width: 240px; }
.footer-tagline { margin: 14px 0 0; color: #c9d3e6; font-size: .95rem; }
@media (max-width: 639px) { .logo-img { height: 38px; max-width: 150px; } }

.pay-card { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-inline-start: 4px solid var(--accent); margin-bottom: 16px; }
.pay-card strong { display: inline-flex; align-items: center; gap: 6px; }

/* ===================== Smooth navigation & app install ===================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
.dish-card, .btn, .chip, .cat-circle-img { will-change: auto; }
.install-link { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-light); color: var(--primary-dark); border: 0; border-radius: 999px; padding: 3px 12px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.install-link:hover { background: #fff; }
.install-banner { position: fixed; inset-inline: 12px; bottom: 76px; z-index: 75; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(11, 25, 56, .25); padding: 12px; display: flex; align-items: center; gap: 12px; animation: slideUp .35s ease; border: 1px solid var(--line); }
.install-banner img { border-radius: 12px; flex-shrink: 0; }
.install-banner .ib-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.install-banner .ib-text span { font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .install-banner { inset-inline: auto 24px; bottom: 24px; width: 380px; } }
body.drawer-open .install-banner, body.modal-open .install-banner { display: none; }
@media (display-mode: standalone) { .topbar { padding-top: env(safe-area-inset-top); } }
.install-link { white-space: nowrap; flex-shrink: 0; }
.topbar-info { flex: 1; min-width: 0; overflow: hidden; }
.topbar-note { min-width: 0; flex: 1; }

/* ===================== Mobile ordering UX (Foodpanda/Savour-style) ===================== */
@media (max-width: 559px) {
  .menu-main .dish-grid, .compact-list { gap: 0; background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(11, 25, 56,.06); overflow: hidden; }
  .menu-main .dish-card { flex-direction: row-reverse; align-items: flex-start; gap: 12px; padding: 14px 12px; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .menu-main .dish-card:last-child { border-bottom: 0; }
  .menu-main .dish-card:hover { transform: none; box-shadow: none; }
  .menu-main .dish-img { width: 104px; height: 104px; aspect-ratio: auto; flex-shrink: 0; border-radius: 12px; }
  .menu-main .dish-body { padding: 0; min-width: 0; }
  .menu-main .fav-btn { top: 18px; inset-inline-end: 16px; width: 28px; height: 28px; }
  .menu-main .fav-btn .icon { width: 14px; height: 14px; }
  .menu-main .img-badge, .menu-main .soldout-badge { top: 6px; inset-inline-start: 6px; font-size: .58rem; padding: 2px 6px; }
  .menu-main .dish-name { font-size: 1rem; }
  .menu-main .dish-ur { font-size: .84rem; line-height: 1.7; }
  .menu-main .dish-desc { font-size: .8rem; margin: 2px 0 8px; }
  .menu-main .dish-rating { font-size: .74rem; }
  .menu-main .spicy-note, .menu-main .time-note { margin-bottom: 6px; }
  .menu-main .dish-foot { padding-top: 0; }
  .menu-main .dish-card .btn-primary.btn-sm { padding: 7px 14px; }
  .menu-main .diet { margin-top: 3px; }
  .menu-section { padding-top: 22px; }
  .menu-section-head { border-bottom: 0; padding-bottom: 6px; margin-bottom: 10px; }
  .menu-section-head h2 { font-size: 1.35rem; }
}
/* Toasts on phones: top of screen, never over the cart buttons */
@media (max-width: 899px) { .toasts { top: 12px; bottom: auto !important; } }

/* Floating cart bar (phones) */
.cart-bar { position: fixed; inset-inline: 12px; bottom: 74px; z-index: 72; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 10px 30px rgba(7, 28, 68, .35); cursor: pointer; animation: slideUp .25s ease; }
.cart-bar .cb-count { min-width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: .85rem; }
.cart-bar .cb-label { flex: 1; text-align: start; }
.cart-bar .cb-total { font-size: 1rem; }
@media (min-width: 900px) { .cart-bar { display: none !important; } }
body.has-cart-bar main { padding-bottom: 70px; }
body.drawer-open .cart-bar, body.modal-open .cart-bar, body.nav-open .cart-bar { display: none; }
body.has-cart-bar .install-banner { bottom: 140px; }
/* Free delivery progress */
.free-progress { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; font-size: .84rem; font-weight: 600; color: var(--accent-ink); }
.free-progress .fp-bar { height: 6px; background: #ffedd5; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.free-progress .fp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #f59e0b); border-radius: 4px; transition: width .4s ease; }
.free-progress.done { background: #ecf7f0; border-color: #b9e0c8; color: #1d6b3f; }
.free-progress.done .fp-bar i { background: var(--green); }
/* Sticky Place Order bar on checkout (phones) */
.checkout-sticky { display: none; }
@media (max-width: 959px) {
  .checkout-sticky { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 72; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 25, 56,.08); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 14px; }
  .checkout-sticky > div { display: flex; flex-direction: column; line-height: 1.2; }
  .checkout-sticky strong { font-size: 1.15rem; color: var(--primary); }
  .checkout-sticky .btn { flex: 1; }
  body.page-checkout .bottom-bar, body.page-checkout .cta-band { display: none; }
  body.page-checkout { padding-bottom: 80px; }
}

/* =========================================================================
   v5 home page: video hero, open badge, deals, why Darbar
   ========================================================================= */
.open-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.open-badge i { width: 9px; height: 9px; border-radius: 50%; background: #9ca3af; flex-shrink: 0; }
.open-badge.is-open i { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse-dot 2s 4; }
.open-badge.is-closed i { background: #f87171; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero-v { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero-v-bg { position: absolute; inset: 0; z-index: -1; }
.hero-v-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.2); transform: scale(1.2); opacity: .55; }
.hero-v-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 28, 68, .96) 0%, rgba(7, 28, 68, .86) 45%, rgba(7, 28, 68, .55) 100%); }
.hero-v-grid { display: grid; gap: 36px; align-items: center; padding-block: 56px 64px; }
.hero-v-text { max-width: 600px; }
.hero-v-eyebrow { margin: 18px 0 0; color: var(--accent-light); letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; font-weight: 600; }
.hero-v h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.04; margin: 10px 0 16px; letter-spacing: -.01em; }
.hero-v-lead { color: rgba(255, 255, 255, .86); font-size: 1.08rem; max-width: 520px; margin: 0; }
.hero-v-quick { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-v-quick a { color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 500; }
.hero-v-quick a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-v-rating { margin: 18px 0 0; color: rgba(255, 255, 255, .85); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.hero-v-rating .stars { color: #fbbf24; }
.hero-v-media { display: flex; justify-content: center; }
.hero-v-frame { position: relative; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-v-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-v-since { position: absolute; inset-inline-start: 14px; bottom: 14px; background: var(--accent); color: var(--on-accent); border-radius: 14px; padding: 8px 12px; line-height: 1.05; display: grid; text-align: center; font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.hero-v-since strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0; }
@media (min-width: 900px) {
  .hero-v-grid { grid-template-columns: 1.25fr .75fr; padding-block: 72px 80px; min-height: min(84vh, 720px); }
  .hero-v-frame { width: 320px; transform: rotate(2deg); }
}
@media (max-width: 899px) {
  /* phones: video becomes the full background behind the text */
  .hero-v-grid { padding-block: 40px 44px; }
  .hero-v-media { position: absolute; inset: 0; z-index: -1; }
  .hero-v-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .hero-v-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 28, 68, .72) 0%, rgba(7, 28, 68, .8) 55%, rgba(7, 28, 68, .95) 100%); }
  .hero-v-since { display: none; }
  .hero-v-bg { display: none; }
  .hero-v { min-height: 560px; display: flex; align-items: flex-end; }
}

/* service strip: icon circles must stay centred (the old ".feature span" rule made them block) */
.feature small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }
.feature .feature-ic { display: grid; }

/* deals */
.deal-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.deal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 42, 99, .14); }
.deal-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.deal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.deal-card:hover .deal-img img { transform: scale(1.05); }
.deal-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--primary); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.deal-save { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal-body h3 { margin: 0; font-size: 1.12rem; }
.deal-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.deal-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deal-price strong { color: var(--primary); font-size: 1.15rem; }
.deal-price del { color: var(--muted); font-size: .85rem; margin-inline-start: 4px; }
.deal-price small { display: flex; align-items: center; gap: 4px; color: var(--accent-ink); font-size: .75rem; margin-top: 2px; }

/* why Darbar */
.why-section { background: var(--primary-dark); color: #fff; }
.why-section h2 { color: #fff; }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 24px 22px; }
.why-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin-bottom: 14px; }
.why-item strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.eyebrow-text.light { color: var(--accent-light); }

.story-media { position: relative; }
.story-year { position: absolute; top: -14px; inset-inline-start: -10px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 24px rgba(194, 65, 12, .35); }
.testimonial figcaption > span { display: grid; line-height: 1.25; }
.testimonial figcaption small { color: var(--muted); font-size: .78rem; }
.social-light a { background: var(--primary-soft); color: var(--primary); }
.social-light { margin-top: 18px; }

/* reviews page */
.reviews-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .reviews-layout { grid-template-columns: 1fr 360px; align-items: start; } .review-side { position: sticky; top: 96px; } }
.review-side { display: grid; gap: 16px; }
.review-list { display: grid; gap: 14px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.review-item header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-item header > div { flex: 1; display: grid; line-height: 1.25; }
.review-item header small { color: var(--muted); font-size: .78rem; }
.review-item p { margin: 0; }
.review-reply { margin-top: 10px; padding: 10px 12px; background: var(--primary-soft); border-radius: 10px; font-size: .9rem; }
.rating-big { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.rating-big .stars { color: #f59e0b; font-size: 1.2rem; }
.rating-bars { display: grid; gap: 6px; padding: 18px; }
.rb-row { display: grid; grid-template-columns: 32px 1fr 28px; align-items: center; gap: 8px; font-size: .85rem; }
.rb-bar { height: 8px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.rb-bar i { display: block; height: 100%; background: #f59e0b; border-radius: inherit; }
.review-form { display: grid; gap: 12px; padding: 20px; }
.review-form h2 { margin: 0; }
.star-input { border: 0; padding: 0; margin: 0; }
.star-input legend { font-weight: 600; font-size: .9rem; margin-bottom: 4px; padding: 0; }
.star-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.star-input label:active { transform: scale(1.2); }
.btn-block { width: 100%; justify-content: center; }

/* about page */
.about-img { position: relative; overflow: visible; }
.about-img img { border-radius: var(--radius); }
.about-stats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-stats li { background: var(--primary-soft); border-radius: 14px; padding: 14px; text-align: center; }
.about-stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--primary); line-height: 1.1; }
.about-stats span { font-size: .78rem; color: var(--muted); }
.spec-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.spec-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: block; background: var(--bg-2); }
.spec-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.spec-tile:hover img { transform: scale(1.06); }
.spec-tile span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(7, 28, 68, .85)); }

/* =========================================================================
   Phase 3 motion: only transform/opacity are animated (GPU, 60 fps)
   ========================================================================= */
.fly-ghost { position: fixed; z-index: 400; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(7, 28, 68, .35); will-change: transform, opacity; }
/* image skeleton + fade-in */
.dish-img, .deal-img, .cat-circle-img, .spec-tile { background: linear-gradient(90deg, #e9edf4 25%, #f4f6fa 50%, #e9edf4 75%) 0 0 / 200% 100%; animation: shimmer 1.2s 3; /* a few cycles only: endless shimmer kept the CPU busy on long pages */ }
.dish-img:has(img.is-loaded), .deal-img:has(img.is-loaded), .cat-circle-img:has(img.is-loaded), .spec-tile:has(img.is-loaded) { animation: none; background: var(--bg-2); }
img.fade-img { opacity: 0; transition: opacity .45s ease, transform .5s ease; }
img.fade-img.is-loaded { opacity: 1; }
/* press feedback */
.btn:active:not(:disabled), .icon-btn:active, .stepper button:active, .upsell-add:active { transform: scale(.96); }
.deal-card:active, .dish-card:active { transform: translateY(-2px) scale(.995); }
/* category circles + why cards hover */
.cat-circle-img img { transition: transform .45s ease; }
.cat-circle:hover .cat-circle-img img { transform: scale(1.08); }
.why-item { transition: transform .25s ease, background .25s ease; }
.why-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
/* cart drawer: slide with a softer curve; backdrop fades */
.cart-drawer { transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility .38s; }
.drawer-backdrop:not([hidden]) { animation: fadeIn .25s ease; }
.cart-drawer.open .cart-line { animation: slideUp .35s cubic-bezier(.2,.8,.2,1) both; }
.cart-drawer.open .cart-line:nth-child(2) { animation-delay: 40ms; } .cart-drawer.open .cart-line:nth-child(3) { animation-delay: 80ms; } .cart-drawer.open .cart-line:nth-child(n+4) { animation-delay: 120ms; }
.modal:not([hidden]) .modal-panel { animation: modalIn .3s cubic-bezier(.2,.8,.2,1); }
.modal:not([hidden]) .modal-backdrop { animation: fadeIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.toast { animation: toastIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
/* hero entrance */
.hero-v-text > * { animation: slideUp .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-v-text > :nth-child(2) { animation-delay: .06s; } .hero-v-text > :nth-child(3) { animation-delay: .12s; } .hero-v-text > :nth-child(4) { animation-delay: .18s; } .hero-v-text > :nth-child(n+5) { animation-delay: .24s; }
.hero-v-frame { animation: heroFrame .9s cubic-bezier(.2,.8,.2,1) .1s both; }
@keyframes heroFrame { from { opacity: 0; transform: translateY(30px) rotate(5deg) scale(.96); } }
@media (max-width: 899px) { .hero-v-frame { animation: none; } }
/* parallax with CSS scroll-driven animations (no JS, browsers without support just show static images) */
@supports (animation-timeline: view()) {
  .offer-banner .offer-bg, .page-hero-img .page-hero-bg { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes parallax { from { transform: translateY(-8%) scale(1.15); } to { transform: translateY(8%) scale(1.15); } }
  @media (min-width: 900px) { .hero-v-bg img { animation: parallaxHero linear both; animation-timeline: scroll(root); animation-range: 0 100vh; } }
  @keyframes parallaxHero { to { transform: translateY(18%) scale(1.2); } }
}
@media (prefers-reduced-motion: reduce) {
  .dish-img, .deal-img, .cat-circle-img, .spec-tile { animation: none !important; }
  img.fade-img { opacity: 1; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
.deal-price del { white-space: nowrap; margin: 0; }
.deal-price small { flex-basis: 100%; }

/* =========================================================================
   QR menu (scan-to-menu): compact header, quick actions, deals carousel
   ========================================================================= */
.qr-mode .topbar { display: none; }
.qm-hero { background: radial-gradient(120% 140% at 100% 0%, var(--primary-600) 0%, var(--primary-dark) 60%); color: #fff; padding: 22px 0 26px; }
.qm-hero-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qm-table { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.qm-hero h1 { color: #fff; margin: 14px 0 6px; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.05; }
.qm-hero h1 span { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: .04em; color: var(--accent-light); margin-top: 6px; }
.qm-hero p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .95rem; max-width: 520px; }
.qm-actions { display: flex; gap: 10px; overflow-x: auto; padding-block: 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qm-actions::-webkit-scrollbar { display: none; }
.qm-actions a { flex: 0 0 auto; min-width: 74px; display: grid; justify-items: center; gap: 6px; padding: 12px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--primary); font-size: .78rem; font-weight: 600; text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.qm-actions a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary); }
.qm-actions a svg { width: 22px; height: 22px; }
.qm-actions .qa-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.qm-actions .qa-primary:hover { color: var(--on-accent); }
.qm-deals { padding-block: 10px 4px; }
.qm-deals-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.qm-deals-head h2 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 6px; }
.qm-deals-head h2 svg { color: var(--accent); }
.qm-deals-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.qm-deals-track .deal-card { scroll-snap-align: start; }
.qm-deals-track .deal-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) { .qm-actions { justify-content: flex-start; } .qm-deals-track { grid-auto-columns: 280px; } }
.qm-lang { margin-inline-start: auto; }
.qm-deals-track .deal-img { aspect-ratio: 16 / 8; }

/* NFC tap / Darbar Rewards sign-up */
.tap-wrap { background: radial-gradient(120% 90% at 100% 0%, var(--primary-600), var(--primary-dark) 65%); padding: 28px 0 40px; min-height: calc(100vh - 70px); }
.tap-inner { display: flex; justify-content: center; }
.tap-card { width: min(100%, 460px); background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); padding: 0 22px 22px; }
.tap-head { background: var(--primary); margin: 0 -22px 20px; padding: 20px; display: flex; justify-content: center; }
.tap-head .logo-img { height: 46px; }
.tap-card h1 { font-size: 1.7rem; margin: 0 0 8px; text-align: center; }
.tap-welcome { text-align: center; color: var(--muted); margin: 0 0 12px; }
.tap-bonus { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; border-radius: 12px; padding: 10px 12px; margin: 0 0 16px; }
.tap-form { display: grid; gap: 12px; }
.tap-form .check { font-size: .9rem; }
.tap-done { text-align: center; padding: 6px 0 4px; }
.tap-check { width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; margin: 4px auto 14px; animation: popIn .5s cubic-bezier(.2,1.4,.4,1) both; }
.tap-points { font-size: 1.1rem; margin: 0 0 8px; } .tap-points strong { color: var(--accent); font-size: 2rem; font-family: var(--font-display); }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
.tap-page .bottom-bar, .tap-page .floating-actions { display: none; }

/* Legal pages */
.legal h2 { font-size: 1.25rem; margin: 1.6em 0 .5em; color: var(--primary); }
.legal ul { padding-inline-start: 1.2em; display: grid; gap: .35em; }
.legal p, .legal li { line-height: 1.7; }

/* Performance (Phase 10): cheaper sticky bars (no backdrop blur), pre-blurred hero background */
.site-header { backdrop-filter: none; background: rgba(255, 255, 255, .985); }
.menu-toolbar { backdrop-filter: none; background: rgba(245, 247, 251, .99); }
.hero-v-bg.pre-blurred img { filter: saturate(1.1); transform: scale(1.1); }

/* Accessibility (Phase 10) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bottom-bar .bb-wa { color: #0a7038; }
.menu-side .cat-tabs small { opacity: 1; color: var(--muted); }

/* Off-screen menu sections are not rendered until scrolled near (big saving on the long menu page) */
.menu-section { content-visibility: auto; contain-intrinsic-size: auto 1200px; }
/* links inside sentences must not rely on colour alone */
.tap-form p a, .prose p a, .legal p a { text-decoration: underline; text-underline-offset: 2px; }
/* Home sections below the fold are laid out and painted only when scrolled near */
.lazy-render { content-visibility: auto; contain-intrinsic-size: auto 760px; }

/* ---------- Phone usability (tap targets ≥ 40px, readable labels, sticky add-to-cart) ---------- */
@media (max-width: 767px) {
  /* dish sheet: quantity + "Add to cart" always visible at the bottom, smaller photo */
  .modal-img { aspect-ratio: auto; height: 30vh; max-height: 240px; }
  .modal-actions { position: sticky; bottom: 0; z-index: 3; background: #fff; margin: 16px -22px 0; padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(11, 25, 56, .06); }
  /* bigger buttons for thumbs */
  .menu-main .dish-card .btn-sm, .deal-card .btn-sm, [data-quick-add] .btn { min-height: 40px; padding-inline: 16px; }
  [data-quick-add] .stepper button { min-width: 40px; min-height: 40px; }
  .menu-main .fav-btn, .fav-btn { width: 40px; height: 40px; }
  .topbar a, .topbar .install-link, .topbar .lang-toggle { min-height: 36px; display: inline-flex; align-items: center; }
  .footer-links li { padding: 0; }
  .footer-links a, .site-footer .hours-list a { display: inline-block; padding: 10px 0; }
  .link-arrow { padding: 8px 0; }
  /* readable small labels */
  .img-badge, .save-badge { font-size: .74rem; }
  .menu-main .img-badge, .menu-main .soldout-badge { font-size: .68rem; padding: 2px 5px; letter-spacing: 0; top: auto; bottom: 6px; }
  /* heart stays small on the small menu photo, but its tap area is 42px */
  .menu-main .fav-btn { width: 32px; height: 32px; top: 7px; inset-inline-end: 7px; }
  .menu-main .fav-btn::before { content: ''; position: absolute; inset: -5px; }
  /* solid header so content never shows through */
  .site-header { background: #fff; }
}

/* install pop-up sits above the floating "View cart" bar instead of on top of it */
.has-cart-bar .install-banner { bottom: 140px; }
