/* ================================================================
   DEVANNA STYLE — E-Commerce Design System v2
   Concepto: "Neon Calle" — Street art mexicano + cerebro reptiliano
   Target: Juventud mexicana streetwear (GDL, CDMX, MTY)
   Principios: Mobile-first, carga rapida, CSS-only 3D, zero deps
   ================================================================ */

/* --- RESET & VARIABLES --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* === NEON CALLE PALETTE === */
  /* Dark base — warm charcoal, not cold blue */
  --bg-void: #080808;
  --bg-deep: #0c0c0c;
  --bg-surface: #121214;
  --bg-card: #1a1a1e;
  --bg-card-hover: #222228;
  --bg-elevated: #2a2a30;

  /* Borders — warm gray */
  --border-subtle: #1e1e22;
  --border-default: #2c2c32;
  --border-strong: #3a3a42;

  /* Text */
  --text-primary: #f5f5f0;
  --text-secondary: #b8b8b0;
  --text-muted: #737370;
  --text-dim: #4a4a48;

  /* Accent — Rosa Mexicano Electrico (identidad, pasion, cultura) */
  --accent: #ff2d7b;
  --accent-bright: #ff4d8f;
  --accent-dim: #cc1a5e;
  --accent-glow: rgba(255, 45, 123, 0.3);
  --accent-soft: rgba(255, 45, 123, 0.08);
  --accent-gradient: linear-gradient(135deg, #ff2d7b 0%, #ff6b35 100%);
  --accent-gradient-h: linear-gradient(90deg, #ff2d7b 0%, #ff4d8f 50%, #ff6b35 100%);

  /* CTA — Lima Neon (GO! compra instintiva, energia, accion) */
  --cta: #00e676;
  --cta-bright: #69f0ae;
  --cta-gradient: linear-gradient(135deg, #00e676 0%, #00c853 100%);
  --cta-glow: rgba(0, 230, 118, 0.35);
  --cta-soft: rgba(0, 230, 118, 0.08);

  /* Secondary neon — Cyan electrico (frescura, tech, confianza) */
  --neon-cyan: #00e5ff;
  --neon-cyan-glow: rgba(0, 229, 255, 0.25);

  /* Semantic */
  --success: #00e676;
  --warn: #ffab00;
  --danger: #ff1744;
  --urgency: #ff1744;

  /* Typography */
  --font-display: 'Archivo Black', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows — neon infused */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --shadow-neon: 0 0 20px var(--accent-glow), 0 0 60px rgba(255, 45, 123, 0.1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar — neon accent */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-primary); }

img { max-width: 100%; display: block; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section-dark { background: var(--bg-deep); }

/* ================================================================
   GLOBAL NEON ANIMATIONS (lightweight, CSS-only)
   ================================================================ */
@keyframes neon-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.85; filter: brightness(1.2); }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow-breathe {
  0%, 100% { box-shadow: 0 0 5px var(--accent-glow), 0 0 15px rgba(255,45,123,0.05); }
  50% { box-shadow: 0 0 15px var(--accent-glow), 0 0 40px rgba(255,45,123,0.12); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ================================================================
   HEADER / NAV — glass morphism + neon border
   ================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s;
}
.site-header.scrolled {
  background: rgba(12, 12, 12, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-bottom-color: rgba(255, 45, 123, 0.15);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); max-width: var(--max-width);
  margin: 0 auto; padding: 0 var(--space-lg);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 2px; color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 45, 123, 0.3);
}
.nav-brand .brand-accent {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
}
.nav-brand .brand-sub {
  font-family: var(--font-body); font-size: 0.6rem;
  font-weight: 600; letter-spacing: 3px;
  color: var(--text-muted); text-transform: uppercase;
  margin-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: var(--space-lg); list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
  color: var(--text-secondary); transition: all 0.25s;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s;
  box-shadow: 0 0 8px var(--accent-glow);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent-bright); }
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius-full);
  background: var(--bg-card); border: 1px solid var(--border-default);
  color: var(--text-secondary); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s; font-family: var(--font-body);
}
.cart-btn:hover {
  border-color: var(--accent); color: var(--accent-bright);
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.15);
}
.cart-btn .cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--cta); color: #000;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5); transition: all 0.25s;
  box-shadow: 0 0 10px var(--cta-glow);
}
.cart-btn .cart-count.visible { opacity: 1; transform: scale(1); }

/* Mobile menu toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text-secondary);
  transition: all 0.3s; border-radius: 1px;
}

/* ================================================================
   HERO — Animated gradient mesh + 3D text
   ================================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 45, 123, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0, 230, 118, 0.06) 0%, transparent 50%),
    var(--bg-void);
  animation: hero-bg-morph 12s ease-in-out infinite alternate;
}
@keyframes hero-bg-morph {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-void) 100%);
}

/* Grid pattern overlay — neon tinted */
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 45, 123, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 123, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-fade 8s ease-in-out infinite alternate;
}
@keyframes grid-fade {
  0% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

/* Floating neon particles (CSS-only, lightweight) */
.hero-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  animation: particle-float linear infinite;
  opacity: 0;
}
.hero-particles span:nth-child(1) { left: 15%; animation-duration: 18s; animation-delay: 0s; background: var(--accent); }
.hero-particles span:nth-child(2) { left: 35%; animation-duration: 22s; animation-delay: 3s; background: var(--cta); }
.hero-particles span:nth-child(3) { left: 55%; animation-duration: 16s; animation-delay: 6s; background: var(--neon-cyan); }
.hero-particles span:nth-child(4) { left: 75%; animation-duration: 20s; animation-delay: 1s; background: var(--accent); width: 2px; height: 2px; }
.hero-particles span:nth-child(5) { left: 90%; animation-duration: 24s; animation-delay: 4s; background: var(--cta); width: 2px; height: 2px; }
.hero-particles span:nth-child(6) { left: 8%; animation-duration: 19s; animation-delay: 8s; background: var(--neon-cyan); width: 2px; height: 2px; }

@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

/* Hero layout: photo bg + text overlay */
.hero .container {
  position: relative; z-index: 3;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 560px; padding: var(--space-2xl) 0;
}

/* Hero photo — full bleed background */
.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  transition: transform 0.15s ease-out;
  will-change: transform;
}
/* Slightly oversized so parallax movement doesn't show edges */
.hero-photo img {
  width: 110%; height: 110%;
  margin: -5% 0 0 -5%;
  object-fit: cover; object-position: center 20%;
  opacity: 0.6;
}
/* Gradient overlays for text readability */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.5) 40%, transparent 70%),
    linear-gradient(180deg, rgba(8,8,8,0.3) 0%, transparent 40%, rgba(8,8,8,0.8) 100%);
}

/* SVG animated overlay — smoke, particles, glow on top of photo */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-full);
  background: var(--accent-soft); border: 1px solid rgba(255, 45, 123, 0.25);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
  color: var(--accent-bright); text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: glow-breathe 3s ease infinite;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse-dot 2s infinite;
  box-shadow: 0 0 6px var(--accent);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50% { opacity: 0.4; box-shadow: 0 0 12px var(--accent); }
}

.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05; letter-spacing: -1px;
  margin-bottom: var(--space-lg);
}
.hero-title .accent { color: var(--accent-bright); }
.hero-title .line-2 {
  display: block;
  background: var(--accent-gradient-h);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

.hero-subtitle {
  font-size: 1.1rem; line-height: 1.7;
  color: var(--text-secondary); max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ================================================================
   BUTTONS — Neon glow + 3D press effect
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  text-decoration: none; min-height: 52px;
  position: relative; overflow: hidden;
}

/* Shimmer effect on buttons */
.btn::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
}
.btn:hover::before {
  animation: shimmer 0.6s ease forwards;
}

.btn-primary {
  background: var(--accent-gradient); color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px var(--accent-glow), 0 0 20px rgba(255,45,123,0.15);
  color: white;
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* Buy/checkout buttons — Lima Neon = "COMPRA AHORA" instinto puro */
.btn-buy {
  background: var(--cta-gradient); color: #000;
  border-color: var(--cta); font-weight: 800;
  box-shadow: 0 4px 20px var(--cta-glow);
}
.btn-buy:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px var(--cta-glow), 0 0 25px rgba(0,230,118,0.2);
  color: #000;
}
.btn-buy:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-outline {
  background: transparent; color: var(--text-secondary);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent-bright);
  background: var(--accent-soft);
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.1);
}

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border-color: transparent; padding: 14px 20px;
}
.btn-ghost:hover { color: var(--accent-bright); }

.btn-sm { padding: 10px 22px; font-size: 0.8rem; min-height: 42px; border-radius: var(--radius-sm); }
.btn-lg { padding: 18px 40px; font-size: 1rem; min-height: 58px; }
.btn-full { width: 100%; }
.btn-icon { padding: 12px; min-height: auto; border-radius: var(--radius-sm); }

/* ================================================================
   SECTION HEADINGS — with neon underline
   ================================================================ */
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-header .overline {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 3px; color: var(--accent-bright);
  text-transform: uppercase; margin-bottom: var(--space-sm);
  text-shadow: 0 0 10px var(--accent-glow);
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.5px; line-height: 1.15;
  margin-bottom: var(--space-md);
}
.section-header p {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 540px; margin: 0 auto;
}

/* ================================================================
   PRODUCT CARDS — 3D tilt + neon hover glow
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative; cursor: pointer;
  transform-style: preserve-3d;
  perspective: 800px;
}
.product-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.4),
    0 0 30px var(--accent-glow),
    inset 0 1px 0 rgba(255,45,123,0.1);
}
.product-card:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.1s;
}
.product-card:hover .product-img img { transform: scale(1.08); }

/* Neon border glow on hover */
.product-card::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--cta));
  z-index: -1; opacity: 0;
  transition: opacity 0.4s;
  filter: blur(8px);
}
.product-card:hover::after { opacity: 0.4; }

.product-badge {
  position: absolute; top: var(--space-md); left: var(--space-md);
  z-index: 2; padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
}
.product-badge.new {
  background: var(--accent); color: white;
  box-shadow: 0 0 12px var(--accent-glow);
}
.product-badge.sale {
  background: var(--danger); color: white;
  box-shadow: 0 0 12px rgba(255, 23, 68, 0.3);
  animation: neon-pulse 2s ease infinite;
}
.product-badge.popular {
  background: var(--bg-elevated); color: var(--cta-bright);
  border: 1px solid rgba(0, 230, 118, 0.3);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
}

.product-img {
  position: relative; overflow: hidden;
  background: var(--bg-surface);
  aspect-ratio: 3/4;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-quick-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(8,8,8,0.95));
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex; gap: var(--space-sm);
}
.product-card:hover .product-quick-add { transform: translateY(0); }

.product-info { padding: var(--space-md) var(--space-md) var(--space-lg); }
.product-category {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.product-name {
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: var(--space-sm); line-height: 1.3;
}
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price .current {
  font-size: 1.15rem; font-weight: 700; color: var(--text-primary);
}
.product-price .original {
  font-size: 0.82rem; color: var(--text-muted);
  text-decoration: line-through;
}

/* Color swatches on card */
.product-colors {
  display: flex; gap: 6px; margin-top: var(--space-sm);
}
.product-color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border-default);
  transition: all 0.2s; cursor: pointer;
}
.product-color-dot:hover { transform: scale(1.3); border-color: var(--accent); }

/* ================================================================
   CATEGORIES / BRAND SECTIONS — glass card effect
   ================================================================ */
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); margin-top: var(--space-xl);
}

.category-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--border-subtle);
  cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.category-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px var(--accent-glow);
}
.category-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8,8,8,0.9) 100%);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.category-card:hover img { transform: scale(1.08); }
.category-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: var(--space-lg);
}
.category-label h3 {
  font-family: var(--font-display); font-size: 1.2rem;
  letter-spacing: 1px; margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.category-label p { font-size: 0.78rem; color: var(--text-secondary); }

/* ================================================================
   VALUE PROPS / FEATURES — animated icon glow
   ================================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  text-align: center; padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.feature-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 15px var(--accent-glow);
}
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  background: var(--accent-soft); border: 1px solid rgba(255, 45, 123, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all 0.35s;
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.1);
}
.feature-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: var(--space-sm); }
.feature-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ================================================================
   SHIPPING BANNER — neon border animated
   ================================================================ */
.shipping-banner {
  background: var(--accent-soft); border: 1px solid rgba(255, 45, 123, 0.2);
  border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-xl);
  display: flex; align-items: center; justify-content: center; gap: var(--space-lg);
  text-align: center; margin: var(--space-xl) 0;
  position: relative; overflow: hidden;
}
/* Animated neon line at top */
.shipping-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-gradient-h);
  background-size: 200% auto;
  animation: gradient-shift 3s ease infinite;
}
.shipping-banner .amount {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--accent-bright);
  text-shadow: 0 0 10px var(--accent-glow);
}
.shipping-banner p {
  font-size: 0.88rem; color: var(--text-secondary);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-deep); border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
}
/* Neon top border */
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl); margin-bottom: var(--space-2xl);
}

.footer-brand .brand-name {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 2px; margin-bottom: var(--space-md);
}
.footer-brand .brand-name span {
  color: var(--accent-bright);
  text-shadow: 0 0 10px var(--accent-glow);
}
.footer-brand .tagline {
  font-size: 0.88rem; color: var(--text-muted);
  margin-bottom: var(--space-lg); line-height: 1.6;
}

.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; transition: all 0.25s;
}
.footer-social a:hover {
  border-color: var(--accent); color: var(--accent-bright);
  background: var(--accent-soft);
  box-shadow: 0 0 12px var(--accent-glow);
}

.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-sm); }
.footer-col a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-bright); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-lg);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--text-dim);
}

/* ================================================================
   CART SIDEBAR — glass + neon
   ================================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 2001;
  width: 420px; max-width: 90vw;
  background: var(--bg-surface); border-left: 1px solid var(--accent-dim);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(255, 45, 123, 0.05);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: var(--space-lg); border-bottom: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 {
  font-family: var(--font-display); font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: var(--accent-bright);
}
.cart-close {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border-default);
  color: var(--text-secondary); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all 0.2s;
}
.cart-close:hover { border-color: var(--accent); color: var(--accent-bright); }

.cart-items { flex: 1; overflow-y: auto; padding: var(--space-md); }

.cart-item {
  display: flex; gap: var(--space-md); padding: var(--space-md);
  border-radius: var(--radius-md); background: var(--bg-card);
  margin-bottom: var(--space-sm); border: 1px solid var(--border-subtle);
  transition: border-color 0.2s;
}
.cart-item:hover { border-color: var(--border-strong); }
.cart-item-img {
  width: 72px; height: 90px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--bg-elevated);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.cart-item-variant { font-size: 0.72rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.cart-item-price {
  font-size: 0.92rem; font-weight: 700;
  color: var(--cta-bright);
}
.cart-item-qty {
  display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm);
}
.qty-btn {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  color: var(--text-secondary); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 0.85rem;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent-bright); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }

.cart-empty {
  text-align: center; padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
}
.cart-empty .icon { font-size: 2.5rem; margin-bottom: var(--space-md); opacity: 0.4; }
.cart-empty p { font-size: 0.88rem; margin-bottom: var(--space-lg); }

.cart-footer {
  padding: var(--space-lg); border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}
.cart-totals { margin-bottom: var(--space-md); }
.cart-total-row {
  display: flex; justify-content: space-between;
  padding: var(--space-sm) 0; font-size: 0.85rem;
}
.cart-total-row.total {
  font-weight: 700; font-size: 1.05rem;
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-md); margin-top: var(--space-sm);
  color: var(--cta-bright);
}
.cart-total-row .free-ship { color: var(--success); font-weight: 600; }

.cart-shipping-progress {
  margin-bottom: var(--space-md); text-align: center;
}
.cart-shipping-progress p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.cart-ship-bar {
  width: 100%; height: 4px; background: var(--border-default);
  border-radius: 2px; overflow: hidden;
}
.cart-ship-fill {
  height: 100%; background: var(--accent-gradient);
  border-radius: 2px; transition: width 0.4s;
}

/* ================================================================
   WHATSAPP FLOAT — pulsing neon
   ================================================================ */
.skip-link {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; padding: 8px 24px; border-radius: var(--radius-sm);
  z-index: 10000; font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 90px; right: 28px; z-index: 899;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-default);
  color: var(--text-muted); font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: var(--accent-dim); color: white;
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 30px rgba(37, 211, 102, 0.15);
  transition: all 0.3s; text-decoration: none;
  animation: wa-pulse 3s ease infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 30px rgba(37, 211, 102, 0.15); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5), 0 0 50px rgba(37, 211, 102, 0.2); }
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5), 0 0 40px rgba(37, 211, 102, 0.25);
  color: white;
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 3000;
  display: flex; flex-direction: column; gap: var(--space-sm);
  pointer-events: none;
}
.toast-msg {
  padding: 14px 28px; border-radius: var(--radius-md);
  background: var(--bg-surface); border: 1px solid var(--border-default);
  color: var(--text-primary); font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  transform: translateY(20px); opacity: 0; transition: all 0.35s;
  text-align: center; white-space: nowrap; pointer-events: auto;
}
.toast-msg.show { transform: translateY(0); opacity: 1; }
.toast-msg.success { border-color: var(--success); }

/* ================================================================
   PRODUCT DETAIL MODAL — glass + 3D entrance
   ================================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); overflow: hidden;
  width: 100%; max-width: 860px; max-height: 90vh;
  display: flex; transform: scale(0.9) translateY(30px) rotateX(3deg);
  opacity: 0; transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 45, 123, 0.08);
  transform-origin: center bottom;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0) rotateX(0); opacity: 1; }

.modal-img {
  width: 45%; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--space-sm);
  position: relative; overflow: hidden;
}
.modal-img-main {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center; flex-direction: column;
  gap: 8px; padding: var(--space-xl);
}
.modal-img-brand {
  font-family: var(--font-display); font-size: 2rem;
  opacity: 0.12; letter-spacing: 3px;
}
.modal-img-name { font-size: 0.8rem; opacity: 0.18; }
.modal-img-badge {
  position: absolute; top: var(--space-md); left: var(--space-md);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
}
.modal-img-badge.new { background: var(--accent); color: white; box-shadow: 0 0 10px var(--accent-glow); }
.modal-img-badge.sale { background: var(--danger); color: white; animation: neon-pulse 2s infinite; }
.modal-img-badge.popular { background: var(--bg-elevated); color: var(--cta-bright); border: 1px solid rgba(0,230,118,0.3); }

.modal-view-tabs {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 2;
  background: rgba(0,0,0,0.6); border-radius: var(--radius-full);
  padding: 4px; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.modal-view-tab {
  padding: 8px 20px; border: none; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  cursor: pointer; transition: all 0.2s;
  background: transparent; color: rgba(255,255,255,0.5);
}
.modal-view-tab.active {
  background: var(--accent); color: white;
  box-shadow: 0 0 8px var(--accent-glow);
}
.modal-view-tab:not(.active):hover {
  color: white; background: rgba(255,255,255,0.1);
}

.modal-body {
  width: 55%; padding: var(--space-xl); overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--space-md);
}
.modal-close {
  position: absolute; top: var(--space-md); right: var(--space-md);
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.5); border: 1px solid var(--border-default);
  color: var(--text-secondary); cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.2s; backdrop-filter: blur(4px);
}
.modal-close:hover { border-color: var(--accent); color: var(--accent-bright); }

.modal-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
}
.modal-title {
  font-family: var(--font-display); font-size: 1.6rem;
  letter-spacing: -0.5px; line-height: 1.2;
}
.modal-price-row { display: flex; align-items: baseline; gap: var(--space-sm); }
.modal-price {
  font-size: 1.6rem; font-weight: 700;
  color: var(--cta-bright);
}
.modal-price-sub { font-size: 0.82rem; color: var(--text-muted); }
.modal-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.modal-prod-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--success); font-weight: 600;
}

/* Color Picker — neon ring */
.modal-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.modal-label span { color: var(--text-primary); font-weight: 600; text-transform: none; letter-spacing: 0; }
.modal-colors {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.modal-color-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--border-default); cursor: pointer;
  transition: all 0.2s; position: relative;
}
.modal-color-btn:hover { transform: scale(1.15); border-color: var(--text-muted); }
.modal-color-btn.active {
  border-color: var(--accent-bright);
  box-shadow: 0 0 15px var(--accent-glow);
}
.modal-color-btn.active::after {
  content: ''; position: absolute; inset: -7px;
  border: 2px solid var(--accent); border-radius: 50%;
  animation: glow-breathe 2s ease infinite;
}

/* Size Picker */
.modal-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-size-btn {
  min-width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 2px solid var(--border-default);
  color: var(--text-secondary); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: flex;
  align-items: center; justify-content: center; padding: 0 12px;
  font-family: var(--font-body);
}
.modal-size-btn:hover { border-color: var(--text-muted); color: var(--text-primary); }
.modal-size-btn.active {
  border-color: var(--accent); color: var(--accent-bright);
  background: var(--accent-soft);
  box-shadow: 0 0 10px rgba(255, 45, 123, 0.15);
}

/* Quantity */
.modal-qty-row {
  display: flex; align-items: center; gap: var(--space-md);
}
.modal-qty {
  display: flex; align-items: center; border-radius: var(--radius-sm);
  border: 1px solid var(--border-default); overflow: hidden;
}
.modal-qty button {
  width: 44px; height: 44px; background: var(--bg-card);
  border: none; color: var(--text-secondary); cursor: pointer;
  font-size: 1.1rem; transition: all 0.2s; display: flex;
  align-items: center; justify-content: center;
}
.modal-qty button:hover { background: var(--bg-elevated); color: var(--accent-bright); }
.modal-qty-val {
  width: 50px; text-align: center; font-size: 1rem;
  font-weight: 700; background: var(--bg-surface);
}

/* Features list */
.modal-features {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.modal-feat-tag {
  padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
}

/* ================================================================
   SCROLL REVEAL — 3D entrance
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance — staggered with scale */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-content .hero-tag { animation: hero-fade-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both; }
.hero-content .hero-title { animation: hero-fade-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s both; }
.hero-content .hero-subtitle { animation: hero-fade-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s both; }
.hero-content .hero-actions { animation: hero-fade-up 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.8s both; }

/* Filter chip — neon active */
.filter-chip.active {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent-bright) !important;
  box-shadow: 0 0 10px rgba(255, 45, 123, 0.15) !important;
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-xl); padding: var(--space-lg) var(--space-md);
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted); font-weight: 500;
}
.trust-item svg, .trust-item .trust-icon {
  flex-shrink: 0; opacity: 0.7;
}
.trust-item strong { color: var(--text-secondary); }

/* ================================================================
   SOCIAL PROOF — neon stat numbers
   ================================================================ */
.social-proof {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg); max-width: 800px; margin: 0 auto;
}
.proof-stat {
  text-align: center; padding: var(--space-lg);
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.proof-stat:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}
.proof-number {
  font-family: var(--font-display); font-size: 2rem;
  color: var(--accent-bright);
  text-shadow: 0 0 15px var(--accent-glow);
  margin-bottom: 4px;
}
.proof-label {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.4;
}

/* Testimonials */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg); margin-top: var(--space-xl);
}
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: var(--space-lg);
  transition: all 0.3s;
}
.testimonial:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--warn); font-size: 0.9rem; margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.88rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: var(--space-md);
  font-style: italic;
}
.testimonial-author {
  font-size: 0.78rem; font-weight: 600; color: var(--text-primary);
}
.testimonial-loc {
  font-size: 0.68rem; color: var(--text-muted);
}

/* ================================================================
   STOCK / URGENCY — pulsing neon
   ================================================================ */
.stock-indicator {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.5px;
}
.stock-low { color: var(--urgency); }
.stock-ok { color: var(--success); }
.stock-dot {
  width: 6px; height: 6px; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.stock-dot.low { background: var(--urgency); box-shadow: 0 0 6px var(--urgency); }
.stock-dot.ok { background: var(--success); box-shadow: 0 0 6px var(--success); }

/* Drop timer */
.drop-timer {
  animation: pulse-urgency 1.5s ease infinite;
}
@keyframes pulse-urgency {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Category card hover */
.category-card:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

/* ================================================================
   EMAIL CAPTURE — neon CTA box
   ================================================================ */
.email-capture {
  background: linear-gradient(135deg, rgba(255, 45, 123, 0.06) 0%, rgba(0, 230, 118, 0.04) 100%);
  border: 1px solid rgba(255, 45, 123, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center; max-width: 700px; margin: 0 auto;
  position: relative; overflow: hidden;
}
/* Animated neon line */
.email-capture::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-gradient-h);
  background-size: 200% auto;
  animation: gradient-shift 3s ease infinite;
}
.email-capture h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}
.email-capture .discount-badge {
  display: inline-block; padding: 6px 20px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient); color: white;
  font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: 1px; margin-bottom: var(--space-md);
  box-shadow: 0 0 20px var(--accent-glow);
  animation: neon-pulse 2.5s ease infinite;
}
.email-capture p {
  font-size: 0.88rem; color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.email-form {
  display: flex; gap: var(--space-sm); max-width: 460px; margin: 0 auto;
}
.email-form input {
  flex: 1; padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border-default);
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 0.88rem; outline: none; transition: all 0.2s;
}
.email-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.15);
}
.email-form input::placeholder { color: var(--text-dim); }
.email-form button {
  padding: 14px 28px; border-radius: var(--radius-md);
  background: var(--cta-gradient); color: #000; border: none;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; white-space: nowrap;
  box-shadow: 0 0 15px var(--cta-glow);
}
.email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--cta-glow);
}
.email-note {
  font-size: 0.68rem; color: var(--text-dim);
  margin-top: var(--space-sm);
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-list {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--space-sm);
}
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--accent-dim); box-shadow: 0 0 15px rgba(255,45,123,0.08); }
.faq-q {
  width: 100%; padding: var(--space-lg) var(--space-lg);
  background: none; border: none; color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-bright); }
.faq-q .faq-arrow {
  font-size: 0.8rem; color: var(--text-muted);
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 var(--space-lg);
}
.faq-item.open .faq-a {
  max-height: 300px; padding: 0 var(--space-lg) var(--space-lg);
}
.faq-a p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7;
}

/* ================================================================
   SIZE GUIDE
   ================================================================ */
.size-guide-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; color: var(--accent-bright);
  cursor: pointer; margin-top: 2px; font-weight: 500;
  background: none; border: none; padding: 0;
  font-family: var(--font-body); text-decoration: underline;
  text-underline-offset: 2px;
}
.size-guide-link:hover { color: var(--text-primary); }

.size-guide-table {
  width: 100%; border-collapse: collapse; margin-top: var(--space-md);
  font-size: 0.8rem;
}
.size-guide-table th {
  background: var(--bg-elevated); color: var(--accent-bright);
  padding: 10px 12px; text-align: left; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.size-guide-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.size-guide-table tr:hover td { background: var(--bg-card); }

/* ================================================================
   GUARANTEE BAR (in modal)
   ================================================================ */
.modal-guarantees {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
}
.modal-guarantee {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--text-muted);
}
.modal-guarantee svg { flex-shrink: 0; }

/* Modal add button — Lima Neon COMPRAR instinto */
.modal-add-btn {
  flex: 1; height: 52px; border-radius: var(--radius-md);
  background: var(--cta-gradient); color: #000; border: none;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 800;
  letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 20px var(--cta-glow);
  position: relative; overflow: hidden;
}
.modal-add-btn::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
}
.modal-add-btn:hover::before { animation: shimmer 0.6s ease forwards; }
.modal-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--cta-glow), 0 0 20px rgba(0,230,118,0.15);
}
.modal-add-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.modal-add-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  transform: none; box-shadow: none;
}

/* Size required flash */
.modal-size-btn.required-flash {
  animation: flash-required 0.6s ease;
}
@keyframes flash-required {
  0%, 100% { border-color: var(--border-default); }
  50% { border-color: var(--urgency); box-shadow: 0 0 12px rgba(255,23,68,0.4); }
}

/* ================================================================
   SECTION DIVIDER — neon gradient line between sections
   ================================================================ */
.section + .section::before,
.section + .section-dark::before,
.section-dark + .section::before {
  content: ''; display: block; height: 1px; margin: 0 auto;
  width: 60%; max-width: 600px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  opacity: 0.3;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .hero-photo img { object-position: center center; }
  .social-proof { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .testimonials { grid-template-columns: 1fr; }
  .trust-bar { gap: var(--space-md); }
}

@media (max-width: 640px) {
  :root { --header-height: 60px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu — glass morphism */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-height); left: 0; right: 0;
    background: rgba(12, 12, 12, 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent-dim);
    padding: var(--space-lg); gap: var(--space-md);
    box-shadow: var(--shadow-lg), 0 4px 20px var(--accent-glow);
  }

  .nav-brand .brand-sub { display: none; }
  .hero { min-height: 85vh; }
  .hero-content { padding: var(--space-xl) 0; max-width: 100%; text-align: center; }
  .hero-content .hero-actions { justify-content: center; }
  .hero-photo img { object-position: 60% center; opacity: 0.4; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(8,8,8,0.5) 0%, rgba(8,8,8,0.2) 30%, rgba(8,8,8,0.75) 100%),
      radial-gradient(ellipse at center, transparent 30%, rgba(8,8,8,0.6) 100%);
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .categories-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .section { padding: var(--space-2xl) 0; }
  .container { padding: 0 var(--space-md); }

  .shipping-banner { flex-direction: column; gap: var(--space-md); padding: var(--space-lg); }
  .shipping-banner > div[style*="width:1px"] { display: none; }

  .social-proof { grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
  .proof-number { font-size: 1.4rem; }
  .proof-stat { padding: var(--space-md); }
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
  .trust-bar { gap: var(--space-md); }
  .trust-item { font-size: 0.7rem; }

  /* Modal mobile — bottom sheet with neon top border */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    flex-direction: column; max-height: 95vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    border-top: 2px solid var(--accent);
  }
  .modal-img { width: 100%; height: 160px; min-height: 160px; flex-shrink: 0; }
  .modal-view-tabs { bottom: 6px; padding: 3px; }
  .modal-view-tab { padding: 6px 16px; font-size: 0.65rem; }
  .modal-body {
    width: 100%; padding: var(--space-lg);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    max-height: calc(95vh - 140px);
  }
  .modal-title { font-size: 1.3rem; }
  .modal-close { top: var(--space-sm); right: var(--space-sm); }

  /* Reduce particle count on mobile for perf */
  .hero-particles span:nth-child(n+4) { display: none; }
}

/* --- SPINNER (Stripe checkout loading) --- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
