/* =========================================================
   Fiesta Colorin — hoja de estilos
   ========================================================= */

:root {
  /* Colores de marca (los mismos del sitio original) */
  --magenta: #9e005d;
  --morado: #a3208d;
  --fucsia: #fd13d4;
  --azul: #138cfd;
  --cielo: #009fff;
  --rojo: #d13535;
  --amarillo: #f2c94c;

  --tinta: #231a2b;
  --tinta-suave: #5c5363;
  --linea: #ece6ef;
  --fondo: #ffffff;
  --fondo-suave: #fbf8fc;

  --degradado: linear-gradient(135deg, #9e005d 0%, #d4148f 55%, #fd13d4 100%);
  --sombra-s: 0 1px 2px rgba(35, 26, 43, .06), 0 2px 8px rgba(35, 26, 43, .05);
  --sombra-m: 0 4px 12px rgba(35, 26, 43, .06), 0 16px 40px rgba(35, 26, 43, .08);
  --sombra-l: 0 10px 30px rgba(35, 26, 43, .10), 0 30px 80px rgba(35, 26, 43, .12);
  --radio: 20px;
  --radio-s: 12px;

  --ancho: 1200px;
  --margen: clamp(16px, 4vw, 40px);
  --seccion: clamp(64px, 9vw, 120px);
  --alto-header: 72px;
  --suave: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-header) + 12px); }
body {
  margin: 0; background: var(--fondo); color: var(--tinta);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; font-weight: 500; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--fucsia); outline-offset: 3px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 3000; padding: 10px 16px; border-radius: 10px; background: var(--tinta); color: #fff; text-decoration: none; }
.saltar:focus { top: 12px; }

/* Títulos de sección */
.encabezado-seccion { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.etiqueta {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: #fbe8f6; color: var(--magenta);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.titulo {
  font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--tinta);
}
.titulo .acento { background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitulo { margin-top: 14px; color: var(--tinta-suave); font-size: clamp(16px, 1.6vw, 18px); }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--suave), box-shadow .25s var(--suave), background-color .25s, color .25s;
}
.boton svg { width: 20px; height: 20px; flex: none; }
.boton-principal { background: var(--degradado); color: #fff; box-shadow: 0 8px 22px rgba(158, 0, 93, .28); }
.boton-principal:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(158, 0, 93, .36); }
.boton-secundario { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea), var(--sombra-s); }
.boton-secundario:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px #dccfe3, var(--sombra-m); }
.boton-claro { background: #fff; color: var(--magenta); box-shadow: 0 8px 22px rgba(0, 0, 0, .15); }
.boton-claro:hover { transform: translateY(-2px); }

/* Aparición suave al hacer scroll */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--suave), transform .8s var(--suave); }
.aparece.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Encabezado
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0, 159, 255, .30);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: transform .35s var(--suave), background-color .35s, box-shadow .35s;
}
.header.con-fondo { background: rgba(255, 255, 255, .82); box-shadow: 0 6px 24px rgba(35, 26, 43, .08); border-bottom-color: transparent; }
.header.escondido { transform: translateY(-110%); }
.header-fila { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--alto-header); max-width: 1440px; margin: 0 auto; padding: 0 var(--margen); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.marca img { width: 54px; height: auto; transition: transform .4s var(--suave); }
.marca:hover img { transform: rotate(-8deg) scale(1.05); }
.marca span { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  color: #2f2a33; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: color .25s, background-color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--suave);
}
.nav a:hover::after, .nav a.activo::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: #000; }
.header-extras { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); }
.grupo-iconos { display: flex; align-items: center; gap: 6px; }
.icono-link {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; padding: 0; border: 0;
  background: transparent; cursor: pointer; transition: transform .25s var(--suave), background-color .25s;
}
.icono-link:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .45); }
.icono-link img { width: 28px; height: 28px; }
.icono-link.bandera { opacity: .55; }
.icono-link.bandera img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.icono-link.bandera:hover { opacity: 1; }
.icono-link.bandera.activo { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0,0,0,.08); }
.icono-accion {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .6); color: #2f2a33; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: transform .25s var(--suave), background-color .25s, color .25s, box-shadow .25s;
}
.icono-accion svg { width: 22px; height: 22px; }
.icono-accion:hover { transform: translateY(-2px); background: #fff; color: var(--magenta); box-shadow: 0 6px 16px rgba(35, 26, 43, .12); }
.header.con-fondo .icono-accion { background: rgba(35, 26, 43, .05); box-shadow: none; }
.header.con-fondo .icono-accion:hover { background: #fff; box-shadow: 0 6px 16px rgba(35, 26, 43, .12); }
.header .carrito { gap: 10px; }
/* Logo a la izquierda, íconos al borde derecho y el menú en medio: al cambiar de idioma solo cambia el menú */
@media (min-width: 940px) {
  .header-fila > nav { flex: 1; min-width: 0; }
  .header-fila .nav { justify-content: center; }
}
@media (min-width: 1420px) {
  .header-fila { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-fila .marca { justify-self: start; }
  .header-fila .header-extras { justify-self: end; }
}
.separador-v { width: 1px; height: 26px; background: rgba(0, 0, 0, .12); }
.btn-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; place-items: center; }
.btn-menu:hover { background: rgba(0, 0, 0, .06); }
.btn-menu svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .header .redes-header, .header .separador-v.s1 { display: none; }
}
@media (max-width: 939px) {
  :root { --alto-header: 60px; }
  .nav, .header .carrito, .header .separador-v, .header .banderas-header { display: none; }
  .header .redes-header { display: flex; }
  .btn-menu { display: grid; order: -1; margin-left: -8px; }
  .marca { margin: 0 auto; }
  .marca img { width: 44px; }
  .marca span { display: none; }
}

/* Menú lateral (móvil) */
.cajon-fondo { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 12, 26, .45); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.cajon {
  position: fixed; inset: 0 auto 0 0; z-index: 2001; width: min(84vw, 320px);
  display: flex; flex-direction: column; gap: 24px; padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #fff; transform: translateX(-105%); visibility: hidden; transition: transform .4s var(--suave), visibility .4s, box-shadow .4s; overflow-y: auto;
}
body.cajon-abierto { overflow: hidden; }
body.cajon-abierto .cajon { transform: none; visibility: visible; box-shadow: var(--sombra-l); }
body.cajon-abierto .cajon-fondo { opacity: 1; visibility: visible; }
.cajon-arriba { display: flex; align-items: center; justify-content: space-between; }
.cajon-arriba img { width: 48px; height: auto; }
.cajon-lista { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.cajon-lista a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--linea); text-decoration: none; font-size: 18px; font-weight: 700; }
.cajon-lista a:hover { color: var(--magenta); }
.cajon .grupo-iconos { gap: 10px; }
.cajon .icono-link { width: 44px; height: 44px; background: var(--fondo-suave); }

/* =========================================================
   Carrusel principal
   ========================================================= */
.hero { position: relative; background: #3aa0f5; padding-top: var(--alto-header); }
.carrusel { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1920 / 1123; max-height: calc(100vh - var(--alto-header)); max-height: calc(100svh - var(--alto-header)); touch-action: pan-y; user-select: none; }
.carrusel-pista { display: flex; height: 100%; transition: transform .9s cubic-bezier(.65, 0, .35, 1); will-change: transform; transform: translate3d(0, 0, 0); }
.carrusel-pista.sin-transicion { transition: none; }
.diapositiva { flex: 0 0 100%; height: 100%; }
/* Fotos: versión de escritorio (2:1) o de celular (1.71:1) según la forma de la pantalla; si sobra, se recorta del lado derecho */
.diapositiva > picture { display: block; width: 100%; height: 100%; }
.diapositiva > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 50%; -webkit-user-drag: none; pointer-events: none; }
.diapositiva:not(.escena) > img, .diapositiva > video { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.carrusel-flecha {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; transform: translateY(-50%);
  border: 0; border-radius: 50%; cursor: pointer; color: var(--tinta);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--sombra-m);
  opacity: 0; transition: opacity .3s, transform .3s var(--suave), background-color .3s;
}
.carrusel-flecha svg { width: 22px; height: 22px; }
.carrusel-flecha.izq { left: clamp(12px, 3vw, 36px); }
.carrusel-flecha.der { right: clamp(12px, 3vw, 36px); }
.carrusel:hover .carrusel-flecha, .carrusel-flecha:focus-visible { opacity: 1; }
.carrusel-flecha:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carrusel-puntos { position: absolute; left: 0; right: 0; bottom: clamp(14px, 3vw, 30px); z-index: 2; display: flex; justify-content: center; gap: 10px; }
.carrusel-puntos button {
  position: relative; width: 38px; height: 6px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; overflow: hidden;
  background: rgba(255, 255, 255, .5); box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.carrusel-puntos button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.carrusel-puntos button.activo::after { animation: progreso var(--duracion, 7s) linear forwards; }
.carrusel.pausado .carrusel-puntos button.activo::after { animation-play-state: paused; }
@keyframes progreso { to { transform: scaleX(1); } }
@media (hover: none) { .carrusel-flecha { display: none; } }
/* Rayas dibujadas en vector (antes era una imagen de 1438 px que se veía borrosa) */
.franja { display: block; width: 100%; aspect-ratio: 1438 / 101; background: url(/img/franja.svg) 0 0 / auto 100% repeat-x; }

/* =========================================================
   Mayoreo
   ========================================================= */
.mayoreo { padding: clamp(40px, 6vw, 72px) 0 0; }
.mayoreo-tarjeta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 56px); border-radius: 28px; color: #fff; background: var(--degradado); box-shadow: var(--sombra-l);
}
.mayoreo-tarjeta::before, .mayoreo-tarjeta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .10); pointer-events: none; }
.mayoreo-tarjeta::before { width: 340px; height: 340px; right: -80px; top: -160px; }
.mayoreo-tarjeta::after { width: 220px; height: 220px; left: 38%; bottom: -150px; }
.mayoreo-tarjeta .etiqueta { background: rgba(255, 255, 255, .18); color: #fff; }
.mayoreo-tarjeta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.mayoreo-tarjeta p { margin-top: 10px; max-width: 560px; opacity: .92; }
.mayoreo-tarjeta .boton { position: relative; z-index: 1; }
@media (max-width: 760px) { .mayoreo-tarjeta { grid-template-columns: 1fr; text-align: center; } .mayoreo-tarjeta p { margin-inline: auto; } }

/* =========================================================
   Productos
   ========================================================= */
.productos { padding: var(--seccion) 0 calc(var(--seccion) * .6); }
.producto {
  --tono: #fff4e6; --tono-fuerte: #f28c28;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: var(--tono);
}
.producto + .producto { margin-top: clamp(20px, 3vw, 32px); }
.producto:nth-of-type(even) .producto-galeria { order: 2; }
.producto[data-tono="1"] { --tono: #fff3e4; --tono-fuerte: #ef8a1d; }
.producto[data-tono="2"] { --tono: #eaf4ff; --tono-fuerte: #1f63c6; }
.producto[data-tono="3"] { --tono: #f4eefe; --tono-fuerte: #7a3fd0; }
.producto[data-tono="4"] { --tono: #fff0ee; --tono-fuerte: #d9352a; }
.producto[data-tono="5"] { --tono: #f0f9e8; --tono-fuerte: #4f9a1c; }
.producto[data-tono="6"] { --tono: #e8f5fd; --tono-fuerte: #1586c9; }
.producto[data-tono="7"] { --tono: #fdeef7; --tono-fuerte: #c2187a; }

.producto-galeria { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.miniaturas { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.miniaturas button {
  display: block; width: 96px; height: 96px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #fff;
  box-shadow: var(--sombra-s); outline: 2px solid transparent; outline-offset: 2px; transition: transform .25s var(--suave), outline-color .25s, box-shadow .25s;
}
.miniaturas button:hover { transform: translateY(-2px); box-shadow: var(--sombra-m); }
.miniaturas button[aria-pressed="true"] { outline-color: var(--tono-fuerte); }
.miniaturas li:first-child button { background: var(--tono); }
.miniaturas li:first-child img { object-fit: contain; padding: 6px; }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.foto-grande { position: relative; display: grid; place-items: center; aspect-ratio: 55 / 65; max-height: 520px; margin-inline: auto; }
.foto-grande::before {
  content: ""; position: absolute; inset: 12% 8% 16%; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, .65) 55%, transparent 100%);
}
.foto-grande img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .6s var(--suave); }
.foto-grande img.cambiando { opacity: 0; transform: scale(.97); }
.foto-grande img.es-mini { width: 92%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--sombra-l); }
/* Fotos recortadas (fondo transparente): flotan sobre la tarjeta, sin marco, con sombra suave */
.producto.recortes .foto-grande img.es-mini { width: 96%; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 22px rgba(35, 26, 43, .18)); }
.producto.recortes .miniaturas img, .producto.recortes [data-grande] img { object-fit: contain; }
.producto:hover .foto-grande img:not(.es-mini) { transform: translateY(-6px) rotate(-1.5deg); }

.producto-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.producto-info .marca-producto { width: auto; height: clamp(64px, 8vw, 96px); object-fit: contain; }
.producto-info h3 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--tinta); }
.producto-info .sub { display: block; margin-top: 6px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: var(--tono-fuerte); letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--sombra-s); font-size: 14px; font-weight: 700; color: var(--tinta-suave); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.redes-mini { display: flex; gap: 8px; margin-top: 4px; }
.redes-mini a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--sombra-s); transition: transform .25s var(--suave); }
.redes-mini a:hover { transform: translateY(-3px); }
.redes-mini img { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .producto { grid-template-columns: 1fr; text-align: center; }
  .producto:nth-of-type(even) .producto-galeria { order: 0; }
  .producto-info { align-items: center; }
  .producto-galeria { grid-template-columns: 1fr; }
  .miniaturas { flex-direction: row; justify-content: center; order: 2; }
  .miniaturas button { width: 72px; height: 72px; border-radius: 14px; }
  .foto-grande { max-height: 380px; }
  .chips, .acciones, .redes-mini { justify-content: center; }
}

/* Accesos (seguimiento / favoritos / cesta) */
.accesos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(40px, 6vw, 72px); }
.acceso {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 16px; border-radius: var(--radio);
  background: var(--fondo-suave); text-align: center; transition: transform .3s var(--suave), box-shadow .3s, background-color .3s;
}
.acceso:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--sombra-m); }
.acceso img { width: 64px; height: auto; }
.acceso span { font-size: clamp(15px, 1.6vw, 19px); font-weight: 800; line-height: 1.25; }
@media (max-width: 520px) { .acceso { padding: 20px 8px; } .acceso img { width: 48px; } }

/* =========================================================
   Nosotros (inicio)
   ========================================================= */
.nosotros { padding: var(--seccion) 0; background: linear-gradient(180deg, #fff 0%, var(--fondo-suave) 100%); }
.nosotros-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.nosotros-texto .titulo { margin-bottom: 22px; color: var(--magenta); }
.nosotros-texto p { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; color: #3b3142; }
.nosotros-texto p + p { margin-top: 16px; }
.nosotros-texto .boton { margin-top: 28px; }
.nosotros-imagen { position: relative; }
.nosotros-imagen::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, #fde7f6, transparent); }
.nosotros-imagen img { position: relative; width: 100%; height: auto; }
@media (max-width: 860px) { .nosotros-grid { grid-template-columns: 1fr; text-align: center; } .nosotros-imagen { max-width: 480px; margin: 0 auto; } }

/* =========================================================
   Ocasiones
   ========================================================= */
.ocasiones { padding: var(--seccion) 0 0; }
.ocasiones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
/* Tarjeta de color con la foto en círculo que sobresale arriba */
.ocasion { --fondo-tarjeta: #ece0fd; position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; padding-top: 0; transition: transform .45s var(--suave); }
.ocasion[data-color="verde"] { --fondo-tarjeta: #d8fadb; }
.ocasion[data-color="amarillo"] { --fondo-tarjeta: #fbf3d6; }
.ocasion::before { content: ""; position: absolute; inset: 22% 0 0; border-radius: 28px; background: var(--fondo-tarjeta); transition: box-shadow .45s var(--suave); }
.ocasion:hover { transform: translateY(-8px); }
.ocasion:hover::before { box-shadow: 0 22px 40px rgba(35, 26, 43, .12); }
.ocasion img { position: relative; width: 78%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px #fff, var(--sombra-m); }
.ocasion figcaption { position: relative; padding: clamp(24px, 3vw, 36px) 16px clamp(28px, 3.5vw, 40px); text-align: center; color: var(--magenta); font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
@media (max-width: 640px) {
  .ocasiones-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; gap: 28px; }
  .ocasion { flex-direction: row; gap: 18px; }
  .ocasion::before { inset: 14% 0 14% 18%; }
  .ocasion img { width: 42%; }
  .ocasion figcaption { flex: 1; padding: 0 12px 0 0; text-align: left; font-size: 24px; }
}

/* =========================================================
   Encuéntranos
   ========================================================= */
.encuentranos { padding: var(--seccion) 0; }
.tiendas { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2.5vw, 28px); margin: 0; padding: 0; list-style: none; }
.tiendas li {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16px; border-radius: var(--radio); background: #fff;
  box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-s); transition: transform .3s var(--suave), box-shadow .3s;
}
.tiendas li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-m); }
.tiendas img { width: 88%; height: auto; }
@media (max-width: 640px) { .tiendas { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Contacto
   ========================================================= */
.contacto { padding: 0 0 var(--seccion); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contacto-info .titulo { color: var(--azul); }
.contacto-info > p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: #3b3142; }
.datos { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.dato { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--fondo-suave); }
.dato-icono { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: var(--magenta); box-shadow: var(--sombra-s); }
.dato-icono svg { width: 22px; height: 22px; }
.dato strong { display: block; font-weight: 800; }
.dato a { text-decoration: none; }
.dato a:hover { color: var(--magenta); }
.contacto-info .redes-mini { margin-top: 22px; }

.formulario { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: #fff; box-shadow: var(--sombra-l); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { position: relative; display: flex; flex-direction: column; gap: 6px; }
.campo.completo { grid-column: 1 / -1; }
.campo label { font-size: 14px; font-weight: 700; color: var(--tinta-suave); }
.campo label span { color: var(--fucsia); }
.campo input, .campo textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--linea); border-radius: 14px; background: var(--fondo-suave);
  font-size: 16px; outline: none; transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo input:hover, .campo textarea:hover { border-color: #dccfe3; }
.campo input:focus, .campo textarea:focus { border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(19, 140, 253, .12); }
.campo.error input, .campo.error textarea { border-color: var(--rojo); box-shadow: 0 0 0 4px rgba(209, 53, 53, .1); }
.campo input[type=number]::-webkit-inner-spin-button, .campo input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.aviso-seguridad { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff8e6; color: #6b5520; font-size: 14px; line-height: 1.5; }
.aviso-seguridad svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.formulario-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.formulario-pie img { height: 28px; width: auto; }
.formulario-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.nota-envio { margin-top: 18px; font-size: 14px; color: var(--tinta-suave); }
.formulario .boton[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) { .contacto-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .campos { grid-template-columns: 1fr; } .formulario-pie { justify-content: center; } .formulario-botones, .formulario-pie .boton { width: 100%; } }

/* Avisos emergentes */
.avisos { position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9000; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 16px; pointer-events: none; }
.aviso {
  display: flex; align-items: center; gap: 12px; max-width: 460px; padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--tinta); color: #fff; box-shadow: var(--sombra-l); font-size: 15px; font-weight: 600;
  animation: aviso-entra .45s var(--suave);
}
.aviso.ok { background: #fff; color: var(--tinta); }
.aviso img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.aviso.saliendo { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* =========================================================
   Pie de página
   ========================================================= */
.pie { position: relative; overflow: hidden; color: var(--tinta); background: #fff url(../img/pie-800.webp) center / cover no-repeat; }
@media (min-width: 801px) { .pie { background-image: url(../img/pie.webp); } }
.pie::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.55) 42%, rgba(255,255,255,.9) 62%); }
.pie-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px;
  padding-block: clamp(64px, 9vw, 120px) 40px;
}
.pie-logo img { width: clamp(150px, 17vw, 210px); height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.12)); }
.pie h3 { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.pie ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pie a { text-decoration: none; font-weight: 700; }
.pie a:hover { color: var(--magenta); }
.pie p { font-weight: 600; line-height: 1.55; }
.pie p + p { margin-top: 10px; }
/* Otras marcas de la familia */
.pie-marcas { position: relative; padding-block: 8px 28px; text-align: center; }
.pie-marcas ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.pie-marcas a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 18px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .78); box-shadow: var(--sombra-s); font-size: 13px; font-weight: 600; color: var(--tinta-suave); transition: transform .25s var(--suave), box-shadow .25s; }
.pie-marcas a:hover { transform: translateY(-3px); box-shadow: var(--sombra-m); color: var(--tinta-suave); }
.pie-marcas a > img { height: 56px; width: auto; }
.pie-tiendita { display: flex; align-items: center; gap: 10px; height: 56px; }
.pie-tiendita img { width: 44px; height: 44px; }
.pie-tiendita b { font-size: 22px; font-weight: 800; color: #ff1f8e; letter-spacing: -.01em; }
@media (max-width: 640px) { .pie-marcas ul { grid-template-columns: 1fr; max-width: 340px; } }
.pie-legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(35, 26, 43, .1); font-size: 14px; font-weight: 600; }
.pie-legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 1020px) {
  .pie::before { background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.95) 100%); }
  .pie-grid { grid-template-columns: 1fr 1fr; }
  .pie-logo { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .pie-grid { grid-template-columns: 1fr; } .pie-legal { flex-direction: column; } }

/* =========================================================
   Página Nosotros
   ========================================================= */
.pagina-hero {
  position: relative; display: grid; place-items: center; min-height: clamp(360px, 52vw, 560px);
  padding: calc(var(--alto-header) + 40px) var(--margen) 64px; text-align: center; overflow: hidden;
  background: #fff url(../img/nosotros-fondo-800.webp) center / cover no-repeat;
}
@media (min-width: 801px) { .pagina-hero { background-image: url(../img/nosotros-fondo.webp); } }
.pagina-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(255,255,255,.86) 60%, rgba(251,248,252,.96)); }
.pagina-hero > div { position: relative; max-width: 760px; }
.pagina-hero .titulo { font-size: clamp(38px, 6vw, 68px); color: var(--magenta); }
.pagina-hero p { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: #3b3142; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); padding-block: var(--seccion); }
.pilar { position: relative; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-m); overflow: hidden; }
.pilar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--degradado); }
.pilar-icono { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: #fbe8f6; color: var(--magenta); }
.pilar-icono svg { width: 28px; height: 28px; }
.pilar h2 { margin-bottom: 12px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.pilar p { color: #3b3142; font-size: 17px; line-height: 1.7; }
.pilar ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pilar li { padding: 8px 14px; border-radius: 999px; background: var(--fondo-suave); box-shadow: inset 0 0 0 1px var(--linea); font-weight: 700; font-size: 15px; }
.cta-final { padding-bottom: var(--seccion); }
@media (max-width: 900px) { .pilares { grid-template-columns: 1fr; } }

/* Página 404 */
.pagina-404 { min-height: 70vh; display: grid; place-items: center; padding: calc(var(--alto-header) + 60px) var(--margen) 80px; text-align: center; }
.pagina-404 .titulo { font-size: clamp(64px, 12vw, 140px); }
.pagina-404 p { margin: 12px 0 28px; font-size: 18px; color: var(--tinta-suave); }

/* ================== Escena animada del carrusel: camioneta ================== */
/* Todo se mide en cqw (1cqw = 1% del ancho del carrusel) para que escale igual en cualquier pantalla. */
.escena { position: relative; overflow: hidden; container-type: inline-size; }
.escena > *, .esc-camioneta > *, .esc-vehiculo > * { position: absolute; }
.escena img { -webkit-user-drag: none; pointer-events: none; }
.esc-cielo { inset: 0; background: linear-gradient(#45b3f3, #9fdcff 62%, #d9f4ff); }

.esc-nube { width: 13cqw; top: .4cqw; left: 0; animation: esc-nube 70s linear infinite; animation-delay: -22s; filter: drop-shadow(0 .4cqw .5cqw rgba(0, 60, 120, .15)); }
.esc-nube.n2 { width: 9cqw; top: 2.4cqw; animation-duration: 52s; animation-delay: -40s; }
@keyframes esc-nube { from { transform: translate3d(105cqw, 0, 0); } to { transform: translate3d(-20cqw, 0, 0); } }

/* Tiras que corren sin fin: el riel lleva la tira dos veces y se recorre media vuelta */
.esc-tira { left: 0; right: 0; overflow: hidden; }
.esc-riel { display: flex; width: max-content; height: 100%; animation: esc-riel 51s linear infinite; will-change: transform; }
.esc-riel img { height: 100%; width: auto; flex: none; }
@keyframes esc-riel { to { transform: translate3d(-50%, 0, 0); } }
.esc-ciudad { bottom: 11.8cqw; height: min(37cqw, calc(100% - 15.5cqw)); filter: drop-shadow(0 -.2cqw .6cqw rgba(0, 40, 90, .12)); }
.esc-arbustos { bottom: 11.2cqw; height: 7.5cqw; }
.esc-arbustos .esc-riel { animation-duration: 9s; }

.esc-calle { left: 0; right: 0; bottom: 0; height: 12cqw; background: #3e3849; box-shadow: inset 0 1.1cqw 0 #f7c9e0, inset 0 1.5cqw 0 #d9a3c3; overflow: hidden; }
.esc-rayas { position: absolute; left: 0; top: 6.6cqw; width: calc(100% + 10cqw); height: .8cqw; border-radius: .4cqw;
  background: repeating-linear-gradient(90deg, #fff 0 5cqw, transparent 5cqw 10cqw); animation: esc-rayas .36s linear infinite; }
@keyframes esc-rayas { to { transform: translate3d(-10cqw, 0, 0); } }

/* Camioneta: la llanta mide 6.2cqw, su vuelta (19.5cqw) cada .7s va al paso de las rayas */
.esc-camioneta { left: 25cqw; bottom: 2.6cqw; width: 44cqw; aspect-ratio: 2 / 1; }
.escena.activa .esc-camioneta { animation: esc-entra 1.9s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes esc-entra { from { transform: translate3d(-75cqw, 0, 0); } }
.esc-vehiculo { inset: 0; z-index: 1; transform-origin: 50% 90%; animation: esc-rebote .52s ease-in-out infinite alternate; }
@keyframes esc-rebote { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(0, -.35cqw, 0) rotate(-.4deg); } }
.esc-van { inset: 0; width: 100%; filter: drop-shadow(0 .5cqw .6cqw rgba(20, 10, 40, .25)); }
.esc-llanta { width: 14.1%; top: 71.9%; animation: esc-gira .7s linear infinite; filter: drop-shadow(0 .3cqw .3cqw rgba(0, 0, 0, .3)); }
.esc-llanta.t { left: 13.3%; }
.esc-llanta.d { left: 73.4%; }
@keyframes esc-gira { to { transform: rotate(360deg); } }
/* Calcomanía en el panel lateral de la camioneta (el panel va de 9% a 57% de ancho y de 24% a 50% de alto) */
.esc-calco { left: 10.4%; top: 25.6%; width: 45.4%; height: 22.6%; z-index: 1; display: flex; align-items: center; gap: 3%; padding: 0 3% 0 1.5%;
  border-radius: 1.2cqw; background: linear-gradient(100deg, #fff 0 34%, #ffe36e 34% 36%, #ff2d8f 36%); box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .9), 0 .2cqw .4cqw rgba(0, 0, 0, .2); overflow: hidden; }
.esc-calco > img { height: 80%; width: auto; flex: none; }
.esc-calco-texto { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #fff; white-space: nowrap; }
.esc-calco-texto small { font-size: .78cqw; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; margin-right: -.35em; }
.esc-calco-texto b { font-size: 2.15cqw; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 .15cqw 0 rgba(120, 0, 60, .35); }
.esc-calco-texto i { margin-top: .35cqw; font-size: .82cqw; font-weight: 700; font-style: normal; color: #fff36b; }

/* Productos en la parrilla: brincan un poco con el camino */
.esc-prod { bottom: 88.5%; height: 40%; transform-origin: 50% 100%; animation: esc-carga .52s ease-in-out infinite alternate; filter: drop-shadow(0 .3cqw .4cqw rgba(0, 0, 0, .25)); }
.esc-prod.a { left: 11%; --r: -7deg; }
.esc-prod.b { left: 22%; height: 45%; --r: 3deg; animation-delay: -.2s; }
.esc-prod.c { left: 35%; --r: -3deg; animation-delay: -.35s; }
.esc-prod.d { left: 47%; height: 42%; --r: 6deg; animation-delay: -.1s; }
@keyframes esc-carga { from { transform: rotate(var(--r)); } to { transform: translate3d(0, -.45cqw, 0) rotate(calc(var(--r) * -.4)); } }

/* Humo del escape */
.esc-humo { left: -5%; top: 66%; width: 8%; aspect-ratio: 260 / 206; background: url(/img/escena/humo.webp) center / contain no-repeat;
  opacity: 0; animation: esc-humo 1.5s ease-out infinite; }
.esc-humo.h2 { animation-delay: .5s; }
.esc-humo.h3 { animation-delay: 1s; }
@keyframes esc-humo { 0% { opacity: .9; transform: translate3d(0, 0, 0) scale(.35); } 100% { opacity: 0; transform: translate3d(-7cqw, -2.5cqw, 0) scale(1.5); } }

/* ================== Escena animada del carrusel: tren ================== */
/* Vía a 20cqw/s: la rueda (3.1cqw, vuelta de 9.74cqw) gira cada .49s para ir al paso */
/* El tren va hacia la izquierda: toda la escena se dibuja en espejo (movimiento, ruedas, humo y paisaje cambian de sentido juntos)
   y los empaques se vuelven a voltear para que se lean bien */
.escena-tren { transform: scaleX(-1); }
.escena-tren .esc-prod { scale: -1 1; }
.escena-tren .esc-cielo { background: linear-gradient(#9fdcf2, #d4f1f3 60%, #f1faf4); }
.escena-tren .esc-nube { top: 1.5cqw; width: 13cqw; animation-duration: 80s; animation-delay: -15s; }
.esc-globo { top: 0; left: 0; animation: esc-nube 95s linear infinite; }
.esc-globo img { display: block; width: 100%; animation: esc-flota 5s ease-in-out infinite alternate; filter: drop-shadow(0 .5cqw .6cqw rgba(0, 60, 90, .18)); }
.esc-globo.g1 { width: 6cqw; top: .5cqw; animation-delay: -10s; }
.esc-globo.g2 { width: 4cqw; top: 3cqw; animation-duration: 140s; animation-delay: -95s; }
.esc-globo.g2 img { animation-delay: -2s; }
.esc-globo.g3 { width: 7.5cqw; top: 0; animation-duration: 75s; animation-delay: -52s; }
.esc-globo.g3 img { animation-duration: 6.5s; animation-delay: -4s; }
@keyframes esc-flota { from { transform: translate3d(0, 0, 0) rotate(-2deg); } to { transform: translate3d(0, 2.2cqw, 0) rotate(2deg); } }

.esc-montanas { bottom: 12cqw; height: min(32cqw, calc(100% - 15cqw)); }
.esc-montanas .esc-riel { animation-duration: 70s; }
.esc-colinas { bottom: 6cqw; height: 21cqw; }
.esc-colinas .esc-riel { animation-duration: 25s; }
.esc-frente { bottom: -1.2cqw; height: 5cqw; z-index: 2; }
.esc-frente .esc-riel { animation-duration: 2.1s; }

.esc-suelo { left: 0; right: 0; bottom: 0; height: 7.8cqw; background: #2bb487; box-shadow: inset 0 .6cqw 0 #5fd3a7; overflow: hidden; }
.esc-suelo::before { content: ""; position: absolute; left: 0; right: 0; top: .5cqw; height: .55cqw; background: #c9ced8; box-shadow: 0 .18cqw 0 #8b93a3; z-index: 1; }
.esc-durmientes { position: absolute; left: 0; top: .6cqw; width: calc(100% + 4cqw); height: 1.6cqw;
  background: repeating-linear-gradient(90deg, #9a6a45 0 1.4cqw, transparent 1.4cqw 4cqw); animation: esc-durmientes .2s linear infinite; }
@keyframes esc-durmientes { to { transform: translate3d(-4cqw, 0, 0); } }

.esc-tren { left: 14cqw; bottom: 6.9cqw; width: 72.5cqw; height: 16cqw; z-index: 1; }
.escena.activa .esc-tren { animation: esc-entra 2.4s cubic-bezier(.2, .8, .25, 1) both; }
.esc-tren > * { position: absolute; }
.esc-carro { bottom: .38cqw; width: 23cqw; aspect-ratio: 2079 / 756; transform-origin: 50% 100%; animation: esc-rebote .45s ease-in-out infinite alternate; }
.esc-carro.v2 { left: 0; animation-delay: -.3s; }
.esc-carro.v1 { left: 24.5cqw; animation-delay: -.15s; }
.esc-carro.loco { left: 46.5cqw; bottom: .3cqw; width: 26cqw; aspect-ratio: 2 / 1; }
.esc-carro > * { position: absolute; }
.esc-caja { inset: 0; width: 100%; filter: drop-shadow(0 .4cqw .5cqw rgba(20, 60, 50, .25)); }
.esc-rueda { bottom: 0; width: 3.1cqw; z-index: 1; animation: esc-gira .49s linear infinite; filter: drop-shadow(0 .2cqw .2cqw rgba(0, 0, 0, .3)); }
/* Productos dentro del vagón: detrás del frente, delante de la pared del fondo */
.escena-tren .esc-prod { bottom: 34%; height: 95%; }
.esc-frente-vagon { z-index: 1; clip-path: polygon(0 23.5%, 100% 23.5%, 100% 100%, 0 100%); filter: none; }
.escena-tren .esc-prod.a { left: 8%; --r: -8deg; }
.escena-tren .esc-prod.b { left: 38%; height: 90%; --r: 4deg; }
.escena-tren .esc-prod.c { left: 62%; --r: -3deg; }
.escena-tren .esc-humo { left: 63.8cqw; top: auto; bottom: 12.2cqw; width: 6cqw; filter: drop-shadow(0 .2cqw .4cqw rgba(60, 40, 70, .3)); animation: esc-vapor 1.8s ease-out infinite; }
.escena-tren .esc-humo.h2 { animation-delay: .6s; }
.escena-tren .esc-humo.h3 { animation-delay: 1.2s; }
@keyframes esc-vapor { 0% { opacity: 1; transform: translate3d(0, 0, 0) scale(.45); } 100% { opacity: 0; transform: translate3d(-9cqw, -7cqw, 0) scale(1.8); } }

.escena:not(.activa) * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .escena * { animation: none !important; } }

/* ================== Tienda: compra por caja ================== */
.tienda-demo { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 999px; background: #fff8e6; color: #6b5520; font-size: 13px; font-weight: 700; }
.tienda-demo[hidden] { display: none; }

.producto { position: relative; }
.compra { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 440px; }
.compra-precio { display: flex; align-items: baseline; gap: 8px; }
.compra-precio strong { font-size: clamp(30px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; color: var(--tinta); }
.compra-precio span { font-weight: 700; color: var(--tinta-suave); }
.compra-caja { color: var(--tinta-suave); font-size: 15px; font-weight: 600; }
.compra-fila { display: flex; flex-wrap: wrap; gap: 12px; }
.compra-fila .boton { flex: 1 1 200px; }
.cantidad { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea), var(--sombra-s); }
.cantidad button { width: 46px; height: 100%; border: 0; background: none; font-size: 22px; font-weight: 700; cursor: pointer; color: var(--tono-fuerte, var(--magenta)); border-radius: 999px; }
.cantidad button:hover:not([disabled]) { background: rgba(0, 0, 0, .04); }
.cantidad button[disabled] { opacity: .3; cursor: default; }
.cantidad output { min-width: 28px; text-align: center; font-size: 17px; font-weight: 800; }
.cantidad.chica { height: 36px; }
.cantidad.chica button { width: 34px; font-size: 18px; }
.compra-mayoreo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 12px; border-top: 1px dashed rgba(0, 0, 0, .12); font-size: 14px; font-weight: 600; color: var(--tinta-suave); }
.compra-mayoreo span { display: flex; gap: 8px; }
.compra-mayoreo a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: var(--sombra-s); color: var(--tinta); font-weight: 700; text-decoration: none; transition: transform .25s var(--suave); }
.compra-mayoreo a:hover { transform: translateY(-2px); }
.compra-mayoreo svg { width: 16px; height: 16px; color: #25a244; }
.compra-mayoreo a + a svg { color: var(--magenta); }
@media (max-width: 860px) { .compra { align-items: center; margin-inline: auto; } .compra-mayoreo { justify-content: center; } .compra-fila { justify-content: center; } }

/* Favorito */
.corazon {
  position: absolute; top: 4%; right: 4%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; box-shadow: var(--sombra-m); cursor: pointer; color: var(--tinta-suave); transition: transform .25s var(--suave), color .25s;
}
.corazon svg { width: 22px; height: 22px; }
.corazon:hover { transform: scale(1.08); }
.corazon[aria-pressed="true"] { color: #e0245e; }
.corazon[aria-pressed="true"] svg { fill: currentColor; }

/* Zoom estilo Amazon: lente sobre la foto y vista ampliada encima de la información */
.foto-grande { cursor: zoom-in; }
.zoom-pista { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 700; color: var(--tinta-suave); pointer-events: none; transition: opacity .25s; }
.zoom-lente { position: absolute; left: 0; top: 0; z-index: 1; border-radius: 10px; background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 0 0 9999px rgba(255, 255, 255, .0); outline: 1.5px solid rgba(35, 26, 43, .35); pointer-events: none; opacity: 0; transition: opacity .2s; }
.zoom-vista { position: absolute; z-index: 5; border-radius: 22px; background-color: #fff; background-repeat: no-repeat; box-shadow: var(--sombra-l), 0 0 0 1px var(--linea); pointer-events: none; opacity: 0; transform: scale(.98); transition: opacity .2s, transform .2s var(--suave); }
.producto.con-zoom .zoom-lente, .producto.con-zoom .zoom-vista { opacity: 1; transform: none; }
.producto.con-zoom .zoom-pista { opacity: 0; }
.producto.con-zoom .foto-grande img { transform: none !important; }

/* Visor de imagen ampliada */
.visor { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; background: rgba(20, 12, 26, .82); cursor: zoom-out; animation: visor-entra .25s var(--suave); }
.visor img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.visor-cerrar { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.visor-cerrar svg { width: 24px; height: 24px; }
.visor.saliendo { opacity: 0; transition: opacity .25s; }
@keyframes visor-entra { from { opacity: 0; } }

/* Contadores del carrito */
.con-contador, .acceso { position: relative; }
.contador { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.contador[hidden] { display: none; }
.acceso { border: 0; font: inherit; color: inherit; cursor: pointer; }
.acceso .contador { top: 14px; right: calc(50% - 50px); }
.carrito-movil { display: none; }
@media (max-width: 939px) { .header .carrito-movil { display: grid; } }
@media (max-width: 520px) { .header .redes-header { display: none; } }

.formulario-listo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #e9fbef; }
.formulario-web { flex-basis: 100%; font-size: 13px; font-weight: 600; color: #1f5f35; }
.formulario-listo p { margin: 0; flex: 1 1 220px; font-size: 14px; font-weight: 600; color: #1f5f35; }

/* Panel lateral: carrito, favoritos y seguimiento */
.panel-tienda { position: fixed; inset: 0; z-index: 2500; pointer-events: none; }
.panel-fondo { position: absolute; inset: 0; background: rgba(20, 12, 26, .45); opacity: 0; transition: opacity .35s; }
.panel-caja {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(100vw, 440px);
  background: #fff; box-shadow: var(--sombra-l); transform: translateX(105%); transition: transform .4s var(--suave); outline: none;
}
.panel-abierto .panel-tienda { pointer-events: auto; }
.panel-abierto .panel-fondo { opacity: 1; }
.panel-abierto .panel-caja { transform: none; }
.panel-abierto { overflow: hidden; }
.panel-arriba { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--linea); }
.panel-arriba h2 { font-size: 20px; font-weight: 800; }
.panel-cuerpo { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.panel-pie { padding: 16px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); background: var(--fondo-suave); }
.panel-pie:empty { display: none; }
.panel-vacio { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 48px 0; text-align: center; color: var(--tinta-suave); }
.panel-texto { margin: 16px 0; color: var(--tinta-suave); }
.panel-nota { margin-top: 10px; font-size: 13px; color: var(--tinta-suave); }
.panel-seguro { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--tinta-suave); text-align: center; }
.panel-seguro svg { width: 14px; height: 14px; flex: none; }
.panel-alerta { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #fbe8f6; color: var(--magenta); font-weight: 700; font-size: 14px; }
.panel-demo { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: #fff8e6; color: #6b5520; font-size: 12px; font-weight: 700; text-align: center; }
.demo-caja { margin-bottom: 14px; padding: 16px; border-radius: 16px; background: #fff8e6; color: #5a4718; font-size: 14px; }
.demo-caja strong { display: block; margin-bottom: 4px; font-size: 16px; }
.demo-caja .boton { margin-top: 12px; }
.boton.ancho { width: 100%; margin-top: 12px; }
.lineas { margin: 0; padding: 0; list-style: none; }
.linea { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.linea img { width: 64px; height: 76px; object-fit: contain; }
.linea-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.linea-info strong { font-weight: 800; }
.linea-info > span { font-size: 13px; color: var(--tinta-suave); }
.linea-acciones { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.linea-total { align-self: start; padding-top: 2px; }
.enlace { padding: 0; border: 0; background: none; color: var(--magenta); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.enlace.suave { color: var(--tinta-suave); font-weight: 600; }
.barra-envio { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--tinta-suave); }
.barra-envio span { display: block; height: 6px; margin-bottom: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--magenta) calc(var(--avance) * 100%), var(--linea) 0); }
.totales { margin: 0; }
.totales div { display: flex; justify-content: space-between; padding: 4px 0; }
.totales dt { color: var(--tinta-suave); }
.totales dd { margin: 0; font-weight: 700; }
.totales .gran-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--linea); font-size: 18px; }
.totales .gran-total dt { color: var(--tinta); font-weight: 800; }
.totales .gran-total dd { font-weight: 800; }
.seguimiento { display: flex; flex-direction: column; gap: 14px; }
.seguimiento .campo { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.seguimiento input { height: 50px; padding: 0 16px; border: 1.5px solid var(--linea); border-radius: 14px; }

/* Página de confirmación */
.gracias { min-height: 76vh; display: grid; place-items: center; padding: calc(var(--alto-header) + 48px) var(--margen) 72px; text-align: center; }
.gracias img { width: 120px; margin: 0 auto 20px; }
.gracias p { max-width: 520px; margin: 14px auto 0; font-size: 18px; color: var(--tinta-suave); }
.gracias .tienda-demo { font-size: 14px; }
.gracias .boton { margin-top: 28px; }

/* Página de políticas */
.politicas { padding: calc(var(--alto-header) + 56px) 0 80px; }
.politicas article { max-width: 760px; margin: 0 auto; }
.politicas .actualizado { margin: 10px 0 24px; color: var(--tinta-suave); font-size: 14px; }
.politicas section { padding-top: 28px; scroll-margin-top: calc(var(--alto-header) + 16px); }
.politicas h2 { margin-bottom: 10px; font-size: 22px; font-weight: 800; color: var(--magenta); }
.politicas p { margin-top: 10px; line-height: 1.7; color: #3b3142; }
html[lang="en"] .solo-es, html:not([lang="en"]) .solo-en { display: none; }
.panel-arriba .btn-menu { order: 0; margin: 0 -8px 0 0; }
/* La caja de la foto ocupa su columna aunque la imagen sea chica (miniaturas de 165 px) */
.foto-grande { width: 100%; max-width: 440px; }
