/* MANARI - Tienda. Colores tomados del manual del logo. */
:root {
  --marino: #0B2A6B;
  --marino-2: #0D3580;
  --azul: #1A63BF;
  --celeste: #3A9FE0;
  --hielo: #E4F2FC;
  --niebla: #F4F9FE;
  --blanco: #FFFFFF;
  --texto: #2F4268;
  --suave: #6B7FA3;
  --linea: #D5E6F5;
  --rojo: #B3261E;
  --titulos: 'Marcellus', 'Times New Roman', serif;
  --cuerpo: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radio: 18px;
  --sombra: 0 18px 40px -22px rgba(11, 42, 107, .45);
  --curva: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanco); color: var(--texto);
  font-family: var(--cuerpo); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--titulos); font-weight: 400; color: var(--marino); margin: 0; line-height: 1.12; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: min(1180px, 100% - 40px); margin-inline: auto; }
.seccion { padding: clamp(72px, 10vw, 128px) 0; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--marino); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 8px; }

.sobretitulo {
  font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--azul);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.sobretitulo::before { content: ''; width: 34px; height: 1px; background: currentColor; }

.titulo { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.titulo p:last-child { margin-top: 14px; color: var(--suave); }
.titulo--izq { text-align: left; margin: 0; }
.titulo--claro h2 { color: #fff; }
.titulo--claro .sobretitulo { color: #9CD2F7; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--curva), box-shadow .25s var(--curva), background .25s, color .25s, border-color .25s;
}
.btn--lleno { background: var(--marino); color: #fff; box-shadow: 0 14px 26px -14px rgba(11, 42, 107, .8); }
.btn--lleno:hover { background: var(--azul); transform: translateY(-2px); }
.btn--linea { border-color: var(--marino); color: var(--marino); background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--linea:hover { background: var(--marino); color: #fff; }
.btn--blanco { background: #fff; color: var(--marino); }
.btn--blanco:hover { background: var(--hielo); transform: translateY(-2px); }
.btn--ancho { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Barra "nivel de agua": se llena al bajar por la pagina */
.nivel { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.nivel span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--celeste), var(--azul)); }

/* Cabecera */
.cabecera { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s, padding .35s; padding: 16px 0; }
.cabecera--solida { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); padding: 8px 0; }
.cabecera__fila { display: flex; align-items: center; gap: 24px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marca__emblema { width: 64px; height: auto; }
.marca__nombre { width: 128px; height: auto; }
.menu { display: flex; gap: 26px; }
.menu a { color: var(--marino); text-decoration: none; font-weight: 500; font-size: .92rem; position: relative; padding: 6px 0; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--celeste); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--curva); }
.menu a:hover::after { transform: scaleX(1); }
.boton-carrito {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 0; background: var(--marino); color: #fff; cursor: pointer; font-weight: 600; font-size: .9rem;
  transition: background .25s, transform .25s var(--curva);
}
.boton-carrito:hover { background: var(--azul); }
.boton-carrito__cuenta { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--marino); display: grid; place-items: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.boton-carrito.salta { animation: salta .5s var(--curva); }
@keyframes salta { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

/* Portada */
.portada { position: relative; min-height: min(100svh, 880px); display: flex; align-items: center; overflow: hidden; padding: 130px 0 150px; isolation: isolate; }
.portada__fondo { position: absolute; inset: -6% 0 -6% 0; z-index: -3; will-change: transform; }
.portada__fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; animation: acerca 2.4s var(--curva) both; }
@keyframes acerca { from { transform: scale(1.08); } to { transform: scale(1); } }
.portada__velo { position: absolute; inset: 0; z-index: -2; background: linear-gradient(95deg, rgba(244, 249, 254, .9) 0%, rgba(244, 249, 254, .62) 34%, rgba(244, 249, 254, 0) 62%); }
.portada__contenido { max-width: 1180px; }
.portada__contenido > * { max-width: 600px; }
.portada__texto { font-size: clamp(1.02rem, 1.5vw, 1.2rem); margin-top: 22px; color: var(--marino-2); max-width: 480px; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.portada__ola { position: absolute; left: 0; bottom: -1px; width: 200%; height: clamp(60px, 9vw, 120px); z-index: -1; }
.ola--atras { fill: rgba(255, 255, 255, .55); animation: corre 16s linear infinite; }
.ola--frente { fill: #fff; animation: corre 10s linear infinite; }
@keyframes corre { to { transform: translateX(-50%); } }

.js .entra { opacity: 0; transform: translateY(26px); animation: entra .9s var(--curva) var(--d, 0s) forwards; }
@keyframes entra { to { opacity: 1; transform: none; } }

/* Ondas del logo: anillos que se expanden */
.ondas { position: absolute; right: 21%; bottom: 23%; width: 0; height: 0; z-index: -1; pointer-events: none; }
.ondas i { position: absolute; left: 0; top: 0; width: 260px; height: 92px; margin: -46px 0 0 -130px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); opacity: 0; animation: onda 5.4s ease-out infinite; }
.ondas i:nth-child(2) { animation-delay: 1.8s; }
.ondas i:nth-child(3) { animation-delay: 3.6s; }
@keyframes onda { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.ondas--foto { right: auto; bottom: auto; left: 53%; top: 33%; z-index: 1; }
.ondas--foto i { width: 340px; height: 120px; margin: -60px 0 0 -170px; border-color: rgba(255, 255, 255, .7); }
.ondas--mini { position: relative; right: auto; bottom: auto; left: 50%; height: 70px; z-index: 0; }
.ondas--mini i { top: 35px; width: 150px; height: 54px; margin: -27px 0 0 -75px; border-color: var(--celeste); }

/* Datos rapidos */
.datos { padding: 12px 0 0; position: relative; z-index: 2; }
.datos__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 1px solid var(--linea); border-radius: var(--radio); background: #fff; box-shadow: var(--sombra); padding: 10px; }
.dato { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; }
.dato + .dato { border-left: 1px solid var(--linea); border-radius: 0; }
.dato svg { width: 38px; height: 38px; flex: none; fill: none; stroke: var(--azul); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dato strong { display: block; color: var(--marino); font-size: .98rem; font-weight: 600; line-height: 1.25; }
.dato span { font-size: .84rem; color: var(--suave); line-height: 1.35; display: block; margin-top: 2px; }

/* Productos */
.productos__grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.producto { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--curva), box-shadow .45s var(--curva), border-color .3s; }
.producto:hover { transform: translateY(-8px); box-shadow: var(--sombra); border-color: #B9D9F2; }
.producto__foto { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--hielo); }
.producto__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--curva); }
.producto:hover .producto__foto img { transform: scale(1.06); }
.producto__etiqueta { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); color: var(--marino); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.producto__cuerpo { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.producto__desc { font-size: .9rem; color: var(--suave); flex: 1; }
.producto select, .producto__unica {
  width: 100%; min-height: 44px; border: 1px solid var(--linea); border-radius: 10px; background: var(--niebla); padding: 0 12px; font-size: .86rem; color: var(--marino); font-weight: 500;
}
.producto__unica { display: flex; align-items: center; }
.producto__fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.producto__fila--accion { flex-wrap: wrap; }
.producto__fila--accion .btn { flex: 1 1 110px; }
.producto__precio { font-family: var(--titulos); font-size: 1.7rem; color: var(--marino); white-space: nowrap; }
.producto__mayor { font-size: .84rem; color: var(--texto); margin-top: -4px; }
.producto__mayor strong { color: var(--marino); }
.producto__nota { font-size: .82rem; color: var(--suave); margin-top: -4px; }
.producto__mayor a { font-weight: 600; white-space: nowrap; }
.producto .btn { min-height: 46px; padding: 0 18px; font-size: .9rem; }
.producto .btn.listo { background: var(--celeste); }

.cantidad { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: 999px; background: #fff; }
.cantidad button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; color: var(--marino); border-radius: 50%; line-height: 1; }
.cantidad button:hover { background: var(--hielo); }
.cantidad output { min-width: 26px; text-align: center; font-weight: 600; color: var(--marino); font-variant-numeric: tabular-nums; }

/* Franja de tejido andino (guiño al diseño de la caja) */
.tejido {
  height: 22px; opacity: .9;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cpath d='M0 11h4V7h4V3h6v4h4v4h4v4h-4v4h-6v-4H8v-4H4z' fill='none' stroke='%231A63BF' stroke-width='1.4'/%3E%3Crect x='9' y='9' width='4' height='4' fill='%233A9FE0'/%3E%3Cpath d='M22 11h4V7h4V3h6v4h4v4h4' fill='none' stroke='%231A63BF' stroke-width='1.4'/%3E%3Cpath d='M26 11v4h4v4h6v-4h4v-4' fill='none' stroke='%231A63BF' stroke-width='1.4'/%3E%3Crect x='31' y='9' width='4' height='4' fill='%230B2A6B'/%3E%3C/svg%3E") center / 44px 22px repeat-x;
  border-block: 1px solid var(--linea);
}

/* Origen */
.origen { background: linear-gradient(180deg, #fff, var(--niebla)); }
.origen__fila { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.origen__foto { margin: 0; position: relative; border-radius: 220px 220px var(--radio) var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.origen__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.origen__texto p:not(.sobretitulo) { margin-top: 18px; max-width: 520px; font-size: 1.05rem; }
.origen__lista { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; max-width: 520px; }
.origen__lista li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid var(--linea); color: var(--marino); font-weight: 500; }
.origen__lista li:last-child { border-bottom: 1px solid var(--linea); }
.origen__lista span { font-family: var(--titulos); color: var(--celeste); font-size: 1.1rem; }

/* Historia */
.historia__fila { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.historia__intro { position: sticky; top: 110px; }
.historia blockquote { margin: 28px 0 0; padding-left: 22px; border-left: 2px solid var(--celeste); font-family: var(--titulos); font-size: 1.35rem; line-height: 1.4; color: var(--azul); max-width: 420px; }
.historia__linea { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; display: grid; gap: 40px; }
.historia__linea::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--celeste), var(--linea)); }
.historia__linea li { position: relative; }
.historia__linea li::before { content: ''; position: absolute; left: -34px; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--celeste); box-shadow: 0 0 0 5px rgba(58, 159, 224, .16); }
.historia__linea h3 { margin-bottom: 8px; }
.historia__linea p { max-width: 520px; }

/* Momentos */
.momentos__grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.momento { position: relative; border-radius: var(--radio); overflow: hidden; color: #fff; }
.momento--bajo { margin-top: 64px; }
.momento img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--curva); }
.momento:hover img { transform: scale(1.04); }
.momento__texto { position: absolute; inset: auto 0 0 0; padding: 90px 28px 28px; background: linear-gradient(180deg, rgba(11, 42, 107, 0), rgba(11, 42, 107, .88)); }
.momento h3 { color: #fff; font-size: 1.7rem; }
.momento p { margin-top: 8px; max-width: 380px; opacity: .92; font-size: .96rem; }
.momento a { display: inline-block; margin-top: 14px; color: #fff; font-weight: 600; font-size: .9rem; text-underline-offset: 5px; }

/* Como pedir */
.pedir { background: radial-gradient(120% 140% at 85% 0%, #1A63BF 0%, #0D3580 45%, #0B2A6B 100%); color: #DCEBFA; position: relative; overflow: hidden; }
.pedir::before { content: ''; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 70px rgba(255, 255, 255, .04), 0 0 0 150px rgba(255, 255, 255, .03); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.pasos li { border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radio); padding: 30px 26px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.pasos__n { font-family: var(--titulos); font-size: 2.6rem; color: #9CD2F7; line-height: 1; display: block; margin-bottom: 18px; }
.pasos h3 { color: #fff; margin-bottom: 8px; }
.pasos p { font-size: .95rem; }

/* Linea completa */
.linea { background: var(--niebla); }
.linea__fila { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.linea__texto p:not(.sobretitulo) { margin: 16px 0 30px; font-size: 1.05rem; }
.linea__mosaico { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.linea__mosaico img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }
.linea__mosaico img:nth-child(even) { translate: 0 22px; }

/* Preguntas */
.preguntas__fila { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon details:first-child { border-top: 1px solid var(--linea); }
.acordeon summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--titulos); font-size: 1.25rem; color: var(--marino); }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: '+'; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-family: var(--cuerpo); font-size: 1.5rem; color: var(--azul); transition: rotate .3s var(--curva); }
.acordeon details[open] summary::after { rotate: 45deg; }
.acordeon details p { padding: 0 44px 24px 0; }

/* Pie */
.pie { background: var(--marino); color: #C9DCF3; padding: 64px 0 28px; }
.pie__fila { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: center; }
.pie__marca img { width: 190px; }
.pie__enlaces { display: grid; gap: 10px; justify-items: start; }
.pie__enlaces a { color: #C9DCF3; text-decoration: none; }
.pie__enlaces a:hover { color: #fff; }
.pie__contacto { justify-self: end; text-align: right; }
.pie__contacto p { margin-top: 14px; font-size: .88rem; }
.pie__telefonos a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pie__telefonos a:hover { text-decoration: underline; }
.pie__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; opacity: .8; }

.flotante { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--curva); }
.flotante:hover { transform: scale(1.08); }

/* Mi pedido (panel lateral) */
.telon { position: fixed; inset: 0; z-index: 70; background: rgba(11, 42, 107, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.telon.visible { opacity: 1; }
.carrito { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--curva); box-shadow: -30px 0 60px -30px rgba(11, 42, 107, .5); visibility: hidden; }
.carrito.abierto { transform: none; visibility: visible; }
.carrito__cabeza { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--linea); }
.carrito__cabeza h2 { font-size: 1.6rem; }
.carrito__cerrar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--niebla); color: var(--marino); cursor: pointer; display: grid; place-items: center; }
.carrito__paso { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.carrito__paso[hidden] { display: none; }
.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 18px 22px; }
.carrito__pie { padding: 18px 22px 22px; border-top: 1px solid var(--linea); background: var(--niebla); }
.carrito__vacio { text-align: center; padding: 60px 0; color: var(--suave); }
.carrito__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.item { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--linea); }
.item img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; }
.item__nombre { color: var(--marino); font-weight: 600; line-height: 1.25; }
.item__opcion { font-size: .82rem; color: var(--suave); margin-bottom: 8px; }
.item__total { font-weight: 600; color: var(--marino); text-align: right; white-space: nowrap; }
.item__quitar { display: block; margin: 6px 0 0 auto; border: 0; background: none; color: var(--suave); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.item .cantidad button { width: 32px; height: 32px; }

.totales { margin: 0 0 14px; display: grid; gap: 6px; }
.totales div { display: flex; justify-content: space-between; font-size: .93rem; }
.totales dd { margin: 0; font-variant-numeric: tabular-nums; }
.totales__total { font-size: 1.15rem !important; color: var(--marino); font-weight: 700; padding-top: 8px; border-top: 1px solid var(--linea); margin-top: 4px; }
.aviso { font-size: .85rem; background: var(--hielo); color: var(--marino); padding: 10px 14px; border-radius: 10px; margin: 0 0 12px; }
.aviso--error { background: #FCEAE8; color: var(--rojo); margin-top: 14px; }

#paso-datos h3 { font-size: 1.2rem; margin: 22px 0 12px; }
#paso-datos label { display: block; font-size: .84rem; font-weight: 600; color: var(--marino); margin-bottom: 12px; }
#paso-datos label small { font-weight: 400; color: var(--suave); }
#paso-datos input:not([type=radio]), #paso-datos textarea { display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--linea); border-radius: 10px; background: #fff; font-weight: 400; font-size: 1rem; }
#paso-datos textarea { resize: vertical; }
#paso-datos input:focus, #paso-datos textarea:focus { outline: 2px solid var(--celeste); outline-offset: 0; border-color: var(--celeste); }
#paso-datos .invalido { border-color: var(--rojo); }
.volver { border: 0; background: none; color: var(--azul); cursor: pointer; padding: 4px 0; font-size: .88rem; font-weight: 600; }
.opcion-pago { display: flex !important; gap: 12px; align-items: flex-start; border: 1px solid var(--linea); border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.opcion-pago:has(input:checked) { border-color: var(--azul); background: var(--niebla); }
.opcion-pago:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.opcion-pago input { margin-top: 4px; accent-color: var(--azul); width: 18px; height: 18px; flex: none; }
.opcion-pago strong { display: block; font-size: .95rem; }
.opcion-pago small { display: block; margin-top: 2px; }

/* Resultado del pago */
.resultado { position: fixed; inset: 0; z-index: 90; background: rgba(11, 42, 107, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.resultado[hidden] { display: none; }
.resultado__caja { background: #fff; border-radius: 24px; padding: 34px 30px 30px; width: min(460px, 100%); text-align: center; box-shadow: var(--sombra); }
.resultado__caja p { margin-top: 12px; }
.resultado__acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.avisito { position: fixed; left: 50%; bottom: 26px; translate: -50% 20px; z-index: 95; background: var(--marino); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--curva); max-width: calc(100% - 100px); text-align: center; }
.avisito.visible { opacity: 1; translate: -50% 0; }

/* Aparicion al hacer scroll (solo si hay JavaScript) */
.js [data-revela] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--curva) var(--r, 0s), transform .9s var(--curva) var(--r, 0s); }
.js [data-revela].visible { opacity: 1; transform: none; }
.js .producto[data-revela].visible { transition: transform .45s var(--curva), box-shadow .45s var(--curva), border-color .3s, opacity .9s var(--curva); }

@media (max-width: 1180px) {
  .productos__grilla { grid-template-columns: repeat(2, 1fr); }
  .producto__foto { aspect-ratio: 4 / 3; }
}

/* Tablet */
@media (max-width: 1020px) {
  .datos__fila { grid-template-columns: repeat(2, 1fr); }
  .dato + .dato { border-left: 0; }
  .menu { display: none; }
  .origen__fila, .linea__fila, .preguntas__fila, .historia__fila { grid-template-columns: 1fr; }
  .historia__intro { position: static; }
  .origen__foto { max-width: 520px; margin-inline: auto; }
  .linea__mosaico { order: -1; margin-bottom: 22px; }
  .pie__fila { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pie__enlaces { justify-items: center; grid-auto-flow: column; gap: 22px; }
  .pie__contacto { justify-self: center; text-align: center; }
  .pie__legal { text-align: center; }
}

/* Celular */
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .cabecera { padding: 10px 0; }
  .marca__emblema { width: 50px; }
  .marca__nombre { width: 100px; }
  .boton-carrito__texto { display: none; }
  .boton-carrito { padding: 0 8px 0 12px; }
  .portada { min-height: 100svh; align-items: flex-start; padding: 108px 0 0; }
  .portada__fondo img { object-position: 78% 100%; }
  .portada__velo { background: linear-gradient(180deg, rgba(244, 249, 254, .95) 0%, rgba(244, 249, 254, .88) 52%, rgba(244, 249, 254, 0) 84%); }
  .portada__acciones .btn { flex: 1 1 100%; }
  .ondas { right: 26%; bottom: 17%; }
  .ondas i { width: 170px; height: 60px; margin: -30px 0 0 -85px; }
  .datos { padding-top: 0; }
  .datos__fila { grid-template-columns: 1fr 1fr; padding: 6px; gap: 0; }
  .dato { padding: 12px 10px; gap: 10px; }
  .dato svg { width: 30px; height: 30px; }
  .dato span { display: none; }
  .productos__grilla { grid-template-columns: 1fr; }
  .producto { flex-direction: row; }
  .producto { align-items: flex-start; }
  .producto__foto { width: 42%; aspect-ratio: 1 / 1; flex: none; margin: 12px 0 12px 12px; border-radius: 12px; }
  .producto__etiqueta { display: none; }
  .producto__cuerpo { padding: 16px 14px; gap: 10px; }
  .producto__desc { font-size: .84rem; }
  .producto__precio { font-size: 1.4rem; }
  .momentos__grilla, .pasos { grid-template-columns: 1fr; }
  .momento--bajo { margin-top: 0; }
  .origen__foto { border-radius: 160px 160px var(--radio) var(--radio); }
  .flotante { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .pie__enlaces { grid-auto-flow: row; }
  .pie { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .entra, .js [data-revela] { opacity: 1; transform: none; }
  .ondas { display: none; }
}
