/* Amor Amarillo · app del cliente (teléfono primero). iPad y escritorio en ancho.css. */
:root {
  --am: #F2C624; --am-claro: #FFE27A; --am-hondo: #C99E06;
  --tinta: #141414; --tinta-2: #2a2a2a; --crema: #FFF6DA; --papel: #FFFDF5;
  --linea: rgba(20, 20, 20, .14); --suave: rgba(20, 20, 20, .62);
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif; --sans: 'Montserrat', system-ui, sans-serif;
  --firma: 'Allura', cursive; --mano: 'Gochi Hand', 'Comic Sans MS', cursive;
  --canto: 0 5px 0 var(--tinta); --sombra: 0 10px 24px rgba(20, 20, 20, .18); --dock-h: 66px;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--tinta); font-family: var(--sans); font-size: 15px; line-height: 1.4; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.app { min-height: 100dvh; overflow-x: clip; }

/* ---------- Barra de arriba ---------- */
.barra { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); background: var(--crema); border-bottom: 2px solid var(--tinta); min-height: 58px; }
.barra-marca { display: flex; align-items: center; gap: 8px; flex: none; }
.barra-marca img { width: 38px; height: 38px; }
.barra-nombre { font-weight: 900; font-size: 10.5px; letter-spacing: .2em; line-height: 1.15; text-align: left; }
.barra-der { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 0; }
.chip-demo { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--tinta); color: var(--am); font-weight: 800; font-size: 12px; white-space: nowrap; box-shadow: 0 3px 0 var(--am-hondo); }
.mesa-caja { display: grid; place-items: center; min-width: 52px; height: 46px; padding: 0 8px; border-radius: 12px; background: var(--tinta); color: var(--am); line-height: 1; }
.mesa-caja small { font-size: 8.5px; font-weight: 800; letter-spacing: .16em; color: var(--crema); }
.mesa-caja b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.barra-accion { position: relative; display: grid; place-items: center; gap: 1px; min-width: 54px; height: 46px; padding: 0 7px; border-radius: 12px; border: 2px solid var(--tinta); background: var(--papel); box-shadow: 0 3px 0 var(--tinta); font-size: 10.5px; font-weight: 800; }
.barra-accion svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.barra-accion.amarilla { background: var(--am); }
.barra-accion:active, .boton:active, .chip-demo:active { transform: translateY(3px); box-shadow: 0 0 0 var(--tinta); }

/* ---------- Héroe: banderines + «Un menú cada día» + polaroids ---------- */
.heroe { position: relative; background: var(--am); padding: 0 16px 22px; overflow: hidden; border-bottom: 2px solid var(--tinta); }
.guirnalda { position: absolute; left: 0; top: 0; width: 100%; height: 70px; pointer-events: none; }
.guirnalda path { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.banderines { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 2px; height: 78px; }
.bandera { position: relative; justify-self: center; width: 100%; max-width: 84px; height: 58px; transform-origin: 50% 0; padding-top: 10px; font-weight: 900; font-size: 9.5px; letter-spacing: .13em; color: var(--tinta); background: var(--crema); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
.bandera:nth-child(1), .bandera:nth-child(4) { margin-top: 4px; } .bandera:nth-child(2), .bandera:nth-child(3) { margin-top: 13px; }
.bandera small { display: block; margin-top: 3px; font-weight: 700; font-size: 9px; letter-spacing: .02em; opacity: .7; }
.bandera.activa { background: var(--tinta); color: var(--am); transform: translateY(6px); animation: hamaca 1.6s ease-in-out 1; }
.bandera.activa small { color: var(--crema); opacity: .85; }
@keyframes hamaca { 0% { transform: translateY(6px) rotate(0); } 20% { transform: translateY(6px) rotate(5deg); } 45% { transform: translateY(6px) rotate(-3.5deg); } 70% { transform: translateY(6px) rotate(1.5deg); } 100% { transform: translateY(6px) rotate(0); } }
.heroe-ahora { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 2px; font-size: 12px; font-weight: 700; }
.heroe-ahora .punto { width: 8px; height: 8px; border-radius: 50%; background: #1f8a3b; box-shadow: 0 0 0 3px rgba(31, 138, 59, .2); }
.heroe-ahora .punto.cerrado { background: #8a1f1f; box-shadow: 0 0 0 3px rgba(138, 31, 31, .18); }
.heroe-ahora b { font-weight: 900; }
.heroe-tit { position: relative; text-align: center; margin-top: 16px; }
.titulo { margin: 0; font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; line-height: .92; font-size: clamp(32px, 9.6vw, 42px); }
.titulo span { display: block; }
.titulo-eco { position: absolute; left: 0; right: 0; top: 100%; font-family: var(--serif); text-transform: uppercase; letter-spacing: .06em; line-height: .92; font-size: clamp(46px, 14.2vw, 66px); color: transparent; -webkit-text-stroke: 1px rgba(20, 20, 20, .26); pointer-events: none; }
.titulo-eco span { display: block; }
.titulo-eco span:nth-child(n+3) { -webkit-text-stroke-color: rgba(20, 20, 20, .13); }
.titulo-chico { font-size: clamp(38px, 11vw, 52px); }

/* Mazo de polaroids */
.mazo { --alto: clamp(280px, calc(100svh - 476px), 420px); --foto-h: calc(var(--alto) - 76px); --carta-w: calc(var(--foto-h) * .8 + 20px);
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 14px -16px 0; padding: 4px calc(50% - var(--carta-w) / 2) 14px; overscroll-behavior-x: contain; }
.mazo::-webkit-scrollbar { display: none; }
.polaroid { flex: 0 0 var(--carta-w); scroll-snap-align: center; margin: 0; padding: 10px 10px 0; background: #fff; border-radius: 4px; box-shadow: 0 10px 22px rgba(20, 20, 20, .16); cursor: pointer; transition: opacity .35s, transform .35s; }
.polaroid:not(.arriba) { opacity: .55; transform: scale(.94); }
.polaroid .foto { height: var(--foto-h); overflow: hidden; background: #e9e2cf; border-radius: 2px; }
.polaroid .foto img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.polaroid figcaption { min-height: 60px; padding-block: 8px !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; text-align: left; }
.polaroid figcaption span { font-family: var(--mano); font-size: 18px; line-height: 1.05; color: var(--tinta-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.polaroid figcaption b { font-weight: 900; font-size: 16px; white-space: nowrap; }
.polaroid.entra { animation: aparece .5s ease-out both; animation-delay: var(--d, 0s); }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } }
@keyframes gira { to { transform: rotate(360deg); } }
.mazo-pie { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.puntos { display: flex; gap: 6px; }
.puntos i { width: 8px; height: 8px; border-radius: 4px; border: 1.5px solid var(--tinta); transition: width .3s; }
.puntos i.activo { background: var(--tinta); width: 20px; }
.desliza { font-family: var(--firma); font-size: 27px; line-height: 1; }
.heroe-botones { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 14px; }
.boton { text-decoration: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 2.5px solid var(--tinta); font-weight: 800; font-size: 15px; box-shadow: var(--canto); transition: transform .1s, box-shadow .1s; text-align: center; }
.boton-tinta { background: var(--tinta); color: var(--am); box-shadow: 0 5px 0 #6a560c; }
.boton-crema { background: var(--crema); }
.boton-am { background: var(--am); }
.boton[disabled] { opacity: .45; pointer-events: none; }

/* Cinta que corre */
.cinta { background: var(--tinta); color: var(--am); margin: 0 0 6px; border-top: 2px solid var(--am); border-bottom: 2px solid var(--am); overflow: hidden; }
.cinta-pista { display: flex; width: max-content; animation: corre 28s linear infinite; }
.cinta-pista span { padding: 11px 0; font-weight: 900; font-size: 13px; letter-spacing: .16em; white-space: nowrap; }
.cinta-pista span i { font-style: normal; color: var(--crema); margin: 0 14px; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Bloques del inicio ---------- */
.bloque { padding: 22px 16px 6px; }
.bloque-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sub { margin: 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 26px; line-height: 1; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--suave); }
.link { font-weight: 800; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.menu-dia .dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 12px 0 14px; }
.menu-dia .dias button { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--tinta); font-weight: 800; font-size: 13px; background: var(--papel); }
.menu-dia .dias button.hoy { background: var(--am); }
.menu-dia .dias button.elegido { background: var(--tinta); color: var(--am); }
.menu-tarjeta { position: relative; display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 22px; background: var(--papel); border: 2.5px solid var(--tinta); box-shadow: var(--canto); }
.polaroid-chica { position: relative; background: #fff; padding: 7px 7px 28px; box-shadow: 0 6px 14px rgba(20, 20, 20, .16); }
.polaroid-chica img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid-chica span { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-family: var(--mano); font-size: 15px; }
.pizarra { position: relative; aspect-ratio: 1 / 1.08; border-radius: 6px; padding: 12px 10px; background: radial-gradient(ellipse at 30% 20%, #3a3f44, #23272b 70%); border: 6px solid #8a6a3d; color: #f7f3e6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 6px 14px rgba(20, 20, 20, .2); }
.pizarra small { font-family: var(--mano); font-size: 14px; color: var(--am-claro); }
.pizarra b { font-family: var(--mano); font-weight: 400; font-size: 22px; line-height: 1.05; margin: 6px 0; }
.pizarra i { font-style: normal; font-family: var(--mano); font-size: 13px; opacity: .8; }
.menu-tarjeta h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 800; line-height: 1.15; }
.menu-tarjeta p { margin: 0 0 8px; font-size: 12.5px; color: var(--suave); }
.precio-grande { font-weight: 900; font-size: 24px; }
.precio-grande small { display: block; font-size: 11px; font-weight: 700; color: var(--suave); }
.menu-tarjeta .boton { width: 100%; margin-top: 10px; min-height: 46px; font-size: 14px; }
.merienda-tarjeta { position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: 24px; background: var(--tinta); color: var(--crema); }
.merienda-tarjeta .kicker { color: var(--am); }
.merienda-tarjeta h3 { margin: 6px 0 4px; font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: .95; letter-spacing: .03em; color: var(--am); max-width: none; }
.merienda-tarjeta h3 em { display: block; font-style: normal; font-family: var(--firma); text-transform: none; font-size: 40px; color: var(--crema); letter-spacing: 0; line-height: .95; }
.merienda-tarjeta p { margin: 6px 0 0; font-size: 13.5px; max-width: none; color: rgba(255, 246, 218, .86); }
.merienda-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.merienda-fotos .pc { background: #fff; padding: 6px; border-radius: 3px; }
.merienda-fotos .pc img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.merienda-cuenta { display: flex; gap: 8px; margin-top: 14px; }
.merienda-cuenta div { flex: 1; text-align: center; padding: 8px 4px; border-radius: 14px; background: rgba(255, 246, 218, .1); }
.merienda-cuenta b { display: block; font-size: 24px; font-weight: 900; color: var(--am); font-variant-numeric: tabular-nums; }
.merienda-cuenta small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sello-libre { position: absolute; right: 12px; top: 12px; width: 86px; height: 86px; border-radius: 50%; background: var(--am); color: var(--tinta); display: grid; place-items: center; transform: rotate(10deg); }
.sello-libre svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 18s linear infinite; }
.sello-libre text { font-weight: 800; font-size: 9px; letter-spacing: .2em; fill: var(--tinta); }
.sello-libre b { font-family: var(--serif); font-size: 19px; font-weight: 500; text-align: center; line-height: 1; }
.merienda-tarjeta .boton { width: 100%; margin-top: 14px; background: var(--am); color: var(--tinta); border-color: var(--am); box-shadow: 0 5px 0 var(--am-hondo); }
.riel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
.riel::-webkit-scrollbar { display: none; }
.tarjeta { flex: 0 0 54%; max-width: 230px; scroll-snap-align: start; border-radius: 20px; background: var(--papel); border: 2px solid var(--tinta); box-shadow: 0 4px 0 var(--tinta); overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.tarjeta .t-foto { aspect-ratio: 4 / 5; overflow: hidden; background: #e9e2cf; border-bottom: 2px solid var(--tinta); }
.tarjeta .t-foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta .t-cuerpo { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tarjeta h3 { margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.tarjeta .t-pie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.precio { font-weight: 900; font-size: 16px; }
.mas { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--am); border: 2px solid var(--tinta); box-shadow: 0 3px 0 var(--tinta); flex: none; }
.mas svg { width: 18px; height: 18px; stroke: var(--tinta); stroke-width: 3; stroke-linecap: round; fill: none; }
.mas:active { transform: translateY(3px); box-shadow: none; }
.club-tarjeta { position: relative; padding: 18px 16px; border-radius: 24px; background: var(--am); border: 2.5px solid var(--tinta); box-shadow: var(--canto); overflow: hidden; }
.club-tarjeta h3 { margin: 4px 0 2px; font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 26px; line-height: 1; }
.club-tarjeta p { margin: 6px 0 0; font-size: 13.5px; }
.corazones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 14px 0 4px; }
.corazones svg { width: 100%; height: auto; }
.corazones path { fill: rgba(255, 253, 245, .75); stroke: var(--tinta); stroke-width: 1.6; }
.corazones .lleno path { fill: var(--tinta); }
.corazones .nuevo { animation: late .8s ease 2; transform-origin: center; }
@keyframes late { 50% { transform: scale(1.2); } }
.club-acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.club-acciones .boton { min-height: 46px; font-size: 13.5px; padding: 0 10px; }
.polaroid-pend { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: var(--tinta); color: var(--crema); text-align: left; width: 100%; }
.polaroid-pend .mini { width: 44px; height: 52px; background: #fff; padding: 4px 4px 12px; flex: none; }
.polaroid-pend .mini i { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #3b2a1c, #120c08); }
.polaroid-pend b { color: var(--am); display: block; font-size: 14px; }
.polaroid-pend span { font-size: 12px; opacity: .85; }
.lugar-tarjeta { display: grid; gap: 16px; }
.lugar-foto { position: relative; background: #fff; padding: 9px 9px 34px; box-shadow: var(--sombra); }
.lugar-foto img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.lugar-foto span { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font-family: var(--mano); font-size: 19px; }
.lugar-datos { padding: 14px; border-radius: 20px; background: var(--papel); border: 2px solid var(--tinta); }
.lugar-datos h3 { margin: 0 0 2px; font-size: 18px; font-weight: 900; }
.lugar-datos p { margin: 0; font-size: 13.5px; color: var(--suave); }
.horario { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; }
.horario li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--linea); padding-bottom: 4px; }
.horario li.hoy { font-weight: 800; }
.lugar-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.lugar-botones .boton { min-height: 46px; font-size: 13.5px; padding: 0 10px; }
.estrellas { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.pie-espacio { height: calc(var(--dock-h) + 40px + env(safe-area-inset-bottom)); }
.mi-mesa { padding: 12px 16px 0; background: var(--am); }
.mi-mesa-caja { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--tinta); color: var(--crema); width: 100%; text-align: left; font-size: 13.5px; }
.mi-mesa-caja b { color: var(--am); }
.mi-mesa-caja .estado { margin-left: auto; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--am); color: var(--tinta); white-space: nowrap; }

/* ---------- Carta ---------- */
.carta-cab { padding: 20px 16px 12px; background: var(--am); border-bottom: 2px solid var(--tinta); text-align: center; }
.carta-bajada { margin: 8px auto 4px; max-width: 320px; font-size: 13px; }
.rubros { position: sticky; top: 58px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--crema); border-bottom: 1.5px solid var(--linea); scrollbar-width: none; }
.rubros::-webkit-scrollbar { display: none; }
.rubros button { flex: none; height: 38px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--tinta); background: var(--papel); font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.rubros button.activo { background: var(--tinta); color: var(--am); }
.carta-rubro { padding: 18px 16px 4px; scroll-margin-top: 120px; }
.carta-rubro h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.carta-rubro h2::after { content: ''; flex: 1; height: 2px; background: var(--tinta); }
.carta-items { display: grid; gap: 10px; }
.item { width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--papel); border: 1.5px solid var(--linea); text-align: left; }
.item.sin-foto { grid-template-columns: 1fr; padding: 12px 14px; }
.item .i-foto { width: 96px; height: 128px; border-radius: 12px; overflow: hidden; background: #e9e2cf; }
.item .i-foto img { width: 100%; height: 100%; object-fit: cover; }
.item h3 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.2; }
.item p { margin: 4px 0 8px; font-size: 12.5px; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .i-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.etiqueta { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; background: var(--am); border: 1.5px solid var(--tinta); margin-left: 6px; vertical-align: 2px; }

/* ---------- Hoja que sube ---------- */
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 20, .5); opacity: 0; transition: opacity .25s; }
.velo.ver { opacity: 1; }
.hoja { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92dvh; display: flex; flex-direction: column; background: var(--crema); border-radius: 26px 26px 0 0; border-top: 2.5px solid var(--tinta); transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .9, .25, 1); }
.hoja.ver { transform: none; }
.hoja-asa { width: 44px; height: 5px; border-radius: 3px; background: rgba(20, 20, 20, .3); margin: 9px auto 0; flex: none; }
.hoja-cuerpo { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); }
.hoja-cerrar { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--papel); border: 2px solid var(--tinta); display: grid; place-items: center; z-index: 3; }
.hoja-cerrar svg { width: 16px; height: 16px; stroke: var(--tinta); stroke-width: 2.6; stroke-linecap: round; }
.hoja-tit { margin: 6px 0 4px; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 28px; letter-spacing: .04em; line-height: 1; padding-right: 48px; }
.hoja-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--suave); }
.ficha-foto { margin: 40px 0 0; display: flex; justify-content: center; }
.ficha-foto img { width: auto; max-width: 100%; max-height: 46vh; border-radius: 14px; object-fit: contain; }
.ficha-foto span { display: none; }
.ficha h2 { margin: 16px 0 4px; font-size: 22px; font-weight: 900; line-height: 1.15; padding-right: 8px; }
.ficha.sin-foto h2 { margin-top: 10px; padding-right: 48px; }
.ficha .f-desc { margin: 0 0 12px; font-size: 14.5px; color: var(--tinta-2); }
.ficha .f-momentos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ficha .f-momentos span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 1.5px solid var(--tinta); }
.ficha .f-nota { font-size: 12px; color: var(--suave); margin: 0 0 12px; }
.comprar { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 10px; margin: 8px -6px 0; border-radius: 20px; background: var(--tinta); z-index: 2; }
.cantidad { display: flex; align-items: center; gap: 2px; background: var(--crema); border-radius: 14px; height: 48px; padding: 0 4px; }
.cantidad button { width: 38px; height: 40px; font-size: 22px; font-weight: 800; }
.cantidad b { min-width: 22px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.comprar .boton { flex: 1; min-height: 48px; background: var(--am); color: var(--tinta); border-color: var(--am); box-shadow: 0 4px 0 var(--am-hondo); }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label, .campo > span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.campo input, .campo textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--tinta); background: var(--papel); font-size: 16px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones button { min-height: 42px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--tinta); background: var(--papel); font-weight: 700; font-size: 13.5px; }
.opciones button.activo { background: var(--tinta); color: var(--am); }
.opciones.dias { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.opciones.dias button { display: grid; place-items: center; line-height: 1.05; min-width: 60px; padding: 6px 8px; flex: none; }
.opciones.dias button small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.paso-num { display: flex; align-items: center; gap: 10px; }
.paso-num button { width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--tinta); background: var(--papel); font-size: 22px; font-weight: 800; }
.paso-num b { min-width: 40px; text-align: center; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--tinta); background: var(--papel); width: 100%; text-align: left; font-weight: 800; }
.interruptor i { width: 50px; height: 30px; border-radius: 15px; background: rgba(20, 20, 20, .18); position: relative; flex: none; transition: background .2s; }
.interruptor i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.interruptor.on i { background: var(--tinta); }
.interruptor.on i::after { transform: translateX(20px); background: var(--am); }
.beneficio { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--am); border: 2px solid var(--tinta); font-weight: 700; font-size: 13.5px; }

/* ---------- Páginas ---------- */
.pagina { padding: 18px 16px calc(var(--dock-h) + 40px + env(safe-area-inset-bottom)); }
.pagina-cab { text-align: center; padding: 20px 16px 18px; background: var(--am); border-bottom: 2px solid var(--tinta); }
.pagina-cab p { margin: 8px auto 0; font-size: 13px; max-width: 320px; }
.renglon { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed var(--linea); }
.renglon.sin-foto { grid-template-columns: 1fr auto; }
.renglon img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.renglon h3 { margin: 0; font-size: 14px; font-weight: 800; }
.renglon small { color: var(--suave); font-size: 12px; }
.renglon .cantidad { height: 40px; }
.renglon .cantidad button { width: 32px; height: 36px; font-size: 18px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; font-weight: 900; font-size: 20px; }
.vacio { text-align: center; padding: 26px 10px; }
.polaroid-vacia { width: 150px; margin: 0 auto 14px; background: #fff; padding: 9px 9px 34px; box-shadow: var(--sombra); position: relative; }
.polaroid-vacia div { aspect-ratio: 1; background: var(--am); display: grid; place-items: center; }
.polaroid-vacia img { width: 64%; }
.polaroid-vacia span { position: absolute; bottom: 6px; left: 0; right: 0; font-family: var(--mano); font-size: 16px; }
.vacio h2 { margin: 6px 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 26px; }
.vacio p { margin: 0 0 16px; color: var(--suave); font-size: 14px; }
.historial { margin-top: 22px; }
.historial h3 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.historial button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 8px; border-radius: 14px; background: var(--papel); border: 1.5px solid var(--linea); text-align: left; font-size: 13.5px; }
.historial button b { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--am); white-space: nowrap; }
.seguimiento { padding: 18px 16px calc(var(--dock-h) + 40px + env(safe-area-inset-bottom)); text-align: center; }
.seg-num { font-family: var(--serif); text-transform: uppercase; font-size: 44px; line-height: .95; letter-spacing: .04em; margin: 4px 0 10px; }
.seg-estado { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; background: var(--tinta); color: var(--am); }
.pista { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); margin: 22px 0 10px; }
.pista::before { content: ''; position: absolute; left: 12%; right: 12%; top: 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--tinta) 0 8px, transparent 8px 14px); }
.pista .p { position: relative; text-align: center; font-size: 11px; font-weight: 800; }
.pista .p i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; background: var(--papel); border: 2.5px solid var(--tinta); position: relative; z-index: 1; }
.pista .p i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pista .p.hecho i { background: var(--tinta); color: var(--am); }
.pista .p.ahora i { background: var(--am); animation: late 1.2s ease infinite; }
.seg-items { text-align: left; margin-top: 14px; }
.nota-demo { font-size: 12px; color: var(--suave); background: rgba(20, 20, 20, .05); border-radius: 12px; padding: 10px 12px; margin: 12px 0; text-align: left; }
.revelar { text-align: center; padding: 6px 0 10px; }
.revela-foto { position: relative; width: 230px; margin: 4px auto 0; padding: 12px 12px 58px; background: #fff; box-shadow: var(--sombra); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.revela-foto .foto { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--am); display: grid; place-items: center; }
.revela-foto .foto img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.revela-foto .foto img.logo-premio { width: 62%; height: auto; }
.revela-foto .quimica { position: absolute; inset: 0; background: linear-gradient(140deg, #4a3624, #170f0a 70%); }
.revela-foto .premio-txt { position: absolute; left: 8px; right: 8px; bottom: 8px; font-family: var(--mano); font-size: 17px; line-height: 1.05; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.revela-foto.sacude { animation: sacude .35s; }
@keyframes sacude { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.barra-revela { height: 8px; width: 200px; margin: 18px auto 4px; border-radius: 4px; background: rgba(20, 20, 20, .12); overflow: hidden; }
.barra-revela i { display: block; height: 100%; width: 0; background: var(--tinta); transition: width .15s; }
.revelar .boton { margin-top: 14px; width: 100%; }
.socio { position: relative; margin: 16px; padding: 18px; border-radius: 24px; background: var(--am); border: 2.5px solid var(--tinta); box-shadow: var(--canto); overflow: hidden; }
.socio img.socio-logo { position: absolute; right: -26px; top: -26px; width: 130px; opacity: .9; }
.socio small { font-weight: 800; letter-spacing: .16em; font-size: 10.5px; }
.socio h2 { margin: 4px 0 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 30px; line-height: 1; max-width: 70%; }
.socio .nro { font-weight: 900; font-size: 14px; letter-spacing: .22em; margin-top: 8px; }
.socio p { margin: 8px 0 0; font-size: 13.5px; }
.seccion-club { margin: 22px 16px 0; }
.seccion-club h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; }
.polaroids-mias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.polaroids-mias .pm { background: #fff; padding: 5px 5px 26px; box-shadow: 0 6px 12px rgba(20, 20, 20, .18); position: relative; text-align: center; }
.polaroids-mias .pm .f { aspect-ratio: 1; background: linear-gradient(135deg, #3b2a1c, #120c08); overflow: hidden; display: grid; place-items: center; }
.polaroids-mias .pm .f.am { background: var(--am); }
.polaroids-mias .pm img { width: 100%; height: 100%; object-fit: cover; }
.polaroids-mias .pm .f img.logo-premio { width: 60%; height: auto; }
.polaroids-mias .pm span { position: absolute; left: 2px; right: 2px; bottom: 4px; font-family: var(--mano); font-size: 12px; line-height: 1; }
.cumple-tarjeta { margin: 22px 16px 0; padding: 18px 16px; border-radius: 24px; background: var(--tinta); color: var(--crema); }
.cumple-tarjeta h3 { margin: 0; font-family: var(--firma); font-weight: 400; font-size: 46px; line-height: .95; color: var(--am); }
.cumple-tarjeta p { margin: 8px 0 12px; font-size: 13.5px; }
.cumple-tarjeta .campo label { color: var(--am); }
.cumple-tarjeta input { background: var(--crema); color: var(--tinta); border-color: var(--crema); }
.cumple-tarjeta .boton { width: 100%; margin-top: 4px; background: var(--am); color: var(--tinta); border-color: var(--am); box-shadow: 0 5px 0 var(--am-hondo); }
.como-sumar { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.como-sumar li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--papel); border: 1.5px solid var(--linea); font-size: 13.5px; }
.como-sumar li b { width: 30px; height: 30px; border-radius: 50%; background: var(--am); border: 2px solid var(--tinta); display: grid; place-items: center; flex: none; font-size: 13px; }

/* ---------- Dock flotante ---------- */
.dock { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: var(--dock-h); display: grid; grid-template-columns: 1fr 1fr 78px 1fr 1fr; align-items: center; padding: 0 6px; border-radius: 26px; background: var(--tinta); color: var(--crema); box-shadow: 0 12px 26px rgba(20, 20, 20, .35); max-width: 520px; margin: 0 auto; }
.dock button { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; opacity: .72; height: 100%; align-content: center; }
.dock button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.dock button.activo { opacity: 1; color: var(--am); }
.dock-centro { position: relative; opacity: 1 !important; }
.dock-centro img { width: 64px; height: 64px; margin-top: -26px; border-radius: 50%; box-shadow: 0 0 0 4px var(--tinta), 0 8px 14px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.dock-centro.salta img { transform: scale(1.18) rotate(-12deg); }
.dock-cuenta { position: absolute; top: -26px; right: 2px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--crema); color: var(--tinta); font-size: 12px; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--tinta); }
.aviso { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--dock-h) + 26px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 16px; background: var(--tinta); color: var(--am); font-weight: 800; font-size: 14px; box-shadow: var(--sombra); transition: transform .3s, opacity .3s; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }
.vuelo { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.vuelo img { position: absolute; width: 70px; height: 70px; object-fit: cover; border: 4px solid #fff; box-shadow: var(--sombra); }

/* ---------- Entrada ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--am); display: grid; place-items: center; overflow: hidden; clip-path: circle(150% at 50% 50%); }
.intro-logo { width: min(64vw, 300px); aspect-ratio: 1; position: relative; }
.intro-logo svg { width: 100%; height: 100%; overflow: visible; }
.intro-saltar { position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); height: 38px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--tinta); font-weight: 800; font-size: 12.5px; background: var(--crema); z-index: 2; }
.intro-banderines { position: absolute; left: 0; right: 0; top: 0; height: 150px; }
.intro-banderines svg { width: 100%; height: 100%; overflow: visible; }
.intro-lema { position: absolute; left: 0; right: 0; bottom: 13%; text-align: center; font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: 15px; opacity: 0; transition: opacity .5s; }
.intro-lema.ver { opacity: 1; }
.intro.sale { animation: cierra .7s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes cierra { to { clip-path: circle(0% at 50% 50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* El eco del título se cortaba contra el mazo en todos los tamaños: apagado. */
.titulo-eco { display: none; }

/* Teléfonos bajos (Safari con barras, navegador de WhatsApp, iPhone SE): todo el héroe más compacto
   para que «Agregar» y «Ver la carta» queden arriba del dock sin deslizar. */
@media (max-width: 699px) and (max-height: 780px) {
  .banderines { height: 64px; }
  .bandera { height: 50px; padding-top: 8px; }
  .heroe-ahora { margin: 0; font-size: 11px; }
  .heroe-tit { margin-top: 10px; }
  .titulo { font-size: clamp(28px, 8.6vw, 36px); }
  .mazo { --alto: clamp(230px, calc(100svh - 392px), 420px); margin-top: 8px; }
  .mazo-pie { display: none; }
  .heroe-botones { margin-top: 10px; }
  .heroe-botones .boton { min-height: 46px; }
  .heroe { padding-bottom: 16px; }
}
