/* .3 · Landing pública con identidad propia.
   Moda infantil y juvenil moderna: tipografía editorial, bento, color de marca y tres mundos que cambian el ambiente. */

:root {
  --marino: #13294B;
  --naranja: #FF7A00;
  --verde-azulado: #14A3A0;
  --sol: #FFC22E;
  --nube: #F4F1EC;

  /* Mundo Kids (predeterminado): energía, naranja zorro y azul */
  --fondo: #FFFAF3;
  --superficie: #FFFFFF;
  --superficie-2: #FFF0E0;
  --tinta: #13294B;
  --tinta-suave: #56657F;
  --borde: rgba(19, 41, 75, .09);
  --acento: #FF7A00;
  --acento-oscuro: #D35F00;
  --acento-2: #2E6BFF;
  --acento-suave: rgba(255, 122, 0, .12);
  --mancha-1: #FFB066;
  --mancha-2: #8FB4FF;
  --mancha-3: #FFE08A;
  --texto-boton: #FFFFFF;
  --radio: 15px;
  --radio-grande: 24px;
  --sombra: 0 30px 60px -30px rgba(19, 41, 75, .35);
  --sombra-suave: 0 12px 30px -18px rgba(19, 41, 75, .3);

  --transicion: 360ms cubic-bezier(.2, .8, .2, 1);
  --fuente-titulo: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --fuente: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: light;
}

/* Mundo Baby: pastel luminoso y formas muy redondeadas */
body:has(#mundo-baby:checked) {
  --fondo: #FBFAF6;
  --superficie-2: #E8F7F2;
  --acento: #2FA88C;
  --acento-oscuro: #1F7F69;
  --acento-2: #FF9C88;
  --acento-suave: rgba(126, 214, 193, .25);
  --mancha-1: #A8E6D6;
  --mancha-2: #FFCFC3;
  --mancha-3: #CFE7FF;
  --radio: 21px;
  --radio-grande: 33px;
}

/* Mundo Teens: urbano oscuro, acentos cian y verde ácido, formas técnicas */
body:has(#mundo-teens:checked) {
  --fondo: #12151D;
  --superficie: #1A1F2B;
  --superficie-2: #212838;
  --tinta: #F2F5FB;
  --tinta-suave: #A3AEC4;
  --borde: rgba(242, 245, 251, .09);
  --acento: #00E5FF;
  --acento-oscuro: #00E5FF;
  --acento-2: #CCFF00;
  --acento-suave: rgba(0, 229, 255, .12);
  --mancha-1: #0A6E7A;
  --mancha-2: #3E4A12;
  --mancha-3: #2B2350;
  --texto-boton: #0B0E14;
  --radio: 6px;
  --radio-grande: 9px;
  --sombra: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --sombra-suave: 0 12px 30px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--fuente);
  background: var(--fondo);
  color: var(--tinta);
  line-height: 1.6;
  overflow-x: clip;
  transition: background var(--transicion), color var(--transicion);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--fuente-titulo); line-height: 1.02; letter-spacing: -0.035em; }
::selection { background: var(--acento); color: var(--texto-boton); }
.oculto-visual { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Fondo: manchas de color suaves de la marca ───────────────────────────── */
.fondo-vivo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mancha { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; transition: background var(--transicion); animation: derivar 26s ease-in-out infinite alternate; }
.mancha-1 { width: 42vw; height: 42vw; left: -14vw; top: -12vw; background: var(--mancha-1); }
.mancha-2 { width: 36vw; height: 36vw; right: -12vw; top: 30vh; background: var(--mancha-2); animation-delay: -9s; }
.mancha-3 { width: 30vw; height: 30vw; left: 28vw; bottom: -16vw; background: var(--mancha-3); animation-delay: -16s; }
@keyframes derivar { to { transform: translate(5vw, 4vh) scale(1.1); } }

/* ── Utilidades ───────────────────────────────────────────────────────────── */
.contenedor { width: min(1220px, 100% - 32px); margin-inline: auto; }
.seccion { padding: clamp(56px, 8vw, 112px) 0; position: relative; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acento-oscuro); background: var(--acento-suave);
  padding: 7px 14px; border-radius: 999px;
}
.etiqueta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acento); }
.titulo-seccion { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 800; margin: 16px 0 12px; }
.subtitulo { color: var(--tinta-suave); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 640px; }
.centrado { text-align: center; }
.centrado .subtitulo { margin-inline: auto; }

/* Aparición suave al hacer scroll (CSS puro) */
@supports (animation-timeline: view()) {
  .seccion .contenedor > * { animation: revelar linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
}
@keyframes revelar { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* ── Botones ──────────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 1rem var(--fuente);
  transition: transform var(--transicion), box-shadow var(--transicion), background var(--transicion), color var(--transicion);
}
.boton:hover { transform: translateY(-3px); }
.boton:active { transform: translateY(0) scale(.98); }
.boton:focus-visible, a:focus-visible, button:focus-visible { outline: none; box-shadow: 0 0 0 2.5px var(--acento) inset, 0 0 0 5px var(--acento-suave) inset; }
.boton-primario { background: var(--acento); color: var(--texto-boton); box-shadow: 0 14px 30px -12px var(--acento); }
.boton-primario:hover { box-shadow: 0 20px 40px -12px var(--acento); }
.boton-secundario { background: var(--superficie); color: var(--tinta); box-shadow: 0 0 0 1.5px var(--borde) inset, var(--sombra-suave); }
.boton-secundario:hover { box-shadow: 0 0 0 1.5px var(--acento) inset, var(--sombra-suave); }
.boton svg { flex: none; }

/* ── Navegación ───────────────────────────────────────────────────────────── */
.barra { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: background var(--transicion); }
.barra-interior {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 68px; padding: 0 12px 0 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--superficie) 78%, transparent);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra-suave);
}
.marca { display: inline-flex; align-items: center; gap: 10px; }
.marca svg { height: 38px; width: auto; }
.marca-texto { font-size: .74rem; font-weight: 800; letter-spacing: .26em; color: var(--tinta-suave); }
.logo-punto { fill: var(--acento); transition: fill var(--transicion); }
.logo-tres { fill: var(--tinta); transition: fill var(--transicion); }
.menu { display: flex; gap: 6px; list-style: none; white-space: nowrap; }
.menu a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--tinta-suave); transition: background var(--transicion), color var(--transicion); }
.menu a:hover { background: var(--acento-suave); color: var(--tinta); }

/* ── Hero editorial ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.hero-rejilla { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800; margin: 20px 0 22px; }
.hero h1 em {
  font-style: normal; color: var(--acento);
  background: linear-gradient(100deg, var(--acento), var(--acento-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .subtitulo { margin-bottom: 30px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.selector-mundos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; border: 0; }
.selector-mundos legend { font-size: .82rem; font-weight: 700; color: var(--tinta-suave); margin-bottom: 10px; width: 100%; }
.selector-mundos input { position: absolute; opacity: 0; pointer-events: none; }
.chip-mundo {
  display: flex; flex-direction: column; min-width: 136px; padding: 14px 20px; cursor: pointer;
  border-radius: var(--radio); background: var(--superficie); box-shadow: 0 0 0 1.5px var(--borde) inset;
  transition: all var(--transicion);
}
.chip-mundo strong { font-family: var(--fuente-titulo); font-size: 1.12rem; }
.chip-mundo span { font-size: .8rem; color: var(--tinta-suave); }
.chip-mundo:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--acento) inset; }
#mundo-baby:checked + .chip-mundo, #mundo-kids:checked + .chip-mundo, #mundo-teens:checked + .chip-mundo {
  background: var(--acento); color: var(--texto-boton); box-shadow: 0 14px 30px -14px var(--acento);
}
#mundo-baby:checked + .chip-mundo span, #mundo-kids:checked + .chip-mundo span, #mundo-teens:checked + .chip-mundo span { color: inherit; opacity: .85; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; z-index: -1;
  border-radius: var(--radio-grande); background: var(--acento); opacity: .9; transform: rotate(4deg);
  transition: background var(--transicion), border-radius var(--transicion);
}
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-pieza { aspect-ratio: 1; border-radius: var(--radio-grande); overflow: hidden; box-shadow: var(--sombra); transition: transform var(--transicion), border-radius var(--transicion); }
.hero-pieza:nth-child(1) { transform: rotate(-3deg); }
.hero-pieza:nth-child(2) { transform: rotate(2deg) translateY(18px); }
.hero-pieza:nth-child(3) { transform: rotate(2deg); }
.hero-pieza:nth-child(4) { transform: rotate(-2deg) translateY(18px); }
.hero-pieza:hover { transform: rotate(0) scale(1.03); }
.hero-pieza img { width: 100%; height: 100%; object-fit: cover; }
.hero-zorro {
  position: absolute; left: 50%; top: 50%; width: clamp(96px, 12vw, 136px); aspect-ratio: 1; transform: translate(-50%, -40%);
  display: grid; place-items: center; border-radius: 50%; background: var(--naranja);
  box-shadow: 0 0 0 8px var(--fondo), var(--sombra); animation: flotar 6s ease-in-out infinite;
}
.hero-zorro svg { width: 72%; height: 72%; }
.insignia {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--superficie); color: var(--tinta); padding: 12px 16px; border-radius: 16px;
  box-shadow: var(--sombra); font-weight: 800; font-size: .9rem;
  animation: flotar 6s ease-in-out infinite;
}
.insignia small { display: block; font-weight: 600; color: var(--tinta-suave); font-size: .76rem; }
.insignia-1 { left: -30px; top: 12%; }
.insignia-2 { right: -22px; top: 48%; animation-delay: -2s; }
.insignia-3 { left: 8%; bottom: -22px; animation-delay: -4s; }
.punto-insignia { width: 12px; height: 12px; border-radius: 50%; background: var(--acento); flex: none; }
@keyframes flotar { 50% { transform: translateY(-10px); } }

/* ── Cinta en movimiento ──────────────────────────────────────────────────── */
.cinta { overflow: hidden; background: var(--marino); color: #fff; padding: 18px 0; transform: rotate(-1.5deg); margin: 10px 0 0; }
body:has(#mundo-teens:checked) .cinta { background: var(--acento); color: #0B0E14; }
.cinta-pista { display: flex; gap: 48px; width: max-content; animation: desplazar 28s linear infinite; }
.cinta-pista span { font: 800 clamp(1.1rem, 2.2vw, 1.6rem) var(--fuente-titulo); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.cinta-pista span::after { content: "●"; color: var(--naranja); font-size: .7em; }
body:has(#mundo-teens:checked) .cinta-pista span::after { color: #0B0E14; }
@keyframes desplazar { to { transform: translateX(-50%); } }


/* ── Bento de mundos ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 52px; }
.tarjeta {
  position: relative; overflow: hidden; background: var(--superficie); border-radius: var(--radio-grande);
  padding: clamp(24px, 3vw, 36px); box-shadow: 0 0 0 1px var(--borde) inset;
  transition: transform var(--transicion), box-shadow var(--transicion), border-radius var(--transicion);
}
.tarjeta:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra); }
.tarjeta h3 { font-size: 1.6rem; margin: 12px 0 8px; }
.tarjeta p { color: var(--tinta-suave); }
.tarjeta ul { margin-top: 16px; list-style: none; display: grid; gap: 8px; }
.tarjeta ul li { display: flex; gap: 10px; align-items: baseline; }
.tarjeta ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; transform: translateY(-1px); }
.tarjeta-mundo { grid-column: span 2; }
.tarjeta-mundo .edad { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: rgba(255,255,255,.55); }
.mundo-baby { background: linear-gradient(160deg, #DDF5EE, #FFF3EE); color: #164A3E; }
.mundo-kids { background: linear-gradient(160deg, #FFD8B0, #FFF1DE); color: #5A2A00; }
.mundo-teens { background: linear-gradient(160deg, #1A1F2B, #263047); color: #EAF6FF; }
.mundo-baby p, .mundo-kids p { color: inherit; opacity: .8; }
.mundo-teens p { color: #A3AEC4; }
.mundo-teens .edad { background: rgba(0, 229, 255, .15); color: #00E5FF; }

/* ── Slim Fit Largo ───────────────────────────────────────────────────────── */
.slim { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.comparativa { display: grid; gap: 22px; padding: 34px; border-radius: var(--radio-grande); background: var(--superficie); box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra); }
.fila-comparativa { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; font-weight: 800; font-size: .94rem; }
.fila-comparativa small { color: var(--tinta-suave); font-weight: 600; }
.barra-comparativa { height: 14px; border-radius: 999px; background: var(--superficie-2); overflow: hidden; margin-bottom: 4px; }
.barra-comparativa span { display: block; height: 100%; border-radius: inherit; background: var(--tinta-suave); opacity: .35; }
.barra-comparativa.ideal span { background: linear-gradient(90deg, var(--acento), var(--acento-2)); opacity: 1; }
.nota-tecnica { margin-top: 22px; padding: 18px 20px; border-radius: var(--radio); background: var(--acento-suave); font-size: .95rem; }

/* ── Catálogo ─────────────────────────────────────────────────────────────── */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 40px; }
.filtros input { position: absolute; opacity: 0; pointer-events: none; }
.filtro { padding: 11px 22px; border-radius: 999px; background: var(--superficie); box-shadow: 0 0 0 1.5px var(--borde) inset; font-weight: 800; cursor: pointer; transition: all var(--transicion); }
.filtro:hover { box-shadow: 0 0 0 1.5px var(--acento) inset; }
.filtros input:checked + .filtro { background: var(--tinta); color: var(--fondo); box-shadow: none; }
.rejilla-productos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.producto { display: flex; flex-direction: column; overflow: hidden; background: var(--superficie); border-radius: var(--radio-grande); box-shadow: 0 0 0 1px var(--borde) inset; transition: transform var(--transicion), box-shadow var(--transicion), border-radius var(--transicion); }
.producto:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra); }
.producto-foto { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--superficie-2); margin: 8px 8px 0; border-radius: calc(var(--radio-grande) - 8px); }
.producto-foto img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; user-select: none; transition: transform .6s ease; }
.producto:hover .producto-foto img { transform: scale(1.04); }
.producto-mundo { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: var(--superficie); color: var(--tinta); box-shadow: var(--sombra-suave); }
.producto-cuerpo { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.producto-cuerpo h3 { font-size: 1.22rem; }
.producto-cuerpo p { color: var(--tinta-suave); font-size: .9rem; flex: 1; }
.producto-cuerpo small { color: var(--tinta-suave); }
.precio { font: 800 1.35rem var(--fuente-titulo); }
.precio small { font: 600 .78rem var(--fuente); color: var(--tinta-suave); }
.sello-slim { align-self: flex-start; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--acento); color: var(--texto-boton); }
.boton-producto { margin-top: 12px; min-height: 46px; font-size: .92rem; }
.catalogo:has(#filtro-baby:checked) .producto:not([data-mundo="BABY"]),
.catalogo:has(#filtro-kids:checked) .producto:not([data-mundo="KIDS"]),
.catalogo:has(#filtro-teens:checked) .producto:not([data-mundo="TEENS"]) { display: none; }
.vacio { text-align: center; padding: 56px 24px; border: 2px dashed var(--borde); border-radius: var(--radio-grande); color: var(--tinta-suave); }


/* ── Taller, pasos, agenda, kits ──────────────────────────────────────────── */
.taller { grid-template-columns: repeat(4, 1fr); }
.taller .tarjeta { grid-column: auto; }
.icono-taller { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--acento); color: var(--texto-boton); box-shadow: 0 12px 24px -12px var(--acento); }
.agenda { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; }
.cita-tarjeta { display: flex; flex-direction: column; gap: 12px; }
.cita-tarjeta .boton { align-self: flex-start; }
.duracion { font-weight: 800; color: var(--acento-oscuro); }
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.kit .ahorro { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--acento-oscuro); }

/* ── Formulario de medidas ────────────────────────────────────────────────── */
.medidas { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.formulario { background: var(--superficie); border-radius: var(--radio-grande); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra); }
.campos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.campo { display: grid; gap: 6px; }
.campo label, .grupo-estilos legend { font-weight: 800; font-size: .86rem; }
.campo input, .campo textarea, .campo select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--borde); background: var(--fondo); color: var(--tinta); font: 600 1rem var(--fuente);
  transition: border-color var(--transicion), box-shadow var(--transicion);
}
.campo input[type=file] { padding: 12px; }
.campo textarea { min-height: 100px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px var(--acento-suave); }
.campo-ancho { grid-column: 1 / -1; }
.grupo-estilos { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.grupo-estilos legend { width: 100%; margin-bottom: 10px; }
.grupo-estilos input { position: absolute; opacity: 0; }
.estilo { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: 0 0 0 1.5px var(--borde) inset; font-weight: 700; cursor: pointer; transition: all var(--transicion); }
.estilo:hover { box-shadow: 0 0 0 1.5px var(--acento) inset; }
.grupo-estilos input:checked + .estilo { background: var(--acento); color: var(--texto-boton); box-shadow: none; }
.consentimiento { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--tinta-suave); }
.consentimiento input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--acento); flex: none; }
.resultado-talla { display: none; margin-top: 28px; padding: 26px; border-radius: var(--radio-grande); background: var(--acento); color: var(--texto-boton); box-shadow: var(--sombra); }
.resultado-talla.visible { display: block; animation: revelar .5s ease both; }
.resultado-talla strong { display: block; font: 800 3rem/1.1 var(--fuente-titulo); }
.mensaje-formulario { font-weight: 700; min-height: 1.4em; color: var(--acento-oscuro); }
.mensaje-formulario.error { color: #D92D20; }
body:has(#mundo-teens:checked) .mensaje-formulario.error { color: #FF7A7A; }

/* ── QR ───────────────────────────────────────────────────────────────────── */
.qr { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radio-grande); background: var(--marino); color: #fff; }
.qr .titulo-seccion { color: #fff; }
.qr .subtitulo { color: #C4CEE0; }
.qr .etiqueta { background: rgba(255,255,255,.12); color: #fff; }
.qr .etiqueta::before { background: var(--naranja); }
.qr strong { color: var(--sol); }
.qr-tarjeta { padding: 16px; background: #fff; border-radius: 24px; transform: rotate(-3deg); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); transition: transform var(--transicion); }
.qr-tarjeta:hover { transform: rotate(0) scale(1.03); }
.qr-tarjeta img { width: clamp(200px, 24vw, 260px); height: auto; }
body:has(#mundo-teens:checked) .qr { background: var(--superficie-2); }

/* ── Preguntas frecuentes ─────────────────────────────────────────────────── */
.acordeon { display: grid; gap: 10px; max-width: 840px; margin: 46px auto 0; }
.acordeon details { background: var(--superficie); border-radius: var(--radio); padding: 20px 24px; box-shadow: 0 0 0 1px var(--borde) inset; transition: box-shadow var(--transicion); }
.acordeon details[open] { box-shadow: 0 0 0 1.5px var(--acento) inset, var(--sombra-suave); }
.acordeon summary { cursor: pointer; font-weight: 800; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--acento-suave); color: var(--acento-oscuro); font-size: 1.3rem; flex: none; transition: transform var(--transicion); }
.acordeon details[open] summary::after { transform: rotate(45deg); }
.acordeon p { margin-top: 12px; color: var(--tinta-suave); }

/* ── Pie de página y firma Kykzor ─────────────────────────────────────────── */
.pie { background: var(--marino); color: #DCE3F0; padding: 76px 0 112px; border-radius: var(--radio-grande) var(--radio-grande) 0 0; }
body:has(#mundo-teens:checked) .pie { background: #0B0E14; }
.pie .logo-tres { fill: #fff; }
.pie-rejilla { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.pie h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8FA0BF; margin-bottom: 16px; }
.pie ul { list-style: none; display: grid; gap: 10px; }
.pie ul a { color: #DCE3F0; transition: color var(--transicion); }
.pie ul a:hover { color: var(--naranja); }
.pie-marca p { color: #A9B6CE; margin-top: 16px; max-width: 320px; }
.pie-inferior { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: #8FA0BF; font-size: .88rem; }
.firma-kykzor { display: inline-flex; align-items: center; gap: 10px; color: #9DB0C8; font-weight: 600; font-size: .9rem; }
.firma-kykzor svg { width: 26px; height: 26px; }

/* ── Widget Trykx ─────────────────────────────────────────────────────────── */
#trykx-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
#trykx-boton {
  position: relative; width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--naranja); box-shadow: 0 16px 34px -10px rgba(255, 122, 0, .85);
  display: grid; place-items: center; transition: transform var(--transicion);
}
#trykx-boton::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 122, 0, .5); animation: onda 2.6s ease-out infinite; }
@keyframes onda { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
#trykx-boton:hover { transform: scale(1.07) rotate(-6deg); }
#trykx-boton svg { width: 46px; height: 46px; }
.trykx-burbuja { position: absolute; right: 80px; bottom: 16px; white-space: nowrap; background: var(--superficie); color: var(--tinta); padding: 10px 14px; border-radius: 16px 16px 4px 16px; box-shadow: var(--sombra); font-weight: 800; font-size: .86rem; }
#trykx-ventana {
  position: fixed; right: 20px; bottom: 100px; width: min(410px, 100vw - 24px); height: min(640px, 100dvh - 124px);
  display: none; flex-direction: column; overflow: hidden;
  background: var(--superficie); border-radius: 28px; box-shadow: 0 0 0 1px var(--borde) inset, 0 40px 90px -20px rgba(0,0,0,.45);
}
#trykx-ventana.abierta { display: flex; animation: aparecer .3s ease-out; }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.trykx-cabecera { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--marino); color: #fff; }
.trykx-cabecera h4 { font-size: 1.1rem; letter-spacing: 0; }
.trykx-avatar { display: grid; flex: none; width: 42px; height: 42px; padding: 4px; border-radius: 50%; background: var(--naranja); }
.trykx-avatar > span { display: none; width: 100%; height: 100%; }
.trykx-avatar svg { display: block; width: 100%; height: 100%; }
.trykx-avatar .zorro-kids { display: block; }
body:has(#mundo-baby:checked) .trykx-avatar { background: #E3F6EF; }
body:has(#mundo-teens:checked) .trykx-avatar { background: #0B0E14; box-shadow: 0 0 0 2px #00E5FF; }
body:has(#mundo-baby:checked) .trykx-avatar .zorro-kids, body:has(#mundo-teens:checked) .trykx-avatar .zorro-kids { display: none; }
body:has(#mundo-baby:checked) .trykx-avatar .zorro-baby, body:has(#mundo-teens:checked) .trykx-avatar .zorro-teens { display: block; }
.trykx-estado { font-size: .76rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.trykx-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.trykx-acciones { margin-left: auto; display: flex; gap: 4px; }
.trykx-acciones button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem; }
.trykx-acciones button:hover { background: rgba(255,255,255,.12); }
#trykx-mensajes { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--fondo); }
.msj { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msj-robot { align-self: flex-start; background: var(--superficie); box-shadow: 0 0 0 1px var(--borde) inset; border-bottom-left-radius: 4px; }
.msj-usuario { align-self: flex-end; background: var(--acento); color: var(--texto-boton); font-weight: 600; border-bottom-right-radius: 4px; }
.msj-cita { align-self: stretch; background: var(--acento-suave); border: 1.5px dashed var(--acento); font-weight: 700; }
.msj-escribiendo { opacity: .7; font-style: italic; }
#trykx-sugerencias { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; background: var(--fondo); scrollbar-width: none; }
#trykx-sugerencias::-webkit-scrollbar { display: none; }
#trykx-sugerencias button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--acento); background: transparent; color: var(--acento-oscuro); font: 700 .8rem var(--fuente); cursor: pointer; }
#trykx-sugerencias button:hover { background: var(--acento-suave); }
.trykx-entrada { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--borde); background: var(--superficie); align-items: flex-end; }
.trykx-entrada textarea { flex: 1; resize: none; max-height: 120px; min-height: 46px; padding: 12px 14px; border-radius: 22px; border: 1.5px solid var(--borde); background: var(--fondo); color: var(--tinta); font: 600 .95rem var(--fuente); }
.trykx-entrada textarea:focus { outline: none; border-color: var(--acento); }
.trykx-entrada button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--acento); color: var(--texto-boton); cursor: pointer; font-size: 1.1rem; flex: none; }

/* ── Cifras en el hero ────────────────────────────────────────────────────── */
.cifras-mini { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; }
.cifras-mini .cifra strong { display: block; font: 800 1.7rem/1 var(--fuente-titulo); color: var(--acento); }
.cifras-mini .cifra span { font-size: .82rem; font-weight: 700; color: var(--tinta-suave); }

/* ── Trykx según la edad ──────────────────────────────────────────────────── */
.hero-zorro > span { display: none; width: 74%; height: 74%; }
.hero-zorro > span svg { width: 100%; height: 100%; }
.hero-zorro .zorro-kids { display: block; }
body:has(#mundo-baby:checked) .hero-zorro { background: #E3F6EF; }
body:has(#mundo-baby:checked) .hero-zorro .zorro-kids,
body:has(#mundo-teens:checked) .hero-zorro .zorro-kids { display: none; }
body:has(#mundo-baby:checked) .hero-zorro .zorro-baby { display: block; }
body:has(#mundo-teens:checked) .hero-zorro { background: #0B0E14; box-shadow: 0 0 0 3px var(--acento), 0 0 0 9px var(--fondo), var(--sombra); }
body:has(#mundo-teens:checked) .hero-zorro .zorro-teens { display: block; }
.zorro-mundo { display: block; width: 76px; height: 76px; margin-bottom: 14px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.7); }
.mundo-teens .zorro-mundo { background: #0B0E14; box-shadow: 0 0 0 2px #00E5FF; }
.zorro-mundo svg { width: 100%; height: 100%; }
.subtitulo-bloque { font-size: 1.5rem; margin: 48px 0 0; }
.subtitulo-bloque + .kits { margin-top: 20px; }

/* ── Detalles opcionales del formulario ───────────────────────────────────── */
.mas-detalles { border-radius: var(--radio); background: var(--acento-suave); padding: 4px 18px; }
.mas-detalles[open] { padding-bottom: 18px; }
.mas-detalles > summary { cursor: pointer; list-style: none; font-weight: 800; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--acento-oscuro); }
.mas-detalles > summary::-webkit-details-marker { display: none; }
.mas-detalles > summary::after { content: "+"; font-size: 1.4rem; transition: transform var(--transicion); }
.mas-detalles[open] > summary::after { transform: rotate(45deg); }
.mas-detalles > * + * { margin-top: 16px; }

/* ── Pantallas táctiles: sin efectos de "levantado" que se quedan pegados ─── */
@media (hover: none) {
  .boton:hover, .tarjeta:hover, .producto:hover, .chip-mundo:hover, .hero-pieza:hover, .qr-tarjeta:hover { transform: none; }
  .producto:hover .producto-foto img { transform: none; }
  .tarjeta:hover, .producto:hover { box-shadow: 0 0 0 1px var(--borde) inset; }
  .seccion .contenedor > * { animation: none !important; }
}

/* ── Componentes adaptativos (se ajustan al espacio que reciben, no a la pantalla) ── */
.producto, .tarjeta, .formulario { container-type: inline-size; }
@container (max-width: 250px) {
  .producto-cuerpo { padding: 14px 14px 16px; }
  .producto-cuerpo h3 { font-size: 1.05rem; }
  .producto-cuerpo p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .boton-producto { white-space: normal; text-align: center; padding: 8px 14px; line-height: 1.2; }
  .precio { font-size: 1.15rem; }
}
@container (max-width: 300px) {
  .tarjeta h3 { font-size: 1.25rem; }
  .zorro-mundo { width: 60px; height: 60px; }
  .cita-tarjeta .boton { align-self: stretch; white-space: normal; text-align: center; }
}
@container (max-width: 420px) {
  /* Medidas numéricas de a dos; textos a lo ancho. */
  .campos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .campo:has(input[type=text]), .campo:has(input[type=tel]), .campo:has(input[type=file]), .campo:has(textarea) { grid-column: 1 / -1; }
  .formulario > .boton { width: 100%; }
}

/* ── Clases de ventana: compacta < 600, mediana 600–839, expandida 840–1199, grande ≥ 1200 ── */
@media (min-width: 1600px) {
  .contenedor { width: min(1360px, 100% - 64px); }
}
@media (max-width: 1199px) {
  .menu li:nth-child(n+4) { display: none; }
  .taller { grid-template-columns: repeat(2, 1fr); }
  .pie-rejilla { grid-template-columns: 1.4fr 1fr 1fr; }
  .pie-rejilla > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 979px) {
  .menu { display: none; }
  .hero-rejilla, .slim, .medidas, .qr { grid-template-columns: 1fr; }
  .qr { text-align: center; justify-items: center; }
  .qr .subtitulo { margin-inline: auto; }
  .qr .acciones { justify-content: center; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .qr-tarjeta { justify-self: center; }
}
@media (max-width: 839px) {
  .agenda { grid-template-columns: 1fr 1fr; }
  .pie-rejilla { grid-template-columns: 1fr 1fr; }
  /* Carruseles deslizables: la página deja de ser interminable en celular y tableta. */
  .carrusel {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 6px 16px 14px; scroll-padding-inline: 16px;
  }
  .carrusel::-webkit-scrollbar { display: none; }
  .carrusel > * { flex: 0 0 calc(50% - 7px); scroll-snap-align: start; }
  .bento.carrusel, .kits.carrusel { margin-top: 28px; }
  .tarjeta-mundo { grid-column: auto; }
  .filtros { margin: 22px 0 18px; }
}
@media (max-width: 599px) {
  .carrusel > * { flex-basis: min(80%, 320px); }
  .agenda, .pie-rejilla { grid-template-columns: 1fr; }
  .pie-rejilla > :last-child { grid-column: auto; }
  /* Los filtros se deslizan en una sola fila en vez de partirse en dos. */
  .filtros { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .filtros::-webkit-scrollbar { display: none; }
  .filtro { flex: none; }
  .insignia { display: none; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(2.3rem, 11.5vw, 3.2rem); margin: 14px 0 14px; }
  .hero .subtitulo { margin-bottom: 22px; }
  .selector-mundos { margin-bottom: 22px; flex-wrap: nowrap; gap: 8px; }
  .chip-mundo { min-width: 0; flex: 1; padding: 10px 12px; }
  .chip-mundo strong { font-size: 1rem; }
  .acciones .boton { flex: 1 1 auto; }
  .hero-visual { max-width: 340px; margin-top: 8px; }
  .hero-visual::before { display: none; }
  .hero-collage { gap: 10px; }
  .tarjeta { padding: 22px; }
  .qr { padding: 24px; gap: 22px; }
  .qr-tarjeta img { width: 170px; }
  .acordeon { margin-top: 28px; }
  .acordeon details { padding: 16px 18px; }
  .pie { padding: 52px 0 104px; }
  .pie-inferior { flex-direction: column; align-items: flex-start; }
  .marca-texto, .trykx-burbuja { display: none; }
  .barra { padding: 8px 0; }
  .barra-interior { height: 60px; padding: 0 8px 0 16px; }
  .barra .boton { padding: 0 16px; min-height: 44px; font-size: .88rem; }
  /* En celular el chat ocupa toda la pantalla y se ajusta al teclado (dvh). */
  #trykx-ventana { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  #trykx-widget:has(#trykx-ventana.abierta) #trykx-boton { display: none; }
  .trykx-entrada { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .trykx-entrada textarea { font-size: 16px; }
  #trykx-widget { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  #trykx-boton { width: 60px; height: 60px; }
}
@media (max-width: 359px) {
  .barra .boton { font-size: 0; gap: 0; width: 44px; padding: 0; }
  .selector-mundos { flex-wrap: wrap; }
  .chip-mundo { flex: 1 1 40%; }
}
/* Celular en horizontal: poca altura, el chat y el hero se ajustan. */
@media (max-height: 520px) and (orientation: landscape) {
  #trykx-ventana { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  #trykx-widget:has(#trykx-ventana.abierta) #trykx-boton { display: none; }
  .trykx-burbuja { display: none; }
  .hero { padding-top: 16px; }
  .barra { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ── Menú hamburguesa y cajón deslizable ──────────────────────────────────── */
.barra-acciones { display: flex; align-items: center; gap: 8px; }
.hamburguesa {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--acento-suave); color: var(--tinta);
}
.hamburguesa span { width: 20px; height: 2.4px; border-radius: 2px; background: currentColor; }
.cajon {
  position: fixed; margin: 0; inset: 0 0 0 auto; width: min(86vw, 340px); height: 100dvh; max-height: none;
  border: 0; padding: 18px 20px max(24px, env(safe-area-inset-bottom));
  background: var(--marino); color: #fff; flex-direction: column; gap: 18px;
  border-radius: 28px 0 0 28px; box-shadow: -30px 0 60px -20px rgba(0,0,0,.5);
  translate: 100% 0;
  transition: translate .32s cubic-bezier(.2,.8,.2,1), display .32s allow-discrete, overlay .32s allow-discrete;
}
.cajon:popover-open { display: flex; translate: 0 0; }
@starting-style { .cajon:popover-open { translate: 100% 0; } }
.cajon::backdrop { background: rgba(8, 14, 28, .5); backdrop-filter: blur(3px); }
.cajon-cabecera { display: flex; align-items: center; justify-content: space-between; }
.cajon .logo-tres { fill: #fff; }
.cajon-cerrar { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; cursor: pointer; }
.cajon-enlaces { list-style: none; display: grid; gap: 4px; margin-top: 8px; }
.cajon-enlaces a { display: block; padding: 14px 16px; border-radius: 16px; font-weight: 700; font-size: 1.05rem; color: #fff; }
.cajon-enlaces a:hover, .cajon-enlaces a:active { background: rgba(255,255,255,.1); }
.cajon-cta { margin-top: auto; width: 100%; justify-content: center; }

@media (max-width: 979px), (pointer: coarse) and (max-device-width: 599px) {
  .menu { display: none; }
  .hamburguesa { display: flex; }
}

/* ── Chat a pantalla completa en celular (estilo WhatsApp) ────────────────── */
/* max-device-width también lo aplica si el celular pide la versión de escritorio. */
@media (max-width: 599px), (pointer: coarse) and (max-device-width: 599px), (max-height: 520px) and (orientation: landscape) {
  #trykx-ventana { inset: 0; width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  #trykx-widget:has(#trykx-ventana.abierta) #trykx-boton,
  #trykx-widget:has(#trykx-ventana.abierta) .trykx-burbuja { display: none; }
  body:has(#trykx-ventana.abierta) { overflow: hidden; }
  .trykx-cabecera { padding-top: max(14px, env(safe-area-inset-top)); }
  .trykx-entrada { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .trykx-entrada textarea { font-size: 16px; }
}

/* ── Toque en celular: sin el recuadro azul de Android, con presión suave ─── */
* { -webkit-tap-highlight-color: transparent; }
button, .boton, .chip-mundo, .filtro, summary, .menu a, .cajon-enlaces a, .hamburguesa { touch-action: manipulation; }
:is(button, .boton, .chip-mundo, .filtro, .hamburguesa, .cajon-cerrar):active { transform: scale(.96); }
:is(.cajon-enlaces a, summary):active { opacity: .75; }
:focus-visible { outline: 2.5px solid var(--acento); outline-offset: -2.5px; }
input[name=mundo]:focus-visible + .chip-mundo { box-shadow: 0 0 0 2.5px var(--acento) inset; }
@media (hover: none) { :focus, :focus-visible { outline: none !important; } }
:focus:not(:focus-visible) { outline: none; }

/* ── Chat estilo WhatsApp ─────────────────────────────────────────────────── */
.trykx-titulo { min-width: 0; }
.trykx-titulo h4 { line-height: 1.2; }
.trykx-estado.escribiendo { color: #7CF0C0; font-style: italic; opacity: 1; }
.trykx-estado.escribiendo::before { display: none; }
#trykx-mensajes {
  gap: 6px; padding: 14px 12px;
  background-color: var(--fondo);
  background-image: radial-gradient(color-mix(in srgb, var(--tinta) 9%, transparent) 1.1px, transparent 1.5px);
  background-size: 20px 20px;
}
.msj { max-width: 82%; padding: 8px 12px; font-size: .95rem; line-height: 1.4; box-shadow: 0 1px 1.5px rgba(0,0,0,.14); }
.msj-robot { border-radius: 4px 16px 16px 16px; }
.msj-usuario { border-radius: 16px 4px 16px 16px; }
.msj-robot + .msj-robot, .msj-usuario + .msj-usuario { border-radius: 16px; }
/* Escribiendo: tres puntos que rebotan (el zorrito está en la cabecera). */
.msj-escribiendo { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; opacity: 1; font-style: normal; }
.msj-escribiendo .puntos { display: inline-flex; gap: 4px; }
.msj-escribiendo .puntos span { width: 7px; height: 7px; border-radius: 50%; background: var(--tinta-suave); animation: rebote 1.1s ease-in-out infinite; }
.msj-escribiendo .puntos span:nth-child(2) { animation-delay: .15s; }
.msj-escribiendo .puntos span:nth-child(3) { animation-delay: .3s; }
@keyframes rebote { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
/* Respuestas sugeridas: botones pequeños dentro de la conversación. */
#trykx-mensajes #trykx-sugerencias { flex-wrap: wrap; overflow: visible; padding: 2px 0 4px; background: transparent; gap: 6px; max-width: 92%; }
#trykx-sugerencias:empty { display: none; }
#trykx-sugerencias button { min-height: 32px; padding: 0 12px; font-size: .78rem; background: var(--superficie); }
.trykx-entrada { padding: 8px 10px; gap: 6px; align-items: center; background: var(--fondo); border-top: 0; }
.trykx-entrada textarea { min-height: 44px; border-radius: 24px; background: var(--superficie); border-color: transparent; box-shadow: 0 1px 1.5px rgba(0,0,0,.14); }
.trykx-entrada button { width: 44px; height: 44px; }

/* Celular: el widget pega el chat al área visible (teclado y "sitio de escritorio" incluidos). */
#trykx-ventana.movil {
  inset: auto; left: var(--vv-x, 0px); top: var(--vv-y, 0px);
  width: var(--vv-w, 100vw); height: var(--vv-h, 100dvh);
  transform: scale(var(--vv-z, 1)); transform-origin: 0 0;
  border-radius: 0; box-shadow: none;
}
#trykx-ventana.movil.abierta { animation: aparecer-movil .2s ease-out; }
@keyframes aparecer-movil { from { opacity: 0; } to { opacity: 1; } }
#trykx-widget:has(#trykx-ventana.movil.abierta) :is(#trykx-boton, .trykx-burbuja) { display: none; }
body:has(#trykx-ventana.movil.abierta) { overflow: hidden; }
#trykx-ventana.movil .trykx-cabecera { padding: 10px 8px 10px 14px; }

/* ── Calendario de citas ──────────────────────────────────────────────────── */
.calendario {
  max-width: 880px; margin: 40px auto 0; padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radio-grande); background: var(--superficie);
  box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra-suave);
  display: grid; gap: 14px; container-type: inline-size;
}
.cal-paso { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-top: 8px; }
.cal-paso span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acento); color: var(--texto-boton); font-size: .82rem; }
.cal-tipos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-tipo {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border: 0; border-radius: var(--radio);
  background: var(--fondo); color: var(--tinta); font: inherit; cursor: pointer; box-shadow: 0 0 0 1.5px var(--borde) inset;
}
.cal-tipo .icono-taller { flex: none; width: 44px; height: 44px; margin: 0; }
.cal-tipo strong { display: block; font-size: .95rem; line-height: 1.25; }
.cal-tipo small { color: var(--tinta-suave); font-size: .78rem; }
.cal-tipo[aria-pressed="true"] { background: var(--acento-suave); box-shadow: 0 0 0 2px var(--acento) inset; }
.cal-horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; min-height: 48px; }
.cal-hora {
  min-height: 44px; border: 0; border-radius: 999px; cursor: pointer; font: 700 .9rem var(--fuente);
  background: var(--fondo); color: var(--tinta); box-shadow: 0 0 0 1.5px var(--acento) inset;
}
.cal-hora[aria-pressed="true"] { background: var(--acento); color: var(--texto-boton); }
.cal-nota { grid-column: 1 / -1; color: var(--tinta-suave); font-size: .92rem; }
.cal-form { display: grid; gap: 12px; padding: 18px; border-radius: var(--radio); background: var(--acento-suave); }
.cal-form[hidden], .mis-citas[hidden] { display: none; }
.cal-resumen { font-weight: 800; }
.cal-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-campos label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; }
.cal-campos input {
  min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--borde);
  background: var(--superficie); color: var(--tinta); font: 600 16px var(--fuente);
}
.cal-campos input:focus { outline: none; border-color: var(--acento); }
.cal-form .boton { justify-self: start; }
.cal-form small { color: var(--tinta-suave); }
.cal-estado { font-weight: 700; color: var(--acento-oscuro); min-height: 1.2em; }
.mis-citas { max-width: 880px; margin: 18px auto 0; padding: 20px; border-radius: var(--radio-grande); background: var(--superficie); box-shadow: 0 0 0 1.5px var(--acento) inset; }
.mis-citas h3 { font-size: 1.15rem; margin-bottom: 10px; }
.mis-citas ul { list-style: none; display: grid; gap: 8px; }
.mis-citas li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fondo); }
.mis-citas li div { display: grid; }
.mis-citas li span { color: var(--tinta-suave); font-size: .88rem; }
.cal-cancelar { min-height: 40px; padding: 0 16px; font-size: .85rem; flex: none; }
@container (max-width: 520px) {
  .cal-tipos, .cal-campos { grid-template-columns: 1fr; }
  .cal-form .boton { justify-self: stretch; }
}

/* ── Carrusel de fotos del producto ───────────────────────────────────────── */
.fotos-pista {
  display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
}
.fotos-pista::-webkit-scrollbar { display: none; }
.fotos-puntos {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; gap: 6px;
  padding: 5px 8px; border-radius: 999px; background: rgba(15, 20, 30, .35); backdrop-filter: blur(6px);
}
.fotos-puntos button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .25s, background .25s; }
.fotos-puntos button[aria-current="true"] { width: 18px; background: #fff; }
.fotos-puntos button:active { transform: none; }
.fotos-flecha {
  position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding-bottom: 3px; font-size: 1.5rem; line-height: 1; cursor: pointer;
  background: rgba(255,255,255,.88); color: #13294B; box-shadow: 0 4px 14px rgba(0,0,0,.18);
  opacity: 0; transition: opacity var(--transicion);
}
.fotos-flecha.anterior { left: 10px; }
.fotos-flecha.siguiente { right: 10px; }
.producto-foto:hover .fotos-flecha, .fotos-flecha:focus-visible { opacity: 1; }
@media (hover: none) { .fotos-flecha { display: none; } }

/* Calendario mensual */
.cal-mes { border-radius: var(--radio); background: var(--fondo); padding: 14px; box-shadow: 0 0 0 1.5px var(--borde) inset; }
.cal-mes-cabecera { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-mes-cabecera strong { font: 800 1.1rem var(--fuente-titulo); }
.cal-mes-flecha { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--superficie); color: var(--tinta); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 0 0 1.5px var(--borde) inset; }
.cal-mes-flecha:disabled { opacity: .35; cursor: default; }
.cal-semana, .cal-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-semana span { text-align: center; font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--tinta-suave); padding: 4px 0; }
.cal-dia {
  aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; cursor: pointer; position: relative;
  background: var(--superficie); color: var(--tinta); font: 700 .95rem var(--fuente);
  box-shadow: 0 0 0 1.5px var(--borde) inset;
}
.cal-dia:not(:disabled):hover { box-shadow: 0 0 0 2px var(--acento) inset; }
.cal-dia.hoy { box-shadow: 0 0 0 2px var(--tinta-suave) inset; }
.cal-dia.con-cita::after { content: ""; position: absolute; left: 50%; bottom: 5px; translate: -50% 0; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }
.cal-dia[aria-pressed="true"] { background: var(--acento); color: var(--texto-boton); box-shadow: none; }
.cal-dia[aria-pressed="true"].con-cita::after { background: var(--texto-boton); }
.cal-dia:disabled { background: transparent; box-shadow: none; color: var(--tinta-suave); opacity: .4; cursor: default; }
.cal-aviso { padding: 14px 16px; border-radius: var(--radio); background: var(--acento-suave); font-weight: 700; box-shadow: 0 0 0 1.5px var(--acento) inset; }
.cal-aviso[hidden] { display: none; }
.cal-campo-ancho { grid-column: 1 / -1; }
.reagendando .cal-campos, .reagendando .cal-tipo[aria-pressed="false"] { display: none; }
.reagendando .cal-tipos { grid-template-columns: 1fr; }

/* ── Catálogo en carrusel: 3 a la vista, el resto se desliza ──────────────── */
.catalogo-carrusel { position: relative; }
.rejilla-productos.carrusel {
  display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 12px 4px 18px; margin: -12px -4px 0;
}
.rejilla-productos.carrusel::-webkit-scrollbar { display: none; }
.rejilla-productos.carrusel > .producto { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; }
.catalogo-flecha {
  position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding-bottom: 4px; font-size: 1.8rem; line-height: 1; cursor: pointer;
  background: var(--superficie); color: var(--tinta); box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra);
}
.catalogo-flecha.anterior { left: -18px; }
.catalogo-flecha.siguiente { right: -18px; }
.catalogo-flecha:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 839px) {
  .rejilla-productos.carrusel > .producto { flex-basis: calc((100% - 22px) / 2); }
  .catalogo-flecha { display: none; }
}
@media (max-width: 599px) {
  .rejilla-productos.carrusel > .producto { flex-basis: min(80%, 320px); }
}
/* ── Catálogo: varias filas y columnas escondidas que se deslizan juntas ──── */
/* Computador: 3 filas × 3 columnas a la vista; tableta 2 × 2; celular 2 filas con una tarjeta y media. */
.catalogo-carrusel { position: relative; --columnas: 3; --filas: 3; --espacio: 22px; }
.catalogo-carrusel .rejilla-productos {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--filas), auto);
  grid-auto-columns: calc((100% - (var(--columnas) - 1) * var(--espacio)) / var(--columnas));
  grid-template-columns: none; gap: var(--espacio);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; padding: 12px 4px 18px; margin: -12px -4px 0;
}
.catalogo-carrusel .rejilla-productos::-webkit-scrollbar { display: none; }
.catalogo-carrusel .producto { scroll-snap-align: start; min-width: 0; }
.catalogo-flecha {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding-bottom: 4px; font-size: 1.8rem; line-height: 1; cursor: pointer;
  background: var(--superficie); color: var(--tinta); box-shadow: 0 0 0 1px var(--borde) inset, var(--sombra);
}
.catalogo-flecha.anterior { left: -18px; }
.catalogo-flecha.siguiente { right: -18px; }
.catalogo-flecha:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 839px) {
  .catalogo-carrusel { --columnas: 2; --filas: 2; --espacio: 14px; }
  .catalogo-flecha { display: none; }
}
@media (max-width: 599px) {
  .catalogo-carrusel { --columnas: 1.35; }
}

/* ── Densidad adaptativa: tamaños proporcionales a cada pantalla ─────────── */
.seccion { padding: clamp(44px, 6vw, 84px) 0; }
.titulo-seccion { font-size: clamp(1.55rem, 1.6vw + 1rem, 2.5rem); margin: 12px 0 10px; }
.subtitulo { font-size: clamp(.95rem, .3vw + .85rem, 1.08rem); }
.hero h1 { font-size: clamp(2.4rem, 3.4vw + 1.2rem, 4.4rem); }
.bento { margin-top: 36px; }
.kits { margin-top: 32px; }

/* Catálogo: 3 columnas × 2 filas en computador, fotos más bajas. */
.catalogo-carrusel { --filas: 2; }
@media (min-width: 840px) {
  .catalogo-carrusel .producto-foto { aspect-ratio: 4 / 3; }
  .producto-cuerpo { padding: 14px 18px 18px; }
  .producto-cuerpo h3 { font-size: 1.08rem; }
  .producto-cuerpo p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Calendario compacto: mes a la izquierda, horas y datos a la derecha. */
.calendario { max-width: 940px; margin-top: 28px; padding: clamp(14px, 2.2vw, 26px); gap: 12px; }
.cal-paso { margin-top: 0; font-size: .95rem; }
.cal-paso span { width: 22px; height: 22px; font-size: .74rem; }
.cal-tipo { padding: 10px 12px; gap: 10px; }
.cal-tipo > span:last-child { min-width: 0; }
.cal-tipo .icono-taller { width: 34px; height: 34px; }
.cal-tipo strong { font-size: .9rem; }
.cal-cuerpo { display: grid; gap: 14px; }
.cal-col-dia, .cal-col-hora { display: grid; gap: 10px; align-content: start; min-width: 0; }
.cal-col-hora { container-type: inline-size; }
.cal-mes { padding: 10px; }
.cal-mes-cabecera { margin-bottom: 4px; }
.cal-mes-cabecera strong { font-size: 1rem; }
.cal-mes-flecha { width: 32px; height: 32px; font-size: 1.15rem; }
.cal-semana, .cal-dias { gap: 4px; }
.cal-semana span { font-size: .66rem; padding: 2px 0; }
.cal-dia { aspect-ratio: auto; height: clamp(34px, 9vw, 40px); min-height: 0; border-radius: 10px; font-size: .86rem; }
.cal-dia.con-cita::after { bottom: 3px; width: 5px; height: 5px; }
.cal-horas {
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 6px; min-height: 0;
  max-height: 188px; overflow-y: auto; padding: 2px; align-content: start; scrollbar-width: thin;
}
.cal-hora { min-height: 36px; font-size: .84rem; }
.cal-form { padding: 14px; gap: 10px; }
.cal-campos input { min-height: 42px; }
.mis-citas { max-width: 940px; }
@container (min-width: 700px) {
  .cal-cuerpo { grid-template-columns: minmax(290px, 340px) 1fr; gap: 24px; align-items: start; }
  .cal-horas { max-height: 238px; }
}
@container (min-width: 380px) {
  .cal-col-hora .cal-campos { grid-template-columns: 1fr 1fr; }
}
/* Celular: los dos tipos de cita lado a lado y en una línea cada dato. */
@container (max-width: 520px) {
  .cal-tipos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cal-tipo { padding: 8px 10px; gap: 8px; align-items: flex-start; }
  .cal-tipo .icono-taller { width: 28px; height: 28px; }
  .cal-tipo strong { font-size: .8rem; }
  .cal-tipo small { display: block; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.calendario > *, .cal-tipos > *, .cal-cuerpo > * { min-width: 0; }
@media (max-width: 839px) {
  .catalogo-carrusel .producto-foto { aspect-ratio: 5 / 4; }
  .producto-cuerpo p { -webkit-line-clamp: 2; }
}

/* ══ Escala fluida global ═══════════════════════════════════════════════════
   La unidad base (rem) depende del ancho Y del alto de la pantalla: en portátiles con zoom de Windows
   (≈1280×585) baja a ~14px; en monitores grandes llega a 16px. Todos los componentes de abajo usan rem,
   así crecen o se encogen juntos y en proporción. */
html { font-size: 15px; }
@media (min-width: 840px) {
  html { font-size: clamp(13.5px, min(.7vw + 5px, 1.4vh + 5.5px), 16px); }
}

/* Estructura y tipografía */
.seccion { padding: clamp(2.25rem, 1rem + 3vw, 4.25rem) 0; }
.titulo-seccion { font-size: clamp(1.5rem, .9rem + 1.6vw, 2.4rem); margin: .7rem 0 .5rem; }
.subtitulo { font-size: 1rem; line-height: 1.55; }
.etiqueta { padding: .35rem .8rem; font-size: .72rem; }
.bento, .kits, .agenda { margin-top: 1.8rem; gap: 1rem; }
.acordeon { margin-top: 1.8rem; }

/* Botones */
.boton { min-height: 2.9rem; padding: 0 1.35rem; font-size: .95rem; gap: .55rem; }

/* Barra de navegación */
.barra { padding: .5rem 0; }
.barra-interior { height: 3.7rem; padding: 0 .55rem 0 1.15rem; }
.marca svg { height: 2.1rem; }
.menu a { padding: .5rem .8rem; font-size: .88rem; }
.barra .boton { min-height: 2.6rem; padding: 0 1.1rem; }
html { scroll-padding-top: 4.8rem; }

/* Portada */
.hero { padding: clamp(1.25rem, .5rem + 2.5vw, 3.25rem) 0 clamp(1.75rem, 1rem + 3vw, 3.75rem); }
.hero-rejilla { gap: clamp(1.5rem, 3vw, 3.5rem); }
.hero h1 { font-size: clamp(2.3rem, .9rem + 3.2vw, 4.2rem); margin: .8rem 0 1rem; }
.hero .subtitulo { font-size: 1.05rem; margin-bottom: 1.3rem; }
.selector-mundos { margin-bottom: 1.3rem; gap: .5rem; }
.selector-mundos legend { font-size: .8rem; margin-bottom: .45rem; }
.chip-mundo { min-width: 7.2rem; padding: .55rem .95rem; }
.chip-mundo strong { font-size: 1rem; }
.chip-mundo span { font-size: .74rem; }
.hero-visual { width: min(100%, 30rem, 66vh); justify-self: center; }
.hero-collage { gap: .75rem; }
.hero-zorro { width: clamp(64px, 6.5rem, 18vh); }
.insignia { padding: .55rem .8rem; font-size: .8rem; border-radius: 14px; }
.insignia small { font-size: .7rem; }
.cinta { padding: .65rem 0; }
.cinta-pista span { font-size: clamp(.95rem, .7rem + .9vw, 1.3rem); }

/* Tarjetas (mundos, taller, kits) */
.tarjeta { padding: clamp(1rem, .6rem + 1.2vw, 1.6rem); }
.tarjeta h3 { font-size: 1.22rem; margin: .5rem 0 .3rem; }
.tarjeta p { font-size: .92rem; line-height: 1.5; }
.tarjeta ul { margin-top: .7rem; gap: .3rem; font-size: .9rem; }
.tarjeta-mundo .edad { font-size: .72rem; padding: .2rem .65rem; }
.icono-taller { width: 2.7rem; height: 2.7rem; border-radius: 14px; }
.icono-taller svg { width: 1.3rem; height: 1.3rem; }
.subtitulo-bloque { font-size: 1.15rem; }

/* Slim Fit Largo */
.slim { gap: clamp(1.5rem, 3vw, 3.5rem); }
.comparativa { padding: 1.4rem; gap: 1rem; }
.fila-comparativa { grid-template-columns: 7.5rem 1fr; font-size: .86rem; gap: .7rem; }
.barra-comparativa { height: .7rem; }
.nota-tecnica { margin-top: 1rem; padding: .85rem 1rem; font-size: .88rem; }

/* Catálogo */
.filtros { margin: 1.3rem 0 1.5rem; gap: .4rem; }
.filtro { padding: .45rem 1.05rem; font-size: .9rem; }
.catalogo-carrusel { --espacio: 1rem; }
.producto-foto { max-height: clamp(9rem, 34vh, 17rem); margin: 6px 6px 0; }
.producto-mundo { top: 8px; left: 8px; padding: .2rem .6rem; font-size: .68rem; }
.producto-cuerpo { padding: .8rem 1rem 1rem; gap: .25rem; }
.producto-cuerpo h3 { font-size: 1.02rem; line-height: 1.15; }
.producto-cuerpo p { font-size: .84rem; line-height: 1.45; }
.producto-cuerpo small { font-size: .78rem; }
.precio { font-size: 1.15rem; }
.precio small { font-size: .72rem; }
.boton-producto { min-height: 2.4rem; margin-top: .45rem; font-size: .84rem; }
.catalogo-flecha { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }

/* Formulario de medidas */
.medidas { gap: clamp(1.25rem, 3vw, 3rem); }
.formulario { padding: clamp(1rem, .6rem + 1.4vw, 1.75rem); gap: .9rem; }
.campos { gap: .7rem; }
.campo { gap: .3rem; }
.campo label, .grupo-estilos legend { font-size: .82rem; }
.campo input, .campo textarea, .campo select { min-height: 2.75rem; padding: .55rem .85rem; font-size: .95rem; border-radius: 12px; }
.campo textarea { min-height: 4.5rem; }
.estilo { min-height: 2.3rem; padding: .35rem .9rem; font-size: .88rem; }
.consentimiento { font-size: .8rem; }
.resultado-talla { margin-top: 1.2rem; padding: 1.2rem; }
.resultado-talla strong { font-size: 2.2rem; }

/* QR */
.qr { padding: clamp(1.25rem, .8rem + 2vw, 2.5rem); gap: clamp(1.25rem, 3vw, 3rem); }
.qr-tarjeta { padding: .7rem; border-radius: 18px; }
.qr-tarjeta img { width: clamp(120px, 11rem, 28vh); }

/* Preguntas frecuentes */
.acordeon { gap: .5rem; }
.acordeon details { padding: .8rem 1.1rem; }
.acordeon summary { font-size: .95rem; }
.acordeon details p { font-size: .9rem; }

/* Pie de página */
.pie { padding: 2.75rem 0 3.5rem; }
.pie-rejilla { gap: 1.75rem; }
.pie h4 { margin-bottom: .7rem; font-size: .72rem; }
.pie ul { gap: .4rem; font-size: .92rem; }
.pie-marca p { margin-top: .7rem; font-size: .9rem; }
.pie-inferior { margin-top: 2rem; padding-top: 1.1rem; font-size: .8rem; }

/* Celular: tamaños táctiles cómodos y campos a 16px (evita el zoom automático del teclado). */
@media (max-width: 599px) {
  .campo input, .campo textarea, .campo select, .cal-campos input { font-size: 16px; }
  .tarjeta h3 { font-size: 1.12rem; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
}

/* ── Tarjeta de producto: forma original (foto cuadrada), tamaño reducido ──
   Para achicarla sin deformarla, la tarjeta se estrecha y caben más columnas según el ancho. */
.catalogo-carrusel .producto-foto { aspect-ratio: 1; max-height: none; margin: 8px 8px 0; }
.catalogo-carrusel .producto-cuerpo { padding: .95rem 1.1rem 1.15rem; gap: .3rem; }
.catalogo-carrusel .producto-cuerpo h3 { font-size: 1.05rem; }
.catalogo-carrusel .producto-cuerpo p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 840px)  { .catalogo-carrusel { --columnas: 3; } }
@media (min-width: 980px)  { .catalogo-carrusel { --columnas: 4; } }
@media (min-width: 1200px) { .catalogo-carrusel { --columnas: 5; } }
.catalogo-carrusel .boton-producto { white-space: nowrap; padding: 0 .6rem; font-size: clamp(.72rem, .55rem + .25vw, .82rem); min-height: 2.35rem; }

/* ── Tarjeta de producto proporcional ──────────────────────────────────────
   Todo lo interno va en "em": la tarjeta entera (foto, textos, botón) escala en bloque según el alto
   de la pantalla, conservando su forma. En pantallas anchas y bajas caben más columnas. */
.catalogo-carrusel .producto { font-size: clamp(11px, 2vh, 1rem); }
.catalogo-carrusel .producto-foto { margin: .55em .55em 0; }
.catalogo-carrusel .producto-mundo { top: .55em; left: .55em; padding: .2em .6em; font-size: .68em; }
.catalogo-carrusel .producto-cuerpo { padding: .9em 1em 1.05em; gap: .28em; }
.catalogo-carrusel .producto-cuerpo h3 { font-size: 1.05em; }
.catalogo-carrusel .producto-cuerpo p { font-size: .84em; }
.catalogo-carrusel .producto-cuerpo small { font-size: .78em; }
.catalogo-carrusel .precio { font-size: 1.15em; }
.catalogo-carrusel .precio small { font-size: .63em; }
.catalogo-carrusel .sello-slim { font-size: .7em; }
.catalogo-carrusel .boton-producto { font-size: .8em; min-height: 2.9em; margin-top: .55em; padding: 0 .7em; }
@media (min-width: 1100px) {
  .catalogo-carrusel { --columnas: 5; --espacio: .9rem; }
  .catalogo-carrusel .producto-cuerpo p { -webkit-line-clamp: 2; }
}
/* Columnas según el alto: la tarjeta mide ~16,5 veces su letra, igual que en el celular. */
@media (min-width: 1100px) and (max-height: 620px) { .catalogo-carrusel { --columnas: 6; } }
/* Escala más compacta en computador: la tarjeta ocupa ~la mitad del alto de pantalla o menos. */
@media (min-width: 1100px) {
  .catalogo-carrusel .producto { font-size: clamp(10px, 1.6vh + 1px, 1rem); }
  .catalogo-carrusel { --columnas: 5; }
}
@media (min-width: 1100px) and (max-height: 800px) { .catalogo-carrusel { --columnas: 6; } }
@media (min-width: 1100px) and (max-height: 620px) { .catalogo-carrusel { --columnas: 7; } }

/* ── Ajuste final de proporciones ─────────────────────────────────────────── */
/* La tarjeta es una copia exacta a escala: el redondeo también se mide en "em" y la descripción
   muestra las mismas 3 líneas en todas las pantallas. */
.catalogo-carrusel .producto { border-radius: min(var(--radio-grande), 1.8em); }
.catalogo-carrusel .producto-foto { border-radius: calc(min(var(--radio-grande), 1.8em) - .55em); }
.catalogo-carrusel .producto-cuerpo p { -webkit-line-clamp: 3; }

/* Celular en modo normal: toda la página más compacta y ~2 tarjetas por fila. */
@media (max-width: 599px) {
  html { font-size: 13.5px; }
  .catalogo-carrusel { --columnas: 2.1; --filas: 2; --espacio: 10px; }
  .catalogo-carrusel .producto { font-size: 10px; }
  .boton { min-height: 2.75rem; }
  .barra-interior { height: 3.4rem; }
  .marca svg { height: 1.9rem; }
}
@media (max-width: 599px) {
  .carrusel > * { flex-basis: min(64%, 250px); }
  .tarjeta { padding: 1rem; }
  .tarjeta h3 { font-size: 1.05rem; }
  .tarjeta p, .tarjeta ul { font-size: .85rem; }
  .tarjeta-mundo svg, .tarjeta-mundo img { max-width: 3.2rem; max-height: 3.2rem; }
  .taller { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .taller .tarjeta { padding: .85rem; }
  .taller .tarjeta p { font-size: .8rem; }
  .icono-taller { width: 2.3rem; height: 2.3rem; }
}
.qr-tarjeta { border-radius: 14px; } .mis-citas li { border-radius: 12px; } .insignia { border-radius: 11px; }
/* Celular: tarjeta de producto una décima más pequeña (ancho y letra en la misma proporción). */
@media (max-width: 599px) {
  .catalogo-carrusel { --columnas: 2.33; }
  .catalogo-carrusel .producto { font-size: 9px; }
}

/* ── Botón flotante de Trykx: el zorro y sus colores cambian con el estilo elegido ── */
#trykx-boton > span { display: none; place-items: center; }
#trykx-boton .zorro-kids { display: grid; }
body:has(#mundo-baby:checked) #trykx-boton .zorro-kids, body:has(#mundo-teens:checked) #trykx-boton .zorro-kids { display: none; }
body:has(#mundo-baby:checked) #trykx-boton .zorro-baby, body:has(#mundo-teens:checked) #trykx-boton .zorro-teens { display: grid; }
body:has(#mundo-baby:checked) #trykx-boton { background: #E3F6EF; box-shadow: 0 0 0 2px #2FA88C inset, 0 16px 34px -12px rgba(47, 168, 140, .8); }
body:has(#mundo-baby:checked) #trykx-boton::after { border-color: rgba(47, 168, 140, .5); }
body:has(#mundo-teens:checked) #trykx-boton { background: #0B0E14; box-shadow: 0 0 0 2px #00E5FF inset, 0 16px 34px -12px rgba(0, 229, 255, .7); }
body:has(#mundo-teens:checked) #trykx-boton::after { border-color: rgba(0, 229, 255, .5); }
