/* =========================================================================
   BenditaPiel — Hoja de estilos principal
   Identidad: manual de marca v1.0. Mobile-first. Sin frameworks.
   Paleta:  crema #F9F0E4 · oscuro #332212 · terracota #A9622F · marrón #5A4530
   Tipografía: Inter / SF Pro (sistema Apple) — sans limpia, sin serif.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --crema: #F9F0E4;
  --crema-2: #F3E7D6;          /* crema un tono más cálido para bloques */
  --oscuro: #332212;
  --terracota: #A9622F;
  --terracota-oscuro: #8F5023; /* hover del CTA */
  --marron: #5A4530;
  --verde: #3B6D11;            /* solo estados de éxito */

  --texto: var(--oscuro);
  --texto-suave: var(--marron);
  --linea: rgba(51, 34, 18, 0.14);
  --linea-suave: rgba(51, 34, 18, 0.08);
  --blanco-calido: #FFFDFA;

  --sombra-sm: 0 1px 3px rgba(51, 34, 18, 0.06);
  --sombra-md: 0 8px 30px rgba(51, 34, 18, 0.10);
  --sombra-lg: 0 20px 60px rgba(51, 34, 18, 0.16);

  --radio: 14px;
  --radio-sm: 10px;
  --radio-lg: 22px;

  --fuente: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;

  --ancho: 1180px;
  --gutter: 20px;

  --alto-marquee: 34px;
  --alto-header: 62px;
  --top-fijo: calc(var(--alto-marquee) + var(--alto-header));

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset suave ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--top-fijo);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilidades ---------- */
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.seccion { padding-block: 56px; }
.centro { text-align: center; }
.oculto { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracota);
}
.titulo-seccion { font-size: clamp(26px, 5vw, 38px); margin-bottom: 10px; }
.subtitulo-seccion { color: var(--texto-suave); max-width: 60ch; margin-inline: auto; }

/* Reveal accesible: visible por defecto; solo se anima si hay JS (html.js). */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   BOTONES
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 999px; text-align: center;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primario { background: var(--terracota); color: var(--crema); box-shadow: var(--sombra-sm); }
.btn-primario:hover { background: var(--terracota-oscuro); }
.btn-oscuro { background: var(--oscuro); color: var(--crema); }
.btn-oscuro:hover { background: #241708; }
.btn-linea { border: 1.5px solid var(--oscuro); color: var(--oscuro); background: transparent; }
.btn-linea:hover { background: var(--oscuro); color: var(--crema); }
.btn-bloque { display: flex; width: 100%; }
.btn-grande { min-height: 54px; font-size: 16px; padding: 0 34px; }

/* =========================================================================
   MARQUEE (única animación continua permitida)
   ========================================================================= */
.top-fijo { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.marquee {
  height: var(--alto-marquee);
  background: var(--oscuro);
  color: var(--crema);
  overflow: hidden;
  display: flex; align-items: center;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; flex-shrink: 0; min-width: 100%;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.32em;
  text-transform: uppercase; padding-inline: 26px;
}
.marquee__track span::after { content: "•"; margin-left: 52px; opacity: 0.55; }
/* movimiento continuo de izquierda a derecha */
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  height: var(--alto-header);
  background: rgba(249, 240, 228, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--linea-suave);
}
.header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.header__nav { display: none; }
.header__logo { justify-self: center; }
.header__logo img { height: 38px; width: auto; }
.header__acciones { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header__redes { display: none; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--oscuro); transition: background-color .2s var(--ease);
  position: relative;
}
.icon-btn:hover { background: rgba(51,34,18,0.06); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--terracota); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  border-radius: 999px; transform: scale(0);
  transition: transform .25s var(--ease);
}
.cart-count.activo { transform: scale(1); }

.header__nav-links { display: flex; gap: 26px; }
.header__nav-links a {
  font-size: 14px; font-weight: 500; color: var(--texto-suave);
  transition: color .2s var(--ease); position: relative; padding-block: 6px;
}
.header__nav-links a:hover, .header__nav-links a[aria-current="page"] { color: var(--oscuro); }
.header__nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--terracota); border-radius: 2px;
}

.hamburguesa { display: inline-flex; }

/* Menú móvil desplegable */
.menu-movil {
  position: fixed; inset: var(--top-fijo) 0 0 0; z-index: 95;
  background: var(--crema);
  transform: translateX(-100%); transition: transform .32s var(--ease);
  padding: 24px var(--gutter); overflow-y: auto;
}
.menu-movil.abierto { transform: translateX(0); }
.menu-movil a {
  display: block; font-size: 22px; font-weight: 600; color: var(--oscuro);
  padding: 16px 0; border-bottom: 1px solid var(--linea-suave);
}
.menu-movil__redes { display: flex; gap: 14px; margin-top: 24px; }
.menu-movil__redes a {
  border: none; padding: 0; width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--crema-2); color: var(--oscuro);
}
.menu-movil__redes svg { width: 22px; height: 22px; }

/* =========================================================================
   HERO (home)
   ========================================================================= */
.hero { position: relative; padding-top: 10px; }
.hero__grid { display: grid; gap: 22px; align-items: center; }
.hero__texto { order: 1; text-align: center; }
.hero__media { order: 2; }
.hero h1 { font-size: clamp(32px, 8.5vw, 56px); line-height: 1.05; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--terracota); }
.hero__lead { font-size: 17px; color: var(--texto-suave); max-width: 42ch; margin: 0 auto 24px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero__nota { font-size: 13px; color: var(--texto-suave); }
.hero__foto {
  border-radius: var(--radio-lg); overflow: hidden; background: var(--crema-2);
  box-shadow: var(--sombra-md); aspect-ratio: 4 / 5;
}
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
/* Crossfade del hero: 2 imágenes apiladas que se desvanecen (estrellas <-> corazones) */
.hero__foto--fade { position: relative; }
.hero__foto--fade img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__foto--fade img.activa { opacity: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--crema-2); color: var(--marron);
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero__badge .punto { width: 7px; height: 7px; border-radius: 50%; background: var(--terracota); }

/* =========================================================================
   BLOQUE VALORES (íconos line-art)
   ========================================================================= */
.valores { background: var(--crema-2); }
.valores__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.valor { text-align: center; }
.valor__icono {
  width: 46px; height: 46px; margin: 0 auto 12px; color: var(--terracota);
}
.valor__icono svg { width: 100%; height: 100%; }
.valor h3 { font-size: 16px; margin-bottom: 4px; }
.valor p { font-size: 13.5px; color: var(--texto-suave); }

/* =========================================================================
   GRILLA DE PRODUCTOS / TARJETAS
   ========================================================================= */
.grilla-productos { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--blanco-calido); border-radius: var(--radio);
  border: 1px solid var(--linea-suave); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--crema-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__etiqueta {
  position: absolute; top: 12px; left: 12px;
  background: var(--oscuro); color: var(--crema);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.card__etiqueta.estrella { background: var(--terracota); }
.card__cuerpo { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracota); }
.card__nombre { font-size: 19px; }
.card__desc { font-size: 14px; color: var(--texto-suave); flex: 1; }
.card__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.card__precio { font-size: 20px; font-weight: 700; }
.card__precio .desde { font-size: 12px; font-weight: 500; color: var(--texto-suave); display: block; }

/* =========================================================================
   FICHA DE PRODUCTO
   ========================================================================= */
.ficha { padding-top: 22px; }
.ficha__grid { display: grid; gap: 26px; }
.migas { font-size: 13px; color: var(--texto-suave); margin-bottom: 16px; }
.migas a:hover { color: var(--oscuro); }
.migas span { color: var(--oscuro); }

/* Galería */
.galeria__principal {
  position: relative; border-radius: var(--radio); overflow: hidden;
  background: var(--crema-2); aspect-ratio: 4 / 5; box-shadow: var(--sombra-sm);
}
.galeria__principal img { width: 100%; height: 100%; object-fit: cover; }
.galeria__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.galeria__thumbs button {
  flex: 1; aspect-ratio: 1/1; border-radius: var(--radio-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--crema-2); padding: 0;
  transition: border-color .2s var(--ease);
}
.galeria__thumbs button.activo { border-color: var(--terracota); }
.galeria__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Panel info */
.ficha__info h1 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 8px; }
.ficha__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracota); margin-bottom: 10px; }
.ficha__precio { font-size: 30px; font-weight: 700; margin: 10px 0 4px; }
.ficha__precio .ancla { font-size: 18px; font-weight: 500; color: var(--texto-suave); text-decoration: line-through; margin-left: 10px; }
.ficha__lead { font-size: 16px; color: var(--texto-suave); margin: 14px 0 22px; }

.beneficios { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.beneficios li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.beneficios li svg { width: 20px; height: 20px; color: var(--verde); flex-shrink: 0; margin-top: 1px; }

/* Selectores de bundle */
.selector { margin: 22px 0; }
.selector__titulo { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 12px; }
.opciones { display: flex; flex-direction: column; gap: 10px; }
.opciones--fila { flex-direction: row; }
.opciones--fila .opcion { flex: 1; }
.opcion {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px; border: 1.5px solid var(--linea); border-radius: var(--radio-sm);
  background: var(--blanco-calido); text-align: left; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.opcion:hover { border-color: var(--marron); }
.opcion.activa { border-color: var(--terracota); background: #FBF3E9; }
.opcion__radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--linea);
  flex-shrink: 0; position: relative; transition: border-color .2s var(--ease);
}
.opcion.activa .opcion__radio { border-color: var(--terracota); }
.opcion.activa .opcion__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--terracota);
}
.opcion__texto { flex: 1; }
.opcion__label { font-size: 15px; font-weight: 600; display: block; }
.opcion__extra { font-size: 13px; color: var(--texto-suave); }
.opcion__precio { font-size: 16px; font-weight: 700; white-space: nowrap; }
.opcion__regalo {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 12px; font-weight: 600; color: var(--verde);
}
.opcion__regalo svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Regalo destacado (kit puntos negros al llevar 3 packs) */
.regalo-caja {
  display: flex; align-items: center; gap: 14px; margin: 4px 0 20px;
  padding: 14px; border-radius: var(--radio-sm);
  background: rgba(59, 109, 17, 0.08); border: 1px dashed rgba(59,109,17,0.4);
}
.regalo-caja img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.regalo-caja svg { width: 15px; height: 15px; vertical-align: -2px; flex-shrink: 0; }
.regalo-caja strong { display: block; font-size: 14px; color: var(--verde); }
.regalo-caja span { font-size: 13px; color: var(--texto-suave); }

/* Cantidad */
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 999px; overflow: hidden; }
.cantidad button { width: 44px; height: 44px; font-size: 20px; color: var(--oscuro); }
.cantidad button:hover { background: var(--crema-2); }
.cantidad input {
  width: 44px; height: 44px; text-align: center; border: none; background: transparent;
  font-weight: 600; -moz-appearance: textfield;
}
.cantidad input::-webkit-outer-spin-button, .cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; }

.ficha__acciones { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.aviso-envio {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--texto-suave); margin-top: 14px;
}
.aviso-envio svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--marron); margin-top: 1px; }

/* Barra inferior fija de compra (móvil) */
.barra-compra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(249,240,228,0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--linea); padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.barra-compra.visible { transform: translateY(0); }
.barra-compra__precio { font-size: 18px; font-weight: 700; white-space: nowrap; }
.barra-compra .btn { flex: 1; }

/* =========================================================================
   CARRITO (drawer lateral)
   ========================================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(51,34,18,0.42);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.overlay.abierto { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(420px, 100%); background: var(--crema);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s var(--ease);
  box-shadow: var(--sombra-lg);
}
.drawer.abierto { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--linea-suave);
}
.drawer__head h2 { font-size: 18px; }
.drawer__cerrar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.drawer__cerrar:hover { background: var(--crema-2); }
.drawer__cerrar svg { width: 22px; height: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__vacio { text-align: center; color: var(--texto-suave); padding: 60px 20px; }
.drawer__vacio svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--linea); }

.item {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea-suave);
}
.item__img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--crema-2); flex-shrink: 0; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__info { flex: 1; min-width: 0; }
.item__nombre { font-size: 15px; font-weight: 600; }
.item__variante { font-size: 12.5px; color: var(--texto-suave); }
.item__regalo { font-size: 12px; color: var(--verde); font-weight: 600; margin-top: 2px; display: flex; align-items: flex-start; gap: 4px; }
.item__regalo svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.item__fila { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.item__cant { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: 999px; }
.item__cant button { width: 30px; height: 30px; font-size: 16px; }
.item__cant span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 600; }
.item__precio { font-weight: 700; font-size: 15px; }
.item__quitar { font-size: 12px; color: var(--texto-suave); text-decoration: underline; margin-top: 4px; }
.item__quitar:hover { color: var(--terracota); }

.drawer__pie { border-top: 1px solid var(--linea); padding: 18px 20px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); background: var(--crema-2); }
.drawer__totales { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.drawer__fila { display: flex; justify-content: space-between; font-size: 14px; color: var(--texto-suave); }
.drawer__fila.total { font-size: 20px; font-weight: 700; color: var(--oscuro); }
.drawer__envio { font-size: 12px; color: var(--texto-suave); display: flex; gap: 6px; margin-bottom: 12px; }
.drawer__envio svg { width: 16px; height: 16px; flex-shrink: 0; }

/* =========================================================================
   PANEL "SUMASTE AL CARRITO" (estilo Mercado Libre: confirma + sugiere)
   ========================================================================= */
.modal-ag {
  position: fixed; inset: 0; z-index: 130; background: rgba(51,34,18,0.42);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal-ag.abierto { opacity: 1; visibility: visible; }
.modal-ag__caja {
  width: 100%; max-width: 460px; background: var(--crema); position: relative;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0; padding: 22px 20px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow-y: auto;
  transform: translateY(24px); transition: transform .34s var(--ease); box-shadow: var(--sombra-lg);
}
.modal-ag.abierto .modal-ag__caja { transform: translateY(0); }
.modal-ag__cerrar {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-ag__cerrar:hover { background: var(--crema-2); }
.modal-ag__cerrar svg { width: 20px; height: 20px; }
.modal-ag__top { display: flex; gap: 12px; align-items: flex-start; padding-right: 34px; }
.modal-ag__check { color: var(--verde); flex-shrink: 0; }
.modal-ag__check svg { width: 26px; height: 26px; }
.modal-ag__top strong { font-size: 16px; display: block; margin-bottom: 10px; }
.modal-ag__acciones { display: flex; gap: 10px; margin-top: 20px; }
.modal-ag__acciones .btn { flex: 1; }

.ag-item { display: flex; gap: 12px; align-items: center; }
.ag-item__img { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--crema-2); flex-shrink: 0; }
.ag-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ag-item__nombre { font-size: 14px; font-weight: 600; }
.ag-item__var { font-size: 12.5px; color: var(--texto-suave); }
.ag-item__regalo { font-size: 12px; color: var(--verde); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.ag-item__regalo svg { width: 14px; height: 14px; flex-shrink: 0; }

.ag-sug-titulo { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--texto-suave); margin: 22px 0 10px; }
.ag-oferta {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1.5px solid var(--terracota); border-radius: var(--radio-sm); background: #FBF3E9;
}
.ag-oferta__img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--crema-2); flex-shrink: 0; }
.ag-oferta__img img { width: 100%; height: 100%; object-fit: cover; }
.ag-oferta__info { flex: 1; min-width: 0; }
.ag-oferta__nombre { font-size: 14px; font-weight: 600; }
.ag-oferta__precio { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.ag-oferta__precio .ahora { font-size: 16px; font-weight: 700; color: var(--terracota); }
.ag-oferta__precio .antes { font-size: 12.5px; color: var(--texto-suave); text-decoration: line-through; }
.ag-oferta__precio .off { font-size: 11px; font-weight: 700; color: var(--verde); background: rgba(59,109,17,0.12); padding: 2px 7px; border-radius: 999px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; flex-shrink: 0; }

.ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag-card { border: 1px solid var(--linea-suave); border-radius: var(--radio-sm); overflow: hidden; background: var(--blanco-calido); transition: box-shadow .2s var(--ease); }
.ag-card:hover { box-shadow: var(--sombra-sm); }
.ag-card__img { aspect-ratio: 1/1; background: var(--crema-2); }
.ag-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ag-card__nombre { font-size: 13px; font-weight: 600; padding: 8px 10px 0; line-height: 1.3; }
.ag-card__precio { font-size: 13px; font-weight: 700; color: var(--terracota); padding: 3px 10px 10px; }

@media (min-width: 560px) {
  .modal-ag { align-items: center; }
  .modal-ag__caja { border-radius: var(--radio-lg); }
}

/* =========================================================================
   MODAL "DATOS PARA EL ENVÍO" (paso previo al pago)
   ========================================================================= */
.modal-envio {
  position: fixed; inset: 0; z-index: 130; background: rgba(51,34,18,0.42);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal-envio.abierto { opacity: 1; visibility: visible; }
.modal-envio__caja {
  width: 100%; max-width: 460px; background: var(--crema); position: relative;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0; padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  max-height: 94vh; overflow-y: auto;
  transform: translateY(24px); transition: transform .34s var(--ease); box-shadow: var(--sombra-lg);
}
.modal-envio.abierto .modal-envio__caja { transform: translateY(0); }
.modal-envio__head { display: flex; align-items: center; justify-content: space-between; }
.modal-envio__head h2 { font-size: 20px; }
.modal-envio__cerrar { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-envio__cerrar:hover { background: var(--crema-2); }
.modal-envio__cerrar svg { width: 20px; height: 20px; }
.modal-envio__sub { font-size: 13.5px; color: var(--texto-suave); margin: 4px 0 16px; }
.campo-envio { margin-bottom: 12px; }
.campo-envio label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.campo-envio label .opc { font-weight: 400; color: var(--texto-suave); }
.campo-envio input, .campo-envio select, .campo-envio textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--linea); border-radius: var(--radio-sm);
  background: var(--blanco-calido); font-size: 16px; transition: border-color .2s var(--ease);
}
.campo-envio input:focus, .campo-envio select:focus, .campo-envio textarea:focus { outline: none; border-color: var(--terracota); }
.campo-envio textarea { resize: vertical; min-height: 54px; }
.modal-envio__total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--linea-suave); margin-top: 6px; }
.modal-envio__total strong { font-size: 20px; }
.modal-envio__aviso { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--texto-suave); margin: 0 0 14px; }
.modal-envio__aviso svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--marron); }
@media (min-width: 560px) {
  .modal-envio { align-items: center; }
  .modal-envio__caja { border-radius: var(--radio-lg); }
}

/* =========================================================================
   TESTIMONIOS
   ========================================================================= */
.testimonios-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testimonio {
  background: var(--blanco-calido); border: 1px solid var(--linea-suave);
  border-radius: var(--radio); padding: 24px;
}
.testimonio__estrellas { display: flex; gap: 3px; color: var(--terracota); margin-bottom: 12px; }
.testimonio__estrellas svg { width: 17px; height: 17px; }
.testimonio__texto { font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
.testimonio__autor { display: flex; align-items: center; gap: 12px; }
.testimonio__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--crema-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--terracota); font-size: 16px;
}
.testimonio__nombre { font-size: 14px; font-weight: 600; }
.testimonio__producto { font-size: 12.5px; color: var(--texto-suave); }
.placeholder-nota {
  font-size: 12px; color: var(--texto-suave); text-align: center; margin-top: 24px;
  padding: 10px; background: var(--crema-2); border-radius: var(--radio-sm);
}

/* =========================================================================
   FAQ (acordeón)
   ========================================================================= */
.faq-lista { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--linea); }
.faq-item__pregunta {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 16.5px; font-weight: 600; color: var(--oscuro);
}
.faq-item__icono { flex-shrink: 0; width: 22px; height: 22px; transition: transform .3s var(--ease); color: var(--terracota); }
.faq-item.abierto .faq-item__icono { transform: rotate(45deg); }
.faq-item__respuesta { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-item__respuesta p { padding-bottom: 20px; color: var(--texto-suave); font-size: 15px; }

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contacto-grid { display: grid; gap: 30px; }
.contacto-canales { display: flex; flex-direction: column; gap: 14px; }
.canal {
  display: flex; align-items: center; gap: 16px; padding: 18px;
  background: var(--blanco-calido); border: 1px solid var(--linea-suave); border-radius: var(--radio);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.canal:hover { transform: translateY(-2px); box-shadow: var(--sombra-sm); }
.canal__icono { width: 46px; height: 46px; border-radius: 50%; background: var(--crema-2); color: var(--terracota); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.canal__icono svg { width: 24px; height: 24px; }
.canal__nombre { font-size: 15px; font-weight: 600; }
.canal__dato { font-size: 13.5px; color: var(--texto-suave); }

.form-campo { margin-bottom: 16px; }
.form-campo label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-campo input, .form-campo textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--linea); border-radius: var(--radio-sm);
  background: var(--blanco-calido); transition: border-color .2s var(--ease);
}
.form-campo input:focus, .form-campo textarea:focus { outline: none; border-color: var(--terracota); }
.form-campo textarea { resize: vertical; min-height: 120px; }

/* =========================================================================
   CONTENIDO LEGAL (términos)
   ========================================================================= */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p { color: var(--texto-suave); margin-bottom: 12px; font-size: 15px; }
.legal ul { list-style: disc; padding-left: 22px; color: var(--texto-suave); margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }

/* Banda CTA */
.banda-cta { background: var(--oscuro); color: var(--crema); text-align: center; border-radius: var(--radio-lg); padding: 44px 24px; }
.banda-cta h2 { font-size: clamp(24px, 5vw, 34px); margin-bottom: 10px; }
.banda-cta p { color: rgba(249,240,228,0.75); margin-bottom: 24px; max-width: 46ch; margin-inline: auto; }
.banda-cta .btn-primario:hover { background: var(--terracota-oscuro); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--oscuro); color: rgba(249,240,228,0.8); padding-block: 48px 28px; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer__marca img { height: 56px; width: auto; margin-bottom: 14px; }
.footer__marca p { font-size: 14px; max-width: 34ch; }
.footer__col h4 { color: var(--crema); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14.5px; padding: 6px 0; color: rgba(249,240,228,0.8); transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--crema); }
.footer__redes { display: flex; gap: 12px; margin-top: 6px; }
.footer__redes a {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(249,240,228,0.1); color: var(--crema); transition: background-color .2s var(--ease);
}
.footer__redes a:hover { background: var(--terracota); }
.footer__redes svg { width: 20px; height: 20px; }
.footer__bar {
  border-top: 1px solid rgba(249,240,228,0.14); margin-top: 34px; padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: rgba(249,240,228,0.55);
}
.footer__bar a:hover { color: var(--crema); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--oscuro); color: var(--crema); padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; z-index: 200; opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease); box-shadow: var(--sombra-md);
  display: flex; align-items: center; gap: 8px; max-width: calc(100% - 40px);
}
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #8FCB6A; flex-shrink: 0; }

/* =========================================================================
   RESPONSIVE — Tablet (>=680) y Desktop (>=920)
   ========================================================================= */
@media (min-width: 680px) {
  .valores__grid { grid-template-columns: repeat(4, 1fr); }
  .grilla-productos { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: row; justify-content: center; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 920px) {
  :root { --alto-header: 72px; }
  .seccion { padding-block: 80px; }
  .header__nav { display: flex; }
  .hamburguesa { display: none; }
  .header__redes { display: flex; align-items: center; gap: 2px; margin-right: 4px; }
  .header__logo img { height: 42px; }

  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero__texto { order: 1; text-align: left; }
  .hero__media { order: 2; }
  .hero__lead { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; }
  .hero__foto { aspect-ratio: 5 / 6; }

  .grilla-productos.tres { grid-template-columns: repeat(3, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }

  .ficha__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .ficha__galeria { position: sticky; top: calc(var(--top-fijo) + 20px); }

  /* En desktop la barra de compra fija no hace falta */
  .barra-compra { display: none !important; }

  .menu-movil { display: none; }
}

@media (min-width: 1120px) {
  .grilla-productos { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   FICHA CRO — landing de ads (banda rotativa, rating, escasez, packs con %,
   trust, cómo se usa con GIFs, comparativa antes/después, testimonios, FAQ)
   ========================================================================= */
.ficha__anuncio { position: relative; height: 34px; margin: -2px 0 14px; border-radius: var(--radio-sm); overflow: hidden;
  background: linear-gradient(100deg, var(--terracota), var(--terracota-oscuro) 55%, var(--marron)); color: #fff; }
.ficha__anuncio span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; padding: 0 14px; text-align: center; opacity: 0; transition: opacity .5s var(--ease); }
.ficha__anuncio span.on { opacity: 1; }

.ficha__rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--texto-suave); margin: 6px 0 2px; }
.ficha__rating .fstars { color: #E6A23C; letter-spacing: 1px; font-size: 15px; }
.ficha__rating b { color: var(--oscuro); font-weight: 600; }

.ficha__escasez { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--terracota);
  background: #FBF1E7; border: 1px solid var(--linea); border-radius: 999px; padding: 6px 12px; margin: 10px 0 2px; }
.ficha__escasez svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--terracota); }

.ficha__precio .off { display: inline-block; font-size: 13px; font-weight: 700; color: var(--verde);
  background: rgba(59,109,17,.12); padding: 3px 10px; border-radius: 999px; margin-left: 10px; vertical-align: 3px; }

.ficha__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 4px; padding: 16px 0;
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.ficha__trust div { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 10.5px; color: var(--texto-suave); line-height: 1.3; }
.ficha__trust svg { width: 22px; height: 22px; color: var(--terracota); }

/* Selector de packs / combos (con etiqueta, ahorro %, tachado y precio por unidad) */
.opciones--packs { margin-top: 8px; }
.opciones--packs .opcion { position: relative; align-items: center; }
.opcion__flag { position: absolute; top: -10px; right: 12px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: var(--terracota); padding: 3px 9px; border-radius: 999px; }
.opcion__flag--ahorro { background: var(--verde); }
.opcion__sub { display: block; font-size: 12.5px; color: var(--texto-suave); margin-top: 2px; }
.opcion__pct { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--verde);
  background: rgba(59,109,17,.12); padding: 2px 8px; border-radius: 999px; margin-top: 5px; }
.opciones--packs .opcion__precio { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; white-space: nowrap; }
.opcion__was { font-size: 12.5px; font-weight: 500; color: var(--texto-suave); text-decoration: line-through; }
.opcion__unit { font-size: 11px; font-weight: 500; color: var(--texto-suave); }

/* Secciones a lo ancho */
.fsec { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--linea); }
.fsec__h { font-size: 22px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 4px; }
.fsec__h::before, .fsec__h::after { content: "✦"; color: #E6A23C; font-size: 13px; }
.fsec__sub { text-align: center; color: var(--texto-suave); font-size: 14px; margin-bottom: 22px; }

/* GIF (con placeholder si aún no se subió) */
.fgif { position: relative; width: 100%; height: 100%; background: var(--crema-2); overflow: hidden; }
.fgif img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fgif__chip { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(51,34,18,.8); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; }
.fgif__chip::before { content: ""; width: 0; height: 0; border-left: 5px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.fgif--vacio { display: flex; align-items: center; justify-content: center; }
.fgif--vacio .fgif__chip { display: none; }
.fgif--vacio::after { content: "GIF"; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #C7A981; }

/* Cómo se usa */
.usos { display: flex; flex-direction: column; gap: 14px; }
.uso { display: flex; gap: 14px; align-items: center; }
.uso__gif { position: relative; width: 104px; height: 104px; flex-shrink: 0; border-radius: var(--radio-sm); overflow: hidden; border: 1px solid var(--linea); }
.uso__n { position: absolute; top: 7px; left: 7px; z-index: 3; width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracota); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.uso__t { font-size: 15px; font-weight: 600; }
.uso__d { font-size: 13px; color: var(--texto-suave); margin-top: 3px; }

/* Comparativa con GIF arriba de cada columna */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comp__col { border-radius: var(--radio-sm); padding: 14px 12px; border: 1px solid var(--linea); }
.comp__sin { background: #F3ECE3; }
.comp__con { background: rgba(59,109,17,.08); border-color: rgba(59,109,17,.28); }
.comp__gif { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.comp__tag { position: absolute; top: 8px; left: 8px; z-index: 3; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.comp__tag--a { background: #F3ECE3; color: var(--marron); border: 1px solid var(--linea); }
.comp__tag--d { background: rgba(59,109,17,.12); color: var(--verde); border: 1px solid rgba(59,109,17,.35); }
.comp__col h3 { font-size: 13.5px; margin-bottom: 11px; }
.comp__sin h3 { color: var(--marron); }
.comp__con h3 { color: var(--verde); }
.comp__col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.comp__col li { font-size: 12.5px; line-height: 1.35; display: flex; gap: 6px; align-items: flex-start; }
.comp__col li b { flex-shrink: 0; line-height: 1.2; }
.comp__sin li b { color: #B58A6A; }
.comp__con li b { color: var(--verde); }

/* Tabla comparativa: producto vs alternativas */
.tcmp__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tcmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tcmp__esq { width: 34%; border: 0; background: transparent; }
.tcmp thead th { vertical-align: bottom; padding: 4px 1px 12px; }
.tcmp__ico { display: block; font-size: 21px; line-height: 1; margin-bottom: 5px; }
.tcmp__cab { display: block; font-size: 10px; font-weight: 600; color: var(--texto-suave); line-height: 1.15; letter-spacing: -.01em; }
.tcmp tbody th[scope="row"] {
  text-align: left; font-weight: 500; font-size: 12.5px; color: var(--texto);
  line-height: 1.3; padding: 11px 8px 11px 2px;
}
.tcmp tbody td { text-align: center; padding: 11px 2px; font-size: 15px; }
.tcmp tbody tr + tr th, .tcmp tbody tr + tr td { border-top: 1px solid var(--linea); }
.tcmp__mia { background: rgba(169, 98, 47, .07); }
.tcmp thead th.tcmp__mia { border-radius: 12px 12px 0 0; }
.tcmp tbody tr:last-child td.tcmp__mia { border-radius: 0 0 12px 12px; }
.tcmp thead th.tcmp__mia .tcmp__cab { color: var(--terracota); font-weight: 700; }
.tcmp__si { color: var(--verde); font-weight: 700; }
.tcmp__no { color: #C25B4A; font-weight: 700; }
.tcmp__na { color: #C9BCAA; font-weight: 700; }

/* Testimonios */
.tst { display: flex; flex-direction: column; gap: 12px; }
.tst__c { background: var(--blanco-calido); border: 1px solid var(--linea); border-radius: var(--radio-sm); padding: 15px; }
.tst__top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.tst__av { width: 36px; height: 36px; border-radius: 50%; background: var(--crema-2); color: var(--terracota); font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tst__nm { font-size: 14px; font-weight: 600; }
.tst__loc { font-size: 11.5px; color: var(--texto-suave); }
.tst__vf { color: var(--verde); font-weight: 600; }
.tst__st { color: #E6A23C; letter-spacing: 1px; font-size: 13px; margin-bottom: 6px; }
.tst__c p { font-size: 13.5px; line-height: 1.45; }

/* FAQ */
.ffaq details { border-bottom: 1px solid var(--linea); }
.ffaq summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: 14.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ffaq summary::-webkit-details-marker { display: none; }
.ffaq__pl { color: var(--terracota); font-size: 19px; font-weight: 400; transition: transform .2s var(--ease); }
.ffaq details[open] .ffaq__pl { transform: rotate(45deg); }
.ffaq p { font-size: 13.5px; color: var(--texto-suave); line-height: 1.55; padding: 0 0 14px; }

/* Barra de compra fija: precio con tachado */
.barra-compra__precio .ancla { font-size: 12px; color: var(--texto-suave); text-decoration: line-through; margin-left: 6px; }
.barra-compra__precio .off { display: none; }

/* Desktop: el botón de compra fijo SÍ se mantiene (sigue el scroll) y grillas a columnas */
@media (min-width: 920px) {
  .barra-compra { display: flex !important; }
  .usos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .uso { flex-direction: column; align-items: stretch; }
  .uso__gif { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .uso__tx { margin-top: 10px; }
  .tst { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fsec { margin-top: 44px; padding-top: 40px; }
  .fsec__h { font-size: 26px; }
  .ffaq { max-width: 760px; margin: 0 auto; }
}
