:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f9ff;
  --panel: #ffffff;
  --panel-2: #e3f2fd;
  --line: #d0e4f7;
  --line-soft: rgba(13, 71, 161, 0.08);
  --text: #0b1220;
  --muted: #5a6b7f;
  --blue: #0d47a1;
  --blue-bright: #1976d2;
  --blue-deep: #0d47a1;
  --cyan: #0288d1;
  --gold: #f5b800;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 16px 40px rgba(13, 71, 161, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "Outfit", "IBM Plex Sans Arabic", sans-serif;
  --topbar-bg: #e8f1fb;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-solid: rgba(255, 255, 255, 0.98);
  --header-shadow: 0 10px 40px rgba(13, 71, 161, 0.08);
  --surface-input: #f0f6fc;
  --icon-btn: #334155;
  --icon-btn-hover: #e3f2fd;
  --nav-link: #5a6b7f;
  --nav-link-hover: #0d47a1;
  --footer-bg: #f5f9ff;
  --footer-link: #5a6b7f;
  --mobile-nav-bg: rgba(255, 255, 255, 0.96);
  --mobile-nav-border: #d0e4f7;
  --hero-bg: linear-gradient(120deg, #eef5ff 0%, #dcecff 45%, #e8f2ff 100%);
  --hero-border: rgba(13, 71, 161, 0.18);
  --hero-text-muted: #5a6b7f;
  --features-bg: linear-gradient(90deg, #f3f8ff, #eaf3ff, #f3f8ff);
  --features-border: rgba(13, 71, 161, 0.16);
  --feature-divider: rgba(13, 71, 161, 0.12);
  --card-bg: #ffffff;
  --card-hover: #f5f9ff;
  --brand-chip-bg: #ffffff;
  --brand-chip-text: #0b1220;
  --promo-alt-bg: linear-gradient(135deg, #e8f1ff 0%, #d4e6ff 100%);
  --promo-alt-text: #0b1220;
  --ghost-border: #c5d8ef;
  --ghost-text: #0d47a1;
  --icon-well: linear-gradient(145deg, #e8f2ff, #d9eaff);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070b;
  --bg-2: #080b12;
  --panel: #0d121a;
  --panel-2: #121824;
  --line: #1c2535;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f7ff;
  --muted: #8b97ab;
  --blue: #1976d2;
  --blue-bright: #3d9dff;
  --blue-deep: #0d47a1;
  --cyan: #00c2ff;
  --gold: #f5b800;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --topbar-bg: #02040a;
  --header-bg: rgba(5, 7, 11, 0.85);
  --header-bg-solid: rgba(5, 7, 11, 0.94);
  --header-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --surface-input: #0e131c;
  --icon-btn: #d5dce8;
  --icon-btn-hover: #151c28;
  --nav-link: #a3aebd;
  --nav-link-hover: #ffffff;
  --footer-bg: #0a0d13;
  --footer-link: #a3adba;
  --mobile-nav-bg: rgba(8, 11, 16, 0.95);
  --mobile-nav-border: #1b2533;
  --hero-bg: linear-gradient(120deg, #05080f 0%, #0a1220 45%, #061428 100%);
  --hero-border: rgba(30, 70, 140, 0.4);
  --hero-text-muted: #a8b3c5;
  --features-bg: linear-gradient(90deg, #08111f, #0b1727, #08111f);
  --features-border: rgba(24, 59, 103, 0.8);
  --feature-divider: rgba(32, 54, 80, 0.8);
  --card-bg: linear-gradient(180deg, #121820 0%, #0a0e14 100%);
  --card-hover: #101827;
  --brand-chip-bg: #090c11;
  --brand-chip-text: #d0d6e0;
  --promo-alt-bg: linear-gradient(135deg, #151b28, #07122c);
  --promo-alt-text: #f4f7ff;
  --ghost-border: #2a3548;
  --ghost-text: #c8d0de;
  --icon-well: linear-gradient(145deg, #172435, #0b1018);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(10, 124, 255, 0.35); color: #fff; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% -10%, rgba(10, 124, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 40%, rgba(0, 80, 180, 0.06), transparent 50%);
}
main, .site-header, .topbar, .footer, .mobile-bottom, .chat-fab, .toast {
  position: relative;
  z-index: 1;
}

/* ========== TOPBAR ========== */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: #9aa6b8;
}
.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__ship { color: var(--blue-bright); font-weight: 500; }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a:hover { color: var(--blue-deep); }
[data-theme="dark"] .topbar__links a:hover { color: #fff; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.35s var(--ease), background 0.35s;
}
.site-header.is-scrolled {
  background: var(--header-bg-solid, var(--header-bg));
  box-shadow: var(--header-shadow, 0 10px 40px rgba(13, 71, 161, 0.08));
}
.nav-wrap {
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0f1c33, #071018);
  border: 1px solid rgba(61, 157, 255, 0.35);
  box-shadow: 0 8px 24px rgba(10, 124, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.brand:hover .brand-mark {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 12px 32px rgba(10, 124, 255, 0.4);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
}
.brand-copy strong {
  font-size: 20px;
  letter-spacing: 2.5px;
  font-weight: 800;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: 4.5px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
}
.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
}
.custom-logo-link img,
.custom-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
}
.footer .brand-logo {
  height: 72px;
  max-width: 220px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-size: 14.5px;
  color: var(--nav-link);
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.main-nav a:hover { color: var(--nav-link-hover); background: var(--line-soft); }
.main-nav a.active { color: var(--nav-link-hover); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 14px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-input);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  height: 40px;
  width: 160px;
  transition: width 0.35s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.header-search:focus-within {
  width: 220px;
  border-color: rgba(10, 124, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.12);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  min-width: 0;
  font-size: 13px;
}
.header-search svg { color: var(--muted); flex-shrink: 0; }

.icon-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--icon-btn);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.icon-btn:hover {
  background: var(--icon-btn-hover);
  color: var(--nav-link-hover);
  transform: translateY(-1px);
}
.icon-btn:active { transform: scale(0.94); }
.cart-btn b {
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--blue);
  color: #fff;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(10, 124, 255, 0.5);
  animation: popIn 0.4s var(--ease);
}
.mobile-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.mobile-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.mobile-menu.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-only { display: none; }

.search-row { padding-bottom: 14px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-input);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 6px 0 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within {
  border-color: rgba(10, 124, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 124, 255, 0.1);
}
.search-box svg { color: var(--muted); flex-shrink: 0; }
.search-box input {
  flex: 1;
  height: 48px;
  background: transparent;
  border: 0;
  color: var(--text);
  outline: 0;
}
.search-box button {
  height: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 700;
  transition: filter 0.25s, transform 0.25s;
}
.search-box button:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ========== HERO ========== */
.hero-section { padding: 22px 0 8px; }
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hero-border);
  background: var(--bg-2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(10, 124, 255, 0.08);
  min-height: 420px;
}
.hero-track { position: relative; min-height: 420px; }
.hero-slide {
  --slide-from: var(--ms-l-from, #eef5ff);
  --slide-to: var(--ms-l-to, #dceaff);
  --slide-text: var(--ms-l-text, var(--text));
  --slide-muted: var(--ms-l-muted, var(--hero-text-muted));
  --slide-accent: var(--ms-l-accent, var(--blue-bright));
  --slide-btn: var(--ms-l-btn, var(--blue));
  --slide-btn-text: var(--ms-l-btn-text, #fff);
  --slide-overlay: var(--ms-overlay, 0.35);
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
  background:
    radial-gradient(ellipse 50% 70% at 15% 50%, color-mix(in srgb, var(--slide-accent) 22%, transparent), transparent 55%),
    radial-gradient(ellipse 40% 50% at 70% 80%, color-mix(in srgb, var(--slide-from) 40%, transparent), transparent 50%),
    linear-gradient(120deg, var(--slide-from) 0%, var(--slide-to) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 48px 56px;
  gap: 20px;
  color: var(--slide-text);
}
[data-theme="dark"] .hero-slide {
  --slide-from: var(--ms-d-from, #05080f);
  --slide-to: var(--ms-d-to, #0a1220);
  --slide-text: var(--ms-d-text, var(--text));
  --slide-muted: var(--ms-d-muted, var(--hero-text-muted));
  --slide-accent: var(--ms-d-accent, var(--blue-bright));
  --slide-btn: var(--ms-d-btn, var(--blue));
  --slide-btn-text: var(--ms-d-btn-text, #fff);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}
.hero-content { position: relative; z-index: 3; max-width: 480px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slide-accent, var(--blue-bright));
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--slide-accent, var(--blue-bright)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--slide-accent, var(--blue-bright)) 30%, transparent);
  margin-bottom: 14px;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--slide-text, var(--text));
}
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #5eb0ff, var(--slide-accent, var(--blue)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p {
  margin: 0;
  font-size: 16.5px;
  color: var(--slide-muted, var(--hero-text-muted));
  max-width: 420px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-slide .hero-btn-primary {
  background: var(--slide-btn, var(--blue));
  border-color: var(--slide-btn, var(--blue));
  color: var(--slide-btn-text, #fff);
}
.hero-slide .hero-btn-primary:hover {
  filter: brightness(1.06);
}
.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  margin-inline-start: auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: color-mix(in srgb, var(--slide-from) calc(var(--slide-overlay) * 100%), transparent);
}

.btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #1a8fff, var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 124, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(10, 124, 255, 0.45); filter: brightness(1.05); }
.btn-ghost {
  border: 1px solid var(--ghost-border);
  color: var(--ghost-text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--blue-bright);
  background: var(--line-soft);
  color: var(--nav-link-hover);
}
.btn-light {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 124, 255, 0.45), transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 4s ease-in-out infinite;
}
.hero-glow--purple { background: radial-gradient(circle, rgba(80, 60, 255, 0.4), transparent 70%); }
.hero-glow--cyan { background: radial-gradient(circle, rgba(0, 200, 255, 0.4), transparent 70%); }
.css-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 300px;
  z-index: 2;
}
.css-stage::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 20px;
  height: 60px;
  background: linear-gradient(90deg, transparent, #0d1a30, transparent);
  transform: skewX(-12deg);
  box-shadow: 0 20px 50px rgba(10, 124, 255, 0.2);
  border-radius: 50%;
  filter: blur(2px);
}
.stage-beam {
  position: absolute;
  left: 42%;
  bottom: 40px;
  width: 3px;
  height: 220px;
  background: linear-gradient(to top, var(--blue), transparent);
  box-shadow: 0 0 20px var(--blue), 0 0 40px rgba(10,124,255,0.5);
  animation: beamPulse 2.5s ease-in-out infinite;
  border-radius: 4px;
}
.stage-charger {
  position: absolute;
  left: 42%;
  bottom: 55px;
  width: 130px;
  height: 195px;
  border-radius: 28px;
  background: linear-gradient(105deg, #3a4658 0%, #0a0c10 35%, #1a222e 70%, #4a5566 100%);
  box-shadow: -18px 16px 40px rgba(0,0,0,0.7), inset 2px 0 4px rgba(255,255,255,0.2);
  animation: floatY 5s ease-in-out infinite;
}
.stage-charger::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 12px;
  height: 2px;
  background: #5a6575;
  border-radius: 50%;
}
.stage-charger span {
  position: absolute;
  bottom: 18px; right: 14px;
  color: #5a6578;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-display);
}
.stage-charger small { font-size: 12px; }
.stage-charger i {
  position: absolute;
  right: 14px;
  width: 32px; height: 11px;
  border-radius: 3px;
  background: #030405;
  border: 2px solid #3a4452;
}
.stage-charger i:nth-of-type(1) { top: 48px; }
.stage-charger i:nth-of-type(2) { top: 76px; }
.stage-charger i:nth-of-type(3) { top: 114px; background: #ef651d; border-color: #8a3b18; }

.stage-buds {
  position: absolute;
  left: 8%;
  bottom: 40px;
  width: 118px;
  height: 90px;
  border-radius: 28px;
  background: linear-gradient(145deg, #2a3544, #050608 65%);
  box-shadow: 0 24px 40px rgba(0,0,0,0.6), inset 1px 1px 2px #4a5668;
  animation: floatY 4.5s ease-in-out infinite 0.5s;
}
.stage-buds b {
  position: absolute;
  width: 32px; height: 58px;
  bottom: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2a3544, #050608);
  box-shadow: inset 1px 1px 2px #4a5668;
}
.stage-buds b:first-child { left: 20px; transform: rotate(-10deg); }
.stage-buds b:nth-child(2) { right: 20px; transform: rotate(10deg); }
.stage-buds em {
  position: absolute;
  bottom: 16px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #31ff72;
  box-shadow: 0 0 12px #31ff72;
  animation: blink 2s ease-in-out infinite;
}

.stage-cable {
  position: absolute;
  height: 11px;
  background: linear-gradient(#2a3444, #050608);
  border-radius: 8px;
  transform-origin: left center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}
.stage-cable::after {
  content: "";
  position: absolute;
  right: -28px; top: -5px;
  width: 32px; height: 20px;
  border-radius: 4px;
  background: #2a3444;
}
.stage-cable.c1 { left: 62%; bottom: 110px; width: 150px; --r: -28deg; transform: rotate(-28deg); animation: cableSway 6s ease-in-out infinite; }
.stage-cable.c2 { left: 60%; bottom: 78px; width: 170px; --r: -14deg; transform: rotate(-14deg); animation: cableSway 5s ease-in-out infinite 0.3s; }

.stage-power {
  position: absolute;
  left: 35%;
  bottom: 50px;
  width: 90px; height: 160px;
  border-radius: 22px;
  background: linear-gradient(110deg, #4a5668, #080a0e 40%, #1a222e);
  box-shadow: 0 24px 40px rgba(0,0,0,0.6);
  animation: floatY 5s ease-in-out infinite;
}
.stage-power span {
  position: absolute;
  bottom: 24px; right: 10px;
  color: #5a6578;
  font-size: 14px;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
}
.stage-car {
  position: absolute;
  left: 12%;
  bottom: 55px;
  width: 100px; height: 115px;
  border-radius: 50px 50px 24px 24px;
  background: linear-gradient(130deg, #2d3948, #040507 65%);
  box-shadow: 0 20px 36px rgba(0,0,0,0.55);
  animation: floatCar 4.2s ease-in-out infinite 0.4s;
}
.stage-car::after {
  content: "30W";
  position: absolute;
  bottom: 22px; left: 28px;
  color: #778291;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
}

.digital-cards {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 260px;
  z-index: 2;
}
.d-card {
  position: absolute;
  width: 160px;
  height: 100px;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
.d-card span { font-size: 22px; font-weight: 800; font-family: var(--font-display); }
.d-card small { color: rgba(255,255,255,0.6); font-size: 12px; }
.d1 { background: linear-gradient(135deg, #4b0082, #1a0033); top: 20px; right: 20px; transform: rotate(6deg); animation: floatY 5s ease-in-out infinite; }
.d2 { background: linear-gradient(135deg, #0a7cff, #003d99); top: 70px; left: 10px; transform: rotate(-8deg); animation: floatY 4.5s ease-in-out infinite 0.3s; }
.d3 { background: linear-gradient(135deg, #1a1a1a, #333); bottom: 10px; right: 40px; transform: rotate(3deg); animation: floatY 5.5s ease-in-out infinite 0.6s; }

.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}
.hero-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, color 0.25s;
}
.hero-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.08);
}
.hero-dots { display: flex; gap: 7px; }
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--muted);
  opacity: 0.45;
  padding: 0;
  transition: width 0.4s var(--ease), background 0.3s, border-radius 0.3s, opacity 0.3s;
}
.hero-dots button.active {
  width: 26px;
  border-radius: 6px;
  background: var(--blue);
  opacity: 1;
  box-shadow: 0 0 12px rgba(10, 124, 255, 0.35);
}
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line-soft);
  z-index: 5;
}
.hero-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width 0.05s linear;
}

/* ========== CATEGORIES ========== */
.categories-section { padding: 28px 0 8px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.category-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 12px 16px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s var(--ease) forwards;
}
.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 124, 255, 0.5);
  background: var(--card-hover);
  box-shadow: var(--shadow), 0 0 0 1px rgba(10,124,255,0.15);
}
.category-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: var(--icon-well);
  border: 1px solid var(--line-soft);
  color: var(--blue-bright);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.3s, color 0.3s;
}
.category-card:hover .category-icon {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(10, 124, 255, 0.25);
  color: var(--blue-deep);
  background: var(--panel-2);
}
.category-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.category-card small { color: var(--blue-bright); font-size: 12px; font-weight: 500; }

/* ========== SECTIONS ========== */
.section { padding: 56px 0; }
.section-sm { padding: 28px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}
.section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 13px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.view-all:hover { color: var(--blue-deep); }
.view-all svg { transition: transform 0.3s var(--ease); }
.view-all:hover svg { transform: translateX(-4px); }

/* ========== PRODUCTS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(24px);
  color: var(--text);
}
.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 108, 173, 0.7);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(10,124,255,0.12);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(10,124,255,0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

.product-badge {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(10,124,255,0.4);
}
.heart {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: color 0.25s, background 0.25s, transform 0.25s;
}
.heart:hover { color: #ff4f73; transform: scale(1.08); }
.heart.active {
  color: #ff4f73;
  background: rgba(255, 79, 115, 0.15);
  border-color: rgba(255, 79, 115, 0.3);
}
.heart.active svg { fill: currentColor; }

.product-image {
  height: 180px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  position: relative;
}
.product-art {
  position: relative;
  width: 110px;
  height: 130px;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-art { transform: scale(1.08) translateY(-4px); }

.art-charger {
  background: linear-gradient(130deg, #3b4655, #050607 55%, #1b242e);
  border-radius: 24px;
  box-shadow: 0 20px 32px rgba(0,0,0,0.5);
  width: 100px; height: 140px;
}
.art-charger::before {
  content: "65W";
  position: absolute;
  bottom: 16px; right: 14px;
  color: #576372;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
}
.art-charger::after {
  content: "";
  position: absolute;
  right: 12px; top: 28px;
  width: 30px; height: 48px;
  border-top: 9px solid #020303;
  border-bottom: 9px solid #e15d1d;
  box-shadow: 0 12px #020303;
}

.art-power {
  width: 85px; height: 140px;
  border-radius: 18px;
  background: linear-gradient(110deg, #465363, #050608 42%, #1b2430);
  box-shadow: 0 18px 28px rgba(0,0,0,0.5);
}
.art-power::before {
  content: "10000";
  position: absolute;
  bottom: 18px; right: 10px;
  color: #5b6673;
  transform: rotate(90deg);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
}

.art-earbuds {
  width: 120px; height: 95px;
  top: 20px;
  border-radius: 22px;
  background: linear-gradient(150deg, #fff, #cfd5dd);
  box-shadow: 0 18px 28px rgba(0,0,0,0.45);
}
.art-earbuds::before,
.art-earbuds::after {
  content: "";
  position: absolute;
  width: 22px; height: 55px;
  border-radius: 14px;
  background: #f7f7f7;
  bottom: 60px;
  box-shadow: inset -3px -4px 5px #c7cbd0;
}
.art-earbuds::before { left: 22px; transform: rotate(-8deg); }
.art-earbuds::after { right: 22px; transform: rotate(8deg); }

.art-cable {
  width: 28px; height: 135px;
  border-radius: 10px;
  background: linear-gradient(90deg, #101318, #606b78 45%, #11151b);
  transform: rotate(-12deg);
  box-shadow: 0 16px 24px rgba(0,0,0,0.4);
}
.art-cable::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 28px; height: 135px;
  border-radius: 10px;
  background: inherit;
}

.art-car {
  width: 100px; height: 115px;
  border-radius: 50px 50px 26px 26px;
  background: linear-gradient(130deg, #2d3948, #040507 65%);
  transform: rotate(-7deg);
  box-shadow: 0 18px 28px rgba(0,0,0,0.5);
}
.art-car::after {
  content: "30W";
  position: absolute;
  bottom: 20px; left: 30px;
  color: #778291;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
}

.product-card h3 {
  font-size: 15px;
  margin: 6px 0 4px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card > p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 8px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.rating svg { fill: currentColor; }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.product-price strong {
  color: var(--blue-bright);
  font-size: 17px;
  font-weight: 800;
}
.product-price del {
  color: #6f7886;
  font-size: 12px;
}
.add-cart {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s, background 0.25s, border-color 0.25s, color 0.25s;
}
.product-card:hover .add-cart,
.product-card:focus-within .add-cart {
  opacity: 1;
  transform: translateY(0);
}
.add-cart:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10,124,255,0.35);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}
.slider-dots i {
  width: 8px; height: 8px;
  border-radius: 8px;
  background: #394351;
  transition: width 0.3s, background 0.3s;
}
.slider-dots i.active {
  width: 28px;
  background: var(--blue);
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--features-bg);
  border: 1px solid var(--features-border);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px 12px;
  border-left: 1px solid var(--feature-divider);
  transition: background 0.3s;
}
.feature:last-child { border-left: 0; }
.feature:hover { background: var(--line-soft); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background: rgba(25, 118, 210, 0.1);
  border: 1px solid rgba(25, 118, 210, 0.22);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.feature:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(25, 118, 210, 0.2);
}
.feature strong, .feature small { display: block; }
.feature strong { color: var(--blue-deep); font-size: 14.5px; }
.feature small { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ========== PROMOS ========== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.promo {
  min-height: 230px;
  border-radius: 22px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.promo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.promo-blue {
  background: linear-gradient(135deg, #0170ff 0%, #043eaa 100%);
}
.promo-dark {
  background: var(--promo-alt-bg);
  border: 1px solid var(--features-border);
  color: var(--promo-alt-text);
}
.promo-dark .promo-tag,
.promo-dark h3,
.promo-dark p {
  color: var(--promo-alt-text);
}
.promo-dark .btn-outline {
  border-color: var(--blue-bright);
  color: var(--blue-deep);
  background: #fff;
}
[data-theme="dark"] .promo-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}
.promo-tag {
  display: inline-block;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 8px;
  font-weight: 600;
}
.promo h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 10px;
  font-weight: 800;
}
.promo p {
  margin: 0 0 20px;
  opacity: 0.8;
  font-size: 14px;
  max-width: 280px;
}
.promo-visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.promo-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}
.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.promo-orb--cyan {
  background: radial-gradient(circle, rgba(0, 200, 255, 0.4), transparent 70%);
}
.promo-chip {
  position: absolute;
  inset: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  font-family: var(--font-display);
  border: 1px solid rgba(255,255,255,0.2);
  animation: floatY 4s ease-in-out infinite;
}
.promo-chip--dark {
  background: rgba(10, 124, 255, 0.2);
  font-size: 14px;
  letter-spacing: 1px;
}

/* ========== BRANDS ========== */
.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
  height: 72px;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--brand-chip-bg);
  color: var(--brand-chip-text);
  letter-spacing: 0.5px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.06);
}
.brand-item:hover {
  border-color: rgba(25, 118, 210, 0.45);
  color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .brand-item:hover {
  color: #fff;
}

/* ========== FOOTER ========== */
.footer {
  margin-top: 40px;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 60px 0 40px;
}
.footer p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-grid > div > a:not(.brand) {
  display: block;
  color: var(--footer-link);
  margin: 10px 0;
  font-size: 14px;
  transition: color 0.25s, transform 0.25s;
}
.footer-grid > div > a:not(.brand):hover {
  color: var(--blue-bright);
  transform: translateX(-4px);
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #a3adba;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}
.newsletter form {
  display: flex;
  background: var(--surface-input);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.newsletter form:focus-within {
  border-color: rgba(10, 124, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.1);
}
.newsletter input {
  height: 48px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding: 0 14px;
  flex: 1;
  min-width: 0;
}
.newsletter button {
  padding: 0 18px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 700;
  transition: filter 0.25s;
}
.newsletter button:hover { filter: brightness(1.1); }

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  color: var(--muted);
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.footer-bottom p { margin: 0; }
.pay-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pay-icons span {
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-input);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--muted);
}

.mobile-bottom { display: none; }

.chat-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #1a8fff, var(--blue-deep));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(10, 124, 255, 0.45);
  animation: fabPulse 2.5s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
.chat-fab:hover { transform: scale(1.08); animation: none; }

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  background: linear-gradient(135deg, #1477f8, #0056d6);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(10, 124, 255, 0.35);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
  max-width: min(320px, calc(100vw - 40px));
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.main-nav.open {
  display: flex !important;
  position: absolute;
  top: 100%;
  right: 12px;
  left: 12px;
  background: var(--header-bg-solid, var(--panel));
  backdrop-filter: blur(16px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.35s var(--ease);
  z-index: 110;
}
.main-nav.open a {
  padding: 14px 16px;
  border-radius: 10px;
}
.main-nav.open a.active {
  background: rgba(10, 124, 255, 0.12);
}
.main-nav.open a.active::after { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatCar {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes beamPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes cableSway {
  0%, 100% { transform: rotate(var(--r, -20deg)); }
  50% { transform: rotate(calc(var(--r, -20deg) + 4deg)); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(10,124,255,0.45), 0 0 0 0 rgba(10,124,255,0.35); }
  50% { box-shadow: 0 12px 32px rgba(10,124,255,0.45), 0 0 0 12px rgba(10,124,255,0); }
}
@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-search { display: none; }
  .hero-slide { padding: 40px 36px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu { display: flex; }
  .mobile-only { display: grid; }
  .nav-wrap { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-slide { grid-template-columns: 1fr; min-height: auto; padding: 32px 28px 70px; }
  .hero-visual { min-height: 240px; }
  .css-stage { height: 240px; max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brands-track { animation-duration: 22s; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-left: 0; border-bottom: 1px solid var(--feature-divider); }
  .feature:nth-child(odd) { border-left: 1px solid rgba(32,54,80,0.6); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 700px) {
  body { padding-bottom: 80px; }
  .topbar { display: none; }
  .container { width: min(100% - 24px, 1200px); }
  .nav-wrap { height: 70px; gap: 12px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .brand-copy strong { font-size: 17px; }
  .search-box button { display: none; }
  .search-box { padding-left: 14px; }
  .hero-section { padding-top: 12px; }
  .hero-slider { min-height: auto; border-radius: 20px; }
  .hero-track { min-height: auto; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 14.5px; }
  .hero-actions { margin-top: 20px; }
  .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .stage-charger { width: 100px; height: 150px; left: 44%; }
  .stage-buds { width: 95px; height: 72px; }
  .categories-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .category-card { min-width: 118px; flex-shrink: 0; }
  .section { padding: 40px 0; }
  .section-head { flex-wrap: wrap; }
  .section-head h2 { font-size: 22px; }
  .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 14px;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card {
    min-width: 72%;
    scroll-snap-align: start;
    opacity: 1;
    transform: none;
  }
  .product-card.is-visible { transform: none; }
  .add-cart { opacity: 1; transform: none; }
  .features-grid { grid-template-columns: 1fr 1fr; padding: 4px; }
  .feature { padding: 16px 10px; justify-content: flex-start; gap: 10px; }
  .feature:nth-child(odd) { border-left: 0; }
  .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature strong { font-size: 13px; }
  .feature small { font-size: 11px; }
  .split-grid { grid-template-columns: 1fr; }
  .promo { min-height: 180px; padding: 28px; }
  .promo-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }
  .chat-fab {
    bottom: 90px;
    left: 16px;
    width: 50px; height: 50px;
  }
  .toast { bottom: 90px; right: 16px; left: 16px; max-width: none; }

  .mobile-bottom {
    display: grid;
    position: fixed;
    z-index: 100;
    bottom: 0; left: 0; right: 0;
    height: 68px;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--mobile-nav-border);
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 0 4px;
  }
  .mobile-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: 11px;
    transition: color 0.25s;
  }
  .mobile-bottom a:not(.mobile-logo) { padding: 8px 0; }
  .mobile-bottom .active { color: #1681ff; }
  .mobile-bottom small { font-size: 10px; font-weight: 500; }
  .mobile-bottom .mobile-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a8fff, var(--blue-deep));
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    justify-self: center;
    transform: translateY(-12px);
    box-shadow: 0 8px 28px rgba(0, 116, 255, 0.5);
    border: 3px solid var(--bg);
    overflow: hidden;
    padding: 8px;
  }
  .mobile-bottom .mobile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}

@media (max-width: 400px) {
  .product-card { min-width: 78%; }
  .hero-content h1 { font-size: 32px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.theme-toggle { position: relative; }
.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;
}

/* WooCommerce product grid alignment */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-filters { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.shop-filters h3 { margin: 0 0 12px; font-size: 1rem; }
.shop-filters label { display: block; margin: 8px 0; color: var(--muted); font-size: 0.9rem; }
.shop-filters input[type="number"], .shop-filters select { width: 100%; margin-top: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); }
.shop-filters .filter-actions { display: flex; gap: 8px; margin-top: 16px; }
.product-type-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--panel-2); color: var(--blue-deep); }
.product-card { position: relative; }
.woocommerce-page .site-main, .page .site-main, .error404 .site-main { padding: 40px 0 80px; }
.content-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.admin-drag-list { list-style: none; margin: 0; padding: 0; max-width: 420px; }
.admin-drag-list li { background: #fff; border: 1px solid #ccd0d4; padding: 10px 12px; margin: 0 0 8px; cursor: move; border-radius: 4px; }
