/* ==========================================
   LeoStore - Main CSS
   Dark premium design system
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   CSS Variables (Design System)
   ========================================== */
:root {
  /* Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.3);
  --secondary: #a855f7;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0ea5e9;

  /* Backgrounds */
  --bg-base: #0a0a0f;
  --bg-card: #13131a;
  --bg-card-hover: #1a1a25;
  --bg-surface: #1e1e2e;
  --bg-surface2: #252535;
  --bg-overlay: rgba(10, 10, 15, 0.95);

  /* Text */
  --text-primary: #f1f1f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.5);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1, #a855f7);
  --grad-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1030 50%, #0a0a0f 100%);
  --grad-card: linear-gradient(145deg, #13131a, #1a1a25);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--primary-glow);

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

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-header: 100;
  --z-modal: 1000;
  --z-toast: 2000;
  --z-vpn-block: 9999;
}

/* Light mode */
[data-theme="light"] {
  --bg-base: #f8f9ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0ff;
  --bg-surface: #eeeeff;
  --bg-surface2: #e5e5f5;
  --bg-overlay: rgba(248, 249, 255, 0.97);
  --text-primary: #1a1a2e;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(99,102,241,0.1);
  --shadow-md: 0 8px 32px rgba(99,102,241,0.15);
}

/* ==========================================
   Reset & Base
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ==========================================
   Scrollbar
   ========================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ==========================================
   Animated Background
   ========================================== */
.bg-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle linear infinite;
}
.particle:nth-child(1) { width: 4px; height: 4px; background: var(--primary); left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; background: var(--secondary); left: 25%; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3) { width: 3px; height: 3px; background: var(--accent); left: 40%; animation-duration: 18s; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; background: var(--info); left: 60%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { width: 4px; height: 4px; background: var(--primary); left: 75%; animation-duration: 17s; animation-delay: 3s; }
.particle:nth-child(6) { width: 7px; height: 7px; background: var(--secondary); left: 85%; animation-duration: 25s; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; background: var(--accent); left: 50%; animation-duration: 19s; animation-delay: 7s; }
.particle:nth-child(8) { width: 5px; height: 5px; background: var(--success); left: 90%; animation-duration: 21s; animation-delay: 9s; }

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ==========================================
   Container (Ancho Completo y Fluido)
   ========================================== */
.container {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
  position: relative;
  z-index: 1;
}
.catalog-section .container {
  max-width: 1720px;
}

/* ==========================================
   VPN Block Overlay
   ========================================== */
#vpn-block {
  position: fixed;
  inset: 0;
  z-index: var(--z-vpn-block);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
}
.vpn-block-inner {
  text-align: center;
  padding: 60px 40px;
  max-width: 480px;
}
.vpn-block-icon {
  font-size: 80px;
  margin-bottom: 24px;
  display: block;
  animation: vpnPulse 2s ease-in-out infinite;
}
@keyframes vpnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.vpn-block-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--danger);
}
.vpn-block-msg {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================
   Announcement Banner
   ========================================== */
#announcement-bar {
  background: linear-gradient(90deg, var(--danger), #f97316, var(--danger));
  background-size: 200% auto;
  animation: gradientShift 3s linear infinite;
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 99;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.announcement-close:hover { opacity: 1; }

/* ==========================================
   Header
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
[data-theme="light"] .header {
  background: rgba(248, 249, 255, 0.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.25s ease;
}
.logo:hover {
  transform: translateY(-1px);
}
.logo-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo:hover .logo-avatar-wrap {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.75), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  background: #10b981;
  border: 2.5px solid var(--bg-base);
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-verified-badge {
  font-size: 0.85rem;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
}
[data-theme="light"] .logo-title {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-subtitle {
  font-size: 0.74rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.btn-theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-whatsapp-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.btn-cart-header {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.btn-cart-header:hover { background: var(--primary); border-color: var(--primary); }
.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-base);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero Top Bar (Geo badge & Online indicator) */
.hero-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-online-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #34d399;
}
.hero-founder-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  padding: 5px 16px 5px 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-founder-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}
.hero-founder-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}
.hero-founder-pill strong {
  color: #f59e0b;
  font-weight: 800;
}
.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 1.8s infinite;
}

/* ==========================================
   Promotional Banner Carousel
   ========================================== */
.promo-carousel-wrap {
  position: relative;
  max-width: 1380px;
  margin: 36px auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 380px;
  display: flex;
  background: #0f111a;
}
.promo-carousel-track {
  width: 100%;
  position: relative;
  min-height: 380px;
}
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.98);
  display: flex;
  align-items: center;
}
.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}
.promo-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease-out;
}
.promo-slide.active .promo-slide-bg {
  transform: scale(1.05);
}
.promo-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 20, 0.95) 0%, rgba(10, 11, 20, 0.8) 55%, rgba(10, 11, 20, 0.35) 100%);
}
[data-theme="light"] .promo-slide-overlay {
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.82) 55%, rgba(248, 250, 252, 0.4) 100%);
}
.promo-slide-content {
  position: relative;
  z-index: 3;
  padding: 44px 56px;
  text-align: left;
  max-width: 660px;
}
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e50914, #b20710);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}
.promo-tag-combo {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.promo-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .promo-title {
  color: #0f172a;
  text-shadow: none;
}
.promo-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 26px;
}
[data-theme="light"] .promo-desc {
  color: #334155;
}
.promo-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-promo-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e50914, #ff3838);
  color: white;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.6);
  color: white;
}
.btn-promo-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.btn-promo-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.5);
  color: white;
}
.btn-promo-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}
[data-theme="light"] .btn-promo-secondary {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}
.btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.promo-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
}
.promo-nav-btn:hover {
  background: rgba(99, 102, 241, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.promo-prev { left: 16px; }
.promo-next { right: 16px; }

.promo-indicators {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.promo-dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.promo-dot.active {
  background: #e50914;
  width: 42px;
  box-shadow: 0 0 10px #e50914;
}

/* ==========================================
   Leo Personal Trust Card
   ========================================== */
.hero-leo-card {
  max-width: 920px;
  margin: 36px auto 0;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.88) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(245, 158, 11, 0.16);
  border-radius: 22px;
  padding: 26px 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
  backdrop-filter: blur(16px);
  position: relative;
}
[data-theme="light"] .hero-leo-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.leo-avatar-frame {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.55), 0 6px 18px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leo-avatar-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 0 38px rgba(245, 158, 11, 0.75), 0 8px 24px rgba(0, 0, 0, 0.5);
}
.leo-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.leo-avatar-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.leo-status-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 3px solid var(--bg-base);
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}
.leo-card-details {
  flex: 1;
}
.leo-header-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.leo-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0;
}
.leo-badge-verified {
  font-size: 0.78rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.leo-badge-online {
  font-size: 0.76rem;
  color: #34d399;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.leo-badge-online i {
  font-size: 0.5rem;
  animation: pulseGreen 1.5s infinite;
}
.leo-msg {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 4px 0 12px;
}
.leo-perks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.leo-perk {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.leo-perk i {
  color: #f59e0b;
}
.leo-card-cta {
  flex-shrink: 0;
}
.btn-leo-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-leo-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: white;
}

@media (max-width: 768px) {
  .hero-leo-card {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
  }
  .leo-avatar-frame {
    width: 96px;
    height: 96px;
  }
  .leo-header-line {
    justify-content: center;
  }
  .leo-perks {
    justify-content: center;
  }
  .promo-slide-content {
    padding: 30px 24px;
  }
  .promo-carousel-wrap {
    min-height: 420px;
  }
  .promo-carousel-track {
    min-height: 420px;
  }
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-badge i { color: var(--success); }

/* ==========================================
   Catalog Controls (Search & Filters)
   ========================================== */
.catalog-controls {
  margin-bottom: 32px;
}
.search-container {
  position: relative;
  max-width: 680px;
  margin: 0 auto 24px;
  width: 100%;
}
.search-container i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}
.search-input {
  width: 100%;
  padding: 14px 50px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.search-input::placeholder { color: var(--text-muted); }
.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
  transition: var(--transition);
}
.search-clear:hover { color: var(--text-primary); }

/* Filter controls row */
.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}
.filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-sort label { font-size: 0.85rem; color: var(--text-muted); }
.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--primary); }
.toggle-agotados {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.toggle-agotados input { accent-color: var(--primary); width: 16px; height: 16px; }
.results-count { font-size: 0.85rem; color: var(--text-muted); }

/* Category tabs - Ancho Completo sin cortes */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
}
.cat-tab:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}
.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.cat-count {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.cat-tab.active .cat-count {
  background: rgba(255, 255, 255, 0.28);
}
.cat-tab:not(.active) .cat-count {
  background: var(--bg-surface);
  color: var(--text-muted);
}

/* ==========================================
   Products Grid - Ancho Completo
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 60px;
  width: 100%;
}

/* ==========================================
   Product Card
   ========================================== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  animation: cardIn 0.4s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 30px var(--primary-glow);
  background: var(--bg-card-hover);
}
.product-card.agotado { opacity: 0.75; }

/* Streaming and Combos special styling */
.product-card[data-cat="streaming"] {
  border-color: rgba(229, 9, 20, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.product-card[data-cat="streaming"]:hover {
  border-color: rgba(229, 9, 20, 0.65);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 9, 20, 0.25);
}
.product-card[data-cat="streaming"] .card-category {
  color: #ff3838 !important;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}
.product-card[data-cat="combos"] {
  border-color: rgba(139, 92, 246, 0.3);
}
.product-card[data-cat="combos"]:hover {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.3);
}

/* Card image area */
.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-surface);
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-image-wrap img { transform: scale(1.05); }

/* No image placeholder */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface2));
  gap: 10px;
}
.card-img-placeholder i { font-size: 3rem; opacity: 0.3; }
.card-img-placeholder span { font-size: 0.8rem; color: var(--text-muted); }

/* Image carousel indicators */
.card-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.card-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.card-indicator.active { background: white; width: 16px; border-radius: 3px; }

/* Carousel nav */
.card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.card-nav-prev { left: 8px; }
.card-nav-next { right: 8px; }
.product-card:hover .card-nav { opacity: 1; }
.card-nav:hover { background: var(--primary); }

/* Agotado overlay */
.agotado-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.agotado-tag {
  background: var(--danger);
  color: white;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transform: rotate(-5deg);
}

/* Countdown timer */
.countdown-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: var(--warning);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Badges */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}
.badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-destacado { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.badge-oferta { background: linear-gradient(135deg, var(--danger), #c2410c); color: white; }
.badge-nuevo { background: linear-gradient(135deg, var(--success), #047857); color: white; }
.badge-limitado { background: linear-gradient(135deg, var(--info), #0369a1); color: white; }
.badge-agotado { background: linear-gradient(135deg, #374151, #1f2937); color: #9ca3af; }

/* Card body */
.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating stars */
.card-rating {
  display: flex;
  gap: 3px;
}
.card-rating i { color: var(--warning); font-size: 0.75rem; }

/* Price */
.card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-discount {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Card actions */
.card-actions {
  display: flex;
  gap: 8px;
  padding: 0 18px 18px;
}
.btn-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}
.btn-action:hover { transform: translateY(-3px) scale(1.08); }
.btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  flex: 1;
  width: auto;
  border-radius: var(--radius-md);
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
.btn-wa:hover { box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
.btn-cart-card {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-cart-card:hover { box-shadow: 0 8px 24px rgba(99,102,241,0.5); }
.btn-details {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-details:hover { background: var(--bg-surface2); color: var(--text-primary); }
.btn-share {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-share:hover { background: var(--info); color: white; border-color: var(--info); }

/* Disabled state */
.btn-action.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================
   Product Detail Modal
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
}
.modal-close:hover { background: var(--danger); color: white; border-color: var(--danger); }
.modal-images {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.modal-img.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--bg-surface);
  gap: 12px;
}
.modal-img-placeholder i { font-size: 4rem; opacity: 0.2; }
.modal-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.modal-img-nav:hover { background: var(--primary); }
.modal-img-prev { left: 10px; }
.modal-img-next { right: 10px; }
.modal-img-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.modal-dot.active { background: white; width: 20px; border-radius: 4px; }
.modal-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.modal-category {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.modal-rating { display: flex; gap: 4px; }
.modal-rating i { color: var(--warning); font-size: 0.85rem; }
.modal-price-block {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-price-original {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1rem;
}
.modal-price-current {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-line;
  flex: 1;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-modal-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
.btn-modal-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-modal-secondary:hover { background: var(--bg-surface2); color: var(--text-primary); }
.btn-modal-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-modal-share:hover { color: var(--info); border-color: var(--info); }

/* Avisa disponible form */
.avisa-form {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.avisa-form label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
.avisa-input-row { display: flex; gap: 8px; }
.avisa-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}
.avisa-input:focus { border-color: var(--primary); }
.avisa-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.avisa-btn:hover { background: var(--primary-dark); }

/* ==========================================
   Cart Drawer
   ========================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition-slow);
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-title { font-size: 1.1rem; font-weight: 700; }
.cart-close {
  width: 32px;
  height: 32px;
  background: var(--bg-surface);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-close:hover { background: var(--danger); color: white; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  padding: 40px;
  text-align: center;
}
.cart-empty i { font-size: 3rem; opacity: 0.3; }
.cart-item {
  display: flex;
  gap: 12px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 12px;
  align-items: center;
}
.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-surface2);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: 0.85rem; color: var(--primary); font-weight: 700; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface2);
  border: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-remove:hover { color: var(--danger); background: rgba(239,68,68,0.1); }
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total-label { color: var(--text-secondary); }
.cart-total-price { font-size: 1.3rem; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
.btn-clear-cart {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.btn-clear-cart:hover { border-color: var(--danger); color: var(--danger); }

/* ==========================================
   Floating Buttons
   ========================================== */
.float-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: white;
  font-size: 1.4rem;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.float-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: pulsGreen 3s infinite;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.float-cart-btn {
  background: var(--grad-primary);
  animation: pulsePurple 3s infinite 1.5s;
  box-shadow: 0 8px 30px var(--primary-glow);
}
@keyframes pulsGreen {
  0%,100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.15); }
}
@keyframes pulsePurple {
  0%,100% { box-shadow: 0 8px 30px var(--primary-glow); }
  50% { box-shadow: 0 8px 30px rgba(99,102,241,0.7), 0 0 0 8px rgba(99,102,241,0.15); }
}
.float-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--danger);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-base);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
  padding: 60px 0;
  text-align: center;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-active); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 12px; }
.testimonial-stars i { color: var(--warning); font-size: 0.85rem; }
.testimonial-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-country { font-size: 0.75rem; color: var(--text-muted); }

/* ==========================================
   Toast Notifications
   ========================================== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.3s ease;
  transition: var(--transition);
}
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--info); }
.toast-icon { font-size: 1.2rem; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.info .toast-icon { color: var(--info); }
.toast-text { font-size: 0.9rem; flex: 1; }
.toast-close { background: none; border: none; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.toast-close:hover { color: var(--text-primary); }

/* ==========================================
   Empty State
   ========================================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 4rem; opacity: 0.2; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 8px; }

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-avatar-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.footer-avatar-wrap:hover {
  transform: scale(1.08);
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand-sub {
  font-size: 0.74rem;
  color: #f59e0b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-geo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}
.footer-copy {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   PWA Install Banner
   ========================================== */
#pwa-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  box-shadow: var(--shadow-md);
  z-index: 600;
  animation: slideUp 0.4s ease;
  display: none;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pwa-icon { font-size: 2rem; }
.pwa-text { flex: 1; }
.pwa-text p { font-size: 0.8rem; color: var(--text-secondary); }
.pwa-text strong { font-size: 0.9rem; display: block; }
.pwa-actions { display: flex; gap: 8px; flex-direction: column; }
.btn-pwa-install {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-pwa-install:hover { background: var(--primary-dark); }
.btn-pwa-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 1.5rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card-image-wrap { height: 150px; }
  .card-body { padding: 12px; gap: 6px; }
  .card-name { font-size: 0.85rem; }
  .price-current { font-size: 1.1rem; }
  .card-actions { padding: 0 12px 12px; gap: 6px; }
  .btn-wa { font-size: 0.75rem; }
  .btn-action { width: 36px; height: 36px; font-size: 0.85rem; }
  .modal { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-images { height: 250px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .modal-content { padding: 20px; }
  .cart-drawer { width: 100%; }
  .trust-badges { gap: 8px; }
  .trust-badge { font-size: 0.75rem; padding: 6px 12px; }
  .float-actions { bottom: 16px; right: 16px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }
  .header-inner { padding: 10px 0; }
  .logo { gap: 10px; }
  .logo-avatar-wrap { width: 52px; height: 52px; padding: 2.5px; }
  .logo-title { font-size: 1.12rem; }
  .logo-subtitle { font-size: 0.66rem; }
  .logo img, .logo-icon { width: 100%; height: 100%; }
  .btn-whatsapp-header span { display: none; }
  .btn-whatsapp-header { padding: 8px 12px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-title { font-size: 1.8rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (min-width: 1440px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}
