/* Variante Boty: estructura de la referencia, identidad Daia. Solo actúa bajo body.boty. Tokens: tienda.css */
.boty { --crema: #FFF7FA; --radio: 28px; --flota-h: 72px; background: var(--blanco); }
.boty main { padding-top: calc(var(--flota-h) + 28px); }
.boty main:has(> .portada) { padding-top: 0; }
.boty .antetitulo { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fucsia); }

/* Cabecera flotante translúcida */
.flota { position: fixed; z-index: 10; top: 14px; left: 16px; right: 16px; }
.flota-c { width: min(1328px, 100%); margin-inline: auto; min-height: var(--flota-h); padding: 0 14px 0 28px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: rgb(255 255 255 / .78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgb(255 255 255 / .7); border-radius: 22px; box-shadow: 0 10px 30px -18px rgb(28 16 48 / .35); }
.flota-nav { display: flex; gap: 26px; }
.flota-nav a { color: var(--noche); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 8px 0; }
.flota-nav a:hover, .flota-nav a[aria-current] { color: var(--fucsia); }
.flota-nav .mas summary { color: var(--noche); font-size: .9375rem; font-weight: 500; padding: 8px 0; }
.flota-nav .mas > div { top: 46px; left: -16px; right: auto; width: 220px; border-radius: 18px; box-shadow: 0 18px 40px -20px rgb(28 16 48 / .35); }
.flota-nav .mas > div a { padding: 10px 0; }
.flota .logo { justify-self: center; }
.flota-acc { justify-self: end; display: flex; align-items: center; gap: 6px; }
.flota .busca { flex: none; max-width: none; margin: 0; }
.flota .busca #q { min-width: 0; flex: none; }
.flota .busca input { width: 44px; min-height: 44px; padding: 0 0 0 44px; border-radius: 22px; background: transparent; cursor: pointer; font-size: 1rem; transition: width .3s var(--mov), background-color .2s; }
.flota .busca input::placeholder { color: transparent; }
.flota .busca:focus-within input, .flota .busca input:not(:placeholder-shown) { width: 260px; padding-right: 16px; background: var(--suave); cursor: text; }
.flota .busca:focus-within input::placeholder { color: var(--gris); }
.flota .busca button { left: 0; right: auto; top: 0; pointer-events: none; }
.flota .sugerencias { top: 54px; left: auto; right: 0; width: 360px; }
.flota .bolsa-btn { min-width: 44px; min-height: 44px; border-radius: 22px; }
.flota .bolsa-btn:hover, .flota .busca input:hover { background: var(--suave); }
.flota .cuenta { top: -2px; right: -2px; }

/* Portada a sangre */
.portada { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: clip; }
.portada-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(255 255 255 / .96) 0%, rgb(255 255 255 / .88) 34%, rgb(255 255 255 / .2) 62%, transparent 78%); }
.portada::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: 1; background: linear-gradient(transparent, var(--blanco)); }
.portada-t { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 120px; padding-bottom: 80px; }
.portada-t h1 { max-width: 11ch; }
.portada-t .big { display: block; font-size: clamp(3.5rem, 7.4vw, 6.75rem) !important; letter-spacing: -.035em; line-height: .98; }
.portada-t .big span { font-weight: 600 !important; }
.portada-t .big .v { font-size: 1.4em !important; }
.portada-t .claim { max-width: 26ch; color: var(--noche); font-size: 1.375rem; }
.portada-t .btn { gap: 10px; margin-top: 8px; }
.baja { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--noche); text-decoration: none; }
.baja::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--noche), transparent); }

/* Franja de ventajas */
.ventajas ul { list-style: none; margin: 0; padding: 36px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-bottom: 1px solid var(--nube); }
.ventajas li { display: flex; gap: 14px; align-items: flex-start; }
.ventajas svg { flex: none; color: var(--fucsia); }
.ventajas h2 { font: 600 1.0625rem/1.3 var(--body); letter-spacing: 0; }
.ventajas p { color: var(--gris); font-size: .9375rem; }

/* Colección con pestañas en píldora */
.coleccion { background: var(--rosa-claro); margin-top: 72px; }
.coleccion .sec-b { padding-block: 88px; align-items: center; gap: 32px; }
.titulo-b { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.titulo-b h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.titulo-b p:last-child { color: var(--texto-rosa); }
.pestanas { display: inline-flex; padding: 6px; gap: 4px; background: var(--blanco); border-radius: 999px; box-shadow: 0 6px 20px -12px rgb(201 52 96 / .4); }
.pestanas input { position: absolute; opacity: 0; pointer-events: none; }
.pestanas label { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 500; font-size: 1rem; cursor: pointer; transition: background-color .2s, color .2s; }
.pestanas label:hover { color: var(--fucsia); }
.pestanas input:checked + label { background: var(--noche); color: var(--blanco); }
.pestanas input:focus-visible + label { outline: 3px solid var(--foco); outline-offset: 2px; }
.panel { display: none; width: 100%; flex-direction: column; align-items: center; gap: 36px; }
.coleccion:has(#t-nina:checked) .panel-nina, .coleccion:has(#t-nino:checked) .panel-nino,
.coleccion:has(#t-bebe:checked) .panel-bebe, .coleccion:has(#t-madre-e-hija:checked) .panel-madre-e-hija { display: flex; }
.panel .rejilla { width: 100%; }
.panel .sec-btn { align-self: center; }

/* Tarjetas redondeadas con ficha blanca */
.boty .tarjeta { background: var(--blanco); border-radius: var(--radio); padding: 10px 10px 18px; gap: 4px; box-shadow: 0 1px 0 rgb(28 16 48 / .04); transition: box-shadow .3s var(--mov), translate .3s var(--mov); }
.boty .tarjeta:hover { translate: 0 -4px; box-shadow: 0 22px 40px -24px rgb(28 16 48 / .35); }
.boty .marco { border-radius: calc(var(--radio) - 8px); }
.boty .tarjeta h2, .boty .tarjeta h3, .boty .tarjeta .precio, .boty .tarjeta .stock { padding-inline: 8px; }
.boty .etq { border-radius: 999px; }
.boty .listado .tarjeta, .boty .sec-b > .rejilla .tarjeta { background: var(--suave); }

/* Bloque destacado */
.destacado { display: grid; grid-template-columns: 5fr 6fr; border-radius: 36px; overflow: hidden; color: var(--noche); text-decoration: none;
  background: linear-gradient(90deg, #E6BEBE 0, #E6BEBE 28%, var(--rosa-fondo) 50%, #FFF3EC 100%); }
.destacado img { width: 100%; height: 100%; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; transition: scale .9s var(--mov);
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent); mask-image: linear-gradient(90deg, #000 62%, transparent); }
.destacado:hover img { scale: 1.03; }
.destacado figure { margin: 0; position: relative; overflow: hidden; }
.destacado:hover { color: var(--noche); }
.destacado-t { align-self: center; padding: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.destacado-t h2 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.destacado-t p:not(.antetitulo) { color: var(--texto-rosa); font-size: 1.25rem; }
.destacado-t .btn { margin-top: 8px; }

/* Cinta en movimiento */
.cinta { overflow: hidden; background: var(--noche); color: var(--blanco); margin-top: 72px; padding: 22px 0; }
.cinta-pista { display: flex; width: max-content; }
.cinta-g { display: flex; flex: none; }
.cinta-g span { font-family: var(--display); font-size: 1.75rem; font-weight: 500; letter-spacing: -.01em; padding-inline: 28px; white-space: nowrap; display: inline-flex; align-items: center; }
.cinta-g span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--chicle); margin-left: 56px; }
.cinta-g span:nth-child(3n+2)::after { background: var(--celeste); }
@media (prefers-reduced-motion: no-preference) {
  .cinta-pista { animation: cinta 38s linear infinite; }
  .cinta:hover .cinta-pista { animation-play-state: paused; }
}
@keyframes cinta { to { transform: translateX(-50%); } }

/* Por qué Baby Daia */
.porque { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.porque > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 36px; }
.porque > div { display: flex; flex-direction: column; gap: 16px; }
.porque h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.pilares { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pilares li { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--suave); border-radius: 22px; }
.pilares svg { color: var(--fucsia); }
.pilares h3 { font: 600 1.0625rem/1.3 var(--body); }
.pilares p { color: var(--gris); font-size: .9375rem; }

/* Visita a la tienda */
.visita { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--crema); border: 1px solid var(--rosa-fondo); border-radius: 36px; padding: 48px; }
.visita > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.visita h2 { font-size: 2.75rem; }
.visita-b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.visita img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 26px; } /* Ilustración de la fachada: entera, sin recortes. */

/* Movimiento (referencia Boty): entrada en cascada, aparición al hacer scroll, pastilla deslizante.
   Todo dentro de no-preference: con «reducir movimiento» la página queda quieta y completa. */
.pestanas { position: relative; }
.pestanas label { position: relative; z-index: 1; }
@supports (anchor-name: --a) {
  .pestanas input:checked + label { anchor-name: --pestana; background: transparent; }
  .pestanas::before { content: ""; position: absolute; position-anchor: --pestana; inset: anchor(top) anchor(right) anchor(bottom) anchor(left); border-radius: 999px; background: var(--noche); box-shadow: 0 4px 12px -6px rgb(28 16 48 / .5); }
}
@media (prefers-reduced-motion: no-preference) {
  .flota-c { animation: posa .6s var(--mov) backwards; }
  .portada-foto { animation: acerca 1.6s var(--mov) backwards; }
  .portada-t > * { animation: enfoca .8s ease-out backwards; }
  .portada-t > :nth-child(1) { animation-delay: .15s; }
  .portada-t > :nth-child(2) { animation-delay: .3s; }
  .portada-t > :nth-child(3) { animation-delay: .5s; }
  .portada-t > :nth-child(4) { animation-delay: .7s; }
  .baja { animation: enfoca .8s ease-out .9s backwards; }
  .baja::after { background: rgb(28 16 48 / .18) linear-gradient(var(--noche), var(--noche)) no-repeat 0 -16px / 100% 16px; animation: recorre 2s var(--mov) infinite; }
  .pestanas::before { transition: inset .35s var(--mov); }
  .pestanas label { transition: background-color .3s var(--mov), color .3s var(--mov); }
  /* El panel aparece enfocándose solo al cambiar de pestaña. Al cargar la portada no: arrancaba invisible y se veía
     como un parpadeo cada vez que se volvía a ella (28-11-2026). La pestaña de serie lleva el atributo checked. */
  .tendencia:has(input[type="radio"]:checked:not([checked])) .panel { animation: enfoca .5s ease-out; }
  .boty .marco img { transition: transform .6s var(--mov); }
  .boty .tarjeta:hover .marco img { transform: scale(1.05); }
  @supports (animation-timeline: view()) {
    :is(.ventajas li, .titulo-b, .porque > div > *, .pilares li, .visita > div) { animation: sube-b linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    /* Las tarjetas del carrusel quedan fuera: van dentro de un carrusel horizontal, donde una animación ligada al
       scroll vertical no tiene referencia clara y podía dejarlas invisibles un instante. */
    :is(.destacado, .porque > img, .visita > img) { animation: crece linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    :is(.ventajas li, .pilares li):nth-child(2) { animation-range: entry 6% entry 76%; }
    :is(.ventajas li, .pilares li):nth-child(3) { animation-range: entry 12% entry 82%; }
    :is(.ventajas li, .pilares li):nth-child(4) { animation-range: entry 18% entry 88%; }
  }
}
@keyframes posa { from { opacity: 0; transform: scale(.94); } }
@keyframes enfoca { from { opacity: 0; filter: blur(12px); transform: translateY(10px); } }
@keyframes recorre { to { background-position: 0 40px; } }
@keyframes sube-b { from { opacity: 0; transform: translateY(32px); } }
@keyframes crece { from { opacity: 0; transform: scale(.95); } }

/* Resto de páginas: mismas piezas, esquinas Boty */
.boty :is(.cab-foto, .cab-hero) { border-radius: 0 0 36px 36px; }
.boty .filtro { border-radius: 26px; }
.boty .galeria img { border-radius: 24px; }
.boty .pie { margin-top: 88px; border-radius: 36px 36px 0 0; }

@media (max-width: 1180px) {
  .flota-c { grid-template-columns: auto 1fr auto; padding-left: 8px; }
  .flota-nav { display: none; }
  .flota .menu { display: block; position: relative; }
  .flota .menu-btn { min-width: 48px; min-height: 48px; }
  .flota .menu nav { top: 56px; }
  .flota .logo { margin: 0; }
  .flota .busca { order: 0; flex: none; }
  .ventajas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .porque { gap: 40px; }
}
@media (max-width: 760px) {
  .boty { --flota-h: 60px; --radio: 22px; }
  .flota { top: 10px; left: 10px; right: 10px; }
  .flota-c { border-radius: 18px; gap: 8px; padding-right: 8px; }
  .flota .logo img { height: 34px; width: auto; }
  .flota .busca:focus-within input, .flota .busca input:not(:placeholder-shown) { width: min(56vw, 230px); }
  /* Con la búsqueda abierta no caben logo, campo y bolsa: el logo cede su sitio. */
  .flota-c:has(.busca:focus-within, #q:not(:placeholder-shown)) .logo { display: none; }
  .flota-c:has(.busca:focus-within, #q:not(:placeholder-shown)) .flota-acc { grid-column: 2 / -1; }
  .flota .sugerencias { position: fixed; top: 80px; left: 10px; right: 10px; width: auto; }
  .portada { min-height: 92svh; align-items: flex-end; }
  .portada-foto { object-position: 62% 50%; }
  .portada::before { background: linear-gradient(0deg, rgb(255 255 255 / .97) 0%, rgb(255 255 255 / .9) 42%, rgb(255 255 255 / .1) 70%, transparent 82%); }
  .portada-t { padding-bottom: 72px; gap: 16px; }
  .portada-t .big { font-size: 3.25rem !important; }
  .portada-t .claim { font-size: 1.125rem; }
  .baja { display: none; }
  .ventajas ul { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .coleccion { margin-top: 40px; }
  .coleccion .sec-b { padding-block: 56px; gap: 24px; }
  .pestanas { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .pestanas label { padding: 0 14px; white-space: nowrap; font-size: .9375rem; }
  .boty .tarjeta { padding: 6px 6px 14px; }
  .destacado { grid-template-columns: minmax(0, 1fr); border-radius: 26px; background: linear-gradient(180deg, #E6BEBE 0, #E6BEBE 40%, var(--rosa-fondo) 68%, #FFF3EC 100%); }
  .destacado img { max-height: 460px; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
  .destacado-t { padding: 26px 22px 28px; }
  .destacado-t h2 { font-size: 2.125rem; }
  .cinta { margin-top: 40px; padding: 16px 0; }
  .cinta-g span { font-size: 1.25rem; padding-inline: 18px; }
  .cinta-g span::after { margin-left: 36px; }
  .porque { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .porque > img { border-radius: 26px; aspect-ratio: 1; }
  .pilares { grid-template-columns: minmax(0, 1fr); }
  .visita { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; border-radius: 26px; }
  .visita h2 { font-size: 2.125rem; }
  .visita-b .btn { width: 100%; }
  .boty .pie { margin-top: 56px; border-radius: 26px 26px 0 0; }
}
