/* ــــــــــــــــ Zarnegar / زرنگار ــــــــــــــــ */
:root {
  --burgundy: #7a1230;
  --burgundy-deep: #3d0816;
  --wine: #5c1024;
  --wine-soft: #8b1e36;
  --black: #0b0708;
  --bg: #0b0708;
  --surface: #140a0e;
  --surface-2: #1c1014;
  --surface-3: #261418;
  --ivory: #f6ebd8;
  --ivory-dim: #d8c4aa;
  --muted: #b89a8a;
  --gold: #c9a84c;
  --gold-light: #f3e2b0;
  --gold-dark: #8a6a28;
  --line: rgba(201, 168, 76, 0.22);
  --line-strong: rgba(201, 168, 76, 0.45);
  --success: #3d7a5a;
  --danger: #c45c5c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Vazirmatn", "Tahoma", system-ui, sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --container: 1220px;
  --header-h: 72px;
  --ticker-h: 38px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ivory);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.skip {
  position: absolute; right: 12px; top: -40px; z-index: 10000;
  background: var(--gold); color: #1a1008; padding: 8px 14px;
}
.skip:focus { top: 8px; }

body::before {
  content: "";
  pointer-events: none;
  position: fixed; inset: 0; z-index: 8;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── ticker ── */
.ticker {
  position: sticky; top: 0; z-index: 50;
  height: var(--ticker-h);
  background: linear-gradient(90deg, #1a080c, #2a0c14 40%, #1a080c);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; overflow: hidden;
  font-size: 12px; letter-spacing: 0.04em;
}
.ticker-track {
  display: flex; gap: 42px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-inline: 24px;
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory-dim); }
.ticker-item b { color: var(--gold-light); font-weight: 600; }
.ticker-item .dir-up { color: #7dcea0; }
.ticker-item .dir-down { color: #e07a7a; }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ── header ── */
.header {
  position: sticky; top: var(--ticker-h); z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11, 7, 8, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  justify-self: start;
}
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 20px; font-weight: 700; color: var(--ivory);
}
.brand-text span {
  font-family: var(--display); font-size: 9px; letter-spacing: 0.28em;
  color: var(--gold); text-transform: uppercase;
}
.nav {
  display: flex; gap: 22px; align-items: center; justify-content: center;
  font-size: 14px;
}
.nav a { color: var(--ivory-dim); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.nav a.is-active::after,
.nav a:hover::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 0;
  height: 1px; background: var(--gold);
}
.header-actions {
  display: flex; align-items: center; gap: 6px; justify-self: end;
}
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--ivory); border-radius: 50%;
  position: relative;
}
.icon-btn:hover { background: rgba(201, 168, 76, 0.08); color: var(--gold-light); }
.icon-btn .badge {
  position: absolute; top: 4px; left: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--burgundy); color: var(--gold-light);
  border: 1px solid var(--gold-dark);
  font-size: 10px; border-radius: 99px;
  display: grid; place-items: center;
}
.burger { display: none; }
.header-cta {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 14px; font-size: 13px;
  margin-right: 6px;
}
.header-cta:hover { background: var(--gold); color: #1a1008; }

/* ── layout ── */
.wrap { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }
.kicker {
  font-family: var(--display);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.25;
  margin-bottom: 12px;
}
.section-lead { color: var(--muted); max-width: 46ch; font-size: 15px; }
.gold-text {
  background: linear-gradient(180deg, #f3e2b0, #c9a84c 55%, #8a6a28);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hairline { height: 1px; background: var(--line); border: 0; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.btn-gold {
  background: linear-gradient(180deg, #e8d39a, #c9a84c 40%, #9a7a32);
  color: #1a1008; box-shadow: 0 8px 24px rgba(201, 168, 76, 0.18);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--line-strong); color: var(--ivory);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-wine {
  background: var(--burgundy); color: var(--ivory); border-color: var(--wine-soft);
}
.btn-wine:hover { background: var(--wine-soft); }
.btn-block { width: 100%; }

/* ── hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--ticker-h) - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--black);
  overflow: hidden;
}
.hero-media {
  position: relative; min-height: 520px;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  filter: saturate(0.92) contrast(1.05);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 40%, rgba(11,7,8,0.15) 70%, rgba(11,7,8,0.92)),
    linear-gradient(180deg, rgba(11,7,8,0.15), transparent 30%, rgba(11,7,8,0.55));
}
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 48px 48px 32px;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(122, 18, 48, 0.28), transparent 60%),
    var(--black);
}
.hero-copy .kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; display: block; }
.hero-tag {
  font-size: 18px; color: var(--ivory-dim); max-width: 36ch; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-prices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 460px;
}
.price-pill {
  border: 1px solid var(--line);
  background: rgba(20, 10, 14, 0.7);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.price-pill span { font-size: 11px; color: var(--muted); }
.price-pill strong { font-size: 16px; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.price-pill small { font-size: 11px; }
.ornament {
  position: absolute; width: 160px; height: 160px; opacity: 0.18;
  background: url("../assets/patterns/girih.svg") center/contain no-repeat;
  pointer-events: none;
}
.ornament-tr { top: 24px; left: 24px; }
.ornament-bl { bottom: 24px; right: 40%; }

/* ── dual worlds ── */
.worlds { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.world {
  position: relative; overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end;
}
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: 1.2s var(--ease); }
.world:hover img { transform: scale(1.05); }
.world::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,7,8,0.1), rgba(11,7,8,0.78));
}
.world-body { position: relative; z-index: 1; padding: 40px; }
.world h3 { font-size: 32px; margin: 8px 0 10px; }
.world p { color: var(--ivory-dim); max-width: 36ch; margin-bottom: 16px; font-size: 14px; }

/* ── product card ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: 0.35s var(--ease);
  position: relative;
}
.prod-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-media {
  position: relative; aspect-ratio: 1; overflow: hidden; background: #10080b;
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-badges {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.chip {
  font-size: 11px; padding: 3px 8px;
  background: rgba(11,7,8,0.72); border: 1px solid var(--line);
  color: var(--gold-light); backdrop-filter: blur(8px);
}
.prod-wish {
  position: absolute; top: 8px; left: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(11,7,8,0.55); color: var(--ivory);
  display: grid; place-items: center;
}
.prod-wish.is-on { color: var(--gold); }
.prod-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-cat { font-size: 11px; color: var(--gold); letter-spacing: 0.08em; }
.prod-name { font-size: 15px; font-weight: 600; line-height: 1.45; }
.prod-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.prod-price { margin-top: auto; padding-top: 8px; }
.prod-price .now { font-size: 15px; font-weight: 700; color: var(--gold-light); }
.prod-price .hint { font-size: 11px; color: var(--muted); }
.prod-price.flash .now { animation: flash 0.7s ease; }
@keyframes flash {
  0% { color: #fff6d2; }
  100% { color: var(--gold-light); }
}
.prod-quick {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  opacity: 0; transform: translateY(8px);
  transition: 0.3s var(--ease);
}
.prod-card:hover .prod-quick { opacity: 1; transform: none; }

/* ── calculator ── */
.calc-section {
  background:
    radial-gradient(600px 280px at 10% 20%, rgba(122,18,48,0.35), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--line);
}
.calc-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.calc-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}
.calc-panel::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(201,168,76,0.12); pointer-events: none;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; background: var(--black); border: 1px solid var(--line);
  padding: 10px 12px; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1; padding: 10px; border: 1px solid var(--line); color: var(--muted);
}
.seg button.is-on { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,0.08); }
.range { width: 100%; accent-color: var(--gold); }
.calc-out { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 4px 0; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.calc-total b { font-size: 22px; color: var(--gold-light); }
.live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--gold);
}
.live-tag i {
  width: 7px; height: 7px; border-radius: 50%; background: #7dcea0;
  box-shadow: 0 0 8px #7dcea0; animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ── cats ── */
.cat-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.cat-tile {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72); transition: 0.5s var(--ease); }
.cat-tile:hover img { filter: brightness(0.9); transform: scale(1.05); }
.cat-tile span {
  position: absolute; bottom: 12px; right: 12px; left: 12px;
  font-weight: 600; font-size: 15px;
}

/* ── atelier ── */
.atelier {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.atelier img { width: 100%; height: 520px; object-fit: cover; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat b { display: block; font-size: 28px; color: var(--gold-light); }
.stat span { font-size: 12px; color: var(--muted); }

/* ── gems teaser ── */
.gem-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gem-card {
  background: var(--surface); border: 1px solid var(--line); padding: 18px;
  min-height: 180px; display: flex; flex-direction: column; gap: 8px;
  transition: 0.3s var(--ease);
}
.gem-card:hover { border-color: var(--gold); }
.gem-swatch { width: 28px; height: 28px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.gem-card h3 { font-size: 18px; }
.gem-card p { font-size: 13px; color: var(--muted); flex: 1; }

/* ── trust ── */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { border-top: 1px solid var(--line); padding-top: 16px; }
.trust-item h3 { font-size: 15px; margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: var(--muted); }

/* ── reviews ── */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review {
  background: var(--surface); border: 1px solid var(--line); padding: 20px;
  font-size: 14px; color: var(--ivory-dim);
}
.review .who { margin-top: 14px; font-size: 12px; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 12px; margin-bottom: 8px; }

/* ── cta band ── */
.cta-band {
  position: relative; min-height: 360px;
  display: grid; place-items: center; text-align: center; overflow: hidden;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.38) saturate(0.9); }
.cta-band .inner { position: relative; z-index: 1; padding: 48px 20px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 48px); margin: 8px 0 12px; }

/* ── footer ── */
.footer {
  background: #090506; border-top: 1px solid var(--line); padding: 56px 0 24px;
  font-size: 14px; color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px;
}
.footer h4 { color: var(--ivory); margin-bottom: 14px; font-size: 14px; }
.footer a:hover { color: var(--gold-light); }
.footer-brand strong { color: var(--ivory); font-size: 22px; display: block; }
.footer-brand em {
  font-family: var(--display); font-style: normal; font-size: 10px;
  letter-spacing: 0.3em; color: var(--gold);
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px;
}

/* ── shop ── */
.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 80% 0%, rgba(122,18,48,0.35), transparent 70%),
    var(--bg);
}
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--gold); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px 0 80px; }
.filters {
  border: 1px solid var(--line); background: var(--surface); padding: 18px;
  position: sticky; top: calc(var(--ticker-h) + var(--header-h) + 16px);
  max-height: calc(100vh - 140px); overflow: auto;
}
.filter-group { margin-bottom: 18px; }
.filter-group h3 { font-size: 13px; margin-bottom: 8px; color: var(--ivory); }
.filter-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); padding: 4px 0; cursor: pointer;
}
.filter-group input { accent-color: var(--gold); }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.shop-toolbar select {
  background: var(--surface); border: 1px solid var(--line); padding: 8px 12px;
}
.filter-toggle { display: none; }

/* ── product page ── */
.pd { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; padding: 32px 0 80px; }
.pd-gallery { display: grid; gap: 10px; }
.pd-main { aspect-ratio: 1; overflow: hidden; background: #10080b; border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pd-thumbs button { border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; padding: 0; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .is-on { border-color: var(--gold); }
.pd-info h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.3; margin: 8px 0 10px; }
.pd-sku { font-size: 12px; color: var(--muted); }
.live-box {
  margin: 20px 0; padding: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(122,18,48,0.18), rgba(20,10,14,0.6));
}
.live-box .label { font-size: 12px; color: var(--gold); margin-bottom: 6px; }
.live-box .big { font-size: 28px; font-weight: 800; color: var(--gold-light); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 16px 0; font-size: 13px; }
.spec div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(201,168,76,0.12); padding: 6px 0; }
.spec span { color: var(--muted); }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
}
.qty button { width: 36px; height: 36px; }
.qty input { width: 44px; text-align: center; background: transparent; border: 0; }
.pd-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pd-story { margin-top: 22px; color: var(--ivory-dim); font-size: 15px; }

/* ── gems page ── */
.gem-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.gem-explorer { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.gem-nav button {
  display: flex; width: 100%; text-align: right; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid transparent; color: var(--muted);
}
.gem-nav button.is-on { border-color: var(--gold); color: var(--ivory); background: var(--surface); }
.gem-detail {
  border: 1px solid var(--line); background: var(--surface); padding: 28px;
  min-height: 420px;
}
.gem-detail h2 { font-size: 32px; margin: 6px 0 8px; }
.gem-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.gem-facts div { border: 1px solid var(--line); padding: 10px; }
.gem-facts span { display: block; font-size: 11px; color: var(--muted); }
.gem-facts b { font-size: 14px; }

/* ── about ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech { border: 1px solid var(--line); padding: 20px; background: var(--surface); }
.tech h3 { margin: 8px 0; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form { display: grid; gap: 12px; }
.form input, .form textarea, .form select {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  padding: 12px 14px; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.map-fake {
  min-height: 280px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 40%, rgba(122,18,48,0.4), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(201,168,76,0.05) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(201,168,76,0.05) 25px),
    var(--surface-2);
  display: grid; place-items: center; text-align: center; padding: 24px;
}

/* ── overlays ── */
.overlay {
  position: fixed; inset: 0; background: rgba(5, 2, 3, 0.72);
  z-index: 80; display: none;
}
.overlay.is-open { display: block; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(400px, 92vw);
  background: var(--surface); z-index: 90; border-right: 1px solid var(--line);
  transform: translateX(-110%); transition: 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.search-modal {
  position: fixed; top: 18vh; right: 50%; transform: translateX(50%);
  width: min(640px, 92vw); background: var(--surface-2);
  border: 1px solid var(--line); z-index: 95; display: none;
  box-shadow: var(--shadow);
}
.search-modal.is-open { display: block; }
.search-modal input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 16px 18px; font-size: 16px; outline: none;
}
.search-results { max-height: 360px; overflow: auto; }
.search-hit {
  display: flex; gap: 12px; padding: 10px 16px; align-items: center;
}
.search-hit img { width: 48px; height: 48px; object-fit: cover; }
.search-hit:hover { background: rgba(201,168,76,0.06); }
.drawer-head, .modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.cart-list { flex: 1; overflow: auto; padding: 12px 16px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; }
.cart-foot { padding: 16px; border-top: 1px solid var(--line); }
.quick {
  position: fixed; top: 50%; right: 50%; transform: translate(50%, -50%);
  width: min(860px, 94vw); max-height: 86vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line);
  z-index: 96; display: none; box-shadow: var(--shadow);
}
.quick.is-open { display: grid; grid-template-columns: 1fr 1fr; }
.quick img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.quick-body { padding: 24px; }
.toast-wrap {
  position: fixed; bottom: 24px; right: 24px; z-index: 120;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--surface-3); border: 1px solid var(--gold-dark);
  padding: 10px 14px; font-size: 13px; min-width: 220px;
  animation: in 0.35s var(--ease);
}
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.mobile-nav { display: none; }

/* ── faq ── */
.faq details {
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* ── mobile bar ── */
@media (max-width: 1200px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .burger { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 62vh; }
  .hero-media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(11,7,8,0.95));
  }
  .hero-copy {
    padding: 28px 20px 48px;
    margin-top: -80px;
  }
  .hero h1 { font-size: 56px; }
  .worlds, .calc-layout, .atelier, .pd, .contact-grid, .about-grid, .gem-hero, .gem-explorer, .quick.is-open {
    grid-template-columns: 1fr;
  }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .gem-row, .trust, .reviews, .tech-grid, .footer-grid, .gem-facts { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 70;
    max-height: 70vh; transform: translateY(110%); transition: 0.35s var(--ease);
    border-radius: 16px 16px 0 0;
  }
  .filters.is-open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .mobile-nav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; bottom: 0; right: 0; left: 0; z-index: 45;
    background: rgba(11,7,8,0.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; color: var(--muted);
  }
  .mobile-nav a.is-on { color: var(--gold); }
  body { padding-bottom: 64px; }
  .prod-quick { opacity: 1; transform: none; position: static; padding: 0 12px 12px; }
}

@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .hero-prices, .stat-row, .gem-row, .trust, .reviews, .tech-grid, .footer-grid, .gem-facts, .cat-row {
    grid-template-columns: 1fr 1fr;
  }
  .section { padding: 56px 0; }
  .header-inner { width: calc(100% - 24px); }
  .wrap { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .ticker-track { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.mobile-menu {
  position: fixed; inset: 0; background: rgba(8,4,6,0.96); z-index: 85;
  display: none; padding: 90px 28px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; font-size: 24px; padding: 10px 0; border-bottom: 1px solid var(--line);
}

.empty { color: var(--muted); padding: 24px; text-align: center; }

.sort-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-pills button, .chip-btn {
  border: 1px solid var(--line); padding: 6px 12px; font-size: 12px; color: var(--muted);
}
.sort-pills button.is-on, .chip-btn.is-on { border-color: var(--gold); color: var(--gold-light); }

.demo-note {
  font-size: 11px; color: var(--muted); opacity: 0.8;
}

.prod-wish.is-on svg { fill: currentColor; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.about-split {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}

.pd-sticky {
  display: none;
}

@media (max-width: 980px) {
  .about-split { grid-template-columns: 1fr; }
  .gem-nav { display: flex; overflow: auto; gap: 8px; padding-bottom: 8px; }
  .gem-nav button { flex: 0 0 auto; white-space: nowrap; }
  .pd-sticky {
    display: flex; gap: 10px; align-items: center; justify-content: space-between;
    position: sticky; bottom: 56px; z-index: 30;
    background: rgba(11,7,8,0.94); border-top: 1px solid var(--line);
    padding: 10px 16px;
  }
}
