/* =============================================================================
   CHIKÍ — Sitio de marca · v2 "aire y libertad"
   Un solo lienzo cálido que fluye (sin bloques ni tarjetas duras, sin píldoras).
   Imágenes que flotan, mucho espacio, tipografía serif grande.
   ============================================================================= */
/* Fuentes: van como <link> en el <head> de cada página (un @import acá encadenaba otra petición antes de pintar). */

:root {
  --verde:       #163f2c;
  --verde-hoja:  #2f8a56;
  --crema:       #f5ecd6;
  --marfil:      #fdf8ec;
  --terracota:   #c4631e;   /* acento de marca: solo texto grande o decorativo */
  --terracota-txt: #a94f10; /* el mismo acento, legible en texto chico (≥4,5:1) */
  --dorado:      #e2a53a;   /* sobre el verde del pie */
  --dorado-txt:  #9a6a16;   /* estrellas y texto dorado sobre fondo claro */
  --rojo:        #c8452e;

  --texto:       #2a3a30;
  --texto-suave: #556358;

  --fuente-tit: "Fraunces", Palatino, Georgia, serif;
  --fuente-txt: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --max: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }   /* la barra fija ya no tapa los títulos */
body {
  font-family: var(--fuente-txt); color: var(--texto); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* Un solo lienzo continuo: cielo suave arriba que se funde al marfil */
  background:
    radial-gradient(140% 60% at 78% -8%, rgba(47,138,86,.16) 0%, transparent 46%),
    linear-gradient(180deg, #eaf2e6 0%, var(--marfil) 620px) no-repeat,
    var(--marfil);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--fuente-tit); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }

.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.seccion { padding: clamp(34px, 4.4vw, 58px) 0; position: relative; }

/* Etiqueta suave (sin barritas duras) */
.kicker {
  font-family: var(--fuente-txt); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: 12px; color: var(--terracota-txt); margin-bottom: 18px;
}

/* Enlaces-acción con subrayado animado (nada de píldoras) */
.enlace {
  font-weight: 700; color: var(--verde); position: relative; display: inline-flex;
  align-items: center; gap: 8px; padding-bottom: 3px;
}
.enlace::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: currentColor; transform: scaleX(1); transform-origin: left; transition: transform .3s ease; }
.enlace:hover::after { transform: scaleX(0); transform-origin: right; }
.enlace .flecha { transition: transform .25s ease; }
.enlace:hover .flecha { transform: translateX(4px); }
/* Botón suave (radio chico, no píldora) */
.boton {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px;
  background: var(--verde); color: var(--crema); padding: 15px 28px; border-radius: 12px;
  transition: transform .2s ease, background .2s ease; border: 0; cursor: pointer;
}
.boton:hover { transform: translateY(-2px); background: #1d5238; }
.boton--claro { background: var(--crema); color: var(--verde); }
.boton--claro:hover { background: #fff; }

/* ============ BARRA ENVÍOS ============ */
.barra-envio { background: var(--verde); color: var(--crema); text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .03em; padding: 9px 16px; }
.barra-envio b { color: #fff; }

/* ============ NAV (plano, sin contenedor) ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled { background: rgba(253,248,236,.9); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -22px rgba(22,63,44,.5); padding: 12px 32px; }
.nav__logo img { height: 46px; width: auto; transition: height .35s ease; }
.nav.scrolled .nav__logo img { height: 38px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-weight: 600; font-size: 15.5px; color: var(--verde); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--terracota); transition: width .28s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__links .nav__pedir { color: var(--terracota-txt); }
.nav__menu { display: none; background: none; border: 0; color: var(--verde); cursor: pointer; padding: 6px; }
.nav__menu svg { width: 28px; height: 28px; }
.nav__acciones { display: flex; align-items: center; gap: 6px; }
.nav__cart { position: relative; background: none; border: 0; color: var(--verde); cursor: pointer; padding: 6px; display: grid; place-items: center; }
.nav__cart svg { width: 25px; height: 25px; }
.nav__cart-count { position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--terracota-txt); color: #fff; font-size: 11px; font-weight: 800; display: none; place-items: center; }

/* ============ CARRITO ============ */
.carrito { padding: clamp(24px, 4vw, 42px); }
.carrito__tit { font-family: var(--fuente-tit); font-size: 30px; color: var(--verde); font-weight: 500; margin-bottom: 22px; }
.carrito__items { display: flex; flex-direction: column; gap: 14px; }
/* Grilla de 3 columnas: foto · (nombre + cantidad) · (precio + quitar).
   En flex de 5 hijos el nombre se solapaba con el stepper a 390 px. */
.carrito__item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(22,63,44,.1); }
.carrito__item .stepper { grid-column: 2; justify-self: start; }
.ci-precio { grid-column: 3; grid-row: 1; align-self: center; }
.carrito__rm { grid-column: 3; grid-row: 2; justify-self: end; }
.carrito__item img { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; flex: 0 0 auto; }
.ci-nom { flex: 1; min-width: 0; }
.ci-nom strong { color: var(--verde); }
.ci-nom div { color: var(--texto-suave); font-size: 13.5px; }
.ci-precio { font-weight: 800; color: var(--verde); white-space: nowrap; }
.carrito__rm { background: none; border: 0; color: var(--texto-suave); font-size: 24px; cursor: pointer; line-height: 1; min-width: 44px; min-height: 44px; }
.carrito__rm:hover { color: var(--rojo); }
.carrito__total { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; font-size: 19px; color: var(--texto-suave); }
.carrito__total strong { font-family: var(--fuente-tit); font-size: 30px; color: var(--verde); }
.carrito .stepper button { width: 44px; height: 44px; font-size: 19px; }
.carrito .stepper input { width: 42px; height: 44px; font-size: 15.5px; }
.carrito__vacio { text-align: center; padding: 48px 24px; }
.carrito__vacio div { font-size: 52px; margin-bottom: 8px; }

/* ============ HERO (horizontal: texto + escena) ============ */
.hero { padding: clamp(8px, 1.4vw, 18px) 0 clamp(14px, 2.2vw, 28px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1.05fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero__col { text-align: left; }
.hero h1 { font-size: clamp(40px, 5.4vw, 82px); color: var(--verde); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--terracota); }
.hero h1 .kicker { display: block; line-height: 1.4; }   /* palabra clave dentro del h1, con aspecto de etiqueta */
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--texto-suave); max-width: 44ch; margin: 22px 0 30px; }
.hero__acciones { display: flex; justify-content: flex-start; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__firma { margin-top: 26px; font-size: 14px; letter-spacing: .04em; color: var(--texto-suave); }
.hero__firma b { color: var(--verde); }
.boton--linea { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.8px rgba(22,63,44,.25); }
.boton--linea:hover { background: rgba(22,63,44,.06); }
.hero__escena { position: relative; max-width: 560px; width: 100%; aspect-ratio: 1 / 1; margin: 0 auto -12%; display: flex; align-items: flex-end; justify-content: center; }
.hero__juana { width: min(100%, 540px); aspect-ratio: 1 / 1; margin: 0 auto; filter: drop-shadow(0 22px 34px rgba(22,63,44,.12)); position: relative; z-index: 2; transform-origin: 50% 100%; animation: flotar-juana 6s ease-in-out infinite; -webkit-mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.86) 74%, rgba(0,0,0,.56) 81%, rgba(0,0,0,.28) 86%, rgba(0,0,0,.09) 90%, transparent 92%); mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.86) 74%, rgba(0,0,0,.56) 81%, rgba(0,0,0,.28) 86%, rgba(0,0,0,.09) 90%, transparent 92%); }
/* Prueba: Juana 15% más chica (scale .85), anclada al piso, sin mover casa/árboles */
@keyframes flotar-juana { 0%, 100% { transform: translateY(-15%) scale(.85); } 50% { transform: translateY(calc(-15% - 12px)) scale(.85); } }
.hero__casa { position: absolute; left: 50%; bottom: 1%; transform: translateX(-50%); width: 104%; max-width: none; z-index: 1; opacity: .96; pointer-events: none; filter: drop-shadow(0 18px 20px rgba(22,63,44,.1)); }
.hero__halo { position: absolute; inset: 6% 0 auto; width: 68%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, rgba(226,165,58,.28), transparent 62%); z-index: 1; animation: latir 7s ease-in-out infinite; }
/* El mango: solo la copa asoma sobre el techo. Arbolito chico a la derecha. Brisa leve. */
.hero__arboles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__arboles svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(13,54,38,.15)); }
/* Los árboles se miden contra la ESCENA, no contra la ventana: con `vw` crecían
   más rápido que la casona y la copa terminaba cortada arriba al agrandar. */
.mango-copa { position: absolute; left: 12%; bottom: 65%; width: 40%; transform-origin: 50% 100%; animation: brisa 7s ease-in-out infinite; will-change: transform; }
.arbolito { position: absolute; right: 2%; bottom: 41%; width: 19%; z-index: 0; transform-origin: 50% 100%; animation: brisa 6s ease-in-out infinite .6s; will-change: transform; }
@keyframes brisa-copa { 0%, 100% { transform: translateX(-50%) rotate(-1.5deg); } 50% { transform: translateX(-50%) rotate(1.5deg); } }
@keyframes brisa { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
/* La brisa del mango/arbolito es muy sutil: se mantiene siempre (incluso con "reducir movimiento") */
@keyframes flotar { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes latir { 0%,100% { transform: scale(1); opacity: .8 } 50% { transform: scale(1.06); opacity: 1 } }

/* ===== Vapor caliente animado ===== */
.vapor { position: absolute; z-index: 3; width: 150px; height: 150px; pointer-events: none; }
.vapor span {
  position: absolute; bottom: 0; left: 50%; width: 26px; height: 92px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,1));
  border-radius: 50%; filter: blur(7px); opacity: 0;
  animation: subir 3.4s ease-in-out infinite;
}
.vapor span:nth-child(1) { margin-left: -34px; animation-delay: 0s; }
.vapor span:nth-child(2) { margin-left: -8px; animation-delay: .7s; height: 112px; }
.vapor span:nth-child(3) { margin-left: 24px; animation-delay: 1.5s; }
@keyframes subir {
  0%   { transform: translateY(0) translateX(0) scaleX(1); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: translateY(-70px) translateX(9px) scaleX(1.4); opacity: .6; }
  100% { transform: translateY(-132px) translateX(-6px) scaleX(2.1); opacity: 0; }
}
.hero__vapor { left: 49%; top: 30%; transform: translateX(-50%); }
/* El flotar/vapor/halo del hero también se mantienen (movimiento ambiental suave) */

/* Reproductor de vapor: puntitos que suben (deco sutil) */

/* ============ PRODUCTOS (fila flotante, sin tarjetas) ============ */
.encabezado { text-align: center; max-width: 620px; margin: 0 auto clamp(22px, 2.6vw, 34px); }
.encabezado h2 { font-size: clamp(30px, 4.2vw, 50px); color: var(--verde); font-weight: 400; }
.encabezado p { color: var(--texto-suave); font-size: 18px; margin-top: 12px; }
.fila-prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.prod { text-align: center; }
.prod__caja {
  position: relative; padding-bottom: 34px;
  display: flex; align-items: flex-end; justify-content: center;
}
.prod__caja::after { /* sombra de piso flotante (elipse difusa) */
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 14px; height: 26px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(22,63,44,.28), transparent 72%);
  filter: blur(4px); border-radius: 50%; transition: transform .4s ease, opacity .4s ease;
}
/* mix-blend elimina el fondo blanco del mockup contra el lienzo crema */
.prod__caja img { width: 100%; max-width: 380px; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.prod:hover .prod__caja img { transform: translateY(-14px) rotate(-1.5deg); }
.prod:hover .prod__caja::after { transform: scale(.9); opacity: .7; }
.prod__tag { color: var(--terracota-txt); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.prod h3 { font-size: 27px; color: var(--verde); margin: 10px 0 6px; font-weight: 500; }
.prod p { color: var(--texto-suave); font-size: 15.5px; max-width: 32ch; margin: 0 auto 14px; }
.tallas { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.talla { font-size: 12.5px; font-weight: 700; color: var(--verde); background: rgba(22,63,44,.07); padding: 5px 12px; border-radius: 8px; }
.a-pedido { font-size: 12.5px; font-weight: 700; color: var(--terracota-txt); margin-bottom: 12px; }

/* ============ HISTORIA (casona flotando en escena abierta) ============ */
.historia__intro { max-width: 780px; margin: 0 auto; text-align: center; }
.historia__intro h2 { font-size: clamp(34px, 5.4vw, 66px); color: var(--verde); font-weight: 400; margin-bottom: 26px; }
.historia__intro p { color: var(--texto-suave); font-size: 19.5px; margin: 0 auto 18px; max-width: 60ch; }
.historia__firma { margin-top: 30px; font-family: var(--fuente-tit); font-style: italic; color: var(--texto-suave); font-size: 19px; }
.historia__firma span { color: var(--terracota-txt); }
.destaca { color: var(--verde); font-style: italic; font-family: var(--fuente-tit); font-weight: 500; }
.casona { margin-top: clamp(16px, 2.2vw, 28px); text-align: center; }
.casona img { width: min(100%, 880px); margin: 0 auto; filter: drop-shadow(0 26px 26px rgba(22,63,44,.14)); }
.casona figcaption { margin-top: 6px; color: var(--texto-suave); font-size: 15px; }
.casona figcaption span { color: var(--terracota-txt); font-family: var(--fuente-tit); font-style: italic; }

/* ============ PROMESA (línea aireada, sin cajas) ============ */
.promesa .encabezado { margin-bottom: clamp(20px, 2.4vw, 30px); }
.fila-promesa { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.promesa-item { text-align: center; }
.promesa-item__ico { width: 92px; height: 92px; object-fit: cover; margin: 0 auto 18px; border-radius: 20px; box-shadow: 0 12px 26px -14px rgba(22,63,44,.45); transition: transform .3s ease; }
.promesa-item:hover .promesa-item__ico { transform: translateY(-5px) rotate(-2deg); }
.promesa-item h3 { font-size: 21px; color: var(--verde); font-weight: 500; margin-bottom: 8px; }
.promesa-item p { color: var(--texto-suave); font-size: 15px; }

/* ============ HOME v3: variedades en tarjetas de color ============ */
.fila-prod { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: stretch; gap: clamp(16px, 2vw, 26px); }
.prod { background: var(--card, #eef4e2); border-radius: 22px; padding: 24px 20px 26px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 18px 34px -24px rgba(22,63,44,.5); transition: transform .3s ease, box-shadow .3s ease; }
.prod:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -24px rgba(22,63,44,.55); }
.prod__caja { padding-bottom: 8px; }
.prod__caja::after { display: none; }
.prod__caja img { max-width: 190px; mix-blend-mode: multiply; }
.prod:hover .prod__caja img { transform: translateY(-8px) rotate(-1.5deg); }
.prod h3 { font-size: 23px; margin: 8px 0 6px; }
.prod p { font-size: 14.5px; max-width: 26ch; margin: 0 auto 12px; min-height: 42px; }
.prod .tallas { margin-bottom: 14px; }
.prod .talla { background: rgba(255,255,255,.6); }
/* Un ÚNICO margin-top:auto (en el pie) ancla tallas + botón juntos al fondo de la
   tarjeta. Si hubiera varios autos hermanos, flex reparte el espacio libre entre
   ellos y las tallas quedan flotando a media altura, desalineadas entre productos. */
.prod__pie { margin-top: auto; width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.prod__comprar { margin-top: 0; }
.prod__comprar .boton { padding: 11px 26px; font-size: 14.5px; }

/* Cada sabor una mujer (home) — reusa .gen-grid */
.sabor-mujer { padding-top: clamp(26px, 3.2vw, 42px); }
.sabor-mujer .gen-grid { margin-top: clamp(16px, 2vw, 24px); }
.sabor-mujer__cta { text-align: center; margin-top: clamp(18px, 2.2vw, 26px); }

/* ============ RESEÑAS / TESTIMONIOS ============ */
.testimonios .encabezado { margin-bottom: clamp(20px, 2.4vw, 30px); }
.fila-testi { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.testi { background: #fff; border-radius: 18px; padding: 26px 24px; box-shadow: 0 18px 40px -26px rgba(22,63,44,.5); display: flex; flex-direction: column; gap: 12px; }
.testi__stars { color: var(--dorado-txt); font-size: 16px; letter-spacing: 2px; }
.testi__txt { color: var(--texto); font-size: 15.5px; line-height: 1.65; font-style: italic; }
.testi__txt b { font-style: normal; color: var(--verde); }
.testi__aut { margin-top: auto; }
.testi__aut strong { display: block; color: var(--verde); font-size: 15px; }
.testi__aut span { color: var(--texto-suave); font-size: 13px; }
.testi__mas { text-align: center; margin-top: clamp(16px, 2vw, 24px); }
.testi__mas a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--verde); border-bottom: 2px solid var(--dorado); padding-bottom: 3px; }

/* ============ CÓMO COMPRAR (3 pasos) ============ */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(18px, 2.2vw, 26px); }
.paso { text-align: center; }
.paso__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: var(--crema); display: grid; place-items: center; margin: 0 auto 16px; }
.paso__ico svg { width: 28px; height: 28px; }
.paso h3 { font-size: 19px; color: var(--verde); font-weight: 500; margin-bottom: 6px; }
.paso h3 .paso__n { color: var(--terracota-txt); font-family: var(--fuente-tit); margin-right: 6px; }
.paso p { color: var(--texto-suave); font-size: 15px; max-width: 30ch; margin: 0 auto; }
.pasos-sec__cta { text-align: center; }
@media (max-width: 720px) {
  .pasos { grid-template-columns: 1fr; gap: 30px; max-width: 340px; margin-inline: auto; }
}

/* ============ COMPRAR ============ */
.comprar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.comprar h2 { font-size: clamp(32px, 5vw, 60px); color: var(--verde); font-weight: 400; margin-bottom: 22px; }
.comprar p { color: var(--texto-suave); font-size: 18px; margin-bottom: 26px; max-width: 44ch; }
.comprar__pasos { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 34px; }
.comprar__pasos li { display: flex; gap: 16px; align-items: baseline; font-size: 17px; }
.comprar__pasos .n { font-family: var(--fuente-tit); font-size: 24px; color: var(--terracota-txt); font-weight: 600; flex: 0 0 auto; }
.comprar__pasos b { color: var(--verde); }
.comprar__acciones { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.comprar__art img { width: min(100%, 360px); margin: 0 auto; filter: drop-shadow(0 30px 30px rgba(22,63,44,.16)); }

/* ============ FOOTER ============ */
.footer { background: var(--verde); color: rgba(245,236,214,.82); padding: clamp(22px, 2.6vw, 32px) 0 16px; margin-top: clamp(16px, 2vw, 26px); line-height: 1.45; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px 40px; }
.footer__logo img { height: 54px; width: auto; margin-bottom: 10px; }
.footer p { font-size: 14.5px; max-width: 38ch; }
.footer h4, .footer .footer__tit { font-family: var(--fuente-txt); text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; color: var(--dorado); margin-bottom: 8px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer a:hover { color: #fff; }
.footer__base { border-top: 1px solid rgba(245,236,214,.16); margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; font-size: 13px; }
.footer__credito a { color: var(--dorado); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer__credito a:hover { border-color: var(--dorado); color: var(--dorado); }

/* ============ PRODUCTO: clickable ============ */
.prod { cursor: pointer; }
.prod h3 { transition: color .2s ease; }
.prod:hover h3 { color: var(--terracota-txt); }

/* ============ MODAL / STORE ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.abierto { display: block; }
.modal__fondo { position: absolute; inset: 0; background: rgba(22,40,30,.55); backdrop-filter: blur(4px); animation: aparecer .3s ease; }
.modal__panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 36px)); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--marfil); border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(22,63,44,.6);
  animation: subirModal .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes aparecer { from { opacity: 0 } to { opacity: 1 } }
@keyframes subirModal { from { opacity: 0; transform: translate(-50%, -46%) } to { opacity: 1; transform: translate(-50%, -50%) } }
.modal__cerrar {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(22,63,44,.08); border: 0; cursor: pointer; color: var(--verde); font-size: 22px; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.modal__cerrar:hover { background: rgba(22,63,44,.16); }

.ficha { display: grid; grid-template-columns: .95fr 1.05fr; }
.ficha__img { position: relative; background: var(--crema); border-radius: 26px 0 0 26px; display: flex; align-items: center; justify-content: center; padding: 40px; }
.ficha__img img { width: min(100%, 300px); mix-blend-mode: multiply; animation: flotar 6s ease-in-out infinite; }
.tallas-sel { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.talla-op { font-size: 14px; font-weight: 700; color: var(--verde); background: #fff; border: 1.5px solid rgba(22,63,44,.2); padding: 9px 16px; border-radius: 10px; cursor: pointer; transition: all .18s; }
.talla-op.activa { background: var(--verde); color: var(--crema); border-color: var(--verde); }
.ficha__info { padding: clamp(28px, 4vw, 44px); }
.ficha__tag { color: var(--terracota-txt); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.ficha__info h3 { font-family: var(--fuente-tit); font-size: clamp(28px, 4vw, 40px); color: var(--verde); font-weight: 500; margin: 8px 0 6px; }
.ficha__peso { color: var(--texto-suave); font-weight: 700; font-size: 14px; }
.ficha__brief { color: var(--texto); font-size: 16px; margin: 18px 0; line-height: 1.7; }
.ficha__receta { background: rgba(47,138,86,.08); border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; }
.ficha__receta h4 { font-family: var(--fuente-txt); text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; color: var(--verde-hoja); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ficha__receta p { color: var(--texto-suave); font-size: 15px; }
.ficha__precio { font-family: var(--fuente-tit); font-size: 30px; color: var(--verde); font-weight: 600; margin-bottom: 18px; }
.ficha__compra { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid rgba(22,63,44,.2); border-radius: 12px; overflow: hidden; }
.stepper button { width: 42px; height: 46px; background: none; border: 0; font-size: 22px; color: var(--verde); cursor: pointer; transition: background .15s; }
.stepper button:hover { background: rgba(22,63,44,.08); }
.stepper input { width: 46px; height: 46px; border: 0; text-align: center; font-family: var(--fuente-txt); font-weight: 700; font-size: 17px; color: var(--verde); background: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 680px) {
  .ficha { grid-template-columns: 1fr; }
  .ficha__img { border-radius: 26px 26px 0 0; padding: 30px; }
  .ficha__img img { width: min(62%, 220px); }
}

/* ============ FORM PEDIDO ============ */
.campo2 { display: block; margin-bottom: 16px; }
.campo2 label { display: block; font-weight: 700; font-size: 13px; color: var(--verde); margin-bottom: 6px; }
.campo2 input { width: 100%; padding: 13px 15px; border: 1.5px solid rgba(22,63,44,.2); border-radius: 12px; font-family: inherit; font-size: 15.5px; color: var(--texto); background: #fff; }
.campo2 input:focus-visible, .campo2 input:focus { outline: none; border-color: var(--verde-hoja); box-shadow: 0 0 0 3px rgba(47,138,86,.35); }
/* Un solo anillo de foco para todo lo que se puede recorrer con teclado */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--verde-hoja); outline-offset: 3px; border-radius: 6px;
}
.subir { display: block; border: 1.6px dashed rgba(22,63,44,.32); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; color: var(--texto-suave); background: #fff; font-weight: 600; transition: border-color .2s, color .2s; }
.subir:hover { border-color: var(--verde-hoja); color: var(--verde); }

/* ============ PÁGINA HISTORIA ============ */
.cabecera-pag { text-align: center; padding: clamp(28px, 3.8vw, 50px) 0 clamp(12px, 1.8vw, 22px); }
.cabecera-pag h1 { font-size: clamp(42px, 7vw, 86px); color: var(--verde); font-weight: 400; }
.cabecera-pag p { color: var(--texto-suave); font-size: 19.5px; max-width: 46ch; margin: 20px auto 0; }
/* Relato: cluster de fotos encimadas + historia al lado */
.relato-uno { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; max-width: 1080px; margin: 0 auto; padding: clamp(10px, 1.4vw, 16px) 0 clamp(20px, 2.6vw, 34px); }
.cluster { position: relative; height: clamp(380px, 46vw, 500px); }
.cluster__f { position: absolute; border: 8px solid #fff; border-radius: 5px; box-shadow: 0 24px 52px -18px rgba(22,63,44,.55); width: clamp(178px, 25vw, 240px); transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; }
.cluster__f1 { top: 0; left: 2%; transform: rotate(-7deg); z-index: 1; }
.cluster__f2 { top: 22%; right: 0; transform: rotate(5deg); z-index: 3; width: clamp(190px, 27vw, 258px); }
.cluster__f3 { bottom: 0; left: 20%; transform: rotate(-3deg); z-index: 2; }
.cluster__f:hover { transform: scale(1.05) rotate(0deg); z-index: 6; box-shadow: 0 32px 62px -18px rgba(22,63,44,.6); }
.relato-uno__txt .kicker { color: var(--terracota-txt); }
.relato-uno__txt h2 { font-size: clamp(30px, 4.4vw, 52px); color: var(--verde); font-weight: 400; margin-bottom: 20px; }
.relato-uno__txt p { color: var(--texto-suave); font-size: 18px; margin-bottom: 14px; }
.relato-uno__txt p .destaca { color: var(--verde); }
.relato-uno__cap { font-family: var(--fuente-tit); font-style: italic; font-size: 14px; color: var(--terracota-txt); margin-top: 6px; }
.historia-cta { text-align: center; padding: clamp(20px, 2.6vw, 34px) 0 clamp(28px, 3.6vw, 44px); }
.historia-cta h2 { font-size: clamp(28px, 4vw, 48px); color: var(--verde); font-weight: 400; margin-bottom: 22px; }
.historia-firma-pag { font-family: var(--fuente-tit); font-style: italic; font-size: clamp(20px, 3vw, 28px); color: var(--terracota); text-align: center; padding: clamp(14px, 2.4vw, 26px) 0; }

/* ============ HISTORIA v2: origen + 4 generaciones + casona ============ */
/* Origen: foto de la casona + relato */
.origen { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 66px); align-items: center; max-width: 1080px; margin: 0 auto; padding: clamp(10px, 1.6vw, 18px) 0 clamp(22px, 2.8vw, 38px); }
.origen__foto { margin: 0; position: relative; }
.origen__foto img { width: 100%; border: 9px solid #fff; border-radius: 6px; box-shadow: 0 30px 58px -22px rgba(22,63,44,.5); transform: rotate(-2deg); }
.origen__foto figcaption { font-family: var(--fuente-tit); font-style: italic; font-size: 14px; color: var(--terracota-txt); text-align: center; margin-top: 22px; }
.origen__txt .kicker { color: var(--terracota-txt); }
.origen__txt h2 { font-size: clamp(30px, 4.4vw, 52px); color: var(--verde); font-weight: 400; margin-bottom: 20px; }
.origen__txt p { color: var(--texto-suave); font-size: 18px; margin-bottom: 15px; }

/* Cuatro generaciones */
.generaciones { text-align: center; padding-top: clamp(16px, 2.2vw, 26px); }
.gen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); max-width: 1140px; margin: clamp(18px, 2.2vw, 28px) auto 0; }
.gen { text-align: center; padding: 0 6px; }
.gen__disco { aspect-ratio: 1/1; border-radius: 50%; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; box-shadow: inset 0 -8px 24px -10px rgba(22,63,44,.18), 0 18px 34px -20px rgba(22,63,44,.42); transition: transform .4s cubic-bezier(.2,.85,.3,1), box-shadow .4s ease; will-change: transform; }
.gen__disco::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(22,63,44,.08); }
.gen__disco img { width: 78%; margin-bottom: 0; }
.gen:hover .gen__disco { transform: translateY(-12px); box-shadow: inset 0 -8px 24px -10px rgba(22,63,44,.18), 0 30px 44px -20px rgba(22,63,44,.5); }
.gen--juana  { background: radial-gradient(120% 120% at 50% 15%, #eef5e6, #dcebd6); }
.gen--chiki  { background: radial-gradient(120% 120% at 50% 15%, #f0f6e4, #e2eecb); }
.gen--juani  { background: radial-gradient(120% 120% at 50% 15%, #fdecd8, #f8dcbd); }
.gen--jamile { background: radial-gradient(120% 120% at 50% 15%, #fdf1cf, #fae3ab); }
.gen__num { display: inline-block; font-family: var(--fuente-txt); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--terracota-txt); margin: 20px 0 6px; }
.gen__nombre { font-family: var(--fuente-tit); font-size: clamp(24px, 3vw, 30px); color: var(--verde); font-weight: 500; line-height: 1; }
.gen__rol { font-family: var(--fuente-tit); font-style: italic; font-size: 15px; color: var(--texto-suave); margin: 4px 0 12px; }
.gen__txt { font-size: 14px; color: var(--texto-suave); line-height: 1.5; max-width: 25ch; margin: 0 auto 15px; }
.gen__sabor { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--verde); background: rgba(22,63,44,.06); padding: 6px 13px; border-radius: 9px; }
.gen__sabor::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde-hoja); }
.gen--juani  .gen__sabor::before { background: var(--terracota); }
.gen--jamile .gen__sabor::before { background: var(--dorado); }
.gen--juana  .gen__sabor::before { background: var(--verde); }

/* Casona + la familia */
.casa-familia { max-width: 1080px; margin: 0 auto; padding: clamp(24px, 3.2vw, 44px) 0 clamp(8px, 1.2vw, 14px); }
.casa-familia__head { text-align: center; max-width: 60ch; margin: 0 auto clamp(18px, 2.2vw, 28px); }
.casa-familia__head .kicker { color: var(--terracota-txt); }
.casa-familia__head h2 { font-size: clamp(30px, 4.6vw, 56px); color: var(--verde); font-weight: 400; margin-bottom: 18px; }
.casa-familia__head p { color: var(--texto-suave); font-size: 18.5px; }
.casa-foto { max-width: 560px; margin: 0 auto clamp(18px, 2.4vw, 30px); }
.casa-foto img { width: 100%; border: 10px solid #fff; border-radius: 6px; box-shadow: 0 32px 62px -24px rgba(22,63,44,.5); }
.casa-foto figcaption { font-family: var(--fuente-tit); font-style: italic; font-size: 15px; color: var(--terracota-txt); text-align: center; margin-top: 16px; }
.casa-foto--dibujo { max-width: 600px; }
.casa-foto--dibujo img { border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 20px 24px rgba(22,63,44,.16)); }
.casa-foto--dibujo figcaption { margin-top: 4px; }
.familia-fila { display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 1.6vw, 20px); flex-wrap: wrap; }
.familia-fila img { width: clamp(148px, 25vw, 226px); border: 7px solid #fff; border-radius: 5px; box-shadow: 0 20px 40px -18px rgba(22,63,44,.5); transition: transform .3s ease; }
.familia-fila img:nth-child(1) { transform: rotate(-3deg); }
.familia-fila img:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.familia-fila img:nth-child(3) { transform: rotate(-1.5deg); }
.familia-fila img:hover { transform: scale(1.04) rotate(0); }
@media (max-width: 820px) {
  .relato-uno { grid-template-columns: 1fr; gap: 26px; }
  /* En mobile: fila centrada con posición normal (el cluster absoluto no funciona en pantallas chicas) */
  .cluster { height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: 480px; margin: 0 auto; }
  .cluster__f, .cluster__f1, .cluster__f2, .cluster__f3 { position: static; width: clamp(132px, 40vw, 178px); box-shadow: 0 14px 32px -14px rgba(22,63,44,.5); }
  .cluster__f1 { transform: rotate(-3deg); }
  .cluster__f2 { transform: rotate(3deg); }
  .cluster__f3 { transform: rotate(-2deg); }
  .cluster__f:hover { transform: scale(1.03); }
  .relato-uno__txt { text-align: center; }
  .origen { grid-template-columns: 1fr; gap: 30px; max-width: 520px; }
  .origen__foto { max-width: 400px; margin: 0 auto; }
  .origen__txt { text-align: center; }
  .gen-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; max-width: 540px; }
  .gen__txt { max-width: 34ch; }
}
@media (max-width: 460px) {
  .gen-grid { grid-template-columns: 1fr; max-width: 300px; gap: 30px; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: var(--marfil); padding: 40px; box-shadow: -20px 0 60px -30px rgba(22,63,44,.5); transform: translateX(100%); transition: transform .3s ease; }
  .nav__links.abierto { transform: none; }
  .nav__links a { font-size: 20px; }
  .nav__menu { display: block; z-index: 61; }
  .hero__grid { grid-template-columns: 1fr; gap: 6px; }
  .hero__col { text-align: center; order: 2; }
  .hero__escena { order: 1; max-width: 440px; }
  .hero__acciones { justify-content: center; }
  .hero__firma { text-align: center; }
  .hero h1 { font-size: clamp(44px, 12vw, 72px); }
  .hero__juana { width: min(86%, 380px); }
  .fila-prod { grid-template-columns: 1fr; gap: 48px; max-width: 360px; margin: 0 auto; }
  .fila-promesa { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .contenedor { padding: 0 22px; }
  .fila-promesa { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* =============================================================================
   v29 — comprar sin fricción: precio a la vista, stock real, contacto directo
   ============================================================================= */

/* --- Tallas con precio: cada chip abre la ficha en ESA presentación --- */
.tallas { gap: 10px; }
.talla {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-family: var(--fuente-txt); border: 1.5px solid rgba(22,63,44,.16);
  background: rgba(255,255,255,.72); color: var(--verde);
  padding: 7px 13px; border-radius: 12px; cursor: pointer; min-height: 44px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.talla:hover { border-color: var(--verde); background: #fff; transform: translateY(-1px); }
.talla__peso { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.talla__precio { font-family: var(--fuente-tit); font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.prod .talla { background: rgba(255,255,255,.72); }

/* --- Esperando al ERP: nunca mostramos un precio inventado --- */
.prod--cargando { pointer-events: none; }
.prod--cargando .prod__caja { width: 140px; height: 176px; border-radius: 16px; background: rgba(22,63,44,.07); }
.sk { display: block; border-radius: 8px; background: rgba(22,63,44,.07); animation: sk 1.4s ease-in-out infinite; }
.sk--tag { width: 64px; height: 11px; margin: 14px auto 10px; }
.sk--tit { width: 130px; height: 20px; margin: 0 auto 12px; }
.sk--txt { width: 160px; height: 11px; margin: 0 auto 7px; }
.sk--corto { width: 110px; }
.sk--precio { width: 120px; height: 34px; margin: 14px auto 12px; border-radius: 12px; }
.sk--boton { width: 150px; height: 42px; border-radius: 12px; margin: 0 auto; }
@keyframes sk { 0%, 100% { opacity: .55 } 50% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none } }

/* --- Si el catálogo no carga, lo decimos y damos salida --- */
.prod-error { grid-column: 1 / -1; text-align: center; padding: clamp(28px, 4vw, 48px) 22px; background: rgba(255,255,255,.6); border-radius: 22px; }
.prod-error h3 { font-family: var(--fuente-tit); font-size: 25px; color: var(--verde); font-weight: 500; margin-bottom: 8px; }
.prod-error p { color: var(--texto-suave); max-width: 44ch; margin: 0 auto 18px; }
.prod-error__acc { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ficha__tope { font-size: 13.5px; color: var(--terracota-txt); font-weight: 700; margin: -6px 0 12px; min-height: 0; }

/* --- Checkout: medios de pago como opciones, no como dos botones primarios --- */
.pd-medios { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.medio {
  flex: 1 1 160px; min-height: 48px; padding: 12px 16px; cursor: pointer;
  font-family: var(--fuente-txt); font-size: 15px; font-weight: 700; color: var(--verde);
  background: #fff; border: 1.6px solid rgba(22,63,44,.2); border-radius: 12px;
  transition: border-color .18s ease, background .18s ease;
}
.medio:hover { border-color: var(--verde); }
.medio--activo { background: var(--verde); color: var(--crema); border-color: var(--verde); }
.pd-caja { background: rgba(196,99,30,.09); }
.pd-caja h4 { color: var(--verde); }
.pd-caja p { color: var(--texto); font-size: 15px; line-height: 1.7; }
.pd-datos { font-size: 16.5px; line-height: 1.9; font-variant-numeric: tabular-nums; }

/* --- Cierre del pedido: número, qué sigue y cómo escribirnos --- */
.gracias { max-width: 520px; margin: 0 auto; text-align: center; padding-block: 36px; }
.gracias__sello { width: 58px; height: 58px; margin: 0 auto 18px; color: var(--verde-hoja); }
.gracias__sello svg { width: 100%; height: 100%; }
.gracias h3 { font-family: var(--fuente-tit); font-size: 29px; color: var(--verde); font-weight: 500; margin-bottom: 6px; }
.gracias__nro { display: inline-block; font-family: var(--fuente-txt); font-size: 15px; font-weight: 800; color: var(--verde-hoja); background: rgba(47,138,86,.12); border-radius: 999px; padding: 3px 12px; vertical-align: middle; }
.gracias__pasos { list-style: none; text-align: left; margin: 22px auto 24px; max-width: 42ch; display: flex; flex-direction: column; gap: 10px; color: var(--texto-suave); font-size: 15px; }
.gracias__pasos li { padding-left: 26px; position: relative; }
.gracias__pasos li::before { content: ""; position: absolute; left: 6px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--verde-hoja); }
.gracias .boton { margin: 0 6px 10px; }

/* --- WhatsApp: el canal real de compra en Paraguay, siempre a mano --- */
.wsp-flot {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  background: #1f7a4d; color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 18px; border-radius: 999px; min-height: 52px;
  box-shadow: 0 14px 30px -12px rgba(22,63,44,.6);
  transition: transform .2s ease, background .2s ease;
}
.wsp-flot:hover { transform: translateY(-2px); background: #176139; }
.wsp-flot svg { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 520px) { .wsp-flot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .wsp-flot { padding: 15px; border-radius: 50%; } }

/* --- Áreas táctiles: nada por debajo de 44 px en lo que se toca --- */
.boton { min-height: 46px; }
.prod__comprar .boton { min-height: 44px; }
.nav__cart, .nav__menu { min-width: 44px; min-height: 44px; }
.footer ul a { display: inline-block; padding: 4px 0; }

/* `hidden` tiene que ganarle a los display: del sistema (flex, grid, inline-flex) */
[hidden] { display: none !important; }

/* El texto que el navegador pinta por su cuenta también es del sitio */
::selection { background: rgba(196,99,30,.22); color: var(--verde); }

/* Resumen del pedido en el checkout: qué estoy pagando, sin volver atrás */
.pd-resumen { list-style: none; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--texto-suave); }
.pd-resumen li { display: flex; justify-content: space-between; gap: 14px; }
.pd-resumen b { color: var(--verde); font-variant-numeric: tabular-nums; }
a.nav__cart { display: inline-grid; place-items: center; position: relative; color: var(--verde); }
.pd-envio { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(22,63,44,.12); font-size: 14px; }

/* Promedio de Google: una línea pesa más que tres tarjetas sueltas */
.testi__resumen { margin-top: 10px; font-size: 16px; color: var(--texto-suave); }
.testi__resumen strong { font-family: var(--fuente-tit); font-size: 24px; color: var(--verde); margin-right: 4px; }
.testi__res-estrellas { color: var(--dorado-txt); letter-spacing: 2px; }
/* El panel del modal usa dvh: con la barra dinámica de Safari, 100vh se pasa */
.modal__panel { max-height: calc(100dvh - 48px); }

/* Nada que se toque por debajo de 44 px (dedos, no punteros) */
.modal__cerrar { min-width: 44px; min-height: 44px; }
.talla-op { min-height: 46px; }
.stepper button { min-width: 44px; }
.carrito .stepper input { width: 44px; }
#pd-recordar { width: 22px; height: 22px; accent-color: var(--verde-hoja); }

/* En celular, dos columnas: cinco sabores en una sola columna eran 4.700 px de scroll */
@media (max-width: 560px) {
  .fila-prod { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod { padding: 16px 11px 18px; border-radius: 18px; }
  .prod__caja img { max-width: 118px; }
  .prod h3 { font-size: 18.5px; margin: 6px 0 4px; }
  .prod p { font-size: 13px; min-height: 0; max-width: none; margin-bottom: 10px; }
  .prod .tallas { flex-direction: column; gap: 6px; width: 100%; margin-bottom: 10px; }
  .prod .talla { width: 100%; flex-direction: row; justify-content: space-between; padding: 8px 11px; }
  .prod__comprar { width: 100%; }
  .prod__comprar .boton { width: 100%; justify-content: center; padding: 11px 10px; font-size: 14px; }
  .gen-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .gen__txt { font-size: 13px; }
}

/* Con width/height en el HTML (evitan el salto de layout), el alto lo manda el CSS */
/* Si el CSS fija la altura, el ancho del atributo HTML estiraría la imagen */
img { height: auto; }
img[width][height] { max-width: 100%; }

/* Sobre los fondos cálidos de las generaciones, el texto se tiñe del mismo tono:
   un gris verdoso ahí abajo queda sucio y además no llega al contraste. */
.gen--jamile .gen__txt, .gen--jamile .gen__rol { color: #5b4524; }
.gen--juani .gen__txt, .gen--juani .gen__rol { color: #57432a; }

/* =============================================================================
   Cada sabor, una mujer — ahora en la grilla, no sólo en una sección aparte
   ============================================================================= */
.prod { position: relative; }
/* El retrato asoma en la esquina de la tarjeta, como una firma */
.prod__retrato {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover; object-position: top center;
  background: var(--marfil); box-shadow: 0 0 0 2px var(--marfil), 0 8px 16px -8px rgba(22,63,44,.55);
}
.prod__autoria {
  display: block; font-size: 13.5px; color: var(--texto-suave); margin-bottom: 10px;
  border-bottom: 1px solid transparent; width: fit-content; margin-inline: auto;
  transition: color .18s ease, border-color .18s ease;
}
.prod__autoria strong { font-family: var(--fuente-tit); font-weight: 600; color: var(--verde); font-size: 15px; }
a.prod__autoria:hover { color: var(--verde); border-bottom-color: var(--terracota); }
.prod__autoria--casa { font-style: italic; }

/* En la ficha, la misma firma pero con cara y generación */
.ficha__autoria { display: flex; align-items: center; gap: 11px; margin: 10px 0 14px; width: fit-content; }
.ficha__autoria img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--crema); box-shadow: 0 0 0 2px #fff; }
.ficha__autoria span { font-size: 14px; color: var(--texto-suave); line-height: 1.35; }
.ficha__autoria strong { font-family: var(--fuente-tit); font-size: 16px; color: var(--verde); font-weight: 600; }
.ficha__autoria em { display: block; font-style: normal; font-size: 12.5px; }
.ficha__autoria:hover strong { color: var(--terracota-txt); }

@media (max-width: 560px) {
  .prod__retrato { width: 36px; height: 36px; top: 10px; right: 10px; }
  .prod__autoria { font-size: 12.5px; margin-bottom: 8px; }
  .prod__autoria strong { font-size: 13.5px; }
}

/* ============ NOSOTROS: misión/visión · valores · el envase ============ */
/* Mismo lienzo libre que historia: nada de tarjetas, las ilustraciones flotan sobre el marfil. */
.proposito { display: grid; grid-template-columns: 1fr minmax(180px, 250px) 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; max-width: 1100px; margin: 0 auto; padding: clamp(14px, 2vw, 26px) 0 clamp(26px, 3.4vw, 44px); }
.proposito__bloque h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--terracota-txt); font-weight: 400; font-style: italic; margin-bottom: 14px; }
.proposito__bloque p { color: var(--texto-suave); font-size: 17.5px; max-width: 42ch; }
.proposito__bloque:last-child { text-align: right; }
.proposito__bloque:last-child p { margin-left: auto; }
.proposito__caja { margin: 0; }
.proposito__caja img { width: 100%; mix-blend-mode: multiply; transform: rotate(3deg); }

.valores { padding: clamp(18px, 2.4vw, 30px) 0 clamp(26px, 3.4vw, 44px); }
.valores__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3.4vw, 48px); max-width: 1100px; margin: 0 auto; }
.valor { text-align: center; }
.valor img { height: 104px; width: auto; max-width: 100%; margin: 0 auto 16px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(22,63,44,.12)); }
.valor h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--verde); font-weight: 500; margin-bottom: 8px; }
.valor p { color: var(--texto-suave); font-size: 16px; max-width: 30ch; margin: 0 auto; }
/* el ñandutí, el árbol y la flor se ven parejos; la casona es apaisada y necesita menos alto */
.valor:nth-child(3) img { height: 74px; margin-top: 30px; }

.envase { padding: clamp(18px, 2.4vw, 30px) 0 clamp(18px, 2.4vw, 30px); }
.envase .encabezado { max-width: 700px; }
.envase__grid { display: grid; grid-template-columns: 1fr minmax(240px, 340px) 1fr; gap: clamp(22px, 3.6vw, 52px); align-items: center; max-width: 1100px; margin: 0 auto; }
.envase__col { display: grid; gap: clamp(26px, 3.4vw, 44px); }
.envase__col:first-child { text-align: right; }
.envase__col:first-child .nota__ilus, .envase__col:first-child p { margin-left: auto; }
.envase__caja { margin: 0; }
.envase__caja img { width: 100%; mix-blend-mode: multiply; }
.nota h3 { font-size: clamp(21px, 2vw, 25px); color: var(--verde); font-weight: 500; margin-bottom: 6px; }
.nota p { color: var(--texto-suave); font-size: 16px; max-width: 34ch; }
.nota__ilus { height: 78px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 8px 10px rgba(22,63,44,.12)); }
.nota__ilus--ancha { height: 70px; }
.nota__fauna { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.nota__fauna img { height: 72px; width: auto; filter: drop-shadow(0 8px 10px rgba(22,63,44,.12)); }
.nota__fauna img:last-child { height: 46px; }
.nota--cita p { font-family: var(--fuente-tit); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.35; color: var(--terracota-txt); }
.nota--cita cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; letter-spacing: .04em; color: var(--texto-suave); }
.historia-cta__alt { margin-top: 18px; }

@media (max-width: 900px) {
  .proposito { grid-template-columns: 1fr 1fr; }
  .proposito__caja { grid-column: 1 / -1; grid-row: 1; max-width: 190px; margin: 0 auto; }
  .valores__fila { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .envase__grid { grid-template-columns: 1fr 1fr; }
  .envase__caja { grid-column: 1 / -1; grid-row: 1; max-width: 280px; margin: 0 auto; }
  .envase__col:first-child { text-align: left; }
  .envase__col:first-child .nota__ilus, .envase__col:first-child p { margin-left: 0; }
}
@media (max-width: 600px) {
  .proposito, .envase__grid { grid-template-columns: 1fr; text-align: center; }
  .proposito__bloque:last-child { text-align: center; }
  .proposito__bloque p, .nota p { margin-left: auto; margin-right: auto; }
  .envase__col, .envase__col:first-child { text-align: center; }
  .envase__col:first-child .nota__ilus, .envase__col:first-child p, .nota__ilus { margin-left: auto; margin-right: auto; }
  .nota__fauna { justify-content: center; }
  .valor img { height: 84px; }
  .valor:nth-child(3) img { height: 58px; margin-top: 26px; }
}

/* ============ PÁGINAS DE PRODUCTO (/cocido y /cocido/<sabor>) ============ */
.migas { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--texto-suave); padding: clamp(14px, 2vw, 22px) 0 clamp(8px, 1.4vw, 14px); }
.migas a { color: var(--verde); font-weight: 600; }
.migas a:hover { color: var(--terracota-txt); }
.pficha { display: grid; grid-template-columns: minmax(260px, .9fr) 1.1fr; gap: clamp(26px, 4.4vw, 64px); align-items: start; max-width: 1100px; margin: 0 auto; padding-bottom: clamp(26px, 3.4vw, 44px); }
.pficha__img { margin: 0; background: var(--card, var(--crema)); border-radius: 26px; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 48px); position: sticky; top: 100px; }
.pficha__img img { width: min(100%, 360px); mix-blend-mode: multiply; }
.pficha__info h1 { font-size: clamp(34px, 4.6vw, 56px); color: var(--verde); font-weight: 400; margin: 10px 0 8px; }
.pficha__brief { font-size: 17.5px; color: var(--texto); margin: 14px 0 22px; max-width: 52ch; }
.pficha__tallas { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ptalla { display: grid; gap: 2px; background: #fff; border: 1.5px solid rgba(22,63,44,.16); border-radius: 14px; padding: 14px 16px; transition: border-color .18s, transform .18s; }
.ptalla:hover { border-color: var(--verde); transform: translateY(-2px); }
.ptalla__peso { font-weight: 700; font-size: 14px; color: var(--texto-suave); }
.ptalla__precio { font-family: var(--fuente-tit); font-size: 26px; font-weight: 600; color: var(--verde); font-variant-numeric: tabular-nums; }
.ptalla__disp { font-size: 13px; font-weight: 700; color: var(--verde-hoja); }
.ptalla__disp--pedido { color: var(--terracota-txt); }
.pficha__sinprecio { color: var(--terracota-txt); font-weight: 700; margin-bottom: 18px; }
.pficha__acciones { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.pficha__datos { display: grid; gap: 10px; margin: 0 0 22px; padding: 18px 0; border-top: 1px solid rgba(22,63,44,.12); border-bottom: 1px solid rgba(22,63,44,.12); }
.pficha__datos div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.pficha__datos dt { font-weight: 700; color: var(--verde); font-size: 14.5px; }
.pficha__datos dd { margin: 0; color: var(--texto-suave); font-size: 15.5px; }
.pficha .ficha__receta h4 { margin-bottom: 6px; }

.potros { padding: clamp(10px, 2vw, 24px) 0 clamp(30px, 4vw, 54px); max-width: 1100px; margin: 0 auto; }
.potros h2 { font-size: clamp(26px, 3vw, 36px); color: var(--verde); font-weight: 400; margin-bottom: 18px; }
.potros__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
.potro { background: var(--card); border-radius: 20px; padding: 16px 14px 18px; text-align: center; display: grid; justify-items: center; gap: 4px; transition: transform .2s; }
.potro:hover { transform: translateY(-3px); }
.potro img { height: 170px; width: auto; mix-blend-mode: multiply; margin-bottom: 6px; }
.potro__nombre { font-family: var(--fuente-tit); font-size: 19px; color: var(--verde); font-weight: 500; line-height: 1.2; }
.potro__precio { font-size: 13.5px; color: var(--texto-suave); font-weight: 700; }

.pcat__cab { text-align: center; max-width: 680px; margin: 0 auto clamp(22px, 3vw, 36px); }
.pcat__cab h1 { font-size: clamp(38px, 5.6vw, 70px); color: var(--verde); font-weight: 400; }
.pcat__cab p { color: var(--texto-suave); font-size: 18px; margin-top: 14px; }
.pcat { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.4vw, 28px); max-width: 1180px; margin: 0 auto; padding-bottom: clamp(34px, 4.4vw, 58px); }
.pcat__item { background: var(--card); border-radius: 24px; padding: 20px 18px 22px; display: grid; justify-items: center; text-align: center; gap: 6px; align-content: start; transition: transform .2s; }
.pcat__item:hover { transform: translateY(-4px); }
.pcat__img img { height: 210px; width: auto; mix-blend-mode: multiply; margin-bottom: 8px; }
.pcat__item h2 { font-size: 23px; color: var(--verde); font-weight: 500; line-height: 1.15; }
.pcat__autoria { font-size: 13.5px; font-weight: 700; color: var(--terracota-txt); }
.pcat__item p { font-size: 14.5px; color: var(--texto-suave); }
.pcat__precios { font-size: 14px; color: var(--texto-suave); margin-top: 4px; display: grid; gap: 2px; }
.pcat__precios span { white-space: nowrap; }
.pcat__precios b { color: var(--verde); font-family: var(--fuente-tit); font-size: 16px; }

@media (max-width: 1060px) { .pcat { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .pficha { grid-template-columns: 1fr; }
  .pficha__img { position: static; max-width: 420px; width: 100%; margin: 0 auto; }
  .pficha__img img { width: min(100%, 230px); }
  .potro img { height: 140px; }
  .potros__fila { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pficha__datos div { grid-template-columns: 1fr; gap: 2px; }
  .pcat { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcat__img img { height: 150px; }
  .pcat__item h2 { font-size: 19px; }
  .pcat__item p { display: none; }
}

/* ============ ARTÍCULO: qué es el cocido paraguayo ============ */
.articulo { max-width: 720px; margin: 0 auto; padding-bottom: clamp(24px, 3vw, 40px); }
.articulo__cab { text-align: center; padding: clamp(6px, 1.4vw, 16px) 0 clamp(18px, 2.6vw, 30px); }
.articulo__cab h1 { font-size: clamp(38px, 5.6vw, 66px); color: var(--verde); font-weight: 400; margin: 10px 0 18px; }
.articulo__ilus { width: 96px; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 12px rgba(22,63,44,.14)); }
.articulo__def { font-size: clamp(18.5px, 1.9vw, 21px); line-height: 1.6; color: var(--texto); text-align: left; background: rgba(47,138,86,.08); border-radius: 18px; padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 30px); }
.articulo section, .articulo__nota { margin-top: clamp(30px, 4vw, 46px); }
.articulo h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--verde); font-weight: 400; margin-bottom: 12px; }
.articulo p, .articulo li { font-size: 17.5px; line-height: 1.75; color: var(--texto); }
.articulo p + p { margin-top: 12px; }
.articulo ul { padding-left: 1.2em; margin: 6px 0 12px; display: grid; gap: 6px; }
.articulo a:not(.boton) { color: var(--verde); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(22,63,44,.3); text-underline-offset: 3px; }
.articulo a:not(.boton):hover { color: var(--terracota-txt); text-decoration-color: currentColor; }
.articulo__con-ilus { position: relative; }
.articulo__ilus--lado { position: absolute; right: 0; top: -6px; width: 84px; }
.articulo__pasos { list-style: none; counter-reset: paso; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.articulo__pasos li { counter-increment: paso; position: relative; padding: 14px 18px 14px 62px; background: #fff; border: 1px solid rgba(22,63,44,.12); border-radius: 14px; }
.articulo__pasos li::before { content: counter(paso); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--verde); color: var(--crema); font-family: var(--fuente-tit); font-size: 17px; display: grid; place-items: center; }
.articulo__tabla { overflow-x: auto; margin-top: 10px; border-radius: 14px; border: 1px solid rgba(22,63,44,.14); background: #fff; }
.articulo__tabla table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.articulo__tabla th, .articulo__tabla td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(22,63,44,.1); vertical-align: top; }
.articulo__tabla thead th { font-family: var(--fuente-tit); font-size: 18px; font-weight: 500; color: var(--verde); background: rgba(47,138,86,.07); }
.articulo__tabla tbody th { font-weight: 700; color: var(--verde); white-space: nowrap; }
.articulo__tabla tbody td:nth-child(2) { background: rgba(226,165,58,.08); }
.articulo__tabla tr:last-child th, .articulo__tabla tr:last-child td { border-bottom: 0; }
.articulo__nota { background: var(--crema); border-radius: 18px; padding: clamp(18px, 2.6vw, 26px) clamp(20px, 3vw, 30px); }
.articulo__nota h2 { font-size: clamp(22px, 2.6vw, 28px); }
.articulo__faq details { border-bottom: 1px solid rgba(22,63,44,.14); padding: 14px 0; }
.articulo__faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--verde); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.articulo__faq summary::-webkit-details-marker { display: none; }
.articulo__faq summary::after { content: "+"; font-family: var(--fuente-tit); font-size: 24px; line-height: 1; color: var(--terracota-txt); transition: transform .2s; }
.articulo__faq details[open] summary::after { transform: rotate(45deg); }
.articulo__faq details p { margin-top: 8px; color: var(--texto-suave); }
.articulo__sabores h2 { text-align: center; }
.potros__fila--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 820px) { .potros__fila--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .articulo__ilus--lado { display: none; }
  .potros__fila--5 { grid-template-columns: 1fr 1fr; }
  .articulo p, .articulo li { font-size: 16.5px; }
}
.pcat__link { margin-top: 14px; }

/* ============ BLOG ============ */
.articulo__meta { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--terracota-txt); margin: -6px 0 22px; }
.articulo__cab .articulo__ilus { width: auto; height: 96px; }
.articulo__fuentes li { font-size: 15px; }
.articulo__fuentes a { font-weight: 600 !important; }
.blog-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(16px, 2.4vw, 28px); max-width: 1100px; margin: 0 auto; padding-bottom: clamp(34px, 4.4vw, 58px); }
.nota-card { background: #fff; border: 1px solid rgba(22,63,44,.12); border-radius: 22px; padding: 24px 24px 22px; display: grid; gap: 8px; align-content: start; transition: transform .2s, box-shadow .2s; }
.nota-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(22,63,44,.4); }
.nota-card img { height: 70px; width: auto; margin-bottom: 6px; filter: drop-shadow(0 8px 10px rgba(22,63,44,.12)); }
.nota-card__meta { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--terracota-txt); }
.nota-card h2 { font-size: clamp(22px, 2.2vw, 26px); color: var(--verde); font-weight: 500; line-height: 1.18; }
.nota-card p { font-size: 15.5px; color: var(--texto-suave); }
.nota-card .enlace { justify-self: start; margin-top: 4px; }
/* Fotos del blog (subidas desde el ERP) */
.articulo__portada { margin: 0 0 clamp(22px, 3vw, 34px); }
.articulo__portada img, .articulo__foto img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 22px 40px -24px rgba(22,63,44,.45); background: var(--crema); }
.articulo__foto { margin: clamp(20px, 3vw, 30px) 0; }
.articulo__foto figcaption { margin-top: 10px; font-size: 14.5px; color: var(--texto-suave); text-align: center; font-style: italic; }
.nota-card--foto { padding-top: 0; overflow: hidden; }
.nota-card .nota-card__foto { width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 -24px 8px; filter: none; }
