/* Business site theme — colour comes from --theme set per business. */
.s-top { background: #1B1D1F; color: #C9CED3; font-size: 13px; }
.s-top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-top: 7px; padding-bottom: 7px; }
.s-top a { color: #F2A33A; text-decoration: none; }
.s-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.s-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 12px; padding-bottom: 12px; }
.s-name { flex: 1 1 240px; display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--theme); }
.s-name b { font-family: var(--display); font-size: 26px; }
.s-name small { color: var(--muted); font-size: 13px; font-family: 'Noto Sans Kannada', var(--body); margin-top: 2px; }
.s-nav { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 15px; }
.s-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.btn-theme { background: var(--theme); border-color: var(--theme); color: #fff; font-weight: 700; }
.btn-theme:hover { color: #fff; filter: brightness(.92); }
.s-hero { position: relative; color: #fff; background: var(--theme); }
.s-hero.has-cover { background-size: cover; background-position: center; }
.s-hero.has-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25)); }
.s-hero .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; max-width: 1200px; }
.s-hero h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 54px); max-width: 760px; }
.s-hero p { margin: 0; font-size: 18px; max-width: 640px; color: #F3F1EC; }
.s-hero .btn:not(.btn-accent) { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; }
.s-sec { padding: 44px 0 8px; }
.s-sec h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); color: var(--theme); margin-bottom: 16px; }
.s-sec h3.group { font-size: 18px; margin: 18px 0 6px; color: var(--ink-2); }
.pk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pk .price { font-size: 22px; font-weight: 700; }
.pk.on { border: 2px solid var(--theme); }
.menu-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.veg { flex: none; width: 14px; height: 14px; border: 2px solid #0F7B3B; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.veg i { width: 6px; height: 6px; border-radius: 50%; background: #0F7B3B; }
.veg.non { border-color: #A8321B; } .veg.non i { background: #A8321B; }
.cart { position: sticky; bottom: 12px; z-index: 25; margin-top: 18px; display: none; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; background: #1B1D1F; color: #fff; border-radius: 16px; padding: 12px 16px; }
.cart.show { display: flex; }
.s-cal .d { min-height: 46px; }
.book-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.done { background: var(--teal-soft); border: 1px solid #B9DCD4; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gal img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; }
.s-foot { background: #1B1D1F; color: #C9CED3; margin-top: 48px; }
.s-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; }
.s-foot a { color: #F2A33A; text-decoration: none; font-weight: 600; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #0F6B5C; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.fab:hover { color: #fff; }
@media (max-width: 760px) { .s-nav { display: none; } .s-hero .wrap { padding-top: 40px; padding-bottom: 40px; } }

/* ---------- v2: rich business page ---------- */
.factbar { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.factbar span { display: inline-flex; align-items: center; gap: 6px; }
.factbar svg { color: var(--theme); }
.open-pill { padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.open-pill.on { background: #E6F4EA; color: #0B5A2E; }
.open-pill.off { background: var(--soft); color: var(--ink-2); }
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 600; }
.highlights svg { color: var(--theme); flex: none; margin-top: 2px; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.amen li { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.amen svg { color: var(--teal); flex: none; }
.pk .pk-img { width: calc(100% + 44px); margin: -22px -22px 4px; height: 170px; object-fit: cover; border-radius: 18px 18px 0 0; }
.menu-row .item-photo { width: 56px; height: 56px; }
.gal { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gal a { position: relative; display: block; }
.gal figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; } .lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }
.lightbox .lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.video { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hours-tbl td { padding: 6px 14px 6px 0; } .hours-tbl tr.is-today td { font-weight: 700; color: var(--theme); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.rev .stars { color: #C7871B; letter-spacing: 2px; }
.rev .reply { background: var(--ground); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; color: #CFCBC2; cursor: pointer; line-height: 1; padding: 2px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #E0A21A; }
.star-input input:focus-visible + label { outline: 3px solid #F2A33A88; border-radius: 6px; }
.rating-big { font-family: var(--display); font-size: 48px; line-height: 1; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { min-height: 48px; padding: 0 8px; }
  body.has-sticky { padding-bottom: 76px; }
  .fab { display: none; }
  .pk .pk-img { height: 150px; }
}

/* v3: item options and indicative-price note */
.opts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.opts li { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 6px 0; border-top: 1px dashed var(--line, #E5E1DA); }
.opts li b { white-space: nowrap; }
.opt-select { min-height: 36px; border-radius: 10px; border: 1px solid var(--line-2, #CFC9BF); padding: 0 8px; font: inherit; font-size: 14px; background: #fff; max-width: 190px; }
.price-note { font-size: 14px; color: var(--ink-2, #555); margin: -6px 0 14px; }
.pk > a:has(> .pk-img) { display: block; margin: -22px -22px 4px; }
.pk > a > .pk-img { width: 100%; margin: 0; display: block; }
.menu-row .opt-select { margin-top: 6px; align-self: flex-start; }
.menu-row .item-photo, .menu-row > a { flex-shrink: 0; }

/* ---------- v4: richer business sites ---------- */
.emg { background: #B3261E; color: #fff; font-size: 15px; }
.emg .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 8px; padding-bottom: 8px; }
.emg .btn { background: #fff; color: #B3261E; border-color: #fff; font-weight: 700; }
.emg-108 a { color: #fff; font-weight: 700; }
.s-hero { overflow: hidden; }
.s-hero.has-cover { min-height: 440px; display: flex; align-items: flex-end; }
.s-hero.has-cover .wrap { width: 100%; }
.s-hero.has-cover::before { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%), linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 70%); }
.s-hero h1 { text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.s-hero .badge.open { background: #E6F4EA; color: #0B5A2E; }
.s-hero-credit { position: absolute; right: 10px; bottom: 6px; font-size: 11px; color: rgba(255,255,255,.7); z-index: 1; }
@media (max-width: 760px) { .s-hero.has-cover { min-height: 380px; } }

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; counter-reset: none; }
.how-steps li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.how-steps li div { display: flex; flex-direction: column; gap: 2px; }
.how-steps li span:not(.how-n) { color: var(--ink-2); font-size: 14px; }
.how-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--theme); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.s-sec.how { padding-top: 22px; padding-bottom: 0; }

.menu-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 6px; position: sticky; top: 70px; z-index: 5; background: var(--ground); padding: 10px 0; }
.menu-tools input[type=search] { flex: 1 1 220px; min-height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; }
.veg-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; }
.menu-chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
.menu-chips .chip { white-space: nowrap; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 28px; }
@media (max-width: 420px) { .menu-grid { grid-template-columns: 1fr; } }

.planner { position: fixed; left: 16px; bottom: 16px; z-index: 44; width: min(480px, calc(100vw - 104px)); background: #1B1D1F; color: #fff; border-radius: 18px; box-shadow: 0 12px 36px rgba(0,0,0,.35); overflow: hidden; }
.planner-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: transparent; color: #fff; border: 0; font: inherit; font-size: 15px; cursor: pointer; min-height: 52px; }
.planner-total b { color: #F5B841; font-size: 17px; }
.planner-body { background: #fff; color: var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; }
.planner-body:not([hidden]) { display: flex; }
.plan-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.plan-lines li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.plan-lines li .grow { display: flex; flex-direction: column; min-width: 0; }
.plan-lines li .grow .muted { font-size: 13px; }
.plan-lines .qty input { width: 72px; min-height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 8px; font: inherit; }
.plan-lines .unit { font-size: 13px; color: var(--ink-2); min-width: 0; }
.plan-lines .lt { white-space: nowrap; min-width: 70px; text-align: right; }
.plan-sum { font-size: 17px; padding-top: 4px; }
.plan-sum b { font-size: 20px; }
@media (max-width: 760px) {
  .planner { left: 8px; right: 8px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-planner { padding-bottom: 140px; }
  .menu-tools { top: 56px; }
}

.upi-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.upi-qr { width: 150px; flex: none; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.upi-qr svg { width: 100%; height: auto; display: block; }
.upi-box > .stack { flex: 1 1 200px; min-width: 0; }
@media (min-width: 761px) { .upi-open { display: none; } }

.menu-chips .chip { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.menu-chips .chip:hover { border-color: var(--theme); color: var(--theme); }
@media (max-width: 760px) {
  .s-head > .wrap > .btn-theme { display: none; }
  .menu-tools { position: static; }
}

/* ---------- v5: live queue ---------- */
.queue-box { background: #fff; border: 2px solid var(--theme); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.queue-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #B3261E; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #E53935; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.queue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.queue-num { display: block; font-family: var(--display); font-size: 40px; line-height: 1.1; color: var(--theme); }
.queue-mine { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 17px; }
.queue-mine b { font-size: 24px; }
.rev-photos { display: flex; gap: 6px; flex-wrap: wrap; }
.rev-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; display: block; }
.deals-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.deal-mini { border: 2px dashed var(--accent, #F2A33A); border-radius: 16px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.stamps { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.stamps i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--theme); }
.stamps i.on { background: var(--theme); }
