/* ===========================================================================
   SAVIA DE ALMA — Sistema de diseno
   Cosmetica solida natural, hecha a mano en Espana.
   =========================================================================== */

:root {
  /* Identidad visual */
  --verde-oscuro: #1D6B50;
  --verde-medio: #2D9E75;
  --verde-claro: #D6F0E8;
  --dorado: #B8860B;
  --dorado-claro: #E3C07A;
  --ivory: #FBF8F3;
  --negro: #1A1A1A;
  --beige: #F7F2EC;
  --blanco: #FFFFFF;

  --texto: #1A1A1A;
  --texto-suave: #5a5a52;
  --borde: #e7ded2;

  --sombra: 0 4px 18px rgba(29, 107, 80, 0.10);
  --sombra-fuerte: 0 10px 30px rgba(29, 107, 80, 0.18);
  --radio: 16px;
  --radio-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --fuente-titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --fuente-cuerpo: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ancho-max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente-cuerpo);
  color: var(--texto);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .4em;
  color: var(--negro);
}

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

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

.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--fuente-cuerpo);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.97); }

.btn-primario {
  background: var(--verde-oscuro);
  color: var(--blanco);
}
.btn-primario:hover { background: #185940; box-shadow: var(--sombra); }

.btn-secundario {
  background: transparent;
  color: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
}
.btn-secundario:hover { background: var(--verde-claro); }

.btn-amazon {
  background: var(--dorado);
  color: var(--blanco);
}
.btn-amazon:hover { background: #9c7209; }

.btn-bloque { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }

/* ---------- Barra superior fija (banner + cabecera) ---------- */
.barra-fija { position: sticky; top: 0; z-index: 60; }
.barra-fija .cabecera { position: static; }

/* ---------- Banner promo (siempre visible) ---------- */
.banner-promo {
  background: linear-gradient(90deg, #143228, #1D6B50 50%, #143228);
  color: #f4efe6;
  text-align: center;
  padding: 15px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .4px;
}
.banner-promo strong { color: var(--dorado-claro); font-weight: 800; letter-spacing: .6px; }
@media (max-width: 600px) { .banner-promo { font-size: .92rem; padding: 13px 14px; } }

/* ---------- Header tienda ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.cabecera-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  max-width: var(--ancho-max);
  margin: 0 auto;
}
.logo {
  font-family: var(--fuente-titulo);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  display: flex;
  align-items: center;
  gap: .4em;
}
.logo-img { height: 50px; width: auto; display: block; }
.hero-logo { width: 200px; max-width: 60%; height: auto; margin: 0 auto 18px; display: block; }
.pie-logo { height: 86px; width: auto; margin: 0 auto 10px; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.nav-tienda { display: flex; gap: 18px; font-weight: 500; font-size: .95rem; }
.nav-tienda a:hover { color: var(--verde-oscuro); }

.boton-carrito {
  position: relative;
  background: var(--verde-oscuro);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--fuente-cuerpo);
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.carrito-contador {
  background: var(--dorado);
  color: #fff;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ---------- Tarjetas de producto ---------- */
.grid-productos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) {
  .grid-productos { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
@media (min-width: 960px) {
  .grid-productos { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--borde);
}
.card-img {
  aspect-ratio: 1 / 1;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, #f3efe7, var(--ivory));
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.card-img:hover img { transform: scale(1.04); }
.card-cuerpo {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.card-desc {
  font-size: .82rem;
  color: var(--texto-suave);
  margin: 0 0 12px;
  flex: 1;
}
.card-precio {
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--verde-oscuro);
  margin-bottom: 12px;
}
.card-precio small { font-weight: 500; font-size: .72rem; color: var(--texto-suave); }
.card-acciones { display: flex; flex-direction: column; gap: 8px; }

/* Oferta: precio anterior tachado + precio actual + % descuento */
.card-precio.tiene-oferta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.precio-antes {
  font-weight: 500;
  font-size: .92em;
  color: var(--texto-suave);
  text-decoration: line-through;
}
.precio-ahora { color: #C0392B; font-weight: 800; }
.precio-dto {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  background: #C0392B;
  padding: 2px 7px;
  border-radius: 999px;
  align-self: center;
}

.etiqueta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--negro);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.etiqueta.dorada { background: var(--dorado); }
.etiqueta.oferta { background: #C0392B; }

/* Modal de "Gracias por tu compra" (al volver del pago de Stripe) */
.gracias-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(20, 45, 33, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.gracias-modal {
  background: #fff; width: 100%; max-width: 440px;
  border-radius: 18px; overflow: hidden; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  animation: graciasPop .35s ease;
}
.gracias-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gracias-cuerpo { padding: 22px 26px 28px; }
.gracias-modal h2 { color: var(--verde-oscuro); margin: 0 0 10px; }
.gracias-modal p { color: #444; margin: 0 0 10px; line-height: 1.5; }
.gracias-modal .gracias-lema { color: var(--verde-oscuro); font-weight: 600; font-size: 1.05rem; }
.gracias-modal .btn { margin-top: 16px; }
@keyframes graciasPop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Secciones ---------- */
.seccion { padding: 48px 0; }
.seccion-titulo {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.seccion-sub {
  text-align: center;
  color: var(--texto-suave);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ---------- Beneficios (iconos) ---------- */
.grid-beneficios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) { .grid-beneficios { grid-template-columns: repeat(4, 1fr); } }
.beneficio {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 22px 16px;
  text-align: center;
}
.beneficio .icono { font-size: 2.1rem; margin-bottom: 8px; }
.beneficio h4 { font-size: 1rem; margin: 0; }

/* ---------- Categorias rapidas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--blanco);
  border: 1px solid var(--verde-oscuro);
  color: var(--verde-oscuro);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
}
.chip:hover, .chip.activo { background: var(--verde-oscuro); color: #fff; }

/* ---------- Footer ---------- */
.pie {
  background: var(--verde-oscuro);
  color: #eaf6f0;
  padding: 40px 0 30px;
  text-align: center;
}
.pie a { color: #fff; }
.pie .logo { color: #fff; justify-content: center; margin-bottom: 10px; }
.redes { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }
.redes a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.redes a:hover { background: rgba(255,255,255,.28); }
.pie small { color: #bfe0d4; display: block; margin-top: 14px; }

/* ===========================================================================
   LANDING PAGE (mobile-first, link en bio)
   =========================================================================== */
.landing { max-width: 520px; margin: 0 auto; background: var(--beige); min-height: 100vh; }

.hero {
  background: linear-gradient(160deg, var(--verde-oscuro), var(--verde-medio));
  color: #fff;
  text-align: center;
  padding: 54px 24px 46px;
}
.hero .marca {
  font-family: var(--fuente-titulo);
  font-size: 2.3rem;
  margin-bottom: 4px;
  color: #fff;
}
.hero .hoja { font-size: 2.6rem; display: block; margin-bottom: 6px; }
.hero p { font-size: 1.05rem; opacity: .95; max-width: 320px; margin: 0 auto 22px; }
.hero .btn-primario { background: #fff; color: var(--verde-oscuro); }
.hero .btn-primario:hover { background: var(--beige); }

.landing .banner-promo { font-size: 1.05rem; padding: 15px 16px; }
@media (max-width: 600px) { .landing .banner-promo { font-size: .92rem; padding: 13px 14px; } }

.landing-seccion { padding: 30px 18px; }
.landing-seccion > h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.landing .grid-productos { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.landing .card h3 { font-size: .92rem; }
.landing .card-img { font-size: 2.8rem; }

.landing-categorias { display: flex; flex-direction: column; gap: 10px; }
.cat-boton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  padding: 15px 18px;
  font-weight: 600;
  color: var(--negro);
}
.cat-boton:hover { background: var(--verde-claro); }
.cat-boton .flecha { color: var(--verde-oscuro); }

.cta-final {
  background: var(--negro);
  color: #fff;
  text-align: center;
  padding: 40px 24px 46px;
}
.cta-final h2 { color: #fff; }
.cta-final .btn-primario { background: var(--verde-medio); color: #fff; margin: 8px 0 4px; }

/* ===========================================================================
   Carrito (panel lateral)
   =========================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 90;
}
.overlay.abierto { opacity: 1; pointer-events: auto; }

.panel-carrito {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--beige);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sombra-fuerte);
}
.panel-carrito.abierto { transform: translateX(0); }
.panel-cab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--borde);
}
.panel-cab h3 { margin: 0; font-size: 1.3rem; }
.cerrar {
  background: none; border: none; font-size: 1.6rem; cursor: pointer; line-height: 1; color: var(--negro);
}
.panel-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.linea-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--borde);
}
.linea-item .mini-img {
  width: 52px; height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3efe7, var(--ivory));
  border: 1px solid var(--borde);
}
.linea-item .mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.linea-item .titulo { font-weight: 600; font-size: .9rem; }
.linea-item .gratis {
  color: var(--verde-oscuro);
  font-weight: 700;
  font-size: .8rem;
}
.linea-item .precio-tachado { text-decoration: line-through; color: var(--texto-suave); font-size: .82rem; }
.cantidad { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.cantidad button {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid var(--borde);
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.quitar { background: none; border: none; color: var(--texto-suave); cursor: pointer; font-size: .8rem; text-decoration: underline; }

.panel-resumen { padding: 18px 20px; border-top: 1px solid var(--borde); background: var(--blanco); }
.fila-resumen { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.fila-resumen.total { font-size: 1.15rem; font-weight: 700; margin-top: 8px; }
.fila-resumen .ahorro { color: var(--verde-oscuro); font-weight: 600; }

.aviso-promo {
  background: var(--verde-claro);
  border-radius: var(--radio-sm);
  padding: 10px 12px;
  font-size: .82rem;
  margin: 10px 0;
  text-align: center;
  color: #14503b;
}
.barra-envio {
  height: 7px;
  border-radius: 999px;
  background: var(--borde);
  overflow: hidden;
  margin: 8px 0 4px;
}
.barra-envio > span {
  display: block;
  height: 100%;
  background: var(--verde-medio);
  width: 0;
  transition: width .3s ease;
}
.carrito-vacio { text-align: center; color: var(--texto-suave); padding: 60px 20px; }

/* ===========================================================================
   Ficha de producto (modal central)
   =========================================================================== */
.ficha-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 110;
}
.ficha-overlay.abierto { opacity: 1; pointer-events: auto; }

.panel-ficha {
  position: fixed;
  z-index: 120;
  inset: 0;
  margin: auto;
  width: min(900px, 94vw);
  height: max-content;
  max-height: 92vh;
  background: var(--beige);
  border-radius: var(--radio);
  box-shadow: var(--sombra-fuerte);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.panel-ficha.abierto { opacity: 1; transform: none; pointer-events: auto; }

.ficha-cerrar {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sombra);
}

#ficha-contenido {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 92vh;
  overflow-y: auto;
}
@media (min-width: 720px) {
  #ficha-contenido { grid-template-columns: 42% 58%; }
}

.ficha-img {
  background: linear-gradient(140deg, var(--verde-claro), #eef8f3);
}
.ficha-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

.ficha-info { padding: 24px 26px 28px; }
.ficha-cabecera { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ficha-coleccion {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--verde-oscuro);
}
.ficha-info h2 { font-size: 1.6rem; margin: 0 0 8px; }
.ficha-desc { color: var(--texto-suave); margin: 12px 0 18px; }

.ficha-bloque {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.ficha-bloque h4 { margin: 0 0 4px; font-family: var(--fuente-cuerpo); font-size: .92rem; }
.ficha-bloque p { margin: 0; font-size: .88rem; color: var(--texto-suave); }
.ficha-features { margin: 6px 0 0; padding-left: 18px; font-size: .85rem; color: var(--texto-suave); }
.ficha-features li { margin-bottom: 3px; }
.ficha-spec { display: flex; justify-content: space-between; gap: 14px; font-size: .83rem; padding: 3px 0; border-bottom: 1px dashed var(--borde); }
.ficha-spec span:first-child { color: var(--texto-suave); white-space: nowrap; }
.ficha-spec span:last-child { text-align: right; font-weight: 500; }
.ficha-inci { font-size: .78rem; color: var(--texto-suave); margin-top: 8px; line-height: 1.5; }

.ficha-acciones { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ficha-lema {
  font-family: var(--fuente-titulo);
  font-style: italic;
  text-align: center;
  color: var(--verde-oscuro);
  margin: 16px 0 0;
  font-size: 1rem;
}

.oculto { display: none !important; }

/* ===========================================================================
   PULIDO "NATURAL & LUJO"  —  refinamiento visual
   =========================================================================== */
/* Titulos mas elegantes, con filete dorado bajo los titulos de seccion */
h1, h2, h3 { letter-spacing: -.01em; }
.seccion-titulo { color: var(--verde-oscuro); }
.seccion-titulo::after {
  content: "";
  display: block;
  width: 52px; height: 2px;
  margin: 14px auto 0;
  background: var(--dorado);
  opacity: .65;
}
/* Tarjetas: sombra mas suave, borde calido y elevacion al pasar el raton */
.card {
  box-shadow: 0 2px 10px rgba(20, 50, 40, .05);
  border: 1px solid #ece4d7;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20, 50, 40, .12); }
.card-img img { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.card-img:hover img { transform: scale(1.05); }
/* Precio con tipografia de titulo (toque editorial) */
.card-precio { font-family: var(--fuente-titulo); letter-spacing: .01em; }
/* Botones: trazo mas fino y transicion calida */
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-primario:hover { background: #15543d; box-shadow: var(--sombra); }
/* Chips de categoria mas sutiles */
.chip { border-color: #d7cdbb; color: var(--verde-oscuro); background: #fffdf9; }
/* Beneficios con fondo marfil */
.beneficio { background: var(--ivory); border-color: #ece4d7; }
/* Etiqueta "destacado" en verde profundo en vez de negro puro */
.etiqueta { background: var(--verde-oscuro); }

/* Ficha: especificaciones e ingredientes mas cuidados */
.ficha-bloque h4 { color: var(--verde-oscuro); letter-spacing: .01em; }
.ficha-transparencia {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--verde-claro);
  border-left: 3px solid var(--verde-medio);
  border-radius: 8px;
  font-size: .78rem;
  color: #2a4a3e;
  line-height: 1.5;
}

/* ===========================================================================
   INCENTIVOS DE COMPRA (estilo Temu): regalo, envio y avisos flotantes
   =========================================================================== */
.aviso-regalo, .aviso-envio {
  border-radius: 12px;
  padding: 11px 13px;
  font-size: .85rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #214a3b;
  background: var(--verde-claro);
  border: 1px solid #c4e7da;
}
.aviso-envio { background: #fbf6ea; border-color: #efe1c2; color: #5b4a25; }
.aviso-regalo.cerca { background: #fff6e2; border-color: var(--dorado-claro); color: #6b5113; }
.aviso-regalo.conseguido {
  background: linear-gradient(90deg, #fff3d6, #fde7b6);
  border-color: var(--dorado);
  color: #6b5113;
  font-weight: 600;
}
.barra-regalo {
  height: 7px;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}
.barra-regalo span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--verde-medio), var(--dorado));
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}

/* Avisos flotantes (toast) que "saltan" al desbloquear regalo/envio */
#avisos-flotantes {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px;
  width: max-content; max-width: 92vw; pointer-events: none;
}
.toast-promo {
  background: var(--verde-oscuro);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--sombra-fuerte);
  font-weight: 600; font-size: .9rem; text-align: center;
  animation: toastIn .35s ease, toastOut .45s ease 3.4s forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ===========================================================================
   FICHA: galeria de imagenes (miniaturas) + bullets tipo Amazon
   =========================================================================== */
.ficha-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
}
.ficha-thumb {
  width: 60px; height: 60px;
  padding: 0; border: 2px solid var(--borde);
  border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--ivory); transition: border-color .15s ease, transform .15s ease;
}
.ficha-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumb:hover { transform: translateY(-2px); }
.ficha-thumb.activo { border-color: var(--verde-oscuro); }

.ficha-bullets {
  list-style: none;
  margin: 4px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ficha-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--texto);
}
.ficha-bullets li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: var(--verde-claro);
  color: var(--verde-oscuro);
  border-radius: 50%;
  font-size: .72rem; font-weight: 700;
  margin-top: 1px;
}

/* Barra de estado de promociones en la pagina de compra (bajo la cabecera) */
.barra-promo {
  background: #fffdf8;
  border-bottom: 1px solid var(--borde);
  color: #2a4a3e;
  text-align: center;
  font-size: .8rem;
  line-height: 1.3;
  padding: 7px 14px;
  display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.barra-promo strong { color: var(--verde-oscuro); }
.barra-promo-sep { opacity: .35; }

/* ===========================================================================
   LANDING · Nuestra historia (storytelling de marca)
   =========================================================================== */
.historia { text-align: center; }
.historia .historia-hoja { font-size: 1.8rem; display: block; margin-bottom: 4px; }
.historia h2 { margin-bottom: 14px; }
.historia .historia-intro {
  font-family: var(--fuente-titulo);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--verde-oscuro);
  margin: 0 auto 16px;
}
.historia p {
  color: var(--texto-suave);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 auto 12px;
}
.historia .historia-cierre {
  font-family: var(--fuente-titulo);
  font-style: italic;
  color: var(--verde-oscuro);
  font-size: 1.05rem;
}
.historia .historia-cita {
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--borde);
  font-family: var(--fuente-titulo);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--negro);
}

/* ===========================================================================
   LANDING: hero mejorado + regalo de bienvenida
   =========================================================================== */
.hero .hero-tagline {
  font-family: var(--fuente-titulo);
  font-size: 1.95rem; line-height: 1.12;
  margin: 6px auto 10px; color: #fff; max-width: none;
}
.hero .hero-sub { font-size: .98rem; opacity: .95; max-width: 360px; margin: 0 auto 20px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center;
  margin-top: 22px; font-size: .8rem; opacity: .96;
}
.hero-badges span { white-space: nowrap; }

.regalo-bienvenida {
  display: flex; align-items: center; gap: 14px;
  margin: 18px; padding: 15px 18px;
  background: linear-gradient(100deg, #fff7e6, #fdedc2);
  border: 1px solid var(--dorado-claro);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.regalo-bienvenida .regalo-ico { font-size: 2.1rem; line-height: 1; }
.regalo-bienvenida .regalo-texto { flex: 1; }
.regalo-bienvenida h3 { font-size: 1.05rem; margin: 0 0 3px; color: #6b5113; }
.regalo-bienvenida p { font-size: .82rem; margin: 0; color: #6b5113; line-height: 1.42; }
.regalo-bienvenida .btn { flex-shrink: 0; }

/* Aviso de regalo de bienvenida en el carrito */
.aviso-bienvenida {
  background: linear-gradient(100deg, #fff7e6, #fdedc2);
  border: 1px solid var(--dorado-claro);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .8rem;
  color: #6b5113;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ===========================================================================
   HERO INMERSIVO "NATURALEZA EN ESTADO PURO" (agua, cascada, neblina, savia)
   =========================================================================== */
.hero-nature {
  position: relative; overflow: hidden;
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  padding: 70px 24px;
  background: linear-gradient(165deg, #0d3826 0%, #1c6b4f 48%, #2fa379 100%);
}
.hero-nature .hero-inner { position: relative; z-index: 3; text-align: center; }
.hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.fx-sky { position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -15%, rgba(190,240,215,.55), transparent 60%); }

/* cascada de agua */
.fx-cascade { position: absolute; top: -20%; left: 0; right: 0; height: 140%;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.10) 0 2px, transparent 2px 9px);
  filter: blur(1.1px); opacity: .45; mix-blend-mode: screen;
  animation: fxCascade 1.05s linear infinite; }
@keyframes fxCascade { to { transform: translateY(9px); } }

/* neblina */
.fx-mist { position: absolute; inset: 0;
  background:
    radial-gradient(42% 30% at 20% 28%, rgba(255,255,255,.20), transparent 70%),
    radial-gradient(52% 36% at 82% 62%, rgba(255,255,255,.14), transparent 70%);
  animation: fxMist 15s ease-in-out infinite alternate; }
@keyframes fxMist { from { transform: translate3d(-3%,0,0) scale(1); } to { transform: translate3d(4%,-2%,0) scale(1.08); } }

/* gotas de agua (que parezca que te mojas) */
.fx-drops span { position: absolute; top: -12%; width: 2px; height: 16px; border-radius: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(220,245,255,.9));
  opacity: 0; animation: fxDrop linear infinite; }
@keyframes fxDrop { 0%{transform:translateY(-12%);opacity:0} 12%{opacity:.95} 88%{opacity:.9} 100%{transform:translateY(82vh);opacity:0} }
.fx-drops span:nth-child(1){left:8%;animation-duration:1.9s;animation-delay:0s}
.fx-drops span:nth-child(2){left:19%;animation-duration:2.4s;animation-delay:.6s}
.fx-drops span:nth-child(3){left:30%;animation-duration:1.7s;animation-delay:1.1s}
.fx-drops span:nth-child(4){left:41%;animation-duration:2.6s;animation-delay:.3s}
.fx-drops span:nth-child(5){left:52%;animation-duration:2.0s;animation-delay:1.4s}
.fx-drops span:nth-child(6){left:62%;animation-duration:2.3s;animation-delay:.2s}
.fx-drops span:nth-child(7){left:72%;animation-duration:1.8s;animation-delay:1.0s}
.fx-drops span:nth-child(8){left:81%;animation-duration:2.5s;animation-delay:.5s}
.fx-drops span:nth-child(9){left:89%;animation-duration:2.1s;animation-delay:1.3s}
.fx-drops span:nth-child(10){left:95%;animation-duration:2.7s;animation-delay:.8s}

/* hojas cayendo */
.fx-leaves span { position: absolute; top: -8%; font-size: 1.05rem; opacity: 0;
  animation: fxLeaf linear infinite; }
@keyframes fxLeaf { 0%{transform:translateY(-8%) rotate(0);opacity:0} 12%{opacity:.85} 100%{transform:translateY(80vh) rotate(340deg);opacity:0} }
.fx-leaves span:nth-child(1){left:14%;animation-duration:9s;animation-delay:0s}
.fx-leaves span:nth-child(2){left:38%;animation-duration:11s;animation-delay:2.5s}
.fx-leaves span:nth-child(3){left:58%;animation-duration:8.5s;animation-delay:4s}
.fx-leaves span:nth-child(4){left:74%;animation-duration:12s;animation-delay:1.5s}
.fx-leaves span:nth-child(5){left:90%;animation-duration:10s;animation-delay:3.2s}

/* charco con ondas (te mojas) */
.fx-pool { position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to top, rgba(8,38,28,.6), transparent); }
.fx-pool .ripple { position: absolute; bottom: 16px; left: 50%; width: 64px; height: 15px;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
  transform: translateX(-50%) scale(.3); animation: fxRipple 3.4s ease-out infinite; }
.fx-pool .ripple:nth-child(2){ animation-delay: 1.7s; }
@keyframes fxRipple { 0%{transform:translateX(-50%) scale(.3);opacity:.6} 100%{transform:translateX(-50%) scale(2.6);opacity:0} }

/* brillo "mojado" + profundidad 3D */
.fx-glass { position: absolute; inset: 0;
  background: radial-gradient(70% 50% at 50% 34%, rgba(255,255,255,.10), transparent 70%); }
.hero-nature .hero-logo { animation: fxFloat 6s ease-in-out infinite; will-change: transform; }
@keyframes fxFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.hero-nature .hero-tagline { text-shadow: 0 2px 14px rgba(0,0,0,.30); }
.hero-nature .hero-sub { text-shadow: 0 1px 10px rgba(0,0,0,.25); }

/* ---------- Cierre: el arbol y la savia ---------- */
.savia-final { position: relative; overflow: hidden; text-align: center;
  padding: 58px 24px 66px; background: linear-gradient(180deg, #11342a, #1c6b4f); color: #eef7f1; }
.savia-final h2 { color: #fff; font-size: 1.7rem; }
.savia-texto { max-width: 460px; margin: 8px auto 22px; opacity: .95; line-height: 1.6; }
.savia-final .btn-primario { background: #fff; color: var(--verde-oscuro); }
.savia-final .btn-primario:hover { background: var(--beige); }
.savia-mist { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 28%, rgba(255,255,255,.12), transparent 70%);
  animation: fxMist 16s ease-in-out infinite alternate; }
.arbol { width: 196px; height: auto; display: block; margin: 0 auto 8px; position: relative; z-index: 1;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.28)); }
.savia-gota { animation: fxSavia 3.8s ease-in infinite;
  filter: drop-shadow(0 0 4px rgba(230,185,85,.85)); }
@keyframes fxSavia { 0%{transform:translateY(0);opacity:0} 12%{opacity:1} 72%{transform:translateY(74px);opacity:1} 100%{transform:translateY(98px);opacity:0} }

@media (prefers-reduced-motion: reduce) {
  .fx-cascade,.fx-mist,.fx-drops span,.fx-leaves span,.fx-pool .ripple,
  .hero-nature .hero-logo,.savia-gota,.savia-mist { animation: none !important; }
  .fx-drops,.fx-leaves { display: none; }
}

/* Cierre "vuelve a lo natural" (texto sobre la niebla suave) */
.savia-final > * { position: relative; z-index: 1; }
.savia-claim { font-family: var(--fuente-titulo); font-size: 1.55rem; color: #fff; margin: 6px 0 22px; }

/* ===========================================================================
   PULIDO UI/UX  —  microinteracciones, foco accesible y ritmo tipografico
   (guias UI/UX Pro Max: ease-out al entrar, 1 capa por vista, reduced-motion)
   =========================================================================== */

/* --- Ritmo tipografico: mejores cortes de linea (sin cambiar tamanos) --- */
h1, h2, h3, h4 { text-wrap: balance; }
p, .card-desc, .historia p, .savia-texto, .ficha-desc { text-wrap: pretty; }

/* --- Foco visible para teclado (accesibilidad WCAG, no afecta al raton) --- */
a:focus-visible,
button:focus-visible,
.card-img:focus-visible,
.chip:focus-visible,
.cat-boton:focus-visible,
.ficha-thumb:focus-visible {
  outline: 2px solid var(--verde-medio);
  outline-offset: 3px;
  border-radius: var(--radio-sm);
}

/* --- Microinteracciones suaves y consistentes --- */
.cat-boton { transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.cat-boton:hover { transform: translateX(3px); box-shadow: var(--sombra); }
.beneficio { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.beneficio:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.chip { transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.redes a { transition: background .18s var(--ease), transform .18s var(--ease); }
.redes a:hover { transform: translateY(-2px); }
.boton-carrito { transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.boton-carrito:hover { transform: translateY(-2px); box-shadow: var(--sombra-fuerte); }

/* Pildora del contador del carrito: pequeno latido al cambiar (clase via JS) */
.carrito-contador.pulso { animation: contadorPulso .4s var(--ease); }
@keyframes contadorPulso { 0%,100%{transform:scale(1)} 40%{transform:scale(1.35)} }

/* --- Anclas de categoria: que el titulo no quede bajo la cabecera fija --- */
[id^="col-"] { scroll-margin-top: 120px; }

/* --- Scroll-reveal: aparicion sutil al entrar en pantalla --- */
/* Solo se oculta si el usuario NO pide menos movimiento: si lo pide, el
   contenido es visible desde el principio (sin parpadeos ni saltos). */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}
/* Cuando la libreria Motion toma el relevo, ella controla la animacion con
   muelle (Web Animations API): quitamos la transicion CSS para que no compitan. */
html.motion-ready .reveal { transition: none; }

/* ===========================================================================
   HERO CON VIDEO DE FONDO (Cloudinary) — naturaleza en estado puro
   =========================================================================== */
.hero-con-video {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* El degradado verde queda de respaldo si el video no carga */
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Capa verde translucida: legibilidad del logo/texto, mas oscura arriba */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,34,24,.55) 0%, rgba(20,60,44,.42) 45%, rgba(29,107,80,.52) 100%);
}
.hero-con-video .hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8px 4px;
}
.hero-con-video .hero-tagline { text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-con-video .hero-sub { text-shadow: 0 1px 10px rgba(0,0,0,.30); }
.hero-con-video .hero-badges { text-shadow: 0 1px 8px rgba(0,0,0,.30); }

@media (prefers-reduced-motion: reduce) {
  /* Sin movimiento: mostramos el poster (primer fotograma), no el video */
  .hero-video { display: none; }
  .hero-con-video {
    background-image: url("https://res.cloudinary.com/dvxfbfa7y/video/upload/so_0,q_auto,w_1280/hf_20260618_122931_8e567548-7836-4199-b8e9-5dafd75256c5_oyflta.jpg");
    background-size: cover;
    background-position: center;
  }
}

/* Boton de sonido opcional del hero (esquina inferior derecha) */
.hero-sound {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(10,34,24,.45);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.hero-sound:hover { transform: scale(1.08); background: rgba(10,34,24,.65); }
.hero-sound.activo { background: var(--verde-medio); border-color: #fff; }

/* ===========================================================================
   INICIO EN ESCRITORIO: el landing deja de ser una columna estrecha de movil
   (la tienda ya es ancha y se queda igual). Hero a pantalla completa y
   contenido centrado en un ancho legible.
   =========================================================================== */
@media (min-width: 900px) {
  .landing { max-width: none; }

  /* Hero a todo el ancho y mas alto/cinematografico */
  .landing .hero-con-video { min-height: 90vh; }
  .landing .hero-logo { width: 260px; max-width: 40%; }
  .landing .hero-tagline { font-size: 2.8rem; }
  .landing .hero-sub { font-size: 1.15rem; max-width: 520px; }

  /* Banda promo y secciones de color a todo el ancho; contenido centrado */
  .landing-seccion {
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    padding: 48px 24px;
  }
  .landing-seccion > h2 { font-size: 2rem; margin-bottom: 26px; }

  .regalo-bienvenida {
    max-width: 900px; margin-left: auto; margin-right: auto;
    padding: 22px 26px;
  }

  /* Historia: columna de lectura comoda y centrada */
  .historia { max-width: 760px; }
  .historia .historia-intro { font-size: 1.3rem; }

  /* Mas vendidos: 4 columnas en pantalla grande */
  .landing .grid-productos { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .landing .card h3 { font-size: 1rem; }

  /* Categorias en rejilla de 2 columnas */
  .landing-categorias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Secciones de cierre: texto centrado en ancho comodo */
  .savia-final > h2, .savia-final .savia-texto,
  .cta-final > * { margin-left: auto; margin-right: auto; }
  .savia-final h2 { font-size: 2.1rem; }
}

/* ===========================================================================
   NUESTRA HISTORIA — editorial (texto + foto) + proceso artesanal + cita
   =========================================================================== */
.historia-editorial { display: grid; gap: 22px; margin: 24px 0 10px; text-align: left; }
.he-row { display: grid; gap: 14px; align-items: center; }
.he-img {
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
  aspect-ratio: 4 / 3; background: linear-gradient(145deg, #f3efe7, var(--ivory));
}
.he-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.he-text p { margin: 0; color: var(--texto-suave); font-size: 1rem; line-height: 1.75; }
@media (min-width: 720px) {
  .he-row { grid-template-columns: 1fr 1fr; gap: 30px; }
  .he-row.reverse .he-img { order: 2; }
}
.historia-valores {
  color: var(--texto-suave); font-size: .98rem; line-height: 1.7;
  max-width: 640px; margin: 20px auto;
}

/* Proceso artesanal en pasos */
.historia-proceso { margin: 28px 0 8px; }
.historia-proceso h3 {
  font-family: var(--fuente-titulo); font-size: 1.45rem;
  color: var(--verde-oscuro); margin-bottom: 18px;
}
.proceso-pasos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .proceso-pasos { grid-template-columns: repeat(4, 1fr); } }
.paso {
  background: var(--ivory); border: 1px solid #ece4d7; border-radius: var(--radio);
  padding: 20px 14px; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.paso:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.paso-ico { font-size: 2rem; display: block; margin-bottom: 8px; }
.paso h4 { font-family: var(--fuente-cuerpo); font-size: .98rem; margin: 0 0 5px; color: var(--negro); }
.paso p { margin: 0; font-size: .82rem; color: var(--texto-suave); line-height: 1.45; }

/* Cita cinematografica sobre imagen de naturaleza */
.cita-cine {
  position: relative; overflow: hidden; text-align: center;
  padding: 74px 24px;
  background-image: url("https://res.cloudinary.com/dvxfbfa7y/video/upload/so_0,q_auto,w_1280/hf_20260618_122931_8e567548-7836-4199-b8e9-5dafd75256c5_oyflta.jpg");
  background-size: cover; background-position: center;
}
.cita-cine-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,34,24,.62), rgba(20,60,44,.58));
}
.cita-cine blockquote {
  position: relative; z-index: 1; margin: 0 auto; max-width: 640px;
  font-family: var(--fuente-titulo); font-style: italic;
  font-size: 1.8rem; line-height: 1.3; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
@media (min-width: 900px) {
  .historia { max-width: 1000px; }
  .cita-cine blockquote { font-size: 2.4rem; }
  .cita-cine { padding: 110px 24px; }
}

/* ===========================================================================
   SAVIA-FINAL: fondo del arbol con la gota de savia, aparece al hacer scroll
   (si falta assets/img/savia-arbol.jpg, queda el degradado verde de base)
   =========================================================================== */
.savia-final .savia-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../img/savia-arbol.jpg");
  background-size: cover; background-position: center;
}
.savia-final .savia-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,38,28,.55) 0%, rgba(18,52,38,.38) 45%, rgba(20,70,50,.55) 100%);
}
/* contenido por encima del fondo y la capa */
.savia-final h2,
.savia-final .savia-texto,
.savia-final .savia-claim,
.savia-final .btn { position: relative; z-index: 2; }
.savia-final h2, .savia-final .savia-texto, .savia-final .savia-claim {
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}

@media (prefers-reduced-motion: no-preference) {
  .savia-final .savia-bg {
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.5s var(--ease), transform 7s ease-out;
  }
  .savia-final.is-visible .savia-bg { opacity: 1; transform: scale(1); }
}

/* ===========================================================================
   NUEVAS SECCIONES: sostenibilidad, resenas, FAQ, newsletter
   =========================================================================== */
/* --- Sostenibilidad / impacto (banda verde) --- */
.impacto {
  background: linear-gradient(160deg, var(--verde-oscuro), var(--verde-medio));
  color: #fff; text-align: center; padding: 46px 24px;
}
.impacto h2 { color: #fff; }
.impacto-sub { max-width: 520px; margin: 6px auto 26px; opacity: .95; }
.impacto-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  max-width: 900px; margin: 0 auto;
}
@media (min-width: 760px) { .impacto-grid { grid-template-columns: repeat(4, 1fr); } }
.impacto-item { display: flex; flex-direction: column; gap: 4px; }
.impacto-num {
  font-family: var(--fuente-titulo); font-size: 2.6rem; line-height: 1;
  color: var(--dorado-claro);
}
.impacto-lbl { font-size: .85rem; opacity: .95; line-height: 1.4; }

/* --- Resenas / testimonios --- */
.resenas { text-align: center; }
.resenas-media { color: var(--dorado); font-size: 1.05rem; letter-spacing: 1px; margin: -6px 0 22px; }
.resenas-media span { color: var(--texto-suave); font-size: .9rem; letter-spacing: 0; }
.resenas-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .resenas-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.resena {
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 22px 20px; margin: 0; text-align: left; box-shadow: var(--sombra);
}
.resena-estrellas { color: #e8b53d; letter-spacing: 2px; margin-bottom: 8px; }
.resena p { margin: 0 0 12px; font-size: .95rem; line-height: 1.6; color: var(--texto); }
.resena cite { font-style: normal; font-weight: 600; color: var(--verde-oscuro); font-size: .9rem; }

/* --- FAQ (acordeon nativo) --- */
.faq-lista { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: var(--blanco); border: 1px solid var(--borde);
  border-radius: var(--radio-sm); padding: 2px 18px; overflow: hidden;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--sombra); }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 28px 15px 0; position: relative;
  font-weight: 600; color: var(--negro); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--verde-oscuro); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--texto-suave); font-size: .92rem; line-height: 1.6; }

/* --- Newsletter --- */
.newsletter {
  text-align: center; padding: 50px 24px;
  background: var(--verde-claro);
}
.newsletter h2 { color: var(--verde-oscuro); }
.newsletter > p { max-width: 480px; margin: 6px auto 20px; color: #2a4a3e; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 999px;
  border: 1px solid var(--borde); font-family: var(--fuente-cuerpo); font-size: 1rem;
  background: #fff;
}
.newsletter-form input:focus-visible { outline: 2px solid var(--verde-medio); outline-offset: 2px; }
.newsletter-ok { color: var(--verde-oscuro); font-weight: 600; margin: 14px 0 0; }
.newsletter small { display: block; margin-top: 12px; color: #5b7a6c; font-size: .78rem; }

@media (min-width: 900px) {
  .impacto, .newsletter { padding-left: 24px; padding-right: 24px; }
  .resenas, .faq { max-width: 1100px; margin-left: auto; margin-right: auto; }
  .impacto-num { font-size: 3rem; }
}

/* ===========================================================================
   CONTACTO (formulario), FOOTER en columnas y PAGINAS LEGALES
   =========================================================================== */
/* --- Contacto --- */
.contacto { text-align: center; }
.contacto-sub { max-width: 520px; margin: -4px auto 22px; color: var(--texto-suave); }
.contacto-form { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; }
.cf-row { display: grid; gap: 12px; }
@media (min-width: 600px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.contacto-form input, .contacto-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radio-sm);
  border: 1px solid var(--borde); font-family: var(--fuente-cuerpo);
  font-size: 1rem; background: #fff; resize: vertical;
}
.contacto-form input:focus-visible, .contacto-form textarea:focus-visible {
  outline: 2px solid var(--verde-medio); outline-offset: 2px;
}
.contacto-form button { justify-self: center; min-width: 220px; margin-top: 4px; }
.contacto-ok { color: var(--verde-oscuro); font-weight: 600; }
.contacto-alt { color: var(--texto-suave); font-size: .9rem; margin-top: 16px; }
.contacto-alt a { color: var(--verde-oscuro); text-decoration: underline; }

/* --- Footer en columnas --- */
.pie-inner {
  display: grid; gap: 26px; text-align: left;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .pie-inner { grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
}
.pie-marca .pie-logo { margin: 0 0 10px; }
.pie-marca p { font-size: .9rem; opacity: .92; margin: 4px 0; }
.pie-marca .redes { justify-content: flex-start; margin: 14px 0 0; }
.pie-col h4 {
  font-family: var(--fuente-cuerpo); font-size: .95rem; color: #fff;
  margin: 0 0 12px; letter-spacing: .3px;
}
.pie-col a { display: block; color: #d7ece2; font-size: .9rem; padding: 5px 0; }
.pie-col a:hover { color: #fff; text-decoration: underline; }
.pie small { text-align: center; }

/* --- Paginas legales --- */
.legal { max-width: 820px; padding-top: 36px; padding-bottom: 56px; }
.legal h1 { font-size: 2rem; color: var(--verde-oscuro); margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 8px; color: var(--negro); }
.legal h3 { font-size: 1.02rem; margin: 16px 0 6px; font-family: var(--fuente-cuerpo); }
.legal p, .legal li { color: var(--texto-suave); line-height: 1.7; font-size: .95rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 5px; }
.legal a { color: var(--verde-oscuro); text-decoration: underline; }
.legal-fecha { font-size: .85rem; opacity: .8; }
.legal-volver { margin-top: 32px; }
.legal-volver a { color: var(--verde-oscuro); font-weight: 600; }

/* Enlace "ver mas resenas" */
.resenas-cta { text-align: center; margin-top: 22px; }
.resenas-cta a { color: var(--verde-oscuro); font-weight: 600; text-decoration: underline; }
.resenas-cta a:hover { color: var(--verde-medio); }

/* ===========================================================================
   FICHA: mas ancha en escritorio, CTA visible arriba y resenas
   =========================================================================== */
@media (min-width: 720px) {
  .panel-ficha { width: min(1060px, 95vw); }
  /* La galeria (col izq) se queda fija mientras la info (col der) hace scroll */
  #ficha-contenido { grid-template-columns: 46% 54%; align-items: start; }
  .ficha-galeria { position: sticky; top: 0; }
}
/* Acciones de la ficha: bloque destacado justo bajo los bullets (no hay que bajar) */
.ficha-acciones {
  margin: 8px 0 18px;
  padding-top: 4px;
}
/* Resenas dentro de la ficha */
.ficha-resenas { margin-top: 8px; }
.ficha-resenas h4 {
  font-family: var(--fuente-cuerpo); font-size: .95rem;
  color: var(--verde-oscuro); margin: 0 0 10px;
}
.ficha-resenas .fr-item {
  border-top: 1px solid var(--borde); padding: 12px 0;
}
.ficha-resenas .fr-item:first-of-type { border-top: none; }
.ficha-resenas .resena-estrellas { color: #e8b53d; letter-spacing: 2px; font-size: .85rem; margin-bottom: 4px; }
.ficha-resenas p { margin: 0 0 5px; font-size: .9rem; line-height: 1.5; color: var(--texto); }
.ficha-resenas cite { font-style: normal; font-weight: 600; font-size: .82rem; color: var(--texto-suave); }

/* Iconos SVG de redes sociales (Instagram, TikTok, Amazon) */
.redes a svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.redes a { color: #fff; }

/* ===========================================================================
   WIDGET DE ACCESIBILIDAD
   =========================================================================== */
.a11y-btn {
  position: fixed; left: 18px; bottom: 18px; z-index: 120;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--verde-oscuro); color: #fff; border: 2px solid #fff;
  box-shadow: var(--sombra-fuerte); cursor: pointer;
  display: grid; place-items: center;
  transition: transform .15s var(--ease);
}
.a11y-btn:hover { transform: scale(1.08); }
.a11y-btn svg { width: 26px; height: 26px; fill: #fff; }

.a11y-panel {
  position: fixed; left: 18px; bottom: 78px; z-index: 121;
  width: min(320px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--borde); border-radius: 16px;
  box-shadow: var(--sombra-fuerte); overflow: hidden;
}
.a11y-cab {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--verde-oscuro); color: #fff; padding: 12px 14px;
}
.a11y-cab strong { font-family: var(--fuente-cuerpo); font-size: 1rem; }
.a11y-x { background: none; border: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; background: var(--ivory); border: 1px solid var(--borde);
  border-radius: 10px; padding: 12px 8px; font-size: .78rem; color: var(--texto);
  font-family: var(--fuente-cuerpo); cursor: pointer; line-height: 1.25;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.a11y-opt:hover { border-color: var(--verde-medio); }
.a11y-opt.activo { background: var(--verde-claro); border-color: var(--verde-oscuro); font-weight: 600; }
.a11y-ico { font-size: 1.3rem; line-height: 1; }
.a11y-reset {
  width: calc(100% - 24px); margin: 0 12px 12px; padding: 10px;
  background: #fff; border: 1px solid var(--borde); border-radius: 10px;
  color: var(--texto-suave); cursor: pointer; font-family: var(--fuente-cuerpo); font-size: .85rem;
}
.a11y-reset:hover { border-color: var(--verde-oscuro); color: var(--verde-oscuro); }

/* --- Clases que aplican los ajustes --- */
html.a11y-fuente-grande { font-size: 119%; }
html.a11y-interlineado body, html.a11y-interlineado p, html.a11y-interlineado li,
html.a11y-interlineado .he-text { line-height: 2 !important; }
html.a11y-legible body, html.a11y-legible h1, html.a11y-legible h2, html.a11y-legible h3,
html.a11y-legible h4, html.a11y-legible p, html.a11y-legible a, html.a11y-legible li,
html.a11y-legible button, html.a11y-legible input, html.a11y-legible textarea {
  font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .01em;
}
html.a11y-grises { filter: grayscale(100%); }
html.a11y-enlaces a { text-decoration: underline !important; text-underline-offset: 3px; }

/* Ocultar imágenes (mantiene el layout, solo oculta el contenido visual) */
html.a11y-sin-imagenes img,
html.a11y-sin-imagenes video,
html.a11y-sin-imagenes .hero-video,
html.a11y-sin-imagenes .savia-bg,
html.a11y-sin-imagenes .he-img { visibility: hidden !important; }
html.a11y-sin-imagenes .cita-cine,
html.a11y-sin-imagenes .savia-final .savia-bg { background-image: none !important; }

/* Pausar animaciones */
html.a11y-sin-animaciones *, html.a11y-sin-animaciones *::before, html.a11y-sin-animaciones *::after {
  animation-duration: .001s !important; animation-iteration-count: 1 !important;
  transition-duration: .001s !important; scroll-behavior: auto !important;
}

/* Alto contraste */
html.a11y-contraste body { background: #fff !important; color: #000 !important; }
html.a11y-contraste .card, html.a11y-contraste .beneficio, html.a11y-contraste .paso,
html.a11y-contraste .ficha-bloque, html.a11y-contraste .resena, html.a11y-contraste .cat-boton,
html.a11y-contraste .panel-ficha, html.a11y-contraste .panel-carrito {
  background: #fff !important; color: #000 !important; border-color: #000 !important;
}
html.a11y-contraste .card h3, html.a11y-contraste .card-desc, html.a11y-contraste p,
html.a11y-contraste li, html.a11y-contraste .seccion-sub, html.a11y-contraste .historia p {
  color: #000 !important;
}
html.a11y-contraste a, html.a11y-contraste .card-precio { color: #06402b !important; }
html.a11y-contraste .btn-primario { background: #06402b !important; color: #fff !important; }

/* Banda Kit Digital (financiacion) — fondo blanco al pie */
.kit-digital { background: #fff; text-align: center; padding: 20px 16px; border-top: 1px solid var(--borde); }
.kit-digital img { max-width: 780px; width: 100%; height: auto; margin: 0 auto; display: block; }

/* Disponibilidad / modo vacaciones */
.etiqueta.agotado { background: #8a8a8a; }
.card.es-agotado .card-precio { color: var(--texto-suave); }
.vacaciones-aviso {
  background: var(--dorado); color: #3a2c05; text-align: center;
  padding: 11px 16px; font-weight: 600; font-size: .92rem;
}
.vacaciones-aviso a { color: #3a2c05; text-decoration: underline; }
