/* ============================================================
   NOVI MARKET — styles.css
   High-end gaming theme · neon accent · HUD details
   ============================================================ */

:root {
  --bg: #07080d;
  --bg-2: #0c0e15;
  --panel: #11141d;
  --panel-2: #151823;
  --ink: #eef1f6;
  --muted: #8b91a3;
  --hair: rgba(139, 145, 163, 0.16);
  --hair-soft: rgba(139, 145, 163, 0.08);
  --accent: #ff2d55;
  --accent-dim: rgba(255, 45, 85, 0.4);
  --accent-glow: rgba(255, 45, 85, 0.22);
  --green: #00ff9d;
  --green-dim: rgba(255, 45, 85, 0.35);
  --green-glow: rgba(255, 45, 85, 0.22);
  --cyan: #00c8ff;
  --gold: #ffd166;
  --danger: #ff4d5e;
  --font-head: "Chakra Petch", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --notch: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --notch-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--accent); color: #05130b; }

.container { width: min(1280px, 92%); margin: 0 auto; }
.container-narrow { width: min(860px, 92%); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }

.section { padding: 100px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 54px; flex-wrap: wrap;
}
.section-head p { color: var(--muted); max-width: 480px; font-size: 14.5px; }
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 48px); margin-top: 12px;
  text-transform: uppercase; letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: "//"; color: var(--muted); letter-spacing: 0; }

.grad-text { color: var(--accent); text-shadow: 0 0 24px var(--accent-glow); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 0;
  clip-path: var(--notch);
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 32px; transition: all 0.22s ease; white-space: nowrap;
}
.btn-lg { padding: 18px 40px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #05130b; }
.btn-primary:hover { background: #5cffbc; box-shadow: 0 0 32px var(--accent-glow); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.55; cursor: wait; }
.btn-ghost {
  background: rgba(255, 45, 85, 0.04); color: var(--ink); border-color: var(--hair);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 20px rgba(255, 45, 85, 0.06); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 0;
  background: rgba(139, 145, 163, 0.06); color: var(--ink);
  border: 1px solid var(--hair); transition: all 0.22s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ================= ANNOUNCEMENT ================= */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 16px; text-align: center;
  font-family: var(--font-head); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(90deg, rgba(255, 45, 85, 0.08), rgba(0, 200, 255, 0.05), rgba(255, 45, 85, 0.08));
  border-bottom: 1px solid rgba(255, 45, 85, 0.25);
}
.announce-dot {
  width: 6px; height: 6px; border-radius: 0; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ================= HEADER ================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 13, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair-soft);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled { border-bottom-color: rgba(255, 45, 85, 0.3); box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
}
.logo-mark img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 45, 85, 0.4));
}
.logo-text {
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.logo-text em { font-style: normal; color: var(--accent); }

.nav { display: flex; gap: 30px; margin-left: 12px; }
.nav a {
  padding: 6px 2px; position: relative;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.22s ease;
}
.nav a::before {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::before { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 0;
  clip-path: var(--notch-sm);
  border: 1px solid var(--accent-dim);
  background: rgba(255, 45, 85, 0.06); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.22s ease;
}
.cart-btn:hover { background: rgba(255, 45, 85, 0.14); box-shadow: 0 0 24px var(--accent-glow); }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #05130b;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
}
.search-toggle { display: none; }
.burger { display: none; }

.mobile-nav {
  display: none; flex-direction: column; padding: 8px 4% 14px;
  border-top: 1px solid var(--hair-soft); background: rgba(7, 8, 13, 0.98);
}
.mobile-nav a {
  padding: 14px 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--hair-soft);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav.open { display: flex; }

/* ================= HERO ================= */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 110px; text-align: center;
  border-bottom: 1px solid var(--hair-soft);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 45, 85, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 85, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 420px 260px at 18% 12%, rgba(255, 45, 85, 0.09), transparent 70%),
    radial-gradient(ellipse 420px 260px at 82% 18%, rgba(0, 200, 255, 0.07), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 980px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 20px;
  border: 1px solid var(--accent-dim);
  background: rgba(255, 45, 85, 0.05);
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}
.hero-badge strong { color: var(--accent); font-weight: 600; }
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s infinite;
}
.hero h1 {
  font-size: clamp(42px, 6.6vw, 88px); font-weight: 700;
  line-height: 1.04; letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-sub {
  margin: 30px auto 52px; max-width: 600px;
  color: var(--muted); font-size: 15px; line-height: 1.85;
}
.hero-search {
  display: flex; align-items: center; gap: 14px;
  max-width: 640px; margin: 0 auto;
  padding: 8px 8px 8px 20px;
  background: rgba(17, 20, 29, 0.8);
  border: 1px solid var(--hair);
  clip-path: var(--notch);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.hero-search svg { color: var(--accent); flex-shrink: 0; }
.hero-search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--ink); font-size: 15px; font-family: var(--font-body);
}
.hero-search input::placeholder { color: rgba(139, 145, 163, 0.6); }
.hero-search .btn { padding: 13px 26px; }

.hero-stats {
  display: flex; justify-content: center;
  margin-top: 90px; border: 1px solid var(--hair-soft);
  background: rgba(12, 14, 21, 0.6);
}
.stat {
  flex: 1; max-width: 250px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 30px 12px 26px;
  position: relative;
}
.stat + .stat { border-left: 1px solid var(--hair-soft); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}
.stat-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(32px, 3.8vw, 50px); line-height: 1;
  color: var(--ink);
  text-shadow: 0 0 28px var(--accent-glow);
}
.stat-label {
  font-family: var(--font-head); font-size: 10px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}

/* ================= TRUST BAR ================= */
.trustbar { border-bottom: 1px solid var(--hair-soft); background: var(--bg-2); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 28px 0; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; color: var(--accent); }
.trust-item svg { flex-shrink: 0; margin-top: 3px; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.trust-item strong {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 3px;
}
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ================= FEATURED ================= */
.featured { padding: 110px 0 20px; }
.featured-card {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--bg-2); border: 1px solid var(--hair);
}
.featured-card::before,
.featured-card::after {
  content: ""; position: absolute; width: 26px; height: 26px; z-index: 3; pointer-events: none;
}
.featured-card::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.featured-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.featured-media { position: relative; min-height: 380px; overflow: hidden; }
.featured-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.9s ease;
}
.featured-card:hover .featured-media img { transform: scale(1.04); }
.featured-flash {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  padding: 8px 16px;
  background: var(--accent); color: #05130b;
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.featured-body { padding: 52px 54px; display: flex; flex-direction: column; }
.featured-body h2 {
  font-size: clamp(28px, 3.2vw, 42px); margin: 14px 0 16px;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.featured-body > p { color: var(--muted); margin-bottom: 24px; font-size: 14px; line-height: 1.85; }
.featured-points { list-style: none; margin-bottom: 38px; display: grid; gap: 11px; }
.featured-points li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 13.5px; color: #c6cad6;
}
.featured-points li::before {
  content: "▸"; flex-shrink: 0; color: var(--accent);
}
.featured-cta { margin-top: auto; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

/* ================= PRICE BLOCK ================= */
/* current + market price always sit side by side on one baseline,
   never wrapping */
.price-block {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap;
  white-space: nowrap; min-width: 0;
}
.price-now {
  font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 22px var(--accent-glow);
  white-space: nowrap;
}
.price-was {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted); text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 94, 0.7);
  line-height: 1;
  transform: translateY(-2px);
  white-space: nowrap;
}

/* ================= CATEGORIES (HUD rows) ================= */
.category-grid { display: flex; flex-direction: column; border: 1px solid var(--hair-soft); background: var(--hair-soft); gap: 1px; }
.category-card {
  position: relative; text-align: left;
  display: grid; grid-template-columns: 80px 1fr auto auto; gap: 26px; align-items: center;
  padding: 32px 24px;
  background: var(--bg);
  transition: background 0.25s ease;
}
.category-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); box-shadow: 0 0 18px var(--accent);
  opacity: 0; transition: opacity 0.25s ease;
}
.category-card:hover { background: var(--bg-2); }
.category-card:hover::before { opacity: 1; }
.category-icon {
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  color: var(--muted); transition: color 0.25s ease, text-shadow 0.25s ease;
  width: auto; height: auto; border: none; background: none; display: block;
}
.category-card:hover .category-icon { color: var(--accent); text-shadow: 0 0 18px var(--accent-glow); }
.category-card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase; letter-spacing: 0.03em;
  transition: color 0.25s ease;
}
.category-card:hover h3 { color: var(--accent); }
.category-card p { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }
.category-count {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); transition: color 0.25s ease;
}
.category-card:hover .category-count { color: var(--accent); }

/* ================= CATALOG ================= */
.catalog { padding-top: 100px; }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 48px;
  padding: 16px 20px;
  background: var(--bg-2); border: 1px solid var(--hair-soft);
}
.chip-row { display: flex; gap: 26px; flex-wrap: wrap; }
.chip {
  padding: 6px 2px; border-radius: 0;
  background: none; border: none;
  color: var(--muted);
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; transition: color 0.22s ease;
}
.chip::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transition: width 0.25s ease;
}
.chip:hover { color: var(--ink); }
.chip.active { color: var(--accent); }
.chip.active::after { width: 100%; }
.toolbar-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.search-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--bg); border: 1px solid var(--hair);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-mini:focus-within { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.search-mini svg { color: var(--accent); }
.search-mini input {
  width: 180px; background: none; border: none; outline: none;
  color: var(--ink); font-size: 13px; font-family: var(--font-body);
}
.search-mini input::placeholder { color: rgba(139, 145, 163, 0.55); }
.select-wrap select {
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ff2d55' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--hair); border-radius: 0;
  color: var(--muted); font-family: var(--font-head); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 32px 10px 14px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: all 0.22s ease;
}
.select-wrap select:hover { color: var(--ink); border-color: var(--accent-dim); }
.select-wrap option { background: var(--panel); color: var(--ink); }

/* ================= PRODUCT GRID & CARDS ================= */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.product-card {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--hair-soft);
  transition: all 0.28s ease;
}
.product-card::before,
.product-card::after {
  content: ""; position: absolute; width: 20px; height: 20px; z-index: 3;
  pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
}
.product-card::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.product-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-dim);
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 45, 85, 0.08);
}
.product-card:hover::before,
.product-card:hover::after { opacity: 1; }
.card-media { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: #10121a; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.7s ease, filter 0.4s ease;
}
.card-media.contain {
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(255, 45, 85, 0.05), transparent 70%),
    #10121a;
}
.card-media.contain img { object-fit: contain; padding: 24px; }
.product-card:hover .card-media img { transform: scale(1.05); filter: saturate(1.15); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 8, 13, 0.75) 100%);
}
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px;
  background: var(--accent); color: #05130b;
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.card-badge.gold, .card-badge.green, .card-badge.cyan {
  background: var(--accent); color: #05130b; border: none;
}
.card-platform {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  padding: 5px 11px;
  background: rgba(7, 8, 13, 0.85); border: 1px solid var(--hair);
  font-family: var(--font-head); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-cat {
  font-family: var(--font-head);
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
}
.card-rating {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: 12px; color: var(--gold, #ffd166); font-weight: 600; white-space: nowrap;
}
.card-rating span { color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.card-title {
  font-size: 17px; font-weight: 700; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 45px;
  transition: color 0.22s ease;
}
.product-card:hover .card-title { color: var(--accent); }
.card-short {
  font-size: 12.5px; color: var(--muted); margin-bottom: 18px;
  min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card-foot .price-now { font-size: 22px; }
.card-foot .price-was { font-size: 10.5px; }
/* add-to-cart buttons intentionally stay green as the one
   contrasting action color against the red accent theme */
.card-add {
  flex-shrink: 0;
  padding: 10px 18px;
  background: rgba(0, 255, 157, 0.07); color: var(--green);
  border: 1px solid var(--green-dim);
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.22s ease;
}
.card-add:hover { background: var(--green); color: #05130b; box-shadow: 0 0 24px var(--green-glow); }
.card-add svg { display: none; pointer-events: none; }
.card-add::before { content: "+ "; }

.sold-note {
  font-family: var(--font-head);
  font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(139, 145, 163, 0.75); margin-top: 12px;
  min-height: 32px; /* reserve two lines so price rows stay aligned across cards */
}
.sold-note::first-letter { color: var(--accent); }

.empty-state { text-align: center; padding: 90px 0 40px; color: var(--muted); }
.empty-icon { display: none; }
.empty-state h3 { font-size: 26px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.empty-state p { font-size: 13.5px; }
.empty-state .btn { margin-top: 26px; }

/* ================= WHY US ================= */
.why { background: var(--bg-2); border-top: 1px solid var(--hair-soft); border-bottom: 1px solid var(--hair-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  position: relative;
  padding: 26px 24px;
  background: var(--panel); border: 1px solid var(--hair-soft);
  transition: all 0.25s ease;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px;
  background: var(--accent);
}
.why-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.why-icon {
  width: auto; height: auto; border: none; background: none;
  color: var(--accent); margin-bottom: 16px; padding: 0;
  display: flex;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.why-card h3 {
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
}
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ================= REVIEWS ================= */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  position: relative;
  padding: 34px 30px; background: var(--bg-2); border: 1px solid var(--hair-soft);
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.25s ease;
}
.review-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px;
  background: var(--accent);
}
.review-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); }
.stars { color: var(--gold, #ffd166); font-size: 12px; letter-spacing: 4px; }
.review-card blockquote {
  font-size: 14px; line-height: 1.85; color: #c6cad6; flex: 1;
}
.review-card figcaption { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 42px; height: 42px; border-radius: 0;
  clip-path: var(--notch-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 45, 85, 0.1); border: 1px solid var(--accent-dim); color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.review-card figcaption strong {
  display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.review-card figcaption span:not(.avatar) { font-size: 11.5px; color: var(--muted); }

/* ================= FAQ ================= */
.faq-list { border: 1px solid var(--hair-soft); background: var(--hair-soft); display: grid; gap: 1px; }
.faq-item {
  background: var(--bg); border: none; border-radius: 0;
}
.faq-item[open] { background: var(--bg-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.22s ease;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--accent); transition: transform 0.3s ease; font-size: 16px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 26px 26px; color: var(--muted); font-size: 13.5px; max-width: 720px; line-height: 1.9; }

/* ================= CTA ================= */
.cta { padding: 30px 0 110px; }
.cta-card {
  position: relative; text-align: center;
  padding: 90px 30px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 100%, rgba(255, 45, 85, 0.07), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--hair);
}
.cta-card::before,
.cta-card::after {
  content: ""; position: absolute; width: 30px; height: 30px; pointer-events: none;
}
.cta-card::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.cta-card::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.cta-orb { display: none; }
.cta-card h2 {
  font-size: clamp(28px, 4vw, 50px); position: relative;
  text-transform: uppercase;
}
.cta-card p { color: var(--muted); margin: 18px 0 40px; font-size: 14.5px; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ================= FOOTER ================= */
.footer { background: var(--bg); border-top: 1px solid rgba(255, 45, 85, 0.2); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 20px 0 28px; max-width: 310px; line-height: 1.85; }
.payments { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-chip {
  padding: 8px 14px;
  background: rgba(139, 145, 163, 0.05); border: 1px solid var(--hair-soft);
  font-family: var(--font-head); font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.footer-col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 22px;
}
.footer-col h4::after { content: " //"; color: var(--accent); }
.footer-col a {
  display: block; color: var(--muted); font-size: 13.5px;
  padding: 6px 0; transition: all 0.2s ease;
}
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--hair-soft); padding: 24px 0 28px; }
.footer-bottom p { font-size: 11.5px; color: rgba(139, 145, 163, 0.6); text-align: center; }

/* ================= CART DRAWER ================= */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 5, 8, 0.8);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(440px, 94vw);
  background: var(--bg-2); border-left: 1px solid var(--accent-dim);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.4s cubic-bezier(0.22, 0.68, 0.35, 1);
}
.drawer.open { transform: translateX(0); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 26px; border-bottom: 1px solid var(--hair);
}
.drawer-head h3 {
  font-size: 21px; text-transform: uppercase; letter-spacing: 0.04em;
  display: flex; align-items: baseline; gap: 12px;
}
.drawer-count { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.drawer-empty {
  position: absolute; inset: 82px 0 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; color: var(--muted); background: var(--bg-2);
}
.drawer-empty p { font-family: var(--font-head); font-size: 19px; font-weight: 600; text-transform: uppercase; line-height: 1.5; }
.drawer-empty .btn { margin-top: 24px; }
.drawer-empty[hidden] { display: none; }

.cart-item {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 15px;
  padding: 14px; background: var(--panel); border: 1px solid var(--hair-soft);
}
.cart-item-img { width: 86px; height: 56px; object-fit: cover; background: #10121a; }
.cart-item-title {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; line-height: 1.4;
  text-transform: uppercase; letter-spacing: 0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--accent); margin-top: 6px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-remove {
  background: none; border: none; color: var(--muted);
  font-family: var(--font-head); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 4px;
  transition: color 0.2s ease;
}
.cart-remove:hover { color: var(--danger); }
.qty-mini { display: flex; align-items: center; gap: 3px; }
.qty-mini button {
  width: 25px; height: 25px; border-radius: 0; border: 1px solid var(--hair);
  background: rgba(139, 145, 163, 0.05); color: var(--ink);
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.qty-mini button:hover { color: var(--accent); border-color: var(--accent-dim); }
.qty-mini span { min-width: 26px; text-align: center; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }

.drawer-foot { padding: 22px 26px 26px; border-top: 1px solid var(--hair); }
.drawer-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-head); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.drawer-row strong { font-size: 28px; color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
.cart-note { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(139, 145, 163, 0.65); margin-bottom: 18px; }

/* ================= MODALS ================= */
.modal-wrap { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-wrap[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 8, 0.85);
  animation: fadeIn 0.3s ease;
}
.modal {
  position: relative; z-index: 1;
  width: min(860px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--accent-dim);
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  animation: modalUp 0.35s cubic-bezier(0.22, 0.68, 0.35, 1);
}
@keyframes modalUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(7, 8, 13, 0.75); }
.modal-media { position: relative; min-height: 100%; overflow: hidden; background: #10121a; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08); }
.modal-media.contain img { object-fit: contain; padding: 28px; filter: none; }
.modal-media.contain {
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(255, 45, 85, 0.05), transparent 70%),
    #10121a;
}
.modal-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 62%, var(--bg-2) 100%);
}
.modal-body { padding: 30px 32px 24px; }
.modal-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.badge-cat {
  padding: 4px 12px; border-radius: 0;
  background: rgba(255, 45, 85, 0.08); border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-head); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.modal-rating { color: var(--gold); font-size: 12px; font-family: var(--font-head); font-weight: 600; }
.modal-rating span { color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.modal-body h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; }
.modal-desc {
  color: var(--muted); font-size: 12.5px; line-height: 1.75; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.modal-features { list-style: none; display: grid; gap: 6px; margin-bottom: 14px; }
.modal-features li { display: flex; gap: 10px; font-size: 12.5px; color: #c6cad6; }
.modal-features li::before { content: "▸"; color: var(--accent); flex-shrink: 0; }
.modal-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair-soft); border: 1px solid var(--hair-soft); margin-bottom: 16px; }
.info-box { padding: 9px 12px; background: var(--bg-2); }
.info-box small { display: block; font-family: var(--font-head); font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-box strong { font-size: 12px; font-weight: 600; }
.modal-buy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--hair);
}
.modal-buy .price-now { font-size: 28px; }
.buy-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty-stepper {
  display: flex; align-items: center; gap: 2px;
  background: none; border: 1px solid var(--hair);
}
.qty-stepper button {
  width: 34px; height: 42px; border: none; border-radius: 0;
  background: none; color: var(--muted);
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.qty-stepper button:hover { color: var(--accent); background: rgba(255, 45, 85, 0.05); }
.qty-stepper span { min-width: 26px; text-align: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.modal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair-soft);
}
.modal-delivery { font-family: var(--font-head); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.modal-crypto { font-family: var(--font-head); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.modal-crypto::before { content: "₿ "; color: var(--gold); }

/* ================= CHECKOUT ================= */
.modal-checkout { width: min(540px, 100%); display: block; padding: 40px 38px 32px; }
.modal-checkout h3 { font-size: 27px; margin-bottom: 22px; text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.checkout-h4 {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  margin: 24px 0 12px;
}
.checkout-summary { display: grid; gap: 9px; margin-bottom: 16px; }
.co-line { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #c6cad6; }
.co-line strong { color: var(--ink); font-weight: 600; white-space: nowrap; font-family: var(--font-head); }
.checkout-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 18px; border-top: 1px solid var(--hair);
  font-family: var(--font-head); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.checkout-row strong { font-size: 30px; color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
.co-input {
  width: 100%; padding: 13px 16px; border-radius: 0;
  background: var(--bg); border: 1px solid var(--hair);
  color: var(--ink); font-size: 14px; font-family: var(--font-body); outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.co-input:focus { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

.coin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.coin-opt {
  cursor: pointer; text-align: center;
  padding: 12px 4px; border-radius: 0;
  background: var(--bg); border: 1px solid var(--hair);
  transition: all 0.2s ease;
}
.coin-opt:hover { border-color: var(--accent-dim); }
.coin-opt.selected {
  border-color: var(--accent); background: rgba(255, 45, 85, 0.08);
  box-shadow: 0 0 18px var(--accent-glow);
}
.coin-opt input { display: none; }
.coin-opt b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.coin-opt.selected b { color: var(--accent); }
.coin-opt span { display: block; font-size: 8.5px; letter-spacing: 0.06em; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pay-options { display: none; }
.checkout-addr {
  padding: 14px 18px; border-radius: 0; margin-bottom: 18px;
  background: rgba(255, 45, 85, 0.04); border: 1px solid var(--accent-dim);
  color: #c6cad6; font-size: 12.5px; line-height: 1.8;
}
.checkout-secure { text-align: center; font-family: var(--font-head); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(139, 145, 163, 0.65); margin-top: 16px; }

.pay-hint { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.pay-hint strong { color: var(--accent); font-weight: 600; }
.pay-box {
  padding: 15px 18px; border-radius: 0; margin-bottom: 10px;
  background: var(--panel); border: 1px solid var(--hair);
}
.pay-box small { display: block; font-family: var(--font-head); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pay-copy { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pay-copy strong { color: var(--accent); font-size: 22px; font-family: var(--font-head); text-shadow: 0 0 16px var(--accent-glow); }
.pay-copy .mono { font-size: 11.5px; word-break: break-all; color: #c6cad6; }
.copy-btn {
  flex-shrink: 0; padding: 9px 16px; border-radius: 0;
  background: var(--accent); color: #05130b; border: none;
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.22s ease;
}
.copy-btn:hover { box-shadow: 0 0 20px var(--accent-glow); }
.pay-status {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; margin: 18px 0 12px; border-radius: 0;
  background: var(--panel); border: 1px solid var(--hair);
}
.pay-status strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pay-status span { font-size: 12px; color: var(--muted); }
.spinner {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--hair); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-timer {
  margin-left: auto; font-family: var(--font-head); font-weight: 700;
  font-size: 21px; color: var(--accent); flex-shrink: 0;
  text-shadow: 0 0 16px var(--accent-glow);
}
.conf-track {
  padding: 14px 18px; border-radius: 0; margin-bottom: 12px;
  background: var(--panel); border: 1px solid var(--hair);
}
.conf-track[hidden] { display: none; }
.conf-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-head); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.conf-head b { font-size: 15px; color: var(--accent); text-shadow: 0 0 14px var(--accent-glow); }
.conf-bar { height: 4px; border-radius: 0; overflow: hidden; background: rgba(139, 145, 163, 0.12); }
.conf-fill { height: 100%; width: 0%; background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width 0.6s ease; }
.conf-track small { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.code-box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-radius: 0; margin-bottom: 9px;
  background: var(--panel); border: 1px solid var(--accent-dim);
}
.code-box b { display: block; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.code-box span { font-size: 11px; color: var(--muted); }
.code-box code { font-family: ui-monospace, monospace; font-size: 11px; color: var(--accent); word-break: break-all; text-align: right; }
.success-icon {
  width: 62px; height: 62px; margin: 8px auto 18px; border-radius: 0;
  clip-path: var(--notch-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--accent);
  background: rgba(255, 45, 85, 0.08); border: 1px solid var(--accent-dim);
  text-shadow: 0 0 16px var(--accent-glow);
}
.success-text { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.success-text strong { color: var(--accent); font-weight: 600; }
.modal-checkout h3 { text-align: center; }

/* ================= TOASTS ================= */
.toasts {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 0;
  background: var(--bg-2); border: 1px solid var(--accent-dim);
  clip-path: var(--notch-sm);
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: toastIn 0.35s cubic-bezier(0.22, 0.68, 0.35, 1);
}
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
.toast.success { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }

/* ================= TO TOP ================= */
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 0;
  background: rgba(12, 14, 21, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { box-shadow: 0 0 24px var(--accent-glow); }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .category-card { grid-template-columns: 60px 1fr auto; }
  .category-count { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; max-height: 320px; }
  .featured-media::after { background: linear-gradient(0deg, var(--bg-2) 0%, transparent 60%); }
  .featured-body { padding: 38px 34px; }
  .modal { grid-template-columns: 1fr; }
  .modal-media { min-height: 230px; max-height: 260px; }
  .modal-media::after { background: linear-gradient(0deg, var(--bg-2) 0%, transparent 55%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
  .stat { flex: 1 1 40%; }
  .stat + .stat { border-left: none; }
}

@media (max-width: 620px) {
  .section { padding: 76px 0; }
  .hero { padding: 100px 0 76px; }
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 12px 14px; }
  .category-card { grid-template-columns: 46px 1fr; padding: 24px 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .search-toggle { display: inline-flex; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .chip-row { gap: 18px; }
  .toolbar-right { justify-content: space-between; }
  .search-mini { flex: 1; }
  .search-mini input { width: 100%; }
  .hero-search { flex-wrap: wrap; gap: 12px; }
  .hero-search input { flex: 1 1 150px; }
  .hero-search .btn { flex: 1 1 100%; }
  .hero-stats { margin-top: 64px; }
  .stat { flex: 1 1 46%; padding-top: 22px; }
  .modal-body { padding: 30px 24px 26px; }
  .modal-info-grid { grid-template-columns: 1fr 1fr; }
  .featured-body { padding: 30px 26px; }
  .coin-grid { grid-template-columns: repeat(3, 1fr); }
  .pay-copy { flex-wrap: wrap; }
  .why-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-head { margin-bottom: 40px; }
}

/* ================= LOGO GLITCH =================
   Smooth repeating RGB-split glitch on the header wordmark.
   Bursts are short (~180ms) and timed apart so the logo reads
   clean most of the time — premium, not seizure-y. */
.logo-text.glitch {
  position: relative;
  display: inline-block;
  animation: glitchBase 7s infinite linear;
}
.logo-text.glitch::before,
.logo-text.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  letter-spacing: inherit;
}
.logo-text.glitch::before {
  color: var(--cyan);
  animation: glitchChanA 7s infinite linear;
}
.logo-text.glitch::after {
  color: var(--accent);
  animation: glitchChanB 7s infinite linear;
}

@keyframes glitchChanA {
  0%, 28.9%, 32.2%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  29%   { opacity: 0.85; transform: translate(-2px, 1px);  clip-path: inset(16% 0 62% 0); }
  29.8% { opacity: 0.85; transform: translate(2px, -1px);  clip-path: inset(56% 0 24% 0); }
  30.6% { opacity: 0.85; transform: translate(-1px, 0);    clip-path: inset(78% 0 6% 0); }
  31.4% { opacity: 0.85; transform: translate(1px, 1px);   clip-path: inset(36% 0 46% 0); }
}

@keyframes glitchChanB {
  0%, 63.9%, 67.2%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  64%   { opacity: 0.8;  transform: translate(2px, -1px);  clip-path: inset(8% 0 74% 0); }
  64.8% { opacity: 0.8;  transform: translate(-2px, 1px);  clip-path: inset(46% 0 36% 0); }
  65.6% { opacity: 0.8;  transform: translate(1px, 0);     clip-path: inset(84% 0 2% 0); }
  66.4% { opacity: 0.8;  transform: translate(-1px, -1px); clip-path: inset(26% 0 58% 0); }
}

@keyframes glitchBase {
  0%, 28.9%, 32.2%, 63.9%, 67.2%, 100% { transform: none; }
  29.5% { transform: translateX(1px); }
  30.5% { transform: translateX(-1px); }
  31.5% { transform: translateX(1px); }
  64.5% { transform: translateX(-1px); }
  65.5% { transform: translateX(1px); }
  66.5% { transform: translateX(-1px); }
}

/* glitch intentionally keeps running; disabled only via OS-level reduce + class .no-glitch */}
