/* =========================================================
   Tienda Naturista — estilos
   Colores tomados del logo y las piezas de Instagram:
   lima de la marca + azul petróleo de la canasta.
   ========================================================= */

:root {
  --lima: #D4EC5E;
  --lima-fuerte: #BFDB34;
  --lima-suave: #EEF7C4;
  --petroleo: #1E3A4C;
  --petroleo-2: #2A4D63;
  --tinta: #13232E;
  --papel: #F7F9EF;
  --blanco: #FFFFFF;
  --gris: #5B6B74;
  --linea: #DCE3D2;
  --pizarra: #27342F;
  --tiza: #F1F3EA;
  --oferta: #E0573C;
  --wsp: #25D366;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-texto: "Figtree", system-ui, sans-serif;
  --f-tiza: "Caveat Brush", "Comic Sans MS", cursive;

  --radio: 18px;
  --sombra: 0 1px 2px rgba(19, 35, 46, .06), 0 8px 24px -12px rgba(19, 35, 46, .18);
  --ancho: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; }
:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 20px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--petroleo); color: var(--lima); padding: 10px 14px; border-radius: 8px; }
.saltar:focus { left: 8px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, .titulo {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}
.titulo { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--petroleo); }
.titulo--claro { color: var(--blanco); }
.etiqueta {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petroleo);
}
.etiqueta::before {
  content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor;
  vertical-align: middle; margin-right: 10px; transform: translateY(-1px);
}
.etiqueta--lima { color: var(--lima); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: .95rem;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--oscuro { background: var(--petroleo); color: var(--lima); }
.btn--oscuro:hover { background: var(--tinta); }
.btn--lima { background: var(--lima); color: var(--petroleo); }
.btn--linea { border-color: currentColor; color: var(--petroleo); background: transparent; }
.btn--linea:hover { background: var(--petroleo); color: var(--lima); border-color: var(--petroleo); }
.btn--wsp { background: var(--wsp); color: #0B3B1E; }
.btn--ancho { width: 100%; }

/* ---------- Franja superior ---------- */
.franja { background: var(--petroleo); color: var(--lima-suave); font-size: .82rem; }
.franja__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.franja a { text-decoration: none; color: var(--lima); font-weight: 600; }
.estado { display: inline-flex; align-items: center; gap: 8px; }
.estado i { width: 8px; height: 8px; border-radius: 50%; background: #9AA7AE; }
.estado.abierto i { background: var(--lima); box-shadow: 0 0 0 4px rgba(212, 236, 94, .2); }
.estado b { color: var(--lima); font-weight: 600; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 40; background: var(--lima); }
.cabecera__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petroleo); --logo-hueco: var(--lima); flex-shrink: 0; }
.logo__canasta { width: 52px; height: 40px; }
.logo__texto { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-display); text-transform: uppercase; }
.logo__tienda {
  display: flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 800; font-stretch: 110%; letter-spacing: .08em;
}
.logo__tienda::before, .logo__tienda::after { content: ""; height: 2px; flex: 1; background: currentColor; }
.logo__naturista {
  font-size: 1.45rem; font-weight: 900; font-stretch: 100%; letter-spacing: -.01em;
  padding-bottom: 4px; border-bottom: 2.5px solid currentColor;
}

.buscador { flex: 1; display: flex; max-width: 560px; margin-inline: auto; background: var(--blanco); border-radius: 999px; overflow: hidden; border: 2px solid var(--petroleo); }
.buscador input { flex: 1; border: 0; padding: 0 20px; height: 46px; font: inherit; background: transparent; color: var(--tinta); min-width: 0; }
.buscador input:focus { outline: none; }
.buscador:focus-within { box-shadow: 0 0 0 4px rgba(30, 58, 76, .2); }
.buscador button { border: 0; background: var(--petroleo); color: var(--lima); width: 54px; display: grid; place-items: center; }
.buscador button svg { width: 20px; height: 20px; }

.btn-carrito {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: var(--petroleo); color: var(--lima); border: 0; border-radius: 999px;
  height: 48px; padding: 0 20px 0 16px; font-weight: 700;
}
.btn-carrito svg { width: 24px; height: 24px; }
.btn-carrito__n {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--lima); color: var(--petroleo); font-size: .8rem; display: grid; place-items: center;
}
.btn-carrito.salto { animation: salto .45s ease; }
@keyframes salto { 40% { transform: scale(1.12); } }

.menu { background: var(--petroleo-2); }
.menu__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.menu__in::-webkit-scrollbar { display: none; }
.menu__in button {
  flex-shrink: 0; background: none; border: 0; color: var(--blanco);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 14px; border-bottom: 3px solid transparent;
}
.menu__in button:hover { color: var(--lima); }
.menu__in button[aria-pressed="true"] { color: var(--lima); border-bottom-color: var(--lima); }

/* ---------- Slider ---------- */
.slider { position: relative; overflow: hidden; }
.slider__pista { display: flex; transition: transform .7s cubic-bezier(.65, 0, .25, 1); touch-action: pan-y; }
.slide { flex: 0 0 100%; min-height: 500px; display: flex; align-items: center; }
.slide--lima { background: var(--lima-suave); }
.slide--petroleo { background: var(--petroleo); color: var(--blanco); }
.slide--azul { background: #3BA7EC; }
.slide__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 56px; }
.slide h1, .slide h2 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); color: var(--petroleo); max-width: 13ch; }
.slide--petroleo h2 { color: var(--lima); }
.slide__bajada { font-size: 1.12rem; max-width: 42ch; margin: 22px 0 30px; }
.slide--petroleo .slide__bajada { color: #D6E1E7; }
.slide__acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.slide__fotos { position: relative; height: 420px; }
.foto { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 48px -20px rgba(19, 35, 46, .5); }
.foto--a { width: 58%; height: 100%; right: 0; top: 0; }
.foto--b { width: 46%; height: 72%; left: 0; bottom: -14px; border: 6px solid var(--lima); transform: rotate(-3deg); }
.slide--petroleo .foto--b { border-color: var(--lima); }
.slide__fotos--una .foto--a { width: 78%; right: 6%; transform: rotate(2deg); border: 6px solid var(--blanco); }

/* Envases ilustrados en el slider */
.slide__envases { position: relative; height: 420px; }
/* cada envase es un link a su ficha: se mece solo, sigue al mouse (--px/--py, según su
   profundidad --z) y al pasar por arriba se levanta y muestra nombre y precio */
.envase-link {
  position: absolute; display: block; text-decoration: none;
  filter: drop-shadow(0 18px 22px rgba(19, 35, 46, .18));
  translate: calc(var(--px, 0) * var(--z, 12) * 1px) calc(var(--py, 0) * var(--z, 12) * 1px + var(--sube, 0px));
  scale: var(--zoom, 1);
  transition: translate .35s ease-out, scale .4s cubic-bezier(.2, .9, .3, 1.3), filter .3s ease;
}
.envase-link svg { display: block; width: 100%; height: 100%; animation: mecer 5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.4s); }
@keyframes mecer { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
.envase-link__ver {
  position: absolute; left: 50%; top: -4px; z-index: 2; pointer-events: none;
  background: var(--petroleo); color: var(--lima); border-radius: 999px; padding: 7px 14px;
  font-weight: 700; font-size: .82rem; white-space: nowrap;
  opacity: 0; translate: -50% 10px; transition: opacity .25s ease, translate .3s ease;
}
.slide__envases .envase-link__ver { width: max-content; max-width: 210px; white-space: normal; text-align: center; line-height: 1.25; border-radius: 16px; }
.slide--petroleo .envase-link__ver { background: var(--lima); color: var(--petroleo); }
.envase-link__corto { display: none; }
.slide__envases .envase-link:focus-visible { --sube: -16px; --zoom: 1.08; z-index: 6; }
.envase-link:focus-visible .envase-link__ver { opacity: 1; translate: -50% 0; }

/* Con mouse: al pasar por arriba se levanta y muestra nombre y precio */
@media (hover: hover) {
  .slide__envases .envase-link:hover {
    --sube: -16px; --zoom: 1.08; z-index: 6;
    filter: drop-shadow(0 30px 26px rgba(19, 35, 46, .3));
  }
  .envase-link:hover .envase-link__ver { opacity: 1; translate: -50% 0; }
  /* los envases pegados al borde derecho muestran el cartel hacia adentro */
  .slide__envases > :nth-child(2) .envase-link__ver,
  .slide__envases > :nth-child(3) .envase-link__ver { left: auto; right: 0; translate: 0 10px; }
  .slide__envases > :nth-child(2):is(:hover, :focus-visible) .envase-link__ver,
  .slide__envases > :nth-child(3):is(:hover, :focus-visible) .envase-link__ver { translate: 0 0; }
}

/* Con el dedo: el precio queda siempre a la vista (avisa que se puede tocar)
   y el envase se "aprieta" al tocarlo */
@media (hover: none) {
  .slide__envases .envase-link__ver {
    opacity: 1; translate: -50% 0; top: auto; bottom: 4%;
    padding: 4px 10px; font-size: .78rem; border-radius: 999px; white-space: nowrap;
    box-shadow: 0 4px 10px -4px rgba(19, 35, 46, .4);
  }
  /* los de granola y almendras van arriba: abajo los tapa la chía */
  .slide__envases:not(.slide__envases--bandejas) > :nth-child(1) .envase-link__ver { top: 12%; bottom: auto; left: 40%; }
  .slide__envases:not(.slide__envases--bandejas) > :nth-child(2) .envase-link__ver { top: 34%; bottom: auto; left: 72%; }
  .envase-link__nombre { display: none; }
  .envase-link__corto { display: inline; }
  .envase-link { transition: translate .35s ease-out, scale .15s ease, filter .3s ease; }
  .envase-link:active { --zoom: .92; }
}
.slide__envases > :nth-child(1) { width: 44%; height: 88%; left: 4%; top: 6%; transform: rotate(-6deg); --z: 10; }
.slide__envases > :nth-child(2) { width: 40%; height: 80%; left: 36%; top: 0; transform: rotate(4deg); z-index: 2; --z: 18; }
.slide__envases > :nth-child(3) { width: 30%; height: 62%; right: 2%; bottom: 2%; transform: rotate(8deg); z-index: 3; --z: 26; }
.slide__envases > :nth-child(4) { width: 30%; height: 60%; left: 22%; bottom: -4%; transform: rotate(-3deg); z-index: 4; --z: 34; }
.slide__envases::before {
  content: ""; position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: var(--lima); opacity: .7;
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -10px); transition: translate .4s ease-out;
}
.slide__envases--bandejas::before { background: var(--petroleo-2); opacity: 1; }
.slide__envases--bandejas > :nth-child(1) { width: 62%; height: 78%; left: 2%; top: 4%; transform: rotate(-5deg); }
.slide__envases--bandejas > :nth-child(2) { width: 58%; height: 72%; left: auto; right: 0; top: auto; bottom: 0; transform: rotate(5deg); }

/* foto de frutos rojos: también abre la ficha */
.foto-link .foto { transition: scale .45s cubic-bezier(.2, .9, .3, 1.2), rotate .45s ease, box-shadow .3s ease; }
.foto-link .envase-link__ver { top: auto; bottom: 22px; left: 55%; }
.foto-link:focus-visible .foto { scale: 1.04; rotate: -2deg; }
.foto-link:focus-visible .envase-link__ver { opacity: 1; translate: -50% 0; }
@media (hover: hover) {
  .foto-link:hover .foto { scale: 1.04; rotate: -2deg; box-shadow: 0 34px 60px -22px rgba(19, 35, 46, .6); }
  .foto-link:hover .envase-link__ver { opacity: 1; translate: -50% 0; }
}
@media (hover: none) {
  .foto-link .envase-link__ver { opacity: 1; translate: -50% 0; }
  .foto-link .foto { transition: scale .15s ease; }
  .foto-link:active .foto { scale: .96; }
}

.slider__flecha {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .85); color: var(--petroleo); font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--sombra);
}
.slider__flecha--izq { left: 16px; }
.slider__flecha--der { right: 16px; }
.slider__puntos { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider__puntos button { width: 10px; height: 10px; border-radius: 999px; border: 2px solid var(--petroleo); background: transparent; padding: 0; transition: width .3s; }
.slider__puntos button[aria-current="true"] { background: var(--petroleo); width: 28px; }
.slider.oscuro .slider__puntos button { border-color: var(--lima); }
.slider.oscuro .slider__puntos button[aria-current="true"] { background: var(--lima); }

/* ---------- Burbujas de categorías (como destacadas de IG) ---------- */
.burbujas { margin-top: 36px; }
.burbujas__fila { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; justify-content: space-between; }
.burbuja { flex-shrink: 0; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; color: var(--tinta); font-size: .85rem; font-weight: 600; text-align: center; line-height: 1.2; }
.burbuja__aro { width: 88px; height: 88px; border-radius: 50%; padding: 4px; background: var(--linea); transition: background .2s; }
.burbuja__circulo { width: 100%; height: 100%; border-radius: 50%; background: var(--lima); color: var(--petroleo); display: grid; place-items: center; border: 3px solid var(--papel); }
.burbuja__circulo svg { width: 38px; height: 38px; }
.burbuja:hover .burbuja__aro, .burbuja[aria-pressed="true"] .burbuja__aro { background: var(--petroleo); }

/* ---------- Secciones ---------- */
.seccion { padding-block: 64px; }
.seccion__cabeza { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.seccion__nota { margin: 0; background: var(--lima); color: var(--petroleo); padding: 8px 16px; border-radius: 999px; font-size: .9rem; }

/* ---------- Grilla de productos ---------- */
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tarjeta {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--linea);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--sube, 0px));
  transition: transform .25s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.tarjeta:has(.tarjeta__enlace:focus-visible) { outline: 3px solid var(--petroleo); outline-offset: 3px; }
.tarjeta__envase { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--fondo, var(--lima-suave)); position: relative; overflow: hidden; }
/* círculo lima que crece detrás del envase */
.tarjeta__envase::before {
  content: ""; position: absolute; left: 13%; top: 50%; width: 74%; aspect-ratio: 1;
  border-radius: 50%; background: var(--lima); translate: 0 -50%; scale: 0;
  transition: scale .5s cubic-bezier(.2, .9, .3, 1.25);
}
.tarjeta__envase svg {
  position: relative; width: 74%; height: 86%;
  translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 12px);
  transition: scale .45s cubic-bezier(.2, .9, .3, 1.25), rotate .45s cubic-bezier(.2, .9, .3, 1.25), translate .2s ease-out;
}
.tarjeta__envase img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta__ver {
  position: absolute; left: 50%; bottom: 14px; z-index: 1; pointer-events: none;
  background: var(--petroleo); color: var(--lima); border-radius: 999px; padding: 7px 14px;
  font-weight: 700; font-size: .8rem; white-space: nowrap;
  opacity: 0; translate: -50% 12px; transition: opacity .25s ease, translate .3s ease;
}
.tarjeta__enlace { color: inherit; text-decoration: none; }
.tarjeta__enlace:focus-visible { outline: none; }
.tarjeta__enlace::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) {
  .tarjeta:hover {
    --sube: -8px; border-color: var(--petroleo);
    box-shadow: 0 2px 4px rgba(19, 35, 46, .06), 0 24px 40px -20px rgba(19, 35, 46, .4);
  }
  .tarjeta:hover .tarjeta__envase::before { scale: 1; }
  .tarjeta:hover .tarjeta__envase svg { scale: 1.1; rotate: -5deg; }
  .tarjeta:hover .tarjeta__ver { opacity: 1; translate: -50% 0; }
}
/* entrada escalonada al aparecer en pantalla */
.tarjeta.entra { opacity: 0; translate: 0 28px; }
.tarjeta.entra.visto {
  opacity: 1; translate: 0 0;
  transition: opacity .5s ease calc(var(--i, 0) * 80ms), translate .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 80ms),
    transform .25s ease-out, scale .15s ease, box-shadow .3s ease, border-color .3s ease;
}
.chapa {
  position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none;
  font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: .72rem; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.chapa--off { background: var(--oferta); color: var(--blanco); }
.chapa--nuevo { background: var(--petroleo); color: var(--lima); }
.chapa + .chapa { top: 44px; }
.tarjeta__info { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tarjeta__peso { font-size: .78rem; color: var(--gris); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tarjeta__nombre { font-family: var(--f-texto); font-weight: 600; font-size: 1rem; line-height: 1.3; margin: 0 0 6px; }
.tarjeta__precios { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.precio { font-family: var(--f-display); font-stretch: 105%; font-weight: 800; font-size: 1.35rem; color: var(--petroleo); }
.precio-antes { color: var(--gris); text-decoration: line-through; font-size: .9rem; }
.precio-efectivo { font-size: .82rem; color: var(--gris); margin: 0 0 12px; }
.precio-efectivo b { color: #3F7A1C; }
.btn-agregar {
  position: relative; z-index: 2;
  height: 44px; border-radius: 999px; border: 2px solid var(--petroleo);
  background: var(--petroleo); color: var(--lima); font-weight: 700;
  transition: background .15s, color .15s;
}
.btn-agregar:hover { background: var(--lima); color: var(--petroleo); }
.btn-agregar.listo { background: var(--lima); color: var(--petroleo); }
.vacio { text-align: center; padding: 40px 20px; color: var(--gris); font-size: 1.05rem; }
.mas { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Beneficios ---------- */
.beneficios { background: var(--lima); }
.beneficios__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.beneficio { padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid rgba(30, 58, 76, .18); color: var(--petroleo); }
.beneficio:first-child { border-left: 0; padding-left: 0; }
.beneficio strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.05rem; }
.beneficio span { font-size: .9rem; }

/* ---------- Pizarrón ---------- */
.viandas { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pizarron {
  background: #8A5A34;
  background-image: linear-gradient(135deg, #9B6A40, #6F4527);
  padding: 16px; border-radius: 10px; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .55);
  transform: rotate(-1.2deg);
}
.pizarron__marco {
  background: var(--pizarra);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .07), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 255, 255, .05), transparent 50%);
  border-radius: 4px; padding: 34px 36px 26px; color: var(--tiza);
  font-family: var(--f-tiza);
}
.pizarron__dia { margin: 0; color: var(--lima); font-size: 1.4rem; }
.pizarron__titulo { font-family: var(--f-tiza); font-weight: 400; font-stretch: 100%; font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: 0; margin-bottom: 18px; text-decoration: underline wavy rgba(212, 236, 94, .7) 2px; text-underline-offset: 10px; }
.pizarron__lista { list-style: none; margin: 0; padding: 0; }
.pizarron__lista li { display: flex; align-items: baseline; gap: 10px; font-size: 1.45rem; padding: 6px 0; line-height: 1.2; }
.pizarron__lista .punteado { flex: 1; border-bottom: 2px dotted rgba(241, 243, 234, .35); transform: translateY(-6px); min-width: 20px; }
.pizarron__lista small { display: block; font-size: 1rem; color: var(--lima); opacity: .9; }
.pizarron__lista .p { color: var(--lima); white-space: nowrap; }
.pizarron__pie { margin: 18px 0 0; font-size: 1.05rem; opacity: .7; }
.viandas__texto p { font-size: 1.08rem; max-width: 46ch; margin: 18px 0 26px; }

/* ---------- Promos ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 64px; }
.promo { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 24px; overflow: hidden; text-decoration: none; min-height: 260px; color: var(--blanco); }
.promo--bordo { background: #7A1E26; }
.promo--celeste { background: #3BA7EC; }
.promo img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s ease; }
.promo:hover img { transform: scale(1.05); }
.promo__envases { position: relative; height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.promo__envases svg { width: 56%; height: 82%; filter: drop-shadow(0 14px 18px rgba(19, 35, 46, .25)); transition: transform .4s ease; }
.promo__envases svg:first-child { transform: rotate(-6deg); margin-right: -14%; z-index: 1; }
.promo__envases svg:last-child { transform: rotate(6deg) translateY(10%); }
.promo:hover .promo__envases svg:first-child { transform: rotate(-9deg) translateY(-4px); }
.promo__txt { padding: 26px; font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.promo__txt small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; color: var(--lima); }
.promo__txt em { display: block; font-style: normal; font-weight: 600; font-size: .92rem; margin-top: 14px; font-family: var(--f-texto); }

/* ---------- Nosotros ---------- */
.nosotros { background: var(--petroleo); color: #D6E1E7; padding-block: 80px; }
.nosotros__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.nosotros__fotos { position: relative; height: 540px; max-width: 420px; justify-self: center; width: 100%; }
.nosotros__fotos::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; background: var(--lima); }
.nosotros__fotos img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.nosotros__texto p { font-size: 1.06rem; max-width: 52ch; }
.nosotros__texto .titulo { margin-bottom: 18px; max-width: 16ch; }
.nosotros__datos { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nosotros__datos li { border-top: 2px solid var(--lima); padding-top: 12px; display: flex; flex-direction: column; }
.nosotros__datos b { font-family: var(--f-display); font-stretch: 112%; font-size: 1.4rem; color: var(--lima); }
.nosotros__datos span { font-size: .88rem; }

/* ---------- Opiniones ---------- */
.nota-google { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--blanco); border: 1px solid var(--linea); padding: 8px 18px; border-radius: 999px; }
.nota-google__num { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--petroleo); }
.nota-google__txt { font-size: .88rem; color: var(--gris); }
.estrellas { display: inline-flex; color: #F2B01E; gap: 1px; }
.estrellas svg { width: 16px; height: 16px; }
.opiniones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opinion { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.opinion blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.opinion footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.opinion__inicial { width: 40px; height: 40px; border-radius: 50%; background: var(--lima); color: var(--petroleo); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; }
.opinion__quien { display: flex; flex-direction: column; line-height: 1.2; font-size: .9rem; }
.opinion__quien b { font-weight: 700; }
.opinion__quien span { color: var(--gris); font-size: .8rem; }

/* ---------- Instagram ---------- */
.insta { padding-bottom: 64px; }
.insta__banda {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--petroleo); color: #D6E1E7; border-radius: 24px; padding: 26px 30px;
  text-decoration: none;
}
.insta__icono { width: 60px; height: 60px; border-radius: 18px; background: var(--lima); color: var(--petroleo); display: grid; place-items: center; flex-shrink: 0; }
.insta__icono svg { width: 30px; height: 30px; }
.insta__texto { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.insta__texto b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.4rem; color: var(--blanco); }
.insta__banda:hover .btn { transform: translateY(-2px); }

/* ---------- Ubicación ---------- */
.local { background: var(--lima-suave); padding-block: 72px; }
.local__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
.local__datos { margin: 22px 0; display: grid; gap: 10px; }
.local__datos div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; }
.local__datos dt { font-weight: 700; color: var(--petroleo); font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.local__datos dd { margin: 0; }
.horarios { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: .95rem; }
.horarios td { padding: 7px 0; border-bottom: 1px solid rgba(30, 58, 76, .14); }
.horarios td:last-child { text-align: right; }
.horarios tr.hoy td { font-weight: 700; color: var(--petroleo); }
.local__acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.local__mapa { border-radius: 24px; overflow: hidden; min-height: 420px; border: 3px solid var(--petroleo); }
.local__mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #B9C6CD; padding-top: 56px; font-size: .94rem; }
.pie__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.pie h3 { color: var(--lima); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--lima); }
.pie button { background: none; border: 0; color: inherit; padding: 0; text-align: left; }
.pie button:hover { color: var(--lima); }
.logo--pie { color: var(--lima); --logo-hueco: var(--tinta); margin-bottom: 14px; }
.pie__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; margin: 0 auto; font-size: .82rem; }

/* ---------- WhatsApp flotante ---------- */
.wsp-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wsp); color: var(--blanco);
  display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wsp-flotante:hover { transform: scale(1.08); }
.wsp-flotante svg { width: 32px; height: 32px; }

/* ---------- Carrito ---------- */
.velo { position: fixed; inset: 0; background: rgba(19, 35, 46, .5); z-index: 60; }
.carrito {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(420px, 100%); background: var(--papel);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.65, 0, .25, 1);
  visibility: hidden;
}
.carrito.abierto { transform: none; visibility: visible; }
.carrito__cabeza { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; background: var(--lima); }
.carrito__cabeza h2 { font-size: 1.4rem; color: var(--petroleo); }
.carrito__cerrar { background: var(--petroleo); color: var(--lima); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; }
.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 8px 22px; }
.carrito__vacio { text-align: center; padding: 48px 10px; color: var(--gris); }
.carrito__vacio svg { width: 64px; height: 48px; color: var(--linea); margin: 0 auto 14px; --logo-hueco: var(--papel); }
.item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.item__img { width: 60px; height: 60px; border-radius: 12px; background: var(--lima-suave); display: grid; place-items: center; overflow: hidden; }
.item__img svg { width: 80%; height: 90%; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__nombre { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.item__precio { font-size: .85rem; color: var(--gris); }
.cantidad { display: inline-flex; align-items: center; border: 2px solid var(--petroleo); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.cantidad button { width: 30px; height: 28px; border: 0; background: none; color: var(--petroleo); font-weight: 700; }
.cantidad span { min-width: 24px; text-align: center; font-weight: 700; font-size: .9rem; }
.item__total { font-family: var(--f-display); font-weight: 800; color: var(--petroleo); }
.carrito__pie { padding: 18px 22px 22px; border-top: 2px solid var(--petroleo); background: var(--blanco); display: grid; gap: 12px; }
.totales { display: grid; gap: 4px; }
.totales div { display: flex; justify-content: space-between; }
.totales .grande { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--petroleo); }
.totales .verde { color: #3F7A1C; font-weight: 600; font-size: .92rem; }
.totales .chico { color: var(--gris); font-size: .85rem; }
.entrega { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.entrega legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; padding: 0; }
.entrega label { flex: 1; display: flex; align-items: center; gap: 8px; border: 2px solid var(--linea); border-radius: 12px; padding: 10px 12px; font-size: .88rem; cursor: pointer; }
.entrega label:has(input:checked) { border-color: var(--petroleo); background: var(--lima-suave); }
.entrega input { accent-color: var(--petroleo); }
.campo { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.campo input { height: 44px; border: 2px solid var(--linea); border-radius: 12px; padding: 0 12px; font: inherit; font-weight: 400; }
.campo input:focus { outline: none; border-color: var(--petroleo); }
.carrito__aviso { margin: 0; font-size: .78rem; color: var(--gris); text-align: center; }
.carrito__pie[hidden] { display: none; }

.aviso {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, calc(100% + 40px)); transition: transform .3s ease, visibility .3s;
  visibility: hidden;
  background: var(--petroleo); color: var(--lima); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; box-shadow: var(--sombra); max-width: calc(100% - 32px);
}
.aviso.visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Ficha de producto ---------- */
.ficha {
  padding: 0; border: 0; border-radius: 26px;
  width: min(980px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  background: var(--papel); color: var(--tinta); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(19, 35, 46, .55);
}
.ficha[open] { display: flex; flex-direction: column; animation: fichaEntra .4s cubic-bezier(.2, .9, .3, 1.1); }
.ficha::backdrop { background: rgba(19, 35, 46, .55); animation: velo .3s ease; }
@keyframes fichaEntra { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes velo { from { opacity: 0; } }
.ficha__caja { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.ficha__barra { position: absolute; top: 14px; right: 14px; z-index: 3; }
.ficha__asa { display: none; }
.ficha__pie[hidden] { display: none; }
.ficha__cerrar {
  display: block;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--petroleo); color: var(--lima); font-size: 1rem;
}
.ficha__grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.ficha__envase {
  position: relative; display: grid; place-items: center; min-height: 460px;
  background: var(--fondo, var(--lima-suave)); overflow: hidden;
}
.ficha__envase::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: var(--lima); animation: crecer .6s cubic-bezier(.2, .9, .3, 1.2) both;
}
.ficha__envase svg { position: relative; width: 66%; height: 82%; animation: flotar 4s ease-in-out infinite; }
@keyframes crecer { from { scale: 0; } }
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.ficha__info { padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 8px; }
.ficha__cat {
  align-self: flex-start; border: 0; border-radius: 999px; padding: 6px 12px;
  background: var(--lima); color: var(--petroleo);
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
}
.ficha__cat:hover { background: var(--petroleo); color: var(--lima); }
.ficha__nombre { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--petroleo); margin: 6px 48px 0 0; }
.ficha__desc { margin: 4px 0; color: var(--gris); }
.ficha .tarjeta__precios { margin-top: 10px; }
.ficha .precio { font-size: 2.1rem; }
.ficha .precio-efectivo { font-size: .92rem; margin-bottom: 8px; }
.ficha__comprar { display: flex; gap: 10px; }
.ficha__comprar .cantidad { margin: 0; flex: none; }
.ficha__comprar .cantidad button { width: 44px; height: 44px; font-size: 1.1rem; }
.ficha__comprar .cantidad span { min-width: 28px; font-size: 1rem; }
.ficha__comprar .btn-agregar { flex: 1; height: 48px; }
.ficha__estado { margin: 0; min-height: 1.4em; font-size: .88rem; color: #3F7A1C; font-weight: 600; }
.ficha__estado button { border: 0; background: none; padding: 0; color: var(--petroleo); font-weight: 700; text-decoration: underline; }
.ficha .btn--wsp { justify-content: center; }
.ficha__datos { list-style: none; margin: 10px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linea); display: grid; gap: 6px; font-size: .88rem; color: var(--gris); }
.ficha__datos li { display: flex; gap: 10px; align-items: baseline; }
.ficha__datos li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lima-fuerte); translate: 0 -1px; }
.ficha__mas { padding: 26px 36px 34px; border-top: 1px solid var(--linea); background: var(--blanco); }
.ficha__mas h3 { font-size: 1.25rem; color: var(--petroleo); margin: 0 0 16px; }
.ficha__relacionados { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { display: grid; align-content: start; gap: 4px; text-decoration: none; font-size: .88rem; line-height: 1.3; }
.mini__img {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px;
  background: var(--fondo, var(--lima-suave)); margin-bottom: 4px; transition: transform .25s ease;
}
.mini__img svg { width: 70%; height: 82%; transition: rotate .3s ease, scale .3s ease; }
@media (hover: hover) {
  .mini:hover .mini__img { transform: translateY(-4px); }
  .mini:hover .mini__img svg { rotate: -5deg; scale: 1.06; }
}
@media (hover: none) {
  .mini:active .mini__img { transform: scale(.95); transition-duration: .1s; }
  /* tarjetas: se "aprietan" al tocarlas */
  .tarjeta { transition: transform .25s ease-out, scale .15s ease, box-shadow .3s ease; }
  .tarjeta:has(.tarjeta__enlace:active) { scale: .97; }
  .btn-agregar:active { scale: .95; }
}
.mini b { font-family: var(--f-display); color: var(--petroleo); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .slide__in, .viandas, .nosotros__in, .local__in { grid-template-columns: 1fr; }
  .slide__fotos, .slide__envases { height: 340px; max-width: 520px; width: 100%; margin-inline: auto; }
  .beneficios__in { grid-template-columns: 1fr 1fr; }
  .beneficio:nth-child(3) { border-left: 0; padding-left: 0; }
  .opiniones { grid-template-columns: 1fr 1fr; }
  .promos { grid-template-columns: 1fr; }
  .pie__in { grid-template-columns: 1fr 1fr; }
  .nosotros__fotos { height: 460px; max-width: 380px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 170px; }
  .franja__medio { display: none; }
  .cabecera__in { flex-wrap: wrap; gap: 12px; padding-block: 12px; min-height: 0; }
  .buscador { order: 3; flex-basis: 100%; max-width: none; }
  .btn-carrito { margin-left: auto; padding: 0 14px; }
  .btn-carrito__txt { display: none; }
  .logo__canasta { width: 42px; height: 32px; }
  .logo__naturista { font-size: 1.2rem; }
  .slide { min-height: 0; }
  .slide__in { padding-block: 36px 60px; gap: 28px; }
  .slide__fotos, .slide__envases { height: 270px; }
  .slider__flecha { display: none; }
  .burbujas__fila { justify-content: flex-start; gap: 10px; }
  .burbuja { width: 84px; font-size: .78rem; }
  .burbuja__aro { width: 72px; height: 72px; }
  .burbuja__circulo svg { width: 30px; height: 30px; }
  .seccion { padding-block: 44px; }
  .grilla { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tarjeta__info { padding: 12px; }
  .precio { font-size: 1.15rem; }
  .tarjeta__nombre { font-size: .92rem; }
  .beneficios__in { grid-template-columns: 1fr; }
  .beneficio { border-left: 0; padding: 18px 0; border-top: 2px solid rgba(30, 58, 76, .18); }
  .beneficio:first-child { border-top: 0; }
  .pizarron__marco { padding: 24px 20px 20px; }
  .pizarron__lista li { font-size: 1.2rem; }
  .promo { grid-template-columns: 1fr; }
  .promo img { height: 200px; }
  .nosotros__fotos { height: 400px; max-width: 320px; }
  .nosotros__fotos::before { inset: 16px -12px -12px 16px; }
  .insta__banda { padding: 22px; }
  .promo__envases { min-height: 200px; padding-top: 20px; }
  .nosotros__datos { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .nosotros__datos b { font-size: 1.1rem; }
  .opiniones { grid-template-columns: 1fr; }
  .pie__in { grid-template-columns: 1fr; }
  .local__datos div { grid-template-columns: 1fr; gap: 0; }
  /* ficha como hoja que sube desde abajo: barra con asa arriba, botones de compra fijos abajo */
  .ficha { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .ficha[open] { animation-name: fichaSube; }
  @keyframes fichaSube { from { transform: translateY(100%); } }
  .ficha__barra {
    position: relative; top: auto; right: auto; flex: none;
    display: flex; justify-content: center; align-items: center; height: 52px;
    background: var(--papel); border-bottom: 1px solid var(--linea); touch-action: none;
  }
  .ficha__asa { display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--linea); }
  .ficha__barra .ficha__cerrar { position: absolute; right: 10px; top: 6px; width: 40px; height: 40px; }
  .ficha__envase { min-height: 0; height: 230px; }
  .ficha__envase::before { width: 210px; }
  .ficha__grid { grid-template-columns: 1fr; }
  .ficha__info { padding: 18px 20px 20px; }
  .ficha__nombre { margin-right: 0; }
  .ficha .precio { font-size: 1.8rem; }
  .ficha__pie {
    flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--blanco); border-top: 1px solid var(--linea);
    box-shadow: 0 -10px 24px -16px rgba(19, 35, 46, .35);
  }
  .ficha__pie .ficha__estado { min-height: 0; margin-top: 8px; text-align: center; }
  .ficha__pie .ficha__estado:empty { display: none; }
  .ficha__mas { padding: 20px 0 24px; }
  .ficha__mas h3 { padding-inline: 20px; font-size: 1.1rem; }
  /* productos parecidos: fila que se desliza de costado */
  .ficha__relacionados {
    display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .ficha__relacionados::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 132px; scroll-snap-align: start; font-size: .82rem; }

  /* tarjetas de la grilla más compactas: entran más productos por pantalla */
  .tarjeta__envase { aspect-ratio: 5 / 4; }
  .tarjeta__envase svg { height: 90%; }
  .tarjeta__peso { font-size: .7rem; }
  .precio-efectivo { font-size: .76rem; line-height: 1.35; margin-bottom: 10px; }
  .btn-agregar { height: 42px; font-size: .92rem; }
  .chapa { top: 8px; left: 8px; font-size: .64rem; padding: 4px 8px; }
  .chapa + .chapa { top: 34px; }

  /* puntos del carrusel: más fáciles de tocar */
  .slider__puntos { gap: 14px; }
  .slider__puntos button { position: relative; }
  .slider__puntos button::before { content: ""; position: absolute; inset: -14px -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
