/* White storefront theme: white page, black text and buttons, maroon as a small brand accent. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F5F5;
  --ink: #111111;
  --ink-2: #555555;
  --muted: #8C8C8C;
  --line: #E5E5E5;
  --kumkum: #8E1B2E;
  --kumkum-soft: #F8E9EB;
  --on-kumkum: #FFFFFF;
  --haldi: #F4A417;
  --leaf: #1F6B4A;
  --ok: #1E7B45;   --ok-soft: #E6F4EC;
  --warn: #A86A12; --warn-soft: #FDF2DF;
  --bad: #C0261A;  --bad-soft: #FDECEA;
  --info: #2B5FA8; --info-soft: #E8F0FB;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
  --f-display: "DM Sans", "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "DM Sans", "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--kumkum); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.mono { font-family: var(--f-mono); font-size: .85em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-weight: 600; line-height: 1.2; transition: transform .12s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--kumkum); color: var(--on-kumkum); border-color: var(--kumkum); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--kumkum); color: var(--on-kumkum); font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.input, .select, textarea.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.input:focus, .select:focus { outline: 2px solid var(--kumkum-soft); border-color: var(--kumkum); }
label.f { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.nodot::before { display: none; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.brand { background: var(--kumkum-soft); color: var(--kumkum); }
.pill.neutral { background: var(--surface-2); color: var(--ink-2); }

/* ---------- SHOP ---------- */
.announce { background: var(--kumkum); color: var(--on-kumkum); font-size: 13px; text-align: center; padding: 7px 16px; letter-spacing: .02em; }
.demo-ribbon { background: var(--surface-2); color: var(--ink-2); font-size: 12px; text-align: center; padding: 5px 16px; border-bottom: 1px solid var(--line); }
.shop-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.shop-header .bar { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: baseline; gap: 10px; border: 0; background: none; padding: 0; text-align: left; }
.logo .mr { font-family: var(--f-display); font-size: 28px; color: var(--kumkum); line-height: 1; }
.logo .en { display: grid; line-height: 1.1; }
.logo .en b { font-size: 13px; letter-spacing: .28em; }
.logo .en span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.search { flex: 1; max-width: 460px; position: relative; }
.search input { width: 100%; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px 10px 40px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.toran { height: 22px; position: relative; }
.toran::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--kumkum); }
.toran::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 18px;
  background: repeating-linear-gradient(90deg, var(--haldi) 0 30px, var(--leaf) 30px 60px, var(--kumkum) 60px 90px);
  -webkit-mask: conic-gradient(from -36deg at 50% 100%, #000 72deg, #0000 0) 0 0 / 30px 100%;
          mask: conic-gradient(from -36deg at 50% 100%, #000 72deg, #0000 0) 0 0 / 30px 100%; }
@media (max-width: 720px) {
  .shop-header .bar { flex-wrap: wrap; gap: 8px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .logo .mr { font-size: 24px; }
}

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 36px 28px; }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--kumkum); }
.hero p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.hero .eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--kumkum); font-weight: 700; }
.hero-art { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .tag { position: absolute; left: 14px; bottom: 14px; background: var(--surface); border-radius: 12px; padding: 10px 14px; display: grid; box-shadow: var(--shadow); }
.hero-stats { display: flex; gap: 28px; margin-top: 8px; }
.hero-stats b { font-size: 22px; display: block; }
.hero-stats span { font-size: 12px; color: var(--muted); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 30px 0 14px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 30px; }
.section-head .mr { color: var(--kumkum); font-size: 15px; margin-left: 8px; font-family: var(--f-body); font-weight: 600; }

.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coll { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); text-align: left; color: #fff; }
.coll img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.coll:hover img { transform: scale(1.05); }
.coll .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(20,8,10,.82)); }
.coll .cap b { font-family: var(--f-display); font-weight: 400; font-size: 24px; display: block; line-height: 1.1; }
.coll .cap span { font-size: 13px; opacity: .9; }
.coll.on { outline: 3px solid var(--kumkum); outline-offset: 2px; }
@media (max-width: 640px) { .collections { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .coll { aspect-ratio: 1; } .coll .cap b { font-size: 16px; } .coll .cap span { display: none; } }

.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; position: sticky; top: 92px; z-index: 5; background: var(--bg); padding-block: 8px; }
@media (max-width: 720px) { .filters { position: static; } }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; padding-bottom: 20px; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { background: var(--surface); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .media { position: relative; aspect-ratio: 1; background: var(--surface-2); border: 0; padding: 0; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img { transform: scale(1.04); }
.card .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface); color: var(--ink); letter-spacing: .02em; }
.badge.new { background: var(--leaf); color: #fff; }
.badge.best { background: var(--haldi); color: #2A1A1D; }
.badge.low { background: var(--bad); color: #fff; }
.badge.sale { background: var(--kumkum); color: var(--on-kumkum); }
.heart { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.heart svg { width: 18px; height: 18px; }
.heart.on { color: var(--kumkum); }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .title { font-weight: 600; font-size: 15px; line-height: 1.3; border: 0; background: none; padding: 0; text-align: left; }
.card .mr { font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--haldi); font-size: 13px; }
.stars small { color: var(--muted); margin-left: 4px; font-size: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 18px; }
.price s { color: var(--muted); font-size: 13px; }
.price .off { color: var(--ok); font-size: 12px; font-weight: 700; }
.swatches { display: flex; gap: 6px; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.card .add { margin-top: auto; padding-top: 8px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.value svg { width: 26px; height: 26px; color: var(--kumkum); flex: none; }
.value b { display: block; }
.value span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr 1fr; } }

.footer { background: var(--surface-2); margin-top: 30px; padding-block: 28px; font-size: 14px; color: var(--ink-2); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .footer .cols { grid-template-columns: 1fr; } }

/* overlay, drawer, modal */
.scrim { position: fixed; inset: 0; background: rgba(20, 8, 10, .45); z-index: 60; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 61; display: flex; flex-direction: column; animation: slide .2s; box-shadow: var(--shadow); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.wide { width: min(620px, 100%); }
.drawer .head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer .head h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.drawer .content { flex: 1; overflow: auto; padding: 16px 20px; }
.drawer .foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; background: var(--surface); }
.modal { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100% - 32px)); max-height: calc(100% - 40px); overflow: auto; background: var(--bg); border-radius: 20px; box-shadow: var(--shadow); animation: up .2s; }
.modal.small { width: min(440px, calc(100% - 32px)); }
@media (max-width: 720px) {
  .modal { left: 0; right: 0; bottom: 0; top: auto; transform: none; width: 100%; max-height: 92%; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 2; background: var(--surface); }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 24px; }
@media (max-width: 720px) { .pdp { grid-template-columns: 1fr; padding: 16px; gap: 16px; } }
.gallery .main { border-radius: 16px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); }
.thumbs button.on { border-color: var(--kumkum); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.pdp .mr { color: var(--kumkum); font-weight: 600; }
.opt-label { font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.variant { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; background: var(--surface); font-weight: 500; }
.variant.on { border-color: var(--ink); }
.variant:disabled { opacity: .45; text-decoration: line-through; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; border-radius: 50%; }
.stepper span { min-width: 28px; text-align: center; font-weight: 600; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feat div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.feat b { display: block; font-size: 14px; }
.note { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }

.reviews { padding: 0 24px 24px; }
@media (max-width: 720px) { .reviews { padding: 0 16px 20px; } }
.rev-summary { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
@media (max-width: 560px) { .rev-summary { grid-template-columns: 1fr; } }
.rev-summary .big { font-size: 44px; font-weight: 700; line-height: 1; }
.dist { display: grid; gap: 4px; font-size: 13px; }
.dist .r { display: grid; grid-template-columns: 26px 1fr 30px; gap: 8px; align-items: center; }
.dist .track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.dist .fill { height: 100%; background: var(--haldi); border-radius: 4px; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.star-input button { border: 0; background: none; font-size: 26px; color: var(--line); padding: 0 2px; }
.star-input button.on { color: var(--haldi); }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.sum { display: grid; gap: 6px; font-size: 14px; }
.sum .r { display: flex; justify-content: space-between; }
.sum .total { font-size: 18px; font-weight: 700; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }

.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding-block: 28px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.panel h3 { font-size: 18px; margin-bottom: 12px; }
.paymethod { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); text-align: left; width: 100%; }
.paymethod.on { border-color: var(--kumkum); background: var(--kumkum-soft); }
.paymethod .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.paymethod.on .dot { border: 5px solid var(--kumkum); }

.timeline { display: grid; gap: 0; }
.timeline .t { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.timeline .t::before { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline .t:last-child::before { display: none; }
.timeline .d { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; }
.timeline .t.done .d { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline .t.done::before { background: var(--ok); }

.mobile-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; 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); border-top: 1px solid var(--line); display: none; }
@media (max-width: 720px) { .mobile-cart { display: block; } body.has-cart .page-pad { padding-bottom: 80px; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; z-index: 90; font-weight: 600; font-size: 14px; animation: up .2s; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); }
.empty svg { width: 48px; height: 48px; color: var(--muted); margin: 0 auto 10px; }

/* ---------- ADMIN ---------- */
.admin { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.side .logo { padding: 4px 10px 16px; }
.nav { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 9px 12px; border-radius: 10px; font-weight: 500; color: var(--ink-2); text-align: left; width: 100%; }
.nav svg { width: 18px; height: 18px; }
.nav:hover { background: var(--surface-2); color: var(--ink); }
.nav.on { background: var(--kumkum-soft); color: var(--kumkum); font-weight: 600; }
.nav .n { margin-left: auto; font-size: 11px; background: var(--kumkum); color: var(--on-kumkum); border-radius: 9px; padding: 1px 7px; }
.side .bottom { margin-top: auto; display: grid; gap: 6px; }
.main { min-width: 0; padding: 22px max(16px, env(safe-area-inset-right, 0px)) 40px 28px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.topbar h1 { font-family: var(--f-display); font-weight: 400; font-size: 30px; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; overflow-x: auto; padding: 8px max(16px, env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 1px solid var(--line); }
  .side .logo, .side .bottom { display: none; }
  .nav { width: auto; white-space: nowrap; flex: none; }
  .main { padding: 18px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
}
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1150px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.kpi .l { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpi .v { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi .s { font-size: 12px; color: var(--ink-2); }
.kpi .up { color: var(--ok); font-weight: 600; }
.kpi .down { color: var(--bad); font-weight: 600; }
.cols2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 1050px) { .cols2 { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.box h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--f-body); }
.chart .grid-l { stroke: var(--line); stroke-width: 1; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 6px 10px; font-size: 12px; white-space: nowrap; transform: translate(-50%, -110%); box-shadow: var(--shadow); }
.bars { display: grid; gap: 10px; }
.bars .r { display: grid; grid-template-columns: 110px 1fr 64px; gap: 10px; align-items: center; font-size: 13px; }
.bars .track { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.bars .fill { height: 100%; border-radius: 0 4px 4px 0; background: var(--kumkum); }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
tr.click { cursor: pointer; }
td.r, th.r { text-align: right; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.inline-input { width: 90px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--bg); text-align: right; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar .input { max-width: 280px; }
.toolbar .select { width: auto; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--line); border: 0; padding: 0; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--ok); }
.switch.on::after { transform: translateX(16px); }
.bulkbar { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.bulkbar .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.upload { border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; font-size: 13px; color: var(--ink-2); display: block; cursor: pointer; }
.imgpick { display: flex; gap: 8px; flex-wrap: wrap; }
.imgpick button { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; position: relative; }
.imgpick button.on { border-color: var(--kumkum); }
.imgpick img { width: 100%; height: 100%; object-fit: cover; }
.callout { background: var(--info-soft); color: var(--ink); border-radius: 12px; padding: 10px 14px; font-size: 13px; display: flex; gap: 8px; align-items: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* small inline icons inside notes, callouts and uploads */
.note svg, .callout svg, .upload svg, .value svg + div svg { width: 18px; height: 18px; flex: none; }
.upload svg { display: inline-block; vertical-align: -4px; margin-right: 4px; }
@media (max-width: 440px) {
  .shop-header .logo .en { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .shop-header .bar { flex-wrap: wrap; }
  .shop-header .bar > .row { flex-wrap: nowrap; }
}
@media (max-width: 600px) { .kpis > .kpi:last-child:nth-child(odd) { grid-column: span 2; } }


/* ===== White e-commerce look ===== */
h1, h2, h3 { letter-spacing: -.015em; }
.btn { border-radius: 8px; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { filter: none; background: #2B2B2B; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pdp .btn.primary { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.pdp .btn.primary:hover { background: var(--surface-2); }
.announce { background: var(--ink); color: #fff; }
.demo-ribbon { background: #FAFAFA; }
.shop-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.toran { display: none; }
.filters { top: 70px; }
.logo .mr { font-family: "Hind", var(--f-body); font-weight: 700; }
.hero h1, .section-head h2, .pdp h2, .drawer .head h3, .topbar h1, .coll .cap b { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; }
.hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; }
.section-head h2 { font-size: 26px; }
.topbar h1 { font-size: 26px; }
.pdp h2 { font-size: 28px; }
.drawer .head h3 { font-size: 20px; }
.coll .cap b { font-size: 20px; }
.hero-art { border-radius: 10px; box-shadow: none; }
.hero-art .tag { border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.coll { border-radius: 10px; }
.card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.card:hover { box-shadow: none; transform: none; }
.card .media { border-radius: 8px; background: var(--surface-2); }
.card .media .alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.card:hover .media .alt { opacity: 1; }
.card .body { padding: 10px 2px 4px; }
.badge { border-radius: 4px; }
.heart { box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.value { background: var(--surface-2); border: 0; }
.value svg { color: var(--ink); }
.footer { background: var(--surface-2); border-top: 1px solid var(--line); }
.modal { border-radius: 12px; }
@media (max-width: 720px) { .modal { border-radius: 14px 14px 0 0; } }
.gallery .main { border-radius: 8px; }
.variant.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.paymethod { border-radius: 8px; }
.paymethod.on { border-color: var(--ink); background: var(--surface-2); }
.paymethod.on .dot { border-color: var(--ink); }
.panel { border-radius: 10px; }
.input, .select { border-radius: 8px; }
.input:focus, .select:focus { outline: 2px solid #E9E9E9; border-color: var(--ink); }
:focus-visible { outline-color: var(--ink); }
.star-input button.on, .stars { color: var(--haldi); }
/* admin */
.side { background: #FAFAFA; }
.nav.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kpi, .box, .table-wrap { border-radius: 10px; }

/* category menu */
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav button { border: 0; background: none; padding: 11px 0; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink); border-bottom: 2px solid transparent; }
.catnav button:hover { border-bottom-color: var(--line); }
.catnav button.on { border-bottom-color: var(--ink); font-weight: 600; }
.catnav .sep { width: 1px; background: var(--line); margin: 10px 0; flex: none; }
.filters { top: 112px; }

/* banners */
.banner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 12px; overflow: hidden; min-height: 340px; }
.banner-text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 48px; min-width: 0; color: #111; }
.banner-text .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--kumkum); }
.banner-text h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.banner-text p { margin: 0; color: #444; font-size: 16px; max-width: 42ch; }
.banner-img { border: 0; padding: 0; background: none; min-height: 100%; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.banner-arrow svg { width: 18px; height: 18px; }
.banner-arrow.l { left: 12px; } .banner-arrow.r { right: 12px; }
.dots { position: absolute; left: 48px; bottom: 18px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(0,0,0,.2); transition: width .2s; }
.dots button.on { width: 22px; background: #111; }
.banner.mini { min-height: 170px; grid-template-columns: 1fr 1fr; }
.banner.mini .banner-text { padding: 16px 18px; gap: 6px; }
.banner.mini h1 { font-size: 20px; }
.banner.mini p { font-size: 13px; }
@media (max-width: 760px) {
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner-img { order: -1; height: 220px; }
  .banner-text { padding: 20px 20px 40px; }
  .dots { left: 20px; bottom: 14px; }
  .banner-arrow { top: 110px; }
}

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat { border: 0; background: none; padding: 0; text-align: left; display: grid; gap: 4px; }
.cat-img { display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat b { font-size: 15px; margin-top: 6px; }
.cat span.muted { font-size: 13px; }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; } .cat b { font-size: 13px; } .cat span.muted { display: none; } }

/* checkout offers */
.offer { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--ink-2); border-radius: 8px; padding: 8px 12px; background: var(--surface); width: 100%; }
.offer:hover { background: var(--surface-2); }
.offer .apply { font-weight: 700; font-size: 13px; color: var(--kumkum); }
.banner { height: 400px; min-height: 0; }
.banner-img { height: 100%; overflow: hidden; }
.banner.mini { height: 180px; }
@media (max-width: 760px) { .banner { height: auto; } .banner-img { height: 220px; } }

/* shipment tracking */
.track { display: grid; }
.track .ev { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding-bottom: 12px; position: relative; font-size: 14px; }
.track .ev::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.track .ev:last-child::before { display: none; }
.track .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--muted); margin-top: 3px; }
.track .ev.now .dot { background: var(--ink); border-color: var(--ink); }
