/* K P Verma Jewellers — shared styles (customer site + admin). v0.9 refresh: brand red & gold from the logo, clean white, modern type. */
:root {
  --maroon: #C8161D;       /* brand red (logo) — kept the old variable names so every screen picks it up */
  --maroon-2: #E31E24;
  --maroon-ink: #1C1917;   /* headings / strong text */
  --gold: #B8862B;
  --gold-2: #D9AB4C;
  --gold-soft: #FBF4E4;
  --ivory: #F8F7F4;
  --paper: #FFFFFF;
  --ink: #1C1917;
  --muted: #6F6A64;
  --line: #ECE8E1;
  --ok: #1F7A4D;
  --ok-bg: #E6F4EC;
  --bad: #B42318;
  --bad-bg: #FDECEA;
  --warn: #8A5A00;
  --warn-bg: #FFF4DB;
  --radius: 18px;
  --serif: "Outfit", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 8px 24px rgba(28, 25, 23, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); background: var(--ivory); color: var(--ink); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--maroon-ink); margin: 0; letter-spacing: .2px; }
h1 { font-size: 30px; line-height: 1.1; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.hidden { display: none !important; }

/* ---------- App shell ---------- */
.app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: 84px; position: relative; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--maroon); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.topbar .back { background: none; border: 0; color: #fff; font-size: 22px; padding: 0 4px 0 0; line-height: 1; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-2); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--gold-2); font-size: 14px; letter-spacing: .5px; }
.brand .name { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1; color: #fff; }
.brand .sub { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-2); margin-top: 3px; }
.topbar .title { font-family: var(--serif); font-size: 21px; font-weight: 600; flex: 1; }
.topbar .icons { margin-left: auto; display: flex; gap: 6px; }
.icon-btn { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.icon-btn svg { width: 19px; height: 19px; }
.dot { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gold-2); color: var(--maroon-ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
main { padding: 16px; }

.bottomnav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.bottomnav a { padding: 9px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); position: relative; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav a.on { color: var(--maroon); font-weight: 600; }
.bottomnav a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.bottomnav .dot { top: 4px; right: calc(50% - 20px); }

/* ---------- Cards & UI ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.section { margin-top: 22px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.section-head a { font-size: 13px; color: var(--maroon); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 13px 18px; font-weight: 600; font-size: 15px; background: var(--maroon); color: #fff; transition: transform .05s ease, background .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--maroon-ink); }
.btn.ghost { background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn.light { background: var(--gold-soft); color: var(--maroon-ink); }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid #E7B9B9; }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; }
.chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; white-space: nowrap; color: var(--ink); }
.chip.on { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.gold { background: var(--gold-soft); color: #7A5512; }
.badge.maroon { background: var(--maroon); color: #fff; }
.badge.plain { background: #F2ECE2; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 12px 0; }

label.field { display: block; margin-top: 12px; }
label.field > span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 0; border-color: var(--gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin-top: 12px; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--maroon); flex: none; }
.error { background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-top: 12px; }
.note { background: var(--gold-soft); color: #5E430F; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty h3 { margin-bottom: 6px; }

/* ---------- Rates ---------- */
.rates { background: linear-gradient(135deg, var(--maroon), var(--maroon-ink)); color: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.rates .head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gold-2); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.rates .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.rates .r { background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 10px; }
.rates .r .k { font-size: 11px; color: #E9D9B8; }
.rates .r .v { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 1px; }
.rates .r .c { font-size: 11px; }
.up { color: #8FD6A8; } .down { color: #F2A7A7; }

/* ---------- Home ---------- */
.hero { margin-top: 14px; border-radius: var(--radius); overflow: hidden; position: relative; background: radial-gradient(120% 120% at 85% 10%, #F3D98B 0%, #C9A24B 30%, #6B1A2B 75%); color: #fff; padding: 22px 18px; min-height: 160px; box-shadow: var(--shadow); }
.hero h1 { color: #fff; font-size: 28px; max-width: 70%; }
.hero p { margin: 8px 0 14px; max-width: 70%; color: #F7EBD3; font-size: 13.5px; }
.hero .ornament { position: absolute; right: -30px; bottom: -30px; width: 170px; height: 170px; border-radius: 50%; border: 10px solid rgba(255,240,200,.35); }
.hero .ornament::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 2px dashed rgba(255,240,200,.5); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat { text-align: center; font-size: 12px; }
.colls { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.coll { scroll-snap-align: start; min-height: 120px; border-radius: 16px; padding: 14px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, #8E2A3D, #4A1622) center/cover; position: relative; }
.coll .nm { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.coll .tl { font-size: 12px; opacity: .85; margin-top: 2px; line-height: 1.3; }
.coll .ct { font-size: 11px; color: #FBE7B5; margin-top: 8px; font-weight: 600; }
.cat .ic { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: #fff; margin-bottom: 6px; }
.scheme-promo { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--gold-2); border-radius: var(--radius); padding: 16px; background-image: linear-gradient(135deg, #FFFDF7, var(--gold-soft)); }
.scheme-promo .big { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--maroon); line-height: 1; }

/* ---------- Products ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pcard .img { aspect-ratio: 1; background: var(--gold-soft); position: relative; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .tag { position: absolute; top: 8px; left: 8px; }
.pcard .body { padding: 10px 11px 12px; }
.pcard .nm { font-size: 13.5px; font-weight: 500; line-height: 1.25; min-height: 34px; }
.pcard .meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.pcard .pr { font-weight: 700; margin-top: 6px; color: var(--maroon-ink); }
.gallery { margin: -16px -16px 0; aspect-ratio: 1; background: var(--gold-soft); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .acts { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 8px; }
.gallery .acts button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--maroon); }
.gallery .acts button.on { background: var(--maroon); color: #fff; }
.gallery .acts svg { width: 20px; height: 20px; }
.price-big { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--maroon); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.specs div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.specs b { display: block; font-size: 15px; margin-top: 2px; }
table.breakup { width: 100%; border-collapse: collapse; font-size: 14px; }
table.breakup td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
table.breakup td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.breakup tr.total td { border-bottom: 0; font-weight: 700; font-size: 16px; padding-top: 12px; color: var(--maroon-ink); }
.sticky-cta { position: sticky; bottom: 76px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 18px; padding: 10px; background: rgba(250,246,239,.92); backdrop-filter: blur(6px); border-radius: 14px; border: 1px solid var(--line); }

/* ---------- Cart / checkout ---------- */
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--gold-soft); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-top: 10px; cursor: pointer; background: #fff; }
.opt.on { border-color: var(--maroon); background: #FFF9F5; }
.opt input { width: 18px; height: 18px; accent-color: var(--maroon); margin-top: 2px; flex: none; }
.sum td { padding: 6px 0; font-size: 14px; }
.sum td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sum tr.grand td { font-weight: 700; font-size: 18px; color: var(--maroon-ink); border-top: 1px solid var(--line); padding-top: 12px; }
.sum tr.credit td { color: var(--ok); }

/* ---------- Scheme / passbook ---------- */
.pass { background: linear-gradient(150deg, var(--maroon) 0%, var(--maroon-ink) 100%); color: #fff; border-radius: 18px; padding: 18px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.pass::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid rgba(217,182,94,.35); }
.pass::before { content: ""; position: absolute; right: -10px; top: -10px; width: 100px; height: 100px; border-radius: 50%; border: 1.5px solid rgba(217,182,94,.25); }
.pass .acct { font-size: 12px; letter-spacing: 1.5px; color: var(--gold-2); text-transform: uppercase; }
.pass .grams { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1; margin-top: 10px; color: #FFF3D6; }
.pass .grams small { font-size: 18px; font-weight: 500; color: var(--gold-2); }
.pass .val { color: #F0DDBA; font-size: 13.5px; margin-top: 4px; }
.pass .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.pass .kv .k { font-size: 10.5px; color: #D9C29A; text-transform: uppercase; letter-spacing: .6px; }
.pass .kv .v { font-weight: 600; font-size: 14px; margin-top: 2px; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 14px; }
.dots span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
.dots span.paid { background: var(--gold-2); }
.dots span.bonus { background: rgba(255,255,255,.14); outline: 1.5px dashed var(--gold-2); outline-offset: -1.5px; }
.dots span.bonus.paid { background: #FFF3D6; outline: 0; }
.ledger .e { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger .e:last-child { border-bottom: 0; }
.ledger .t { font-weight: 600; font-size: 14px; }
.ledger .d { font-size: 12px; color: var(--muted); }
.ledger .mg { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger .mg.plus { color: var(--ok); } .ledger .mg.minus { color: var(--bad); }
.ledger .bal { text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.acct-card { display: block; }
.acct-card .row { margin-top: 6px; }

/* ---------- Sheet / modal ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(42,26,31,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--ivory); width: 100%; max-width: 560px; border-radius: 20px 20px 0 0; padding: 20px 16px 26px; max-height: 88vh; overflow: auto; animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 60; max-width: 90%; box-shadow: var(--shadow); }
.test-banner { background: var(--warn-bg); color: var(--warn); font-size: 11.5px; text-align: center; padding: 5px 10px; font-weight: 600; letter-spacing: .3px; }

/* ---------- Bill (printable) ---------- */
.bill { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: 13px; }
.bill .bh { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--maroon); padding-bottom: 12px; }
.bill table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.bill th { font-size: 10.5px; text-transform: uppercase; color: var(--muted); text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.bill td { padding: 8px 4px; border-bottom: 1px solid #F3ECDF; vertical-align: top; }
.bill .qr { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.bill .qr .box { width: 104px; height: 104px; flex: none; }
.bill .qr .box img, .bill .qr .box svg { width: 100%; height: 100%; }

.spark { width: 100%; height: 120px; }
.skeleton { background: linear-gradient(90deg, #F1E8DA 25%, #F8F2E8 50%, #F1E8DA 75%); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 10px; }
@keyframes sh { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media print {
  .topbar, .bottomnav, .no-print, .test-banner { display: none !important; }
  body { background: #fff; }
  .app { max-width: none; padding: 0; }
  main { padding: 0; }
  .bill, .card { border: 0; box-shadow: none; }
}

/* ---------- Virtual try-on ---------- */
.tryon { position: fixed; inset: 0; z-index: 70; background: #120709; color: #fff; display: flex; flex-direction: column; }
.tryon-top { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.tryon-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.tryon-stage video { display: none; }
.tryon-stage canvas { max-width: 100%; max-height: 100%; border-radius: 12px; background: #1d0e12; }
.tryon-msg { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); padding: 8px 14px; border-radius: 20px; font-size: 13px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.tryon-msg:empty { display: none; }
.tryon-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
.tryon-bar input[type=range] { width: 120px; accent-color: var(--gold-2); padding: 0; vertical-align: middle; }
.btn.light-on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: .8em; margin-left: 6px; }
.offer { color: var(--ok); font-weight: 600; }
.idcard { background: linear-gradient(135deg, var(--maroon), var(--maroon-ink)); color: #fff; border-radius: 16px; padding: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.idcard .qrbox { background: #fff; border-radius: 10px; padding: 6px; width: 104px; height: 104px; flex: none; }
.idcard .qrbox svg { width: 100%; height: 100%; display: block; }
.idcard .no { font-family: var(--serif); font-size: 28px; font-weight: 700; color: #FFF3D6; letter-spacing: 1px; }

.btn > svg { width: 20px; height: 20px; flex: none; }

/* ---------- Home slideshow ---------- */
.slides { margin-top: 14px; position: relative; }
.slides .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: none; }
.slides .track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; min-height: 190px; aspect-ratio: 16 / 9; max-height: 300px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.slide.t-maroon { background: radial-gradient(120% 120% at 85% 10%, #F3D98B 0%, #C9A24B 30%, #6B1A2B 75%); }
.slide.t-gold { background: radial-gradient(120% 130% at 90% 0%, #FFF3C9 0%, #E3BE63 35%, #9A6B1C 90%); color: #2A1A1F; }
.slide.t-ivory { background: linear-gradient(120deg, #FFFDF8 0%, #F3E7D2 100%); color: #2A1A1F; }
.slide > picture, .slide > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.has-img:not(.prod)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,26,31,0) 30%, rgba(42,26,31,.78) 100%); }
.slide.has-img:not(.prod) { color: #fff; }
.slide.prod > picture { left: auto; width: 46%; }
.slide.prod > picture img { object-fit: contain; padding: 10px; }
.slide .txt { position: relative; z-index: 1; padding: 18px; max-width: 78%; }
.slide.prod .txt { max-width: 56%; }
.slide h2 { color: inherit; font-size: 26px; line-height: 1.1; }
.slide p { margin: 6px 0 12px; font-size: 13.5px; opacity: .92; }
.slide .sb { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.22); margin-bottom: 8px; }
.slide.t-gold .sb, .slide.t-ivory .sb { background: #6B1A2B; color: #FBE7B5; }
.slide .go { display: inline-block; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; color: #6B1A2B; }
.slide.t-gold .go, .slide.t-ivory .go { background: #6B1A2B; color: #fff; }
.slide .orn { position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; border-radius: 50%; border: 10px solid rgba(255,240,200,.35); }
.slide .orn::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 2px dashed rgba(255,240,200,.5); }
.slide.t-ivory .orn { border-color: rgba(184,137,46,.25); }
.slides .dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.slides .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: #D9CBB0; transition: width .2s, background .2s; cursor: pointer; }
.slides .dots button.on { width: 20px; background: var(--maroon); }
@media (min-width: 720px) { .slide { aspect-ratio: 3 / 1; max-height: 340px; } .slide h2 { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .slides .track { scroll-behavior: auto; } }

/* ---------- Quick actions (optional features) ---------- */
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.qa a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; text-align: center; color: var(--maroon-ink); padding: 10px 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.qa a span { font-size: 20px; }


/* =================== v0.9 visual refresh (modern) =================== */
h1, h2, h3 { font-weight: 600; letter-spacing: -.2px; }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 18px; }
.topbar { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); padding: 10px 14px; }
.topbar .back { color: var(--ink); }
.topbar .title { font-size: 19px; color: var(--ink); }
.icon-btn { background: #F4F2EE; color: var(--ink); }
.dot { background: var(--maroon); color: #fff; }
.brand .logo { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.brand .name { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.brand .sub { color: var(--gold); letter-spacing: 1.6px; font-weight: 600; }
.bottomnav { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.bottomnav a.on { color: var(--maroon); }
.bottomnav a.on::before { background: var(--maroon); width: 22px; height: 3px; }
.card { border-color: transparent; }
.btn { border-radius: 999px; padding: 13px 20px; }
.btn.sm { border-radius: 999px; padding: 8px 14px; }
.btn.gold { background: linear-gradient(135deg, #E4B85A, #B8862B); color: #1C1917; }
.btn.light { background: #F4F2EE; color: var(--ink); }
.chip { border-color: var(--line); padding: 8px 14px; }
.chip.on { background: var(--ink); border-color: var(--ink); }
input, select, textarea { border-radius: 12px; border-color: #E2DDD5; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(200,22,29,.25); border-color: var(--maroon); }
.note { background: #FBF4E4; color: #5E430F; }

/* Rates: clean white tiles */
.rates { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.rates .head { color: var(--muted); }
.rates .r { background: #F8F6F2; }
.rates .r .k { color: var(--muted); }
.rates .r .v { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.rates .up { color: var(--ok); } .rates .down { color: var(--bad); }
.rates .c[style] { color: var(--muted) !important; }

/* Hero & slides: brand red */
.hero { background: radial-gradient(130% 130% at 90% 0%, #F2C76B 0%, #D9AB4C 18%, #C8161D 55%, #7E0C11 100%); }
.slide.t-maroon { background: radial-gradient(130% 130% at 90% 0%, #F2C76B 0%, #D9AB4C 18%, #C8161D 55%, #7E0C11 100%); }
.slide.t-gold { background: radial-gradient(120% 130% at 90% 0%, #FFF0C4 0%, #E4B85A 40%, #A9761F 100%); }
.slide.t-ivory { background: linear-gradient(120deg, #FFFFFF 0%, #F4EFE6 100%); }
.slide.t-gold .sb, .slide.t-ivory .sb { background: var(--maroon); color: #fff; }
.slide.t-gold .go, .slide.t-ivory .go { background: var(--maroon); color: #fff; }
.slide .go { color: var(--maroon); }
.slide h2 { font-weight: 700; letter-spacing: -.4px; }
.slides .dots button.on { background: var(--maroon); }

/* Categories: round photo tiles */
.cat .ic { border: 0; box-shadow: 0 2px 10px rgba(28,25,23,.08); background: #F4F2EE; }
.cat .ic img { width: 100%; height: 100%; object-fit: cover; }
.cat { font-weight: 500; }
.coll { background: linear-gradient(150deg, #C8161D, #6E0A0F) center/cover; border-radius: 18px; min-height: 150px; }
.coll .nm { font-weight: 700; }
.coll .ct { color: #FFE2A8; }
.qa a { border-color: var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.03); }

/* Products: photo-first cards */
.pcard { border: 0; box-shadow: var(--shadow); border-radius: 18px; }
.pcard .img { background: #F4F2EE; }
.pcard .nm { font-weight: 600; font-size: 13.5px; }
.pcard .pr { color: var(--ink); font-size: 15px; }
.gallery { background: #F4F2EE; }
.price-big { font-family: var(--serif); color: var(--ink); font-weight: 700; letter-spacing: -.5px; }
.specs div { border-color: var(--line); }
.sticky-cta { background: rgba(255,255,255,.94); }
.line-item img, .opt { border-radius: 14px; }
.opt.on { background: #FFF6F5; }
.scheme-promo { border-color: #EBD39F; background-image: linear-gradient(135deg, #FFFFFF, #FBF1DA); border-radius: 18px; }
.scheme-promo .big { color: var(--maroon); }

/* Passbook: brand red card with gold */
.pass { background: linear-gradient(150deg, #D11B22 0%, #8E0E14 60%, #5A080C 100%); border-radius: 22px; }
.pass .acct, .pass .grams small { color: #F6D58C; }
.pass .grams { color: #FFF6E2; }
.dots span.paid { background: #F6D58C; }
.sheet { background: #fff; border-radius: 24px 24px 0 0; }

/* =================== v1.0 full website ("/") vs phone app ("/app") =================== */
#webtop, #pagehead, .webfoot, .pd-cta { display: none; }
body.appmode .webonly { display: none !important; }
body.web .webfoot { display: block; }
.home-duo > * + * { margin-top: 22px; }
.home-duo .scheme-promo { height: 100%; }
.home-new > :nth-child(n+7) { display: none; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust > div { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.trust b { display: block; color: var(--ink); font-size: 13.5px; margin: 8px 0 2px; font-weight: 600; }
.trust i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FBF1DA; color: var(--gold); font-weight: 700; font-size: 15px; }

/* footer — website only, all screen sizes */
.webfoot { background: #1C1917; color: #CFC8BE; margin-top: 48px; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
.webfoot .in { max-width: 1240px; margin: 0 auto; padding: 36px 20px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.webfoot .f-brand, .webfoot .f-app { grid-column: 1 / -1; }
.webfoot .f-brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.webfoot .name { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 18px; margin-top: 12px; }
.webfoot p { font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
.webfoot h4 { color: #fff; font-family: var(--serif); font-size: 15px; margin: 0 0 10px; font-weight: 600; }
.webfoot a { display: block; font-size: 13.5px; padding: 4px 0; color: #CFC8BE; }
.webfoot a:hover { color: #fff; }
.webfoot .btn { display: inline-flex; color: #fff; margin-top: 14px; padding: 9px 18px; }
.webfoot .f-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.webfoot .f-bottom .in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 20px; font-size: 12px; color: #8E867B; }

/* "/app" opened on a big screen: show it as a phone-width app */
@media (min-width: 600px) {
  body.appmode { background: #ECE8E1; }
  body.appmode .app { background: var(--ivory); box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(28,25,23,.10); }
}
.install-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.install-bar img { width: 38px; height: 38px; border-radius: 10px; }
.install-bar > div { flex: 1; font-size: 13px; line-height: 1.3; }
.install-bar .x { background: none; border: 0; font-size: 24px; color: var(--muted); padding: 0 4px; line-height: 1; }

/* ---------- Desktop website ---------- */
@media (min-width: 900px) {
  body.web .app { max-width: none; padding-bottom: 0; min-height: 0; }
  body.web .topbar, body.web .bottomnav { display: none; }
  body.web #webtop { display: contents; }
  body.web main { max-width: 1240px; margin: 0 auto; padding: 28px 32px 8px; }
  body.web main.narrow { max-width: 820px; }
  body.web #pagehead { display: block; max-width: 1240px; margin: 0 auto; padding: 28px 32px 0; }
  body.web #pagehead.narrow { max-width: 820px; }
  body.web #pagehead:empty { display: none; }
  #pagehead .crumb { font-size: 13px; color: var(--muted); }
  #pagehead .crumb a:hover { color: var(--maroon); }
  #pagehead .crumb span { margin: 0 4px; opacity: .6; }
  #pagehead h1 { font-size: 36px; margin-top: 8px; letter-spacing: -.8px; }
  body.web #pagehead + main { padding-top: 20px; }

  /* header */
  .wt-strip { background: #1C1917; color: #D8D1C6; font-size: 12.5px; }
  .wt-strip .in, .wt-main .in, .wt-nav .in { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; }
  .wt-strip .in { height: 36px; justify-content: space-between; gap: 20px; }
  .wt-rates span { margin-left: 14px; }
  .wt-rates b { color: #F6D58C; font-weight: 600; }
  .wt-rates:hover b { text-decoration: underline; }
  .wt-links a { margin-left: 20px; }
  .wt-links a:last-child { color: #F6D58C; font-weight: 600; }
  .wt-links a:hover { color: #fff; }
  .wt-main { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); position: sticky; top: 0; z-index: 40; }
  .wt-main .in { height: 82px; gap: 28px; }
  .wt-brand { display: flex; align-items: center; gap: 12px; flex: none; }
  .wt-brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 1px 5px rgba(0,0,0,.12); }
  .wt-brand .name { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -.3px; color: var(--ink); line-height: 1.1; }
  .wt-brand .sub { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 4px; }
  .wt-search { flex: 1; max-width: 540px; margin: 0 auto; position: relative; }
  .wt-search span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
  .wt-search svg { width: 18px; height: 18px; display: block; }
  .wt-search input { padding: 12px 18px 12px 44px; border-radius: 999px; background: #F4F2EE; border-color: transparent; }
  .wt-search input:focus { background: #fff; }
  .wt-icons { display: flex; gap: 4px; flex: none; }
  .wt-icons a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--ink); padding: 7px 10px; border-radius: 14px; position: relative; min-width: 66px; }
  .wt-icons a:hover, .wt-icons a.on { color: var(--maroon); background: #FBF2F1; }
  .wt-icons svg { width: 23px; height: 23px; }
  .wt-icons .dot { top: 2px; right: 12px; font-style: normal; }
  .wt-nav { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 82px; z-index: 39; }
  .wt-nav .in { height: 50px; gap: 2px; justify-content: center; }
  .wt-nav a, .wt-dd > button { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--ink); background: none; border: 0; white-space: nowrap; }
  .wt-nav a:hover, .wt-dd > button:hover { color: var(--maroon); }
  .wt-nav a.on { color: var(--maroon); background: #FBF2F1; font-weight: 600; }
  .wt-dd { position: relative; }
  .wt-dd .menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(28,25,23,.16); padding: 8px; z-index: 5; }
  .wt-dd:hover .menu, .wt-dd:focus-within .menu { display: block; }
  .wt-dd .menu a { display: flex; justify-content: space-between; align-items: center; border-radius: 10px; padding: 10px 12px; }
  .wt-dd .menu a:hover { background: #F8F6F2; }
  .wt-dd .menu small { color: var(--muted); font-size: 12px; }

  /* home */
  body.web .home-rates { display: none; }
  body.web .slides { margin-top: 0; }
  body.web .slide { aspect-ratio: 16 / 5.6; min-height: 360px; max-height: 470px; align-items: center; }
  body.web .slide .txt { padding: 48px 60px; max-width: 54%; }
  body.web .slide h2 { font-size: 50px; letter-spacing: -1.2px; }
  body.web .slide p { font-size: 17px; margin: 12px 0 22px; }
  body.web .slide .go { font-size: 15px; padding: 13px 24px; }
  body.web .slide.has-img:not(.prod)::after { background: linear-gradient(90deg, rgba(20,12,10,.74) 0%, rgba(20,12,10,.38) 45%, rgba(20,12,10,0) 78%); }
  body.web .slides .dots { margin-top: 14px; }
  body.web .section { margin-top: 56px; }
  body.web .trust.section { margin-top: 28px; }
  body.web .section-head { margin-bottom: 20px; }
  body.web .section-head h3 { font-size: 30px; letter-spacing: -.6px; }
  body.web .section-head a { font-size: 14px; }
  body.web .trust { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  body.web .trust > div { padding: 20px 22px; font-size: 13.5px; }
  body.web .trust b { font-size: 15px; }
  body.web .cats { grid-template-columns: repeat(8, 1fr); gap: 22px; }
  body.web .cat { font-size: 14px; }
  body.web .cat .ic { margin-bottom: 10px; transition: transform .2s, box-shadow .2s; }
  body.web .cat:hover .ic { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(28,25,23,.16); }
  body.web .colls { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 22px; padding-bottom: 6px; }
  body.web .coll { min-height: 320px; padding: 24px; border-radius: 24px; transition: transform .2s, box-shadow .2s; }
  body.web .coll:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,25,23,.18); }
  body.web .coll .nm { font-size: 26px; }
  body.web .coll .tl { font-size: 13.5px; }
  body.web .home-new > :nth-child(n+7) { display: flex; }
  body.web .home-new.upto4 > :nth-child(n+5) { display: none; }
  body.web .home-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  body.web .home-duo > * { margin-top: 0; }
  body.web .home-duo .card { padding: 28px; }
  body.web .scheme-promo { padding: 28px; }
  body.web .qa { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
  body.web .qa a { padding: 16px 8px; font-size: 13px; }

  /* product lists */
  body.web .grid2 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  body.web .pcard { transition: transform .2s, box-shadow .2s; }
  body.web .pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,25,23,.13); }
  body.web .pcard .body { padding: 14px 16px 18px; }
  body.web .pcard .nm { font-size: 15px; min-height: 0; }
  body.web .pcard .meta { font-size: 12.5px; }
  body.web .pcard .pr { font-size: 17px; margin-top: 8px; }
  body.web .chips { flex-wrap: wrap; overflow: visible; }

  /* product page: photo left, details right */
  body.web .pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  body.web .pd-media { position: sticky; top: 156px; }
  body.web .gallery { margin: 0; border-radius: 26px; overflow: hidden; }
  body.web .pd-info > :first-child { margin-top: 4px !important; }
  body.web .pd-info h1 { font-size: 38px; letter-spacing: -.9px; }
  body.web .price-big { font-size: 40px; }
  body.web .sticky-cta { display: none; }
  body.web .pd-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 22px; }
  body.web .pd-cta .btn { padding: 16px 22px; font-size: 16px; }

  /* dialogs centred on big screens */
  body.web .sheet-bg { align-items: center; }
  body.web .sheet { border-radius: 24px; max-width: 520px; }
  body.web .toast { bottom: 32px; }

  .webfoot { padding-bottom: 0; margin-top: 72px; }
  .webfoot .in { grid-template-columns: 1.7fr 1fr 1fr 1.1fr 1.3fr; gap: 40px; padding: 60px 32px 40px; }
  .webfoot .f-brand, .webfoot .f-app { grid-column: auto; }
  .webfoot .f-bottom .in { padding: 18px 32px; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .wt-nav a.c, .wt-trust { display: none; }
  body.web .grid2 { grid-template-columns: repeat(3, 1fr); }
  .wt-icons a { min-width: 0; }
}
@media print { #webtop, #pagehead, .webfoot, .install-bar { display: none !important; } }

/* ---------- Installed app (PWA) ---------- */
body.appmode { -webkit-tap-highlight-color: transparent; }
@media (display-mode: standalone) {
  body { overscroll-behavior-y: none; }
  .topbar { padding-top: calc(10px + env(safe-area-inset-top)); }
  .test-banner { padding-top: calc(5px + env(safe-area-inset-top)); }
  .test-banner:not(.hidden) + .topbar { padding-top: 10px; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 80; background: #1C1917; color: #fff; text-align: center; font-size: 12.5px; font-weight: 600; padding: calc(6px + env(safe-area-inset-top)) 10px 6px; }

/* trust points: compact on phones */
@media (max-width: 899px) {
  .trust > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 0; }
  .trust b { margin: 0; font-size: 12.5px; line-height: 1.25; }
  .trust i { width: 28px; height: 28px; font-size: 13px; flex: none; }
}

/* =================== Stores & nearest store =================== */
.brand .name { display: block; }
.brand > a { flex: none; }
.sub.loc { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); max-width: 100%; }
.sub.loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub.loc svg { width: 13px; height: 13px; flex: none; color: var(--maroon); }
.sub.loc:hover { color: var(--maroon); }
.store-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); border: 1.5px solid transparent; }
.store-card.is-near { border-color: #F1C9CB; }
.store-card h3 { margin-top: 8px; font-size: 17px; }
.store-card .btn.sm { padding: 7px 12px; }
.stores-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 86%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.stores-row::-webkit-scrollbar { display: none; }
.stores-row > * { scroll-snap-align: start; }
.stores-row > :only-child { grid-column: 1 / -1; }
.stores-grid { display: grid; gap: 12px; }
.loc-card { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.loc-card > svg { width: 26px; height: 26px; color: var(--maroon); flex: none; }
.loc-card > div { flex: 1; min-width: 200px; }
@media (min-width: 900px) {
  .wt-brand { display: flex; align-items: center; gap: 12px; flex: none; }
  .wt-brand .name { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -.3px; color: var(--ink); line-height: 1.1; display: block; }
  .wt-brand .sub.loc { font-size: 12.5px; margin-top: 4px; }
  body.web .stores-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: visible; }
  body.web .stores-row > :only-child { grid-column: auto; }
  body.web .stores-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  body.web .store-card { padding: 22px; }
}

/* =================== Shop filters: only the chosen filters show =================== */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-btn { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.filter-btn svg { width: 16px; height: 16px; }
.fcount { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; }
.filterbar .chip.on .x { margin-left: 6px; font-size: 15px; line-height: 1; opacity: .8; }
.clear-all { font-size: 13px; color: var(--maroon); font-weight: 600; padding: 0 4px; }
.sortsel { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sortsel select { width: auto; padding: 8px 32px 8px 14px; border-radius: 999px; font-size: 13px; background-color: #fff; }
.fgroup { margin-top: 16px; }
.fopts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .sortsel { margin-left: 0; width: 100%; } .sortsel select { flex: 1; } }

/* =================== Product page: photo gallery, buttons in the page, About this item =================== */
.gallery { overflow: hidden; }
.gtrack { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gtrack::-webkit-scrollbar { display: none; }
.gtrack img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gcount { position: absolute; left: 12px; bottom: 12px; background: rgba(28,25,23,.6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.gthumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gthumbs::-webkit-scrollbar { display: none; }
.gthumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #F4F2EE; cursor: pointer; }
.gthumbs button.on { border-color: var(--maroon); }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pd-cta .tryon-cta { grid-column: 1 / -1; }
ul.about { margin: 8px 0 0; padding-left: 20px; }
ul.about li { margin: 5px 0; line-height: 1.45; }
@media (min-width: 900px) {
  body.web .pd-cta { grid-template-columns: 1.3fr 1fr; }
  body.web .gthumbs button { flex-basis: 76px; height: 76px; }
}

/* checkout: delivery or pickup; order tracking and handover code */
.how-opts { display: grid; gap: 8px; margin: 8px 0 10px; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.tstep { font-size: 11px; color: var(--muted); text-align: center; position: relative; }
.tstep span { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 6px; }
.tstep.done { color: var(--ink); font-weight: 600; }
.tstep.done span { background: var(--ok); }
.hcode { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--gold-soft); border: 1px dashed var(--gold-2); text-align: center; }
.hcode .code { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: 4px; color: var(--maroon); margin: 4px 0 6px; }

/* ---------- Chat assistant ("Ask Swarna") ---------- */
.kchat { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; font-family: var(--sans); }
.kchat-fab { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px; background: linear-gradient(135deg, #E31E24, #A3121A); color: #fff; box-shadow: 0 10px 26px rgba(200, 22, 29, .35); cursor: pointer; font: 600 14px var(--sans); }
.kchat-fab-label { display: none; }
.kchat.open .kchat-fab { display: none; }
.kchat-panel { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); height: min(78vh, 640px); background: var(--paper); border-radius: 20px; box-shadow: 0 24px 60px rgba(28, 25, 23, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.kchat-panel[hidden] { display: none; }
.kchat-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 14px; background: linear-gradient(135deg, #C8161D, #8E0F15); color: #fff; }
.kchat-av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #F5D58A; font-size: 16px; flex: 0 0 34px; }
.kchat-ht { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.kchat-ht b { font-size: 15px; }
.kchat-ht span { font-size: 11.5px; opacity: .85; }
.kchat-ic { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 15px; text-decoration: none; }
.kchat-ic[hidden] { display: none; }
.kchat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--ivory); }
.kchat-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.kchat-msg p { margin: 0; } .kchat-msg p + p { margin-top: 6px; }
.kchat-msg.assistant { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; color: var(--ink); }
.kchat-msg.user { background: var(--maroon); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.kchat-msg.user a { color: #fff; }
.kchat-msg.error { background: var(--bad-bg); color: var(--bad); align-self: flex-start; }
.kchat-msg.typing { color: var(--muted); letter-spacing: 2px; }
.kchat-msg a { color: var(--maroon); font-weight: 600; }
.kchat-plink { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); text-decoration: none; font-size: 12.5px; }
.kchat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--ivory); }
.kchat-chips:empty { display: none; }
.kchat-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 12px; font: 500 12.5px var(--sans); color: var(--ink); cursor: pointer; }
.kchat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.kchat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: 16px var(--sans); max-height: 110px; outline-color: var(--gold-2); }
.kchat-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--maroon); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 42px; }
.kchat-send:disabled { opacity: .5; }
.kchat-note { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--muted); background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) {
  .kchat { right: 24px; bottom: 24px; }
  .kchat-fab { padding: 13px 18px 13px 15px; }
  .kchat-fab-label { display: inline; }
  .kchat-panel { left: auto; right: 24px; bottom: 24px; width: 380px; height: min(620px, calc(100vh - 48px)); }
}

/* iPhones zoom the whole page in when a box with text smaller than 16px is tapped — keep every box at 16px on touch screens */
@media (pointer: coarse) { input, select, textarea { font-size: max(16px, 1em) !important; } }
