/* ═══════════════════════════════════════════════════
   EL COLIBRÍ — Estilos principales
   Tipografía: Manrope (todo el sitio)
═══════════════════════════════════════════════════ */

/* ── Variables globales ── */
:root {
  --color-bg:        #faf9f7;
  --color-bg-alt:    #f3f0eb;
  --color-text:      #1a1a1a;
  --color-muted:     #7a7060;
  --color-accent:    #8B6914;
  --color-accent2:   #4a7c59;
  --color-line:      #1a1a1a;
  --color-nav-bg:    #ffffff;
  --color-hero-1:    #1e3a2f;
  --color-hero-2:    #2d5016;
  --color-hero-3:    #4a3728;
  --font-display:    'Manrope', sans-serif;
  --font-nav:        'Manrope', sans-serif;
  --nav-height:      84px;
  --shadow-nav:      0 1px 24px rgba(0,0,0,0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: #1a1a1a;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  box-shadow: var(--shadow-nav);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* Sombra más pronunciada al hacer scroll */
.navbar.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,0.11);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Logo (izquierda) ── */
.nav-logo {
  width: auto;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Logo como enlace */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Links de navegación (centro) ── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  position: relative;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: none;
  padding-bottom: 4px;
  white-space: nowrap;

  /* Línea de subrayado animada */
  display: inline-block;
}

/* Línea debajo del link — elemento pseudo */
/* Estado base: línea encogida hacia la derecha (invisible) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-line);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms ease;
}

/* Hover: entra desde la izquierda hacia la derecha */
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 350ms ease;
}


/* ── Iconos (derecha) ── */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  position: relative;
}

.icon-btn:hover {
  color: var(--color-accent);
  transform: scale(1.1);
  background: rgba(139, 105, 20, 0.06);
}

/* ── Botón flotante WhatsApp ── */
.whatsapp-flotante {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-flotante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* ── WhatsApp icon ── */
.whatsapp-btn {
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  color: #25D366;
  transform: scale(1.1);
  background: rgba(37, 211, 102, 0.08);
}



/* ═══════════════════════════════════════
   CATEGORÍAS (inicio)
═══════════════════════════════════════ */
.categorias {
  background: #ffffff;
  padding: 60px 0;
  margin-top: var(--nav-height);
}

.categorias-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.categoria-card-link {
  width: 100%;
  display: block;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .categorias-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .categorias-inner { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
}

@media (max-width: 480px) {
  .categorias-inner { grid-template-columns: 1fr; }
}

.categoria-card {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background-color: #3a2e22;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

/* Colores de fallback por tarjeta (nth-child sobre el link wrapper) */
/* Imagen aplicada via style en index.html: Fondo_juegos_de_mesa.jpeg */
.categoria-card-link:nth-child(1) .categoria-card { background-color: #c9bfb0; }

/* Imagen aplicada via style en index.html: Fondo_didacticos.jpeg */
.categoria-card-link:nth-child(2) .categoria-card { background-color: #b8c4b0; }

/* Imagen aplicada via style en index.html: Fondo_artesanias.jpeg */
.categoria-card-link:nth-child(3) .categoria-card { background-color: #a07820; }

/* Colombia para el Mundo — reemplazar con background-image cuando haya foto */
.categoria-card-link:nth-child(4) .categoria-card { background: linear-gradient(135deg, #a07820, #6b4423); }

/* Overlay permanente sutil para legibilidad del texto */
.categoria-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease;
  z-index: 1;
}

.categoria-card:hover {
  transform: translateY(-4px);
}

.categoria-card:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

/* Texto en esquina inferior izquierda */
.categoria-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

.categoria-nombre {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  display: block;
}

.categoria-explorar {
  font-family: var(--font-nav);
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 4px;
  opacity: 0.9;
  transition: letter-spacing 0.3s ease;
}

.categoria-card:hover .categoria-explorar {
  letter-spacing: 0.16em;
}


/* ═══════════════════════════════════════
   PÁGINA DE CATEGORÍA
═══════════════════════════════════════ */
.pagina-categoria {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  min-height: 80vh;
  background: var(--color-bg);
}

.pagina-categoria-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.pagina-titulo {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 48px;
}

.pagina-categoria .pagina-titulo {
  margin-bottom: 0;
}

.categoria-contador {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #7a7060;
  margin-top: 8px;
  margin-bottom: 32px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.producto-placeholder {
  background: #f0ede8;
  height: 280px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  font-size: 15px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: #1a1a1a;
  color: #cfcfcf;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 60px 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
}

/* ── Columnas ── */
.footer-brand {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #cfcfcf;
  line-height: 1.7;
}

.footer-col-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ── Redes sociales ── */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid #5a5a5a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.35s ease;
}

/* Fondo que sube desde abajo */
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 260ms ease-out;
}

/* Entrada: se llena en 350ms */
.social-btn:hover::before {
  transform: scaleY(1);
  transition: transform 350ms ease-out;
}

/* El SVG queda por encima del ::before */
.social-btn svg {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.social-btn:hover {
  color: #1a1a1a;
  border-color: #ffffff;
}

/* ── Tiendas ── */
.footer-tienda {
  margin-bottom: 20px;
}

.footer-tienda:last-child {
  margin-bottom: 0;
}

.tienda-nombre {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.tienda-dir {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #cfcfcf;
  line-height: 1.5;
  padding-left: 18px;
}

/* ── Sub-footer ── */
.footer-sub {
  border-top: 1px solid #2a2a2a;
  padding: 20px 60px;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ── Responsive footer ── */
@media (max-width: 1200px) {
  .footer-inner {
    gap: 32px;
    padding: 60px 40px 48px;
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 56px 40px 44px;
  }

  .footer-sub {
    padding: 20px 40px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 40px;
  }

  .footer-sub {
    padding: 20px 24px;
  }
}


/* ═══════════════════════════════════════
   JUEGOS MÁS VENDIDOS (inicio)
═══════════════════════════════════════ */
.destacados {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.destacados-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 48px;
}

.destacados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .destacados-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .destacados-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .destacados { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .destacados-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1280px) and (min-width: 769px) {
  .nav-links {
    gap: 28px;
  }

  .nav-link {
    font-size: 13.5px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }

  /* En móvil los links se ocultan (menú hamburguesa en futura iteración) */
  .nav-links {
    display: none;
  }

  .nav-logo {
    height: 52px;
  }

  .logo-img {
    height: 46px;
  }
}


/* ═══════════════════════════════════════
   MODAL DE LOGIN
═══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.abierto {
  display: flex;
  animation: overlayEntrada 0.25s ease both;
}

@keyframes overlayEntrada {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 48px 44px 44px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  animation: modalEntrada 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalEntrada {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #a09880;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.05);
}

.modal-titulo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-sub {
  font-family: var(--font-nav);
  font-size: 14.5px;
  color: var(--color-muted);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

/* ── Botón Google ── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: #ffffff;
  border: 1.5px solid #dadce0;
  border-radius: 6px;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-google:hover {
  background: #f8f8f8;
  border-color: #b0b8c1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* ── Separador ── */
.modal-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #c8bfb0;
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.modal-sep::before,
.modal-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e4df;
}

/* ── Campo email ── */
.modal-campo {
  margin-bottom: 16px;
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd8d0;
  border-radius: 6px;
  font-family: var(--font-nav);
  font-size: 15px;
  color: var(--color-text);
  background: #faf9f7;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.02em;
}

.modal-input::placeholder {
  color: #b8b0a0;
}

.modal-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
  background: #fff;
}

.modal-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.modal-error {
  margin-top: 7px;
  font-family: var(--font-nav);
  font-size: 13px;
  color: #c0392b;
  min-height: 18px;
  letter-spacing: 0.02em;
}

/* ── Botón continuar con correo ── */
.btn-correo {
  width: 100%;
  padding: 13px 20px;
  background: var(--color-text);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-correo:hover:not(:disabled) {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.btn-correo:disabled {
  background: #d0ccc6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 40px 28px 36px;
  }
}


/* ═══════════════════════════════════════
   CATÁLOGO DE PRODUCTOS
═══════════════════════════════════════ */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.catalogo-pronto {
  font-family: var(--font-nav);
  font-size: 18px;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  padding: 60px 0;
  text-align: center;
}

/* Tarjeta de producto */
.producto-card {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  transition: transform 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-4px);
}

.producto-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
}

.producto-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.img-principal {
  opacity: 1;
}

.img-hover {
  opacity: 0;
}

.producto-card:hover .img-principal {
  opacity: 0;
}

.producto-card:hover .img-hover {
  opacity: 1;
}

.producto-card-nombre {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  width: 100%;
  margin: 20px auto 0 auto;
  line-height: 1.3;
  text-align: center;
}

.producto-card-precio {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  width: 100%;
  margin: 6px auto 0 auto;
  text-align: center;
}

.precio-pronto {
  color: #7a7060;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .catalogo-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .catalogo-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════
   PÁGINA DE DETALLE DE PRODUCTO
═══════════════════════════════════════ */
.pagina-producto {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: #ffffff;
  min-height: 80vh;
}

.pagina-producto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.galeria-col,
.info-col {
  width: 100%;
  min-width: 0;
}

/* Galería */
.galeria-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
}

.galeria-img-grande {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.galeria-lupa {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e0dbd0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s ease;
}

.galeria-lupa:hover {
  background: #ffffff;
}

.galeria-miniaturas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.miniatura {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.miniatura.activa {
  border-color: #1a1a1a;
}

.miniatura:hover:not(.activa) {
  border-color: #b0a898;
}

/* Columna de información */
.breadcrumb {
  font-family: var(--font-nav);
  font-size: 13px;
  color: #7a7060;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  text-align: center;
}

.breadcrumb a {
  color: #7a7060;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb span:last-child {
  color: var(--color-text);
}

.bc-sep {
  color: #c8c0b4;
}

.detalle-nombre {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-top: 20px;
  line-height: 1.2;
  text-align: center;
}

.detalle-precio {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 16px;
  text-align: center;
}

/* Selector de variantes */
.variante-selector {
  margin-top: 24px;
}

.variante-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.variante-opciones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variante-btn {
  padding: 0 14px;
  min-width: 56px;
  height: 40px;
  border: 1px solid #d4cec3;
  border-radius: 4px;
  background: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #2c2c2c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.variante-btn:hover {
  border-color: #9a9a9a;
}

.variante-btn.activa {
  border: 2px solid #1a1a1a;
  background: #f5f2ed;
}


/* ═══════════════════════════════════════
   BUSCADOR INTELIGENTE
═══════════════════════════════════════ */
.buscador-wrap {
  position: relative;
}

.buscador-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.buscador-toggle:hover {
  opacity: 0.6;
}

.buscador-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 420px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid #e5e0d8;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

.buscador-dropdown.activo {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.buscador-input-wrap {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e0d8;
  gap: 10px;
}

.buscador-input-icon {
  color: #7a7060;
  flex-shrink: 0;
}

#buscador-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  background: transparent;
}

#buscador-input::placeholder {
  color: #a8a094;
}

.buscador-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #7a7060;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.buscador-close:hover {
  background: #f3f0eb;
  color: #1a1a1a;
}

.buscador-resultados {
  max-height: 480px;
  overflow-y: auto;
}

.buscador-resultados:not(:empty) {
  padding: 8px;
}

.buscador-mensaje {
  text-align: center;
  color: #7a7060;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  padding: 32px 16px;
  margin: 0;
}

.buscador-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.buscador-item:hover,
.buscador-item.seleccionado {
  background: #f5f2ed;
}

.buscador-item-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  border-radius: 4px;
}

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

.buscador-item-nombre {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buscador-item-precio {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #5a5550;
  margin: 0;
}

@media (max-width: 600px) {
  .buscador-dropdown {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
  }
}


/* ═══════════════════════════════════════
   SLIDER HERO
═══════════════════════════════════════ */
.slider-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--nav-height, 76px);
  background: #1a1a1a;
}

.slider-track {
  display: flex;
  width: 100%;
}

.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slide.activo {
  opacity: 1;
  position: relative;
}

/* Primer slide visible en CSS antes de que corra el JS */
.slider-track:not(:has(.slide.activo)) .slide:first-child {
  opacity: 1;
  position: relative;
}

.slide-img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-desktop { display: block; }
.slide-movil   { display: none;  }

@media (max-width: 768px) {
  .slide-desktop { display: none !important;  }
  .slide-movil   { display: block !important; }
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.slider-dot-progreso {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
  transition: none;
}

.slide-overlay {
  position: absolute;
  z-index: 5;
}

.slide-overlay-parques {
  bottom: 26%;
  left: 56%;
}

.slide-overlay-rana {
  bottom: 25%;
  left: 29%;
}

.slide-btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 22px 56px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.slide-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

@media (max-width: 768px) {
  .slide-overlay-parques{
    bottom: 8%;
    left: 56%;
    transform: translateX(-50%);
  }
  .slide-overlay-rana{
    bottom: 11%;
    left: 56%;
    transform: translateX(-50%);
  }
  .slide-btn {
    font-size: 13px;
    padding: 16px 36px;
  }
}

@media (max-width: 600px) {
  .slider-dots { bottom: 12px; }
  .slider-dot  { width: 36px; }
}


/* ═══════════════════════════════════════
   BOTÓN WHATSAPP — PÁGINA DE PRODUCTO
═══════════════════════════════════════ */
.btn-whatsapp-compra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #25D366;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  margin-top: 24px;
}

.btn-whatsapp-compra:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-whatsapp-compra:active {
  transform: translateY(0);
}


/* ═══════════════════════════════════════
   MÉTODOS DE PAGO
═══════════════════════════════════════ */
.btn-metodos-pago {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid #d4cec3;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-metodos-pago:hover {
  background: #f5f2ed;
  border-color: #1a1a1a;
}

.modal-pagos-titulo {
  font-size: 22px !important;
}

.metodos-pago-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 20px;
}

.metodo-pago-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9f7f4;
  border-radius: 6px;
  border: 1px solid #e8e0d4;
}

.metodo-icono {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metodo-nequi         { background: #6C3BE3; }
.metodo-breb          { background: #0066CC; }
.metodo-contraentrega { background: #2c2c2c; }

.metodo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metodo-nombre {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.metodo-dato {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  color: #7a7060;
}

.metodos-pago-nota {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #7a7060;
  text-align: center;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #e8e0d4;
}


/* ═══════════════════════════════════════
   PÁGINAS LEGALES (envío, privacidad, reembolso)
═══════════════════════════════════════ */
.pagina-legal {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: #ffffff;
  min-height: 80vh;
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ece8e1;
}

.legal-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.legal-subtitulo {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #7a7060;
}

.legal-contenido {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-intro {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: #2c2c2c;
  line-height: 1.7;
}

.legal-seccion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-seccion-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.legal-seccion p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.7;
}

.legal-lista {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-lista li {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.6;
}

.legal-lista-numerada {
  list-style-type: decimal;
}

.legal-seccion a,
.legal-contacto a {
  color: #8B6914;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

.legal-seccion a:hover,
.legal-contacto a:hover {
  opacity: 0.7;
}

.legal-contacto {
  margin-top: 8px;
  padding: 20px 24px;
  background: #faf9f7;
  border: 1px solid #ece8e1;
  border-radius: 8px;
}

.legal-contacto p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-inner {
    padding: 0 24px;
  }

  .legal-titulo {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .pagina-legal {
    padding: calc(var(--nav-height) + 40px) 0 60px;
  }

  .legal-inner {
    padding: 0 16px;
  }
}


/* ═══════════════════════════════════════
   PÁGINA DE CONTACTO
═══════════════════════════════════════ */
.pagina-contacto {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: #ffffff;
  min-height: 80vh;
}

.contacto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contacto-header {
  margin-bottom: 56px;
}

.contacto-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contacto-subtitulo {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #5a5550;
  margin-bottom: 10px;
}

.contacto-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #7a7060;
  line-height: 1.6;
}

.contacto-wrapper {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

/* ── Columna info ── */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contacto-icono {
  width: 36px;
  height: 36px;
  background: #f5f2ed;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2c2c2c;
  margin-top: 2px;
}

.contacto-item-texto {
  flex: 1;
}

.contacto-item-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8a094;
  margin-bottom: 4px;
}

.contacto-item-valor {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #2c2c2c;
  line-height: 1.5;
}

.contacto-link {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #2c2c2c;
  text-decoration: none;
  border-bottom: 1px solid #d4cec3;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.5;
}

.contacto-link:hover {
  color: #8B6914;
  border-color: #8B6914;
}

/* ── Columna formulario ── */
.contacto-form {
  background: #faf9f7;
  border: 1px solid #ece8e1;
  border-radius: 12px;
  padding: 40px;
}

.contacto-campo {
  margin-bottom: 24px;
}

.contacto-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4cec3;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #b0a898;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: #1a1a1a;
}

.contacto-btn {
  width: 100%;
  padding: 14px 24px;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}

.contacto-btn:hover {
  background: #333333;
}

@media (max-width: 900px) {
  .contacto-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacto-inner {
    padding: 0 24px;
  }

  .contacto-form {
    padding: 28px 24px;
  }

  .contacto-titulo {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .pagina-contacto {
    padding: calc(var(--nav-height) + 40px) 0 60px;
  }

  .contacto-inner {
    padding: 0 16px;
  }

  .contacto-header {
    margin-bottom: 36px;
  }
}

.detalle-sep {
  border: none;
  border-top: 1px solid #e5e0d8;
  margin: 28px 0;
}

.detalle-label {
  font-family: var(--font-nav);
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

/* Selector de cantidad */
.cantidad-selector {
  display: flex;
  align-items: stretch;
  width: fit-content;
}

.cant-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #d4cec3;
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  color: var(--color-text);
  transition: background 0.2s ease;
  user-select: none;
}

.cant-btn:hover {
  background: #f5f2ed;
}

.cant-input {
  width: 60px;
  height: 44px;
  border: 1px solid #d4cec3;
  border-left: none;
  border-right: none;
  text-align: center;
  font-family: var(--font-nav);
  font-size: 16px;
  color: var(--color-text);
  background: #ffffff;
  -moz-appearance: textfield;
}

.cant-input::-webkit-outer-spin-button,
.cant-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Botones de compra */
.btn-accion {
  display: block;
  width: 100%;
  padding: 18px;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-accion:hover {
  background: #333333;
}

.btn-carrito-det {
  margin-top: 28px;
}

.btn-comprar-det {
  margin-top: 12px;
}

/* Acordeones */
.acordeones {
  margin-top: 32px;
}

.acordeon-item {
  border-top: 1px solid #e5e0d8;
}

.acordeon-item:last-child {
  border-bottom: 1px solid #e5e0d8;
}

.acordeon-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
}

.acordeon-header-izq {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acordeon-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.acordeon-item.abierto .acordeon-chevron {
  transform: rotate(180deg);
}

.acordeon-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  font-family: var(--font-nav);
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.8;
}

.acordeon-item.abierto .acordeon-contenido {
  padding-bottom: 18px;
}

.acordeon-contenido h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 18px 0 8px 0;
}

.acordeon-contenido p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 12px;
}

.acordeon-contenido ul,
.acordeon-contenido ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.acordeon-contenido li {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.acordeon-contenido strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* Responsive detalle */
@media (max-width: 900px) {
  .pagina-producto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .detalle-nombre {
    font-size: 28px;
  }
}

/* ══════════════════════════════════════
   DESCRIPCIÓN COMPLETA (ancho completo)
══════════════════════════════════════ */
.pagina-descripcion {
  border-top: 1px solid #e8e0d4;
}

.descripcion-completa {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.descripcion-completa-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.descripcion-completa-contenido {
  max-width: 900px;
}

.descripcion-completa-contenido h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 18px 0 8px 0;
}

.descripcion-completa-contenido p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 14px;
}

.descripcion-completa-contenido ul,
.descripcion-completa-contenido ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.descripcion-completa-contenido li {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.descripcion-completa-contenido strong {
  font-weight: 700;
  color: #1a1a1a;
}

@media (max-width: 900px) {
  .descripcion-completa {
    padding: 40px 24px;
  }
}

/* ══════════════════════════════════════
   TAMBIÉN TE PUEDE GUSTAR
══════════════════════════════════════ */
.recomendados {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  border-top: 1px solid #e8e0d4;
}

.recomendados-titulo {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 36px;
}

.recomendados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1100px) {
  .recomendados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recomendados {
    padding: 40px 24px;
  }

  .recomendados-titulo {
    font-size: 18px;
    margin-bottom: 24px;
  }

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