/* Almacén Emilia — © 2026 Tereré Estudio – Leonardo Lavrovic. Todos los derechos reservados.
   Promos con parallax + tienda, mobile primero. Estructura de Luz de Luna; identidad del cartel de madera de Emilia. */

/* ---------- Fuentes locales (SIL OFL 1.1, ver fonts/LICENCIAS.txt) ---------- */
@font-face { font-family: "Rye"; src: url(../fonts/rye.woff?v=980d9a0a82) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-600.woff2?v=3a1de7711d) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-400.woff?v=d17e738919) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-500.woff?v=a21eca0dd7) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-700.woff?v=6ce6940d4e) format("woff"); font-weight: 700; font-display: swap; }

/* ---------- Tokens (paleta sacada del cartel: nogal, bordó y oro viejo) ---------- */
:root {
  --nogal-950: #1a0f09;
  --nogal-900: #26160e;
  --nogal-800: #3a2416;
  --nogal-700: #5a3822;
  --roble: #8b5a33;
  --bordo: #7b1e2b;
  --bordo-osc: #5e1520;
  --bordo-claro: #a3313f;
  --oro: #d6ac5c;
  --oro-claro: #f0d59a;
  --crema: #f6ecdc;
  --papel: #fbf6ec;
  --tinta: #2b1a10;
  --tinta-suave: #6a5444;
  --claro: #efe2cc;
  --claro-2: #cdb89a;
  --verde: #2f5a34;
  --wa: #0f7b41;
  --ig: #c13584;
  --aviso: #f7e2a1;
  --f-marca: "Rye", "Fraunces", Georgia, serif;     /* títulos: letra de cartel, la más cercana a «EMILIA» del logo */
  --f-tit: "Fraunces", Georgia, "Times New Roman", serif;
  --f-txt: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 16px;
  --sombra: 0 10px 30px rgb(26 15 9 / .35);
  --barra-h: 64px;
  --abajo: env(safe-area-inset-bottom, 0px);
  --tono: rgb(123 30 43 / .32);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgb(214 172 92 / .45) transparent; }
body { margin: 0; color: var(--claro); font: 400 1rem/1.55 var(--f-txt); background: var(--nogal-900); overflow-x: hidden; }
body.en-tienda { background: var(--papel); color: var(--tinta); }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--crema); color: var(--tinta); padding: 8px 14px; border-radius: 8px; }
.saltar:focus { left: 8px; }
h1, h2, h3 { font-family: var(--f-tit); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; border: 0; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .2s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn-pri { background: var(--bordo); color: var(--crema); box-shadow: inset 0 0 0 1.5px rgb(214 172 92 / .55); }
.btn-pri:hover { background: var(--bordo-claro); }
.btn-pri.ok { background: var(--verde); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-ancho { width: 100%; }
.btn-txt { background: none; border: 0; padding: .4rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- PROMOS: carrusel horizontal con parallax (cada capa se corre a su velocidad) ---------- */
.promos { position: relative; }
.promos-fijo { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; isolation: isolate; }
.pared { position: absolute; inset: 0 -12%; z-index: -3; will-change: transform;
  background:
    radial-gradient(ellipse 80% 55% at 50% 42%, rgb(240 213 154 / .16), transparent 70%),
    linear-gradient(rgb(26 15 9 / .2), rgb(26 15 9 / .55) 70%, var(--nogal-900)),
    url(../img/madera.webp?v=e53ef0dd9e) center top / 256px auto repeat,
    var(--nogal-800); }
/* tono de cada promo (bordó, verde, miel, nogal): cambia suave al pasar de promo */
.promos-fijo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 90% 60% at 50% 58%, var(--tono), transparent 72%); transition: background .6s; pointer-events: none; }
.promos-fijo[data-fondo="verde"] { --tono: rgb(63 122 58 / .34); }
.promos-fijo[data-fondo="miel"] { --tono: rgb(214 160 70 / .34); }
.promos-fijo[data-fondo="nogal"] { --tono: rgb(139 90 51 / .4); }
.promos-fijo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(transparent, var(--nogal-900)); pointer-events: none; }
/* estante de almacén al fondo, con siluetas de frascos y botellas */
.estante { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 96px; will-change: transform; opacity: .9; }
.estante-frascos path { fill: rgb(15 8 4 / .38); }
.estante-tabla { fill: var(--nogal-700); }
.cab { position: relative; z-index: 3; display: flex; justify-content: center; padding: max(10px, env(safe-area-inset-top)) 0 0; }
.cab-logo img { width: clamp(88px, 25vw, 112px); height: auto; filter: drop-shadow(0 6px 10px rgb(10 5 2 / .55)); }

.escena { position: relative; min-height: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.escena.arrastra { cursor: grabbing; }
.escena img { -webkit-user-drag: none; }
.promo { --d: 0; --ad: 0; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2px 18px 6px; }
.promo-txt { transform: translateX(calc(var(--d) * 55vw)); opacity: calc(1 - var(--ad) * 1.6); will-change: transform, opacity; }
.promo-rotulo { margin: 0 0 .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); }
.promo-tit { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; line-height: 1.05; font-size: clamp(1.9rem, 9vw, 2.6rem); color: var(--crema); text-shadow: 0 3px 0 rgb(10 5 2 / .45); text-wrap: balance; }
.promo-desc { margin: .35rem auto 0; max-width: 30ch; font-size: .95rem; color: var(--claro); text-wrap: balance; }
.promo-ley { margin: .35rem 0 0; font-size: .68rem; color: var(--claro-2); }
.promo-prods { --k: 1; position: relative; container-type: size; flex: 1; width: min(100%, 440px); min-height: 140px; margin: 8px 0 4px; opacity: calc(1 - var(--ad) * 1.3);
  transform: translateX(calc(var(--d) * 100vw)) rotate(calc(var(--d) * 8deg)); will-change: transform, opacity; }
.pp { --x: 0; --r: 0deg; --s: 1; --k: 1; --h: min(100cqh, 76cqw); position: absolute; bottom: calc((100cqh - var(--h)) / 2); left: 50%; height: var(--h); width: auto; max-width: none; aspect-ratio: 1; object-fit: contain;
  transform: translateX(calc(-50% + var(--x) * 1%)) translateX(calc(var(--d) * var(--k) * 16vw)) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 100%; filter: drop-shadow(0 10px 10px rgb(10 5 2 / .45)); }
.promo-prods[data-n="2"] .pp-1 { --x: -30; --r: -5deg; --k: .6; }
.promo-prods[data-n="2"] .pp-2 { --x: 30; --r: 5deg; --k: 1.5; }
.promo-prods[data-n="3"] .pp { --s: .64; }
.promo-prods[data-n="3"] .pp-1 { --x: -40; --r: -7deg; --k: .5; }
.promo-prods[data-n="3"] .pp-2 { --x: 0; --k: 1.1; z-index: 1; }
.promo-prods[data-n="3"] .pp-3 { --x: 40; --r: 7deg; --k: 1.7; }
.promo-sello { position: absolute; z-index: 2; right: max(10px, calc(50% - 200px)); top: 46%; width: 104px; height: 104px; margin: 0; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 1px; background: var(--bordo); color: var(--crema);
  box-shadow: inset 0 0 0 4px var(--bordo), inset 0 0 0 6px var(--oro), 0 10px 18px rgb(10 5 2 / .45);
  transform: translateX(calc(var(--d) * 135vw)) rotate(calc(-9deg + var(--d) * 40deg)) scale(calc(1 - var(--ad) * .5)); opacity: calc(1 - var(--ad) * 1.6); will-change: transform; }
.promo-sello small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-claro); }
.promo-sello b { font: 400 1.18rem/1 var(--f-marca); }
.promo-sello span { font-size: .62rem; color: var(--oro-claro); line-height: 1.15; padding: 0 12px; }
.promo-acc { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; opacity: calc(1 - var(--ad) * 3); transform: translateX(calc(var(--d) * 30vw)); }
.flecha { position: absolute; z-index: 4; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(246 236 220 / .14); color: var(--crema); backdrop-filter: blur(4px); }
.flecha svg { width: 22px; height: 22px; }
.flecha-izq { left: 6px; } .flecha-der { right: 6px; }
.promo-acc .btn-txt { color: var(--claro); font-size: .9rem; }
.promo[inert] { pointer-events: none; }
.promo[inert] .promo-acc { visibility: hidden; }
.promos-pie { position: relative; z-index: 3; display: grid; justify-items: center; gap: 2px; padding: 4px 16px calc(6px + var(--abajo)); }
.promo-puntos { display: flex; gap: 2px; }
.pp-punto { width: 30px; height: 30px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.pp-punto::before { content: ""; width: 9px; height: 9px; border-radius: 99px; background: rgb(246 236 220 / .3); transition: width .3s, background-color .3s; }
.pp-punto[aria-current="true"]::before { width: 24px; background: var(--oro); }
.promo-nota { margin: 0; font-size: .7rem; color: var(--claro-2); }
.bajar { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 8px; font-size: .8rem; color: var(--claro); text-decoration: none; }
.bajar svg { width: 16px; height: 16px; animation: baja 2s ease-in-out infinite; }
@keyframes baja { 50% { transform: translateY(3px); } }
.promos.quieta .bajar svg { animation-play-state: paused; }

/* ---------- Libreta del pedido ---------- */
.libreta { position: fixed; z-index: 45; top: 12px; right: 12px; width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--crema); box-shadow: 0 0 0 3px var(--oro), 0 10px 20px rgb(10 5 2 / .4); animation: entra .45s cubic-bezier(.3,1.6,.5,1); }
.libreta svg { width: 40px; height: 40px; margin-top: -2px; }
@keyframes entra { from { transform: scale(0) rotate(-30deg); } }
.num { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--bordo); color: var(--crema); font-size: .74rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--crema); }
.anota { animation: anota .55s ease; }
@keyframes anota { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.libreta-txt { display: none; }
.en-tienda .libreta { display: none; }
.vuela { position: fixed; z-index: 70; pointer-events: none; object-fit: contain; }

/* ---------- Bienvenida ---------- */
.bienvenida { max-width: 560px; margin: 0 auto; padding: 18px 18px 34px; }
.rotulo { margin: 0 0 .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); font-weight: 700; }
.bienvenida h1 { display: grid; gap: 4px; }
.h1-marca { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: clamp(2.2rem, 10.5vw, 3.2rem); color: var(--crema); text-shadow: 0 3px 0 rgb(10 5 2 / .45); }
.h1-bajada { font-size: clamp(1.15rem, 5.4vw, 1.45rem); color: var(--oro-claro); letter-spacing: 0; }
.abierto { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: .84rem; background: rgb(255 255 255 / .07); border: 1px solid rgb(246 236 220 / .16); }
.abierto i { width: 9px; height: 9px; border-radius: 50%; background: #c8372d; }
.abierto.si i { background: #4cc46e; box-shadow: 0 0 0 0 rgb(76 196 110 / .6); animation: late 2.4s ease-out infinite; }
@keyframes late { 70%, 100% { box-shadow: 0 0 0 8px rgb(76 196 110 / 0); } }
.sub { margin: .8rem 0 .3rem; font-size: 1.08rem; color: var(--crema); text-wrap: balance; }
.seo { margin: 0 0 10px; font-size: .9rem; color: var(--claro-2); }
.cierre { margin: 0 0 18px; font-weight: 700; color: var(--oro-claro); text-wrap: balance; }
.fila-redes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.tarjeta-red { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 16px; text-decoration: none; background: rgb(255 255 255 / .06); border: 1px solid rgb(246 236 220 / .14); font-size: .76rem; line-height: 1.25; color: var(--claro-2); min-width: 0; }
.tarjeta-red strong { display: block; font-size: .92rem; color: var(--crema); font-weight: 500; }
.tarjeta-red span { min-width: 0; }
.tarjeta-red small { display: block; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tarjeta-red svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; color: #fff; }
.red-wa svg { background: var(--wa); }
.red-ig svg { background: var(--ig); }
.fila-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.info-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(246 236 220 / .14); font-size: .88rem; }
.info-btn svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--nogal-700); color: var(--oro-claro); }
.tarjeta-red, .info-btn { transition: transform .25s cubic-bezier(.3,.7,.2,1.3), border-color .25s, background-color .25s; }
.tarjeta-red:hover, .info-btn:hover { transform: translateY(-3px); border-color: rgb(214 172 92 / .55); background: rgb(255 255 255 / .1); }
.info-btn svg { transition: transform .35s cubic-bezier(.3,.7,.2,1.3); }
.info-btn[data-info="envios"]:hover svg { transform: translateX(5px) rotate(-6deg); }
.info-btn[data-info="retiro"]:hover svg { transform: translateY(-4px); }
.info-btn[data-info="pagos"]:hover svg { transform: rotateY(180deg); }
.btn-brilla { position: relative; overflow: hidden; isolation: isolate; }
.btn-brilla svg { width: 18px; height: 18px; transition: transform .25s; }
.btn-brilla:hover svg { transform: translateX(4px); }
.btn-brilla::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 40%; transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(240 213 154 / .45), transparent); animation: barre 6s ease-in-out 3s infinite; }
@keyframes barre { 0% { transform: translateX(-150%) skewX(-20deg); } 25%, 100% { transform: translateX(320%) skewX(-20deg); } }
.bienvenida.quieta *, .bienvenida.quieta *::before, .bienvenida.quieta *::after { animation-play-state: paused !important; }

/* ---------- Pasos ---------- */
.pasos { background: var(--crema); color: var(--tinta); border-radius: 28px 28px 0 0; padding: 30px 0; }
.pasos h2 { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: 1.6rem; text-align: center; margin-bottom: 16px; color: var(--bordo); }
.pasos-pista { list-style: none; margin: 0; padding: 4px 18px 12px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; }
.pasos-pista::-webkit-scrollbar { display: none; }
.pasos-pista li { flex: none; width: 78%; max-width: 340px; scroll-snap-align: start; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgb(43 26 16 / .08); transition: box-shadow .4s; }
.pasos-pista li svg { flex: none; width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--bordo); color: var(--crema); transition: transform .4s, box-shadow .4s; }
.pasos-pista li span { font-size: .88rem; color: var(--tinta-suave); line-height: 1.35; }
.pasos-pista li strong { display: block; color: var(--tinta); font-weight: 700; font-size: 1rem; }
.pasos-pista li.on { box-shadow: 0 0 0 2px var(--oro), 0 8px 20px rgb(43 26 16 / .12); }
.pasos-pista li.on svg { transform: scale(1.06); box-shadow: 0 0 0 3px var(--oro); }
.puntos { display: flex; justify-content: center; gap: 7px; }
.puntos i { width: 7px; height: 7px; border-radius: 50%; background: rgb(43 26 16 / .2); transition: background-color .3s, width .3s; }
.puntos i.on { background: var(--bordo); width: 18px; border-radius: 4px; }

/* ---------- Firma Tereré Estudio ---------- */
.firma-te { background: #161415; padding: 14px 16px; text-align: center; }
.firma-te a { display: inline-flex; align-items: center; gap: 10px; color: #F3E9DA; text-decoration: none; font: 500 14px/1 system-ui, sans-serif; }
.firma-te img { height: 28px; width: auto; opacity: .9; }
.firma-te a:hover img, .firma-te a:focus-visible img { opacity: 1; }
.firma-te a:focus-visible { outline: 2px solid #9FBD2B; outline-offset: 4px; }
@media (max-width: 600px) { .firma-te img { height: 24px; } }
.en-tienda .firma-te { padding-bottom: calc(14px + var(--barra-h) + 74px + var(--abajo)); }

/* ---------- TIENDA ---------- */
.tienda { max-width: 1180px; margin: 0 auto; padding: 10px 12px 24px; color: var(--tinta); }
.tienda-cab { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 6px 0 10px; }
.tienda-logo img { width: 70px; height: 70px; filter: drop-shadow(0 4px 6px rgb(43 26 16 / .3)); }
.tienda-cab h2 { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: 1.75rem; color: var(--bordo); }
.tienda-sub { margin: 0; font-size: .82rem; color: var(--tinta-suave); }
.aviso-demo { margin: 2px 0 0; padding: 3px 12px; border-radius: 999px; background: var(--aviso); color: var(--tinta); font-size: .76rem; font-weight: 500; }
.volver { display: none; }
.buscador { margin: 0 0 10px; }
.buscador input { width: 100%; height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(43 26 16 / .2); background: #fff; color: var(--tinta); }
.filtros { position: sticky; top: 0; z-index: 15; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 12px; padding: 8px 12px; background: rgb(251 246 236 / .94); backdrop-filter: blur(6px); }
.filtros::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(43 26 16 / .2); background: #fff; color: var(--tinta); font-size: .86rem; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--bordo); color: var(--crema); border-color: var(--bordo); }
.grilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { position: relative; container-type: inline-size; display: flex; flex-direction: column; border-radius: var(--radio); background: #fff; box-shadow: 0 0 0 1px rgb(43 26 16 / .08), 0 6px 16px rgb(43 26 16 / .07); }
.card-abrir { display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--tinta); }
.card-foto { position: relative; display: block; aspect-ratio: 1; margin: 6px 6px 0; border-radius: 12px; background: radial-gradient(circle at 50% 55%, #fff 0, var(--crema) 75%); overflow: hidden; }
.card-foto img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .3s; }
.card-txt { display: flex; flex-direction: column; flex: 1; padding: 8px 12px 12px; }
.card-rotulo { align-self: flex-start; margin-bottom: 3px; padding: 1px 8px; border-radius: 999px; background: var(--oro); color: var(--tinta); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-nombre { display: block; font-size: .92rem; font-weight: 500; line-height: 1.25; min-height: 2.5em; }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; margin-top: auto; padding-top: 4px; }
.card-meta b { font-size: 1.05rem; }
.card-meta small { font-size: .72rem; color: var(--tinta-suave); }
.card-mas { position: absolute; right: 12px; top: calc(100cqw - 54px); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bordo); color: var(--crema); display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgb(43 26 16 / .25); transition: transform .15s, background-color .2s; }
.card-mas svg { width: 20px; height: 20px; }
.card-mas:active { transform: scale(.92); }
.card-mas.ok { background: var(--verde); }
.sello { position: absolute; top: 12px; left: 12px; padding: 2px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; pointer-events: none; }
.sello-local { background: var(--verde); color: var(--crema); }
.sello-18 { background: var(--tinta); color: var(--crema); }
.sello-local + .sello-18 { top: 36px; }
.card-promo { box-shadow: 0 0 0 2px var(--oro), 0 6px 16px rgb(43 26 16 / .1); }
.card-promo .card-foto { background: radial-gradient(circle at 50% 55%, #a3313f 0, var(--bordo) 72%); }
.card-promo .sello-18 { left: auto; right: 12px; }
.combo .cf, .ficha-combo .cf { position: absolute; bottom: 4%; left: 50%; width: 70%; height: 70%; padding: 0; object-fit: contain; transform: translateX(calc(-50% + var(--x, 0) * 1%)) rotate(var(--r, 0deg)); filter: drop-shadow(0 5px 6px rgb(10 5 2 / .4)); }
.combo[data-n="2"] .cf-1, .ficha-combo[data-n="2"] .cf-1 { --x: -24; --r: -5deg; }
.combo[data-n="2"] .cf-2, .ficha-combo[data-n="2"] .cf-2 { --x: 24; --r: 5deg; }
.combo[data-n="3"] .cf, .ficha-combo[data-n="3"] .cf { width: 58%; height: 58%; }
.combo[data-n="3"] .cf-1, .ficha-combo[data-n="3"] .cf-1 { --x: -42; --r: -6deg; }
.combo[data-n="3"] .cf-2, .ficha-combo[data-n="3"] .cf-2 { z-index: 1; }
.combo[data-n="3"] .cf-3, .ficha-combo[data-n="3"] .cf-3 { --x: 42; --r: 6deg; }
.vacio { text-align: center; color: var(--tinta-suave); padding: 20px; }
.ley-alcohol { margin: 22px auto 0; text-align: center; font-size: .76rem; color: var(--tinta-suave); }

/* ---------- Bandeja y barra (tienda, celular) ---------- */
.bandeja { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--barra-h) + 10px + var(--abajo)); max-width: 520px; margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; border: 0; border-radius: 999px; background: var(--nogal-900); color: var(--crema); box-shadow: var(--sombra), 0 0 0 2px var(--oro); animation: sube .25s ease; }
.bandeja-fotos { display: flex; }
.bandeja-fotos img { width: 40px; height: 40px; border-radius: 50%; background: var(--crema); border: 2px solid var(--nogal-900); object-fit: contain; padding: 3px; }
.bandeja-fotos img + img { margin-left: -14px; }
.bandeja-txt { flex: 1; text-align: left; font-size: .84rem; line-height: 1.2; }
.bandeja-txt b { display: block; font-size: 1rem; }
.bandeja-ver { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: .86rem; color: var(--oro-claro); }
.bandeja-ver svg { width: 16px; height: 16px; }
.barra { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(var(--barra-h) + var(--abajo)); padding-bottom: var(--abajo); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: var(--nogal-950); border-top: 2px solid var(--oro); }
.barra > a, .barra > button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 6px 0; font-size: .7rem; text-decoration: none; color: var(--claro); }
.barra svg { width: 22px; height: 22px; }
.barra-libreta { position: relative; }
.barra-libreta svg { width: 28px; height: 28px; margin: -3px 0 -3px; }
.barra-libreta .num { top: -6px; right: -16px; }
.barra [aria-expanded="true"] { color: var(--oro-claro); }

/* ---------- Hojas (dialog) ---------- */
.hoja { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 18px 18px calc(22px + var(--abajo)); border: 0; border-radius: 24px 24px 0 0; background: var(--papel); color: var(--tinta); overflow-y: auto; scrollbar-width: none; }
.hoja::backdrop { background: rgb(26 15 9 / .62); }
.hoja[open] { animation: sube .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
.hoja-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(43 26 16 / .08); display: grid; place-items: center; color: var(--tinta); }
.hoja-x svg { width: 20px; height: 20px; }
/* Ficha */
.ficha { padding-top: 0; }
.ficha-foto { position: relative; margin: 0 -18px 12px; height: min(62vw, 270px, 34svh); background: radial-gradient(circle at 50% 60%, #fff, var(--crema) 70%); border-bottom: 4px solid var(--oro); }
.ficha-foto > img { width: 100%; height: 100%; object-fit: contain; padding: 4% 0; }
.ficha-foto.ficha-combo { background: radial-gradient(circle at 50% 60%, #a3313f, var(--bordo) 72%); }
.ficha-sellos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.ficha-sellos span { font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--crema); }
.ficha-sellos .s-local { background: var(--verde); color: var(--crema); }
.ficha-sellos .s-18 { background: var(--tinta); color: var(--crema); }
.ficha-sellos .s-promo { background: var(--oro); }
.ficha-nombre { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: 1.6rem; color: var(--bordo); padding-right: 30px; }
.ficha-desc { margin: 4px 0 10px; color: var(--tinta-suave); font-size: .94rem; }
.ficha-trae { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.ficha-trae li { position: relative; padding-left: 18px; font-size: .92rem; }
.ficha-trae li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--oro); transform: rotate(45deg); }
.ficha-var { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ficha-var button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(43 26 16 / .3); background: #fff; font-weight: 500; }
.ficha-var button[aria-checked="true"] { background: var(--bordo); border-color: var(--bordo); color: var(--crema); }
.ficha-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 8px; }
.ficha-precio strong { font-size: 1.5rem; }
.ficha-precio span { font-size: .84rem; color: var(--verde); font-weight: 700; }
.ficha-ley { margin: 0 0 12px; font-size: .76rem; color: var(--tinta-suave); }
.ficha-acc { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.cant { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; border: 1.5px solid rgb(43 26 16 / .3); background: #fff; }
.cant button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.3rem; border-radius: 999px; }
.cant output { min-width: 22px; text-align: center; font-weight: 700; }
/* Info */
.info h3 { font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: 1.45rem; color: var(--bordo); margin: 14px 0 6px; }
.info p { margin: 0 0 16px; color: var(--tinta-suave); }
.info-tabs { display: flex; gap: 6px; margin-right: 50px; }
.info-tabs button { flex: 1; height: 40px; border-radius: 999px; border: 1.5px solid rgb(43 26 16 / .25); background: #fff; font-size: .86rem; }
.info-tabs [aria-selected="true"] { background: var(--bordo); color: var(--crema); border-color: var(--bordo); }
/* Pedido: la libreta */
.pedido { padding: 0 0 calc(22px + var(--abajo)); }
.pedido-cab { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; background: var(--bordo); color: var(--crema); border-bottom: 4px solid var(--oro); }
.pedido-cab > svg { width: 40px; height: 40px; padding: 4px; border-radius: 50%; background: var(--crema); }
.pedido-cab h2 { flex: 1; font-family: var(--f-marca); font-weight: 400; letter-spacing: 0; font-size: 1.35rem; }
.pedido-cab .hoja-x { position: static; background: rgb(255 255 255 / .14); color: var(--crema); }
.pedido-vacio { text-align: center; padding: 34px 20px; }
.pedido-vacio svg { width: 110px; height: 110px; margin: 0 auto 8px; }
.pedido-lleno { padding: 0 18px; }
.pedido-lista { list-style: none; margin: 0 -18px; padding: 4px 18px 4px 46px;
  background: linear-gradient(90deg, transparent 33px, rgb(200 55 45 / .45) 33px 35px, transparent 35px), repeating-linear-gradient(transparent 0 63px, rgb(156 183 207 / .55) 63px 64px), #fffdf8; }
.pedido-lista li { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; min-height: 64px; }
.pedido-lista img { width: 46px; height: 46px; object-fit: contain; }
.pl-nombre { margin: 0; font-weight: 500; font-size: .94rem; line-height: 1.2; }
.pl-precio { margin: 0; font-size: .78rem; color: var(--tinta-suave); }
.pedido-lista .cant { height: 38px; }
.pedido-lista .cant button { width: 32px; font-size: 1.1rem; }
.pedido-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin: 12px 0 16px; }
.pedido-total strong { font: 400 1.35rem var(--f-marca); color: var(--bordo); }
.form { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; border: 0; margin: 0; padding: 0; }
.campo input:not([type=radio]), .campo textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid rgb(43 26 16 / .28); border-radius: 12px; background: #fff; font-weight: 400; }
.campo small { font-weight: 400; color: var(--tinta-suave); }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones legend { width: 100%; margin-bottom: 6px; padding: 0; }
.opciones label { display: inline-flex; align-items: center; gap: 6px; padding: .5rem .9rem; border: 1.5px solid rgb(43 26 16 / .28); border-radius: 999px; font-weight: 400; cursor: pointer; background: #fff; }
.opciones label:has(input:checked) { background: var(--bordo); color: var(--crema); border-color: var(--bordo); }
.opciones input { accent-color: var(--oro); }
.hp { position: absolute; left: -9999px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 8px; font-size: .86rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--bordo); }
.carta { background: #e7f3e5; border-radius: 14px 14px 14px 4px; padding: 12px 14px; }
.carta-tit { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; font-size: .9rem; }
.carta-tit svg { width: 18px; height: 18px; color: var(--wa); }
.carta-txt { margin: 0; white-space: pre-wrap; font: .8rem/1.5 var(--f-txt); color: var(--tinta-suave); max-height: 170px; overflow: auto; }
.error { margin: 0; color: #a3122e; font-size: .88rem; min-height: 1.2em; }
.form .btn-txt { justify-self: center; font-size: .85rem; color: var(--tinta-suave); }
.aviso { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + var(--abajo)); transform: translateX(-50%); max-width: calc(100% - 32px); margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--nogal-950); color: var(--crema); font-size: .88rem; box-shadow: var(--sombra); animation: sube .25s ease; }
.en-tienda .aviso { bottom: calc(var(--barra-h) + 84px + var(--abajo)); }

/* ---------- PC (≥ 960 px) ---------- */
@media (min-width: 960px) {
  .estante { height: 120px; }
  .cab-logo img { width: 128px; }
  .promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "txt prods" "acc prods"; align-content: center; align-items: center; column-gap: 40px; row-gap: 22px; max-width: 1180px; margin: 0 auto; padding: 0 56px; text-align: left; }
  .promo-txt { grid-area: txt; align-self: end; }
  .promo-tit { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .promo-desc { margin-left: 0; font-size: 1.1rem; }
  .promo-rotulo { font-size: .8rem; }
  .promo-prods { grid-area: prods; width: 100%; height: min(60vh, 520px); flex: none; margin: 0; }
  .promo-acc { grid-area: acc; align-self: start; justify-content: flex-start; gap: 14px; }
  .promo-acc .btn { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
  .promo-sello { top: auto; bottom: 18%; right: auto; left: calc(50% + 20px); width: 128px; height: 128px; }
  .flecha { top: 50%; bottom: auto; width: 56px; height: 56px; margin-top: -28px; background: var(--crema); color: var(--tinta); box-shadow: 0 0 0 3px var(--oro), 0 8px 18px rgb(10 5 2 / .4); }
  .flecha:hover { background: var(--oro-claro); }
  .flecha-izq { left: max(16px, calc(50vw - 690px)); } .flecha-der { right: max(16px, calc(50vw - 690px)); }
  .promo-sello b { font-size: 1.4rem; }
  .promo-sello small, .promo-sello span { font-size: .7rem; }
  .libreta { top: 18px; right: 24px; width: auto; height: 62px; padding: 0 22px 0 12px; border-radius: 999px; grid-auto-flow: column; gap: 10px; }
  .libreta-txt { display: grid; text-align: left; line-height: 1.15; color: var(--tinta); }
  .libreta-txt small { font-size: .74rem; color: var(--tinta-suave); }
  .libreta-txt b { font-size: 1.05rem; }
  .libreta .num { top: -6px; right: auto; left: 40px; }
  .en-tienda .libreta { display: grid; }
  .bienvenida { max-width: 1120px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 40px 32px 60px; }
  .bv-txt .cierre { margin-bottom: 0; }
  .pasos { padding: 40px 32px 46px; }
  .pasos-pista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 1060px; margin: 0 auto; padding: 6px 0 14px; overflow: visible; }
  .pasos-pista li { width: auto; max-width: none; position: relative; padding: 16px 18px; }
  .pasos-pista li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 44px; border-top: 2px dashed rgb(43 26 16 / .35); }
  .pasos .puntos { display: none; }
  .tienda { padding: 18px 32px 40px; }
  .tienda-cab { position: relative; grid-template-columns: auto 1fr; grid-template-areas: "logo tit" "logo sub"; justify-items: start; text-align: left; column-gap: 18px; max-width: 640px; margin: 0 auto; justify-content: center; }
  .tienda-logo { grid-area: logo; }
  .tienda-logo img { width: 88px; height: 88px; }
  .tienda-cab h2 { grid-area: tit; align-self: end; font-size: 2.3rem; }
  .aviso-demo, .tienda-sub { grid-area: sub; align-self: start; }
  .volver { position: fixed; z-index: 30; left: 24px; top: 18px; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px 0 12px; border-radius: 999px; text-decoration: none; background: var(--nogal-900); color: var(--crema); font-weight: 700; box-shadow: var(--sombra); }
  .volver svg { width: 18px; height: 18px; }
  .buscador[hidden] { display: block !important; }
  .buscador { max-width: 460px; margin: 10px auto 4px; }
  .barra, .bandeja { display: none !important; }
  .en-tienda .firma-te { padding-bottom: 14px; }
  .filtros { justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
  .grilla { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card:hover .card-foto img { transform: translateY(-4px) rotate(-1.5deg); }
  .hoja { width: 480px; margin: auto; border-radius: 24px; max-height: 90vh; padding-bottom: 22px; }
  .ficha .ficha-foto { border-radius: 24px 24px 0 0; }
  .pedido { margin: 0 0 0 auto; height: 100vh; max-height: none; border-radius: 0; width: 480px; }
}
@media (min-width: 1200px) { .grilla { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 960px) and (max-height: 760px) {
  .cab-logo img { width: 100px; }
  .promo-prods { height: min(52vh, 420px); }
  .promo-tit { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }
}

/* ---------- Movimiento reducido: las promos cambian sin desplazarse ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Estados que llegan de NEO (stock, precio a consultar) y piezas de la plantilla ---------- */
.promo-prods[data-n="1"] .pp { --h: min(100cqh, 90cqw); }
.promo.agotada .promo-acc .btn-pri { opacity: .5; pointer-events: none; }
.card.agotada .card-foto img { filter: grayscale(.85) opacity(.6); }
.card.agotada .card-nombre { color: var(--tinta-suave); }
.card-meta .estado { flex-basis: 100%; font-weight: 700; color: var(--bordo); }
.card-rotulo-suave { background: var(--crema); }
.ficha-var button.sin { text-decoration: line-through; opacity: .6; }
.ficha-foto.ficha-promo { background: radial-gradient(circle at 50% 60%, #a3313f, var(--bordo) 72%); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.beneficios { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.beneficios li { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; background: rgb(214 172 92 / .16); color: var(--oro-claro); border: 1px solid rgb(214 172 92 / .4); }

/* celulares muy angostos: sin flechas (se pasa con el dedo o los puntos), así no pisan el botón */
@media (max-width: 379px) { .flecha { display: none; } }
