/* ==========================================================================
   FuXion Web Stylesheet - Premium Dark Theme 2026
   ========================================================================== */

/* --- 1. VARIABLES & DESIGN SYSTEM (DARK MODE) --- */
:root {
  --primary: #10b981;         /* Verde esmeralda brillante neón */
  --primary-hover: #34d399;   /* Verde menta brillante */
  --primary-light: rgba(16, 185, 129, 0.1);
  --secondary: #f8fafc;       /* Slate 50 - Texto principal */
  --accent: #f97316;          /* Naranja vibrante neón */
  --accent-hover: #fb923c;
  --background: #080c14;      /* Negro obsidiana profundo */
  --surface: #111a2e;         /* Azul medianoche para tarjetas/superficies */
  --text-muted: #94a3b8;      /* Slate 400 - Texto secundario */
  --border-color: rgba(16, 185, 129, 0.15); /* Bordes sutiles con tono verde neón */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.85);
  --font-headers: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 20px;
}

/* --- 2. BASE & RESET WITH LUMINESCENT BLOBS --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom Scrollbars (Beautiful Slim Scrollbar) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.6);
}

/* Firefox support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.25) rgba(255, 255, 255, 0.02);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--secondary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Blobs de Fondo Luminiscentes (Efecto Cosmos de Salud) */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(50px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.07) 0%, transparent 70%),
              radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(60px);
}

/* Blob Central */
.bg-blob-center {
  position: absolute;
  top: 45%;
  left: 20%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%),
              radial-gradient(circle, rgba(147, 51, 234, 0.06) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(70px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* --- 3. NAVIGATION (Midnight Glassmorphism) --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  z-index: 1000;
  transition: var(--transition);
}

nav.scroll-scrolled {
  height: 72px;
  background: rgba(8, 12, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

nav .logo {
  font-family: var(--font-headers);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  cursor: pointer;
  color: var(--secondary);
}

nav .logo span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.2rem;
}

nav ul li a {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  position: relative;
  color: #cbd5e1;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 5px;
  transition: var(--transition);
  box-shadow: 0 0 8px var(--primary);
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after {
  width: 100%;
}

nav .nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
  color: white !important;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  border: none;
}

nav .nav-cta::after {
  display: none;
}

nav .nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: left center;
}

/* --- 4. HERO SECTION (Obsidian Gradient Mesh) --- */
.hero {
  padding: 170px 8% 100px 8%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5rem;
  min-height: 95vh;
  position: relative;
  background: linear-gradient(135deg, rgba(17, 26, 46, 0.95) 0%, rgba(8, 12, 20, 0.98) 50%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 2px solid rgba(16, 185, 129, 0.15);
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.25) 100%);
  color: var(--primary);
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Botones Base */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--secondary);
  border: 2.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  height: max-content;
}

.hero-card {
  background: rgba(17, 26, 46, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--border-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.45);
}

/* Bordes superiores coloridos para las tarjetas del hero en fondo oscuro */
.hero-card:nth-child(1) { border-top: 5px solid #10b981; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1); }
.hero-card:nth-child(2) { border-top: 5px solid #3b82f6; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1); }
.hero-card:nth-child(3) { border-top: 5px solid #f59e0b; box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1); }

.hero-card .icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.hero-card .val {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.hero-card:nth-child(1) .val { color: #34d399; text-shadow: 0 0 10px rgba(52, 211, 153, 0.2); }
.hero-card:nth-child(2) .val { color: #60a5fa; text-shadow: 0 0 10px rgba(96, 165, 250, 0.2); }
.hero-card:nth-child(3) .val { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.2); }

.hero-card .lbl {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- 5. CATEGORIES BAR (Floating Glassmorphism Dark) --- */
.categories {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 8%;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  position: sticky;
  top: 85px;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.categories::-webkit-scrollbar {
  display: none;
}

nav.scroll-scrolled ~ .categories {
  top: 72px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  background-color: #131c2e;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: #cbd5e1;
}

.cat-pill:hover {
  background-color: #1c2b47;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* --- 6. PRODUCTS CATALOG (Midnight Blue Glassmorphic Cards) --- */
#productos {
  padding: 100px 8%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.eyebrow {
  color: var(--primary);
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  display: inline-block;
  background-color: rgba(16, 185, 129, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: -1.5px;
  color: white;
}

.section-header p {
  color: #94a3b8;
  font-size: 1.2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: rgba(19, 28, 46, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.45);
}

.product-img {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.15);
  background-color: #ffffff; /* Solid white background for perfect blending */
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.product-card:hover .product-img img {
  transform: scale(1.08) translateY(-4px);
}

.prod-emoji-fallback {
  font-size: 4.5rem;
  user-select: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3));
}

.product-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #080c14;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Colores específicos de tags por categoría */
.product-card[data-id="prunex1"] .product-tag,
.product-card[data-id="floraliv"] .product-tag,
.product-card[data-id="rexet"] .product-tag,
.product-card[data-id="liquidfibra"] .product-tag,
.product-card[data-id="alphabalance"] .product-tag,
.product-card[data-id="packdetox"] .product-tag,
.product-card[data-id="berrybalance"] .product-tag {
  background-color: #047857; /* Verde Limpieza */
  border-color: rgba(52, 211, 153, 0.3);
}

.product-card[data-id="thermot3"] .product-tag,
.product-card[data-id="nocarbt"] .product-tag,
.product-card[data-id="proteinactivefitvanilla"] .product-tag,
.product-card[data-id="proteinactivefitchoco"] .product-tag,
.product-card[data-id="pack514"] .product-tag,
.product-card[data-id="pack514active"] .product-tag,
.product-card[data-id="bioprofit"] .product-tag,
.product-card[data-id="chocolatefit"] .product-tag,
.product-card[data-id="cafefitnegro"] .product-tag,
.product-card[data-id="cafefitcappuccino"] .product-tag,
.product-card[data-id="proteinxoupcriolla"] .product-tag {
  background-color: #ea580c; /* Naranja Control de peso */
  border-color: rgba(251, 146, 60, 0.3);
}

.product-card[data-id="veraplus"] .product-tag,
.product-card[data-id="ganoplus"] .product-tag,
.product-card[data-id="bioprotect"] .product-tag,
.product-card[data-id="ganomaste"] .product-tag,
.product-card[data-id="cafeganomax"] .product-tag {
  background-color: #2563eb; /* Azul Inmunológica */
  border-color: rgba(96, 165, 250, 0.3);
}

.product-card[data-id="beautyin"] .product-tag,
.product-card[data-id="goldenflx"] .product-tag,
.product-card[data-id="probal"] .product-tag,
.product-card[data-id="youthelixir"] .product-tag,
.product-card[data-id="passion"] .product-tag {
  background-color: #9333ea; /* Púrpura Anti-Edad */
  border-color: rgba(192, 132, 252, 0.3);
}

.product-card[data-id="presport"] .product-tag,
.product-card[data-id="postsport"] .product-tag,
.product-card[data-id="proteinactivesportvainilla"] .product-tag,
.product-card[data-id="proteinactivesportchoco"] .product-tag,
.product-card[data-id="xtramile"] .product-tag,
.product-card[data-id="bioprosport"] .product-tag {
  background-color: #dc2626; /* Rojo Deporte */
  border-color: rgba(248, 113, 113, 0.3);
}

.product-card[data-id="probix"] .product-tag {
  background-color: #0d9488; /* Teal para Probix */
  border-color: rgba(45, 212, 191, 0.3);
}

.product-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(16, 185, 129, 0.25);
}

.product-price {
  width: 100%;
  font-family: var(--font-headers);
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 0.2rem;
}

.btn-buy {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  height: 40px;
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* --- 7. BENEFITS SECTION (Cosmic Dark Mint) --- */
#beneficios {
  padding: 100px 8%;
  background: linear-gradient(180deg, var(--background) 0%, #111a2e 100%);
  border-top: 2px solid rgba(16, 185, 129, 0.15);
  border-bottom: 2px solid rgba(16, 185, 129, 0.15);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.benefit-card {
  background-color: rgba(19, 28, 46, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(16, 185, 129, 0.12);
  padding: 3rem 2.2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Bordes coloridos superiores en las tarjetas de beneficios */
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
}

.benefit-card:nth-child(2)::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.benefit-card:nth-child(3)::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.benefit-card:nth-child(4)::before { background: linear-gradient(90deg, #ec4899, #f59e0b); }
.benefit-card:nth-child(5)::before { background: linear-gradient(90deg, #f59e0b, #10b981); }
.benefit-card:nth-child(6)::before { background: linear-gradient(90deg, #10b981, #06b6d4); }

.benefit-icon {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.benefit-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: white;
}

.benefit-card p {
  color: #cbd5e1;
  font-size: 1rem;
}

/* --- 8. CLEAN BANNER (Neon Gradient Dark Glow) --- */
.clean-banner {
  padding: 100px 8%;
  text-align: center;
  background: radial-gradient(circle at 30% 30%, #064e3b 0%, #032b20 100%);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid rgba(16, 185, 129, 0.25);
}

.clean-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.clean-banner h2 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.clean-banner h2 span {
  color: #34d399;
  text-shadow: 0 0 25px rgba(52, 211, 153, 0.6);
}

.clean-banner p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  opacity: 0.95;
  line-height: 1.7;
  color: #cbd5e1;
}

.clean-badges {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.clean-badges .badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  color: white;
}

.clean-badges .badge:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

.clean-badges .b-icon {
  font-size: 1.2rem;
}

/* --- 9. FAQ ACCORDION (Slate Navy Dark Theme) --- */
#faq {
  padding: 100px 8%;
  background-color: rgba(8, 12, 20, 0.4);
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background-color: #111a2e;
  border: 2px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
  background-color: rgba(16, 185, 129, 0.05);
}

.faq-arrow {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background-color: rgba(8, 12, 20, 0.3);
}

.faq-answer p {
  padding: 0 1.8rem 1.8rem 1.8rem;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.faq-item.active .faq-question {
  color: var(--primary);
  background-color: rgba(16, 185, 129, 0.08);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* --- 10. FOOTER (Obsidian Dark Gray) --- */
footer {
  background-color: #05070c; /* Negro oscuro */
  color: #64748b;
  padding: 90px 8% 45px 8%;
  border-top: 4px solid var(--primary);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 5rem;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.8rem;
  letter-spacing: -1.5px;
}

.footer-logo span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

footer h5 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 35px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 5px;
  box-shadow: 0 0 8px var(--primary);
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

footer ul li a {
  font-size: 1rem;
  color: #94a3b8;
}

footer ul li a:hover {
  color: white;
  padding-left: 8px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid #111a2e;
  padding-top: 35px;
  text-align: center;
  font-size: 0.9rem;
  color: #475569;
}

/* --- 11. INTERACTIVE OVERLAYS & DRAWER (Obsidian Glass) --- */
.backdrop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background-color: #0e1524;
  border-left: 2px solid rgba(16, 185, 129, 0.25);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.8rem;
  border-bottom: 2px solid rgba(16, 185, 129, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}

.btn-close-cart {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.btn-close-cart:hover {
  color: #ef4444;
  transform: rotate(90deg);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item-empty {
  text-align: center;
  color: var(--text-muted);
  margin-top: 5rem;
  font-size: 1.1rem;
}

.cart-item-empty span {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
}

.cart-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(16, 185, 129, 0.1);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  background-color: #162033;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 800;
  color: white;
}

.cart-item-details .price {
  font-family: var(--font-headers);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.btn-qty {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.3);
  background-color: #111a2e;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--primary);
}

.btn-qty:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.qty-val {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 18px;
  text-align: center;
  color: white;
}

.btn-remove-item {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ef4444;
  font-size: 1.15rem;
  padding: 0.2rem;
  transition: var(--transition);
}

.btn-remove-item:hover {
  transform: scale(1.2);
}

.cart-footer {
  padding: 1.8rem;
  border-top: 2px solid rgba(16, 185, 129, 0.15);
  background-color: #111a2e;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
}

.cart-summary-line .total-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
  color: white;
  border: none;
  padding: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-checkout:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.45);
}

/* --- 12. PRODUCT DETAILS MODAL (Obsidian Glass Box) --- */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-wrapper.active {
  opacity: 1;
  pointer-events: all;
}

.product-modal {
  background-color: #111a2e;
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.modal-wrapper.active .product-modal {
  transform: scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #162033;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.btn-close-modal:hover {
  background-color: #ef4444;
  border-color: #ef4444;
  color: white;
  transform: rotate(90deg);
}

.modal-hero {
  background: linear-gradient(135deg, #162238 0%, #080c14 100%);
  padding: 50px 35px;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
}

/* Premium Split Details Modal */
.product-modal.two-column {
  max-width: 960px;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  padding: 0;
  overflow: hidden;
}

.modal-left-column {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.modal-left-column .modal-icon-big {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}

.modal-left-column .modal-icon-big img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.modal-right-column {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.modal-header-info {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.modal-header-info h2 {
  font-family: var(--font-headers);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-top: 5px;
  margin-bottom: 0;
}

.modal-header-info .modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 5px;
}

.product-modal.two-column .modal-body-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 10px 0 0;
  max-height: 410px;
  margin-bottom: 15px;
  gap: 0.85rem !important; /* Reduce gap significantly */
}

.product-modal.two-column .modal-section-title {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.product-modal.two-column .modal-description {
  font-size: 0.84rem;
  line-height: 1.4;
}

.product-modal.two-column .modal-bullets {
  gap: 0.35rem;
}

.product-modal.two-column .modal-bullets li {
  font-size: 0.84rem;
  padding-left: 20px;
}

.product-modal.two-column .modal-bullets li::before {
  font-size: 0.75rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 5px;
}

/* Responsive Split Modal */
@media (max-width: 768px) {
  .product-modal.two-column {
    grid-template-columns: 1fr;
    max-height: 94vh;
    overflow-y: auto;
  }
  
  .modal-left-column {
    padding: 1rem;
    height: 250px;
    border-right: none;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  }
  
  .modal-left-column .modal-icon-big {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  .modal-right-column {
    padding: 1.5rem;
    overflow: visible;
    height: auto;
  }
  
  .product-modal.two-column .modal-body-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.modal-icon-big {
  width: 110px;
  height: 110px;
  background-color: #111a2e;
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  box-shadow: var(--shadow-md);
  user-select: none;
  overflow: hidden;
}

.modal-icon-big img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.modal-intro-info {
  flex-grow: 1;
}

.modal-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.modal-intro-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  color: white;
}

.modal-price {
  font-family: var(--font-headers);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.modal-body-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  overflow-y: auto;
}

.modal-section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.modal-description {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
}

.modal-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-bullets li {
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
  color: #cbd5e1;
}

.modal-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.modal-footer-btn-container {
  padding: 20px 35px 35px 35px;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
}

.btn-add-modal {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-add-modal:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
}

/* --- 13. PRODUCT QUIZ (Cosmic Dark Wizard) --- */
.quiz-progress-container {
  width: 100%;
  height: 8px;
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 50px;
  overflow: hidden;
}

.quiz-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #34d399);
  border-radius: 50px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.quiz-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quiz-title {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  text-align: center;
  font-weight: 800;
  color: white;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quiz-option-btn {
  width: 100%;
  padding: 0.75rem 1.1rem;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  background-color: #162033;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.quiz-option-btn:hover {
  border-color: var(--primary);
  background-color: rgba(16, 185, 129, 0.1);
  transform: translateX(6px);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.quiz-option-btn span.emoji {
  font-size: 1.25rem;
  background-color: #111a2e;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-option-btn:hover span.emoji {
  transform: scale(1.15) rotate(-8deg);
  background-color: var(--primary);
  color: #080c14;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.quiz-results-title {
  font-size: 1.4rem;
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.quiz-recs-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.quiz-rec-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--border-radius);
  padding: 1.2rem;
  background: linear-gradient(135deg, #111c2f, #0d1525);
}

.quiz-rec-img {
  width: 70px;
  height: 70px;
  background-color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}

.quiz-rec-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.quiz-rec-info {
  flex-grow: 1;
}

.quiz-rec-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.quiz-rec-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  font-weight: 800;
  color: white;
}

.quiz-rec-info p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.quiz-rec-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-quiz-add {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn-quiz-add:hover {
  transform: scale(1.03);
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.btn-quiz-back {
  background-color: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quiz-back:hover {
  background-color: rgba(16, 185, 129, 0.1);
  color: white;
}

.btn-quiz-restart {
  background: linear-gradient(135deg, var(--secondary) 0%, #cbd5e1 100%);
  color: #080c14;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: var(--transition);
}

.btn-quiz-restart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* --- 14. FLOATING BUTTONS (WhatsApp and Cart Glowing) --- */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background-color: #25d366;
  color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
}

.wa-float:hover {
  transform: scale(1.05) translateY(-3px);
  background-color: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.cart-float {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.cart-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
  color: white;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #080c14;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
}

/* Card Quantity Selector (Dark Mode) */
.product-qty-selector {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #162033;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  padding: 0.2rem 0.5rem;
  height: 40px;
  flex: 1;
  justify-content: space-between;
}

.btn-qty-minus, .btn-qty-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: #111a2e;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.btn-qty-minus:hover, .btn-qty-plus:hover {
  background-color: var(--primary);
  color: white;
}

.card-qty-val {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 16px;
  text-align: center;
  user-select: none;
  color: white;
}

/* Ver mas details link (Dark Mode) */
.btn-ver-mas {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  align-self: flex-start;
  transition: var(--transition);
  cursor: pointer;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
}

.btn-ver-mas:hover {
  color: var(--primary-hover);
  transform: translateX(5px);
}

/* --- 15. MOBILE STYLES & MEDIA QUERIES --- */
@media (max-width: 1024px) {
  nav ul {
    gap: 1.5rem;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
    gap: 3.5rem;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 85px);
    background-color: #0e1524;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2.2rem;
    align-items: stretch;
    box-shadow: var(--shadow-xl);
    z-index: 1005;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  nav.nav-mobile-active ul {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  nav.scroll-scrolled ul {
    top: 72px;
    height: calc(100vh - 72px);
  }

  nav ul li {
    text-align: center;
  }

  nav ul li a {
    font-size: 1.25rem;
    display: block;
    padding: 0.9rem;
    font-weight: 800;
  }

  nav ul li a::after {
    display: none;
  }

  nav .nav-cta {
    border-radius: 12px;
    padding: 1.1rem;
    font-size: 1.1rem;
  }

  .burger-menu {
    display: flex;
  }

  /* Animación del hamburguesa */
  nav.nav-mobile-active .burger-menu span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
    background-color: var(--primary);
  }
  nav.nav-mobile-active .burger-menu span:nth-child(2) {
    opacity: 0;
  }
  nav.nav-mobile-active .burger-menu span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background-color: var(--primary);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .clean-banner h2 {
    font-size: 2.4rem;
  }

  .clean-badges {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .clean-badges .badge {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .modal-hero {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-visual {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-card {
    padding: 2rem 1.2rem;
  }
  #productos {
    padding: 70px 4%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    font-size: 1.05rem;
    padding: 1.4rem;
  }
  .faq-answer p {
    padding: 0 1.4rem 1.4rem 1.4rem;
  }
  
  /* Modal wrapper & product modal responsive spacing */
  .modal-wrapper {
    padding: 0.5rem;
  }
  .product-modal {
    max-height: 94vh;
    border-width: 1px;
  }
  .modal-hero {
    padding: 15px 15px !important;
    gap: 0.75rem !important;
  }
  .modal-hero #modalIcon.modal-icon-big {
    width: 95px !important;
    height: 95px !important;
    font-size: 3rem !important;
    margin: 0 auto;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }
  .modal-hero .modal-icon-big:not(#modalIcon) {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.8rem !important;
  }
  .modal-hero h2 {
    font-size: 1.15rem !important;
    margin-top: 5px;
  }
  .btn-close-modal {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  .quiz-body {
    padding: 12px 14px;
    gap: 0.7rem;
  }
  .quiz-options {
    max-height: 250px !important;
  }
  .quiz-option-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.84rem;
  }
  .quiz-option-btn span.emoji {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .quiz-rec-item, .test-rec-item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1rem !important;
    gap: 0.8rem !important;
  }
  .quiz-rec-img, .test-rec-img {
    margin: 0 auto;
  }
  .quiz-rec-info, .test-rec-info {
    text-align: center;
  }
  .quiz-rec-info h4, .test-rec-info h4 {
    font-size: 1rem;
  }
  .quiz-rec-info p, .test-rec-info p {
    font-size: 0.78rem;
  }
  .quiz-rec-actions, .test-rec-actions {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    width: 100%;
  }
  .btn-quiz-add, .btn-test-add {
    width: auto;
    padding: 0.35rem 0.9rem;
  }
}

/* Product Search Bar Styling */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 1.5rem auto 0 auto;
  width: 90%;
}

#productSearch {
  width: 100%;
  padding: 0.9rem 2.8rem 0.9rem 1.2rem;
  background: rgba(17, 26, 46, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#productSearch:focus {
  border-color: #10b981;
  background: rgba(17, 26, 46, 0.95);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

#productSearch::placeholder {
  color: #64748b;
}

#clearSearch {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

#clearSearch:hover {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}


/* =========================================
   ANIMACIONES 2026
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cart-bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.cart-bounce-anim {
  animation: cart-bounce 0.4s ease-in-out;
}
