/* Lootfin storefront */
:root {
  --bg: #070b10;
  --bg-2: #0b1118;
  --panel: #0f161f;
  --panel-hi: #151e29;
  --line: #233040;
  --line-soft: #1a2430;
  --white: #f2f6fb;
  --muted: #9fadbd;
  --soft: #6f8196;
  --accent: #19d3b4;
  --accent-2: #7cf0dc;
  --accent-ink: #04211c;
  --accent-glow: rgba(25, 211, 180, 0.18);
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 12px;
  --radius-sm: 8px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font: 400 15px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: italic 800 26px/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), #0e8f7b);
  color: var(--accent-ink);
  box-shadow: 0 0 24px var(--accent-glow);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 500; font-size: 14px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--white); }
.nav a.active { color: var(--white); background: var(--panel-hi); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); color: var(--white);
}
.icon-btn:hover { border-color: var(--soft); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: var(--accent-ink);
  font: 700 11px/18px var(--body); text-align: center;
}
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }

/* ── Buttons, chips ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: var(--panel-hi); border: 1px solid var(--line); color: var(--muted);
}
.chip-accent { color: var(--accent-2); border-color: rgba(25, 211, 180, .35); background: rgba(25, 211, 180, .08); }
.chip-green { color: var(--green); border-color: rgba(74, 222, 128, .3); background: rgba(74, 222, 128, .07); }
.chip-red { color: var(--red); border-color: rgba(248, 113, 113, .3); background: rgba(248, 113, 113, .07); }

.display {
  margin: 0; font: italic 800 clamp(40px, 6.4vw, 72px)/.95 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.display .accent, .h2 .accent { color: var(--accent); }
.h2 { margin: 0; font: italic 800 clamp(34px, 4.6vw, 54px)/.95 var(--display); text-transform: uppercase; }
.dot { color: var(--accent); }
.lead { color: var(--muted); max-width: 520px; margin: 14px 0 0; }

section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 14px; }
.divider { border-top: 1px solid var(--line-soft); }

/* ── Hero ───────────────────────────────── */
.hero { padding: 48px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, var(--accent-glow), transparent 62%); pointer-events: none;
}
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; position: relative; }
.hero-top .eyebrow { margin-bottom: 16px; }
.cat-tabs { display: flex; flex-direction: column; gap: 8px; }
.cat-tabs-label { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--soft); text-transform: uppercase; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; flex-wrap: wrap; }
.tabs button {
  height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent;
  color: var(--muted); font-weight: 500; font-size: 13.5px;
}
.tabs button:hover { color: var(--white); }
.tabs button.active { background: var(--panel-hi); color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

/* Spotlight */
.spotlight {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center;
  min-height: 330px; padding: 36px 40px; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.025) 39px 40px),
    var(--bg-2);
  border: 1px solid var(--line);
}
.spot-info { position: relative; z-index: 1; }
.spot-info .eyebrow { margin-bottom: 26px; }
.spot-name { margin: 0; font: italic 800 clamp(48px, 7vw, 92px)/.9 var(--display); text-transform: uppercase; word-break: break-word; }
.spot-meta { color: var(--muted); margin: 10px 0 30px; }
.spot-buy { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.price-label { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--soft); text-transform: uppercase; }
.price-big { font: 800 30px/1.1 var(--body); margin-top: 4px; }
.spot-media { position: relative; height: 100%; min-height: 260px; display: grid; place-items: center; }
.spot-card {
  width: 100%; max-width: 440px; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transform: perspective(900px) rotateY(-9deg) rotateX(3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 60px var(--accent-glow);
}
.spot-card img { width: 100%; height: 100%; object-fit: cover; }
.spot-controls {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(7, 11, 16, .8); border: 1px solid var(--line); border-radius: 10px;
}
.spot-controls button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.spot-controls button:hover { color: var(--white); background: var(--panel-hi); }
.spot-controls span { font: 600 11px/1 var(--mono); color: var(--muted); padding: 0 6px; }

/* Placeholder art when a product has no image */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; position: relative;
  background: radial-gradient(120% 90% at 20% 10%, rgba(25,211,180,.28), transparent 55%),
              radial-gradient(90% 80% at 90% 100%, rgba(56,120,255,.22), transparent 60%), var(--panel);
}
.ph span { font: italic 800 clamp(22px, 4vw, 44px)/1 var(--display); text-transform: uppercase; color: rgba(255,255,255,.88); padding: 0 16px; text-align: center; }

/* ── Product rows (home) ────────────────── */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 14px; flex-wrap: wrap; }
.shop-head h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.count-badge { font: 600 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: var(--panel-hi); color: var(--muted); border: 1px solid var(--line); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; font-size: 14px; }
.link-arrow:hover { color: var(--white); }
.row-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.row-item {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 10px;
  transition: border-color .15s, background .15s;
}
.row-item:hover { border-color: var(--line); background: var(--panel-hi); }
.row-thumb { width: 64px; height: 42px; border-radius: 6px; overflow: hidden; flex: none; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb .ph span { font-size: 13px; }
.row-text { min-width: 0; flex: 1; }
.row-text strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-text small { font: 500 12px/1.4 var(--mono); color: var(--soft); }
.row-item svg { color: var(--soft); flex: none; }

/* Feature strip */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); padding: 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line-soft); }
.strip-item:last-child { border-right: 0; }
.strip-item svg { color: var(--accent); flex: none; margin-top: 2px; }
.strip-item strong { display: block; font-size: 14.5px; }
.strip-item p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.step { padding: 26px 24px; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: 0; }
.step-num { font: 600 11px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.step h3 { margin: 18px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.faq-grid .eyebrow { margin-bottom: 16px; }
.faq-side .link-arrow { margin-top: 20px; color: var(--accent-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: var(--soft); transition: transform .2s; flex: none; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: -6px 0 20px; color: var(--muted); }

/* ── Catalog ────────────────────────────── */
.page-hero { padding: 48px 0 30px; border-bottom: 1px solid var(--line-soft); }
.page-hero .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-hero .eyebrow { margin-bottom: 16px; }
.stat-box {
  min-width: 120px; padding: 16px 20px; border-radius: var(--radius); text-align: center;
  background: var(--panel); border: 1px solid var(--line);
}
.stat-box strong { display: block; font: italic 800 42px/1 var(--display); color: var(--accent); }
.stat-box span { font: 600 10px/1 var(--mono); letter-spacing: .14em; color: var(--soft); text-transform: uppercase; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 14px; }
.search { flex: 1; min-width: 220px; position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--soft); }
.search input, .select {
  width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); outline: none;
}
.select { padding: 0 34px 0 14px; width: auto; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239fadbd' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.search input:focus, .select:focus, .field input:focus { border-color: var(--accent); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chips button {
  height: 34px; padding: 0 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
}
.filter-chips button.active { background: rgba(25,211,180,.1); color: var(--accent-2); border-color: rgba(25,211,180,.4); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-soft);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.p-card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.p-media { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--bg-2); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-media .chip { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(6px); background: rgba(7,11,16,.7); }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-kicker { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.p-title { margin: 0; font-size: 17px; font-weight: 700; }
.p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; }
.p-price small { color: var(--soft); font-size: 12px; margin-right: 4px; }
.p-price strong { font-size: 18px; }
.p-go { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-hi); border: 1px solid var(--line); color: var(--muted); }
.p-card:hover .p-go { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* ── Product page ───────────────────────── */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--soft); padding: 26px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--white); }
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.gallery { padding: 14px; }
.gallery-head { display: flex; justify-content: space-between; padding: 2px 4px 12px; }
.gallery-main { aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; height: 48px; border-radius: 6px; overflow: hidden; padding: 0; border: 2px solid transparent; background: none; opacity: .6; }
.thumbs button.active { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box { padding: 26px; }
.buy-box .eyebrow { margin-bottom: 14px; }
.buy-box h1 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.short-desc { color: var(--muted); margin: 14px 0 0; }
.opt-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin: 22px 0 10px; }
.variants { display: flex; flex-direction: column; gap: 8px; }
.variant {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
}
.variant:hover { border-color: var(--soft); }
.variant.active { border-color: var(--accent); background: rgba(25,211,180,.06); }
.variant[disabled] { opacity: .45; cursor: not-allowed; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.variant.active .radio { border-color: var(--accent); }
.variant.active .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.v-text { flex: 1; min-width: 0; }
.v-text strong { display: block; font-size: 14.5px; }
.v-text small { color: var(--soft); font-size: 12.5px; }
.v-price { font-weight: 700; font-size: 16px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.qty button { width: 38px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 18px; }
.qty button:hover { color: var(--white); }
.qty input { width: 46px; height: 40px; text-align: center; background: none; border: 0; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.secure { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12.5px; margin-top: 14px; }
.details { margin-top: 56px; }
.details .eyebrow { margin-bottom: 14px; }
.details h2 { margin: 0 0 22px; font-size: 30px; }
.prose { padding: 28px 30px; color: #c9d3de; }
.prose h1, .prose h2, .prose h3 { color: var(--white); margin: 1.4em 0 .5em; line-height: 1.25; }
.prose h1:first-child, .prose h2:first-child, .prose h3:first-child, .prose p:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-2); text-decoration: underline; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); padding: 2px 6px; border-radius: 4px; }
.prose p:last-child { margin-bottom: 0; }

/* ── Cart ───────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; margin-top: 30px; }
.cart-line { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 92px; height: 58px; border-radius: 8px; overflow: hidden; flex: none; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph span { font-size: 14px; }
.cart-info { flex: 1; min-width: 0; }
.cart-info strong { display: block; }
.cart-info small { color: var(--soft); }
.cart-line .line-total { font-weight: 700; min-width: 76px; text-align: right; }
.remove { border: 0; background: none; color: var(--soft); padding: 6px; border-radius: 6px; }
.remove:hover { color: var(--red); background: rgba(248,113,113,.08); }
.summary { padding: 22px; position: sticky; top: 90px; }
.summary h2 { margin: 0 0 16px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 8px; }
.sum-row.total { color: var(--white); font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 14px; margin: 14px 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input { height: 44px; padding: 0 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); outline: none; }
.field .err { color: var(--red); font-size: 12.5px; }
.form-msg { color: var(--red); font-size: 13.5px; margin: 10px 0 0; }
.empty { text-align: center; padding: 60px 20px; }
.empty h2 { margin: 0 0 8px; }
.empty p { color: var(--muted); margin: 0 0 20px; }

/* ── Footer ─────────────────────────────── */
.site-footer { border-top: 1px solid var(--line-soft); padding: 48px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid p { color: var(--muted); margin: 14px 0; font-size: 14px; }
.foot-grid h4 { margin: 0 0 14px; font-size: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid li a { color: var(--muted); font-size: 14px; }
.foot-grid li a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); font: 500 11.5px/1 var(--mono); color: var(--soft); letter-spacing: .06em; flex-wrap: wrap; }

/* ── Misc ───────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-hi) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 100;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px;
  background: var(--panel-hi); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: opacity .2s, transform .2s; font-size: 14px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--green); }
.notice { padding: 40px; text-align: center; color: var(--muted); }
.maintenance { background: rgba(251,191,36,.1); border-bottom: 1px solid rgba(251,191,36,.3); color: var(--amber); text-align: center; padding: 10px 16px; font-size: 14px; }

/* ── Generated cover art ────────────────── */
.cover {
  --h: 168;
  position: relative; width: 100%; height: 100%; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 7% 7% 8%;
  background:
    radial-gradient(90% 120% at 100% 0%, hsl(var(--h) 85% 55% / .45), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, hsl(calc(var(--h) + 40) 80% 50% / .28), transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.035) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255,255,255,.035) 23px 24px),
    linear-gradient(160deg, hsl(var(--h) 40% 12%), #070b10 70%);
}
.cover::after {
  content: ""; position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid hsl(var(--h) 90% 70% / .18); box-shadow: 0 0 0 28px hsl(var(--h) 90% 70% / .04), 0 0 0 64px hsl(var(--h) 90% 70% / .03);
}
.cover-tag { position: absolute; top: 7%; left: 7%; font: 600 max(9px, 3.2cqi)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--h) 90% 80%); }
.cover-icon { position: absolute; top: 7%; right: 7%; width: 14cqi; height: 14cqi; min-width: 28px; min-height: 28px; display: grid; place-items: center; border-radius: 22%; background: hsl(var(--h) 80% 55% / .16); color: hsl(var(--h) 90% 75%); border: 1px solid hsl(var(--h) 80% 60% / .3); z-index: 1; }
.cover-icon svg { width: 55%; height: 55%; }
.cover-name { position: relative; z-index: 1; font: italic 800 clamp(14px, 11cqi, 64px)/.92 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.4); max-width: 92%; }
.cover-brand { position: relative; z-index: 1; margin-top: 4%; font: 600 max(8px, 2.6cqi)/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.p-media .cover-tag { display: none; }
.row-thumb .cover { padding: 0; justify-content: center; align-items: center; }
.row-thumb .cover > :not(.cover-icon), .cart-thumb .cover > :not(.cover-icon) { display: none; }
.row-thumb .cover-icon, .cart-thumb .cover-icon { position: static; width: 60%; height: 60%; min-width: 0; min-height: 0; }
.cart-thumb .cover { padding: 0; justify-content: center; align-items: center; }

/* ── Status chips ───────────────────────── */
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.s-ok { color: var(--green); border-color: rgba(74,222,128,.3); }
.s-warn { color: var(--amber); border-color: rgba(251,191,36,.3); }
.s-bad { color: var(--red); border-color: rgba(248,113,113,.3); }
.s-muted { color: var(--muted); }
.p-media .status-chip { background: rgba(7,11,16,.78); }

/* ── Nav extras ─────────────────────────── */
.nav a { display: inline-flex; align-items: center; gap: 6px; }
.accent-link { color: var(--accent-2) !important; }
.foot-bottom .bar { display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin: 0 6px; border-radius: 2px; }

/* ── Product page extras ────────────────── */
.status-panel { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; padding: 0; overflow: hidden; }
.status-panel > div { padding: 16px 18px; }
.status-panel > div + div { border-left: 1px solid var(--line-soft); }
.status-panel .k { font-size: 12.5px; color: var(--soft); margin-bottom: 6px; }
.status-panel .v { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.status-panel .v i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-panel .note { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); border-left: 0 !important; color: var(--muted); font-size: 13.5px; }
.help-links { margin-top: 14px; padding: 0; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; }
.help-links a + a { border-top: 1px solid var(--line-soft); }
.help-links strong { display: block; font-size: 14px; color: var(--accent-2); }
.help-links small { color: var(--soft); font-size: 12.5px; }
.help-links svg { color: var(--soft); flex: none; }
.hold-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.25); color: #f5d27a; font-size: 13.5px; }
.hold-note svg { flex: none; margin-top: 2px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.spec { padding: 18px; }
.spec-ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-hi); border: 1px solid var(--line); color: var(--accent); margin-bottom: 16px; }
.spec small { display: block; color: var(--soft); font-size: 12.5px; }
.spec strong { display: flex; align-items: center; gap: 6px; font-size: 15px; margin-top: 2px; }
.spec strong.ok { color: var(--green); }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 8px 8px 0; color: var(--muted); }
.prose ol { padding-left: 22px; }
.reviews-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { fill: currentColor; }
.stars .off { color: var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.review { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.review p { margin: 0; color: #c9d3de; font-size: 14px; }
.review small { color: var(--soft); font: 500 11.5px/1 var(--mono); }
.review .reply { padding: 10px 12px; background: var(--bg-2); border-radius: 8px; font-size: 13px; color: var(--muted); }
.review .reply b { color: var(--accent-2); font-weight: 600; }
.related { margin-top: 56px; }

/* ── Catalog groups ─────────────────────── */
.group { margin-bottom: 40px; }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.group-head h2 { margin: 0; font: italic 800 30px/1 var(--display); text-transform: uppercase; }
.group-head span { font: 600 11px/1 var(--mono); color: var(--soft); letter-spacing: .1em; text-transform: uppercase; }

/* ── Status page ────────────────────────── */
.legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 18px; }
.status-table { width: 100%; border-collapse: collapse; }
.status-table th { text-align: left; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.status-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.status-table tr:last-child td { border-bottom: 0; }
.status-table tr:hover td { background: var(--panel-hi); }
.st-prod { display: flex; align-items: center; gap: 12px; }
.st-prod .row-thumb { width: 56px; height: 36px; }
.st-prod strong { display: block; font-size: 14.5px; }
.st-prod small { color: var(--soft); font-size: 12.5px; }
.st-note { color: var(--muted); font-size: 13.5px; }
.st-date { font: 500 12.5px/1 var(--mono); color: var(--soft); white-space: nowrap; }
.summary-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.summary-cards .panel { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.summary-cards strong { font: italic 800 36px/1 var(--display); }
.summary-cards span { color: var(--muted); font-size: 13.5px; }

/* ── Guides page ────────────────────────── */
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-top: 32px; }
.guide-nav { position: sticky; top: 90px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.guide-nav a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.guide-nav a:hover { color: var(--white); background: var(--panel-hi); }
.guide { padding: 26px 28px; margin-bottom: 16px; scroll-margin-top: 90px; }
.guide h2 { margin: 0; font-size: 22px; }
.guide > p { color: var(--muted); margin: 6px 0 20px; }
.guide ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.guide li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: #c9d3de; }
.guide li::before { content: counter(s, decimal-leading-zero); flex: none; width: 34px; height: 26px; border-radius: 6px; display: grid; place-items: center; font: 600 11px/1 var(--mono); color: var(--accent); background: rgba(25,211,180,.08); border: 1px solid rgba(25,211,180,.25); }

/* ── Policy page ────────────────────────── */
.policy-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 18px; }
.policy-tabs a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.policy-tabs a.active { color: var(--accent-2); border-color: rgba(25,211,180,.4); background: rgba(25,211,180,.08); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 980px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .review-grid, .summary-cards { grid-template-columns: 1fr; }
  .status-table thead { display: none; }
  .status-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
  .status-table td { padding: 0; border: 0; }
  .status-table td.st-note { grid-column: 1 / -1; }
  .guide { padding: 20px; }
}
@media (max-width: 980px) {
  .row-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; padding: 28px; }
  .spot-media { min-height: 0; }
  .spot-card { transform: none; }
  .product-grid, .cart-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 24px; }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .row-grid, .card-grid, .strip .wrap, .steps { grid-template-columns: 1fr; }
  .strip-item, .step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .strip-item:last-child, .step:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .spot-controls { position: static; margin-top: 16px; justify-self: start; }
  .buy-box, .prose { padding: 20px; }
  .cart-line { flex-wrap: wrap; }
}
