/* ===========================
   AJ BROTECH'S — styles.css
   =========================== */

/* Custom Properties */
:root {
  --blue: #0066FF;
  --blue-light: #3385ff;
  --blue-dark: #0044cc;
  --navy: #0A0A2E;
  --navy-light: #12124a;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #999999;
  --gray-600: #666666;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --glow: 0 0 20px rgba(0,102,255,0.6), 0 0 40px rgba(0,102,255,0.3);
  --glow-sm: 0 0 10px rgba(0,102,255,0.5);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== INTRO SCREEN ===== */
#intro-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#intro-screen.hide {
  animation: intro-exit 0.7s cubic-bezier(0.7,0,0.3,1) forwards;
}

@keyframes intro-exit {
  0%   { opacity: 1; transform: scale(1); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.15); pointer-events: none; }
}

#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#intro-logo {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: scale(0.3);
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
}

#intro-logo.show {
  animation: logo-burst 0.6s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
}

@keyframes logo-burst {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.2) rotate(-10deg); filter: brightness(5) blur(10px); }
  40%  { opacity: 1; transform: translate(-50%,-50%) scale(1.25) rotate(3deg);  filter: brightness(3) blur(2px); }
  70%  { transform: translate(-50%,-50%) scale(0.95) rotate(-1deg); filter: brightness(1.5) blur(0); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg);     filter: brightness(1) blur(0); }
}

#intro-logo-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px #0066ff) drop-shadow(0 0 60px #0044cc);
  animation: logo-pulse-intro 0.4s ease infinite alternate;
}

@keyframes logo-pulse-intro {
  from { filter: drop-shadow(0 0 20px #0066ff) drop-shadow(0 0 40px #003399); }
  to   { filter: drop-shadow(0 0 50px #00aaff) drop-shadow(0 0 90px #0066ff); }
}

#intro-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 6px;
  color: #fff;
  margin-top: 12px;
  text-shadow: 0 0 20px #0066ff, 0 0 40px #0044cc;
  opacity: 0;
  animation: none;
}

#intro-logo-text.show {
  animation: text-appear 0.5s ease 0.3s forwards;
}

@keyframes text-appear {
  from { opacity: 0; transform: translateY(10px) letterSpacing 20px; filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

#intro-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(0,102,255,0.8);
  pointer-events: none;
}

#intro-shockwave.show {
  animation: shockwave 1s ease-out forwards;
}

@keyframes shockwave {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(8);   opacity: 0; }
}

/* ===== END INTRO ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-dark));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1000;
}

.announcement-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

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

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10,10,46,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,46,0.97);
  box-shadow: 0 2px 20px rgba(0,102,255,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo imagen real */
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.8)) drop-shadow(0 0 22px rgba(0, 102, 255, 0.5));
  animation: logo-glow 2.5s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.logo-img-sm {
  width: 40px;
  height: 40px;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(0, 140, 255, 1)) drop-shadow(0 0 36px rgba(0, 102, 255, 0.7));
}

@keyframes logo-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(0,102,255,0.6)) drop-shadow(0 0 16px rgba(0,102,255,0.3));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(0,140,255,0.9)) drop-shadow(0 0 35px rgba(0,102,255,0.5));
  }
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 0%, #0066FF 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.logo-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  -webkit-text-fill-color: rgba(255,255,255,0.45);
  margin-top: 1px;
}

/* Remove old logo-mark styles */
.logo-mark { display: none; }

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 8px #0066FF); }
  50% { filter: drop-shadow(0 0 18px #0066FF) drop-shadow(0 0 30px rgba(0,102,255,0.5)); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-checkout-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-checkout-btn:hover {
  box-shadow: var(--glow-sm) !important;
  transform: translateY(-1px);
}

.cart-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-btn:hover {
  background: rgba(0,102,255,0.2);
  box-shadow: var(--glow-sm);
  border-color: var(--blue);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,102,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,102,255,0.1) 0%, transparent 50%),
              linear-gradient(135deg, var(--navy) 0%, #060618 50%, var(--black) 100%);
}

#particleCanvas {
  display: none;
}

/* Partículas CSS puras - sin JS */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hp {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.4);
  animation: hp-float linear infinite;
}

.hp:nth-child(1)  { width:3px; height:3px; left:10%; top:20%; animation-duration:12s; animation-delay:0s; }
.hp:nth-child(2)  { width:2px; height:2px; left:25%; top:60%; animation-duration:18s; animation-delay:-3s; }
.hp:nth-child(3)  { width:4px; height:4px; left:40%; top:30%; animation-duration:14s; animation-delay:-6s; opacity:0.3; }
.hp:nth-child(4)  { width:2px; height:2px; left:55%; top:70%; animation-duration:20s; animation-delay:-2s; }
.hp:nth-child(5)  { width:3px; height:3px; left:70%; top:15%; animation-duration:16s; animation-delay:-8s; opacity:0.5; }
.hp:nth-child(6)  { width:5px; height:5px; left:85%; top:50%; animation-duration:22s; animation-delay:-1s; opacity:0.2; }
.hp:nth-child(7)  { width:2px; height:2px; left:15%; top:80%; animation-duration:13s; animation-delay:-5s; }
.hp:nth-child(8)  { width:3px; height:3px; left:60%; top:40%; animation-duration:17s; animation-delay:-9s; opacity:0.4; }
.hp:nth-child(9)  { width:2px; height:2px; left:80%; top:75%; animation-duration:19s; animation-delay:-4s; }
.hp:nth-child(10) { width:4px; height:4px; left:35%; top:55%; animation-duration:15s; animation-delay:-7s; opacity:0.3; }
.hp:nth-child(11) { width:2px; height:2px; left:90%; top:25%; animation-duration:21s; animation-delay:-11s; }
.hp:nth-child(12) { width:3px; height:3px; left:5%;  top:45%; animation-duration:11s; animation-delay:-2s; opacity:0.5; }

@keyframes hp-float {
  0%   { transform: translateY(0px) translateX(0px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,102,255,0.15);
  border: 1px solid rgba(0,102,255,0.4);
  color: #7ab3ff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: fadeInDown 0.8s ease both;
}

/* Logo grande en hero */
.hero-logo-big {
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(0,140,255,0.9)) drop-shadow(0 0 50px rgba(0,102,255,0.6));
  animation: hero-logo-pulse 3s ease-in-out infinite;
}

@keyframes hero-logo-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(0,140,255,0.7)) drop-shadow(0 0 40px rgba(0,102,255,0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(0,140,255,1)) drop-shadow(0 0 70px rgba(0,102,255,0.7));
    transform: scale(1.04);
  }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #0066FF, #60a5fa, #0066FF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite, fadeInUp 0.9s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.2s both;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-sub-pill:hover {
  background: rgba(0,102,255,0.2);
  border-color: rgba(0,102,255,0.5);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 1s ease 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,102,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.6);
}

.glow-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,102,255,0.4), 0 0 0 0 rgba(0,102,255,0.3); }
  50% { box-shadow: 0 8px 30px rgba(0,102,255,0.7), 0 0 20px rgba(0,102,255,0.4); }
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,102,255,0.2);
}

.btn-clear {
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  width: 100%;
  margin-top: 8px;
}

.btn-clear:hover { color: #ff4444; border-color: #ff4444; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, #fff, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Countdown Section ===== */
.countdown-section {
  background: linear-gradient(135deg, var(--navy), #060630);
  border-top: 1px solid rgba(0,102,255,0.3);
  border-bottom: 1px solid rgba(0,102,255,0.3);
  padding: 36px 20px;
}

.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.countdown-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.4);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  min-width: 72px;
}

.time-block span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--blue-light);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,102,255,0.6);
  letter-spacing: 2px;
}

.time-block small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.time-sep {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  animation: blink 1s step-end infinite;
  line-height: 1;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== Section Shared ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.3);
  color: #7ab3ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  color: rgba(255,255,255,0.55);
  font-size: 16px;
}

/* ===== Features Section ===== */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, #060618 0%, var(--black) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,102,255,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,102,255,0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,102,255,0.4));
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===== Product Carousel ===== */
.product-carousel {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  background: #0d0d2a;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .carousel-slide.active img {
  transform: scale(1.05);
}

/* Gradient overlay */
.carousel-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,46,0.65) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ── Botón zoom ── */
.zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(6px);
}

.product-carousel:hover .zoom-btn,
.carousel-slide.active:hover .zoom-btn {
  opacity: 1;
}

/* siempre visible en móvil */
@media (hover: none) {
  .zoom-btn { opacity: 1 !important; }
  .carousel-btn { opacity: 1 !important; }
}

.zoom-btn:hover { background: rgba(0,102,255,0.7); border-color: var(--blue); }

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(6px);
}

.product-carousel:hover .carousel-btn { opacity: 1; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-btn:hover { background: rgba(0,102,255,0.7); border-color: var(--blue); }

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  display: block;
}

.carousel-dot.active {
  background: var(--blue-light);
  transform: scale(1.35);
}

/* ===== Lightbox ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

#lightbox.active { display: flex; }

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lb-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: lb-in 0.25s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.lb-img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  display: block;
}

.lb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-close:hover { background: rgba(255,51,51,0.5); border-color: #ff3333; }
.products {
  padding: 100px 0;
  background: var(--black);
}

/* Placeholder cuando no hay fotos */
.carousel-placeholder {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  color: rgba(255,255,255,0.3);
}
.carousel-placeholder span { font-size: 48px; }
.carousel-placeholder small { font-size: 13px; letter-spacing: 0.5px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* Product Card */
.product-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(0,102,255,0.5);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,102,255,0.2);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ff3366, #ff6633);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255,51,102,0.5);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(255,51,102,0.5); }
  50% { box-shadow: 0 4px 20px rgba(255,51,102,0.8); }
}

.product-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-info {
  padding: 22px 24px 28px;
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
}

.product-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  line-height: 1.5;
}

.product-stars {
  font-size: 13px;
  color: #ffd700;
  margin-bottom: 14px;
}

.product-stars span {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-left: 4px;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
}

.product-price-before {
  font-size: 15px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-discount {
  font-size: 12px;
  font-weight: 700;
  background: rgba(0,255,100,0.15);
  color: #00cc66;
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid rgba(0,204,102,0.3);
}

.add-to-cart {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 13px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.add-to-cart::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.add-to-cart:hover::before { width: 300px; height: 300px; }

.add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,102,255,0.5);
}

.add-to-cart:active { transform: scale(0.98); }

.product-detail-link {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.product-detail-link:hover { color: #0066FF; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--black) 0%, #060618 50%, var(--black) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(0,102,255,0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  border-color: rgba(0,102,255,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stars { font-size: 16px; margin-bottom: 16px; }

.testimonial-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0,102,255,0.4);
}

.testimonial-author strong { display: block; font-size: 14px; font-weight: 700; }
.testimonial-author span { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-logo { margin-bottom: 4px; }

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(0,102,255,0.2);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links li a,
.footer-links li span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links li a:hover { color: var(--blue-light); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.footer-disclaimer {
  font-size: 11px !important;
  color: rgba(255,255,255,0.25) !important;
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #0d0d3a 0%, #0a0a20 100%);
  border-left: 1px solid rgba(0,102,255,0.2);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-header h2 { font-size: 18px; font-weight: 700; }

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover { background: rgba(255,51,51,0.2); border-color: #ff3333; color: #ff3333; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.cart-empty-icon { 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4; 
  margin-bottom: 8px;
}
.cart-empty p { font-size: 15px; margin-bottom: 8px; }

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price { font-size: 14px; font-weight: 700; color: #60a5fa; }

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,102,255,0.15);
  border: 1px solid rgba(0,102,255,0.3);
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: 'Space Grotesk', sans-serif;
}

.qty-btn:hover { background: rgba(0,102,255,0.35); }

.qty-display {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  padding: 4px;
}

.cart-item-remove:hover { color: #ff4444; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.cart-grand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}

.cart-checkout-btn { width: 100%; margin-bottom: 0; display: block; text-align: center; }

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0d0d3a, #0a0a20);
  border: 1px solid rgba(0,102,255,0.4);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0,102,255,0.3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 10px 30px rgba(37,211,102,0.65);
  animation: none;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,10,46,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
    gap: 20px;
  }

  .hamburger { display: flex; }

  .countdown-inner { flex-direction: column; gap: 20px; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .time-block { min-width: 62px; padding: 10px 14px; }
  .time-block span { font-size: 26px; }
  .cart-sidebar { width: 100vw; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-carousel { height: 300px; }
}

/* ===== Aviso contraentrega en carrito ===== */
.cart-cod-msg {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
  line-height: 1.5;
}
.cart-cod-msg strong { color: #f59e0b; }
.cart-cod-msg small  { font-size: 11px; color: rgba(255,255,255,0.55); }

/* ===== Cart Shipping Banner ===== */
.cart-shipping-banner {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0,204,102,0.08), rgba(0,102,255,0.08));
  border-bottom: 1px solid rgba(0,204,102,0.15);
}

.csb-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  text-align: center;
}

.csb-text strong { color: #00cc66; }

.csb-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.csb-bar {
  height: 100%;
  background: linear-gradient(90deg, #00cc66, #0066ff);
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

/* ===== Cart motivational msg ===== */
.cart-motivate {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding: 8px 16px 4px;
  font-style: italic;
}

/* ===== Exit Intent Popup ===== */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.exit-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.exit-popup {
  background: linear-gradient(145deg, #0d0d3a, #060620);
  border: 1px solid rgba(0,102,255,0.4);
  border-radius: 24px;
  padding: 44px 36px 36px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(0,102,255,0.2);
  animation: popup-in 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}

@keyframes popup-in {
  from { transform: scale(0.8) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.exit-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.exit-close:hover { background: rgba(255,51,51,0.3); color: #ff4444; }

.exit-emoji { font-size: 56px; margin-bottom: 14px; animation: bounce-slow 1.5s ease infinite; }

@keyframes bounce-slow {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.exit-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--white);
}

.exit-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.exit-sub strong { color: white; }

.exit-discount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  line-height: 1;
  background: linear-gradient(135deg, #00cc66, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(0,204,102,0.5));
}

.exit-code {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.exit-code-val {
  background: rgba(0,204,102,0.15);
  border: 1px dashed rgba(0,204,102,0.5);
  color: #00cc66;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 2px;
}

.exit-timer {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.exit-timer strong { color: #f59e0b; font-size: 16px; }

.exit-btn {
  width: 100%;
  margin-bottom: 12px;
  font-size: 16px;
  padding: 16px;
}

.exit-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.2s;
}

.exit-skip:hover { color: rgba(255,255,255,0.5); }

/* ===== Fila descuento en carrito ===== */
.cart-discount-row {
  color: #00cc66 !important;
  font-size: 13px;
}
.cart-discount-row strong {
  color: #00cc66 !important;
  font-size: 14px;
}

/* ===== Success Modal para Retorno de Mercado Pago ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: radial-gradient(ellipse at top right, rgba(0,102,255,0.15), transparent 60%), #0d0d3a;
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.show .modal-box {
  transform: translateY(0) scale(1);
}
.modal-success-icon {
  font-size: 56px;
  margin-bottom: 20px;
  animation: bounce-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}
.modal-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.modal-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-btn {
  display: inline-block;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: 0.3s;
}

/* ===== Efecto Glow para Anuncios (Ads Redirect) ===== */
@keyframes highlight-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); border-color: rgba(0, 102, 255, 1); transform: scale(1.02); }
  50% { box-shadow: 0 0 25px 8px rgba(0, 102, 255, 0.5); border-color: rgba(0, 102, 255, 1); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); border-color: rgba(255, 255, 255, 0.08); transform: scale(1); }
}
.product-card.highlight-pulse {
  animation: highlight-glow 1.5s ease-in-out 2;
  z-index: 10;
}

/* ===== Product Detail Modal ===== */
.product-modal-box {
  max-width: 850px !important;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px !important;
  text-align: left;
  position: relative;
  background: radial-gradient(ellipse at top right, rgba(0,102,255,0.12), transparent 70%), #0a0a16 !important;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  color: #fff;
}
.product-modal-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .product-modal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-modal-box {
    padding: 24px 16px !important;
    max-height: 95vh;
  }
}
/* Modal Gallery */
.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-gallery-main {
  position: relative;
  background: #0d1140;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.05);
}
.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.modal-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.modal-gallery-thumb {
  width: 60px;
  height: 60px;
  background: #0d1140;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.modal-gallery-thumb.active {
  border-color: #0066FF;
}
.modal-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
/* Modal info elements */
.modal-info-wrap {
  display: flex;
  flex-direction: column;
}
.modal-tag {
  align-self: flex-start;
  background: rgba(0,102,255,0.15);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,102,255,0.3);
}
.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.2;
}
.modal-stars {
  font-size: 14px;
  color: #ffd700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-stars span {
  color: rgba(255,255,255,0.5);
}
.modal-price-box {
  background: rgba(0,102,255,0.06);
  border: 1px solid rgba(0,102,255,0.15);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.modal-price {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.modal-price-before {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  margin-left: 10px;
  font-weight: 400;
}
.modal-badge {
  background: linear-gradient(135deg, #FF3D71, #FF6B35);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  margin-left: 10px;
}
.modal-desc-list {
  list-style: none;
  margin-bottom: 20px;
}
.modal-desc-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.4;
}
.modal-desc-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00e676;
  font-weight: 800;
}
.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-qty-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.modal-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}
.modal-qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.03);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.modal-qty-btn:hover {
  background: rgba(0,102,255,0.15);
}
.modal-qty-num {
  width: 38px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.modal-cta-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-modal-cart {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0066FF, #0044cc);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  box-shadow: 0 4px 15px rgba(0,102,255,0.3);
}
.btn-modal-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,102,255,0.4);
}
.btn-modal-whatsapp {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37,211,102,0.2);
}
.btn-modal-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.modal-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 14px;
}
.modal-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.modal-trust-item strong {
  color: rgba(255,255,255,0.8);
}



/* ===== Loader Spinner (modal producto) ===== */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

/* ===== Exit Overlay ===== */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.exit-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.exit-popup {
  background: radial-gradient(ellipse at top, rgba(0,102,255,0.18), transparent 65%), #0d0d3a;
  border: 1px solid rgba(0,102,255,0.35);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.exit-overlay.show .exit-popup {
  transform: translateY(0);
}
.exit-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.exit-close:hover { color: #fff; }
.exit-emoji { font-size: 52px; margin-bottom: 14px; }
.exit-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}
.exit-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}
.exit-discount {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #0066FF, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.exit-timer {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.exit-btn {
  width: 100%;
  font-size: 16px !important;
  padding: 16px !important;
  margin-bottom: 14px;
}
.exit-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  transition: color 0.2s;
}
.exit-skip:hover { color: rgba(255,255,255,0.6); }

/* ===== Cart COD message ===== */
.cart-cod-msg {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fbbf24;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ===== Cart discount row ===== */
.cart-discount-row span,
.cart-discount-row strong {
  color: #00cc66 !important;
}
