/* HukumJi stylesheet — shared by the customer site, the partner app and the owner page.
   Layout: white app shell, sticky header, content column max 1080px, bottom cart bar on phones,
   sheets slide up from the bottom on phones and open centred on desktop. */

:root {
  --bg: #f4f5f7; --surface: #ffffff; --surface-2: #f0f2f5; --ink: #141c2b; --muted: #5d6676; --line: #e1e5eb;
  --brand: #1d3a6e; --brand-2: #2b528f; --brand-fg: #ffffff; --marigold: #e8a317; --marigold-ink: #3a2700;
  --ok: #1a7a49; --ok-bg: #e2f4ea; --warn: #9a5b00; --warn-bg: #fdf0d5; --bad: #a3302a; --bad-bg: #fbe5e3;
  --info: #1d4f91; --info-bg: #e2ecfa; --star: #d48806;
  --display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --body: "Mukta", "Noto Sans Devanagari", "Nirmala UI", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 28, 43, .06), 0 4px 14px rgba(20, 28, 43, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1220; --surface: #161e2f; --surface-2: #1d2739; --ink: #e8ecf3; --muted: #9aa5b9; --line: #283449;
    --brand: #14284d; --brand-2: #1e3a6b; --brand-fg: #eef2fa; --marigold: #f2b33a; --marigold-ink: #2b1d00;
    --ok: #6fd3a0; --ok-bg: #12301f; --warn: #f2c26b; --warn-bg: #36280c; --bad: #f19a92; --bad-bg: #3a1a18;
    --info: #9cc0f5; --info-bg: #172a48; --star: #f2c26b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0d1220; --surface: #161e2f; --surface-2: #1d2739; --ink: #e8ecf3; --muted: #9aa5b9; --line: #283449;
    --brand: #14284d; --brand-2: #1e3a6b; --brand-fg: #eef2fa; --marigold: #f2b33a; --marigold-ink: #2b1d00;
    --ok: #6fd3a0; --ok-bg: #12301f; --warn: #f2c26b; --warn-bg: #36280c; --bad: #f19a92; --bad-bg: #3a1a18;
    --info: #9cc0f5; --info-bg: #172a48; --star: #f2c26b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
picture { display: block; }
[hidden] { display: none !important; }
a { color: var(--info); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { display: flex; flex-direction: column; gap: 22px; padding-block: 20px 120px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.num { font-variant-numeric: tabular-nums; }
.meta { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.small { font-size: .82rem; }
.strike { text-decoration: line-through; color: var(--muted); font-size: .9rem; }

h2.section { font-family: var(--display); font-size: 1.25rem; margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.section-sub { color: var(--muted); margin: 2px 0 0; font-size: .92rem; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--brand); color: var(--brand-fg); padding-top: env(safe-area-inset-top, 0px); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { font-family: var(--display); font-style: normal; font-size: 1.42rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.brand b span { color: var(--marigold); }
.brand small { display: block; font-size: .72rem; opacity: .75; font-weight: 400; margin-top: 2px; }
.loc { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; background: rgba(255,255,255,.12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { color: var(--brand-fg); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 10px; opacity: .85; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.topnav a[aria-current="page"] { background: rgba(255,255,255,.14); opacity: 1; }
.badge { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--marigold); color: var(--marigold-ink); font-size: .72rem; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .loc, .topnav a[data-nav="home"] { display: none; }
  .topbar .wrap { gap: 6px; }
  .brand b { font-size: 1.25rem; }
  .brand img { width: 32px; height: 32px; }
  .topnav { gap: 0; }
  .topnav a { padding: 8px 7px; font-size: .86rem; }
}
@media (max-width: 360px) { .brand b { font-size: 1.3rem; } .brand img { width: 32px; height: 32px; } }

/* ---------- home ---------- */
.hero { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(13,27,56,.96) 0%, rgba(22,46,92,.86) 55%, rgba(29,58,110,.55) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold); background: rgba(232,163,23,.14); border: 1px solid rgba(232,163,23,.35); padding: 4px 10px; border-radius: 999px; }
.quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.quick::-webkit-scrollbar { display: none; }
.quick a { flex: none; color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.quick a:hover { background: rgba(255,255,255,.22); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero p { margin: 0; opacity: .85; max-width: 36ch; font-size: 1rem; line-height: 1.45; }
.search { position: relative; max-width: 560px; }
.search input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 12px; border: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-results { background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); margin-top: 8px; max-height: 340px; overflow: auto; }
.search-results button { display: flex; width: 100%; gap: 12px; align-items: center; text-align: left; padding: 10px 14px; border: 0; background: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.search-results button:last-child { border-bottom: 0; }
.search-results img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.search-results .empty-line { padding: 14px; color: var(--muted); }
.trust-strip { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: .84rem; opacity: .9; }
.trust-strip span { display: inline-flex; gap: 6px; align-items: center; }
.trust-strip svg { width: 16px; height: 16px; color: var(--marigold); flex: none; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--r); padding: 8px 8px 10px; box-shadow: var(--shadow); transition: transform .15s ease; }
.cat img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 10px; }
.cat b { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.cat span { color: var(--muted); font-size: .74rem; line-height: 1.25; }
@media (hover: hover) { .cat:hover { transform: translateY(-2px); } }
@media (max-width: 480px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .cat { padding: 6px 6px 8px; } .cat b { font-size: .82rem; } .cat span { display: none; } }

.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.hscroll > * { scroll-snap-align: start; }
@media (max-width: 600px) { .hscroll { grid-auto-columns: 82%; } }

.offer { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; min-height: 150px; display: flex; }
.offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer .txt { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 6px; max-width: 64%; }
.offer b { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.offer .code { align-self: flex-start; font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; background: rgba(255,255,255,.18); border: 1.5px dashed rgba(255,255,255,.6); padding: 2px 10px; border-radius: 8px; font-size: .9rem; }

.pop { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.pop img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.pop .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.pop b { font-weight: 600; line-height: 1.25; }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.why div { background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: flex-start; }
.why svg { width: 28px; height: 28px; color: var(--brand-2); flex: none; }
.why b { display: block; }
.why p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

.join { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; display: flex; min-height: 150px; }
.join img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join .txt { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 6px; max-width: 70%; }
.join b { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }

/* ---------- category page ---------- */
.cat-head { position: relative; color: #fff; background: var(--brand); overflow: hidden; }
.cat-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,35,.85), rgba(10,18,35,.25)); }
.cat-head .wrap { position: relative; z-index: 1; padding-block: 60px 18px; display: flex; flex-direction: column; gap: 4px; }
.cat-head h1 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; line-height: 1.1; }
.back { position: absolute; top: 12px; left: max(16px, env(safe-area-inset-left, 0px)); z-index: 2; background: rgba(255,255,255,.92); color: #141c2b; border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.rating svg { width: 15px; height: 15px; color: var(--star); }
.cat-head .rating svg { color: #ffd27a; }

.items { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.item { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: var(--warn-bg); } to { background: transparent; } }
.item h3 { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.item .desc { color: var(--muted); font-size: .9rem; margin: 0; }
.item .price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.item .price b { font-size: 1.05rem; }
.item .side { grid-row: 1 / span 3; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.item .side img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ok); background: var(--ok-bg); padding: 1px 8px; border-radius: 6px; }

.add { min-width: 92px; height: 36px; border-radius: 10px; border: 1.5px solid var(--brand-2); color: var(--brand-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.stepper { display: inline-flex; align-items: center; height: 36px; border-radius: 10px; background: var(--brand-2); color: #fff; overflow: hidden; min-width: 92px; }
.stepper button { width: 32px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; font-weight: 700; }
.stepper span { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); box-shadow: 0 -4px 18px rgba(0,0,0,.1); }
.cartbar a { max-width: 1048px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--brand-2); color: #fff; text-decoration: none; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.cartbar a span:last-child { margin-left: auto; }

/* ---------- forms & buttons ---------- */
.btn { font: inherit; font-weight: 700; border-radius: 12px; padding: 12px 18px; border: 1.5px solid transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; line-height: 1.2; }
.btn-primary { background: var(--marigold); color: var(--marigold-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-dark { background: var(--brand-2); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-danger { background: var(--surface); color: var(--bad); border-color: var(--bad-bg); }
.btn-small { padding: 7px 12px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .label { font-weight: 600; font-size: .9rem; }
.hint { font-size: .8rem; color: var(--muted); }
.err { color: var(--bad); font-size: .88rem; min-height: 1.2em; margin: 0; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
textarea { resize: vertical; min-height: 70px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { margin: 0; font-size: 1.02rem; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; font-weight: 600; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; line-height: 1.2; }
.chip small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; }
.chip[aria-pressed="true"] { border-color: var(--brand-2); background: var(--info-bg); color: var(--brand-2); }
.chip[aria-pressed="true"] small { color: inherit; }
.chip[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- cart ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 820px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.checkout > *, .stack > *, .card > * { min-width: 0; }
.line { display: flex; gap: 12px; align-items: center; }
.line .name { flex: 1; min-width: 0; }
.bill { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.bill div { display: flex; justify-content: space-between; gap: 12px; }
.bill .total { border-top: 1px dashed var(--line); padding-top: 8px; font-weight: 700; font-size: 1.05rem; }
.bill .save { color: var(--ok); }
.paynote { display: flex; gap: 10px; align-items: center; background: var(--ok-bg); color: var(--ok); border-radius: var(--r-sm); padding: 10px 12px; font-size: .9rem; font-weight: 600; }
.paynote svg { width: 20px; height: 20px; flex: none; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { text-transform: uppercase; }
.applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--ok-bg); color: var(--ok); border-radius: var(--r-sm); padding: 8px 12px; font-weight: 600; font-size: .9rem; }
.linkbtn { background: none; border: 0; color: var(--info); font-weight: 600; cursor: pointer; padding: 0; }

/* ---------- bookings ---------- */
.blist { display: flex; flex-direction: column; gap: 12px; }
.bk { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; text-decoration: none; color: var(--ink); }
.bk img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.bk .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk b { line-height: 1.25; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-ok { background: var(--ok-bg); color: var(--ok); } .p-warn { background: var(--warn-bg); color: var(--warn); }
.p-bad { background: var(--bad-bg); color: var(--bad); } .p-info { background: var(--info-bg); color: var(--info); }

.timeline { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 24px 1fr; gap: 10px; position: relative; padding-bottom: 14px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.step.done .dot { background: var(--ok); border-color: var(--ok); }
.step.done .dot::after { content: ""; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.step.now .dot { border-color: var(--marigold); }
.step.now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); }
.step b { display: block; line-height: 24px; }
.step.todo b { color: var(--muted); font-weight: 500; }

.startcode { display: flex; align-items: center; gap: 14px; background: var(--warn-bg); color: var(--warn); border-radius: var(--r); padding: 14px 16px; }
.startcode .digits { font-family: ui-monospace, Consolas, monospace; font-size: 2rem; font-weight: 800; letter-spacing: .3em; color: var(--ink); }
.pro { display: flex; gap: 12px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; background: var(--info-bg); color: var(--info); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.phone { font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; }

.stars { display: flex; gap: 6px; }
.stars button { border: 0; background: none; cursor: pointer; padding: 2px; color: var(--line); }
.stars button svg { width: 34px; height: 34px; }
.stars button[aria-pressed="true"] { color: var(--star); }

.empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 30px 20px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty h3 { color: var(--ink); margin: 0; font-family: var(--display); font-size: 1.15rem; }
.empty p { margin: 0; max-width: 46ch; }
.notice { background: var(--warn-bg); color: var(--warn); border-radius: var(--r-sm); padding: 10px 14px; font-size: .92rem; }
.notice code { background: var(--surface); padding: 1px 6px; border-radius: 6px; }

/* ---------- sheet + toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8, 12, 22, .55); z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0;
  padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 14px; }
.sheet h2 { margin: 0; font-family: var(--display); font-size: 1.3rem; }
@media (min-width: 700px) { .overlay { align-items: center; } .sheet { border-radius: 18px; } }
@media (prefers-reduced-motion: no-preference) { .sheet { animation: up .22s ease-out; } @keyframes up { from { transform: translateY(24px); opacity: .6; } } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 10px; z-index: 40; font-weight: 600; max-width: calc(100% - 32px); text-align: center; }

/* ---------- partner + owner ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 14px; }
.stat span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.stat b { font-family: var(--display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.switch { position: relative; width: 54px; height: 30px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { left: 27px; }
.tabs { display: flex; gap: 4px; background: var(--surface); border-radius: 12px; padding: 4px; box-shadow: var(--shadow); align-self: flex-start; }
.tabs button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; cursor: pointer; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.tabs button[aria-selected="true"] { background: var(--brand-2); color: #fff; }
.job-items { margin: 0; padding-left: 18px; font-size: .92rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }

.foot { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 18px calc(90px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* ---------- small helpers ---------- */
.stack.tight { gap: 3px; }
.m0 { margin: 0; }
.self-start { align-self: flex-start; }
.narrow-card { max-width: 460px; }

/* ---------- partner app ---------- */
.partner-bar { background: #4a3200; }
.partner-hero { border-radius: 0; min-height: 190px; }
.partner-hero .txt { max-width: 1080px; width: 100%; margin: 0 auto; justify-content: center; }
.partner-hero .txt span { max-width: 46ch; }
.field.grow { flex: 1; }
/* ---------- owner page ---------- */
.owner-bar { background: #141c2b; }
.table .num { white-space: nowrap; }

/* ---------- installed-app look: bottom tab bar (phones) ---------- */
.tabbar { display: none; }
@media (max-width: 640px) {
  .topnav { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 16;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 4px max(8px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0 4px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; border-radius: 10px; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--brand-2); }
  .tabbar .badge { position: absolute; top: 2px; left: calc(50% + 6px); }
  .cartbar { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); box-shadow: none; background: transparent; padding-bottom: 8px; }
  .toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
  .foot .wrap { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .topbar .wrap { min-height: 54px; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabbar a[aria-current="page"] { color: var(--marigold); } }
:root[data-theme="dark"] .tabbar a[aria-current="page"] { color: var(--marigold); }
/* hide the website footer inside the installed app, the tab bar replaces it */
@media (display-mode: standalone) and (max-width: 640px) { .foot { display: none; } .page { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- install bar ---------- */
.installbar { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  max-width: 520px; margin: 0 auto; display: flex; gap: 12px; align-items: center; background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: 10px 12px; box-shadow: 0 8px 28px rgba(0,0,0,.22); border: 1px solid var(--line); }
.installbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.installbar .grow { flex: 1; min-width: 0; line-height: 1.25; }
@media (max-width: 640px) { .installbar { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Owner Control Room ---------- */
.check-row { display: flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.status-card { gap: 6px; }
.alert-row { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg, #f6f7f9); color: inherit; text-decoration: none; }
.alert-row:hover { filter: brightness(.97); }
.share-grid, .links-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.share-grid .card { gap: 8px; }
.sel { user-select: all; word-break: break-all; }
.link-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.link-tile:hover { outline: 2px solid var(--brand-2); }
.link-tile b { color: var(--brand-2); }
.row.between { flex-wrap: wrap; }
.h3 { margin: 0; font-size: 1.05rem; }

/* ---------- units, payment choice ---------- */
.per { color: var(--muted); font-size: .86rem; font-weight: 500; }
.paychips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paychips .chip { padding: 12px 10px; }
.upi-box { display: flex; flex-direction: column; gap: 8px; background: var(--info-bg); border-radius: var(--r-sm); padding: 12px; }
.req { color: var(--bad); }

.stat.hl { background: var(--ok-bg); }
.stat.hl b { color: var(--ok); }

/* ---------- home: offer ticket, spotlight cards, grouped tiles, steps ---------- */
.ticket { display: flex; align-items: stretch; text-decoration: none; color: var(--marigold-ink); background: linear-gradient(100deg, #ffd166, #f4a916); border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 18px rgba(232,163,23,.35); margin-top: -34px; position: relative; z-index: 2; }
.ticket .cut { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 14px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; border-right: 2px dashed rgba(58,39,0,.35); }
.ticket .cut small { font-size: .7rem; letter-spacing: .12em; }
.ticket .tk { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px; font-size: .86rem; min-width: 0; }
.ticket .tk > b { font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.ticket .code { font-family: ui-monospace, Consolas, monospace; background: rgba(255,255,255,.55); padding: 0 6px; border-radius: 5px; }
.hero .wrap { padding-bottom: 54px; }

.spot { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; }
.spot::-webkit-scrollbar { display: none; }
@media (max-width: 600px) { .spot { grid-auto-columns: 72%; } }
.spot-card { scroll-snap-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 168px; padding: 16px; border-radius: 18px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease; }
.spot-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.13); }
.spot-card::after { content: ""; position: absolute; right: 30px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.spot-card > * { position: relative; z-index: 1; }
.spot-card .price { align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; background: rgba(0,0,0,.22); padding: 6px 10px; border-radius: 10px; margin-bottom: 6px; }
.spot-card .price small { font-size: .8rem; font-weight: 600; opacity: .9; }
.spot-card b { font-family: var(--display); font-size: 1.12rem; line-height: 1.2; }
.spot-card span { font-size: .86rem; opacity: .92; line-height: 1.35; }
.spot-card .go { margin-top: auto; font-weight: 700; opacity: 1; }
.s-blue { background: linear-gradient(135deg, #2f6fd0, #173a7a); } .s-red { background: linear-gradient(135deg, #d6493d, #7d1a14); }
.s-orange { background: linear-gradient(135deg, #f0902a, #a14b06); } .s-pink { background: linear-gradient(135deg, #d6407f, #74143f); }
@media (hover: hover) { .spot-card:hover { transform: translateY(-3px); } }

.cat { position: relative; }
.cat em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--ok); line-height: 1.2; }
.cat .new { position: absolute; top: 4px; left: 4px; z-index: 1; font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--marigold); color: var(--marigold-ink); padding: 2px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
@media (max-width: 480px) { .cat em { font-size: .7rem; } }

.steps { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.steps ol { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; }
.steps li::before { content: counter(st); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-2); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.steps li b { line-height: 1.2; } .steps li span { color: var(--muted); font-size: .86rem; }


/* ---------- school projects ---------- */
.s-green { background: linear-gradient(135deg, #2e9a5b, #135a33); }
.school-card { gap: 10px; border: 2px solid var(--ok-bg); }
.school-add { flex-wrap: wrap; } .school-add input { flex: 1 1 160px; min-width: 0; }
.muted-row td { opacity: .55; }
.s-plant { background: linear-gradient(135deg, #3f9a3a, #1d5a1b); }

/* ---------- home: flashing "new" banners ---------- */
.flash-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.flash { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 18px; color: #fff; text-decoration: none; overflow: hidden; box-shadow: 0 8px 22px rgba(20,28,43,.18); }
.flash::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.f-school { background: linear-gradient(120deg, #2e9a5b, #116b3b 60%, #0c4f2b); }
.f-plant { background: linear-gradient(120deg, #c2410c, #e07b1a 55%, #3f9a3a); }
.flash-badge { position: absolute; top: 10px; right: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; background: #ffd166; color: #3a2700; padding: 3px 9px; border-radius: 999px; }
.flash-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.9rem; background: rgba(255,255,255,.18); }
.flash-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-right: 6px; }
.flash-txt b { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.flash-txt span { font-size: .84rem; opacity: .95; line-height: 1.35; }
.flash-go { margin-left: auto; flex: none; text-align: right; font-size: .78rem; font-weight: 700; align-self: flex-end; }
.flash-go u { text-decoration: none; font-size: .86rem; }
@media (prefers-reduced-motion: no-preference) {
  .flash::after { animation: shine 2.8s ease-in-out infinite; }
  .flash-badge { animation: blink 1.2s ease-in-out infinite; }
  .f-plant::after { animation-delay: 1.4s; }
  @keyframes shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
  @keyframes blink { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,209,102,.7); } 50% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(255,209,102,0); } }
}
.f-food { background: linear-gradient(120deg, #b91c1c, #dc5a12 55%, #e8a317); }
.f-food::after { animation-delay: .7s; }
.mini-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }

/* ---------- Sabzi Plan ---------- */
.f-sabzi { background: linear-gradient(120deg, #15803d, #4d9a1f 55%, #c2410c); }
.f-sabzi::after { animation-delay: .35s; }
.remind { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: var(--r); background: var(--ok-bg); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.remind .grow, .notify-card .grow, .rep-row .grow { flex: 1; min-width: 0; }
.remind-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface); }
.sabzi-hero { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; border-radius: 18px; color: #fff; background: linear-gradient(130deg, #166534, #3f8f1f 60%, #b45309); box-shadow: 0 8px 22px rgba(20,28,43,.18); }
.sabzi-hero h1 { margin: 0; font-family: var(--display); font-size: 1.7rem; line-height: 1.15; }
.sabzi-hero p { margin: 0; max-width: 52ch; opacity: .95; }
.sabzi-hero .big { font-size: 2.2rem; letter-spacing: 4px; }
.sabzi-hero .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.kal-card { border: 2px solid var(--ok-bg); }
.daychips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.daychips .chip { padding: 8px 2px; font-size: .86rem; }
.slines { display: flex; flex-direction: column; gap: 8px; }
.sline { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sline .name { flex: 1; min-width: 0; line-height: 1.25; }
.sline select { width: auto; padding: 8px 6px; font-size: .92rem; }
.sline .amt { min-width: 44px; text-align: right; font-weight: 600; }
.sline .rm { color: var(--bad); font-size: 1rem; padding: 6px; }
.veg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.veg { text-align: left; padding: 9px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; line-height: 1.2; }
.veg b { display: block; font-size: .95rem; }
.veg small { color: var(--muted); font-size: .74rem; }
.veg[disabled] { opacity: .45; cursor: default; }
.veg[aria-pressed="true"] { border-color: var(--ok); background: var(--ok-bg); }
.custom-add { display: flex; gap: 8px; }
.custom-add input { flex: 1; min-width: 0; }
.custom-add select { width: auto; }
.week-list { display: flex; flex-direction: column; }
.wk-row { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.wk-row:last-child { border-bottom: 0; }
.wk-row > b { flex: none; min-width: 64px; }
.wk-row .grow { flex: 1; min-width: 0; }
.wk-row.off { color: var(--muted); }
.rep-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rep-row:last-child { border-bottom: 0; }
.rates summary { cursor: pointer; }
.rate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.mandi-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mandi-list span { background: var(--ok-bg); border-radius: 10px; padding: 8px 10px; }
.mandi-list b { display: block; font-family: var(--display); font-size: 1.15rem; }
.sabzi-job.done { opacity: .7; }
@media (max-width: 360px) { .sline { flex-wrap: wrap; } .sline .name { flex-basis: 100%; } }
.week-list.dates .wk-row > b { min-width: 106px; }

/* ---------- Roz ka Saman ---------- */
.f-saman { background: linear-gradient(120deg, #0e7490, #2563eb 60%, #7c3aed); }
.f-saman::after { animation-delay: 1s; }
.saman-hero { background: linear-gradient(130deg, #0e7490, #1d4ed8 60%, #6d28d9); }
.remind.saman { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 35%, transparent); flex-wrap: wrap; }
.mode-pick { display: grid; gap: 8px; }
.mode-pick .chip { text-align: left; padding: 10px 12px; }
.mode-pick .chip small { font-size: .8rem; margin-top: 2px; }
.check-row input[type="checkbox"] { width: 20px; height: 20px; flex: none; }
.date-in { width: auto; padding: 7px 10px; }
.saman-group h4 { margin: 0; font-size: .95rem; }
.remind.saman .grow { flex: 1 1 calc(100% - 60px); }
.remind.saman > .row { flex: 1 1 100%; justify-content: flex-end; }

/* ---------- Non-Veg Party ---------- */
.f-nonveg { background: linear-gradient(120deg, #9a3412, #dc2626 55%, #f59e0b); }
.nonveg-hero { background: linear-gradient(130deg, #7c2d12, #b91c1c 60%, #d97706); }
.remind.nonveg { background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.nv-line { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ==========================================================================
   3D look: raised cards that tilt under the finger or mouse, glossy light,
   floating 3D icons in the hero, push-down buttons. All CSS + a few lines in kw.js.
   Switched off for people who ask their phone for less motion.
   ========================================================================== */
:root {
  --lift: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(20,28,43,.06), 0 12px 26px -10px rgba(20,28,43,.28);
  --lift-hi: inset 0 1px 0 rgba(255,255,255,.7), 0 2px 4px rgba(20,28,43,.08), 0 22px 40px -14px rgba(20,28,43,.38);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lift: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 26px -10px rgba(0,0,0,.7); --lift-hi: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 40px -14px rgba(0,0,0,.85); } }
:root[data-theme="dark"] { --lift: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 26px -10px rgba(0,0,0,.7); --lift-hi: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 40px -14px rgba(0,0,0,.85); }

/* header: soft gradient with a thin gold line */
.topbar { background: linear-gradient(100deg, #142c57, var(--brand) 55%, #23477f); box-shadow: 0 1px 0 rgba(232,163,23,.45), 0 6px 18px -8px rgba(0,0,0,.45); }
.brand img { box-shadow: 0 4px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.5); transform: rotate(-6deg); }

/* hero: glowing colour orbs + floating 3D icon tiles */
.hero { isolation: isolate; }
.hero .orb { position: absolute; z-index: 1; border-radius: 50%; filter: blur(38px); opacity: .55; pointer-events: none; }
.hero .orb.o1 { width: 260px; height: 260px; right: -70px; top: -80px; background: #e8a317; }
.hero .orb.o2 { width: 220px; height: 220px; left: -90px; bottom: -60px; background: #2563eb; }
.hero .orb.o3 { width: 160px; height: 160px; right: 22%; bottom: 10%; background: #db2777; opacity: .35; }
.hero .wrap { z-index: 3; }
.float3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float3d span { position: absolute; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.75rem; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 16px 26px -10px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -6px 12px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 2px 0 rgba(0,0,0,.15)); }
.float3d span:nth-child(1) { right: 6%;  top: 14%; --r: 10deg; }
.float3d span:nth-child(2) { right: 18%; top: 42%; --r: -12deg; width: 70px; height: 70px; font-size: 2.1rem; }
.float3d span:nth-child(3) { right: 4%;  top: 58%; --r: 8deg; }
.float3d span:nth-child(4) { right: 30%; top: 10%; --r: -6deg; width: 48px; height: 48px; font-size: 1.4rem; }
.float3d span:nth-child(5) { right: 34%; top: 66%; --r: 14deg; width: 50px; height: 50px; font-size: 1.45rem; }
.float3d span:nth-child(6) { right: 12%; top: 80%; --r: -10deg; width: 46px; height: 46px; font-size: 1.3rem; }
@media (max-width: 640px) {
  .float3d span { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 14px; }
  .float3d span:nth-child(1) { right: 14px; top: 16px; }
  .float3d span:nth-child(2) { right: 12px; top: 168px; width: 52px; height: 52px; font-size: 1.55rem; }
  .float3d span:nth-child(3) { right: 64px; top: 222px; width: 40px; height: 40px; font-size: 1.15rem; }
  .float3d span:nth-child(n+4) { display: none; }
}
.search input { box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 18px 34px -12px rgba(0,0,0,.55); }
.quick a { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 12px -6px rgba(0,0,0,.4); }

/* section titles get a small 3D icon tile */
.sec-title { display: flex; align-items: center; gap: 10px; }
.sec-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 12px;
  background: linear-gradient(145deg, #ffe08a, #f4a916); box-shadow: 0 6px 0 -1px #c98a0c, 0 12px 18px -8px rgba(180,120,0,.6), inset 0 1px 0 rgba(255,255,255,.7);
  transform: rotate(-6deg); }

/* category tiles: raised, glossy, tilt in 3D */
.cats { perspective: 900px; gap: 14px; }
.cat, .flash, .spot-card, .pop { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%; transform-style: preserve-3d; will-change: transform; }
.cat { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 55%, var(--surface-2)); box-shadow: var(--lift);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.cat img { transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: 0 8px 16px -10px rgba(0,0,0,.6); }
.cat::after, .pop::after, .spot-card .shine, .flash .shine { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.42), rgba(255,255,255,0) 46%); opacity: 0; transition: opacity .25s ease; z-index: 2; }
.cat em { display: inline-block; align-self: flex-start; background: var(--ok-bg); padding: 1px 7px; border-radius: 999px; }
.cat .new { box-shadow: 0 3px 0 #b37a06, 0 6px 10px rgba(0,0,0,.25); }
.tilt { transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px) scale(1.02) !important; }
.tilt.cat, .tilt.pop { box-shadow: var(--lift-hi); }
.tilt.cat img, .tilt.pop img { transform: scale(1.07); }
.tilt::after, .tilt .shine { opacity: 1 !important; }
.pressed { transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) scale(.97) !important; }

/* flash banners and offer cards: thick 3D edge, icon pops out */
.flash { box-shadow: 0 6px 0 rgba(0,0,0,.2), 0 18px 30px -12px rgba(0,0,0,.5); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.flash-ico { background: linear-gradient(145deg, rgba(255,255,255,.38), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 18px -8px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.55); transform: rotate(-8deg); font-size: 2rem; }
.flash-ico { animation: bob 3.6s ease-in-out infinite; }
.flash:nth-child(2) .flash-ico { animation-delay: -.9s; } .flash:nth-child(3) .flash-ico { animation-delay: -1.8s; } .flash:nth-child(4) .flash-ico { animation-delay: -2.7s; }
.flash-badge { box-shadow: 0 3px 0 #b37a06; }
.spot-card { box-shadow: 0 6px 0 rgba(0,0,0,.16), 0 18px 30px -14px rgba(0,0,0,.45); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.spot-card .price { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 12px -6px rgba(0,0,0,.5); }
.ticket { box-shadow: 0 6px 0 #c98a0c, 0 18px 30px -12px rgba(232,163,23,.6); }
.pop { position: relative; border: 1px solid var(--line); box-shadow: var(--lift); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.pop img { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.offer, .join { box-shadow: 0 6px 0 rgba(0,0,0,.18), 0 18px 30px -14px rgba(0,0,0,.5); }

/* white boxes: soft depth */
.card, .why div, .steps, .stat, .item, .bk, .empty { box-shadow: var(--lift); }
.why svg { padding: 8px; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #3b6bc0, var(--brand)); box-shadow: 0 5px 0 #13284d, 0 10px 16px -8px rgba(0,0,0,.5); }
.steps li::before { background: linear-gradient(145deg, #ffe08a, #f4a916); color: var(--marigold-ink); box-shadow: 0 4px 0 #b37a06, 0 8px 12px -6px rgba(0,0,0,.4); }
.stat { position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--marigold), #db2777, var(--brand-2)); }

/* buttons press down like real buttons */
.btn-primary { background: linear-gradient(180deg, #f6be3f, var(--marigold)); box-shadow: 0 4px 0 #b37a06, 0 10px 16px -8px rgba(180,120,0,.7); transition: transform .08s ease, box-shadow .08s ease, filter .15s; }
.btn-dark { background: linear-gradient(180deg, #3a66ad, var(--brand-2)); box-shadow: 0 4px 0 #17345f, 0 10px 16px -8px rgba(0,0,0,.5); transition: transform .08s ease, box-shadow .08s ease; }
.btn-ghost { box-shadow: 0 3px 0 var(--line); transition: transform .08s ease, box-shadow .08s ease; }
.btn-primary:active:not([disabled]), .btn-dark:active:not([disabled]), .btn-ghost:active:not([disabled]) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.chip { box-shadow: 0 2px 0 var(--line); transition: transform .08s ease; }
.chip[aria-pressed="true"] { box-shadow: 0 2px 0 var(--brand-2), 0 6px 12px -6px rgba(43,82,143,.6); }
.chip:active:not([disabled]) { transform: translateY(2px); }
.stepper { box-shadow: 0 3px 0 #17345f; }
.add { box-shadow: 0 3px 0 var(--brand-2); transition: transform .08s ease; } .add:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brand-2); }

/* phone tab bar: glass, active tab lifts up */
@media (max-width: 640px) {
  .tabbar { background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 -8px 24px -12px rgba(20,28,43,.35); }
  .tabbar a { transition: transform .2s ease; }
  .tabbar a[aria-current="page"] { transform: translateY(-3px); }
  .tabbar a[aria-current="page"] svg { filter: drop-shadow(0 4px 4px rgba(43,82,143,.45)); }
}

@media (prefers-reduced-motion: no-preference) {
  .float3d span { animation: float3d 7s ease-in-out infinite; }
  .float3d span:nth-child(2) { animation-duration: 8.5s; animation-delay: -2s; }
  .float3d span:nth-child(3) { animation-duration: 6.2s; animation-delay: -4s; }
  .float3d span:nth-child(4) { animation-duration: 9s; animation-delay: -1s; }
  .float3d span:nth-child(5) { animation-duration: 7.6s; animation-delay: -3s; }
  .float3d span:nth-child(6) { animation-duration: 8s; animation-delay: -5s; }
  .hero .orb { animation: orb 14s ease-in-out infinite alternate; }
  .hero .orb.o2 { animation-duration: 18s; }
  .sec-ico { animation: bob 4.5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .flash-ico, .sec-ico, .float3d span, .hero .orb { animation: none !important; }
  .tilt, .pressed { transform: none !important; }
}
@keyframes float3d { 0%, 100% { transform: translateY(0) rotate(var(--r)) } 50% { transform: translateY(-12px) rotate(calc(var(--r) * -1)) } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-8deg) } 50% { transform: translateY(-5px) rotate(4deg) } }
@keyframes orb { from { transform: translate(0, 0) scale(1) } to { transform: translate(-30px, 20px) scale(1.15) } }

/* ==========================================================================
   Desi 3D service tiles: sunburst rays, rangoli ring, genda-phool toran, big emoji on a shadow.
   ========================================================================== */
.cat-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.38), rgba(255,255,255,0) 42%),
    repeating-conic-gradient(from -90deg at 50% 115%, rgba(255,255,255,.10) 0deg 9deg, rgba(255,255,255,0) 9deg 18deg),
    linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: inset 0 -12px 20px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45), 0 8px 16px -10px rgba(0,0,0,.6); }
/* genda phool toran across the top */
.cat-art .toran { position: absolute; left: 0; right: 0; top: 0; height: 13px; z-index: 2;
  background:
    radial-gradient(circle at 7px 5px, #ffd60a 0 3.6px, rgba(0,0,0,0) 4.2px) 0 0 / 28px 13px repeat-x,
    radial-gradient(circle at 21px 5px, #fb8500 0 3.6px, rgba(0,0,0,0) 4.2px) 0 0 / 28px 13px repeat-x,
    radial-gradient(ellipse 3px 2px at 14px 10px, #2b9348 0 100%, rgba(0,0,0,0) 110%) 0 0 / 14px 13px repeat-x;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.3)); }
.cat-art .toran::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(120,60,0,.55); }
/* rangoli ring behind the emoji */
.cat-art .ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -44%);
  background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,.06) 62%, rgba(255,255,255,0) 63%);
  border: 2px dotted rgba(255,255,255,.7); box-shadow: 0 0 0 5px rgba(255,255,255,.10), 0 0 0 7px rgba(255,255,255,.18); }
.cat-art .plat { position: absolute; bottom: 9%; left: 50%; width: 46%; height: 11%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.42), rgba(0,0,0,0)); }
.cat-art .cat-emo { position: relative; z-index: 1; font-size: clamp(2.1rem, 9.5vw, 3.1rem); line-height: 1; transform: translateY(4%);
  filter: drop-shadow(0 7px 5px rgba(0,0,0,.38)) drop-shadow(0 0 1px rgba(255,255,255,.6)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tilt .cat-art .cat-emo, .pressed .cat-art .cat-emo { transform: translateY(-6%) scale(1.14) rotate(-5deg); }
.cat .new { top: 16px; left: 6px; z-index: 3; }
.cat small.hi { color: var(--muted); font-size: .74rem; line-height: 1.2; margin-top: -3px; }
h2.section .hi { font-family: var(--body); font-weight: 600; font-size: .78em; color: var(--muted); }
/* wide version for the "Sabse zyada book" cards */
.pop .cat-art.wide { aspect-ratio: 16 / 9; border-radius: 0; }
.pop .cat-art.wide .ring { width: 38%; }
.pop .cat-art.wide .plat { width: 28%; }
.pop .cat-art.wide .cat-emo { font-size: 3rem; }
/* service page header */
.cat-head .cat-art.head { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.cat-head .cat-art.head .ring { width: 190px; left: auto; right: -10px; transform: translateY(-58%); }
.cat-head .cat-art.head .plat { left: auto; right: 30px; width: 130px; transform: none; bottom: 34%; }
.cat-head .cat-art.head .cat-emo { position: absolute; right: 48px; top: 18%; font-size: 5.2rem; transform: none; }
.cat-head::after { background: linear-gradient(0deg, rgba(10,18,35,.82), rgba(10,18,35,.15) 70%); }
@media (prefers-reduced-motion: no-preference) {
  .cat-head .cat-art.head .cat-emo { animation: float3d 6s ease-in-out infinite; --r: -6deg; }
}
/* the old phone rule ".cat span { display: none }" must not hide the tile art */
.cat .cat-art { display: grid !important; }
.cat .cat-art > span { display: block !important; color: inherit; }
.cat .cat-art .cat-emo { font-size: clamp(2.1rem, 9.5vw, 3.1rem); }

/* tile colours, one class per service (inline styles are blocked by the site's security policy) */
.art-electrician { --c1: #f59e0b; --c2: #b45309; }
.art-plumber { --c1: #0ea5e9; --c2: #1e40af; }
.art-carpenter { --c1: #b45309; --c2: #78350f; }
.art-mason { --c1: #dc2626; --c2: #7f1d1d; }
.art-ac { --c1: #22d3ee; --c2: #0e7490; }
.art-appliance { --c1: #6366f1; --c2: #3730a3; }
.art-cleaning { --c1: #10b981; --c2: #047857; }
.art-bathroom { --c1: #38bdf8; --c2: #0369a1; }
.art-solar { --c1: #fbbf24; --c2: #ea580c; }
.art-tank { --c1: #06b6d4; --c2: #155e75; }
.art-whitewash { --c1: #94a3b8; --c2: #475569; }
.art-painter { --c1: #ec4899; --c2: #9d174d; }
.art-pest { --c1: #84cc16; --c2: #3f6212; }
.art-carwash { --c1: #3b82f6; --c2: #1e3a8a; }
.art-bikewash { --c1: #14b8a6; --c2: #0f766e; }
.art-homefood { --c1: #f97316; --c2: #b91c1c; }
.art-school { --c1: #22c55e; --c2: #15803d; }
.art-meat { --c1: #ef4444; --c2: #991b1b; }
.art-errand { --c1: #fb923c; --c2: #c2410c; }
.art-cook { --c1: #f59e0b; --c2: #9a3412; }
.art-press { --c1: #a855f7; --c2: #6b21a8; }
.art-laundry { --c1: #0ea5e9; --c2: #4338ca; }
.art-tailor { --c1: #e11d48; --c2: #881337; }
.art-pandit { --c1: #f97316; --c2: #9a3412; }
.art-cake { --c1: #ec4899; --c2: #7e22ce; }
.art-bouquet { --c1: #f43f5e; --c2: #be123c; }
.art-gardener { --c1: #16a34a; --c2: #14532d; }
.art-plants { --c1: #65a30d; --c2: #166534; }
.art-labour { --c1: #f59e0b; --c2: #92400e; }
.art-function { --c1: #d946ef; --c2: #86198f; }
.art-shifting { --c1: #a16207; --c2: #713f12; }
.art-other { --c1: #64748b; --c2: #334155; }
.art-sabzi { --c1: #22c55e; --c2: #166534; }
.art-saman { --c1: #3b82f6; --c2: #1e3a8a; }
:where(.cat-art) { --c1: #64748b; --c2: #334155; }
/* small tile next to each job on the service page */
.side .cat-art.mini { width: 92px; aspect-ratio: 92 / 72; border-radius: 10px; }
.side .cat-art.mini .toran { transform: scale(.75); transform-origin: top left; width: 134%; }
.side .cat-art.mini .cat-emo { font-size: 2rem; }
/* phones: keep the big header emoji clear of the title */
@media (max-width: 640px) {
  .cat-head .cat-art.head .cat-emo { right: 18px; top: 16px; font-size: 3.4rem; }
  .cat-head .cat-art.head .ring { width: 120px; right: -6px; top: 0; transform: none; }
  .cat-head .cat-art.head .plat { right: 22px; width: 80px; bottom: auto; top: 86px; height: 12px; }
}

/* ---------- type: Mukta for reading (Latin + Devanagari), Baloo 2 for headings ---------- */
h1, h2, h3, .h3 { font-family: var(--display); letter-spacing: 0; }
.card h3 { font-size: 1.12rem; font-weight: 700; }
.meta { font-size: .95rem; } .small { font-size: .88rem; }
.btn { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }
.chip, .tabs button, .tabbar a, .pill { font-family: var(--display); }
.pill { font-size: .8rem; }
input, select, textarea { font-size: 1rem; }
.hero h1 { line-height: 1.12; }
.brand b { font-size: 1.6rem; letter-spacing: 0; }
/* Devanagari needs a little more room above and below */
:lang(hi) body, html[lang="hi"] body { line-height: 1.65; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .h3 { line-height: 1.3; }
html[lang="hi"] .eyebrow, html[lang="hi"] .stat span, html[lang="hi"] .table th { text-transform: none; letter-spacing: 0; }
@media (max-width: 480px) { body { font-size: 16.5px; } }

/* हिंदी / EN button */
.langbtn { margin-left: auto; flex: none; font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  color: var(--marigold-ink); background: linear-gradient(180deg, #ffd166, var(--marigold)); border: 0; box-shadow: 0 3px 0 #b37a06, 0 6px 12px -6px rgba(0,0,0,.45); }
.langbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b37a06; }
@media (min-width: 641px) { .langbtn { margin-left: 12px; } }
html[lang="hi"] h2.section .hi, html[lang="hi"] .cat small.hi { display: none; }
/* keep the price under the NAYA badge visible (Devanagari is taller) */
.flash-go { padding-top: 26px; }
html[lang="hi"] .flash-badge { line-height: 1.15; padding: 3px 9px 1px; }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { white-space: nowrap; flex: none; }

/* ---------- both languages together: हिंदी big, English small below ---------- */
.bi { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.15; vertical-align: middle; }
.bi-hi { font-family: var(--display); }
.bi-en { font-family: var(--body); font-size: .62em; font-weight: 600; opacity: .8; letter-spacing: .02em; text-transform: none; line-height: 1.2; }
h1 .bi-en, .sabzi-hero h1 .bi-en, .cat-head h1 .bi-en { font-size: .45em; opacity: .9; }
.cat .bi { gap: 0; } .cat .bi-hi { font-size: 1rem; } .cat .bi-en { font-size: .74rem; color: var(--muted); opacity: 1; }
.flash-txt b .bi-en, .spot-card b .bi-en { font-size: .7em; opacity: .9; }
.quick .bi { align-items: center; } .quick .bi-en { font-size: .68em; }
.tabbar .bi, .tabs .bi { align-items: center; } .tabbar .bi-hi { font-size: .78rem; } .tabbar .bi-en { font-size: .6rem; }
.topnav .bi { align-items: center; } .topnav .bi-en { font-size: .66em; }
.tabs button .bi-hi { font-size: .95rem; } .tabs button .bi-en { font-size: .68rem; }
.chip .bi { align-items: center; }
.sec-title h2.section .bi-en { font-size: .6em; color: var(--muted); }
/* the old phone rule ".cat span { display: none }" must not hide the two-language name */
.cat .bi { display: inline-flex !important; } .cat .bi > .bi-hi { display: block !important; color: var(--ink); }

/* ==========================================================================
   Home page, in one clear order: search · one offer (slides) · आज के लिए · service groups ·
   most booked · how it works · partner · footer. Three colours: navy, marigold, white.
   ========================================================================== */
.hero-compact .wrap { padding-block: 18px 18px; gap: 10px; }
.hero-compact h1 { font-size: clamp(1.45rem, 4.6vw, 2.3rem); }
.hero-compact h1 em { white-space: nowrap; }
.hero-compact p { font-size: .98rem; }
.hero-compact .quick { flex-wrap: nowrap; padding-bottom: 2px; }
.hero-compact .quick a { padding: 6px 12px; border-radius: 12px; }
.home { gap: 26px; }

/* one heading style for every group: Hindi big, English small, a marigold bar on the left */
.g-head { border-left: 4px solid var(--marigold); padding-left: 12px; }
.g-head h2.section { font-size: 1.3rem; }
.g-head h2.section .bi-en { font-size: .58em; color: var(--muted); opacity: 1; }
.g-head .section-sub { font-size: .9rem; margin-top: 2px; }

/* one NAYA tag everywhere */
.new, .cat .new, .today-card .new { position: absolute; top: 8px; left: 8px; z-index: 3; font-style: normal; font-family: var(--display);
  font-size: .6rem; font-weight: 700; letter-spacing: .06em; line-height: 1; padding: 4px 7px 3px; border-radius: 999px;
  background: var(--marigold); color: var(--marigold-ink); box-shadow: none; text-transform: uppercase; }

/* offers: one banner at a time, swipe for the next */
.offers { display: flex; flex-direction: column; gap: 8px; margin-top: -34px; position: relative; z-index: 2; }
.offer-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.offer-slides::-webkit-scrollbar { display: none; }
.offer-slide { scroll-snap-align: start; margin-top: 0; min-height: 86px; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .2s; }
.dots i.on { width: 18px; border-radius: 999px; background: var(--marigold); }

/* आज के लिए: four equal cards, 2 on a phone line, 4 on a wide screen */
.today-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .today-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.today-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 178px; padding: 34px 14px 14px; border-radius: var(--r); text-decoration: none; color: #fff;
  background: linear-gradient(150deg, #2b528f, #142c57); box-shadow: var(--lift); overflow: hidden; }
.today-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(232,163,23,.18); }
.today-card .t-ico { position: absolute; top: 10px; right: 12px; font-size: 1.9rem; line-height: 1; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.today-card b { font-size: 1.12rem; line-height: 1.2; }
.today-card b .bi-en { color: #ffd166; opacity: 1; font-size: .64em; }
.today-card .t-sub { font-size: .86rem; opacity: .9; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.today-card .t-go { margin-top: auto; font-family: var(--display); font-weight: 700; color: #ffd166; font-size: .92rem; position: relative; z-index: 1; }

/* service cards: same size, same gap, same corners, same colours */
.cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; } }
.cat { height: 100%; padding: 8px 8px 10px; border-radius: var(--r); background: var(--surface); }
.cat em { margin-top: auto; }
.cat .bi-hi { font-size: .98rem; line-height: 1.2; }
.cats .cat-art, .pop .cat-art, .cat-head .cat-art, .side .cat-art { --c1: #2b528f; --c2: #142c57; }
.pop { border-radius: var(--r); }

/* how it works */
.home .steps { box-shadow: var(--lift); }
.trust-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px dashed var(--line); padding-top: 12px; }
.trust-line span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .84rem; }
.trust-line svg { width: 26px; height: 26px; color: var(--brand-2); }
.join { background: linear-gradient(150deg, #2b528f, #142c57); }
.today-card { min-height: 150px; }
.today-card::after { background: rgba(255,255,255,.06); }

/* ==========================================================================
   3D, kept tidy: a straight line of floating glass tiles in the hero, raised cards with a thick
   edge and a glossy top, 3D icon tiles on every heading. Still navy + marigold + white.
   ========================================================================== */
.hero-compact { isolation: isolate; }
.hero-compact .orb { opacity: .45; }
.hero-3d { display: flex; gap: 10px; justify-content: flex-start; padding: 2px 0 4px; }
.hero-3d span { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 1.45rem; border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 12px 20px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -5px 10px rgba(0,0,0,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); filter: drop-shadow(0 2px 0 rgba(0,0,0,.15)); }
@media (max-width: 360px) { .hero-3d span { width: 40px; height: 40px; font-size: 1.25rem; } }

/* headings: the same 3D icon tile in front of every group */
.g-head { display: flex; align-items: center; gap: 12px; border-left: 0; padding-left: 0; }
.g-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.35rem; border-radius: 13px;
  background: linear-gradient(145deg, #ffe08a, #f4a916); box-shadow: 0 5px 0 #c98a0c, 0 12px 18px -8px rgba(180,120,0,.55), inset 0 1px 0 rgba(255,255,255,.7); transform: rotate(-5deg); }

/* आज के लिए: thick 3D edge, glossy top, emoji in a glass tile */
.today-card { box-shadow: 0 6px 0 #0b1a36, 0 18px 30px -12px rgba(10,20,45,.6); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .15s; }
.today-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,0) 42%); }
.today-card .shine, .today-card.tilt::before { opacity: 1; }
.today-card .t-ico { width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 15px; top: 10px; right: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 12px 18px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.55); transform: rotate(8deg); }
.today-card.pressed { box-shadow: 0 2px 0 #0b1a36, 0 8px 14px -8px rgba(10,20,45,.6); }
.today-card { padding-top: 40px; }

/* service cards: raised edge, golden rays, emoji standing out */
.cat { box-shadow: 0 5px 0 var(--line), 0 14px 24px -14px rgba(20,28,43,.4); }
.cats .cat-art, .pop .cat-art, .cat-head .cat-art, .side .cat-art {
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,.4), rgba(255,255,255,0) 44%),
    repeating-conic-gradient(from -90deg at 50% 115%, rgba(232,163,23,.20) 0deg 9deg, rgba(255,255,255,0) 9deg 18deg),
    linear-gradient(150deg, var(--c1), var(--c2)); }
.cat-art .cat-emo { filter: drop-shadow(0 9px 6px rgba(0,0,0,.45)) drop-shadow(0 0 1px rgba(255,255,255,.7)); }
.offer-slide { box-shadow: 0 6px 0 #c98a0c, 0 18px 30px -12px rgba(232,163,23,.6); }

@media (prefers-reduced-motion: no-preference) {
  .hero-3d span { animation: wave3d 3.6s ease-in-out infinite; }
  .hero-3d span:nth-child(2) { animation-delay: -.3s; } .hero-3d span:nth-child(3) { animation-delay: -.6s; }
  .hero-3d span:nth-child(4) { animation-delay: -.9s; } .hero-3d span:nth-child(5) { animation-delay: -1.2s; } .hero-3d span:nth-child(6) { animation-delay: -1.5s; }
  .today-card .t-ico { animation: bob3d 3.8s ease-in-out infinite; }
  .today-card:nth-child(2) .t-ico { animation-delay: -1s; } .today-card:nth-child(3) .t-ico { animation-delay: -2s; } .today-card:nth-child(4) .t-ico { animation-delay: -3s; }
  .g-ico { animation: bob 4.5s ease-in-out infinite; }
}
@keyframes wave3d { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes bob3d { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-5px) rotate(-4deg); } }

/* the hero tiles are buttons now: tap = a little joke */
.hero-3d button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.hero-3d button > span { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.45rem; border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 12px 20px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -5px 10px rgba(0,0,0,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-3d button:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
.hero-3d button.boing > span { animation: boing .6s cubic-bezier(.3,1.6,.5,1) !important; }
@keyframes boing { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-12deg); } 60% { transform: scale(.9) rotate(8deg); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-3d button > span { animation: wave3d 3.6s ease-in-out infinite; }
  .hero-3d button:nth-child(2) > span { animation-delay: -.3s; } .hero-3d button:nth-child(3) > span { animation-delay: -.6s; }
  .hero-3d button:nth-child(4) > span { animation-delay: -.9s; } .hero-3d button:nth-child(5) > span { animation-delay: -1.2s; } .hero-3d button:nth-child(6) > span { animation-delay: -1.5s; }
}
.fun-sheet { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.fun-sheet h2 .bi { align-items: center; }
.fun-emo { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 10px 8px rgba(0,0,0,.3)); animation: boing .7s cubic-bezier(.3,1.6,.5,1); }
.fun-line { margin: 0; font-size: 1.08rem; line-height: 1.5; max-width: 34ch; }
.fun-sheet .row { justify-content: center; }
@media (max-width: 360px) { .hero-3d button > span { width: 40px; height: 40px; font-size: 1.25rem; } }
.fun-line::before { content: "“"; } .fun-line::after { content: "”"; }

/* tagline under the app name, on every page and on phones too: one line, smaller and lighter than the name */
.brand > span { display: flex; flex-direction: column; min-width: 0; }
.brand small.brand-tag { display: block !important; font-family: var(--body); font-size: .72rem; font-weight: 500; opacity: .78; letter-spacing: .01em;
  margin-top: 3px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
@media (max-width: 360px) { .brand small.brand-tag { font-size: .66rem; } }

/* ---------- auto-assign: partner work & area, request match, owner "waiting for partner" ---------- */
.work-card { gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-tag { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 600; }
.chip-tag.area { background: var(--info-bg); color: var(--info); border-color: transparent; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 40vh; overflow-y: auto; padding: 2px; }
.check { display: flex; gap: 8px; align-items: center; justify-content: flex-start; text-align: left; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; min-width: 0; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin: 0; }
.req-match { border: 2px solid var(--ok); }
.wait-card { gap: 8px; }
.wait-card.late { border: 2px solid var(--bad); }
.cand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); }
.cand .grow { flex: 1; min-width: 140px; display: grid; gap: 1px; }

/* ---------- trust, WhatsApp and footer (Nov 2026) ---------- */
.hero-3d button { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-3d .fun-lbl { font-size: .66rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1; white-space: nowrap; }
.more-btn { width: 100%; justify-content: center; }
.trust-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trust-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 26px; position: relative; }
.trust-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #16a34a; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.trust-list span { color: var(--muted); font-size: .9rem; }
.trust-box .row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-wa { background: #25d366; color: #063d1d; border-color: #1faa52; display: inline-flex; align-items: center; gap: 8px; }
.btn-wa:hover { background: #20bd5a; }
.wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 17;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.wa-fab:hover { transform: scale(1.05); }
body:has(.cartbar:not([hidden])) .wa-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
body.has-installbar .wa-fab { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) {
  .wa-fab { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  body:has(.cartbar:not([hidden])) .wa-fab { bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
  body.has-installbar .wa-fab { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
.foot .wrap { flex-direction: column; gap: 12px; }
.foot-contact { display: flex; flex-direction: column; gap: 3px; }
.foot-contact b { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.more-btn > span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.more-sub { font-weight: 500; color: var(--muted); font-size: .78rem; }
.trust-box { padding: 14px; }
.trust-list { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 4px; }
.trust-list span { font-size: .82rem; }
.join { min-height: 120px; }
.join .txt { padding: 14px 16px; }

/* ---------- header profile button ---------- */
.me-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-fg); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.12); margin-left: 6px; white-space: nowrap; }
.me-btn[aria-current="page"] { background: rgba(255,255,255,.24); }
.me-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--marigold); color: var(--marigold-ink); font-family: var(--display); font-weight: 800; font-size: .85rem; flex: none; }
.me-av svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .me-name { display: none; } .me-btn { padding: 3px; margin-left: auto; } }

/* ---------- profile page ---------- */
.profile-head { display: flex; gap: 16px; align-items: center; }
.profile-head .avatar { width: 72px; height: 72px; font-size: 1.6rem; background: var(--marigold); color: var(--marigold-ink); }
.profile-head h2 { margin: 0; font-family: var(--display); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat-grid div { background: var(--surface-2, rgba(0,0,0,.04)); border-radius: 12px; padding: 10px; text-align: center; }
.stat-grid b { display: block; font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.stat-grid span { font-size: .75rem; color: var(--muted); }
@media (max-width: 480px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.link-grid a, .link-grid button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line, rgba(0,0,0,.1)); background: var(--surface); color: inherit; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.link-grid .ico { font-size: 1.3rem; }

/* GPS location of the customer's house */
.locbox { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; padding: 10px; border: 1px dashed var(--line, #d0d5dd); border-radius: 12px; }
.locbox.ok { border-style: solid; border-color: #12b76a; background: rgba(18, 183, 106, .06); }
.locbox .locbtn { align-self: flex-start; }
.maplink { display: inline-block; font-weight: 600; text-decoration: none; padding: 2px 0; }
.maplink:hover { text-decoration: underline; }

/* Moving strip of every service under the search box (home page). */
.quick.ticker { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: flex; gap: 8px; width: max-content; }
.ticker-track a { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.ticker-track .tk-e { font-size: 1.05rem; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: kw-tick 110s linear infinite; }
  .quick.ticker:hover .ticker-track, .quick.ticker:active .ticker-track, .quick.ticker:focus-within .ticker-track { animation-play-state: paused; }
  @keyframes kw-tick { to { transform: translateX(calc(-50% - 4px)); } }
}
@media (prefers-reduced-motion: reduce) { .quick.ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }
.dawai-hero { background: linear-gradient(130deg, #075985, #0e7490 60%, #0d9488); }
.dw-photo { display: block; max-width: 100%; max-height: 240px; border-radius: 12px; object-fit: contain; }
.dw-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dw-pr { display: flex; align-items: center; gap: 8px; flex: none; }
.dw-price { width: 110px; padding: 8px 10px; }

/* Home: every service on screen. On phones the tiles get small (4 in a row) so the whole list stays short. */
@media (max-width: 640px) {
  .page .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .page .cat { padding: 6px 4px 8px; gap: 4px; text-align: center; }
  .page .cat .cat-art, .page .cat img { aspect-ratio: 1 / 1; border-radius: 12px; }
  .page .cat .cat-emo { font-size: 1.7rem; }
  .page .cat b { font-size: .74rem; line-height: 1.15; }
  .page .cat b small { display: none; }
  .page .cat em { font-size: .66rem; align-self: center; padding: 1px 5px; }
  .page .cat .new { font-size: .55rem; padding: 1px 5px; }
}

/* Special Attention: the four daily features as small cartoon boxes at the top (sticker label in the corner). */
.sa-box { position: relative; margin-top: 18px; padding: 22px 10px 12px; border: 2.5px solid #1b1b1b; border-radius: 18px; background: #fff8e1;
  box-shadow: 4px 4px 0 #1b1b1b; }
.sa-title { position: absolute; top: -14px; left: 12px; transform: rotate(-3deg); padding: 3px 12px; border: 2.5px solid #1b1b1b; border-radius: 999px;
  background: #ffd23f; color: #1b1b1b; font-family: var(--display); font-weight: 800; font-size: .86rem; box-shadow: 2px 2px 0 #1b1b1b; white-space: nowrap; }
.sa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.sa-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 3px 7px; border: 2.5px solid #1b1b1b; border-radius: 14px;
  text-align: center; text-decoration: none; color: #1b1b1b; box-shadow: 3px 3px 0 #1b1b1b; transition: transform .12s, box-shadow .12s; }
.sa-c0 { background: #b8f2a0; transform: rotate(-2deg); } .sa-c1 { background: #a8dcff; transform: rotate(1.5deg); }
.sa-c2 { background: #ffc48a; transform: rotate(-1.5deg); } .sa-c3 { background: #ffa6b8; transform: rotate(2deg); }
.sa-card:hover { transform: rotate(0) translateY(-2px); }
.sa-card:active { transform: translate(2px, 2px) rotate(0); box-shadow: 1px 1px 0 #1b1b1b; }
.sa-ico { font-size: 1.6rem; line-height: 1; filter: drop-shadow(1px 1px 0 #1b1b1b); }
.sa-card b { font-size: .7rem; line-height: 1.15; font-weight: 800; color: #1b1b1b; }
.sa-card b .bi-en { display: none; }
@media (min-width: 760px) { .sa-card b { font-size: .88rem; } .sa-ico { font-size: 2rem; } .sa-box { padding: 24px 14px 14px; } }
@media (prefers-reduced-motion: no-preference) { .sa-ico { animation: sa-bob 2.6s ease-in-out infinite; } .sa-c1 .sa-ico { animation-delay: -.6s; } .sa-c2 .sa-ico { animation-delay: -1.2s; } .sa-c3 .sa-ico { animation-delay: -1.8s; }
  @keyframes sa-bob { 50% { transform: translateY(-3px) rotate(-4deg); } } }
/* The offer banner normally tucks up into the hero; with Special Attention on top it sits below it instead. */
.home > .sa-box { margin-top: 22px; z-index: 3; }
.home > .sa-box + .offers { margin-top: 0; }

/* Legal pages: terms, privacy, safety, delete account (the inline <style> they had was blocked by the CSP). */
.legal { max-width: 780px; padding-block: 20px 60px; }
.legal h1 { font-size: 1.6rem; margin: 10px 0 4px; }
.legal h2 { font-size: 1.18rem; margin: 28px 0 8px; }
.legal h3 { font-size: 1rem; margin: 16px 0 6px; }
.legal p, .legal li { line-height: 1.6; }
.legal li { margin-bottom: 4px; }
.legal .meta { color: var(--muted); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-nav a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .82rem; color: var(--ink); }
.legal-nav a[aria-current="page"] { background: #1d3a6e; color: #fff; border-color: #1d3a6e; }
.legal-sum { background: #fff8e1; border: 2px solid #f2c94c; border-radius: 14px; padding: 4px 16px; margin: 14px 0 6px; color: #1b1b1b; }
.legal-sum.emergency { background: #ffecec; border-color: #e5484d; }
.legal-sum a { color: #0b4fb3; }
.btn.danger { color: #c62828; border-color: #e5a1a1; }
.btn-primary.danger { background: #c62828; color: #fff; border-color: #c62828; box-shadow: 0 3px 0 #8e1c1c; }
.wrap-row { flex-wrap: wrap; gap: 6px; }
