/* ============================================================
   SMARTSON ENTERPRISES — INDUSTRIAL-TECH B2B THEME (v15)
   Futuristic dark navy + electric blue + cyan glow
   Light mode: clean enterprise white + electric blue accents
   Font: Inter
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* ─────────────────────────────────────────────
   THEME TOKENS — DARK (default for industrial-tech)
   ───────────────────────────────────────────── */
:root, :root[data-theme="dark"] {
  /* Backgrounds — matte navy / graphite */
  --bg:        #0B1220;            /* deepest base */
  --bg-deep:   #0F172A;            /* main page bg (slate-900) */
  --bg-tint:   #111827;            /* subtle surface tint (gray-900) */

  /* Surfaces — dark steel with subtle gradients */
  --surface:   rgba(22, 32, 52, 0.72);          /* glass card */
  --surface-2: #162033;                          /* solid steel */
  --surface-3: #1B2740;                          /* lighter steel */
  --surface-glass: rgba(15, 23, 42, 0.62);      /* nav glass */

  /* Accents — electric blue + cyan */
  --primary:        #3B82F6;       /* electric blue */
  --primary-bright: #60A5FA;       /* lighter blue */
  --primary-hover:  #2563EB;       /* deeper blue */
  --primary-soft:   rgba(59, 130, 246, 0.12);
  --accent-cyan:    #06B6D4;       /* cyan glow */
  --accent-cyan-bright: #22D3EE;
  --accent-teal:    #2DD4BF;       /* optional neon teal highlight */

  /* Gradient — branded electric */
  --grad-cta: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  --grad-cta-hover: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  --grad-line: linear-gradient(90deg, transparent, #3B82F6 20%, #06B6D4 50%, #3B82F6 80%, transparent);

  /* Text */
  --text:      #F8FAFC;            /* pure white-ish */
  --text-soft: #CBD5E1;            /* slate-300 */
  --muted:     #94A3B8;            /* slate-400 */

  /* Borders */
  --hairline:      rgba(148, 163, 184, 0.12);
  --border-soft:   rgba(148, 163, 184, 0.10);
  --border-strong: rgba(59, 130, 246, 0.45);
  --border-glow:   rgba(6, 182, 212, 0.40);

  /* Header glass */
  --header-bg: rgba(11, 18, 32, 0.62);
  --header-border: rgba(148, 163, 184, 0.10);

  /* Shadows — cyber glow */
  --shadow-sm: 0 2px 14px -4px rgba(0,0,0,0.55);
  --shadow-md: 0 14px 38px -14px rgba(0,0,0,0.65);
  --shadow-lg: 0 28px 60px -22px rgba(0,0,0,0.75);
  --shadow-glow: 0 10px 40px -10px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.20);
  --shadow-cyan: 0 10px 40px -10px rgba(6, 182, 212, 0.45), 0 0 0 1px rgba(6, 182, 212, 0.22);

  /* Footer */
  --footer-bg:   #070C18;
  --footer-text: #94A3B8;

  /* Selection */
  --select-bg: #3B82F6;
  --select-fg: #FFFFFF;

  color-scheme: dark;
}

/* ─────────────────────────────────────────────
   THEME TOKENS — LIGHT (clean enterprise)
   ───────────────────────────────────────────── */
:root[data-theme="light"] {
  --bg:        #FFFFFF;
  --bg-deep:   #F8FAFC;            /* slate-50 */
  --bg-tint:   #F1F5F9;            /* slate-100 */

  --surface:   #FFFFFF;
  --surface-2: #F1F5F9;
  --surface-3: #E2E8F0;
  --surface-glass: rgba(255, 255, 255, 0.78);

  --primary:        #2563EB;
  --primary-bright: #3B82F6;
  --primary-hover:  #1D4ED8;
  --primary-soft:   rgba(37, 99, 235, 0.08);
  --accent-cyan:    #0891B2;
  --accent-cyan-bright: #06B6D4;
  --accent-teal:    #0D9488;

  --grad-cta: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  --grad-cta-hover: linear-gradient(135deg, #1D4ED8 0%, #0E7490 100%);
  --grad-line: linear-gradient(90deg, transparent, #2563EB 20%, #0891B2 50%, #2563EB 80%, transparent);

  --text:      #0F172A;
  --text-soft: #1E293B;
  --muted:     #64748B;

  --hairline:      #E2E8F0;
  --border-soft:   rgba(15, 23, 42, 0.08);
  --border-strong: rgba(37, 99, 235, 0.35);
  --border-glow:   rgba(8, 145, 178, 0.40);

  --header-bg: rgba(255, 255, 255, 0.78);
  --header-border: rgba(15, 23, 42, 0.06);

  --shadow-sm: 0 2px 12px -3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 24px 56px -18px rgba(15, 23, 42, 0.22);
  --shadow-glow: 0 14px 40px -12px rgba(37, 99, 235, 0.35), 0 0 0 1px rgba(37, 99, 235, 0.18);
  --shadow-cyan: 0 14px 40px -12px rgba(8, 145, 178, 0.30), 0 0 0 1px rgba(8, 145, 178, 0.18);

  --footer-bg:   #0B1220;
  --footer-text: #CBD5E1;

  --select-bg: #2563EB;
  --select-fg: #FFFFFF;

  color-scheme: light;
}

/* ─────────────────────────────────────────────
   GLOBAL RESET / BASE
   ───────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  background: var(--bg-deep);
  color: var(--text);
  margin: 0; padding: 0;
  min-height: 100%;
  transition: background 320ms ease, color 320ms ease;
}

/* ── Skip to main content (accessibility + SEO) ── */
.skip-to-main {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip-to-main:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01","cv11";
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Subtle ambient grid pattern on dark mode body */
:root[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(59,130,246,0.10) 0%, transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(6,182,212,0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--select-bg); color: var(--select-fg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ─────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }

.font-display {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .container { padding: 0 20px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.muted { color: var(--muted); font-size: 14px; line-height: 1.7; }
.hide-sm { display: none; }
@media (min-width: 768px) { .hide-sm { display: inline; } }

/* Gradient text utility */
.gradient-text {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────────
   HEADER — Glassmorphism sticky navbar
   ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background 280ms, border-color 280ms, box-shadow 280ms;
}
.site-header.scrolled {
  box-shadow: 0 8px 32px -16px rgba(0,0,0,0.45), 0 1px 0 0 var(--header-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.logo-img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 200px !important;
  display: block;
  object-fit: contain;
  transition: transform 380ms cubic-bezier(.2,.8,.2,1), filter 280ms;
  background: transparent;
}
.logo:hover .logo-img { transform: scale(1.04); filter: drop-shadow(0 0 14px rgba(59,130,246,0.35)); }

.nav-main { display: none; gap: 4px; }
.nav-main a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
  padding: 9px 16px;
  border-radius: 8px;
  transition: color 200ms, background 200ms;
}
.nav-main a:hover { color: var(--text); background: var(--primary-soft); }
.nav-main a.active,
.nav-main a[aria-current] {
  color: var(--text);
  background: var(--primary-soft);
}
.nav-main a.active::after,
.nav-main a[aria-current]::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--grad-cta);
  border-radius: 2px;
}
.nav-main a::after { display: none; }
@media (min-width: 768px) { .nav-main { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.cart-link {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--text-soft);
  transition: all 220ms;
}
.cart-link:hover {
  color: var(--primary-bright);
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 9999px;
  min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow: 0 0 0 2px var(--bg-deep), 0 4px 14px -4px rgba(59,130,246,0.6);
}

.btn-link { font-size: 13px; color: var(--text-soft); padding: 6px 6px; font-weight: 500; }
.btn-link.muted { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.btn-link:hover { color: var(--primary-bright); }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 10px;
  transition: all 240ms cubic-bezier(.2,.8,.2,1);
  padding: 0;
}
.theme-toggle:hover {
  color: var(--accent-cyan-bright);
  border-color: var(--border-glow);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.10);
  transform: rotate(15deg);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ─────────────────────────────────────────────
   BUTTONS — electric blue gradient, premium glow
   ───────────────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms, background 260ms, border-color 260ms, color 260ms;
  font-family: inherit;
  border-radius: 10px;
  text-transform: none;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-cta);
  border: 1px solid transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background: var(--grad-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(59, 130, 246, 0.70), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-22deg);
  transition: left 720ms cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover::after { left: 150%; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary-bright);
  color: var(--primary-bright);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-primary[disabled], .btn-outline[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-primary:active, .btn-outline:active { transform: translateY(0) scale(0.98); transition-duration: 80ms; }

/* ─────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────── */
.site-main { min-height: calc(100vh - 76px); }
.section { padding: 96px 0; position: relative; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* ─────────────────────────────────────────────
   HERO — Industrial-tech hero with grid + glow
   ───────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-deep);
  isolation: isolate;
}

/* Animated grid pattern */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: -1px -1px; }
  100% { background-position: 56px 56px; }
}

/* Cyan + blue radial glows */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 85% 25%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(59, 130, 246, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow 9s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

.hero-inner {
  position: relative; z-index: 2;
  padding: 84px 0 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.4fr 1fr;
    padding: 110px 0 120px;
    align-items: center;
    gap: 72px;
  }
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 22px 0 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  font-weight: 800;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.hero p {
  color: var(--text-soft);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong);
  background: var(--primary-soft);
  backdrop-filter: blur(8px);
  padding: 7px 14px 7px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-bright);
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 8px;
}
.hero-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 10px var(--accent-cyan-bright);
  animation: pill-pulse 1800ms ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7), 0 0 8px var(--accent-cyan-bright); }
  50%      { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0), 0 0 12px var(--accent-cyan-bright); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* ─────────────────────────────────────────────
   STAT CARDS — glass tiles
   ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  position: relative; overflow: hidden;
  padding: 28px 24px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 360ms cubic-bezier(.2,1,.3,1), box-shadow 360ms, border-color 280ms;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-cta);
  opacity: 0.85;
}
.stat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), transparent 60%);
  opacity: 0; transition: opacity 360ms;
  pointer-events: none;
  border-radius: inherit;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: var(--border-strong); }
.stat-card:hover::after { opacity: 1; }
.stat-card .v {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   CARD / BENTO — premium glass with hover glow
   ───────────────────────────────────────────── */
.card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  padding: 28px;
  border-radius: 14px;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), border-color 280ms, box-shadow 360ms;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.bento { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.bento .card { padding: 36px; position: relative; overflow: hidden; }
.bento .card-7 { grid-column: span 12; }
.bento .card-5 { grid-column: span 12; }
@media (min-width: 900px) {
  .bento .card-7 { grid-column: span 7; }
  .bento .card-5 { grid-column: span 5; }
}
.bento .card::before {
  content: "";
  position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(96,165,250,0.10), transparent);
  transform: skewX(-22deg);
  transition: left 900ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.bento .card:hover::before { left: 160%; }
.bento-row { display: flex; align-items: flex-start; gap: 28px; }
.bento-row > div:first-child { flex: 1; }
.bento-thumb {
  width: 124px; height: 124px;
  background: linear-gradient(135deg, var(--bg-tint), var(--surface-2));
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.bento-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--primary-soft), transparent 70%);
  opacity: 0.6;
}
@media (min-width: 768px) { .bento-thumb { width: 168px; height: 168px; } }
.bento-thumb img { max-width: 78%; max-height: 78%; object-fit: contain; position: relative; z-index: 1; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.bento .card:hover .bento-thumb img { transform: scale(1.08) rotate(-2deg); }
.bento h3 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0 10px;
  letter-spacing: -0.025em;
  color: var(--text);
}
.bento .card:hover h3 { color: var(--primary-bright); transition: color 280ms; }

/* ─────────────────────────────────────────────
   SECTION HEAD
   ───────────────────────────────────────────── */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 48px;
}
.section-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.035em;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}
.section-head h2::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--grad-cta);
  border-radius: 2px;
  transition: width 900ms cubic-bezier(.2,.8,.2,1);
}
.section-head h2.in-view::after,
.section-head.in-view h2::after { width: 64px; }

.section-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--primary-bright);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: gap 220ms, color 220ms;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
}
.section-link:hover { gap: 14px; color: var(--accent-cyan-bright); }

/* ─────────────────────────────────────────────
   PRODUCT GRID — sleek glass cards
   ───────────────────────────────────────────── */
.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: transform 350ms cubic-bezier(.2,1,.3,1), box-shadow 350ms, border-color 280ms;
  box-shadow: var(--shadow-sm);
  position: relative;
  will-change: transform;
}
.product-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(6,182,212,0.40), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 350ms;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-cyan);
}
.product-card:hover::before { opacity: 1; }
.product-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-tint), var(--surface-2));
  border: 1px solid var(--hairline);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 110%, var(--primary-soft), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.product-img img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  position: relative; z-index: 1;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), filter 400ms;
}
.product-card:hover .product-img img {
  transform: scale(1.10);
  filter: brightness(1.05) saturate(1.1) drop-shadow(0 6px 18px rgba(59,130,246,0.25));
}
.product-card .cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  font-weight: 600;
}
.product-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 16px;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.012em;
}
.product-card .price {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.product-card .stock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   INPUTS & FORMS
   ───────────────────────────────────────────── */
.input, select.input, textarea.input {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--text);
  padding: 14px 18px;
  width: 100%;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  border-radius: 10px;
  transition: border-color 220ms, box-shadow 220ms, transform 180ms, background 220ms;
}
.input::placeholder { color: var(--muted); }
.input:focus {
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 4px var(--primary-soft);
  transform: translateY(-1px);
  background: var(--surface-3);
}
.label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.field { margin-bottom: 18px; }

/* ─────────────────────────────────────────────
   PASSWORD TOGGLE — eye icon wrapper
   ───────────────────────────────────────────── */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap .input {
  padding-right: 48px; /* make room for eye button */
}
.pw-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 180ms, background 180ms;
  line-height: 1;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.pw-eye:hover {
  color: var(--text);
  background: var(--surface-2);
}
.pw-eye:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 2px;
}
.pw-eye svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}
.pw-eye .eye-open  { display: block; }
.pw-eye .eye-shut  { display: none; }
.pw-eye.is-visible .eye-open { display: none; }
.pw-eye.is-visible .eye-shut { display: block; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   CHIPS — category filters
   ───────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.02em;
  border: 1px solid var(--hairline);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 240ms cubic-bezier(.2,1.3,.3,1);
  background: var(--surface);
  font-weight: 500;
  border-radius: 9999px;
}
.chip:hover {
  border-color: var(--border-strong);
  color: var(--primary-bright);
  background: var(--primary-soft);
  transform: translateY(-2px);
}
.chip.active {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(59,130,246,0.55);
}

/* ─────────────────────────────────────────────
   PAGE HEAD
   ───────────────────────────────────────────── */
.page-head { padding-top: 60px; padding-bottom: 32px; }
.page-head h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
  color: var(--text);
}

/* ─────────────────────────────────────────────
   TABLES
   ───────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left;
  padding: 14px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 600;
}
.table td {
  padding: 14px 18px;
  border-top: 1px solid var(--hairline);
  vertical-align: middle;
  color: var(--text);
}
.table-wrap {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow-x: auto;
  background: var(--surface);
}

/* ─────────────────────────────────────────────
   CART
   ───────────────────────────────────────────── */
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  margin-bottom: 14px;
  border-radius: 12px;
  transition: border-color 220ms, box-shadow 220ms;
}
.cart-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.cart-item .thumb {
  width: 90px; height: 90px;
  background: var(--bg-tint);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border-radius: 8px;
}
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--surface-2);
  overflow: hidden;
}
.qty-stepper button {
  width: 38px; height: 38px;
  background: transparent;
  color: var(--text);
  border: 0; font-size: 18px;
  cursor: pointer; transition: background 200ms, color 200ms;
}
.qty-stepper button:hover { background: var(--primary-soft); color: var(--primary-bright); }
.qty-stepper span { width: 38px; text-align: center; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.remove-btn { background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: 8px; transition: color 200ms; border-radius: 8px; }
.remove-btn:hover { color: #F87171; background: rgba(248,113,113,0.08); }

.cart-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: 2fr 1fr; align-items: flex-start; } }
.summary {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.summary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-cta);
}
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-total {
  display: flex; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ─────────────────────────────────────────────
   PRODUCT DETAIL
   ───────────────────────────────────────────── */
.product-detail { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.035em;
  color: var(--text);
}
.product-detail .price-big {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 200ms;
}
.specs {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.specs > div {
  padding: 14px 18px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  color: var(--text);
}
.specs > div:first-child { border-top: 0; }
.specs .check {
  color: var(--accent-cyan-bright);
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   SLIDER
   ───────────────────────────────────────────── */
.slider {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
  border-radius: 14px;
}
.slider-track { display: flex; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
.slider-slide {
  flex: 0 0 100%;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-tint), var(--surface-2));
}
.slider-slide img { max-height: 100%; max-width: 100%; object-fit: contain; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--surface-glass);
  border: 1px solid var(--hairline);
  color: var(--text);
  cursor: pointer; font-size: 22px; line-height: 1;
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  transition: all 220ms;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover {
  background: var(--grad-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(59,130,246,0.55);
}
.slider-arrow.prev { left: -22px; }
.slider-arrow.next { right: -22px; }
.slider-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: rgba(148,163,184,0.30);
  border: 0; cursor: pointer; padding: 0;
  transition: all 240ms;
}
.slider-dot.active {
  background: var(--grad-cta);
  width: 26px;
  border-radius: 4px;
}
.slider-thumbs {
  display: flex; gap: 10px;
  padding: 14px;
  overflow-x: auto;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
}
.slider-thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  background: var(--bg-tint);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: border-color 220ms;
}
.slider-thumb img { width: 100%; height: 100%; object-fit: contain; }
.slider-thumb.active { border-color: var(--accent-cyan-bright); box-shadow: 0 0 0 3px rgba(6,182,212,0.18); }

/* ─────────────────────────────────────────────
   TIMELINE
   ───────────────────────────────────────────── */
.timeline {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; margin: 48px 0;
}
.timeline-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 9px; left: 50%; right: -50%;
  height: 2px;
  background: var(--hairline);
}
.timeline-step.done:not(:last-child)::after { background: var(--grad-cta); }
.timeline-dot {
  width: 18px; height: 18px;
  border-radius: 9999px;
  background: var(--surface);
  border: 2px solid var(--hairline);
  position: relative; z-index: 1;
}
.timeline-step.done .timeline-dot {
  background: var(--grad-cta);
  border-color: transparent;
  box-shadow: 0 0 0 6px var(--primary-soft), 0 0 12px var(--primary-bright);
}
.timeline-step .label {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.timeline-step.done .label { color: var(--text); }
@media (max-width: 700px) {
  .timeline { flex-direction: column; align-items: flex-start; gap: 14px; }
  .timeline-step { flex-direction: row; gap: 14px; align-items: center; }
  .timeline-step::after { display: none; }
}

/* ─────────────────────────────────────────────
   TRACK
   ───────────────────────────────────────────── */
.track-form { display: flex; gap: 14px; margin-bottom: 36px; }
.track-form .input { flex: 1; }

/* ─────────────────────────────────────────────
   AUTH
   ───────────────────────────────────────────── */
.auth-card { max-width: 460px; margin: 80px auto; padding: 0 24px; }
.auth-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  margin-bottom: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.035em;
}

/* ─────────────────────────────────────────────
   ALERT
   ───────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid;
  font-size: 14px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.alert-error {
  border-color: rgba(248,113,113,0.40);
  background: rgba(248,113,113,0.08);
  color: #F87171;
}
.alert-success {
  border-color: var(--border-glow);
  background: rgba(6,182,212,0.08);
  color: var(--accent-cyan-bright);
}

/* ─────────────────────────────────────────────
   FOOTER — rich, structured, dark premium
   ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 100px;
  background: var(--footer-bg);
  color: var(--footer-text);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-line);
  background-size: 200% 100%;
  animation: divider-flow 4s linear infinite;
}
.site-footer::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(6,182,212,0.08), transparent 60%);
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.site-footer .logo-text, .site-footer h3 { color: #fff; }
.site-footer .muted { color: var(--footer-text); }
.site-footer .eyebrow { color: var(--accent-cyan-bright); }
.footer-grid {
  display: grid; gap: 36px;
  padding: 80px 32px 40px;
  grid-template-columns: 1fr;
  max-width: 1240px; margin: 0 auto;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; color: var(--footer-text); }
.site-footer ul li a {
  color: var(--footer-text);
  display: inline-block;
  transition: color 220ms, transform 220ms;
}
.site-footer ul li a:hover {
  color: var(--accent-cyan-bright);
  transform: translateX(4px);
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--footer-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}
.site-footer .footer-logo { height: 50px !important; max-height: 50px !important; max-width: 220px !important; filter: brightness(1.05); }

/* ─────────────────────────────────────────────
   WHATSAPP FLOAT
   ───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 9999px;
  box-shadow: 0 18px 44px -12px rgba(37,211,102,0.55);
  font-weight: 600; font-size: 13px;
  transition: transform 220ms, box-shadow 220ms;
}
.whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 22px 52px -12px rgba(37,211,102,0.7); }
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-ring 2400ms ease-out infinite;
  pointer-events: none;
}
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ─────────────────────────────────────────────
   ADMIN
   ───────────────────────────────────────────── */
.admin-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 36px;
  overflow-x: auto;
}
.admin-tabs a {
  padding: 16px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-weight: 600;
  transition: color 220ms, border-color 220ms;
}
.admin-tabs a:hover { color: var(--text-soft); }
.admin-tabs a.active {
  color: var(--primary-bright);
  border-color: var(--primary-bright);
}
.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-bottom: 28px;
}
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.modal-back {
  position: fixed; inset: 0;
  background: rgba(2, 6, 17, 0.65);
  z-index: 70;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.modal {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--hairline);
  width: 100%; max-width: 580px;
  padding: 32px;
  max-height: 90vh; overflow: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────────
   PILLS
   ───────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--surface);
}
.pill.placed     { color: #60A5FA; border-color: rgba(96,165,250,0.35); background: rgba(96,165,250,0.06); }
.pill.processing { color: var(--accent-cyan-bright); border-color: var(--border-glow); background: rgba(6,182,212,0.08); }
.pill.shipped    { color: #A78BFA; border-color: rgba(167,139,250,0.35); background: rgba(167,139,250,0.06); }
.pill.delivered  { color: #34D399; border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.06); }
.pill.cancelled  { color: #F87171; border-color: rgba(248,113,113,0.35); background: rgba(248,113,113,0.06); }

/* ─────────────────────────────────────────────
   HELPERS
   ───────────────────────────────────────────── */
.flex { display: flex; align-items: center; gap: 14px; }
.gap-3 { gap: 12px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.between { justify-content: space-between; }
.shrink { flex-shrink: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--primary-soft);
  border: 1px solid var(--border-strong);
  color: var(--primary-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 9999px;
}

/* ─────────────────────────────────────────────
   MOBILE / HAMBURGER
   ───────────────────────────────────────────── */
.hide-on-mobile { display: none; }
@media (min-width: 768px) { .hide-on-mobile { display: inline-flex; } }

.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 12px;
  transition: border-color 220ms, background 220ms;
}
.hamburger:hover { border-color: var(--border-strong); background: var(--primary-soft); }
.hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--text);
  transition: transform 240ms, opacity 240ms;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-deep);
  backdrop-filter: blur(20px);
  padding: 32px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 10000;
  overflow-y: auto;
  border-top: 1px solid var(--hairline);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), opacity 280ms, visibility 280ms;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu a {
  padding: 18px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--hairline);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.mobile-menu a:hover { color: var(--primary-bright); }
.mobile-menu a.muted {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (min-width: 768px) { .mobile-menu { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; transform: translateY(-110%) !important; } }

/* ─────────────────────────────────────────────
   PAGE FADE & STAGGERED REVEALS
   ───────────────────────────────────────────── */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.site-main { animation: page-fade-in 480ms cubic-bezier(.2,.8,.2,1); }

@keyframes card-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-grid .product-card { animation: card-rise 480ms cubic-bezier(.2,.8,.2,1) backwards; }
.product-grid .product-card:nth-child(1) { animation-delay: 40ms; }
.product-grid .product-card:nth-child(2) { animation-delay: 90ms; }
.product-grid .product-card:nth-child(3) { animation-delay: 140ms; }
.product-grid .product-card:nth-child(4) { animation-delay: 190ms; }
.product-grid .product-card:nth-child(5) { animation-delay: 240ms; }
.product-grid .product-card:nth-child(6) { animation-delay: 290ms; }
.product-grid .product-card:nth-child(n+7) { animation-delay: 340ms; }

/* Hero entrance */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .hero-pill   { animation: hero-fade-up 620ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: 100ms; }
.hero h1           { animation: hero-fade-up 720ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: 180ms; }
.hero p            { animation: hero-fade-up 720ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: 280ms; }
.hero .hero-actions{ animation: hero-fade-up 720ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: 360ms; }
.hero .stats-grid > * { animation: hero-fade-up 720ms cubic-bezier(.2,.8,.2,1) backwards; }
.hero .stats-grid > *:nth-child(1) { animation-delay: 440ms; }
.hero .stats-grid > *:nth-child(2) { animation-delay: 510ms; }
.hero .stats-grid > *:nth-child(3) { animation-delay: 580ms; }
.hero .stats-grid > *:nth-child(4) { animation-delay: 650ms; }

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="left"].in-view  { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 80ms !important; }
[data-reveal-delay="2"] { transition-delay: 160ms !important; }
[data-reveal-delay="3"] { transition-delay: 240ms !important; }
[data-reveal-delay="4"] { transition-delay: 320ms !important; }

/* ─────────────────────────────────────────────
   TOAST
   ───────────────────────────────────────────── */
.toast-stack {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none; max-width: 92vw;
}
.toast {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  font-size: 14px; font-weight: 500;
  animation: toast-in 320ms cubic-bezier(.2,.8,.2,1);
  max-width: 92vw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.success { background: linear-gradient(135deg, #059669, #10B981); color: #fff; border-color: transparent; }
.toast.error   { background: linear-gradient(135deg, #DC2626, #F87171); color: #fff; border-color: transparent; }
.toast.info    { background: var(--grad-cta); color: #fff; border-color: transparent; }
.toast-icon { display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; }
.toast.hide { animation: toast-out 280ms cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes toast-in  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to   { opacity: 0; transform: translateY(14px); } }

/* Loading spinner inside button */
.btn-primary.is-loading, .btn-outline.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-primary.is-loading::after, .btn-outline.is-loading::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: btn-spin 620ms linear infinite;
}
.btn-outline.is-loading::after { border-color: var(--primary-bright); border-top-color: transparent; }
.btn-primary.is-loading::after { border-color: #fff; border-top-color: transparent; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Share button */
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms;
}
.share-btn:hover { border-color: var(--border-strong); color: var(--primary-bright); background: var(--primary-soft); }
.share-btn svg { width: 14px; height: 14px; }

/* GST tag */
.incl-gst-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-left: 8px;
}

/* Order success banner */
.order-success-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.30);
  padding: 36px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 28px;
  overflow: hidden;
}
.success-check-wrap { display: inline-flex; width: 76px; height: 76px; margin-bottom: 18px; position: relative; }
.success-check-circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px -8px rgba(16, 185, 129, 0.55);
  animation: check-pop 520ms cubic-bezier(.2,1.3,.3,1);
}
.success-check-circle svg {
  width: 38px; height: 38px;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: check-draw 420ms cubic-bezier(.2,.8,.2,1) 260ms forwards;
}
@keyframes check-pop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
.order-success-banner h2 {
  font-size: 28px; font-weight: 800; margin: 0 0 6px;
  letter-spacing: -0.025em; color: var(--text);
}
.order-success-banner p { color: var(--text-soft); margin: 0; font-size: 15px; }
.order-success-banner .order-num-chip {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  background: var(--grad-cta);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  font-family: 'JetBrains Mono', monospace;
}

/* Confetti */
.confetti-piece {
  position: absolute; top: -10px;
  width: 8px; height: 14px; opacity: 0;
  animation: confetti-fall 2200ms cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes confetti-fall {
  0%   { opacity: 0; transform: translateY(-20px) rotate(0deg); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(260px) rotate(720deg); }
}

.summary .gst-line { font-size: 12px; color: var(--muted); padding: 4px 0; }
.summary .gst-line .val { color: var(--text-soft); }
.btn-icon { background: transparent; border: 0; cursor: pointer; color: var(--text-soft); padding: 6px; transition: color 200ms; border-radius: 6px; }
.btn-icon:hover { color: var(--primary-bright); background: var(--primary-soft); }

/* Responsive overflow safety */
html, body { overflow-x: hidden; max-width: 100%; }
.container, .footer-grid { max-width: 100%; }
img, svg, video, table { max-width: 100%; }

/* ─────────────────────────────────────────────
   FEATURED CAROUSEL
   ───────────────────────────────────────────── */
.featured-carousel {
  position: relative;
  margin: 0 -8px;
  overflow: hidden;
  padding: 8px 0 16px;
}
.featured-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  transition: transform 620ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.featured-track > .product-card {
  flex: 0 0 calc(25% - 15px) !important;
  width: calc(25% - 15px) !important;
  min-width: 0;
  display: block !important;
  animation: none !important;
}
@media (max-width: 1100px) { .featured-track > .product-card { flex-basis: calc(33.333% - 14px) !important; width: calc(33.333% - 14px) !important; } }
@media (max-width: 900px)  { .featured-track > .product-card { flex-basis: calc(50% - 10px) !important; width: calc(50% - 10px) !important; } }
@media (max-width: 560px)  { .featured-track > .product-card { flex-basis: calc(80% - 10px) !important; width: calc(80% - 10px) !important; } }

.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-soft);
  transition: all 220ms;
}
.carousel-arrow:hover {
  background: var(--grad-cta);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(59,130,246,0.55);
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.30);
  border: 0; cursor: pointer; padding: 0;
  transition: all 240ms;
}
.carousel-dot.active { background: var(--grad-cta); width: 24px; border-radius: 4px; }

/* Animated section divider gradient bar */
.section-divider {
  height: 1px;
  background: var(--grad-line);
  background-size: 200% 100%;
  animation: divider-flow 4s linear infinite;
  border: 0; margin: 0;
}
@keyframes divider-flow {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Bulk CTA section */
.bulk-cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(6,182,212,0.04)) !important;
  border-top: 1px solid var(--hairline) !important;
  border-bottom: 1px solid var(--hairline) !important;
}
.bulk-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan-bright), transparent);
  animation: border-sweep 3.4s linear infinite;
}
@keyframes border-sweep { to { left: 200%; } }

/* Header scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--grad-cta);
  z-index: 9999;
  transition: width 60ms linear;
  box-shadow: 0 0 12px var(--primary-bright);
}

/* SR-only / FAQ */
.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;
}
.faq-item { border-bottom: 1px solid var(--hairline); overflow: hidden; }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  transition: color 200ms;
  letter-spacing: -0.012em;
}
.faq-q:hover { color: var(--primary-bright); }
.faq-q .faq-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-bright);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), background 200ms, color 200ms;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
  transition: max-height 400ms cubic-bezier(.2,.8,.2,1), padding 300ms;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ─────────────────────────────────────────────
   RESPONSIVE TWEAKS
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-inner { height: 64px; }
  .nav-actions { gap: 8px; }
  .cart-link, .theme-toggle, .hamburger { width: 38px; height: 38px; }
  .mobile-menu { top: 64px; padding: 20px 18px; }
  .logo-img { height: 36px !important; max-height: 36px !important; max-width: 160px !important; }
  .site-footer .footer-logo { height: 44px !important; max-height: 44px !important; max-width: 200px !important; }
}

@media (max-width: 700px) {
  .hero-inner { padding: 60px 0 80px; gap: 36px; }
  .hero h1 { font-size: 44px; line-height: 1.06; margin: 22px 0 22px; }
  .hero p { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { flex: 1; min-width: 0; padding: 13px 16px; font-size: 13px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 22px 18px; }
  .stat-card .v { font-size: 32px; }
  .stat-card .l { font-size: 9px; }
}

@media (max-width: 480px) {
  .product-grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .product-card { padding: 14px; }
  .product-img { margin-bottom: 14px; padding: 12px; }
  .product-card h3 { font-size: 14px; line-height: 1.3; margin: 6px 0 12px; }
  .product-card .cat { font-size: 9px; letter-spacing: 0.16em; }
  .product-card .price { font-size: 17px; }
  .product-card .stock { font-size: 9px; }
  .section-head h2 { font-size: 26px; }
  .page-head h1 { font-size: 32px; }
}

@media (max-width: 700px) {
  .bento .card { padding: 24px; }
  .bento h3 { font-size: 22px; margin: 10px 0 8px; }
  .bento-row { gap: 16px; }
  .bento-thumb { width: 100px; height: 100px; }
  .bento .muted { font-size: 13px; }
  .product-detail { gap: 28px; }
  .product-detail h1 { font-size: 28px; line-height: 1.2; }
  .product-detail .price-big { font-size: 36px; }
  .specs > div { padding: 12px 14px; font-size: 13px; }
  .qty-stepper button { width: 34px; height: 34px; font-size: 16px; }
  .qty-stepper span { width: 34px; }
  .btn-primary, .btn-outline { padding: 13px 22px; font-size: 13px; }
}

@media (max-width: 600px) {
  .slider-arrow { width: 36px; height: 36px; font-size: 18px; }
  .slider-arrow.prev { left: -4px; }
  .slider-arrow.next { right: -4px; }
  .slider-slide { padding: 22px; }
  .slider-thumb { flex: 0 0 50px; width: 50px; height: 50px; }
}

@media (max-width: 700px) {
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; padding: 14px; row-gap: 12px; }
  .cart-item .thumb { width: 60px; height: 60px; }
  .cart-item .qty-stepper { grid-column: 1 / -1; justify-self: start; }
  .cart-item .lineprice { grid-column: 2; justify-self: end; min-width: 0 !important; font-size: 15px; }
  .cart-item .remove { grid-column: 3; }
  .summary { padding: 22px; }
  .summary-total { font-size: 22px; }
  .track-form { flex-direction: column; }
  .track-form .btn-primary { width: 100%; }
  .admin-tabs a { padding: 13px 16px; font-size: 10px; }
  .table th, .table td { padding: 11px 14px; font-size: 13px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-row .card { padding: 18px; }
  .stat-row .font-display { font-size: 24px !important; }
}

@media (max-width: 480px) {
  .auth-card { margin: 40px auto; padding: 0 20px; }
  .auth-card h1 { font-size: 30px; }
  .input { padding: 12px 16px; font-size: 14px; }
  .whatsapp-float { bottom: 18px; right: 18px; padding: 12px 14px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

@media (max-width: 600px) {
  .footer-grid { padding: 56px 20px 28px; gap: 28px; }
  .footer-bar { flex-direction: column; padding: 22px; text-align: center; }
  .modal { padding: 22px; max-height: 92vh; }
  .modal h3 { font-size: 22px !important; }
}

@media (max-width: 900px) { .cart-grid { gap: 22px; } }

@media (max-width: 600px) {
  .product-detail .price-big { font-size: 32px; }
  .share-btn { padding: 8px 12px; font-size: 10px; }
}
@media (max-width: 480px) {
  .cart-item > div { min-width: 0; }
  .cart-item div[style*="font-weight"] { word-break: break-word; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .stat-card .v { font-size: 38px; }
}

/* Cart wiggle */
@keyframes cart-wiggle {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(-12deg); }
  40%      { transform: rotate(10deg); }
  60%      { transform: rotate(-6deg); }
  80%      { transform: rotate(4deg); }
}
.cart-link.wiggle svg { animation: cart-wiggle 500ms cubic-bezier(.2,1,.3,1); }

/* Cart badge bump */
@keyframes badge-bounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.cart-badge.bump { animation: badge-bounce 380ms cubic-bezier(.2,1.3,.3,1); }

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