/* My Sardulgarh — "Market Board" design. Mobile-first, no frameworks. */
:root {
  --bg: #F1EEE7;          /* warm stone */
  --card: #FFFFFF;
  --ink: #1C1B19;
  --ink-2: #6B665C;
  --ink-3: #9C968A;
  --line: #E2DDD2;
  --board: #1C1B19;
  --board-2: #2A2926;
  --board-text: #F1EEE7;
  --board-mute: #A7A194;
  --neon: #7CF29C;
  --ok: #12A150;
  --bad: #D9483B;
  --wa: #1FAF5A;
  --gold: #F5B83D;
  /* kept for admin.css */
  --brand: #1C1B19; --brand-dark: #000; --brand-soft: #EEEBE4; --bg-2: #EEEBE4;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(28,27,25,.04), 0 6px 18px rgba(28,27,25,.06);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Sora", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: var(--safe-b); }
html[lang=pa] body { font-family: "Noto Sans Gurmukhi", var(--font); }
body.has-cta { padding-bottom: calc(84px + var(--safe-b)); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.03em; font-weight: 800; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--ink-2); } .small { font-size: .84rem; }
.sr-only, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px; z-index: 99; }
main { max-width: 760px; margin: 0 auto; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
.ti { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.push-right { margin-left: auto; }

/* ---------- Header ---------- */
.appbar { position: sticky; top: 0; z-index: 30; padding: 12px 18px 10px; background: rgba(241,238,231,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.appbar.scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr-top { display: flex; align-items: center; gap: 8px; min-height: 46px; }
.logo { display: flex; align-items: center; text-decoration: none; min-width: 0; flex: none; }
.logo img { height: 48px; width: auto; }
.appbar:not(.appbar-rich) .logo img { height: 38px; }
.hdr-title { margin: 0; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.rbtn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); color: var(--ink); text-decoration: none; border: 0; cursor: pointer; flex: none; }
.rbtn .ic { width: 20px; height: 20px; }
.rbtn-dark { background: var(--ink); color: var(--board-text); }
.rbtn-dark .ic { stroke-width: 2.4; }
.back-btn { margin-left: -4px; }
.lang-pill { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px; background: var(--card); text-decoration: none; font-weight: 800; font-size: .85rem; }
.avatar-sm { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 800; }
.fav-count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .62rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.searchbox { display: flex; align-items: center; gap: 10px; height: 52px; margin-top: 12px; padding: 0 8px 0 18px; border-radius: 26px; background: var(--card); color: var(--ink-3); border: 1.5px solid transparent; }
.searchbox:focus-within { border-color: var(--ink); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0; min-height: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); }
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox input::-webkit-search-cancel-button { display: none; }
.sb-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.sb-icon.listening { background: var(--ink); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(28,27,25,.15); } }
@media (max-width: 380px) { .appbar { padding-left: 14px; padding-right: 14px; } .rbtn, .avatar-sm, .lang-pill { width: 36px; height: 36px; min-width: 36px; } .install-btn { display: none !important; } .logo img { height: 42px; } }
.offline-bar { background: var(--ink); color: #fff; text-align: center; padding: 6px; font-size: .85rem; }

/* ---------- Category pills ---------- */
.cat-pills { display: flex; gap: 8px; padding: 6px 18px 2px; overflow-x: auto; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills a { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 20px; background: var(--card); text-decoration: none; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.cat-pills a i { width: 8px; height: 8px; border-radius: 50%; }
.cat-pills a.on { background: var(--ink); color: var(--board-text); }

/* ---------- The board ---------- */
.board { margin: 14px 18px 0; padding: 16px; border-radius: 26px; background: var(--board); color: var(--board-text); }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--board-mute); font-weight: 600; }
.board-loc { position: relative; display: flex; align-items: center; gap: 5px; min-width: 0; cursor: pointer; color: var(--board-mute); font-size: inherit; font-weight: 600; }
.board-loc span { white-space: nowrap; }
.board-loc select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--board-text); min-height: 0; padding: 0 16px 0 0;
  font: inherit; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; max-width: 160px; text-overflow: ellipsis; cursor: pointer;
}
.board-loc select:focus { outline: 0; background: transparent; }
.board-loc select option { color: var(--ink); text-transform: none; letter-spacing: 0; }
.board-loc .ic { position: absolute; right: 0; width: 13px; height: 13px; pointer-events: none; color: var(--board-text); stroke-width: 2.6; }
.board-open { display: inline-flex; align-items: center; gap: 6px; color: var(--neon); font-weight: 800; text-decoration: none; white-space: nowrap; }
.board-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.types.js-collapsed:not(.expanded) .ty.extra { display: none; }
.ty { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: var(--board-2); color: var(--board-text); text-decoration: none; min-width: 0; transition: transform .1s; }
.ty:active { transform: scale(.97); }
.ty-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--ink); flex: none; }
.ty-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ty-t b { font-size: .86rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ty-t small { font-size: .72rem; color: var(--board-mute); }
.ty.on { background: var(--board-text); color: var(--ink); }
.ty.on small { color: var(--ink-2); }
.board-more { width: 100%; margin-top: 8px; height: 40px; border: 1px dashed #4A4843; border-radius: 14px; background: transparent; color: var(--board-text); font: inherit; font-weight: 600; font-size: .82rem; cursor: pointer; }
.board-cats { display: block; margin-top: 12px; text-align: center; font-size: .78rem; font-weight: 600; color: var(--board-mute); text-decoration: none; letter-spacing: .04em; }
html:not(.js) .board-more { display: none; }

/* ---------- Sections ---------- */
.section { padding: 22px 18px 4px; }
.sec-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 18px 6px; margin: 0 -18px; scroll-padding: 0 18px; }
.carousel::-webkit-scrollbar { display: none; }
.banners { margin-top: 14px; padding-top: 0; }
.banners .banner { flex: 0 0 88%; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: var(--card); aspect-ratio: 8/3; }
.banners img { width: 100%; height: 100%; object-fit: cover; }
.feat-row .tk { flex: 0 0 86%; max-width: 380px; scroll-snap-align: start; margin: 0; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 14px; padding: 0 18px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--card); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--board-text); }
.chip-clear { background: transparent; border: 1.5px solid var(--line); }
.dot-g { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- Ticket cards ---------- */
.tk-list { display: grid; gap: 12px; }
@media (min-width: 680px) { .tk-list { grid-template-columns: 1fr 1fr; } }
.tk { position: relative; }
.tk-a { position: relative; display: flex; min-height: 118px; background: var(--card); border-radius: 22px; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .1s; }
.tk-a:active { transform: scale(.985); }
.tk-a::before, .tk-a::after { content: ""; position: absolute; left: 91px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); z-index: 1; }
.tk-a::before { top: -9px; } .tk-a::after { bottom: -9px; }
.feat-row .tk-a::before, .feat-row .tk-a::after { background: var(--bg); }
.tk-l { width: 100px; flex: none; display: flex; }
.tk-pic { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; background: var(--tl, #EEEBE4); color: var(--ink); }
.ph .ti { width: 40px; height: 40px; stroke-width: 1.5; }
.tk-r { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; flex: 1; padding: 12px 46px 12px 16px; border-left: 2px dashed var(--line); }
.tk-flags { display: flex; gap: 6px; margin-bottom: 2px; }
.tk-flags i { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; }
.flag-feat { background: var(--ink); color: var(--gold); }
.flag-sample { background: var(--bg); color: var(--ink-2); }
.tk-n { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-m { font-size: .78rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-m2 { font-size: .78rem; }
.tk-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.tk-f b { font-size: .88rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-open { flex: none; font-size: .62rem; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
.tk-open::before { content: "● "; }
.is-open { color: var(--ok); } .is-closed { color: var(--bad); }
.r-star { font-weight: 700; } .r-count { color: var(--ink-3); margin-left: 2px; }
.r-new { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #EEE8FF; color: #5B3FD0; padding: 1px 6px; border-radius: 5px; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.fav .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.fav[aria-pressed="true"] .ic, .fav-inline[aria-pressed="true"] .ic { fill: #E0473A; stroke: #E0473A; }
.fav[aria-pressed="true"] { animation: pop .25s; }
@keyframes pop { 50% { transform: scale(1.18); } }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: .7rem; font-weight: 800; }
.tag-open { background: #E3F5EA; color: var(--ok); } .tag-closed { background: #FBE7E4; color: var(--bad); }
.skeleton .tk-a { min-height: 118px; }
.skeleton .tk-pic, .skeleton i { background: linear-gradient(90deg, #ECE8E0 25%, #F6F3EE 50%, #ECE8E0 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skeleton .tk-pic { display: block; }
.skeleton i { display: block; height: 11px; border-radius: 6px; margin: 5px 0; }
.skeleton i.short { width: 45%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.load-more { margin-top: 16px; }

/* ---------- Seller board ---------- */
.seller-board { display: flex; align-items: center; gap: 14px; margin: 24px 18px 6px; padding: 18px; border-radius: 26px; background: var(--board); color: var(--board-text); text-decoration: none; }
.seller-board > span:first-child { display: grid; gap: 3px; flex: 1; }
.seller-board small { font-size: .66rem; letter-spacing: .14em; color: var(--neon); font-weight: 800; }
.seller-board strong { font-size: 1.15rem; letter-spacing: -.03em; }
.seller-board em { font-style: normal; font-size: .8rem; color: var(--board-mute); line-height: 1.4; }
.seller-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); flex: none; }
.seller-go .ic { stroke-width: 2.6; }
.seller-board.small { margin: 8px 0 0; }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: 34px 20px; background: var(--card); border-radius: 24px; }
.empty-art { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--bg); margin-bottom: 10px; }
.empty-art .ti, .empty-art .ic { width: 32px; height: 32px; }
.empty p { color: var(--ink-2); max-width: 300px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 25px; background: var(--ink); color: var(--board-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .1s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn:hover { opacity: .92; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .86rem; border-radius: 20px; }
.btn-lg { min-height: 56px; font-size: 1.02rem; border-radius: 28px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost, .btn-soft { background: var(--card); color: var(--ink); }
.btn-light { background: var(--board-text); color: var(--ink); }
.btn-call { background: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn.disabled { opacity: .3; pointer-events: none; }
.link-btn { background: none; border: 0; color: var(--ink); font: inherit; font-weight: 700; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:disabled { color: var(--ink-3); text-decoration: none; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; } .row.space { justify-content: space-between; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px; border: 0; border-radius: 20px; background: var(--card); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.chip-btn::-webkit-details-marker { display: none; }
.chip-btn.danger { color: var(--bad); }
.chip-btn .ic { width: 17px; height: 17px; }

/* ---------- Flash ---------- */
.flash { margin: 10px 18px; padding: 12px 16px; border-radius: 16px; font-size: .88rem; font-weight: 500; }
.panel .flash, .detail-body .flash { margin: 10px 0; }
.flash-success { background: #E3F5EA; color: #0B5E33; }
.flash-error { background: #FBE7E4; color: #8B1A1A; }
.flash-info { background: var(--card); color: var(--ink-2); }
.flash-warn { background: var(--gold); color: var(--ink); font-weight: 800; font-size: 1.05rem; text-align: center; }

/* ---------- Listing detail ---------- */
.detail { padding: 4px 18px 0; }
.gallery-wrap { position: relative; border-radius: 26px; overflow: hidden; background: var(--card); }
.gallery { margin: 0; padding: 0; gap: 0; }
.gallery img, .gallery-ph { flex: 0 0 100%; width: 100%; height: auto; max-height: 56vh; aspect-ratio: 4/3; object-fit: cover; scroll-snap-align: center; }
.gallery-ph.ph .ti { width: 96px; height: 96px; stroke-width: 1.1; }
.gallery-wrap .badge { position: absolute; top: 14px; left: 14px; }
.badge { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; }
.badge-feat { background: var(--ink); color: var(--gold); }
.badge-sample { background: var(--card); color: var(--ink-2); }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.6); transition: width .2s; }
.dots i.on { background: #fff; width: 18px; }
.detail-body { padding: 18px 2px 8px; }
.crumbs { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.detail-title { font-size: 1.75rem; letter-spacing: -.05em; margin-bottom: 8px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 12px; font-size: .84rem; }
.detail-meta .ic { width: 15px; height: 15px; }
.stars { color: var(--gold); letter-spacing: -1px; white-space: nowrap; }
.stars i { color: #D6D0C4; font-style: normal; }
.rating { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.rating small { color: var(--ink-2); }
.open-dot { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.open-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.price-tag { display: inline-block; background: var(--card); font-weight: 800; padding: 9px 16px; border-radius: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 16px; }
.contact-row .btn { min-height: 56px; font-size: 1rem; }
.info-list { margin: 0 0 12px; display: grid; gap: 10px; }
.info-list div { display: grid; gap: 3px; padding: 14px 16px; background: var(--card); border-radius: 18px; }
.info-list dt { font-size: .66rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.info-list dt .ic { width: 14px; height: 14px; }
.info-list dd { margin: 0; font-weight: 600; }
.link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 700; }
.block { margin: 22px 0; }
.prewrap { white-space: pre-line; color: #3A3833; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 18px; overflow: hidden; }
.price-table td { padding: 12px 16px; border-bottom: 2px dashed var(--bg); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.hint { font-size: .8rem; color: var(--ink-2); background: var(--card); padding: 10px 14px; border-radius: 14px; border-left: 4px solid var(--gold); }
.actions-row { flex-wrap: wrap; margin: 14px 0; }
.reviews { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.reviews li { padding: 14px 16px; background: var(--card); border-radius: 18px; }
.reviews p { margin: 4px 0; }
.rev-head { display: flex; justify-content: space-between; gap: 8px; }
.review-form { display: grid; gap: 10px; padding: 14px; background: var(--card); border-radius: var(--radius); margin-bottom: 12px; }
.star-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-input legend { width: 100%; font-size: .82rem; color: var(--ink-2); margin-bottom: 2px; font-weight: 600; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.3rem; line-height: 1; color: #D6D0C4; cursor: pointer; padding: 0 3px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 18px calc(10px + var(--safe-b)); background: rgba(241,238,231,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); transform: translateY(120%); transition: transform .25s; }
.sticky-cta .btn { min-height: 52px; }
.sticky-cta.show { transform: none; }

/* ---------- Dialog ---------- */
.dialog { border: 0; border-radius: 26px; padding: 20px; width: min(92vw, 420px); background: var(--bg); }
.dialog::backdrop { background: rgba(28,27,25,.55); }
.dialog fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.report-form { display: grid; gap: 10px; }
.report-msg { font-weight: 700; color: var(--ok); }

/* ---------- Forms ---------- */
.panel { padding: 16px 18px; }
.panel.narrow { max-width: 440px; margin: 0 auto; }
.panel h1 { font-size: 1.6rem; letter-spacing: -.05em; }
.form { display: grid; gap: 14px; }
.form-group { padding: 16px; margin: 0; display: grid; gap: 14px; background: var(--card); border: 0; border-radius: 22px; }
.form-group legend { float: left; width: 100%; font-weight: 800; padding: 0; margin-bottom: 4px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .84rem; color: #3A3833; }
input, select, textarea { width: 100%; font: inherit; font-weight: 500; color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: 16px; padding: 13px 15px; min-height: 50px; transition: border-color .15s, background .15s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; background: #fff; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--ink); margin: 0; flex: none; }
label.check, .check { display: flex; align-items: center; gap: 10px; font-weight: 500; min-height: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 400px) { .two { grid-template-columns: 1fr; } .two.time-fields { grid-template-columns: 1fr 1fr; } }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 520px) { .seg { grid-template-columns: repeat(4, 1fr); } }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; background: var(--bg); border: 1.5px solid transparent; border-radius: 16px; font-weight: 700; cursor: pointer; }
.seg-opt input:checked + span { background: var(--ink); color: var(--board-text); }
.seg-opt input:focus-visible + span { border-color: var(--ink); }
.phone-input { display: flex; align-items: center; background: var(--card); border: 1.5px solid transparent; border-radius: 16px; overflow: hidden; }
.phone-input span { padding: 0 4px 0 16px; color: var(--ink-2); font-weight: 700; }
.phone-input input { border: 0; background: transparent; font-size: 1.15rem; letter-spacing: 1px; }
.phone-input input:focus { border: 0; background: transparent; }
.phone-input:focus-within { border-color: var(--ink); }
.panel > .form > input, .otp-input { background: var(--card); }
.otp-input { text-align: center; font-size: 1.8rem; letter-spacing: 12px; font-weight: 800; }
.photo-grid, .photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.photo-item { font-weight: 500; font-size: .8rem; }
.photo-item img, .photo-preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.photo-preview:empty { display: none; }
input[type=file] { padding: 12px; border: 1.5px dashed #CFC8BA; }

/* ---------- Profile / dashboard ---------- */
.profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.name-form input { flex: 1; background: var(--card); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.section-title { font-size: 1.2rem; font-weight: 800; margin: 0; }
.dash-list { display: grid; gap: 12px; }
@media (min-width: 700px) { .dash-list { grid-template-columns: 1fr 1fr; } }
.dash-card { border-radius: 22px; padding: 14px; display: grid; gap: 12px; background: var(--card); }
.dash-top { display: flex; gap: 12px; text-decoration: none; color: var(--ink); }
.dash-thumb { width: 80px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; overflow: hidden; }
.dash-thumb .ti { width: 30px; height: 30px; }
.dash-top h3 { margin: 0; }
.status { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin: 4px 4px 0 0; }
.st-pending { background: #FFF1CC; color: #7A5200; } .st-approved { background: #E3F5EA; color: #0B5E33; }
.st-rejected { background: #FBE7E4; color: #8B1A1A; } .st-paused { background: var(--bg); color: var(--ink-2); }
.st-feat { background: var(--ink); color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stats span { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; background: var(--bg); border-radius: 14px; font-size: .66rem; color: var(--ink-2); text-align: center; }
.stats .ic { width: 15px; height: 15px; }
.stats b { color: var(--ink); font-size: 1rem; }
.err-text { color: var(--bad); }
.feature-box { background: var(--ink); color: var(--board-text); border-radius: 18px; padding: 12px 14px; }
.feature-box summary { font-weight: 800; cursor: pointer; min-height: 32px; color: var(--gold); }
.feature-box label { color: var(--board-text); }

/* ---------- Categories page ---------- */
.catpage { display: grid; grid-template-columns: 92px 1fr; gap: 0; min-height: calc(100vh - 70px); }
.cat-side { background: var(--board); padding: 10px 0 20px; position: sticky; top: 70px; align-self: start; max-height: calc(100vh - 70px); overflow-y: auto; border-radius: 0 26px 26px 0; }
.side-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; text-decoration: none; color: var(--board-mute); font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.2; }
.side-pic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: var(--ink); opacity: .55; }
.side-item.on { color: var(--board-text); font-weight: 800; }
.side-item.on .side-pic { opacity: 1; box-shadow: 0 0 0 3px var(--board), 0 0 0 5px var(--board-text); }
.cat-main { padding: 6px 18px 24px; min-width: 0; }
.cat-h { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 10px 0 12px; }
.circle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; margin-bottom: 20px; }
@media (min-width: 560px) { .circle-grid { grid-template-columns: repeat(5, 1fr); } }
.circle { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; }
.circle-pic { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: var(--ink); }
.circle-pic .ti { width: 30px; height: 30px; }
.circle-pic.dark { background: var(--ink); color: var(--neon); }
.circle-pic b { position: absolute; right: -4px; top: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--gold); color: var(--ink); font-size: .7rem; display: grid; place-items: center; border: 2px solid var(--bg); }
.circle-label { font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.2; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose li { margin-bottom: 8px; }
.prose h2 { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { margin: 36px 18px 18px; padding: 26px 20px; background: var(--board); color: var(--board-mute); border-radius: 26px; text-align: center; }
.foot-brand { display: flex; justify-content: center; margin-bottom: 8px; }
.foot-brand img { height: 64px; width: auto; }
.site-footer .muted { color: var(--board-mute); }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0; }
.foot-links a { color: var(--board-text); padding: 6px 0; text-decoration: none; font-weight: 600; font-size: .86rem; }
.insta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 22px; background: var(--board-2); color: var(--board-text); text-decoration: none; font-weight: 700; margin: 6px 0 12px; }

@media (min-width: 960px) { .sticky-cta { max-width: 600px; margin: 0 auto; border-radius: 22px 22px 0 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Menu (sectioned price list) ---------- */
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.menu-head h2 { margin: 0; }
.menu-head small { font-size: .75rem; font-weight: 600; letter-spacing: 0; }
.menu-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 12px; padding: 0 18px; position: sticky; top: 70px; z-index: 5; }
.menu-jump::-webkit-scrollbar { display: none; }
.menu-jump a { flex: none; padding: 7px 12px; border-radius: 16px; background: var(--card); font-size: .76rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 0 var(--line); }
.menu-sec { background: var(--card); border-radius: 20px; margin-bottom: 10px; overflow: hidden; scroll-margin-top: 120px; }
.menu-sec summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 800; }
.menu-sec summary::-webkit-details-marker { display: none; }
.menu-sec summary span { flex: 1; }
.menu-sec summary em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .1em; color: var(--ink-2); background: var(--bg); padding: 3px 8px; border-radius: 6px; }
.menu-sec summary b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; background: var(--bg); font-size: .72rem; }
.menu-sec summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
.menu-sec[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.menu-sec ul { list-style: none; margin: 0; padding: 0 16px 8px; }
.menu-sec li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 2px dashed var(--bg); }
.mi-name { font-weight: 600; font-size: .9rem; }
.mi-name small { display: block; font-weight: 400; font-size: .74rem; color: var(--ink-2); margin-top: 1px; }
.mi-name i { font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); padding: 2px 6px; border-radius: 5px; vertical-align: 2px; }
.mi-price { flex: none; font-weight: 800; font-size: .88rem; white-space: nowrap; text-align: right; }
.menu-sec li.special .mi-name { color: #8E1B24; }

/* ---------- Registration wizard ---------- */
.eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.wiz-bar { position: sticky; top: 70px; z-index: 6; padding: 10px 0 8px; background: var(--bg); }
.wiz-track { height: 6px; border-radius: 3px; background: #E2DDD2; overflow: hidden; }
.wiz-track i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 3px; transition: width .3s; }
.wiz-label { margin: 8px 0 0; font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.is-wizard .step legend { display: none; }
.step legend { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--board-text); font-size: .78rem; }
.wiz-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; padding: 10px 0 calc(10px + var(--safe-b)); background: var(--bg); }
.wiz-final { display: grid; gap: 12px; }
.field-label { margin: 6px 0 0; font-weight: 700; font-size: .84rem; color: #3A3833; }
.cat-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-opt input, .sp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cp-opt span { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 20px; background: var(--bg); border: 2px solid transparent; cursor: pointer; transition: border-color .15s, background .15s; }
.cp-opt i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--ink); }
.cp-opt b { font-size: 1rem; }
.cp-opt input:checked + span { background: var(--ink); color: var(--board-text); }
.cp-opt input:focus-visible + span { border-color: var(--ink); }
.sub-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-opt span { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 21px; background: var(--bg); font-weight: 600; font-size: .86rem; cursor: pointer; border: 2px solid transparent; }
.sp-opt .ti { width: 18px; height: 18px; }
.sp-opt input:checked + span { background: var(--gold); border-color: var(--ink); }
.sp-opt input:focus-visible + span { border-color: var(--ink); }
.seg-2 { grid-template-columns: 1fr 1fr !important; }
.pt-quote { display: none; } .pm-quote .pt-quote { display: inline; } .pm-quote .pt-fixed { display: none; }
.howto { background: var(--bg); border-radius: 16px; padding: 10px 14px; font-size: .84rem; }
.howto summary { font-weight: 700; cursor: pointer; }
.howto ol { margin: 8px 0; padding-left: 20px; color: var(--ink-2); }
.file-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px; border: 2px dashed #CFC8BA; border-radius: 18px; text-align: center; color: var(--ink-2); cursor: pointer; }
.file-drop input[type=file] { border: 0; padding: 0; min-height: 0; background: transparent; max-width: 100%; }
.chip-dark { background: var(--ink); color: var(--board-text); }

/* ---------- Catalog on listing page ---------- */
.order-hint { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #146C3B; background: #E3F5EA; padding: 10px 14px; border-radius: 14px; }
.order-hint .ic { color: var(--wa); }
.menu-tools { margin: 10px 0; }
.menu-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 23px; background: var(--card); color: var(--ink-3); font-weight: 400; }
.menu-search input { border: 0; background: transparent; min-height: 0; padding: 0; }
.menu-search input:focus { border: 0; background: transparent; }
.csec { background: var(--card); border-radius: 22px; padding: 6px 16px 4px; margin-bottom: 12px; scroll-margin-top: 130px; }
.csec h3 { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; font-size: 1.05rem; }
.csec h3 small { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--bg); font-size: .7rem; }
.citem { display: flex; gap: 12px; padding: 14px 0; border-top: 2px dashed var(--bg); }
.csec h3 + .citem { border-top: 0; }
.ci-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ci-txt > b { font-size: .95rem; }
.ci-txt small { font-size: .76rem; color: var(--ink-2); line-height: 1.35; }
.ci-spl { align-self: flex-start; font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); padding: 2px 7px; border-radius: 5px; }
.citem.special .ci-txt > b { color: #8E1B24; }
.ci-price { font-weight: 800; font-size: .92rem; margin-top: 2px; }
.ci-sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.ci-sizes span { font-size: .72rem; color: var(--ink-2); background: var(--bg); padding: 3px 8px; border-radius: 8px; }
.ci-sizes b { color: var(--ink); }
.ci-side { position: relative; flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.ci-side img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; }
.add-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 88px; height: 38px; margin-top: -16px;
  border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); color: #12803F; font: inherit; font-weight: 800; font-size: .86rem;
  letter-spacing: .04em; cursor: pointer; box-shadow: 0 3px 10px rgba(28,27,25,.12);
}
.ci-side:not(:has(img)) .add-btn { margin-top: 4px; }
.add-btn small { font-size: .9rem; }
.add-btn.in-cart { background: var(--ink); color: var(--board-text); }
.add-btn.in-cart::after { content: attr(data-q); position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--wa); color: #fff; font-size: .72rem; display: grid; place-items: center; border: 2px solid var(--card); }
.citem[hidden], .csec[hidden] { display: none; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; padding: 10px 18px calc(10px + var(--safe-b)); }
.cart-bar button { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto; height: 58px; padding: 0 18px; border: 0; border-radius: 20px; background: #12803F; color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(18,128,63,.35); }
.cart-bar .cb-total { font-weight: 800; }
.cart-bar .cb-count { opacity: .9; }
.cart-bar b { margin-left: auto; }
body.cart-open .sticky-cta { display: none; }
body.cart-open { padding-bottom: calc(90px + var(--safe-b)); }
.sheet-dlg { margin: auto auto 0; width: 100%; max-width: 560px; border-radius: 26px 26px 0 0; padding: 20px 18px calc(18px + var(--safe-b)); max-height: 88vh; }
.sheet-dlg[open] { animation: sheetUp .22s ease-out; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: .5; } }
.size-form, .cart-form { display: grid; gap: 12px; }
.size-form h2, .cart-form h2 { margin: 0; }
.sz-opts { display: grid; gap: 8px; }
.sz-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); cursor: pointer; font-weight: 600; }
.sz-opt b { margin-left: auto; }
.sz-opt:has(input:checked) { outline: 2px solid var(--ink); }
.qty { display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: var(--card); border-radius: 14px; padding: 4px; justify-self: center; }
.qty button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg); font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.qty b { min-width: 34px; text-align: center; }
.qty.sm button { width: 30px; height: 30px; font-size: 1rem; }
.qty.sm b { min-width: 24px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 38vh; overflow-y: auto; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto 70px; align-items: center; gap: 8px; padding: 10px 12px; background: var(--card); border-radius: 14px; font-size: .86rem; }
.cl-name { font-weight: 600; }
.cl-price { text-align: right; font-weight: 800; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px; font-size: 1.05rem; font-weight: 800; }
.cart-form input:not([type=radio]) { background: var(--card); }

/* ---------- Menu manager ---------- */
.msec { background: var(--card); border-radius: 22px; padding: 12px; margin-bottom: 12px; scroll-margin-top: 90px; }
.msec-head { display: flex; gap: 6px; align-items: center; }
.msec-head input[name=title] { font-weight: 800; background: var(--bg); }
.msec-head .sort-in { width: 64px; flex: none; padding: 10px 6px; text-align: center; }
.msec-head .rbtn, .mitems .rbtn { background: var(--bg); width: 38px; height: 38px; font-size: .9rem; }
.mitems { list-style: none; margin: 8px 0; padding: 0; }
.mitems li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 2px dashed var(--bg); }
.mitems li.off { opacity: .5; }
.mitems img, .mthumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.mthumb { display: grid; place-items: center; background: var(--bg); }
.mi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mi-main b { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-main small { font-size: .74rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add-section .row input { flex: 1; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets .chip { background: var(--bg); border: 0; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; height: 32px; }
.var-rows { display: grid; gap: 8px; }
.var-row { display: grid; grid-template-columns: 1fr 120px 38px; gap: 8px; align-items: center; }
.var-row .rbtn { background: var(--bg); width: 38px; height: 38px; }
.rupee { display: flex; align-items: center; gap: 0; background: var(--bg); border-radius: 16px; padding-left: 14px; font-weight: 800; }
.rupee input { background: transparent; border-color: transparent; padding-left: 6px; }
.rupee:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
