/* ============================================================
   JUST4PK — cinematic dark-tech showroom design system
   ============================================================ */

/* ---------- 1. tokens ---------- */
:root {
  --bg: #05070e;
  --bg-2: #080b15;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-solid: #0b1020;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #eaf0fb;
  --text-dim: #a3b0c9;
  --text-faint: #6f7d97;

  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --gold: #f5b544;
  --rose: #f43f5e;
  --mint: #34d399;

  --brand: var(--cyan);
  --brand-2: var(--violet);
  --grad: linear-gradient(115deg, var(--cyan), var(--violet));
  --grad-warm: linear-gradient(115deg, #fde68a, var(--gold), #fb923c);
  --grad-danger: linear-gradient(115deg, #fda4af, var(--rose));

  --glow-cyan: 0 0 34px rgba(34, 211, 238, 0.35);
  --glow-violet: 0 0 34px rgba(139, 92, 246, 0.35);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 72px;
  --sp-9: 104px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.66);
  --shadow-lift: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);

  --font-display: 'Sora', 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 74px;
  --mobile-nav-h: 66px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(34, 211, 238, 0.32); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(139, 92, 246, 0.5));
  border-radius: 99px;
  border: 3px solid var(--bg-2);
}

/* ---------- 3. ambient background ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(820px 560px at 92% 4%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(245, 181, 68, 0.07), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}

.bg-grid {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 78%);
  animation: gridDrift 44s linear infinite;
}

@keyframes gridDrift {
  to { transform: translate3d(68px, 68px, 0); }
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particles span {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.55);
  opacity: 0;
  animation: rise linear infinite;
}
.particles span:nth-child(3n) { background: var(--violet); box-shadow: 0 0 10px 2px rgba(139, 92, 246, 0.55); }
.particles span:nth-child(5n) { background: var(--gold); box-shadow: 0 0 10px 2px rgba(245, 181, 68, 0.5); }

@keyframes rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.75; }
  88% { opacity: 0.5; }
  100% { transform: translate3d(var(--drift, 30px), -102vh, 0) scale(1.1); opacity: 0; }
}

/* ---------- 4. layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-wide { max-width: 1520px; }

.section { padding-block: var(--sp-8); position: relative; }
.section-tight { padding-block: var(--sp-7); }

.stack { display: grid; gap: var(--sp-4); }
.row { display: flex; gap: var(--sp-3); align-items: center; }
.row-between { display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between; }
.wrap { flex-wrap: wrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: var(--sp-4); z-index: 999;
  background: var(--surface-solid); color: var(--text);
  padding: 12px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* ---------- 5. section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.h-section {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-block: 10px 12px;
}

.lead { color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px); max-width: 62ch; }

.section-head { margin-bottom: var(--sp-6); }
.section-head.center { text-align: center; display: grid; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 6. glass surfaces ---------- */
.glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md);
  position: relative;
}
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), transparent 42%, transparent 68%, rgba(34, 211, 238, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.75;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.02em; white-space: nowrap;
}
.chip.is-active {
  color: #04060e; background: var(--grad); border-color: transparent;
  box-shadow: var(--glow-cyan);
}

/* ---------- 7. buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  --btn-bg: var(--grad);
  --btn-fg: #04060e;
  --btn-bd: transparent;
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, var(--violet), var(--cyan));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(139, 92, 246, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-bd: var(--line-strong);
}
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); border-color: rgba(34, 211, 238, 0.5); }

.btn-gold {
  --btn-bg: var(--grad-warm);
  --btn-fg: #1a1000;
  --btn-bd: transparent;
  box-shadow: 0 12px 34px rgba(245, 181, 68, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
  --btn-bg: linear-gradient(115deg, #4ade80, #16a34a);
  --btn-fg: #04160a;
  --btn-bd: transparent;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.3);
}

.btn-lg { padding: 16px 34px; font-size: 15.5px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all 0.3s var(--ease);
}
.btn-icon:hover {
  color: var(--text); border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.12); transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

/* ---------- 8. loading screen ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: radial-gradient(700px 500px at 50% 45%, #0d1426, var(--bg) 70%);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-stage { perspective: 900px; display: grid; justify-items: center; gap: 26px; }

.loader-cube {
  width: 82px; height: 82px; position: relative;
  transform-style: preserve-3d;
  animation: cubeSpin 3.4s var(--ease-soft) infinite;
}
.loader-cube i {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(34, 211, 238, 0.7);
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.12));
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.3) inset;
  border-radius: 10px;
}
.loader-cube i:nth-child(1) { transform: translateZ(41px); }
.loader-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(41px); }
.loader-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(41px); }
.loader-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(41px); }
.loader-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(41px); }
.loader-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(41px); }

@keyframes cubeSpin {
  0% { transform: rotateX(-24deg) rotateY(0deg); }
  50% { transform: rotateX(24deg) rotateY(180deg); }
  100% { transform: rotateX(-24deg) rotateY(360deg); }
}

.loader-mark {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: 0.34em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: markPulse 2s ease-in-out infinite;
}
@keyframes markPulse { 50% { opacity: 0.45; letter-spacing: 0.42em; } }

.loader-bar {
  width: min(240px, 60vw); height: 2px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.loader-bar i {
  display: block; height: 100%; width: 40%;
  background: var(--grad);
  animation: barSlide 1.5s var(--ease-soft) infinite;
}
@keyframes barSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

/* ---------- 9. header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(6, 9, 18, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--header-h);
}

/* promo strip */
.promo {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.16), rgba(245, 181, 68, 0.14));
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text-dim);
  padding-block: 8px; text-align: center;
  overflow: hidden; position: relative;
}
.promo strong { color: var(--text); font-weight: 600; }
.promo-track {
  display: inline-flex; gap: 46px; white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.promo:hover .promo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* logo */
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px; letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: var(--glow-cyan);
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo-mark { transform: rotateY(180deg) scale(1.06); }
.logo-mark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.55), transparent 52%);
}
.logo-mark span {
  font-size: 13px; font-weight: 800; color: #04060e; letter-spacing: 0.04em;
  position: relative;
}
.logo-text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* nav */
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  transition: color 0.28s var(--ease), background 0.28s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 99px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.34s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.nav a[data-badge]::before {
  content: attr(data-badge);
  position: absolute; top: 1px; right: 2px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 5px; border-radius: 99px;
  background: var(--grad-danger); color: #fff;
}

.header-actions { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-dim); border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.icon-btn:hover {
  color: var(--text); background: var(--surface-2);
  border-color: var(--line); transform: translateY(-2px);
}
.icon-btn .count {
  position: absolute; top: 2px; right: 1px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 99px; background: var(--grad);
  color: #04060e; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  transform: scale(0); transition: transform 0.35s var(--ease);
}
.icon-btn .count.is-on { transform: scale(1); }
.icon-btn .count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.42); } }

/* nav dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > a svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 330px; padding: 10px;
  border-radius: var(--r-md);
  background: rgba(8, 12, 22, 0.96);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 20;
}
.nav-panel::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-drop:hover > a svg { transform: rotate(180deg); }
.nav-panel a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text-dim);
}
.nav-panel a::after { display: none; }
.nav-panel a:hover { background: rgba(34, 211, 238, 0.1); color: var(--text); transform: none; }
.nav-panel a span { display: grid; gap: 2px; flex: 1; }
.nav-panel a b { font-size: 14px; font-weight: 600; color: var(--text); }
.nav-panel a i { font-style: normal; font-size: 12px; color: var(--text-faint); }
.nav-panel a svg { opacity: 0; transform: translateX(-5px); transition: all 0.28s var(--ease); color: var(--cyan); }
.nav-panel a:hover svg { opacity: 1; transform: none; }
.nav-panel a.all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }

@media (max-width: 1380px) {
  .nav a.nav-wide { display: none; }
}
@media (max-width: 1250px) {
  .nav { gap: 0; }
  .nav a { padding: 9px 10px; font-size: 14px; }
}

.burger { display: none; }
.burger i {
  display: block; width: 20px; height: 2px; border-radius: 99px;
  background: currentColor; transition: transform 0.34s var(--ease), opacity 0.24s;
}
.burger i + i { margin-top: 5px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 790;
  background: rgba(6, 9, 18, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-5) var(--sp-5) calc(var(--sp-5) + env(safe-area-inset-bottom));
  display: grid; gap: 4px;
  transform: translateY(-14px);
  opacity: 0; visibility: hidden;
  transition: all 0.36s var(--ease);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] {
  background: var(--surface); border-color: var(--line); color: var(--cyan);
}
.mobile-menu .sep { height: 1px; background: var(--line); margin: var(--sp-3) 0; }

/* ---------- 10. hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid; align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-8);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
}

.hero-copy { max-width: 640px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 10.5vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-block: 18px 14px;
  perspective: 700px;
}
.hero-title .ltr {
  display: inline-block;
  background: linear-gradient(160deg, #ffffff 0%, #cfe6ff 34%, var(--cyan) 62%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 26px rgba(34, 211, 238, 0.34));
  animation: letterIn 0.9s var(--ease) backwards;
  transform-style: preserve-3d;
}
.hero-title .num {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 26px rgba(245, 181, 68, 0.4));
}
@keyframes letterIn {
  from { opacity: 0; transform: translate3d(0, 42px, -120px) rotateX(58deg); }
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.5vw, 29px);
  font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.3; margin-bottom: 14px;
}
.hero-text { color: var(--text-dim); font-size: clamp(15px, 1.5vw, 17.5px); max-width: 54ch; margin-bottom: var(--sp-5); }

.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }

.hero-stats {
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.hero-stats div { display: grid; gap: 2px; }
.hero-stats b {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span { font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }

/* 3D hero stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  perspective: 1200px;
  display: grid; place-items: center;
}
.hero-stage::before {
  content: ''; position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(34, 211, 238, 0.28), rgba(139, 92, 246, 0.16) 46%, transparent 70%);
  filter: blur(28px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.09); opacity: 0.78; } }

.orbit {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: orbitSpin 34s linear infinite;
}
@keyframes orbitSpin { to { transform: rotateY(360deg); } }

.orbit-ring {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  transform: rotateX(74deg);
}
.orbit-ring.r2 { inset: 20%; border-color: rgba(34, 211, 238, 0.2); animation: orbitSpin 22s linear infinite reverse; }

.float-item {
  position: absolute;
  width: clamp(84px, 13vw, 148px);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  transform-style: preserve-3d;
  animation: floatY 6s ease-in-out infinite;
}
.float-item .art { width: 100%; height: auto; }
.float-item.f1 { top: 6%; left: 4%; animation-delay: -0.4s; }
.float-item.f2 { top: 14%; right: 2%; animation-delay: -1.8s; }
.float-item.f3 { bottom: 16%; left: 0%; animation-delay: -3.1s; }
.float-item.f4 { bottom: 6%; right: 8%; animation-delay: -2.3s; }

@keyframes floatY {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-2deg); }
  50% { transform: translate3d(0, -22px, 0) rotateZ(2deg); }
}

.hero-centre {
  position: relative; z-index: 2;
  width: clamp(220px, 34vw, 380px);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(34, 211, 238, 0.16);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.hero-centre:hover { transform: rotateY(-8deg) rotateX(5deg) translateZ(18px); }
.hero-centre .art { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.6)); }

.hero-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--r-pill);
  background: rgba(8, 12, 22, 0.82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  box-shadow: var(--shadow-md);
  animation: floatY 7s ease-in-out infinite;
}
.hero-badge b { color: var(--text); }
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 10px var(--mint);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }
.hero-badge.b1 { top: 12%; left: -4%; animation-delay: -1s; }
.hero-badge.b2 { bottom: 20%; right: -5%; animation-delay: -3.4s; }
.hero-badge.b3 { top: 46%; right: -8%; animation-delay: -2.2s; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-hint i {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint { 50% { transform: scaleY(0.4); opacity: 0.4; } }

/* ---------- 11. product cards ---------- */
.grid-products {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}

.card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  display: flex; flex-direction: column;
  will-change: transform;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, 0.16), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: var(--shadow-lift), 0 30px 70px rgba(34, 211, 238, 0.13);
}
.card:hover::before { opacity: 1; }

.card-media {
  position: relative;
  aspect-ratio: 1 / 0.92;
  display: grid; place-items: center;
  padding: var(--sp-4);
  background:
    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
  overflow: hidden;
}
.card-media::after {
  content: ''; position: absolute; left: 50%; bottom: 12%;
  width: 62%; height: 14px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(7px);
  transition: all 0.45s var(--ease);
}
.card-media .art {
  width: 84%; height: auto; position: relative; z-index: 1;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
}
.card:hover .card-media .art {
  transform: translate3d(0, -12px, 40px) scale(1.07) rotateY(-6deg);
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.7));
}
.card:hover .card-media::after { width: 48%; opacity: 0.6; }

.badges { position: absolute; top: 12px; left: 12px; z-index: 4; display: grid; gap: 6px; justify-items: start; }
.badge {
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.badge-deal { background: var(--grad-danger); color: #fff; }
.badge-new { background: var(--grad); color: #04060e; }
.badge-hot { background: var(--grad-warm); color: #1a1000; }
.badge-out { background: rgba(255, 255, 255, 0.14); color: var(--text); }

.card-tools { position: absolute; top: 12px; right: 12px; z-index: 4; display: grid; gap: 8px; }
.tool {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  color: var(--text-dim);
  transform: translateX(14px); opacity: 0;
  transition: all 0.35s var(--ease);
}
.card:hover .tool, .card:focus-within .tool { transform: none; opacity: 1; }
.card .tool:nth-child(2) { transition-delay: 0.06s; }
.tool:hover { color: #fff; border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.2); }
.tool.is-on { color: var(--rose); border-color: rgba(244, 63, 94, 0.55); background: rgba(244, 63, 94, 0.16); }
.tool.is-on svg { fill: currentColor; }
@media (hover: none) {
  .tool { transform: none; opacity: 1; }
}

.card-body { padding: var(--sp-4) var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: 9px; flex: 1; }

.card-cat { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }

.card-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; line-height: 1.34; letter-spacing: -0.012em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.3s var(--ease);
}
.card-title:hover { color: var(--cyan); }

.card-desc {
  font-size: 13.2px; color: var(--text-dim); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); }
.stars { display: inline-flex; gap: 1.5px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.stars .off { color: rgba(255, 255, 255, 0.16); }
.rating b { color: var(--text); font-weight: 600; }

.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.price {
  font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}
.price-old { font-size: 14px; color: var(--text-faint); text-decoration: line-through; }
.price-off {
  font-size: 11.5px; font-weight: 700; color: #04060e;
  background: var(--grad-warm); padding: 2px 8px; border-radius: var(--r-pill);
}

.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px; }
.card-actions .btn { padding: 11px 16px; font-size: 13.5px; }
.quick-view {
  width: 42px; height: 42px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--text-dim); transition: all 0.3s var(--ease);
}
.quick-view:hover { color: #04060e; background: var(--grad); border-color: transparent; }

.stock-note { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock-in { color: var(--mint); }
.stock-low { color: var(--gold); }
.stock-out { color: var(--rose); }
.stock-note i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- 12. category tiles ---------- */
.grid-cats {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
.cat-tile {
  position: relative; border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-4);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; gap: 6px; justify-items: start;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  transform-style: preserve-3d;
}
.cat-tile:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-lift), 0 26px 60px rgba(139, 92, 246, 0.16);
}
.cat-art {
  width: 108px; height: 108px; margin-bottom: 6px;
  transition: transform 0.55s var(--ease);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}
.cat-tile:hover .cat-art { transform: translate3d(0, -8px, 30px) scale(1.1) rotateY(10deg); }
.cat-tile h3 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.cat-tile p { font-size: 12.8px; color: var(--text-dim); line-height: 1.5; }
.cat-tile .go {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan);
}
.cat-tile .go svg { transition: transform 0.34s var(--ease); }
.cat-tile:hover .go svg { transform: translateX(5px); }
.cat-tile .cat-glow {
  position: absolute; inset: auto -30% -50% auto; width: 200px; height: 200px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.24), transparent 68%);
  filter: blur(16px); opacity: 0; transition: opacity 0.45s var(--ease);
}
.cat-tile:hover .cat-glow { opacity: 1; }
.cat-count {
  position: absolute; top: 14px; right: 14px;
  font-size: 11px; font-weight: 700; color: var(--text-faint);
  padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line);
}

/* ---------- 13. carousel ---------- */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: var(--sp-4);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-block: 6px var(--sp-4);
  cursor: grab;
  scroll-behavior: smooth;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.rail > * { flex: 0 0 clamp(230px, 26vw, 292px); scroll-snap-align: start; }

.rail-nav { display: flex; gap: 10px; }
.rail-nav button:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- 14. deals ---------- */
.deals {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 52px);
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(245, 181, 68, 0.15), transparent 62%),
    radial-gradient(680px 400px at 92% 100%, rgba(244, 63, 94, 0.14), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(245, 181, 68, 0.2);
  overflow: hidden;
}

.countdown { display: flex; gap: 10px; }
.cd-cell {
  min-width: 70px; padding: 12px 10px; text-align: center;
  border-radius: var(--r-sm);
  background: rgba(6, 9, 18, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.cd-cell b {
  display: block; font-family: var(--font-display);
  font-size: 26px; font-weight: 700; line-height: 1;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-cell span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }

.grid-deals { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.deal-card { position: relative; }
.deal-card .card-media { background: radial-gradient(circle at 50% 45%, rgba(245, 181, 68, 0.14), transparent 64%); }
.deal-meter { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.deal-meter i { display: block; height: 100%; border-radius: 99px; background: var(--grad-warm); }

/* ---------- 15. trust ---------- */
.grid-trust { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust {
  padding: var(--sp-5); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 10px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.trust:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.36); background: var(--surface-2); }
.trust-ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(139, 92, 246, 0.14));
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  transition: transform 0.45s var(--ease);
}
.trust:hover .trust-ico { transform: rotateY(180deg) scale(1.06); }
.trust h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.trust p { font-size: 13.6px; color: var(--text-dim); line-height: 1.55; }

/* ---------- 16. reviews ---------- */
.review-card {
  padding: var(--sp-5); border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  display: grid; gap: 14px; align-content: start;
}
.review-head { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #04060e;
  background: var(--grad);
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.review-head b { font-family: var(--font-display); font-size: 15px; font-weight: 600; display: block; }
.review-head span { font-size: 12.5px; color: var(--text-faint); }
.verified {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--mint);
  padding: 3px 9px; border-radius: 99px;
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.28);
}
.review-card h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; }
.review-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

.rating-summary { display: grid; gap: 18px; align-content: center; }
.big-score { display: flex; align-items: baseline; gap: 12px; }
.big-score b { font-family: var(--font-display); font-size: 66px; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.bars { display: grid; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-dim); }
.bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad-warm); border-radius: 99px; }

/* ---------- 17. newsletter ---------- */
.newsletter {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(600px 320px at 50% -20%, rgba(34, 211, 238, 0.22), transparent 66%),
    radial-gradient(520px 300px at 84% 120%, rgba(139, 92, 246, 0.2), transparent 66%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
}
.news-form {
  display: flex; gap: 10px; max-width: 520px; margin: var(--sp-5) auto 0;
  padding: 6px; border-radius: var(--r-pill);
  background: rgba(6, 9, 18, 0.6); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}
.news-form input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  padding: 12px 18px; font-size: 15px; color: var(--text);
}
.news-form input::placeholder { color: var(--text-faint); }
.form-msg { font-size: 13.5px; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: var(--mint); }
.form-msg.err { color: var(--rose); }

/* ---------- 18. footer ---------- */
.footer {
  margin-top: var(--sp-9);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.6), rgba(4, 6, 12, 0.95));
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.6;
}
.footer-grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(140px, 1fr));
  padding-block: var(--sp-8) var(--sp-6);
}
.footer h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text);
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  font-size: 14px; color: var(--text-dim);
  transition: color 0.26s var(--ease), transform 0.26s var(--ease);
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
}
.footer-links a::before {
  content: ''; width: 0; height: 1px; background: var(--cyan);
  transition: width 0.28s var(--ease);
}
.footer-links a:hover { color: var(--cyan); transform: translateX(3px); }
.footer-links a:hover::before { width: 12px; }

.footer-about p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-block: 14px 18px; max-width: 40ch; }
.footer-contact { display: grid; gap: 10px; font-size: 13.5px; color: var(--text-dim); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact a:hover { color: var(--cyan); }
.footer-contact svg { color: var(--cyan); flex-shrink: 0; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-dim);
  transition: all 0.34s var(--ease);
}
.socials a:hover {
  color: #04060e; background: var(--grad); border-color: transparent;
  transform: translateY(-4px); box-shadow: var(--glow-cyan);
}

.pay-strip {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding-block: var(--sp-4);
  border-top: 1px solid var(--line);
}
.pay {
  padding: 7px 14px; border-radius: var(--r-xs);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.03em;
}

.footer-bottom {
  display: flex; gap: var(--sp-4); align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding-block: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-faint);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- 19. cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 860;
  width: min(440px, 100vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0a0f1d, #060912);
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.7);
  transform: translateX(102%);
  transition: transform 0.48s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: var(--sp-5); border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.drawer-head .count-pill {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: var(--grad); color: #04060e;
}
.drawer-body { flex: 1; overflow-y: auto; padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-3); align-content: start; }
.drawer-foot { padding: var(--sp-5); border-top: 1px solid var(--line); background: rgba(4, 7, 14, 0.7); display: grid; gap: 12px; }

.cart-line {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 14px;
  padding: 12px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  animation: lineIn 0.4s var(--ease);
}
@keyframes lineIn { from { opacity: 0; transform: translateX(24px); } }
.cart-line.removing { animation: lineOut 0.32s var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(40px); height: 0; padding-block: 0; margin-block: -6px; } }

.cart-thumb {
  width: 74px; height: 74px; border-radius: var(--r-sm);
  background: radial-gradient(circle at 50% 45%, rgba(34, 211, 238, 0.14), transparent 66%), rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); display: grid; place-items: center; padding: 4px;
}
.cart-line h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; line-height: 1.35; }
.cart-line .opts { font-size: 11.5px; color: var(--text-faint); margin-top: 2px; }
.cart-line .unit { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  background: rgba(4, 7, 14, 0.6); padding: 3px;
}
.qty button {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-dim);
  transition: all 0.24s var(--ease);
}
.qty button:hover { background: var(--surface-2); color: var(--text); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty output { min-width: 26px; text-align: center; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.line-price { font-family: var(--font-display); font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
.line-x { color: var(--text-faint); transition: color 0.26s; margin-top: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.line-x:hover { color: var(--rose); background: rgba(244, 63, 94, 0.12); }

.totals { display: grid; gap: 9px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-dim); }
.totals .grand {
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text);
}
.totals .save { color: var(--mint); font-weight: 600; }
.free-ship-note { font-size: 12.5px; color: var(--gold); }

/* ---------- 20. search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 870;
  background: rgba(3, 5, 12, 0.86);
  backdrop-filter: blur(16px);
  padding: clamp(16px, 10vh, 110px) var(--sp-4) var(--sp-4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.34s var(--ease), visibility 0.34s;
  overflow-y: auto;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box {
  max-width: 720px; margin-inline: auto;
  transform: translateY(-18px) scale(0.98); opacity: 0;
  transition: all 0.4s var(--ease);
}
.search-overlay.is-open .search-box { transform: none; opacity: 1; }
.search-field {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-lg);
  background: rgba(10, 15, 28, 0.9); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(34, 211, 238, 0.1);
}
.search-field input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  font-family: var(--font-display); font-size: clamp(16px, 2.4vw, 21px); font-weight: 500;
}
.search-field input::placeholder { color: var(--text-faint); }
.kbd {
  font-size: 11px; font-weight: 700; color: var(--text-faint);
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface);
}
.search-results { margin-top: 14px; display: grid; gap: 8px; }
.search-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint); padding: 12px 6px 4px;
}
.s-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: var(--r-md);
  background: rgba(10, 15, 28, 0.72); border: 1px solid var(--line);
  transition: all 0.26s var(--ease);
}
.s-item:hover, .s-item.is-cursor { border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.08); transform: translateX(4px); }
.s-thumb {
  width: 52px; height: 52px; border-radius: var(--r-sm); flex-shrink: 0;
  background: radial-gradient(circle at 50% 45%, rgba(34, 211, 238, 0.14), transparent 66%);
  border: 1px solid var(--line); display: grid; place-items: center; padding: 3px;
}
.s-item b { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; display: block; }
.s-item span { font-size: 12.5px; color: var(--text-dim); }
.s-item .s-price { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
mark { background: rgba(34, 211, 238, 0.28); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* ---------- 21. quick view modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 880;
  display: grid; place-items: center; padding: var(--sp-4);
  opacity: 0; visibility: hidden; transition: opacity 0.34s var(--ease), visibility 0.34s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  width: min(940px, 100%); max-height: min(88vh, 760px);
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, #0d1424, #070b15);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  transform: scale(0.94) translateY(18px); opacity: 0;
  transition: all 0.42s var(--ease);
  position: relative;
}
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6, 9, 18, 0.8); border: 1px solid var(--line-strong);
  color: var(--text-dim); transition: all 0.28s var(--ease);
}
.modal-close:hover { color: #fff; background: var(--rose); border-color: transparent; transform: rotate(90deg); }
.modal-media {
  display: grid; place-items: center; padding: var(--sp-5);
  background: radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.15), transparent 64%);
}
.modal-media .art { width: 100%; max-width: 340px; }
.modal-body { padding: var(--sp-6) var(--sp-5); overflow-y: auto; display: grid; gap: 14px; align-content: start; }

/* ---------- 22. shop page ---------- */
.page-head {
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-6);
  position: relative;
}
.page-head::after {
  content: ''; position: absolute; inset: auto 0 -1px 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { opacity: 0.5; }

.shop-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: var(--sp-6); align-items: start; }

.filters {
  position: sticky; top: calc(var(--header-h) + var(--sp-4));
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  padding: var(--sp-5); display: grid; gap: var(--sp-5);
  max-height: calc(100dvh - var(--header-h) - var(--sp-6));
  overflow-y: auto;
}
.filter-group { display: grid; gap: 11px; }
.filter-group > h3 {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.check {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 14px; color: var(--text-dim);
  transition: color 0.24s var(--ease);
}
.check:hover { color: var(--text); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 19px; height: 19px; border-radius: 6px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); background: rgba(4, 7, 14, 0.5);
  display: grid; place-items: center; transition: all 0.24s var(--ease);
}
.check .box svg { opacity: 0; transform: scale(0.4); transition: all 0.24s var(--ease); color: #04060e; }
.check input:checked + .box { background: var(--grad); border-color: transparent; }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check .n { margin-left: auto; font-size: 12px; color: var(--text-faint); }
.check:has(input:checked) { color: var(--text); font-weight: 500; }

.radio-row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-dim); }
.radio-row input { position: absolute; opacity: 0; }
.radio-row .dot {
  width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  transition: all 0.24s var(--ease);
}
.radio-row .dot::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad); transform: scale(0); transition: transform 0.24s var(--ease);
}
.radio-row input:checked + .dot { border-color: var(--cyan); }
.radio-row input:checked + .dot::after { transform: none; }
.radio-row input:focus-visible + .dot { outline: 2px solid var(--cyan); outline-offset: 2px; }

.range-wrap { display: grid; gap: 12px; }
.range-out { display: flex; justify-content: space-between; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-dim); }
.range-out b { color: var(--text); font-family: var(--font-display); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px;
  border-radius: 99px; background: rgba(255, 255, 255, 0.1); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--grad); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
input[type="range"]::-moz-range-thumb {
  width: 19px; height: 19px; border: 0; border-radius: 50%;
  background: var(--cyan); cursor: pointer;
}

.shop-toolbar {
  display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: var(--sp-5);
  padding: 12px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.result-count { font-size: 13.5px; color: var(--text-dim); }
.result-count b { color: var(--text); }

.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none;
  background: rgba(4, 7, 14, 0.6); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 9px 38px 9px 16px;
  font-size: 13.5px; font-weight: 500; color: var(--text); cursor: pointer;
  transition: border-color 0.26s var(--ease);
}
.select select:hover { border-color: rgba(34, 211, 238, 0.5); }
.select select option { background: #0b1020; color: var(--text); }
.select > svg { position: absolute; right: 14px; pointer-events: none; color: var(--text-faint); }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.active-filters .chip button { color: inherit; display: grid; place-items: center; }

.view-toggle { display: inline-flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: rgba(4, 7, 14, 0.6); border: 1px solid var(--line); }
.view-toggle button {
  width: 34px; height: 32px; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--text-faint); transition: all 0.26s var(--ease);
}
.view-toggle button.is-on { background: var(--grad); color: #04060e; }

.grid-products.is-list { grid-template-columns: 1fr; }
.grid-products.is-list .card { flex-direction: row; align-items: stretch; }
.grid-products.is-list .card-media { width: 240px; flex-shrink: 0; aspect-ratio: 1/1; }
.grid-products.is-list .card-body { padding: var(--sp-5); }
.grid-products.is-list .card-desc { -webkit-line-clamp: 3; }

/* ---------- 23. product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + var(--sp-5)); display: grid; gap: var(--sp-3); }
.gallery-main {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.16), transparent 64%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: var(--sp-5);
  cursor: zoom-in;
}
.gallery-main .art { width: 88%; transition: transform 0.45s var(--ease); }
.gallery-main.is-zoom { cursor: zoom-out; }
.gallery-main.is-zoom .art { transform: scale(2.05); }
.gallery-main .zoom-hint {
  position: absolute; bottom: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(6, 9, 18, 0.75); border: 1px solid var(--line);
  backdrop-filter: blur(10px); font-size: 12px; color: var(--text-dim);
  transition: opacity 0.3s;
}
.gallery-main.is-zoom .zoom-hint { opacity: 0; }

.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  width: 82px; height: 82px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 5px;
  transition: all 0.3s var(--ease);
}
.thumb:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.thumb.is-on { border-color: var(--cyan); background: rgba(34, 211, 238, 0.1); box-shadow: var(--glow-cyan); }

.pdp-info { display: grid; gap: var(--sp-4); align-content: start; }
.pdp-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.14; letter-spacing: -0.03em;
}
.pdp-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-block: var(--sp-4); border-block: 1px solid var(--line);
}
.pdp-price .now { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.pdp-price .was { font-size: 18px; color: var(--text-faint); text-decoration: line-through; }

.opt-group { display: grid; gap: 10px; }
.opt-group > span { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.opt-group > span b { color: var(--text); }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt {
  padding: 9px 17px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 13.5px; font-weight: 500; color: var(--text-dim);
  transition: all 0.26s var(--ease);
}
.opt:hover { color: var(--text); border-color: rgba(34, 211, 238, 0.5); transform: translateY(-2px); }
.opt[aria-pressed="true"] {
  background: var(--grad); color: #04060e; border-color: transparent; font-weight: 700;
  box-shadow: var(--glow-cyan);
}

.pdp-buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pdp-buy .btn-primary { grid-column: 1 / -1; }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.pdp-perks { display: grid; gap: 10px; padding: var(--sp-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.pdp-perks li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--text-dim); }
.pdp-perks svg { color: var(--mint); flex-shrink: 0; margin-top: 2px; }

.tabs { display: grid; gap: var(--sp-5); margin-top: var(--sp-7); }
.tablist {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 5px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  width: fit-content; max-width: 100%; overflow-x: auto;
}
.tablist button {
  padding: 10px 20px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  color: var(--text-dim); white-space: nowrap;
  transition: all 0.3s var(--ease);
}
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { background: var(--grad); color: #04060e; }
.tabpanel { display: none; }
.tabpanel.is-on { display: block; animation: fadeUp 0.45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.spec-table { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: rgba(255, 255, 255, 0.028); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; font-size: 14px; vertical-align: top; }
.spec-table th { width: 34%; color: var(--text-dim); font-weight: 600; }

.prose { color: var(--text-dim); font-size: 15px; line-height: 1.8; display: grid; gap: 14px; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.02em; margin-top: 8px; }
.prose h2 { font-size: 24px; }
.prose h3 { font-size: 18px; }
.prose ul { display: grid; gap: 9px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .note {
  padding: 14px 18px; border-radius: var(--r-md);
  background: rgba(245, 181, 68, 0.08); border: 1px solid rgba(245, 181, 68, 0.26);
  font-size: 13.5px; color: var(--text-dim);
}
.prose .note b { color: var(--gold); }

/* ---------- 24. forms ---------- */
.form-grid { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.01em; }
.field label .req { color: var(--rose); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border-radius: var(--r-sm);
  background: rgba(4, 7, 14, 0.6);
  border: 1px solid var(--line-strong);
  color: var(--text); font-size: 15px;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--cyan); background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.field input[aria-invalid="true"] { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12); }
.field .err { font-size: 12.5px; color: var(--rose); min-height: 0; }
.field .hint { font-size: 12.5px; color: var(--text-faint); }
.span-2 { grid-column: span 2; }

.pay-options { display: grid; gap: 10px; }
.pay-opt {
  display: flex; gap: 14px; align-items: center;
  padding: 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  cursor: pointer; transition: all 0.3s var(--ease);
}
.pay-opt:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pay-opt:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); box-shadow: var(--glow-cyan); }
.pay-opt input { position: absolute; opacity: 0; }
.pay-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--line); color: var(--cyan);
}
.pay-opt b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.pay-opt span { font-size: 13px; color: var(--text-dim); }
.pay-opt .soon {
  margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 99px; background: rgba(245, 181, 68, 0.14);
  border: 1px solid rgba(245, 181, 68, 0.3); color: var(--gold);
}

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.summary {
  position: sticky; top: calc(var(--header-h) + var(--sp-5));
  border-radius: var(--r-lg); padding: var(--sp-5);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: var(--sp-4); align-content: start;
}
.summary h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.summary-lines { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.summary-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.summary-line .t { width: 56px; height: 56px; border-radius: var(--r-sm); background: rgba(255,255,255,0.04); border: 1px solid var(--line); display: grid; place-items: center; padding: 3px; }
.summary-line b { display: block; font-weight: 600; line-height: 1.35; }
.summary-line span { color: var(--text-faint); font-size: 12px; }

/* steps */
.steps { display: flex; gap: 0; align-items: center; flex-wrap: wrap; margin-bottom: var(--sp-6); }
.step { display: flex; align-items: center; gap: 10px; }
.step .n {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-faint);
  transition: all 0.3s var(--ease);
}
.step span { font-size: 13.5px; color: var(--text-faint); font-weight: 500; }
.step.is-on .n { background: var(--grad); color: #04060e; border-color: transparent; box-shadow: var(--glow-cyan); }
.step.is-on span { color: var(--text); font-weight: 600; }
.step.done .n { background: rgba(52, 211, 153, 0.18); border-color: rgba(52, 211, 153, 0.45); color: var(--mint); }
.step-line { flex: 1; min-width: 24px; height: 1px; background: var(--line); margin-inline: 12px; }

/* ---------- 25. order tracking ---------- */
.track-flow { display: grid; gap: 0; margin-top: var(--sp-5); }
.track-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.track-rail { display: grid; justify-items: center; }
.track-dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  color: var(--text-faint); font-size: 13px; font-weight: 700;
  transition: all 0.4s var(--ease); z-index: 1;
}
.track-line { width: 2px; flex: 1; min-height: 34px; background: var(--line); }
.track-step.done .track-dot { background: rgba(52, 211, 153, 0.16); border-color: var(--mint); color: var(--mint); }
.track-step.done .track-line { background: linear-gradient(180deg, var(--mint), rgba(52, 211, 153, 0.25)); }
.track-step.current .track-dot {
  background: var(--grad); border-color: transparent; color: #04060e;
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.14), var(--glow-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0.06), var(--glow-cyan); } }
.track-body { padding-bottom: var(--sp-5); }
.track-body b { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; display: block; }
.track-body span { font-size: 13.5px; color: var(--text-dim); }
.track-body time { font-size: 12px; color: var(--text-faint); display: block; margin-top: 4px; }
.track-step:not(.done):not(.current) .track-body b { color: var(--text-faint); }

.order-meta { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.order-meta div { padding: 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.order-meta span { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); display: block; margin-bottom: 5px; }
.order-meta b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }

/* ---------- 26. account ---------- */
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.side-nav {
  position: sticky; top: calc(var(--header-h) + var(--sp-5));
  border-radius: var(--r-lg); padding: 10px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 3px;
}
.side-nav button, .side-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: all 0.26s var(--ease); text-align: left; width: 100%;
}
.side-nav button:hover, .side-nav a:hover { background: var(--surface-2); color: var(--text); }
.side-nav button.is-on { background: var(--grad); color: #04060e; font-weight: 600; }
.side-nav svg { flex-shrink: 0; }

.auth-card {
  max-width: 460px; margin-inline: auto;
  padding: var(--sp-6); border-radius: var(--r-xl);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* ---------- 27. empty + error states ---------- */
.empty {
  display: grid; justify-items: center; gap: 16px; text-align: center;
  padding: clamp(40px, 8vw, 90px) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--surface); border: 1px dashed var(--line-strong);
}
.empty-art {
  width: 140px; height: 140px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, 0.16), transparent 68%);
  border: 1px solid var(--line);
  color: var(--text-faint);
  animation: floatY 6s ease-in-out infinite;
}
.empty h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.empty p { color: var(--text-dim); max-width: 46ch; font-size: 15px; }

.notfound { min-height: 76svh; display: grid; place-items: center; text-align: center; padding-block: var(--sp-8); }
.notfound .code {
  font-family: var(--font-display); font-size: clamp(90px, 20vw, 200px);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.06em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 40px rgba(34, 211, 238, 0.3));
}

/* ---------- 28. toasts ---------- */
.toasts {
  position: fixed; z-index: 900; bottom: calc(var(--sp-5) + var(--mobile-nav-h));
  left: 50%; transform: translateX(-50%);
  display: grid; gap: 10px; width: min(400px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 16px; border-radius: var(--r-md);
  background: rgba(10, 15, 28, 0.94);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  font-size: 14px; pointer-events: auto;
  animation: toastIn 0.42s var(--ease);
}
.toast.out { animation: toastOut 0.32s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) scale(0.96); } }
.toast .ico {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(52, 211, 153, 0.16); color: var(--mint);
}
.toast.warn .ico { background: rgba(245, 181, 68, 0.16); color: var(--gold); }
.toast.err .ico { background: rgba(244, 63, 94, 0.16); color: var(--rose); }
.toast b { font-family: var(--font-display); font-weight: 600; display: block; font-size: 13.5px; }
.toast small { color: var(--text-dim); font-size: 12.5px; }
.toast .undo {
  margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--cyan);
  padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(34, 211, 238, 0.4);
  transition: all 0.24s var(--ease); white-space: nowrap;
}
.toast .undo:hover { background: rgba(34, 211, 238, 0.14); }

/* ---------- 29. floating buttons ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + var(--mobile-nav-h)); z-index: 780;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #4ade80, #16a34a);
  color: #04160a;
  box-shadow: 0 14px 38px rgba(34, 197, 94, 0.44);
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease);
}
.wa-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 20px 48px rgba(34, 197, 94, 0.58); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.6);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { to { transform: scale(1.65); opacity: 0; } }
.wa-float .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(10, 15, 28, 0.94); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
}
.wa-float:hover .tip { opacity: 1; transform: translateY(-50%); }

.to-top {
  position: fixed; left: 20px; bottom: calc(20px + var(--mobile-nav-h)); z-index: 780;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 15, 28, 0.86); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); color: var(--text-dim);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.34s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--cyan); border-color: rgba(34, 211, 238, 0.5); }

/* mobile bottom nav */
.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 795;
  height: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: none;
  background: rgba(6, 9, 18, 0.92);
  backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid var(--line);
}
.mobile-nav ul { display: flex; height: var(--mobile-nav-h); }
.mobile-nav li { flex: 1; }
.mobile-nav a {
  height: 100%; display: grid; justify-items: center; align-content: center; gap: 4px;
  font-size: 10.5px; font-weight: 600; color: var(--text-faint);
  transition: color 0.26s var(--ease); position: relative;
}
.mobile-nav a[aria-current="page"] { color: var(--cyan); }
.mobile-nav a[aria-current="page"]::before {
  content: ''; position: absolute; top: 0; width: 26px; height: 2px;
  border-radius: 99px; background: var(--grad); box-shadow: var(--glow-cyan);
}
.mobile-nav .m-count {
  position: absolute; top: 8px; right: calc(50% - 20px);
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  background: var(--grad-danger); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
}

/* ---------- 30. reveal + parallax ---------- */
.reveal {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left { transform: translate3d(-38px, 0, 0); }
.reveal-right { transform: translate3d(38px, 0, 0); }
.reveal-scale { transform: scale(0.94); }
.reveal.in.reveal-left, .reveal.in.reveal-right, .reveal.in.reveal-scale { transform: none; }

.tilt { transform-style: preserve-3d; transition: transform 0.4s var(--ease); }

/* ---------- 31. stats ---------- */
.grid-stats { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
  padding: var(--sp-5); border-radius: var(--r-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.stat:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.36); }
.stat b {
  display: block; font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-dim); letter-spacing: 0.04em; }

/* ---------- 32. contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.contact-cards { display: grid; gap: var(--sp-3); }
.contact-card {
  display: flex; gap: 15px; align-items: flex-start;
  padding: var(--sp-4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  transition: all 0.34s var(--ease);
}
.contact-card:hover { transform: translateX(5px); border-color: rgba(34, 211, 238, 0.36); background: var(--surface-2); }
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--line); color: var(--cyan);
}
.contact-card b { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; display: block; margin-bottom: 3px; }
.contact-card span, .contact-card a { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
.contact-card a:hover { color: var(--cyan); }

/* ---------- 33. misc ---------- */
.divider { height: 1px; background: var(--line); margin-block: var(--sp-5); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-list { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-list span {
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-dim);
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

.icon { width: 20px; height: 20px; stroke-width: 1.7; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- 34. responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; gap: 0; place-content: center; }
  .hero-inner { gap: var(--sp-5); }
  .footer-grid { grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(140px, 1fr)); }
}

@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + var(--sp-6)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; text-align: center; margin-inline: auto; display: grid; justify-items: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-stage { max-height: 420px; }
  .pdp { grid-template-columns: 1fr; gap: var(--sp-5); }
  .gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .account-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .side-nav button, .side-nav a { white-space: nowrap; width: auto; }
  .modal-panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-media { padding: var(--sp-5) var(--sp-5) 0; }
  .modal-media .art { max-width: 240px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --sp-8: 56px; --sp-7: 40px; }
  .container { padding-inline: var(--sp-4); }
  body { padding-bottom: var(--mobile-nav-h); }
  .mobile-nav { display: block; }
  .wa-float { bottom: calc(16px + var(--mobile-nav-h)); right: 14px; width: 52px; height: 52px; }
  .wa-float .tip { display: none; }
  .to-top { display: none; }
  .toasts { bottom: calc(var(--mobile-nav-h) + 16px); }
  .logo-text { font-size: 18px; }
  .logo-mark { width: 36px; height: 36px; }
  .header-actions .icon-btn.hide-sm { display: none; }
  .hero-title { font-size: clamp(46px, 15vw, 84px); }
  .hero-stats { gap: var(--sp-4); }
  .hero-stats b { font-size: 21px; }
  .hero-badge.b1 { left: -2%; top: 4%; }
  .hero-badge.b2 { right: -2%; }
  .hero-badge.b3 { display: none; }
  .float-item { width: clamp(62px, 18vw, 96px); }
  .grid-products { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: var(--sp-3); }
  .grid-products.is-list .card { flex-direction: column; }
  .grid-products.is-list .card-media { width: 100%; aspect-ratio: 1/0.92; }
  .card-body { padding: var(--sp-3) var(--sp-3) var(--sp-4); }
  .card-title { font-size: 14.5px; }
  .card-desc { display: none; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .quick-view { display: none; }
  .price { font-size: 18px; }
  .grid-cats { grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); }
  .cat-art { width: 82px; height: 82px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); padding-block: var(--sp-6) var(--sp-4); }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .news-form { flex-direction: column; border-radius: var(--r-lg); padding: 10px; }
  .news-form .btn { width: 100%; }
  .cd-cell { min-width: 60px; padding: 10px 6px; }
  .cd-cell b { font-size: 21px; }
  .pdp-buy { grid-template-columns: auto 1fr; }
  .drawer { width: 100vw; }
  .span-2 { grid-column: span 1; }
  .section-head { margin-bottom: var(--sp-5); }
  .tablist { width: 100%; }
  .spec-table th { width: 42%; }
  .spec-table th, .spec-table td { padding: 11px 13px; font-size: 13.2px; }
  .steps { gap: 4px; }
  .step span { display: none; }
  .step-line { min-width: 14px; margin-inline: 4px; }
}

@media (max-width: 420px) {
  .grid-products { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 35. reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .loader { display: none; }
  .bg-grid, .particles { display: none; }
}

/* ---------- 36. print ---------- */
@media print {
  .header, .footer, .mobile-nav, .wa-float, .to-top, .toasts, .drawer, .scrim,
  .search-overlay, .modal, .loader, .bg-grid, .particles, .bg-field { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { color: #000; }
}
