/* Hielo (muestra): cintas, paletería, burbujas, frutas que flotan y luces de la página Nosotros. */
/* ---------- cintas que corren, como etiqueta de refresco (cruzan entre la portada y la historia) ---------- */
.cintas { position: relative; z-index: 5; height: 0; pointer-events: none; }
.cinta {
  position: absolute;
  left: -5%;
  width: 110%;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  font: 800 clamp(0.95rem, 1.5vw, 1.3rem)/1 var(--font-ui);
  font-stretch: 125%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* taste-skill-ignore: cinta de papel sobre la foto */
}
.cinta--rosa { top: -58px; rotate: -2.4deg; background: #fbcfe8; color: #3d0a18; }
.cinta--oscura { top: -14px; rotate: 1.6deg; background: #0e0b0c; color: #ffffff; }
.cinta__pista { display: inline-flex; align-items: center; gap: 1.5rem; will-change: transform; }
.cinta__pista b { font-size: 0.85em; color: #b0203a; }
.cinta--oscura .cinta__pista b { color: #fbcfe8; }

/* ---------- los cinco sabores: la paletería que se recorre de lado ---------- */
.pagina-info main .sabores { padding: 0; background: #120d0f; overflow: hidden; isolation: isolate; }
.luces { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.luces i { position: absolute; width: 44vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: 0.32; animation: deriva 18s ease-in-out infinite alternate; }
.luces i:nth-child(1) { left: -12%; top: -25%; background: #b0203a; }
.luces i:nth-child(2) { left: 18%; top: 45%; background: #1e3a8a; animation-delay: -4s; }
.luces i:nth-child(3) { left: 45%; top: -20%; background: #e47d4e; animation-delay: -8s; }
.luces i:nth-child(4) { left: 68%; top: 40%; background: #6b21a8; animation-delay: -12s; }
.luces i:nth-child(5) { left: 88%; top: -10%; background: #7db536; animation-delay: -16s; }
@keyframes deriva { from { transform: translate(0, 0) scale(1); } to { transform: translate(7vw, 5vh) scale(1.18); } }
.paleteria { position: relative; z-index: 2; padding: clamp(5rem, 9vw, 8rem) 0; }
.paleteria__pista {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: 1rem 6% 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6%; /* al ajustarse, la cabeza respeta la orilla en vez de quedar pegada */
  scrollbar-width: none;
}
.paleteria__pista::-webkit-scrollbar { display: none; }
/* Con GSAP en compu la sección se fija y la pista corre de lado con el scroll. */
.paleteria--fija { height: 100svh; display: flex; align-items: center; padding: 0; }
.paleteria--fija .paleteria__pista { overflow: visible; scroll-snap-type: none; will-change: transform; }
.paleteria__cabeza { flex: 0 0 min(30rem, 34vw); padding-right: 1.5rem; scroll-snap-align: start; }
.paleteria__cabeza p { max-width: 24rem; margin-top: 1.4rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.paleteria__pista-aviso { display: inline-block; margin-top: 2rem; font: 800 0.82rem var(--font-ui); font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; color: #fbcfe8; }
.paleta {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(280px, 24vw, 370px);
  border-radius: 28px;
  overflow: hidden;
  background: #f1e6d4;
  color: #1a0b10;
  scroll-snap-align: center;
  transform-origin: 50% 100%;
}
.paleta > img { position: relative; z-index: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; scale: 1.12; }
.paleta__info { position: relative; z-index: 1; padding: 1rem 1.3rem 0; background: #f1e6d4; }
.paleta__sabor { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 100px; background: var(--sabor); color: #ffffff; font: 800 0.72rem var(--font-ui); font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; }
.paleta h3 { margin-top: 0.5rem; font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.8rem, 2.3vw, 2.3rem); line-height: 1.05; }
.paleta__info p { margin-top: 0.3rem; font-size: 0.95rem; line-height: 1.5; color: #4a3a33; }
.paleta__info .paleta__precio { margin-top: 0.4rem; font: 800 1rem var(--font-ui); color: #1a0b10; }
.paleta__botones { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: auto; padding: 1rem 1.3rem 1.3rem; background: #f1e6d4; }
.paleta__botones .ui-btn { min-height: 44px; font-size: 0.88rem; }
.paleta__botones .primary-btn { background: #1a0b10; padding-left: 1.1rem; gap: 0.9rem; }
.paleta__botones .primary-btn:hover { background: #3a1622; }
.paleta__botones .plus-icon { width: 34px; height: 34px; background: var(--sabor); color: #ffffff; }
.paleta:focus-within { outline: 3px solid #fbcfe8; outline-offset: 4px; }
.paleta :focus-visible { outline-color: var(--sabor); }

/* ---------- burbujas, frutas que flotan y luz que se mueve ---------- */
.burbujas--oscuras i { border-color: rgba(26, 11, 16, 0.3); background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0 10%, rgba(26, 11, 16, 0.06) 12% 62%, transparent 64%); }
.flota { position: absolute; z-index: 1; width: 120px; height: auto; pointer-events: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22)); }
.flota--a { top: 7%; right: 5%; width: 130px; }
.flota--b { bottom: 8%; left: 44%; width: 96px; }
.flota--c { top: 9%; right: 6%; width: 104px; }
.flota--d { top: 16%; left: 8%; width: 130px; }
.flota--e { bottom: 14%; right: 9%; width: 110px; }
.portada::before, .lata::before {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: deriva 14s ease-in-out infinite alternate;
}
.portada::before { width: 60vmax; aspect-ratio: 1; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(251, 207, 232, 0.2), transparent 62%); }
.lata::before { width: 55vmax; aspect-ratio: 1; left: 18%; top: -18vmax; background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 60%); }
.lata__texto, .lata__foto { position: relative; z-index: 1; }


@media (max-width: 900px) {
  .paleteria__cabeza { flex-basis: 82vw; }
  .paleta { flex-basis: 78vw; }
  /* En el celular las frutas van en las orillas, donde no tapan texto ni botones. */
  .flota { width: 64px; }
  .flota--a { top: auto; bottom: 24%; right: 3%; width: 72px; }
  .flota--c { top: 1.2rem; right: 5%; }
  .flota--d { top: 0.5rem; left: 4%; width: 54px; }
  .flota--e { top: auto; bottom: 1rem; right: 5%; }
  .cinta { padding: 0.65rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .luces i, .portada::before, .lata::before { animation: none; }
}
