:root {
  --bg: #0a0a0f;
  --bg-soft: #111118;
  --surface: #16161f;
  --surface-2: #1e1e2a;
  --surface-3: #262635;
  --line: #2c2c3a;
  --line-soft: #232330;
  --text: #f2f2f7;
  --muted: #8b8b9e;
  --muted-2: #6b6b7c;
  --accent: #6c5ce7;
  --accent-hover: #7f71f0;
  --accent-soft: rgba(108, 92, 231, 0.15);
  --mint: #00d9a5;
  --mint-soft: rgba(0, 217, 165, 0.12);
  --coral: #ff6b81;
  --gold: #ffc857;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --transition: 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: -0.025em; font-weight: 700; }
.mono { font-family: var(--font-mono); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--line); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }

/* Top bar */
.topbar {
  background: linear-gradient(90deg, #5a4bd1, var(--accent));
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}
.topbar b { font-weight: 700; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px -6px rgba(108, 92, 231, 0.55);
  font-size: 13px;
  font-weight: 800;
  color: #0a0a0f;
  letter-spacing: -0.04em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: #c8c8d4;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.25s;
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background var(--transition), transform var(--transition);
  color: var(--text);
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.burger { display: none; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 10, 0.75);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.show { opacity: 1; pointer-events: auto; }
.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.show .mobile-panel { transform: translateX(0); }
.mobile-panel a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s;
}
.mobile-panel a:hover { background: var(--surface-2); }
.mobile-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* Buttons */
.btn {
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #5a4bd1);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(108, 92, 231, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(108, 92, 231, 0.65);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}
.btn-mint {
  background: var(--mint);
  color: #06251c;
}
.btn-mint:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  position: relative;
  padding: 88px 28px 120px;
  overflow: hidden;
}
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: #b8aef8;
  border: 1px solid rgba(108, 92, 231, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero h1 span {
  background: linear-gradient(100deg, var(--accent), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats b {
  font-family: var(--font-display);
  font-size: 22px;
  display: block;
}
.hero-stats span { color: var(--muted); font-size: 12.5px; }

.hero-visual {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(108, 92, 231, 0.35), transparent 65%);
  filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.03); }
}
.phone-mock {
  position: relative;
  width: 180px;
  height: 370px;
  border-radius: 32px;
  background: linear-gradient(160deg, #22222e, #121218);
  border: 2px solid #333342;
  box-shadow: var(--shadow);
  z-index: 3;
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  border-radius: 5px;
  background: #0a0a0f;
}
.phone-screen {
  position: absolute;
  inset: 12px 9px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1a1a24, #0e0e14);
  overflow: hidden;
}
.glass-shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 55%;
  height: 220%;
  background: linear-gradient(75deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(18deg);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -60%; }
  40% { left: 130%; }
  100% { left: 130%; }
}
.shard {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(108, 92, 231, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}
.shard-1 {
  width: 110px;
  height: 140px;
  top: 24px;
  right: 24px;
  transform: rotate(-12deg);
  animation: drift1 6s ease-in-out infinite;
  z-index: 4;
}
.shard-2 {
  width: 64px;
  height: 84px;
  bottom: 36px;
  left: 8px;
  transform: rotate(10deg);
  animation: drift2 5.2s ease-in-out infinite;
  z-index: 1;
  background: linear-gradient(140deg, rgba(0, 217, 165, 0.14), rgba(255, 255, 255, 0.06));
}
@keyframes drift1 {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-12px); }
}
@keyframes drift2 {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(10px); }
}

/* Marquee */
.marquee-wrap {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 14px 0;
}
.marquee {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 24s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.marquee span b { color: var(--text); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 88px 28px; }
.section-tight { padding: 64px 28px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); }
.section-head p { color: var(--muted); max-width: 400px; font-size: 14.5px; line-height: 1.6; }
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: block;
}

/* Category cards */
.cats {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 92, 231, 0.4);
  background: var(--surface-2);
}
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cat-card h3 { font-size: 17px; margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 13px; }
.cat-arrow {
  position: absolute;
  top: 22px;
  right: 18px;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  font-size: 14px;
}
.cat-card:hover .cat-arrow {
  transform: translate(3px, -3px);
  color: var(--mint);
}
@media (max-width: 960px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cats { grid-template-columns: 1fr; }
}

/* Product grid */
.grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 92, 231, 0.35);
  box-shadow: var(--shadow-sm);
}
.card-media {
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.card-media svg { width: 62%; height: 62%; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mint);
  color: #06251c;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.badge.sale { background: var(--coral); color: #fff; }
.wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
  color: #fff;
}
.wish:hover { background: var(--coral); transform: scale(1.08); }
.wish.active { background: var(--coral); color: #fff; }
.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.card-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.2s;
}
.card:hover .card-title { color: #c4baf8; }
.card-stars { color: var(--gold); font-size: 12px; }
.card-stars span { color: var(--muted); font-size: 11px; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15.5px;
}
.price-old {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 5px;
}
.add-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  color: #fff;
}
.add-btn:hover {
  background: var(--accent);
  transform: scale(1.06);
}

/* Featured band */
.featured { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); position: relative; }
.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Steps */
.steps {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px #3d3d50;
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Promo band */
.promo-band {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(125deg, #1e1a36, #152222);
  border: 1px solid #2e2e42;
  padding: 44px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.promo-band::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.28), transparent 70%);
  top: -70px;
  right: -50px;
}
.promo-band h3 { font-size: 26px; margin-bottom: 6px; }
.promo-band p { color: var(--muted); max-width: 400px; font-size: 14.5px; }

/* Newsletter */
.newsletter {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 28px;
}
.newsletter h2 { font-size: 30px; margin-bottom: 10px; }
.newsletter p { color: var(--muted); margin-bottom: 26px; }
.nl-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.nl-form input {
  flex: 1;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font-size: 14px;
}
.nl-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Footer */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 64px 28px 28px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-grid h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #c8c8d4;
}
.footer-grid ul a:hover { color: var(--mint); }
.footer-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 280px;
  margin: 14px 0 18px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--text);
}
.socials a:hover { background: var(--accent); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.65);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 94vw;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-head h3 { font-size: 17px; }
.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drawer-empty {
  color: var(--muted);
  text-align: center;
  padding: 56px 12px;
  font-size: 14px;
}
.drawer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}
.drawer-item .thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-item .thumb svg { width: 55%; height: 55%; }
.drawer-item .info { flex: 1; min-width: 0; }
.drawer-item .info b {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item .info span { color: var(--muted); font-size: 12px; }
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.qty-ctrl button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-ctrl span { font-size: 13px; min-width: 18px; text-align: center; }
.drawer-foot {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}
.drawer-foot .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14.5px;
}
.drawer-foot .row b { font-family: var(--font-mono); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow);
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Promo modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.75);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 20px;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {
  background: linear-gradient(160deg, #1a1a26, #12121a);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 36px 30px 30px;
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}
.modal-overlay.show .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--accent), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-weight: 800;
  font-size: 18px;
  color: #0a0a0f;
}
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 14px; margin-bottom: 18px; line-height: 1.55; }
.modal .code {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px dashed rgba(108, 92, 231, 0.45);
  border-radius: 10px;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.modal-small { color: var(--muted); font-size: 11.5px; margin-top: 10px; }

/* Back to top */
.top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(108, 92, 231, 0.5);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  color: #fff;
}
.top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Page header (subpages) */
.page-hero {
  padding: 56px 28px 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .wrap { max-width: 1280px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span { color: var(--text); }
.page-hero h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 520px; font-size: 15px; }

/* Filters bar */
.filters-bar {
  max-width: 1280px;
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.filters-left { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--text);
  font-size: 13.5px;
  min-width: 140px;
}
.filter-select:focus { outline: none; border-color: var(--accent); }
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 200px;
}
.search-box input {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13.5px;
  width: 100%;
  outline: none;
}
.search-box svg { flex-shrink: 0; color: var(--muted); }

/* Product detail */
.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 28px 80px;
}
.pd-gallery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pd-gallery svg { width: 55%; height: 55%; }
.pd-info h1 { font-size: 28px; margin-bottom: 8px; }
.pd-cat { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.pd-stars { color: var(--gold); margin-bottom: 16px; font-size: 14px; }
.pd-price {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}
.pd-price .old {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 10px;
}
.pd-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pd-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.pd-meta-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.pd-meta-item b { display: block; font-size: 13px; margin-bottom: 2px; }
.pd-meta-item span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
}

/* Cart page */
.cart-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}
.cart-table { width: 100%; }
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-row .thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-row .thumb svg { width: 50%; height: 50%; }
.cart-summary {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}
.cart-summary .total {
  font-size: 18px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}
.cart-summary .total b { font-family: var(--font-mono); }

/* Contact */
.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 28px 80px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 16px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 14px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state h3 { color: var(--text); margin-bottom: 8px; font-size: 20px; }

/* Responsive hero */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 12px; }
  .hero { padding: 56px 28px 80px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .promo-band { padding: 32px 24px; }
}

/* Utility */
.text-mint { color: var(--mint); }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.hidden { display: none !important; }

/* ========== MOBILE IMPROVEMENTS 2026 ========== */

/* Bottom navigation for mobile */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line-soft);
  z-index: 85;
  justify-content: space-around;
  align-items: center;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted-2);
  padding: 8px 12px;
  min-width: 60px;
  transition: color 0.2s;
}
.bottom-nav a.active,
.bottom-nav a:hover { color: var(--accent); }
.bottom-nav svg { width: 22px; height: 22px; }

@media (max-width: 959px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  
  /* Better mobile product grid */
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  /* Larger touch targets */
  .btn { min-height: 44px; }
  .icon-btn { min-width: 44px; min-height: 44px; }
  
  /* Better category cards on mobile */
  .cats {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .cat-card {
    padding: 16px !important;
  }
  
  /* Hero adjustments */
  .hero { padding: 40px 16px 56px !important; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px) !important; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  
  /* Section spacing */
  .section { padding: 40px 0 !important; }
  .wrap { padding: 0 16px !important; }
  
  /* Toast above bottom nav */
  .toast {
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }
}

/* Smoother cards */
.product-card, .card, .cat-card {
  transition: transform 0.22s cubic-bezier(0.22, 0.8, 0.28, 1), box-shadow 0.22s;
}
.product-card:active, .cat-card:active {
  transform: scale(0.98);
}

/* ===== Marquee topbar (right → left) ===== */
.topbar {
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
  font-size: 12.5px;
  font-weight: 600;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.topbar:hover .topbar-track {
  animation-play-state: paused;
}

/* Filter labels & chips polish */
.filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2, #6b6b7c);
  margin-bottom: 10px;
}
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface, #16161f);
  border: 1px solid var(--line, #2c2c3a);
  color: var(--muted, #8b8b9e);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover {
  border-color: var(--accent, #6c5ce7);
  color: #fff;
}
.chip.active {
  background: rgba(108, 92, 231, 0.18);
  border-color: rgba(108, 92, 231, 0.45);
  color: #c4bcf8;
}

/* Better product card name for glass */
.product-name {
  font-size: 14px;
  line-height: 1.35;
}
