/* ===================================== */
/* VARIABLES DE COLOR (IDENTIDAD VISUAL) */
/* ===================================== */
:root {
  --verde-principal: #F5A623;
  --verde-suave: #e6f2d9;
  --texto-principal: #333;
}

/* ===================================== */
/* RESET / CONFIGURACIÓN GLOBAL */
/* ===================================== */
* {
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* ===================================== */
/* TIPOGRAFÍA GENERAL */
/* ===================================== */
h1{
  font-weight: 600;
  color: #ccc;
}

h2, h3 {
  font-weight: 600;
  color: #0b755b;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 10px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--texto-principal); }

p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

small {
  font-size: 0.85rem;
  color: #666;
}

/* ===================================== */
/* ENLACES */
/* ===================================== */
a {
  text-decoration: none;
  color: var(--verde-principal);
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* ===================================== */
/* LOGOS DEL HEADER                      */
/* ===================================== */
.logo-texto {
  height: 80px;
}

.logo-redondo {
  height: 150px;
}

/* ===================================== */
/* HEADER / NAVEGACIÓN */
/* ===================================== */
header {
  background-color: var(--verde-principal);
  color: white;
  padding: 10px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  overflow: visible;
}

header h1 {
  margin: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  font-size: 16px;
  letter-spacing: 0.5px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Contenedor carrito dentro del nav */
.nav-carrito {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

.carrito-icono { position: relative; }

.contador {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
}

/* ===================================== */
/* SECCIÓN HERO */
/* ===================================== */
.hero {
  background-color: var(--verde-suave);
  text-align: center;
  padding: 30px 20px;
}

.hero h2 { margin-bottom: 10px; }
.hero p { font-size: 18px; }

/* ===================================== */
/* SECCIÓN CATEGORÍAS */
/* ===================================== */
.categorias {
  background-color: white;
  padding: 20px 20px;
  text-align: center;
}

.categorias ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.categorias li {
  background-color: #f0f0f0;
  padding: 10px 20px;
  border-radius: 20px;
}

/* ===================================== */
/* SECCIÓN PRODUCTOS (Flexbox / Grid) */
/* ===================================== */
.productos {
  background-color: #f9f9f9;
  padding: 0px 20px;
  overflow: visible;
  text-align: center;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

/* GRID DE PRODUCTOS – TABLET (3 por fila) */
@media (max-width: 900px) {
  .productos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* TARJETA DE PRODUCTO */
.producto {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.producto h3 { margin-bottom: 10px; color: var(--texto-principal); }

.producto img {
  width: 100%;
  max-width: 80px;
  height: auto;
  margin-bottom: 8px;
}

/* ===================================== */
/* IMÁGENES DE PRODUCTO – ZOOM SUAVE */
.producto img {
  transition: transform 0.4s ease;
}

.producto:hover img {
  transform: scale(1.05);
}


.precio {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--verde-principal);
  margin-bottom: 15px;
}

.btn-producto {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--verde-principal);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-producto:hover { background-color: #202b12; }

/* ===================================== */
/* PRODUCTOS – HOVER AVANZADO */
/* ===================================== */

.producto:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}


/* ===================================== */
/* FORMULARIO DE CONTACTO */
/* ===================================== */
.form-contacto {
  max-width: 420px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.form-grupo { margin-bottom: 20px; }

.form-grupo label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-grupo input,
.form-grupo textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-grupo input:focus,
.form-grupo textarea:focus {
  outline: none;
  border-color: var(--verde-principal);
}

.form-grupo textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-enviar {
  background-color: var(--verde-principal);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-enviar:hover { background-color: #5a7a1f; }

/* ===================================== */
/* CARRITO */
/* ===================================== */
.carrito {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f5;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Arial', sans-serif;
}

.carrito h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.carrito-items {
  min-height: 100px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}

.carrito-vacio {
  text-align: center;
  color: #777;
  font-style: italic;
}

.carrito-item img {
  width: 70px;
  height: auto;
}

.carrito-info {
  flex: 1;
  margin-left: 20px;
}

.carrito-precio {
  font-weight: 600;
  color: var(--verde-principal);
}

.carrito-cantidad {
  font-size: 0.9rem;
  color: #666;
}

.carrito-total {
  margin-top: 30px;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 600;
}

.btn-finalizar {
  background-color: var(--verde-principal);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-finalizar:hover { background-color: #556b2f; }

/* Botones con "pop" al pasar el mouse */
.btn-producto:hover,
.btn-enviar:hover,
.btn-finalizar:hover {
  transform: translateY(-06px); /* Se levanta levemente */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ===================================== */
/* MENÚ NAVEGACIÓN – HOVER */
nav a:hover {
  color: var(--verde-principal);
  letter-spacing: 1px; /* Pequeño movimiento visual */
}


.carrito-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}

/* ===================================== */
/* FOOTER GENERAL */
/* ===================================== */
footer {
  background-color: var(--verde-principal);
  color: white;
  font-size: 0.9rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 14px 30px;
  flex-wrap: wrap;
}

.footer-datos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-datos p {
  margin: 0;
}

.footer-mapa iframe {
  display: block;
  width: 260px;
  height: 110px;
  border: 0;
  border-radius: 10px;
}

@media (max-width: 600px) {
  footer {
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
  }

  .footer-datos {
    flex-direction: column;
    gap: 6px;
  }

  .footer-mapa iframe {
    width: 100%;
    max-width: 320px;
    height: 160px;
  }
}

footer a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ===================================== */
/* BOTÓN FLOTANTE WHATSAPP */
/* ===================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

/* ===================================== */
/* RESPONSIVE MOBILE                     */
/* ===================================== */
@media (max-width: 600px) {
  /* GRID DE PRODUCTOS en mobile */
  .productos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* CARRUSEL DE PRODUCTOS */
  .productos-carrusel-track .producto {
    min-width: 75vw;
    max-width: 75vw;
  }

  /* MISIÓN — quitar padding lateral excesivo */
  .mision p {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* CATEGORÍAS — iconos más chicos */
  .categoria-icono {
    width: 56px;
    height: 56px;
  }

  .categoria-icono i {
    font-size: 24px;
  }

  .categoria-card {
    width: 70px;
  }

  .categoria-card span {
    font-size: 10px;
  }
}

/* ===================================== */
/* TRANSICIONES SUAVES GENERALES */
/* ===================================== */

/* Aplica a todo: botones, tarjetas, links */
* {
  transition: all 0.3s ease;
}

/* ===================================== */
/* ANIMACIÓN SUAVE DE ENTRADA DE SECCIONES */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ===================================== */
/* ANIMACIÓN DE ENTRADA – MENÚ NAVEGACIÓN */
nav a {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Secuencia (delay escalonado) */
nav a:nth-child(1) { animation-delay: 0.1s; }
nav a:nth-child(2) { animation-delay: 0.2s; }
nav a:nth-child(3) { animation-delay: 0.3s; }
nav a:nth-child(4) { animation-delay: 0.4s; }
nav a:nth-child(5) { animation-delay: 0.5s; }


/* ===================================== */
/* AJUSTE FINAL DE TIPOGRAFÍA */
/* ===================================== */

body {
  font-size: 16px;       /* Tamaño base ideal */
}

h1 {
  line-height: 1.3;
}

h2 {
  line-height: 1.4;
}

p {
  line-height: 1.7;      /* Lectura más cómoda */
}

/* ===================================== */
/* ESPACIADOS FINALES */
/* ===================================== */

section {
  padding-top: 20px;
}

.producto {
  padding: 25px;        /* Más aire interno */
}

.carrito {
  padding: 35px;
}

/* ===================================== */
/* HEADER – AJUSTE FINAL */
/* ===================================== */

header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ============================= */
/* LINKS DEL FOOTER */
/* ============================= */

.footer-link {
  color: #ffffff;        /* color verde */
  text-decoration: none; /* saca el subrayado */
  font-weight: 500;
}

/* Efecto al pasar el mouse */
.footer-link:hover {
  text-decoration: underline;
}


/* ============================= */
/* SECCIÓN VALORES / NOSOTROS */
/* ============================= */

.valores {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.valores h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2f6f4e;
}

.valores h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.valores p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.valores ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.valores li {
  margin-bottom: 8px;
}

.valores-cierre {
  font-weight: 600;
  margin-top: 20px;
}


/* ============================= */
/* SECCIÓN MISIÓN */
/* ============================= */

.mision {
  max-width: 800px;
  margin: 60px auto 80px;
  padding: 30px 20px;
  text-align: center;
  background-color: #f7f9f7;
  border-radius: 8px;
}

.mision h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2f6f4e;
}

.mision p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  padding-left: 100px;
  padding-right: 100px;
}

/* ============================= */
/* SECCIÓN CONTACTO */
/* ============================= */

.contacto {
  max-width: 700px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
}

.contacto h1 {
  font-size: 2.2rem;
  color: #2f6f4e;
  margin-bottom: 15px;
}

.contacto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

/* ============================= */
/* FORMULARIO DE CONTACTO */
/* ============================= */

.contacto-formulario {
  max-width: 600px;
  margin: 0 auto 80px;
  padding: 30px 20px;
  background-color: #f7f9f7;
  border-radius: 10px;
}

.contacto-formulario h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2f6f4e;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  margin-top: 6px;
  padding: 10px;
  font-size: 0.95rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2f6f4e;
}

.contact-form button {
  margin-top: 15px;
  padding: 12px;
  font-size: 1rem;
  background-color: #2f6f4e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover {
  background-color: #24563d;
}


/* ============================= */
/* ALGUNOS ESTILOS DE CARRITO.HTML */
/* ============================= */

.cart-summary {
  text-align: center;
  margin-top: 20px;
}

.cart-summary .btn-primary {
  background-color: #4CAF50; /* Verde */
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.cart-summary .btn-primary:hover {
  background-color: #45a049;
}

.cart-summary .aviso-compra {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

/* ============================= */
/* SECCIÓN INSTAGRAM */
/* ============================= */
.instagram-section {
  text-align: center;
  padding: 20px 0;
  background-color: #fff;
  overflow: hidden;
  max-height: 620px;
}

.instagram-section p {
  color: #888;
  margin-bottom: 20px;
}

.carrusel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0;
}

.carrusel-viewport {
  flex: 1;
  overflow: hidden;
  padding: 10px 0;
}

.carrusel-btn {
  background-color: #2BBDA8;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 10;
}

.carrusel-btn:hover {
  background-color: #0b755b;
  transform: scale(1.1);
}

.btn-instagram {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #2BBDA8;
  color: white;
  border-radius: 5px;
  font-weight: 600;
}

.btn-instagram:hover {
  background-color: #0b755b;
  text-decoration: none;
}

/* ============================= */
/* CARRUSEL DE PRODUCTOS        */
/* ============================= */

.productos-carrusel-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.productos-carrusel-track-container {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.productos-carrusel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.productos-carrusel-track .producto {
  min-width: 220px;
  max-width: 240px;
  flex-shrink: 0;
  overflow: visible;
}

.carrusel-prod-btn {
  background-color: var(--verde-principal);
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-prod-btn:hover {
  background-color: #556b2f;
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .productos-carrusel-track .producto {
    min-width: 80vw;
    max-width: 80vw;
  }
}

/* ============================= */
/* CATEGORÍAS CON ÍCONOS        */
/* ============================= */

.categorias-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.categoria-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  width: 90px;
  cursor: pointer;
}

/* Texto debajo de los iconos de categorías */
.categoria-card span {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: #0b755b;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}



.categoria-icono {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #2BBDA8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.categoria-icono i {
  font-size: 33px;
  color: white;
}

.categoria-card:hover .categoria-icono {
  background: #556b2f;
  transform: translateY(-4px);
}

/* ============================= */
/* CARRITO LATERAL (PANEL)      */
/* ============================= */

.carrito-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.carrito-overlay.activo {
  display: block;
}

.carrito-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100%;
  background: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
}

.carrito-panel.activo {
  right: 0;
}

.carrito-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #2BBDA8;
  color: white;
}

.carrito-panel-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: white;
}

.carrito-cerrar {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.carrito-panel .carrito-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  border: none;
  margin: 0;
}

.carrito-panel-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carrito-panel-footer strong {
  font-size: 1.2rem;
  color: #333;
}

@media (max-width: 600px) {
  .carrito-panel {
    width: 100%;
    right: -100%;
  }
}
/* ===================================== */
/* TARJETA OPCIÓN A - FOTO DE FONDO      */
/* ===================================== */
.producto.card-foto {
  position: relative;
  padding: 0;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  display: flex;
  align-items: flex-end;
  text-align: center;
}

.producto.card-foto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0) 55%);
}

.producto.card-foto .card-contenido {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px 16px 16px;
}

.producto.card-foto h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.producto.card-foto .precio {
  color: #ffd166;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.producto.card-foto .card-desc {
  color: #f0f0f0;
  font-size: 0.85rem;
  margin: 0 0 6px;
  line-height: 1.35;
}

.producto.card-foto .card-contiene {
  color: #d0d0d0;
  font-size: 0.75rem;
  margin: 0 0 12px;
  line-height: 1.3;
}

.producto.card-foto .btn-producto {
  margin-top: 4px;
}

.producto.card-foto .btn-video {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #e63946;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.producto.card-foto img { display: none; }

@media (max-width: 600px) {
  .producto.card-foto { height: 340px; }
}

/* ===================================== */
/* CARRITO - ITEMS CON ESTILO            */
/* ===================================== */

/* Cada producto del carrito: tarjetita con borde suave */
.carrito-panel .carrito-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "nombre eliminar"
    "controles precio";
  gap: 8px 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* El nombre del producto */
.carrito-panel .carrito-item > span:first-child {
  grid-area: nombre;
  font-weight: 600;
  color: var(--texto-principal);
  font-size: 0.95rem;
}

/* El precio (subtotal de ese producto) */
.carrito-panel .carrito-item > span:nth-of-type(2) {
  grid-area: precio;
  text-align: right;
  font-weight: 700;
  color: var(--verde-principal);
  font-size: 1.05rem;
}

/* Los controles de cantidad (- numero +) */
.carrito-panel .controles-cantidad {
  grid-area: controles;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carrito-panel .controles-cantidad button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-principal);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.carrito-panel .controles-cantidad button:hover {
  background: var(--verde-principal);
  color: #fff;
  transform: scale(1.1);
}

.carrito-panel .controles-cantidad span {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

/* El botón de eliminar (tachito) */
.carrito-panel .btn-eliminar {
  grid-area: eliminar;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.6;
  justify-self: end;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.carrito-panel .btn-eliminar:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Botón de finalizar compra */
.carrito-panel-footer #btn-finalizar-compra {
  background: var(--verde-principal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.carrito-panel-footer #btn-finalizar-compra:hover {
  background: #d98c10;
  transform: translateY(-2px);
}

/* ===================================== */
/* HEADER RESPONSIVE (versión final)     */
/* ===================================== */
header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

.logo-texto {
  height: 70px;
  width: auto;
  flex-shrink: 0;
}

.logo-redondo {
  height: 150px;
  width: auto;
  border-radius: 50%;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 6px !important;
  z-index: 10;
}

header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}

@media (max-width: 900px) {
  header {
    justify-content: center;
    padding: 10px 16px;
  }
  .logo-texto {
    height: 25px;
    margin-right: auto;
  }
  .logo-redondo { height: 60px !important; top: 8px !important; }

  header nav {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  header nav a { font-size: 13px; white-space: nowrap; }
}
/* ===================================== */
/* ARREGLO: que nada desborde el ancho    */
/* ===================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
}

/* ===================================== */
/* FOOTER SIEMPRE ABAJO (sticky footer)   */
/* ===================================== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ===================================== */
/* HEADER SIMPLE CON VOLVER (Nosotros)    */
/* ===================================== */
.header-volver {
  display: flex;
  align-items: center;
  padding: 14px 20px;
}

.btn-volver {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.btn-volver:hover {
  text-decoration: underline;
  color: #fff;
}

/* ===================================== */
/* BARRA DE ANUNCIOS (marquee)            */
/* ===================================== */
.barra-anuncios {
  background-color: #0b755b;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}

.barra-anuncios-track {
  display: inline-flex;
  gap: 60px;
  padding-left: 60px;
  animation: desplazar 25s linear infinite;
}

.barra-anuncios-track span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes desplazar {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.barra-anuncios:hover .barra-anuncios-track {
  animation-play-state: paused;
}

/* ===================================== */
/* ACORDEÓN NUTRICIONISTA                 */
/* ===================================== */
.acordeon-item {
  border-bottom: 1px solid #e3eed5;
}

.acordeon-titulo {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2e0f;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acordeon-flecha {
  font-size: 20px;
  color: #3B6D11;
  transition: transform 0.3s ease;
}

.acordeon-cuerpo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.acordeon-cuerpo p {
  padding: 0 4px 14px;
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.acordeon-item.activo .acordeon-cuerpo {
  max-height: 300px;
}

.acordeon-item.activo .acordeon-flecha {
  transform: rotate(45deg);
}
/* ===== VARIANTES DE PRODUCTO ===== */
.variantes-lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.variante-fila {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 5px 8px;
}

.variante-etiqueta {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  min-width: 45px;
}

.variante-precio {
  font-size: 0.85rem;
  color: #F5A623;
  font-weight: 700;
  flex: 1;
}

.btn-variante {
  background: #2BBDA8;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-variante:hover {
  background: #0b755b;
}

/* ===== MUNDIAL 2026 ===== */
@keyframes flamear {
  0%   { transform: rotate(-8deg) scale(1); }
  50%  { transform: rotate(8deg) scale(1.1); }
100% { transform: rotate(-8deg) scale(1); }
}

/* ===== CONFETTI MUNDIAL ===== */
@keyframes caerConfetti {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0.85; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}


@keyframes pulsarSol {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.8; }
  50%  { transform: translate(-50%, -50%) scale(1.12); opacity: 1;   }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.8; }
}

/* ===== BOTÓN MUNDIAL 2026 ===== */
.btn-producto {
  background: linear-gradient(135deg, #4FA8D8 0%, #ffffff 50%, #4FA8D8 100%) !important;
  color: #003087 !important;
  font-weight: 700 !important;
  border: 2px solid #4FA8D8 !important;
}

.btn-producto:hover {
  background: linear-gradient(135deg, #003087 0%, #4FA8D8 100%) !important;
  color: #ffffff !important;
  border-color: #003087 !important;
}

.btn-variante {
  background: linear-gradient(135deg, #4FA8D8 0%, #ffffff 50%, #4FA8D8 100%) !important;
  color: #003087 !important;
  font-weight: 700 !important;
  border: 2px solid #4FA8D8 !important;
}

.btn-variante:hover {
  background: linear-gradient(135deg, #003087 0%, #4FA8D8 100%) !important;
  color: #ffffff !important;
  border-color: #003087 !important;
}

/* Productos destacados más chicos en PC */
@media (min-width: 601px) {
  .producto.card-foto.carrusel-card {
    height: 280px !important;
  }
}
.logo-texto {
  filter: brightness(0) saturate(100%) invert(27%) sepia(50%) saturate(800%) hue-rotate(345deg) brightness(75%) contrast(90%);
}