/* =========================================================
   INDICE DE SECCIONES CSS
   1. Hero Emprender
   2. Paneles genéricos
   3. Beneficios (listas con íconos)
   4. Testimonios
   5. Botón Outline
   6. CTA Final
   7. Tipografías y variables globales
   8. Reset y variables :root
   9. Fondo y estructura base
   10. Header, navegación y overlay
   11. Responsive nav (móvil)
   12. Hero principal (con halo dorado)
   13. Layout de las cards de productos
   14. Estilo de cards premium
   15. Pills (categorías de productos)
========================================================= */

/* ====== 1. Hero Emprender ====== */
.emprender-hero {
  background: #fffaf0; /* tono cálido, elegante */
  text-align: center;
  padding: 6em 2em;
  border-bottom: 1px solid #eee;
}

.emprender-hero .title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 0.5em;
}

.emprender-hero .sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* ====== 2. Paneles genéricos ====== */
.panel {
  padding: 4em 2em;
  text-align: center;
}

.panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1em;
  color: #222;
}

.panel p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  max-width: 700px;
  margin: 0 auto 1.5em;
}

/* ====== 3. Beneficios (listas con íconos) ====== */
.beneficios ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 2em auto;
  text-align: left;
}

.beneficios li {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  margin: 0.8em 0;
  padding-left: 1.5em;
  position: relative;
  color: #333;
}

.beneficios li::before {
  content: "✨";
  position: absolute;
  left: 0;
  color: #d4af37; /* dorado */
}

/* ====== 4. Testimonios ====== */
.testis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.testi {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5em;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.testi-name {
  display: block;
  margin-top: 1em;
  font-weight: 600;
  color: #222;
}

/* ====== 5. Botón Outline ====== */
.btn-outline {
  border: 2px solid #d4af37; /* dorado elegante */
  color: #d4af37;
  background: transparent;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #d4af37;
  color: #fff;
}

/* ====== 6. CTA Final ====== */
.cta-final {
  background: #fffaf0;
  border-top: 1px solid #eee;
}

.cta-final h2 {
  margin-bottom: 1.5em;
}

/* ====== 7. Tipografías y variables globales ====== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;600&display=swap');

/* ====== 8. Reset y variables :root ====== */
/* Reseteo útil para evitar solapamientos por padding/border */
* { box-sizing: border-box; }

:root {
  --bg: #0a0a0c;
  --fg: #f6f6f6;
  --brand: #ffd700;
  --brand-amber: #ffb400;
  --brand-glow: #ffe27a;
  --muted: #b6b6b6;
  --border: rgba(255,255,255,0.10);
}

/* ====== 9. Fondo y estructura base ====== */
/* Fondo Mármol Dorado */
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,215,0,0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,180,0,0.06), transparent 45%),
    linear-gradient(135deg, #141414, #1b1b1f 60%, #111 100%);
  color: var(--fg);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ====== 10. Header, navegación y overlay ====== */
/* Header + nav + overlay */
.bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: var(--brand);
  letter-spacing: 0.4px; text-shadow: 0 0 8px rgba(255,215,0,0.35);
}
nav.cta { display: flex; gap: 12px; flex-wrap: wrap; } /* wrap para evitar solape */
.btn {
  display: inline-flex; align-items: center; justify-content: center; /* evita botones desalineados */
  min-height: 40px; padding: 9px 18px;
  border: 1px solid var(--border); border-radius: 6px;
  text-decoration: none; color: var(--fg); font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  backdrop-filter: saturate(1.1);
  white-space: nowrap; /* evita cortes raros */
}
.btn:hover { background: rgba(255,255,255,0.06); box-shadow: 0 6px 18px rgba(0,0,0,0.35); transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(92deg, var(--brand) 0%, var(--brand-amber) 100%);
  color: #0a0a0c; font-weight: 600; border: none;
  box-shadow: 0 0 14px rgba(255,215,0,0.55), 0 8px 24px rgba(0,0,0,0.45);
}
.btn.primary:hover {
  background: linear-gradient(92deg, var(--brand-amber) 0%, var(--brand) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 20px rgba(255,215,0,0.75), 0 10px 28px rgba(0,0,0,0.55);
}
.btn.active { border-color: var(--brand); color: var(--brand); box-shadow: inset 0 0 10px rgba(255,215,0,0.15); }

.hamburger { display: none; font-size: 28px; cursor: pointer; color: var(--fg); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 90; }
body.nav-open .overlay { opacity: 1; pointer-events: auto; }

/* ====== 11. Responsive nav (móvil) ====== */
/* Responsive nav */
@media (max-width: 720px) {
  .hamburger { display: block; }
  nav.cta {
    position: fixed; top: 0; right: -100%; width: 76%; height: 100%;
    background: rgba(15,15,18,0.95); display: flex; flex-direction: column;
    padding: 60px 20px; gap: 16px; transition: right 0.4s cubic-bezier(0.77,0,0.175,1);
    z-index: 100; box-shadow: -10px 0 30px rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  }
  body.nav-open nav.cta { right: 0; }
  nav.cta .btn { opacity: 0; transform: translateX(18px); transition: all 0.25s ease; }
  body.nav-open nav.cta .btn { opacity: 1; transform: translateX(0); }
}

/* ====== 12. Hero principal (con halo dorado) ====== */
/* Hero con halo dorado */
.hero {
  position: relative; padding: 120px 20px; text-align: center;
  background:
    radial-gradient(500px 280px at 50% -40px, rgba(255,215,0,0.12), transparent 65%),
    linear-gradient(135deg, rgba(10,10,12,0.9), rgba(20,20,24,0.95));
}
.hero .title {
  font-family: 'Playfair Display', serif; font-size: 52px; color: var(--brand);
  text-shadow: 0 0 14px var(--brand-glow), 0 3px 10px rgba(0,0,0,0.75);
}
.hero .sub { font-size: 20px; color: #dedede; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; } /* wrap para evitar solape en baja resolución */

/* ====== 13. Layout de las cards de productos ====== */
/* === Layout de las cards en productos === */
.cards {
  display: grid; /* (1) Activa grid layout */
  grid-template-columns: repeat(3, 1fr); /* (1) Fuerza 3 columnas iguales en desktop */
  gap: 24px; /* (1) Espacio entre cards */
  justify-items: center; /* (2) Centra las cards dentro de cada columna */
}

/* En pantallas medianas (tablets), 2 por fila */
@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr); /* (3) Ajuste responsive */
  }
}

/* En móviles, 1 por fila */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr; /* (4) Ajuste responsive */
  }
}

/* ====== 14. Estilo de cards premium ====== */
/* Cards premium */
.card {
  background: linear-gradient(145deg, #111418, #191b20); /* (5) Fondo negro elegante */
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%; 
  max-width: 380px; /* (6) Limita ancho de cada card */
  display: grid;
  flex-direction: column;
  box-shadow: 0 8px 26px rgba(0,0,0,0.65);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.25);
  box-shadow: 0 0 24px rgba(255,215,0,0.25), 0 16px 40px rgba(0,0,0,0.75);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card .body {
  padding: 18px;
  display: grid;
  flex-direction: column;
  gap: 10px;
}

/* ====== Botón premium dentro de las cards ====== */
.card .btn-info {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #d4af37, #f5d76e); /* (7) Degradado dorado */
  color: #111; /* (7) Texto negro para contraste */
  text-decoration: none;
  border-radius: 30px; /* (7) Bordes redondeados premium */
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  text-align: center;
}
.card .btn-info:hover {
  background: linear-gradient(135deg, #f5d76e, #fff8dc); /* (8) Hover más claro */
  color: #000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}

/* ====== 15. Pills (categorías de productos) ====== */
/* Pills con glow */
/* ====== Estilo base para todas las pills ====== */
.pill {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ====== Colores por categoría ====== */

/* Producto 1: Nutrek */
.pill.energia {
  background: #fff7e6;   /* naranja suave */
  color: #c27a00;
}

/* Producto 2: ProDairy */
.pill.reparacion {
  background: #e6f7ff;   /* azul claro */
  color: #006699;
}

/* Producto 3: The Coffee Life */
.pill.adapto {
  background: #f3e6ff;   /* violeta suave */
  color: #6b1fb1;
}

/* Producto 4: Gaba Tripto */
.pill.descanso {
  background: #e6f0ff;   /* azul relajante */
  color: #3344aa;
}

/* Producto 5: TF GO */
.pill.inmunidad {
  background: #e8f6f0;   /* verde claro */
  color: #0a7c2f;
}

/* Producto 6: GO Men */
.pill.poder {
  background: #ffe6e6;   /* rojo suave */
  color: #b30000;
}

/* Producto 7: GO Woman */
.pill.regulacion {
  background: #fff0f6;   /* rosa claro */
  color: #b61c59;
}

/* Producto 8: Meta GO */
.pill.equilibrio {
  background: #f9ffe6;   /* verde lima suave */
  color: #7a9900;
}

/* Producto 9: R-GO */
.pill.limpieza {
  background: #f0f0f0;   /* gris claro */
  color: #555;
}

/* Producto 10: VP GO */
.pill.efectividad {
  background: #e6fff9;   /* aqua suave */
  color: #008066;
}

/* Producto 11: Resvera Nad GO */
.pill.juventud {
  background: #fff0e6;   /* naranja pastel */
  color: #cc5200;
}

/* Producto 12: Vitaos GO */
.pill.alivio {
  background: #f0fff0;   /* verde menta */
  color: #267326;
}
/* ====== 16. Paneles y testimonios (premium) ====== */
/* Paneles y testimonios */
.panel {
  background: linear-gradient(150deg, #12141a, #1a1d23);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; margin: 32px 0;
  box-shadow: 0 8px 26px rgba(0,0,0,0.55);
}
.panel h2 { font-family: 'Playfair Display', serif; color: var(--brand); text-shadow: 0 0 10px rgba(255,226,122,0.45); text-align: center; margin-top: 0; }

.testis { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.testi {
  flex: 1 1 260px; max-width: 300px;
  background: linear-gradient(150deg, #12141a, #1a1d23);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; font-size: 14px; color: #e2e2e2; text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi:hover { transform: translateY(-6px); box-shadow: 0 0 20px rgba(255,215,0,0.25), 0 12px 28px rgba(0,0,0,0.7); }
.testi-img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 12px;
  border: 2px solid var(--brand); box-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.testi-name { display: block; margin-top: 10px; font-family: 'Playfair Display', serif; font-size: 15px; color: var(--brand); }

/* ====== 17. Footer elegante (ajustado) ====== */

/* 1. Eliminar línea superior del footer */
.footer {
  margin-top: 48px;
  padding: 40px 0;
  border-top: none; /* ← Línea eliminada */
  background: radial-gradient(600px 300px at 20% -10%, rgba(255,215,0,0.08), transparent 60%), #0a0a0c;
  text-align: center;
  color: var(--muted);
}

/* 2. Eliminar pseudo-elementos decorativos si existen */
.footer::before,
.footer::after {
  content: none !important;
  display: none !important;
}

/* 3. Navegación del footer */
.footer-nav {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 4. Estilo de enlaces */
.footer-nav a {
  font-family: 'Playfair Display', serif;
  color: #eaeaea;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-nav a:hover {
  color: var(--brand);
  text-shadow: 0 0 10px rgba(255,226,122,0.55);
}

/* 5. Párrafos y legal */
.footer p {
  margin: 6px 0;
  font-size: 13px;
}

.footer .legal {
  font-size: 11px;
  line-height: 1.4;
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
}/* ====== 18. Ajustes responsivos ====== */
/* Ajustes responsivos */
@media (max-width: 960px) {
  .hero .title { font-size: 44px; }
}
@media (max-width: 720px) {
  .hero { padding: 96px 16px; }
  .hero .title { font-size: 36px; }
  .cards { gap: 16px; }
  .card { max-width: 100%; }
  .card.row { flex-direction: column; }
  .card.row img { width: 100%; min-width: 100%; }
  .footer-nav { flex-direction: column; gap: 10px; } /* footer en columna para evitar solape */
}

/* ====== 19. Layout de cards (override con !important) ====== */
/* === Layout de las cards en productos === */
.cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 3 columnas en desktop */
  gap: 24px;
}

@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en tablet */
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr !important; /* 1 columna en móvil */
  }
}

/* ====== 19. Botones agrupados ====== */
/* Botones agrupados */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.btn-group .btn {
  flex: 1; /* ambos botones ocupan el mismo ancho */
  text-align: center;
}

/* ====== 20. Carrito lateral (varias versiones) ====== */
/* ===== Carrito lateral ===== */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px; /* oculto por defecto */
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  padding: 1rem;
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0; /* se muestra al abrir */
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.cart-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

#cart-items {
  flex: 1;
  overflow-y: auto;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

#cart-items li {
  margin-bottom: .5rem;
  font-size: .9rem;
  border-bottom: 1px solid #eee;
  padding-bottom: .3rem;
}

.cart-footer {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.cart-footer p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-footer .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* === Carrito lateral premium === */
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px; /* oculto por defecto */
  width: 400px;
  height: 100%;
  background: #111; /* fondo oscuro elegante */
  color: #f5f5f5;
  box-shadow: -4px 0 20px rgba(0,0,0,0.6);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue', sans-serif;
}

.cart-panel.open {
  right: 0; /* se desliza al abrir */
}

.cart-header {
  padding: 20px;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.item-price {
  font-size: 0.9rem;
  color: #aaa;
}

.quantity-control {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.quantity-control button {
  background: none;
  border: 1px solid #555;
  color: #f5f5f5;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-control button:hover {
  background: #333;
}

.quantity-control input {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  color: #f5f5f5;
  font-size: 1rem;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #b8860b); /* dorado lujo */
  border: none;
  color: #111;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #e6c85c, #cfae2e);
}

/* --- Selector de cantidad --- */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.qty-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 6px;
}

.qty-btn:hover {
  background: gold;
  color: #111;
}

.qty-input {
  width: 50px;
  text-align: center;
  margin: 0 5px;
  padding: 6px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-weight: bold;
}

/* --- Icono carrito --- */
.cart-icon {
  position: relative;
  margin-left: 15px;
  cursor: pointer;
  font-size: 20px;
}
.cart-icon span {
  background: gold;
  color: #111;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: bold;
}
/* --- Panel lateral carrito --- */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: #1c1c1c;
  color: #fff;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 1000;
}
.cart-panel.open {
  right: 0;
}
.cart-panel h2 {
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}
#cart-items {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
#cart-items li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
#checkout-btn {
  width: 100%;
  padding: 12px;
  background: gold;
  color: #111;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
#checkout-btn:hover {
  background: #ffdb4d;
}

/* Botón cerrar carrito */
.close-cart {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.close-cart:hover {
  color: gold;
}

/* Items del carrito con controles */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cart-item .controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cart-item button {
  background: #222;
  color: #fff;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
}
.cart-item button:hover {
  background: gold;
  color: #111;
}
.cart-icon {
  margin-left: 15px;
  cursor: pointer;
  font-size: 20px;
}
.cart-icon span {
  background: gold;
  color: #111;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: bold;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  margin: 0 8px;
}
.qty-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
}
.qty-btn:hover {
  background: gold;
  color: #111;
}
.qty {
  width: 50px;
  text-align: center;
  margin: 0 5px;
}

/* Animación de entrada del carrito */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 320px;
  height: 100%;
  background: #111;
  color: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.4);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.cart-panel.open {
  right: 0;
}

/* Overlay elegante */
.overlay {
  background: rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
}

/* Animación del badge */
.cart-icon span {
  background: gold;
  color: #111;
  border-radius: 50%;
  padding: 2px 7px;
  font-weight: bold;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.cart-icon.bump span {
  transform: scale(1.3);
}







/* Items del carrito */
#cart-items li {
  margin: 8px 0;
  padding: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cart-items li .controls button {
  background: transparent;
  border: none;
  color: gold;
  font-size: 16px;
  margin-left: 6px;
  cursor: pointer;
}
#cart-items li .controls button:hover {
  color: #fff;
}

/* --- Carrito lateral premium --- */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 320px;
  height: 100%;
  background: #111;
  color: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.6);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.cart-panel.open {
  right: 0;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin: 0;
}
.cart-header button {
  background: transparent;
  border: none;
  color: gold;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --- Overlay elegante --- */
.overlay {
  background: rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
}

/* --- Badge carrito --- */
.cart-icon {
  margin-left: 15px;
  cursor: pointer;
  font-size: 20px;
}
.cart-icon span {
  background: gold;
  color: #111;
  border-radius: 50%;
  padding: 2px 7px;
  font-weight: bold;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.cart-icon.bump span {
  transform: scale(1.3);
}

/* --- Items del carrito --- */
#cart-items {
  flex: 1;
  overflow-y: auto;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}
#cart-items li {
  margin: 8px 0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#cart-items li span {
  flex: 1;
}
#cart-items li .controls button {
  background: transparent;
  border: none;
  color: gold;
  font-size: 16px;
  margin-left: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}
#cart-items li .controls button:hover {
  color: #fff;
}

/* --- Footer del carrito --- */
.cart-footer {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
}
.cart-footer p {
  font-weight: bold;
  margin-bottom: 10px;
}
.cart-footer .btn-outline {
  padding: 10px 16px;       /* mismo padding que .btn */
  font-size: 1rem;          /* igual que el botón primary */
  min-width: 160px;         /* opcional, para que ambos tengan ancho similar */
}

/* --- Selector de cantidad en cards --- */
.qty-selector {
  display: inline-flex;
  align-items: center;
  margin: 0 8px;
}
.qty-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}
.qty-btn:hover {
  background: gold;
  color: #111;
}
.qty {
  width: 50px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #444;
  background: #000;
  color: #fff;
}

/* Botón outline dorado */
.btn-outline-gold {
  background: transparent;
  border: 2px solid gold;
  color: gold;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: gold;
  color: #111;
}

/* Botón outline dorado premium */
.btn-outline-gold {
  background: transparent;
  border: 2px solid #ffd700; /* dorado */
  color: #ffd700;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: #ffd700;
  color: #111;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.btn-outline-gold:active {
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

/* Botón outline dorado premium con mismo tamaño que Finalizar pedido */
.btn-outline-gold {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;          /* 👈 mismo ancho que Finalizar pedido */
  box-sizing: border-box;
  text-align: center;
}

.btn-outline-gold:hover {
  background: #ffd700;
  color: #111;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.btn-outline-gold:active {
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.wrap.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-icon {
  margin-left: 20px;
  cursor: pointer;
  font-size: 20px;
}

/* Animación shake/bounce del icono carrito */
@keyframes cart-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  50%  { transform: translateY(2px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.cart-icon.shake {
  animation: cart-bounce 0.6s ease;
}

/* Glow dorado cuando el carrito tiene productos */
.cart-icon.glow {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.8),
               0 0 12px rgba(255, 215, 0, 0.6),
               0 0 20px rgba(255, 215, 0, 0.4);
  transition: text-shadow 0.3s ease;
}

.wrap.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-icon {
  margin-left: 20px;
  cursor: pointer;
  font-size: 20px;
  position: relative;
}

@keyframes cart-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  50%  { transform: translateY(2px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.cart-icon.shake {
  animation: cart-bounce 0.6s ease;
}

/* Overlay semitransparente con blur */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* un poco más suave */
  backdrop-filter: blur(6px);    /* 👈 difuminado elegante */
  -webkit-backdrop-filter: blur(6px); /* soporte Safari */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998; /* justo debajo del carrito */
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Carrito lateral con efecto glassmorphism */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 320px;
  height: 100%;
  background: rgba(17, 17, 17, 0.65); /* semi-transparente */
  backdrop-filter: blur(12px);         /* 👈 difuminado elegante */
  -webkit-backdrop-filter: blur(12px); /* soporte Safari */
  color: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.6);
  transition: right 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-left: 1px solid rgba(255, 215, 0, 0.2); /* sutil borde dorado */
}

.cart-panel.open {
  right: 0;
}

/* =========================================================
   CARRITO LATERAL (GLASSMORPHISM)
   ========================================================= */
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s ease;
  pointer-events: none; /* evita clics cuando está cerrado */
}
.cart-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* =========================================================
   OVERLAY OSCURO CON BLUR
   ========================================================= */
.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 9998;
}
.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   ICONO DEL CARRITO (GLOW + SHAKE)
   ========================================================= */
.cart-icon {
  margin-left: 20px;
  cursor: pointer;
  font-size: 20px;
  position: relative;
}
.cart-icon span {
  background: gold;
  color: #111;
  border-radius: 50%;
  padding: 2px 7px;
  font-weight: bold;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.cart-icon.bump span { transform: scale(1.3); }
.cart-icon.glow {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255,215,0,0.8),
               0 0 12px rgba(255,215,0,0.6),
               0 0 20px rgba(255,215,0,0.4);
  transition: text-shadow 0.3s ease;
}
@keyframes cart-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  50%  { transform: translateY(2px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
.cart-icon.shake { animation: cart-bounce 0.6s ease; }
/* =========================================================
   HEADER DEL CARRITO PREMIUM
   ========================================================= */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(90deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0) 100%);
  border-radius: 6px;
}
.cart-header h2 {
  position: relative;
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin: 0;
  background: linear-gradient(90deg, #ffd700, #fff8dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cart-header h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, #ffd700, #fff8dc);
  transition: width 0.4s ease;
}
.cart-header h2:hover::after { width: 100%; }
.cart-header button {
  background: transparent;
  border: none;
  color: #ffd700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}
.cart-header button:hover {
  color: #fff;
  transform: scale(1.2);
}

/* =========================================================
   ANIMACIÓN DE ITEMS (STAGGERED)
   ========================================================= */
@keyframes cart-item-fade {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}
.cart-panel.open .cart-items li {
  opacity: 0;
  animation: cart-item-fade 0.5s ease forwards;
}
.cart-panel.open .cart-items li:nth-child(1) { animation-delay: 0.1s; }
.cart-panel.open .cart-items li:nth-child(2) { animation-delay: 0.2s; }
.cart-panel.open .cart-items li:nth-child(3) { animation-delay: 0.3s; }
.cart-panel.open .cart-items li:nth-child(4) { animation-delay: 0.4s; }
.cart-panel.open .cart-items li:nth-child(5) { animation-delay: 0.5s; }

/* =========================================================
   SELECTOR DE CANTIDAD PREMIUM
   ========================================================= */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
}
.qty-input {
  width: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}
.qty-btn {
  background: linear-gradient(135deg, #ffd700, #e6c200);
  border: none;
  color: #111;
  font-size: 1.1rem;
  font-weight: bold;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qty-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}
.qty-btn:active { transform: scale(0.95); }

/* =========================================================
   LAYOUT DE PRODUCTOS (GRID UNIFICADO)
   ========================================================= */
/* === Ajuste de ancho del contenedor wrap === */
.wrap {
  max-width: 1200px !important; /* ancho máximo recomendado para 3 columnas */
  margin: 0 auto;              /* centra el contenido */
  width: 100%;                 /* ocupa todo el ancho disponible */
  padding: 0 20px;             /* opcional: espacio lateral */
}

/* === Layout de productos en 3 columnas === */
.wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}

@media (max-width: 992px) {
  .wrap .cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .wrap .cards {
    grid-template-columns: 1fr !important;
  }
}

/* === Estilo unificado de las cards === */
.wrap .cards .card {
  background: linear-gradient(145deg, #111418, #191b20);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 26px rgba(0,0,0,0.65);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.wrap .cards .card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.25);
  box-shadow: 0 0 24px rgba(255,215,0,0.25), 0 16px 40px rgba(0,0,0,0.75);
}
.wrap .cards { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
/* Forzar que las cards ocupen columnas del grid */
.wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  justify-items: stretch;   /* cada card ocupa su columna */
  align-items: start;       /* se alinean arriba */
}

.wrap .cards .card {
  width: 100% !important;   /* que se adapten a la columna */
  max-width: none !important; /* elimina límite de 380px */
}
/* Forzar cards a ocupar toda la columna en productos */
body.productos .wrap .cards .card {
  width: 100% !important;
  max-width: none !important;
}
/* ——— Fuerza el grid de 3 columnas y neutraliza centrados —— */
.wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* minmax(0,1fr) evita desbordes */
  gap: 24px;
  justify-content: normal !important;   /* evita centrar el grid */
  align-content: start !important;
  justify-items: stretch !important;    /* cada item ocupa su columna completa */
  align-items: start !important;
}

/* ——— Asegura que cada card ocupe su columna —— */
.wrap .cards > .card {
  grid-column: auto !important;         /* evita que una card abarque toda la fila */
  width: 100% !important;
  max-width: none !important;           /* quita el tope de 380px que puede apilar/centrar */
  margin: 0 !important;                 /* evita centrados por margin auto */
  min-width: 0 !important;              /* permite que se encoja dentro de la columna */
}

/* ——— Evita que el contenido interno rompa la columna —— */
.wrap .cards .card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;                     /* no deforma la imagen */
}
.wrap .cards .card .body {
  width: 100%;
}

/* ——— Responsivo coherente —— */
@media (max-width: 992px) {
  .wrap .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .wrap .cards { grid-template-columns: 1fr !important; }
}
/* Forzar que las cards ocupen toda la columna en productos */
.wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  justify-items: stretch !important; /* cada card se estira en su columna */
  align-items: start !important;     /* se alinean arriba */
}

.wrap .cards .card {
  width: 100% !important;     /* ocupa toda la columna */
  max-width: none !important; /* elimina el límite de 380px */
  margin: 0 !important;       /* evita centrado */
}
/* === Layout de productos en grilla de 3 columnas === */
.wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 3 columnas iguales */
  gap: 24px !important; /* espacio entre cards */
}

/* Ajuste responsivo */
@media (max-width: 992px) {
  .wrap .cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .wrap .cards {
    grid-template-columns: 1fr !important;
  }
}

/* Cada card ocupa su columna completa */
.wrap .cards .card {
  width: 100% !important;
  max-width: none !important; /* elimina el tope de 380px */
  margin: 0 !important;       /* evita centrado */
}

/* === Productos: grid de 3 columnas con espacio === */
html body .wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  grid-auto-flow: row !important; /* asegura filas, no columnas */
}

/* Cada item ocupa su columna y no se expande a toda la fila */
html body .wrap .cards > * {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important; /* evita desbordes */
}

/* Contenido interno no rompe el layout */
html body .wrap .cards .card img { 
  display: block; 
  width: 100%; 
  height: auto; 
  object-fit: cover;
}
html body .wrap .cards .card .body { width: 100%; }

/* Responsivo coherente */
@media (max-width: 992px) {
  html body .wrap .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  html body .wrap .cards { grid-template-columns: 1fr !important; }
}

/* === Grid de 2 columnas solo en productos.html === */
body.productos .wrap .cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas iguales */
  gap: 24px !important; /* espacio entre cards */
}

body.productos .wrap .cards .card {
  width: 100% !important;
  max-width: none !important; /* que se adapten a la columna */
  margin: 0 !important;
}

/* Responsivo: en móvil, 1 columna */
@media (max-width: 600px) {
  body.productos .wrap .cards {
    grid-template-columns: 1fr !important;
  }
}

/* === Forzar que todas las cards tengan la misma altura === */
.wrap .cards {
  display: grid; /* asegura grid */
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  gap: 24px;
  align-items: stretch; /* estira todas las cards a la misma altura */
}

.wrap .cards .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* reparte contenido */
  height: 100%; /* ocupa toda la altura disponible */
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.btn-group .btn {
  flex: 1 1 auto;
}

.btn-group .qty-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* === Cards Responsive === */

/* Estilo base: móviles (pantallas pequeñas) */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* espacio entre cards */
}

.cards .card {
  flex: 1 1 100%;      /* ocupa todo el ancho disponible */
  max-width: 240px;    /* ancho máximo en móvil */
  padding: 10px;
}

.cards .card img {
  max-height: 140px;
  object-fit: cover;
}

.cards .card h3.name {
  font-size: 1rem;
}

.cards .card p {
  font-size: 0.85rem;
  line-height: 1.3;
}

/* Tablet (>=768px): cards medianas */
@media (min-width: 768px) {
  .cards .card {
    flex: 1 1 calc(50% - 20px); /* dos columnas */
    max-width: 300px;
    padding: 14px;
  }

  .cards .card img {
    max-height: 180px;
  }

  .cards .card h3.name {
    font-size: 1.1rem;
  }

  .cards .card p {
    font-size: 0.9rem;
  }
}

/* Desktop (>=1200px): cards grandes */
@media (min-width: 1200px) {
  .cards .card {
    flex: 1 1 calc(25% - 20px); /* cuatro columnas */
    max-width: 360px;
    padding: 18px;
  }

  .cards .card img {
    max-height: 220px;
  }

  .cards .card h3.name {
    font-size: 1.3rem;
  }

  .cards .card p {
    font-size: 1rem;
  }
}
/* === Ajuste Responsive de Altura de Cards === */

/* Base: móviles (pantallas pequeñas) */
.cards .card img {
  max-height: 120px;   /* imagen más baja en móvil */
  object-fit: cover;
}

.cards .card p {
  font-size: 0.85rem;
  line-height: 1.3;
  -webkit-line-clamp: 2;       /* máximo 2 líneas */
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tablet (>=768px): altura media */
@media (min-width: 768px) {
  .cards .card img {
    max-height: 160px;
  }
  .cards .card p {
    -webkit-line-clamp: 3;     /* hasta 3 líneas */
  }
}

/* Desktop (>=1200px): altura más generosa */
@media (min-width: 1200px) {
  .cards .card img {
    max-height: 200px;
  }
  .cards .card p {
    -webkit-line-clamp: 4;     /* hasta 4 líneas */
  }
}
/* === Grid de 3 columnas SOLO en productos.html === */
body.productos .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  gap: 24px; /* espacio entre cards */
  justify-items: center; /* centra las cards en su columna */
}

body.productos .card {
  width: 100%;
  max-width: 320px; /* ancho máximo de cada card */
}
/* === Contenedor más pequeño para cards (ej. index.html) === */
.wrap .cards {
  max-width: 900px;   /* antes ocupaba todo el ancho, ahora limitado */
  margin: 0 auto;     /* centrado en la página */
  padding: 10px 0;    /* menos espacio arriba y abajo */
  gap: 16px;          /* espacio entre cards */
}

/* 1. CONTENEDOR: referencia para las flechas y recorte interno */
.testis-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.testis-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 32px 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.testis-slider::-webkit-scrollbar { display: none; } /* WebKit */

.testis-slider .testi {
  flex: 0 0 340px;
  background: linear-gradient(145deg, #000 70%, #d4af37 100%);
  border-radius: 18px;
  padding: 24px 22px;
  text-align: center;
  scroll-snap-align: start;
  border: 1px solid #d4af37;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  color: #f5f5f5;
}
.testis-slider .testi-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #d4af37;
}
.testi-name {
  display: block;
  font-weight: 600;
  color: #d4af37;
  margin-top: 10px;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35); /* semi-transparente */
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s;
}
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }
.slide-btn:hover {
  background: rgba(212,175,55,0.85);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.chevron {
  width: 14px; height: 14px;
  display: inline-block;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.chevron-left { transform: rotate(-135deg); }
.chevron-right { transform: rotate(45deg); }

@media (max-width: 768px) {
  .slide-btn { display: none; }
}
/* Contenedor principal de la card */
.featured-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* reparte espacio entre arriba y abajo */
  align-items: center;
  height: 100%;                   /* todas las cards misma altura */
  padding: 20px;
  background: linear-gradient(145deg, #000 75%, #d4af37 100%);
  border: 1px solid #d4af37;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  text-align: center;
}

/* Contenedor de la imagen dentro de la card */
.featured-card .card-img {
  width: 100%;
  height: 220px;        /* altura fija para TODAS las imágenes */
  object-fit: cover;    /* recorta sin deformar */
  border-radius: 12px;
  border: 2px solid #d4af37;
  display: block;
}

/* Pill destacado */
.featured-card .card-pill {
  background: #d4af37;
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Selector */
.featured-card .card-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #f5f5f5;
}
.featured-card select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #d4af37;
  background: #111;
  color: #d4af37;
}

/* Botón */
.featured-card .card-btn {
  background: #d4af37;
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.featured-card .card-btn:hover {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch; /* fuerza que todas las cards tengan la misma altura */
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch; /* todas las cards misma altura */
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 25px;
  padding: 20px;
}

.card {
  background: #111;
  color: #f5d76e;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.featured-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #000 75%, #d4af37 100%);
  border: 1px solid #d4af37;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  padding: 16px;
  color: #f5f5f5;
}

.card-img-wrapper {
  width: 100%;
  height: 200px; /* altura uniforme */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 12px;
  border: 2px solid #d4af37;
  overflow: hidden;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* no deforma */
}

.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* espacio uniforme */
  flex-grow: 1;
  margin-top: 12px;
}

.pill {
  display: inline-block;
  background: #d4af37;
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
}

.save {
  font-size: 0.85rem;
  color: #0f0;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.qty {
  width: 40px;
  text-align: center;
  border: 1px solid #d4af37;
  background: #111;
  color: #d4af37;
}

.btn.primary {
  background: #d4af37;
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn.primary:hover {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
}
/* === Featured Card === */
.featured-card {
  display: flex;
  flex-direction: column;
  background: #000; /* base sobria */
  border: 1px solid transparent; /* sin borde dorado por defecto */
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  padding: 16px;
  color: #f5f5f5;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Borde dorado solo al pasar el mouse */
.featured-card:hover {
  border: 1px solid #d4af37;
  box-shadow: 0 12px 28px rgba(212,175,55,0.35);
}

/* === Botones elegantes === */
.btn.primary {
  background: linear-gradient(145deg, #d4af37, #b9972f);
  color: #000;
  font-weight: 600;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212,175,55,0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hover elegante */
.btn.primary:hover {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
  box-shadow: 0 6px 18px rgba(212,175,55,0.55);
  transform: translateY(-2px);
}
/* === Selector de cantidad redondo === */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
}

.qty-btn {
  background: linear-gradient(145deg, #000, #111);
  color: #d4af37;
  border: 2px solid #d4af37;
  border-radius: 50%;          /* redondo */
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(212,175,55,0.25);
}

.qty-btn:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(212,175,55,0.55);
}

.qty {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 2px solid #d4af37;
  border-radius: 50px;         /* redondeado */
  background: #000;
  color: #d4af37;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
}

/* === Botón principal redondo premium === */
.btn.primary {
  background: linear-gradient(145deg, #d4af37, #b9972f);
  color: #000;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;         /* redondeado */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(212,175,55,0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn.primary:hover {
  background: #000;
  color: #d4af37;
  border: 2px solid #d4af37;
  box-shadow: 0 8px 20px rgba(212,175,55,0.55);
  transform: translateY(-3px) scale(1.05);
}
/* Chrome, Safari, Edge, Opera */
.qty::-webkit-inner-spin-button,
.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.qty[type=number] {
  -moz-appearance: textfield;
}
/* === Overlay oscuro === */
#cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

#cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === Panel lateral del carrito === */
#cart-panel {
  position: fixed;
  top: 0; right: -400px;
  width: 360px;
  height: 100%;
  background: #000;
  border-left: 2px solid #d4af37;
  box-shadow: -6px 0 20px rgba(212,175,55,0.3);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#cart-panel.open {
  right: 0;
}

/* === Encabezado del carrito === */
#cart-panel h3 {
  color: #d4af37;
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Lista de items === */
#cart-items {
  flex-grow: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f5f5f5;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  font-size: 0.9rem;
}

#cart-items li .controls button {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
  border-radius: 50%;
  width: 28px; height: 28px;
  margin-left: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cart-items li .controls button:hover {
  background: #d4af37;
  color: #000;
}

/* === Footer del carrito === */
.cart-footer {
  border-top: 1px solid rgba(212,175,55,0.4);
  padding-top: 12px;
  text-align: center;
}

.cart-total {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: #d4af37;
  font-size: 1.1rem;
}

/* === Botones del footer === */
#clear-cart, #checkout {
  display: inline-block;
  margin: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#clear-cart {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
}

#clear-cart:hover {
  background: #d4af37;
  color: #000;
}

#checkout {
  background: linear-gradient(145deg, #d4af37, #b9972f);
  color: #000;
  border: none;
  box-shadow: 0 4px 12px rgba(212,175,55,0.35);
}

#checkout:hover {
  background: #000;
  color: #d4af37;
  border: 1px solid #d4af37;
  box-shadow: 0 6px 16px rgba(212,175,55,0.55);
}
/* === Animación de entrada del carrito === */
@keyframes slideInGlow {
  0% {
    right: -400px;
    box-shadow: none;
  }
  60% {
    right: 0;
    box-shadow: 0 0 20px rgba(212,175,55,0.6),
                0 0 40px rgba(212,175,55,0.4);
  }
  100% {
    right: 0;
    box-shadow: -6px 0 20px rgba(212,175,55,0.3);
  }
}

/* === Panel lateral del carrito con animación === */
#cart-panel {
  position: fixed;
  top: 0; right: -400px;
  width: 360px;
  height: 100%;
  background: #000;
  border-left: 2px solid #d4af37;
  box-shadow: -6px 0 20px rgba(212,175,55,0.3);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: right 0.4s ease;
}

#cart-panel.open {
  animation: slideInGlow 0.6s ease forwards;
}
/* === Animación de cierre del carrito === */
@keyframes slideOutFade {
  0% {
    right: 0;
    opacity: 1;
    box-shadow: -6px 0 20px rgba(212,175,55,0.3);
  }
  40% {
    box-shadow: 0 0 20px rgba(212,175,55,0.4),
                0 0 40px rgba(212,175,55,0.2);
  }
  100% {
    right: -400px;
    opacity: 0;
    box-shadow: none;
  }
}

/* Estado de cierre */
#cart-panel.closing {
  animation: slideOutFade 0.5s ease forwards;
}
@keyframes slideOutFade {
  0% {
    right: 0;
    opacity: 1;
    box-shadow: -6px 0 20px rgba(212,175,55,0.3);
  }
  40% {
    box-shadow: 0 0 20px rgba(212,175,55,0.4),
                0 0 40px rgba(212,175,55,0.2);
  }
  100% {
    right: -400px;
    opacity: 0;
    box-shadow: none;
  }
}

#cart-panel.closing {
  animation: slideOutFade 0.5s ease forwards;
}


/* ================================
   Variables de marca premium
   ================================ */
:root {
  --color-negro: #000000;
  --color-dorado: #FFD700;
}

/* ================================
   Botón flotante del carrito (ícono más grande)
   ================================ */
.cart-button {
  background-color: var(--color-negro);   /* Fondo negro */
  color: var(--color-dorado);             /* Ícono dorado */
  border: 2px solid var(--color-dorado);  /* Outline dorado */
  border-radius: 30px;                    /* Forma ovalada */
  width: 90px;                            /* Mantén el tamaño del botón */
  height: 50px;
  font-size: 2rem;                        /* Tamaño del ícono 🛒 */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

/* Hover: inversión premium */
.cart-button:hover {
  background-color: var(--color-dorado) !important;
  color: var(--color-negro) !important;
  border-color: var(--color-negro) !important;
}
.btn-info {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #d4af37, #f5d76e); /* degradado dorado */
  color: #111;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.btn-info:hover {
  background: linear-gradient(135deg, #f5d76e, #fff8dc);
  color: #000;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
/* ====== Hero Nutrek ====== */
.hero {
  padding: 60px 20px 40px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% -10%, rgba(255,215,0,0.08), transparent 60%),
    var(--bg);
  border-top: none; /* sin línea */
}

.hero .title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--brand);
  text-shadow: 0 0 12px rgba(255,226,122,0.45);
  margin-bottom: 12px;
}

.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ====== Panel central con imagen y texto ====== */
.panel.center {
  text-align: center;
  padding: 40px 20px;
  background: var(--card, #121216);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  margin: 40px auto;
  max-width: 800px;
}

.panel.center img {
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

.panel.center p {
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 16px;
}

.panel.center ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.panel.center ul li {
  font-size: 15px;
  color: var(--brand);
  margin: 6px 0;
  font-weight: 500;
}

.panel.center .btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
}
/* ====== Responsive Hero & Panel ====== */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .hero {
    padding: 50px 16px 32px;
  }
  .hero .title {
    font-size: 32px;
  }
  .hero .sub {
    font-size: 16px;
    max-width: 600px;
  }

  .panel.center {
    padding: 32px 16px;
    margin: 32px auto;
    max-width: 90%;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 640px) {
  .hero {
    padding: 40px 12px 28px;
  }
  .hero .title {
    font-size: 26px;
    line-height: 1.2;
  }
  .hero .sub {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 auto 12px;
  }

  .panel.center {
    padding: 24px 14px;
    margin: 24px auto;
    border-radius: 10px;
  }
  .panel.center img {
    max-width: 220px;
    margin-bottom: 16px;
  }
  .panel.center p {
    font-size: 14px;
  }
  .panel.center ul li {
    font-size: 14px;
    margin: 4px 0;
  }
  .panel.center .btn-group {
    flex-direction: column;
    gap: 10px;
  }
}
/* ====== Video ====== */
.hero-video {
  margin: 40px auto;
  text-align: center;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.video-container iframe {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  border:0;
}

/* ====== Panel ====== */
.panel {
  background: var(--card, #121216);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 20px;
  margin: 32px auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.panel.center { text-align: center; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--brand);
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(255,226,122,0.45);
}

/* ====== Beneficios ====== */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-list li {
  margin: 8px 0;
  font-size: 15px;
  color: var(--fg);
}

/* ====== Ingredientes ====== */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ingredients-grid li {
  background: rgba(255,215,0,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  color: var(--fg);
}

/* ====== FAQ ====== */
.faq details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  background: #0f0f12;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
}
.faq p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--fg);
}
/* ====== FAQ Premium ====== */
.faq details {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  background: #0f0f12;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.faq details[open] {
  border-color: var(--brand);
  box-shadow: 0 0 12px rgba(255,215,0,0.25);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none; /* Oculta el triángulo por defecto */
}

.faq p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
}
/* Hero Video */
.hero-video { margin: 40px auto; }
.video-container {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.video-container iframe { position: absolute; top:0; left:0; width:100%; height:100%; }

/* Panel base */
.panel {
  background: var(--card, #121216);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 28px;
  margin: 40px auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.panel.center { text-align: center; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--brand);
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(255,226,122,0.45);
}
.lead { font-size: 18px; color: var(--fg); line-height: 1.6; }

/* Beneficios */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.benefit-card {
  background: rgba(255,215,0,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  color: var(--fg);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Ingredientes */
.ingredients-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; list-style: none; padding: 0;
}
.ingredients-grid li {
  background: #0f0f12;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  color: var(--fg);
}

/* FAQ */
.faq details {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  background: #0f0f12;
  transition: all 0.3s ease;
}
.faq details[open] { border-color: var(--brand); box-shadow: 0 0 12px rgba(255,215,0,0.25); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--brand); font-size: 15px; }
.faq p { margin: 10px 0 0; font-size: 14px; color: var(--fg); }
.hero-video {
  margin: 32px auto;
  max-width: 800px; /* limita el ancho */
}
.video-container {
  position: relative;
  padding-bottom: 45%; /* menos alto que 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}
.video-container iframe {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
}
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.ingredients-grid li {
  background: #0f0f12;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: var(--fg);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.ingredients-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  border-color: var(--brand);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.benefit-card {
  background: rgba(255,215,0,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.faq details {
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  background: #0f0f12;
  width: 100%; /* ocupa todo el ancho */
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
}
.faq p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
  width: 100%; /* texto fluye a todo el ancho */
}
/* Contenedor FAQ */
.panel.faq {
  width: 100%;
  max-width: 100%;
  padding: 40px 28px;
}

/* Cada pregunta */
.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  background: #0f0f12;
  width: 100%;
  box-sizing: border-box;
}

/* Título de la pregunta */
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
}

/* Respuesta */
.faq p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  display: block;
}
.ingredients-grid li {
  background: #0f0f12;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: var(--fg);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6em; /* fuerza 2 líneas de altura aprox. */
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.ingredients-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  border-color: var(--brand);
}
/* FAQ respuestas centradas y a ancho completo */
.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  background: #0f0f12;
  width: 100%;
  box-sizing: border-box;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
  text-align: center; /* centra la pregunta */
}

.faq p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  text-align: center; /* centra la respuesta */
  display: block;
}
/* ====== FAQ con animación ====== */
.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  background: #0f0f12;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
  text-align: center; /* centra la pregunta */
}

/* Contenido oculto inicialmente */
.faq details p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  text-align: center; /* centra la respuesta */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* Cuando se abre el details */
.faq details[open] p {
  margin-top: 14px;
  opacity: 1;
  max-height: 500px; /* suficiente para cualquier respuesta */
}
/* ====== FAQ con íconos animados ====== */
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: center; /* centra la pregunta */
  align-items: center;
  position: relative;
  padding-right: 24px; /* espacio para el ícono */
}

/* Ícono por defecto (➕) */
.faq summary::after {
  content: "➕";
  position: absolute;
  right: 0;
  font-size: 16px;
  color: var(--brand);
  transition: transform 0.3s ease, content 0.3s ease;
}

/* Ícono cuando está abierto (✖) */
.faq details[open] summary::after {
  content: "✖";
  transform: rotate(180deg);
}

/* Animación de la respuesta */
.faq p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.faq details[open] p {
  opacity: 1;
  max-height: 500px;
}
/* ====== FAQ con íconos SVG dorados ====== */
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: center; /* centra la pregunta */
  align-items: center;
  position: relative;
  padding-right: 32px; /* espacio para el ícono */
}

/* Ícono SVG dorado por defecto (círculo con +) */
.faq summary::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='gold'><circle cx='12' cy='12' r='11' stroke='gold' stroke-width='2' fill='none'/><line x1='12' y1='7' x2='12' y2='17' stroke='gold' stroke-width='2'/><line x1='7' y1='12' x2='17' y2='12' stroke='gold' stroke-width='2'/></svg>");
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

/* Ícono SVG dorado cuando está abierto (círculo con ✖) */
.faq details[open] summary::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='gold'><circle cx='12' cy='12' r='11' stroke='gold' stroke-width='2' fill='none'/><line x1='8' y1='8' x2='16' y2='16' stroke='gold' stroke-width='2'/><line x1='16' y1='8' x2='8' y2='16' stroke='gold' stroke-width='2'/></svg>");
  transform: rotate(180deg);
}

/* Animación de la respuesta */
.faq p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.faq details[open] p {
  opacity: 1;
  max-height: 500px;
}
/* FAQ contenedor */
.panel.faq {
  width: 100%;
  max-width: 100%;
  padding: 40px 28px;
  box-sizing: border-box;
}

/* Cada pregunta */
.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  background: #0f0f12;
  width: 100%;
  box-sizing: border-box;
}

/* Pregunta (summary) */
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
  text-align: center;
}

/* Respuesta (p) */
.faq p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;          /* ocupa todo el ancho */
  display: block;       /* asegura bloque completo */
  text-align: center;   /* centra el texto */
  box-sizing: border-box;
}
/* ====== FAQ con ancho máximo controlado ====== */
.panel.faq {
  width: 100%;
  padding: 40px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center; /* centra el contenido dentro */
}

.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  background: #0f0f12;
  width: 100%;
  max-width: 900px; /* límite de ancho */
  box-sizing: border-box;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
  text-align: center;
}

.faq p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
}
/* ====== FAQ Responsive ====== */
.panel.faq {
  width: 100%;
  padding: 40px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center; /* centra el contenido */
}

.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  background: #0f0f12;
  width: 100%;
  max-width: 95%; /* por defecto ocupa casi todo el ancho */
  box-sizing: border-box;
}

/* Pregunta */
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
  list-style: none;
  display: block;
  width: 100%;
  text-align: center;
}

/* Respuesta */
.faq p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
}

/* ====== Breakpoints ====== */

/* En móviles pequeños */
@media (max-width: 600px) {
  .faq details {
    max-width: 700px; /* límite cómodo en móviles */
  }
}

/* En pantallas medianas (tablets) */
@media (min-width: 601px) and (max-width: 1024px) {
  .faq details {
    max-width: 850px;
  }
}

/* En pantallas grandes (desktop) */
@media (min-width: 1025px) {
  .faq details {
    max-width: 1100px; /* límite elegante en desktop */
  }
}
/* ====== Tarjetas de beneficios Coffee Life ====== */
.coffee-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.coffee-card {
  background: #0f0f12; /* fondo negro premium */
  border: 1px solid rgba(255, 215, 0, 0.25); /* borde dorado sutil */
  border-radius: 12px;
  padding: 20px;
  color: var(--fg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.coffee-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

.coffee-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brand); /* dorado */
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 0 8px rgba(255,215,0,0.35);
}

.coffee-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coffee-card li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  color: var(--fg);
}

/* Icono dorado tipo viñeta */
.coffee-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 14px;
}
/* ====== Coffee Life Cards con íconos dorados ====== */
.coffee-card {
  background: #0f0f12;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 24px 20px;
  color: var(--fg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.coffee-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

.coffee-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brand);
  margin: 12px 0;
  text-shadow: 0 0 8px rgba(255,215,0,0.35);
}

/* Ícono superior */
.coffee-card .icon {
  display: block;
  margin: 0 auto 12px;
  width: 40px;
  height: 40px;
}

/* Lista */
.coffee-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.coffee-card li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  color: var(--fg);
}

.coffee-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 14px;
}
/* ====== Ingredientes Premium Coffee Life ====== */
.premium-ingredients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.ingredient-card {
  background: #0f0f12;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 24px 20px;
  color: var(--fg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

.ingredient-card .icon {
  display: block;
  margin: 0 auto 12px;
  width: 40px;
  height: 40px;
}

.ingredient-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255,215,0,0.35);
}

.ingredient-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}
/* ====== Grid general ====== */
.coffee-benefits,
.premium-ingredients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* ====== Tarjetas ====== */
/* Estado inicial: oculto */
.coffee-card,
.ingredient-card {
  background: #0f0f12;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 24px 20px;
  color: var(--fg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  opacity: 0;                /* oculto al inicio */
  transform: translateY(20px);
}

/* Estado visible cuando entra en pantalla */
.coffee-card.visible,
.ingredient-card.visible {
  opacity: 1;
  transform: translateY(0);
}/* Hover */
.coffee-card:hover,
.ingredient-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

/* ====== Iconos ====== */
.icon img,
.icon svg {
  width: 40px;   /* controla tamaño */
  height: 40px;
  margin: 0 auto 12px;
  display: block;
}

/* ====== Títulos ====== */
.coffee-card h3,
.ingredient-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255,215,0,0.35);
}

/* ====== Listas ====== */
.coffee-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.coffee-card li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  color: var(--fg);
}

.coffee-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 14px;
}

/* ====== Texto de ingredientes ====== */
.ingredient-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}
/* ====== Sección preparación ====== */
.preparation {
  margin-top: 50px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.step {
  background: #0f0f12;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FFD700, #B8860B);
  color: #0f0f12;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,215,0,0.5);
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}
/* ====== Animación con scroll para sección preparación ====== */

/* Estado inicial oculto */
.step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Estado visible cuando entra en pantalla */
.step.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ====== Sección preparación ====== */
.preparation {
  margin-top: 60px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.divider {
  width: 120px;
  height: 2px;
  background: #FFD700;
  border: none;
  margin: 0 auto 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  background: #0f0f12;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: #FFD700;
  box-shadow: 0 10px 22px rgba(0,0,0,0.6);
}

.icon img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: block;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #FFD700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step p {
  font-size: 14px;
  line-height: 1.5;
  color: #f5f5f5;
}
.info-box {
  background: #111; /* fondo negro elegante */
  border: 2px solid #ffd700; /* dorado */
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  font-family: 'Inter', sans-serif;
  color: #eee; /* texto claro sobre negro */
}

.info-box h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700; /* dorado para títulos */
  margin-bottom: 15px;
}

.info-box details {
  margin: 10px 0;
  border: 1px solid #444;
  border-radius: 8px;
  background: #000; /* fondo negro dentro del acordeón */
  overflow: hidden;
}

.info-box summary {
  font-weight: 600;
  cursor: pointer;
  padding: 10px;
  background: linear-gradient(90deg, #222, #111);
  color: #ffd700; /* dorado para el encabezado */
  border-bottom: 1px solid #444;
  transition: background 0.3s ease;
}

.info-box summary:hover {
  background: linear-gradient(90deg, #333, #111);
}

.info-box details[open] {
  border: 1px solid #ffd700; /* borde dorado al abrir */
  background: #111;
}

.info-box ul {
  margin: 10px 0 10px 20px;
  color: #eee;
}

.info-box li {
  margin-bottom: 6px;
}
.info-box {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.info-box h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  margin-bottom: 15px;
}

.info-box details {
  margin: 10px 0;
  border: 1px solid #444;
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}

.info-box summary {
  font-weight: 600;
  cursor: pointer;
  padding: 10px;
  background: linear-gradient(90deg, #222, #111);
  color: #ffd700;
  border-bottom: 1px solid #444;
  transition: background 0.3s ease;
  position: relative;
}

.info-box summary::after {
  content: "➕";
  position: absolute;
  right: 15px;
  color: #ffd700;
  transition: transform 0.3s ease;
}

.info-box details[open] summary::after {
  content: "➖";
}

.info-box summary:hover {
  background: linear-gradient(90deg, #333, #111);
}

.info-box ul {
  margin: 10px 0 10px 20px;
  color: #eee;
}

.info-box li {
  margin-bottom: 6px;
}
.info-box {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.info-box h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  margin-bottom: 15px;
}

.info-box details {
  margin: 10px 0;
  border: 1px solid #444;
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}

.info-box summary {
  font-weight: 600;
  cursor: pointer;
  padding: 10px;
  background: linear-gradient(90deg, #222, #111);
  color: #ffd700;
  border-bottom: 1px solid #444;
  transition: background 0.3s ease;
  position: relative;
}

.info-box summary::after {
  content: "➕";
  position: absolute;
  right: 15px;
  color: #ffd700;
  transition: transform 0.3s ease;
}

.info-box details[open] summary::after {
  content: "➖";
}

.info-box summary:hover {
  background: linear-gradient(90deg, #333, #111);
}

.info-box ul {
  margin: 10px 0 10px 20px;
  color: #eee;
}

.info-box li {
  margin-bottom: 6px;
}
.product-highlights {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.product-highlights h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
}

.highlight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.highlight-box {
  flex: 1 1 300px;
  background: #000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.highlight-box h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.highlight-box p {
  color: #eee;
  line-height: 1.5;
}
.product-benefits {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.product-benefits h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-box {
  flex: 1 1 280px;
  background: #000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.benefit-box h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.benefit-box p {
  color: #eee;
  line-height: 1.5;
}
.product-benefits {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.product-benefits h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-box {
  flex: 1 1 280px;
  background: #000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.benefit-box h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.benefit-box p {
  color: #eee;
  line-height: 1.5;
}
.product-benefits {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.product-benefits h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-box {
  flex: 1 1 280px;
  background: #000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.benefit-box i {
  font-size: 2.5em;
  color: #ffd700;
  margin-bottom: 15px;
}

.benefit-box h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.benefit-box p {
  color: #eee;
  line-height: 1.5;
}
.key-ingredients {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.key-ingredients h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  text-align: center;
  margin-bottom: 10px;
}

.key-ingredients .intro {
  text-align: center;
  margin-bottom: 30px;
  color: #ccc;
}

.ingredient-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ingredient-box {
  flex: 1 1 260px;
  background: #000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.ingredient-box:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}

.ingredient-box i {
  font-size: 2.5em;
  color: #ffd700;
  margin-bottom: 15px;
}

.ingredient-box h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.ingredient-box p {
  color: #eee;
  line-height: 1.5;
}
.go-men-box {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
  line-height: 1.6;
}

.go-men-box h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.go-men-box p {
  margin-bottom: 15px;
  color: #ccc;
}
.go-men-target {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
  line-height: 1.6;
}

.go-men-target h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.go-men-target p {
  margin-bottom: 20px;
  color: #ccc;
  text-align: center;
}

.go-men-target ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.go-men-target li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: #eee;
}

.go-men-target li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #ffd700;
}
.go-men-usage {
  background: #111;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 40px 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
  line-height: 1.6;
}

.go-men-usage h2 {
  font-family: 'Playfair Display', serif;
  color: #ffd700;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.go-men-usage ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.go-men-usage li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: #eee;
}

.go-men-usage li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #ffd700;
}

.go-men-usage strong {
  color: #ffd700;
}

.clarifications h3 {
  color: #ffd700;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.clarifications p {
  color: #ccc;
  margin-bottom: 15px;
}
.video-container video {
  max-width: 100%;
  height: auto;
  display: block;
}
.video-container {
  height: 0;          /* Se adapta al contenido */
  min-height: 400px;     /* Asegura espacio suficiente */
  overflow: visible;     /* Evita que se corten los controles */
}
.hero-video {
  position: relative;
}

.video-container {
  line-height: 0;       /* elimina espacio por línea */
}

.video-container video {
  width: 100%;
  height: auto;
}