/* ========================================================
   Nepal Musical Store — Editorial Aesthetic
   ======================================================== */

:root {
  /* Light (default) — warm cream paper */
  --bg: oklch(0.98 0.008 80);
  --bg-2: oklch(0.95 0.012 80);
  --bg-3: oklch(0.92 0.014 75);
  --ink: oklch(0.18 0.01 60);
  --ink-2: oklch(0.36 0.012 60);
  --ink-3: oklch(0.55 0.012 60);
  --rule: oklch(0.85 0.012 75);
  --rule-strong: oklch(0.70 0.015 70);
  --accent: oklch(0.58 0.15 50);     /* saffron */
  --accent-ink: oklch(0.30 0.10 45);
  --slate: oklch(0.42 0.04 230);      /* himalayan slate */
  --slate-2: oklch(0.62 0.04 230);
  --ok: oklch(0.55 0.12 145);
  --warn: oklch(0.55 0.15 30);
  --shadow: 0 1px 0 oklch(0.85 0.012 75), 0 12px 28px -20px oklch(0.30 0.02 60 / 0.25);

  --font-display: "DM Serif Display", "EB Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-deva: "Noto Serif Devanagari", "Mukta", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
}

[data-theme="dark"] {
  --bg: oklch(0.16 0.012 60);
  --bg-2: oklch(0.20 0.014 60);
  --bg-3: oklch(0.24 0.016 60);
  --ink: oklch(0.96 0.008 80);
  --ink-2: oklch(0.78 0.010 75);
  --ink-3: oklch(0.62 0.012 70);
  --rule: oklch(0.30 0.012 60);
  --rule-strong: oklch(0.45 0.014 60);
  --accent: oklch(0.72 0.15 55);
  --accent-ink: oklch(0.92 0.10 60);
  --slate: oklch(0.70 0.05 230);
  --slate-2: oklch(0.55 0.04 230);
  --shadow: 0 1px 0 oklch(0.30 0.012 60), 0 12px 28px -20px oklch(0 0 0 / 0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ============ TYPOGRAPHY ============ */
.h-display { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
.h-deva    { font-family: var(--font-deva); font-weight: 500; }
.h-mono    { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.h-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.h-rule    { display: block; height: 1px; background: var(--rule); border: 0; margin: 0; }
.h-rule.strong { background: var(--rule-strong); }

/* ============ LAYOUT ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; gap: 16px; align-items: center; }
.row.wrap-row { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.spacer { flex: 1; }
.grid { display: grid; gap: 24px; }

/* ============ HEADER ============ */
.site-top-bar {
  background: var(--ink);
  color: oklch(0.96 0.008 80);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
.site-top-bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.site-top-bar .deva { font-family: var(--font-deva); }

.site-header { background: var(--bg); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 18px; padding-bottom: 18px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; flex: none; border: 1.5px solid var(--ink);
  display: grid; place-items: center; position: relative;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--ink); transform: rotate(45deg);
}
.brand-mark .m {
  font-family: var(--font-display); font-size: 18px; line-height: 1; z-index: 1; color: var(--ink);
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .en { font-family: var(--font-display); font-size: 20px; }
.brand-name .ne { font-family: var(--font-deva); font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.02em; }

.nav { display: flex; gap: 22px; align-items: center; justify-content: center; }
.nav button {
  background: none; border: 0; padding: 6px 0; color: var(--ink);
  font-size: 13px; letter-spacing: 0.04em; position: relative;
}
.nav button:hover { color: var(--accent); }
.nav button[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
}

.header-actions { display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px; border: 1px solid var(--rule); background: transparent; color: var(--ink);
  display: grid; place-items: center; position: relative;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: white; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; font-family: var(--font-mono);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  padding: 12px 22px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; transition: transform .12s, background .12s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: white; }
.btn.accent:hover { background: transparent; color: var(--accent); }
.btn.small { padding: 8px 14px; font-size: 11px; }
.btn.block { width: 100%; }
.btn.disabled, .btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.link-btn {
  background: none; border: 0; padding: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ============ HERO ============ */
.hero { padding: 56px 0 64px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(48px, 7vw, 88px); margin: 0; }
.hero h1 .ne-line {
  display: block; font-family: var(--font-deva); font-size: 0.32em;
  color: var(--ink-2); letter-spacing: 0.01em; margin-bottom: 18px; font-weight: 500;
}
.hero h1 .it { font-style: italic; color: var(--accent); }
.hero p.lead { margin-top: 28px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 44ch; }
.hero .meta { margin-top: 36px; display: flex; gap: 24px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.hero-cta { margin-top: 36px; display: flex; gap: 16px; }
.hero-stage { aspect-ratio: 4/5; position: relative; }

/* Mountain motif (simple triangles, allowed) */
.mountains { position: absolute; left: 0; right: 0; height: 110px; pointer-events: none; }
.mountains svg { width: 100%; height: 100%; display: block; }
.mountains.top { top: 0; transform: scaleY(-1); opacity: 0.08; }
.mountains.bottom { bottom: 0; opacity: 0.12; }

/* ============ PLACEHOLDER (striped) ============ */
.ph {
  position: relative; background: var(--bg-2);
  background-image: repeating-linear-gradient(135deg,
    transparent 0 14px,
    color-mix(in oklch, var(--ink) 6%, transparent) 14px 15px);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); text-align: center; padding: 12px;
  overflow: hidden;
}
.ph .ph-label { background: var(--bg); padding: 6px 10px; border: 1px solid var(--rule); }
.ph.dark {
  background: var(--ink);
  background-image: repeating-linear-gradient(135deg,
    transparent 0 14px,
    oklch(1 0 0 / 0.05) 14px 15px);
  color: oklch(0.96 0.008 80 / 0.6);
}
.ph.dark .ph-label { background: var(--ink); border-color: oklch(1 0 0 / 0.2); color: oklch(0.96 0.008 80 / 0.7); }
.ph.saffron {
  background: var(--accent);
  background-image: repeating-linear-gradient(135deg,
    transparent 0 14px,
    oklch(1 0 0 / 0.10) 14px 15px);
  color: white;
}
.ph.saffron .ph-label { background: var(--accent); border-color: oklch(1 0 0 / 0.35); color: white; }

/* ============ SECTIONS ============ */
section.section { padding: 72px 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); margin: 0; line-height: 1.05; }
.section-head .meta { display: flex; gap: 18px; align-items: center; }

/* ============ CATEGORY STRIP ============ */
.cat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  border: 1px solid var(--rule); padding: 20px 18px 22px; background: var(--bg);
  text-align: left; transition: background .15s, border-color .15s;
}
.cat-card:hover { background: var(--bg-2); border-color: var(--ink); }
.cat-card .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; }
.cat-card .en { font-family: var(--font-display); font-size: 22px; margin-top: 10px; line-height: 1.1; }
.cat-card .ne { font-family: var(--font-deva); font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.cat-card .count { margin-top: 22px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.12em; display: flex; justify-content: space-between; }

/* ============ PRODUCT CARD ============ */
.product-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card { position: relative; cursor: pointer; }
.product-card .frame { aspect-ratio: 4/5; background: var(--bg-2); overflow: hidden; position: relative; border: 1px solid var(--rule); }
.product-card:hover .frame { border-color: var(--ink); }
.product-card .frame .ph { position: absolute; inset: 0; border: 0; }
.product-card .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); color: var(--ink); padding: 4px 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.product-card .tag.new { background: var(--ink); color: var(--bg); }
.product-card .tag.sale { background: var(--accent); color: white; border-color: var(--accent); }
.product-card .body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.product-card .body .meta-row { display: flex; justify-content: space-between; align-items: baseline; }
.product-card .body .cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.product-card .body .name { font-family: var(--font-display); font-size: 19px; line-height: 1.2; }
.product-card .body .ne { font-family: var(--font-deva); font-size: 12px; color: var(--ink-2); }
.product-card .body .price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.product-card .body .price .strike { color: var(--ink-3); text-decoration: line-through; margin-left: 8px; font-size: 11px; }
.product-card .quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s;
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }

/* card variants (tweak) */
.card-style-bordered .product-card .frame { border-width: 1px; }
.card-style-minimal .product-card .frame { border: 0; background: transparent; }
.card-style-minimal .product-card .frame .ph { border: 1px solid var(--rule); }
.card-style-postcard .product-card { background: var(--bg); padding: 12px; border: 1px solid var(--rule); }
.card-style-postcard .product-card .body { padding: 14px 4px 4px; }

/* ============ FILTERS / CATEGORY PAGE ============ */
.cat-page .wrap { padding-top: 40px; padding-bottom: 80px; }
.cat-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.cat-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 72px); margin: 0; }
.cat-hero .ne { font-family: var(--font-deva); font-size: 18px; color: var(--ink-2); margin-top: 8px; }
.cat-hero .desc { font-size: 15px; color: var(--ink-2); max-width: 50ch; }
.cat-hero .stats { display: flex; gap: 22px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 22px; }

.cat-toolbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 30px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.chip {
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  padding: 7px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.toolbar-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.select-bare {
  background: transparent; border: 1px solid var(--rule); padding: 7px 28px 7px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%; background-size: 4px 4px; background-repeat: no-repeat;
}

/* ============ PRODUCT DETAIL ============ */
.pdp .wrap { padding-top: 32px; padding-bottom: 80px; }
.crumbs { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs .sep { margin: 0 8px; }
.pdp-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.pdp-gallery .main-shot { aspect-ratio: 4/5; border: 1px solid var(--rule); }
.pdp-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pdp-gallery .thumb { aspect-ratio: 1; border: 1px solid var(--rule); cursor: pointer; }
.pdp-gallery .thumb.active { border-color: var(--ink); }
.pdp-info .cat-line { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }
.pdp-info h1 { font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 56px); margin: 18px 0 10px; line-height: 1.05; }
.pdp-info .ne-name { font-family: var(--font-deva); font-size: 22px; color: var(--ink-2); }
.pdp-info .price-row { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.pdp-info .price-now { font-family: var(--font-display); font-size: 34px; }
.pdp-info .price-was { font-family: var(--font-mono); font-size: 14px; color: var(--ink-3); text-decoration: line-through; }
.pdp-info .blurb { margin-top: 22px; color: var(--ink-2); line-height: 1.7; }
.pdp-info .specs { margin-top: 28px; }
.pdp-info .specs .row { padding: 12px 0; border-bottom: 1px dashed var(--rule); display: flex; justify-content: space-between; font-size: 13px; }
.pdp-info .specs .row .k { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.qty-row { margin-top: 28px; display: flex; gap: 14px; align-items: stretch; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--ink);
}
.qty button { width: 44px; height: 48px; background: transparent; border: 0; color: var(--ink); font-size: 18px; }
.qty input { width: 50px; height: 48px; border: 0; text-align: center; background: transparent; font-family: var(--font-mono); font-size: 14px; }

/* ============ CART / DRAWER ============ */
.drawer-scrim {
  position: fixed; inset: 0; background: oklch(0.1 0 0 / 0.4); z-index: 90;
  animation: fadeIn .2s forwards;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw);
  background: var(--bg); z-index: 100; display: flex; flex-direction: column;
  border-left: 1px solid var(--rule); animation: slideIn .25s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-head { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.drawer-head h3 { margin: 0; font-family: var(--font-display); font-size: 26px; }
.drawer-head .close { background: none; border: 0; font-size: 24px; color: var(--ink); padding: 4px 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px; }
.drawer-foot { padding: 22px 26px; border-top: 1px solid var(--rule); }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cart-item .thumb { aspect-ratio: 1; border: 1px solid var(--rule); position: relative; }
.cart-item .info .name { font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.cart-item .info .ne { font-family: var(--font-deva); font-size: 11px; color: var(--ink-3); }
.cart-item .info .ctl { display: flex; gap: 12px; align-items: center; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.cart-item .info .ctl button { background: none; border: 0; color: var(--ink); border-bottom: 1px solid var(--ink); padding: 1px 0; font-family: inherit; font-size: 11px; letter-spacing: 0.1em; }
.cart-item .price { font-family: var(--font-mono); font-size: 13px; align-self: start; text-align: right; }
.cart-summary { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 4px 0; }
.cart-summary .total { font-family: var(--font-display); font-size: 24px; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--rule); margin-top: 8px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--ink-3); }
.cart-empty .ne { font-family: var(--font-deva); font-size: 26px; color: var(--ink-2); }

/* ============ CHECKOUT ============ */
.checkout-page .wrap { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.checkout-page h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); margin: 0 0 8px; }
.checkout-page .sub { font-family: var(--font-deva); color: var(--ink-2); margin-bottom: 8px; }
.steps { display: flex; gap: 8px; margin: 24px 0 32px; align-items: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.steps .s { display: flex; gap: 8px; align-items: center; }
.steps .s.active { color: var(--ink); }
.steps .s .n { width: 22px; height: 22px; border: 1px solid var(--rule); display: grid; place-items: center; font-size: 10px; }
.steps .s.active .n { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.steps .s.done .n { background: var(--accent); color: white; border-color: var(--accent); }
.steps .bar { flex: 1; height: 1px; background: var(--rule); }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.fld label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.fld label .req { color: var(--accent); }
.fld input, .fld textarea, .fld select {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 10px 0; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s;
}
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--ink); }
.fld textarea { resize: vertical; min-height: 70px; }
.fld .err { color: var(--warn); font-size: 12px; font-family: var(--font-mono); }
.fld .hint { color: var(--ink-3); font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.fld.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld-phone { display: grid; grid-template-columns: 70px 1fr; align-items: end; gap: 12px; }
.fld-phone .prefix {
  padding: 10px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 15px; color: var(--ink-2);
}

.checkout-summary {
  border: 1px solid var(--rule); padding: 24px; background: var(--bg-2); align-self: start; position: sticky; top: 100px;
}
.checkout-summary h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 16px; }
.checkout-summary .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; }
.checkout-summary .line.tot { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 14px; font-family: var(--font-display); font-size: 22px; }
.checkout-summary .items { border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 12px; }
.checkout-summary .item-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; }
.checkout-summary .item-line .nm { color: var(--ink); flex: 1; }
.checkout-summary .item-line .qty { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; }

/* ============ MODAL ============ */
.modal-scrim { position: fixed; inset: 0; background: oklch(0.1 0 0 / 0.5); z-index: 200; display: grid; place-items: center; padding: 24px; animation: fadeIn .2s forwards; }
.modal {
  background: var(--bg); border: 1px solid var(--rule); width: min(440px, 100%);
  padding: 40px 36px; position: relative; animation: rise .22s ease forwards;
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal .close-x { position: absolute; top: 14px; right: 14px; background: none; border: 0; font-size: 22px; color: var(--ink-3); }
.modal h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 8px; line-height: 1.1; }
.modal .ne { font-family: var(--font-deva); color: var(--ink-2); font-size: 14px; }
.modal p.kicker { color: var(--ink-2); margin: 18px 0 28px; }
.gmail-btn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--bg); border: 1px solid var(--ink); padding: 14px 18px;
  font-size: 14px; color: var(--ink); transition: background .15s;
  font-family: var(--font-body);
}
.gmail-btn:hover { background: var(--bg-2); }
.gmail-btn .g {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background:
    conic-gradient(from -45deg,
      oklch(0.62 0.20 25) 0 25%,
      oklch(0.74 0.18 70) 25% 50%,
      oklch(0.62 0.18 145) 50% 75%,
      oklch(0.55 0.18 255) 75% 100%);
  position: relative;
}
.gmail-btn .g::after {
  content: "G"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 13px; color: var(--bg);
}
.fineprint { font-size: 11.5px; color: var(--ink-3); margin-top: 18px; line-height: 1.5; }
.fineprint .deva { font-family: var(--font-deva); }

/* ============ CONFIRMATION ============ */
.confirm-page { padding: 80px 0 100px; text-align: center; }
.confirm-page .check {
  width: 84px; height: 84px; border: 1.5px solid var(--ink); border-radius: 50%;
  margin: 0 auto 28px; display: grid; place-items: center; position: relative;
  background: var(--bg);
}
.confirm-page .check::after {
  content: ""; width: 28px; height: 14px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translate(2px, -4px);
}
.confirm-page h1 { font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); margin: 0; line-height: 1.05; }
.confirm-page .ne-hello { font-family: var(--font-deva); font-size: 24px; color: var(--ink-2); margin-top: 14px; }
.confirm-page .msg { max-width: 52ch; margin: 28px auto 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.confirm-order-card {
  max-width: 560px; margin: 40px auto 0; border: 1px solid var(--rule); padding: 28px; text-align: left;
  background: var(--bg-2);
}
.confirm-order-card .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; }
.confirm-order-card .row .k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.confirm-order-card h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 14px; }

/* ============ ORDER HISTORY ============ */
.account-page .wrap { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav button {
  background: none; border: 0; text-align: left; padding: 10px 0; color: var(--ink-2);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}
.account-nav button.active { color: var(--ink); border-bottom-color: var(--ink); }
.order-row {
  display: grid; grid-template-columns: 90px 1fr auto auto; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.order-row .id { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.order-row .items-line { font-family: var(--font-display); font-size: 16px; }
.order-row .items-line .sub { font-family: var(--font-body); font-size: 12px; color: var(--ink-3); display: block; margin-top: 4px; }
.order-row .tot { font-family: var(--font-mono); font-size: 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status-pill.placed .dot { background: var(--accent); }
.status-pill.confirmed .dot { background: var(--slate); }
.status-pill.delivered .dot { background: var(--ok); }
.status-pill.cancelled .dot { background: var(--warn); }

/* ============ ADMIN ============ */
.admin-page { background: var(--bg-2); min-height: 100vh; }
.admin-page .wrap { padding-top: 30px; padding-bottom: 80px; }
.admin-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.admin-head h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 52px); margin: 0; }
.admin-head .ne { font-family: var(--font-deva); color: var(--ink-2); margin-top: 4px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { border: 1px solid var(--rule); padding: 20px; background: var(--bg); }
.stat .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font-family: var(--font-display); font-size: 38px; line-height: 1; margin-top: 12px; }
.stat .v-sub { font-family: var(--font-deva); font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.admin-table { background: var(--bg); border: 1px solid var(--rule); }
.admin-table .hd, .admin-table .tr {
  display: grid; grid-template-columns: 110px 1.2fr 1.4fr 1fr 100px 130px 140px;
  gap: 12px; padding: 14px 18px; align-items: center; border-bottom: 1px solid var(--rule);
}
.admin-table .hd { background: var(--bg-2); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.admin-table .tr:hover { background: var(--bg-2); cursor: pointer; }
.admin-table .tr:last-child { border-bottom: 0; }
.admin-table .tr .id { font-family: var(--font-mono); font-size: 12px; }
.admin-table .tr .cust { font-family: var(--font-display); font-size: 15px; }
.admin-table .tr .cust .e { font-family: var(--font-body); font-size: 11px; color: var(--ink-3); display: block; }
.admin-table .tr .addr { font-size: 12px; color: var(--ink-2); }
.admin-table .tr .phone { font-family: var(--font-mono); font-size: 12px; }
.admin-table .tr .tot { font-family: var(--font-mono); font-size: 13px; }

.admin-table.products-table .hd, .admin-table.products-table .tr {
  grid-template-columns: 70px 1.5fr 1fr 110px 90px 1fr 180px;
}
.admin-table.products-table .tr .chip { padding: 5px 10px; font-size: 10px; }

.admin-detail { background: var(--bg); border: 1px solid var(--rule); padding: 32px; }
.admin-detail .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.admin-detail .block h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.admin-detail .block p { margin: 0; font-size: 14px; line-height: 1.6; }
.admin-detail .block + .block { margin-top: 20px; }

/* ============ ABOUT ============ */
.about-page .wrap { padding-top: 60px; padding-bottom: 80px; }
.about-page h1 { font-family: var(--font-display); font-size: clamp(48px, 6vw, 84px); margin: 0; line-height: 1.05; max-width: 16ch; }
.about-page .ne-h1 { font-family: var(--font-deva); font-size: 22px; color: var(--ink-2); margin-top: 18px; }
.about-page .lead { font-size: 19px; line-height: 1.6; max-width: 56ch; color: var(--ink-2); margin: 32px 0 56px; }
.about-page .columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
.about-page .columns h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 10px; }
.about-page .columns .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* ============ FOOTER ============ */
.site-foot { border-top: 1px solid var(--rule); background: var(--bg-2); padding: 64px 0 28px; margin-top: 40px; }
.site-foot .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.site-foot h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.site-foot li button { background: none; border: 0; color: var(--ink); padding: 0; font-size: 13px; text-align: left; }
.site-foot li button:hover { color: var(--accent); }
.site-foot .bot { display: flex; justify-content: space-between; padding-top: 24px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 12px 22px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 300; animation: rise .25s ease forwards;
  display: flex; gap: 12px; align-items: center;
}
.toast .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ============ HERO LAYOUT VARIANTS ============ */
.hero-layout-stacked .hero .wrap { grid-template-columns: 1fr; text-align: left; gap: 48px; }
.hero-layout-stacked .hero-stage { aspect-ratio: 16/7; max-height: 520px; }

.hero-layout-marquee .hero .wrap { grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.hero-layout-marquee .hero h1 { font-size: clamp(38px, 5vw, 60px); }
.hero-layout-marquee .hero-stage { aspect-ratio: auto; height: 100%; }
.hero-layout-marquee .hero-stage.side { aspect-ratio: auto; height: 100%; }

/* ============ RESPONSIVE TWEAKS ============ */
@media (max-width: 880px) {
  .hero .wrap, .pdp-main, .checkout-page .wrap, .account-page .wrap { grid-template-columns: 1fr !important; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-table .hd, .admin-table .tr { grid-template-columns: 1fr 1fr; }
  .site-foot .top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
