/* Miga · panadería de masa madre (demo de AXIO).
   Colores de harina, miga, corteza y brasa. Marcos en forma de arco de horno. Letras: Fraunces, Bricolage Grotesque y DM Mono. */

:root {
  --papel: #fbf7f0;
  --harina: #f5ede1;
  --miga: #ecdfc8;
  --corteza: #7a3d16;
  --tostado: #b8692c;
  --ambar: #e9a03c;
  --ambar-claro: #f6c879;
  --brasa: #e2562b;
  --carbon: #15100c;
  --carbon-2: #221912;
  --tinta: #2b1d14;
  --tinta-suave: #6e5a49;
  --linea: rgb(43 29 20 / .13);
  --linea-clara: rgb(251 247 240 / .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --margen: clamp(20px, 5.5vw, 88px);
  --curva: cubic-bezier(.2, .8, .2, 1);
  --resorte: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--carbon); color: var(--tinta); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.cargando { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }

.titular { font-family: var(--serif); font-weight: 520; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 120; letter-spacing: -.025em; line-height: .98; text-wrap: balance; }
.titular em { font-style: italic; font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 120; color: var(--tostado); }
.ceja { display: inline-flex; align-items: center; gap: .55em; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tostado); }
.ceja svg { width: 1.25em; height: 1.25em; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .8em 1.5em; border-radius: 999px; border: 0; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--resorte), background-color .25s, color .25s, box-shadow .3s; }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .35s var(--resorte); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-ambar { background: var(--ambar); color: var(--carbon); box-shadow: 0 14px 34px -14px rgb(233 160 60 / .8); }
.btn-ambar:hover { background: var(--ambar-claro); }
.btn-tinta { background: var(--tinta); color: var(--papel); }
.btn-tinta:hover { background: var(--corteza); }
.btn-linea { background: transparent; color: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea-clara); }
.btn-linea:hover { box-shadow: inset 0 0 0 1.5px var(--papel); }
.btn-linea-oscura { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn-linea-oscura:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.btn-grande { min-height: 58px; font-size: 1.05rem; padding-inline: 1.8em; }
.btn-ancho { width: 100%; }
.btn-wa { background: #1fa855; color: #fff; width: 100%; }
.btn-wa:hover { background: #22b85d; }

/* ---------- carga ---------- */
.carga { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--carbon); color: var(--papel); }
.carga-centro { display: grid; justify-items: center; gap: 18px; }
.carga-masa { width: 180px; height: auto; overflow: visible; }
.cm-contorno { fill: none; stroke: rgb(245 237 225 / .25); stroke-width: 2; }
.cm-relleno { fill: url(#cargaGrad); fill: var(--ambar); }
.cm-corte { fill: none; stroke: var(--carbon); stroke-width: 4; stroke-linecap: round; opacity: .55; }
.cm-base { stroke: rgb(245 237 225 / .25); stroke-width: 2; stroke-linecap: round; }
.carga-texto { display: flex; align-items: baseline; gap: .4em; font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; color: rgb(245 237 225 / .7); }
.carga-texto b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--papel); min-width: 2.2ch; text-align: right; }
.carga-texto i { font-style: normal; }

/* ---------- cabecera ---------- */
.cabecera { position: fixed; z-index: 50; top: 14px; left: 50%; width: min(1240px, calc(100% - 24px)); transform: translateX(-50%); display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 18px; border-radius: 999px; color: var(--papel); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--curva); }
.cabecera.clara { background: rgb(251 247 240 / .82); color: var(--tinta); box-shadow: 0 10px 30px -18px rgb(43 29 20 / .45), inset 0 0 0 1px var(--linea); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.cabecera.oculta { transform: translate(-50%, -140%); }
.marca { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.75rem; letter-spacing: -.03em; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.marca svg { width: 1.15em; height: 1.15em; color: var(--ambar); --logo-corte: var(--carbon); }
.cabecera.clara .marca svg { color: var(--tostado); --logo-corte: var(--papel); }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { padding: .45em .9em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .85; transition: background-color .25s, opacity .25s; }
.menu a:hover { opacity: 1; background: rgb(127 100 70 / .16); }
.estado-vivo { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; opacity: .9; white-space: nowrap; }
.estado-vivo i { width: 8px; height: 8px; border-radius: 50%; background: #5ccf7a; box-shadow: 0 0 0 0 rgb(92 207 122 / .6); animation: pulso 2s infinite; }
.estado-vivo.cerrado i { background: #d7735b; box-shadow: none; animation: none; }
@keyframes pulso { 70% { box-shadow: 0 0 0 7px rgb(92 207 122 / 0); } 100% { box-shadow: 0 0 0 0 rgb(92 207 122 / 0); } }
.btn-canasta { position: relative; display: inline-flex; align-items: center; gap: .5em; padding: .55em .95em .55em .8em; border: 0; border-radius: 999px; background: var(--ambar); color: var(--carbon); font-weight: 700; font-size: .95rem; }
.btn-canasta svg { width: 1.35em; height: 1.35em; }
.btn-canasta b { display: grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 999px; background: var(--carbon); color: var(--papel); font-size: .78rem; }
.btn-canasta.salta { animation: salta .55s var(--resorte); }
@keyframes salta { 30% { transform: scale(1.14) rotate(-4deg); } 60% { transform: scale(.96) rotate(2deg); } }

/* ---------- 1 · inicio ---------- */
.inicio { position: relative; height: 330vh; background: var(--carbon); color: var(--papel); }
.inicio-escena { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.inicio-luz { position: absolute; inset: 0; background:
  radial-gradient(48% 55% at 64% 52%, rgb(233 160 60 / .26), transparent 70%),
  radial-gradient(30% 30% at 62% 78%, rgb(226 86 43 / .14), transparent 70%),
  radial-gradient(90% 70% at 50% 110%, #2a1b12, transparent 70%), var(--carbon); }
.inicio-luz::after { content: ""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.inicio-partido { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: 0; transform: scale(1.2); will-change: transform, opacity, filter; }
.inicio-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.pan3d { position: absolute; z-index: 3; left: 67%; top: 50%; width: min(42vw, 700px); aspect-ratio: 640 / 391; transform: translate(-50%, -50%); perspective: 1400px; }
.pan-mitad { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.pan-mitad img { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55)); }
.pan-izq { clip-path: polygon(0 -10%, 51.5% -10%, 49% 10%, 52.5% 22%, 48% 35%, 52% 48%, 47.5% 61%, 51% 74%, 48% 87%, 50.5% 110%, 0 110%); }
.pan-der { clip-path: polygon(51.5% -10%, 100% -10%, 100% 110%, 50.5% 110%, 48% 87%, 51% 74%, 47.5% 61%, 52% 48%, 48% 35%, 52.5% 22%, 49% 10%); }
.pan-sombra { position: absolute; left: 8%; right: 8%; bottom: -6%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .75), transparent); filter: blur(6px); }
.inicio-texto { position: absolute; z-index: 5; left: var(--margen); bottom: clamp(70px, 13vh, 140px); max-width: min(640px, 46vw); display: grid; gap: 22px; }
.inicio-texto .ceja { color: var(--ambar-claro); }
.inicio .titular { font-size: clamp(2.9rem, 6.4vw, 6.6rem); color: var(--papel); }
.inicio .titular em { color: var(--ambar); }
.titular .letra { display: inline-block; will-change: transform, opacity, filter; }
.titular .palabra { display: inline-block; white-space: nowrap; }
.inicio-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.inicio-miga { position: absolute; z-index: 5; left: var(--margen); bottom: clamp(70px, 13vh, 140px); max-width: 560px; display: grid; gap: 16px; opacity: 0; visibility: hidden; }
.inicio-miga::before { content: ""; position: absolute; z-index: -1; inset: -40vh -40vw -20vh -20vw; background: radial-gradient(50% 60% at 20% 80%, rgb(21 16 12 / .85), transparent 70%); }
.inicio-miga .ceja { color: var(--ambar-claro); }
.inicio-miga .titular { font-size: clamp(2.6rem, 5.4vw, 5.4rem); }
.inicio-miga p:last-child { max-width: 420px; font-size: 1.1rem; color: rgb(251 247 240 / .82); }
.desliza { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(251 247 240 / .6); }
.desliza i { width: 1.5px; height: 42px; background: linear-gradient(var(--ambar), transparent); transform-origin: top; animation: cae 1.8s var(--curva) infinite; }
@keyframes cae { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 2 · el reloj del panadero ---------- */
.horno { position: relative; background: var(--harina); --t: var(--tinta); --ts: var(--tinta-suave); color: var(--t); }
.horno-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--fondo-horno, var(--harina)); transition: background-color .2s linear; }
.horno-pista { display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; width: 100vw; height: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 90px); padding: 110px var(--margen) 70px; }
.panel-texto { display: grid; gap: 20px; max-width: 520px; color: var(--t); }
.panel-texto > p:not(.hora) { color: var(--ts); font-size: 1.12rem; }
.panel .titular { font-size: clamp(2.6rem, 5vw, 5rem); }
.hora { font-family: var(--mono); font-size: .95rem; letter-spacing: .12em; color: var(--tostado); }
.datos { list-style: none; margin: 6px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid var(--linea); }
.datos li { display: grid; font-size: .92rem; color: var(--ts); }
.datos b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.1; color: var(--t); }
.arco { position: relative; width: min(100%, 520px); aspect-ratio: 4 / 5; justify-self: center; perspective: 1200px; }
.arco-in { position: absolute; inset: 0; overflow: hidden; border-radius: 50% 50% 26px 26px / 38% 38% 26px 26px; background: var(--miga); box-shadow: 0 40px 80px -40px rgb(43 29 20 / .55); transform-style: preserve-3d; will-change: transform; }
.arco-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.arco-horno { aspect-ratio: 1 / 1.05; width: min(100%, 580px); }
.arco-horno .arco-in { background: #000; box-shadow: 0 40px 100px -30px rgb(226 86 43 / .55); }
.horno-listo { opacity: 0; }
.brasa { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 45% at 50% 18%, rgb(255 140 60 / .55), transparent 70%); mix-blend-mode: screen; opacity: .4; }
.burbujas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 50% 50% 26px 26px / 38% 38% 26px 26px; }
.burbujas i { position: absolute; bottom: 30%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .9), rgb(255 255 255 / .15) 45%, transparent 70%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); animation: burbuja var(--d, 4s) var(--retraso, 0s) infinite ease-in; opacity: 0; }
@keyframes burbuja { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-260%) scale(1); opacity: 0; } }
.nube-harina { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; }
.termometro { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.termometro svg { width: 110px; height: auto; overflow: visible; }
.t-fondo, .t-nivel { fill: none; stroke-width: 8; stroke-linecap: round; }
.t-fondo { stroke: rgb(251 247 240 / .14); }
.t-nivel { stroke: url(#gradTermo); stroke: var(--brasa); stroke-dasharray: 158; stroke-dashoffset: 158; filter: drop-shadow(0 0 8px rgb(226 86 43 / .8)); }
.termometro p { font-family: var(--mono); font-size: 1rem; color: var(--ts); }
.termometro b { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; color: var(--t); }
.reloj { position: absolute; z-index: 6; top: 96px; left: var(--margen); display: flex; align-items: center; gap: 14px; color: var(--t); pointer-events: none; }
.reloj svg { width: 64px; height: 64px; }
.r-cara { fill: rgb(251 247 240 / .06); stroke: currentColor; stroke-width: 2.5; opacity: .9; }
.r-marcas line { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; opacity: .5; }
.r-hora, .r-min { stroke: currentColor; stroke-linecap: round; }
.r-hora { stroke-width: 5; }
.r-min { stroke-width: 3; stroke: var(--tostado); }
.r-eje { fill: var(--tostado); }
.reloj p { display: grid; line-height: 1.1; }
.reloj b { font-family: var(--serif); font-weight: 500; font-size: 2rem; font-variant-numeric: tabular-nums; }
.reloj span { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; color: var(--ts); }
.horno-progreso { position: absolute; z-index: 6; left: var(--margen); right: var(--margen); bottom: 32px; height: 2px; background: var(--linea); border-radius: 2px; overflow: hidden; }
.horno-progreso i { display: block; height: 100%; width: 100%; background: var(--tostado); transform: scaleX(0); transform-origin: left; }
.panel-horno { --t: var(--papel); --ts: rgb(251 247 240 / .68); --linea: var(--linea-clara);
  background: radial-gradient(60% 70% at 30% 55%, rgb(226 86 43 / .22), transparent 70%), radial-gradient(80% 80% at 80% 100%, #2b1a10, transparent 70%), var(--carbon); }
.panel-horno .titular em { color: var(--ambar); }
.horno.oscuro .reloj { --t: var(--papel); --ts: rgb(251 247 240 / .68); }
.horno.oscuro .horno-progreso { background: var(--linea-clara); }

/* ---------- cinta ---------- */
.cinta { overflow: hidden; padding: 22px 0; background: var(--carbon); color: var(--papel); border-block: 1px solid rgb(255 255 255 / .06); }
.cinta-pista { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.cinta span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cinta span:nth-of-type(even) { color: var(--ambar); }
.cinta i { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--tostado); box-shadow: inset -4px -3px 0 rgb(0 0 0 / .25); }

/* ---------- 3 · la carta ---------- */
.carta { position: relative; background: var(--papel); padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 130px); }
.carta-cab { display: grid; justify-items: center; gap: 18px; padding: 0 var(--margen); text-align: center; }
.carta-cab .titular { font-size: clamp(3rem, 7vw, 6.4rem); }
.carta-bajada { max-width: 560px; font-size: 1.12rem; color: var(--tinta-suave); }
.pasos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 0; padding: 0; }
.pasos li { display: inline-flex; align-items: center; gap: .6em; padding: .5em 1em .5em .5em; border-radius: 999px; background: var(--harina); font-weight: 600; font-size: .92rem; }
.pasos b { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--tinta); color: var(--papel); font-size: .8rem; }
.filtros { display: flex; justify-content: center; gap: 8px; margin: 46px auto 34px; padding: 0 var(--margen); overflow-x: auto; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro { padding: .6em 1.15em; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .95rem; color: var(--tinta-suave); box-shadow: inset 0 0 0 1.5px var(--linea); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.filtro:hover { color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.filtro[aria-selected="true"] { background: var(--tinta); color: var(--papel); box-shadow: none; }
.vitrina { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2vw, 26px); max-width: 1300px; margin: 0 auto; padding: 0 var(--margen); perspective: 1600px; }
.producto { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 30px; background: var(--harina); padding: 16px 18px 18px; transform-style: preserve-3d; transition: box-shadow .4s, background-color .4s; --rx: 0deg; --ry: 0deg; --lx: 50%; --ly: 30%; }
.producto:hover { background: var(--miga); box-shadow: 0 30px 60px -36px rgb(43 29 20 / .5); }
.producto[hidden] { display: none; }
.producto.destacado { grid-column: span 2; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto; align-items: center; gap: 10px; }
.p-escena { position: relative; height: 210px; display: grid; place-items: center; perspective: 700px; }
.destacado .p-escena { height: 300px; }
.p-plato { position: absolute; left: 14%; right: 14%; bottom: 16px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgb(80 45 20 / .34), transparent); transition: transform .5s var(--curva), opacity .5s; }
.p-img { position: relative; max-width: 84%; max-height: 190px; width: auto; height: auto; object-fit: contain; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0); transition: transform .6s var(--curva); filter: drop-shadow(0 14px 14px rgb(60 30 10 / .22)); will-change: transform; }
.destacado .p-img { max-height: 270px; }
.producto:hover .p-img { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-14px) scale(1.06); }
.producto:hover .p-plato { transform: scale(.82); opacity: .7; }
.p-brillo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(40% 40% at var(--lx) var(--ly), rgb(255 255 255 / .55), transparent 70%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.producto:hover .p-brillo { opacity: 1; }
.p-info { display: grid; align-content: start; gap: 8px; }
.p-hornada { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tostado); }
.p-hornada::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 0 3px rgb(233 160 60 / .22); }
.producto h3 { font-family: var(--serif); font-weight: 520; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.destacado h3 { font-size: 2.1rem; }
.p-detalle { font-size: .93rem; color: var(--tinta-suave); line-height: 1.45; }
.p-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.p-precio { display: grid; line-height: 1.1; }
.p-precio b { font-family: var(--serif); font-weight: 560; font-size: 1.45rem; }
.p-precio span { font-size: .78rem; color: var(--tinta-suave); }
.agregar { position: relative; display: inline-flex; align-items: center; gap: .4em; height: 44px; padding: 0 1.1em; border: 0; border-radius: 999px; background: var(--tinta); color: var(--papel); font-weight: 700; font-size: .92rem; transition: background-color .25s, transform .35s var(--resorte); }
.agregar:hover { background: var(--corteza); }
.agregar:active { transform: scale(.94); }
.agregar svg { width: 1.1em; height: 1.1em; }
.contador { display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: var(--tinta); color: var(--papel); }
.contador button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.25rem; line-height: 1; border-radius: 999px; }
.contador button:hover { background: rgb(255 255 255 / .1); }
.contador output { min-width: 1.6em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.nota-precios { margin-top: 36px; text-align: center; font-size: .85rem; color: var(--tinta-suave); }

/* pan que vuela a la canasta */
.vuela { position: fixed; z-index: 120; left: 0; top: 0; pointer-events: none; will-change: transform; filter: drop-shadow(0 16px 18px rgb(43 29 20 / .35)); }

/* ---------- canasta flotante ---------- */
.canasta-flota { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px; background: var(--carbon); color: var(--papel);
  box-shadow: 0 20px 44px -18px rgb(21 16 12 / .7); transform: translateY(160%); transition: transform .6s var(--resorte); }
.canasta-flota.visible { transform: none; }
.canasta-flota.recibe .cf-canasta { animation: recibe .6s var(--resorte); }
@keyframes recibe { 25% { transform: scale(1.12, .88) translateY(4px); } 55% { transform: scale(.95, 1.06) translateY(-3px); } }
.cf-canasta { position: relative; width: 92px; height: 56px; transform-origin: 50% 100%; }
.cf-atras, .cf-frente { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cf-frente { clip-path: inset(48% 0 0 0); }
.cf-panes { position: absolute; inset: 0; }
.cf-panes img { position: absolute; width: 38px; height: auto; transform-origin: 50% 100%; }
.cf-info { display: grid; text-align: left; line-height: 1.15; }
.cf-info b { font-size: .92rem; }
.cf-info span { font-family: var(--serif); font-size: 1.25rem; color: var(--ambar-claro); }

/* ---------- cajón ---------- */
.velo { position: fixed; inset: 0; z-index: 89; background: rgb(21 16 12 / .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s; }
.velo.visible { opacity: 1; }
.cajon { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(470px, 100vw); display: flex; flex-direction: column; background: var(--papel); color: var(--tinta);
  box-shadow: -30px 0 60px -30px rgb(21 16 12 / .5); transform: translateX(104%); transition: transform .55s var(--curva); }
.cajon.abierto { transform: none; }
.cajon-cab { display: flex; align-items: center; gap: 12px; padding: 22px 22px 14px; }
.cajon-cab > div { flex: 1; }
.cajon-cab h2 { font-family: var(--serif); font-weight: 520; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.05; }
.cajon-paso { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tostado); }
.cajon-cerrar, .cajon-atras { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--harina); }
.cajon-cerrar svg, .cajon-atras svg { width: 20px; height: 20px; }
.cajon-pasos { height: 3px; margin: 0 22px; background: var(--linea); border-radius: 3px; overflow: hidden; }
.cajon-pasos i { display: block; height: 100%; width: 33.3%; background: var(--tostado); transition: width .5s var(--curva); }
.cajon-cuerpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 24px; }
.paso { display: grid; gap: 14px; animation: entraPaso .45s var(--curva); }
@keyframes entraPaso { from { opacity: 0; transform: translateX(18px); } }
.lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--linea); animation: entraPaso .4s var(--curva); }
.item-foto { width: 70px; height: 70px; border-radius: 20px; background: var(--harina); display: grid; place-items: center; }
.item-foto img { max-width: 58px; max-height: 50px; object-fit: contain; }
.item h3 { font-family: var(--serif); font-weight: 520; font-size: 1.08rem; line-height: 1.15; }
.item p { font-size: .82rem; color: var(--tinta-suave); }
.item-der { display: grid; justify-items: end; gap: 6px; }
.item-der b { font-weight: 800; font-variant-numeric: tabular-nums; }
.item .contador { height: 36px; background: var(--harina); color: var(--tinta); }
.item .contador button { width: 34px; height: 36px; font-size: 1.1rem; }
.item .contador button:hover { background: var(--miga); }
.vacia { display: grid; justify-items: center; gap: 14px; padding: 30px 10px; text-align: center; color: var(--tinta-suave); }
.vacia img { width: 170px; opacity: .9; filter: grayscale(.2); }
.vacia b { display: block; color: var(--tinta); font-family: var(--serif); font-weight: 520; font-size: 1.3rem; }
.notas { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.notas textarea, .campo input, .campo select { width: 100%; padding: .8em 1em; border: 1.5px solid var(--linea); border-radius: 16px; background: #fff; font: inherit; font-size: 16px; color: var(--tinta); resize: vertical; transition: border-color .25s; }
.notas textarea:focus, .campo input:focus, .campo select:focus { outline: none; border-color: var(--tostado); }
.campo { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.campo input.error { border-color: var(--brasa); }
.etiqueta { margin-top: 6px; font-size: .88rem; font-weight: 700; }
.segmento, .pagos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pagos { grid-template-columns: repeat(3, 1fr); }
.segmento label, .pagos label { position: relative; }
.segmento input, .pagos input { position: absolute; opacity: 0; pointer-events: none; }
.segmento span, .pagos span { display: grid; gap: 4px; justify-items: start; height: 100%; padding: 14px; border-radius: 18px; background: var(--harina); box-shadow: inset 0 0 0 1.5px transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: box-shadow .25s, background-color .25s; }
.segmento svg { width: 24px; height: 24px; color: var(--tostado); }
.segmento small, .pagos small { font-weight: 500; font-size: .78rem; color: var(--tinta-suave); }
.segmento input:checked + span, .pagos input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--tinta); }
.segmento input:focus-visible + span, .pagos input:focus-visible + span { outline: 2.5px solid var(--ambar); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .55em .95em; border: 0; border-radius: 14px; background: var(--harina); font-weight: 700; font-size: .9rem; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color .2s, box-shadow .2s; }
.chip small { display: block; font-weight: 500; font-size: .72rem; color: var(--tinta-suave); }
.chip[aria-pressed="true"] { background: var(--tinta); color: var(--papel); }
.chip[aria-pressed="true"] small { color: rgb(251 247 240 / .7); }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.chips-horas .chip { min-width: 72px; text-align: center; }
.aviso-hora, .aviso-paneton { padding: 10px 14px; border-radius: 14px; background: #fdf0d9; font-size: .86rem; color: var(--corteza); }
.delivery-campos { display: grid; gap: 12px; }
.p-logo { font-weight: 800; }
.pago-detalle { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--harina); font-size: .9rem; }
.pago-detalle[hidden] { display: none; }
.pago-detalle canvas { width: 116px; height: 116px; border-radius: 12px; background: #fff; padding: 6px; }
.pago-detalle small { display: block; margin-top: 4px; color: var(--tinta-suave); }
#pagoTarjeta, #pagoEfectivo { grid-template-columns: 1fr; }
.tarjeta-demo { position: relative; aspect-ratio: 1.586; max-width: 300px; padding: 18px 20px; border-radius: 18px; color: var(--papel); display: grid; align-content: space-between;
  background: radial-gradient(120% 120% at 90% 0%, #c27434, transparent 55%), linear-gradient(135deg, #3a2417, #15100c); box-shadow: 0 20px 40px -20px rgb(21 16 12 / .7); }
.tarjeta-demo b { font-family: var(--mono); font-weight: 500; font-size: 1.05rem; letter-spacing: .12em; }
.td-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f3d38a, #b88a3b); }
.td-pie { display: grid; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; }
.td-pie em { font-style: normal; font-size: .82rem; }
.cajon-pie { padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--papel); display: grid; gap: 12px; }
.resumen { margin: 0; display: grid; gap: 4px; }
.resumen div { display: flex; justify-content: space-between; font-size: .92rem; color: var(--tinta-suave); }
.resumen dd { margin: 0; font-variant-numeric: tabular-nums; }
.resumen .r-total { margin-top: 4px; color: var(--tinta); font-weight: 800; font-size: 1.05rem; }
.resumen .r-total dd { font-family: var(--serif); font-weight: 560; font-size: 1.5rem; }
.cajon-pie .btn:disabled { opacity: .4; cursor: not-allowed; }

/* comprobante: bolsa de papel kraft con sello */
.paso-final { gap: 16px; }
.bolsa { position: relative; padding: 46px 22px 26px; border-radius: 6px 6px 18px 18px; color: var(--tinta);
  background: radial-gradient(120% 80% at 50% 0%, rgb(255 255 255 / .18), transparent 60%),
    repeating-linear-gradient(92deg, rgb(120 80 40 / .05) 0 2px, transparent 2px 7px), #c99c6b;
  box-shadow: 0 30px 60px -30px rgb(43 29 20 / .6); transform-origin: 50% 100%; }
.bolsa-doblez { position: absolute; left: 0; right: 0; top: 0; height: 24px; background: #b98a58;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 96% 100%, 92% 70%, 88% 100%, 84% 70%, 80% 100%, 76% 70%, 72% 100%, 68% 70%, 64% 100%, 60% 70%, 56% 100%, 52% 70%, 48% 100%, 44% 70%, 40% 100%, 36% 70%, 32% 100%, 28% 70%, 24% 100%, 20% 70%, 16% 100%, 12% 70%, 8% 100%, 4% 70%, 0 100%); }
.bolsa-sello { position: absolute; z-index: 2; top: -16px; right: -10px; background: #c99c6b; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; border: 2.5px solid rgb(90 40 15 / .75); color: rgb(90 40 15 / .8); transform: rotate(-14deg) scale(0); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.bolsa-sello svg { width: 26px; height: 26px; --logo-corte: #c99c6b; }
.bolsa-sello span { margin-top: -18px; }
.ticket { position: relative; padding: 18px 18px 22px; background: #fffdf8; font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: #3a2a1e;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px)); }
.ticket h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.ticket .t-fila { display: flex; justify-content: space-between; gap: 12px; }
.ticket hr { border: 0; border-top: 1.5px dashed rgb(58 42 30 / .3); margin: 10px 0; }
.ticket .t-total { font-weight: 500; font-size: .95rem; }
.ticket .t-pagado { display: inline-block; margin-top: 8px; padding: 2px 10px; border: 1.5px solid #1f8a4b; border-radius: 6px; color: #1f8a4b; font-weight: 500; transform: rotate(-3deg); }
.ticket .t-nota { margin-top: 10px; font-size: .7rem; opacity: .7; }

/* ---------- 2b · la pastelería: el fudge ---------- */
.pasteleria { position: relative; height: 260vh; background: #14100d; color: var(--papel); }
.pasteleria-escena { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fudge-lienzo, .fudge-respaldo { position: absolute; inset: 0; width: 100%; height: 100%; }
.fudge-respaldo { object-fit: cover; display: none; }
.sin-lienzo .fudge-respaldo { display: block; }
.fudge-velo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 15% 20%, rgb(20 16 13 / .55), transparent 70%), radial-gradient(50% 45% at 88% 22%, rgb(20 16 13 / .45), transparent 70%), linear-gradient(180deg, rgb(20 16 13 / .2), transparent 30%, transparent 80%, rgb(20 16 13 / .6)); }
.fudge-titulo { position: absolute; z-index: 2; left: var(--margen); top: clamp(96px, 14vh, 150px); max-width: min(560px, 38vw); display: grid; gap: 16px; }
.fudge-titulo .ceja { color: var(--ambar-claro); }
.fudge-titulo .titular { font-size: clamp(2.6rem, 4.9vw, 5rem); }
.fudge-titulo .titular em { color: var(--ambar); }
.fudge-texto { position: absolute; z-index: 2; right: var(--margen); top: clamp(110px, 16vh, 170px); max-width: min(400px, 30vw); display: grid; gap: 22px; opacity: 0; visibility: hidden; }
.fudge-texto > p { font-size: 1.12rem; color: rgb(251 247 240 / .82); }
.fudge-medidor { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgb(251 247 240 / .55); }
.fudge-medidor i { position: relative; width: 120px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .12); overflow: hidden; }
.fudge-medidor i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #5a2d14, #a0582a); transform: scaleX(var(--nivel, 0)); transform-origin: left; }

/* ---------- 3b · encargos ---------- */
.encargos { position: relative; background: var(--harina); padding: clamp(90px, 12vw, 150px) var(--margen); }
.encargos-cab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(30px, 6vw, 90px); max-width: 1240px; margin: 0 auto; }
.encargos-intro { display: grid; gap: 20px; }
.encargos-intro .titular { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.encargos-intro > p { max-width: 520px; font-size: 1.12rem; color: var(--tinta-suave); }
.encargos-foto { margin: 0; }
.encargos-foto .arco { width: min(100%, 420px); aspect-ratio: 3 / 4; }
.armador { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; max-width: 1240px; margin: clamp(60px, 8vw, 110px) auto 0; }
.vista-torta { position: sticky; top: 100px; margin: 0; display: grid; gap: 18px; padding: 26px; border-radius: 34px; background: radial-gradient(70% 60% at 50% 40%, #fffaf2, var(--miga)); box-shadow: inset 0 0 0 1px var(--linea); }
.vt-escena { position: relative; height: clamp(300px, 34vw, 430px); display: grid; place-items: end center; perspective: 900px; }
.vt-sombra { position: absolute; left: 18%; right: 18%; bottom: 6%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgb(80 45 20 / .38), transparent); transition: transform .6s var(--resorte); }
.vt-piso { position: absolute; left: 50%; width: 62%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 18px 18px rgb(60 30 10 / .25)); will-change: transform; }
.vt-abajo { bottom: 8%; transform: translateX(-50%) scale(var(--escala, .9)); transition: transform .7s var(--resorte); }
.vt-arriba { bottom: calc(8% + 26%); width: 44%; transform: translateX(-50%) scale(var(--escala, .9)); transition: transform .7s var(--resorte); }
.vt-placa { position: absolute; left: 50%; bottom: calc(8% + 30%); z-index: 3; transform: translateX(-50%) rotate(-5deg); max-width: 70%; padding: .35em .9em; border-radius: 10px; background: linear-gradient(160deg, #fbf4e6, #ecdcc0); box-shadow: 0 6px 14px -6px rgb(60 30 10 / .45), inset 0 -2px 0 rgb(122 61 22 / .15);
  font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.6vw, 1.25rem); color: #5a2a10; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variation-settings: "SOFT" 100, "WONK" 1; }
.vt-placa.dos-pisos { bottom: calc(8% + 50%); }
.vista-torta figcaption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 14px; }
.vista-torta figcaption span { font-weight: 700; }
.vista-torta figcaption b { font-family: var(--serif); font-weight: 560; font-size: 2rem; }
.vista-torta figcaption small { grid-column: 1 / -1; color: var(--tinta-suave); font-size: .8rem; }
.armador-form { display: grid; gap: 26px; }
.grupo { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.grupo legend { margin-bottom: 12px; font-family: var(--serif); font-weight: 520; font-size: 1.45rem; letter-spacing: -.01em; }
.armador .chip[aria-pressed="true"], .armador input:checked + .chip { background: var(--tinta); color: var(--papel); }
.tamanos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sabores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion > span { display: grid; justify-items: center; gap: 6px; height: 100%; padding: 14px 10px; border-radius: 20px; background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); text-align: center; font-weight: 700; font-size: .92rem; cursor: pointer; transition: box-shadow .25s, background-color .25s, transform .3s var(--resorte); }
.opcion > span:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.opcion small { display: block; font-weight: 500; font-size: .76rem; color: var(--tinta-suave); }
.opcion input:checked + span { background: #fff; box-shadow: inset 0 0 0 2.5px var(--tostado); }
.opcion input:focus-visible + span { outline: 2.5px solid var(--ambar); outline-offset: 2px; }
.opcion .circulo { display: block; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6dcae, #c98a4c); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12); }
.sabores .opcion > span { grid-template-columns: 64px 1fr; justify-items: start; align-items: center; text-align: left; padding: 10px 14px 10px 10px; }
.sabores img { width: 64px; height: 54px; object-fit: contain; }
.armador-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.bocaditos { max-width: 1240px; margin: clamp(70px, 9vw, 120px) auto 0; display: grid; gap: 26px; }
.bocaditos .titular { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.bocaditos-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bocado { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; padding: 16px; border-radius: 26px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); }
.bocado img { width: 110px; height: 90px; object-fit: contain; filter: drop-shadow(0 10px 10px rgb(60 30 10 / .2)); }
.bocado h4 { margin: 0; font-family: var(--serif); font-weight: 520; font-size: 1.25rem; line-height: 1.1; }
.bocado p { margin: 4px 0 10px; font-size: .86rem; color: var(--tinta-suave); }
.bocado .p-pie { margin: 0; }

/* ---------- 4 · panetón ---------- */
.paneton { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) var(--margen); color: var(--papel);
  background: radial-gradient(60% 60% at 25% 40%, rgb(150 40 30 / .35), transparent 70%), radial-gradient(50% 50% at 80% 80%, rgb(233 160 60 / .16), transparent 70%), linear-gradient(180deg, #1b100b, #120c08); }
.paneton-luces { position: absolute; inset: 0; pointer-events: none; }
.paneton-luces i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgb(255 205 120 / .9), rgb(255 160 60 / .25) 40%, transparent 70%); filter: blur(var(--b, 2px)); animation: titila var(--d, 5s) var(--r, 0s) ease-in-out infinite alternate; }
@keyframes titila { from { opacity: .25; transform: translateY(0) scale(.9); } to { opacity: 1; transform: translateY(-14px) scale(1.05); } }
.paneton-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 100px); max-width: 1240px; margin: 0 auto; }
.paneton-foto { position: relative; margin: 0; }
.arco-grande { width: min(100%, 520px); aspect-ratio: 3 / 4; }
.arco-grande .arco-in { box-shadow: 0 50px 100px -40px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .06); }
.paneton-info { display: grid; gap: 20px; max-width: 520px; }
.paneton-info .ceja { color: var(--ambar-claro); }
.paneton-info .titular { font-size: clamp(2.8rem, 5.6vw, 5.6rem); }
.paneton-info .titular em { color: var(--ambar); }
.paneton-info > p { color: rgb(251 247 240 / .75); font-size: 1.1rem; }
.cuenta { display: grid; gap: 8px; }
.cuenta > p { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgb(251 247 240 / .6); }
.cuenta-num { display: flex; gap: 10px; }
.cuenta-num span { display: grid; justify-items: center; min-width: 84px; padding: 12px 10px 10px; border-radius: 18px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); font-size: .74rem; color: rgb(251 247 240 / .6); }
.cuenta-num b { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; color: var(--papel); font-variant-numeric: tabular-nums; }
.variantes { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.variantes legend { margin-bottom: 10px; font-weight: 700; font-size: .95rem; }
.variante { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .1); cursor: pointer; transition: background-color .25s, box-shadow .25s; }
.variante input { position: absolute; opacity: 0; pointer-events: none; }
.variante .v-punto { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .4); flex: none; transition: box-shadow .25s; }
.variante:has(input:checked) { background: rgb(233 160 60 / .12); box-shadow: inset 0 0 0 2px var(--ambar); }
.variante:has(input:checked) .v-punto { box-shadow: inset 0 0 0 6px var(--ambar); }
.variante:has(input:focus-visible) { outline: 2.5px solid var(--ambar); outline-offset: 2px; }
.variante .v-texto { flex: 1; display: grid; line-height: 1.25; }
.variante .v-texto small { color: rgb(251 247 240 / .6); font-size: .82rem; }
.variante .v-precio { font-family: var(--serif); font-size: 1.3rem; }
.regalo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.regalo input { position: absolute; opacity: 0; }
.caja-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .4); transition: background-color .2s, box-shadow .2s; }
.regalo input:checked + .caja-check { background: var(--ambar); box-shadow: none; }
.regalo input:checked + .caja-check::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--carbon); border-bottom: 2.5px solid var(--carbon); transform: rotate(-45deg) translate(1px, -1px); }
.regalo input:focus-visible + .caja-check { outline: 2.5px solid var(--ambar); outline-offset: 2px; }
.regalo b { color: var(--ambar-claro); }

/* ---------- 5 · visita ---------- */
.visita { background: var(--harina); padding: clamp(90px, 12vw, 150px) var(--margen); }
.visita-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 100px); max-width: 1240px; margin: 0 auto; }
.visita-info { display: grid; gap: 22px; }
.visita .titular { font-size: clamp(2.8rem, 5.6vw, 5.4rem); }
.linea-dia { display: grid; gap: 8px; margin-top: 6px; }
.ld-barra { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #d9c6a6, #f0c46e 20%, #f6dfae 45%, #f0c46e 66%, #c7a37a 86%, #6b5444); box-shadow: inset 0 0 0 1px rgb(43 29 20 / .08); }
.ld-ahora { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 5px rgb(43 29 20 / .15); }
.linea-dia { padding-top: 30px; }
.ld-marcas { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--tinta-suave); }
.ld-pin { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-family: var(--mono); font-size: .7rem; font-weight: 500; color: var(--corteza); white-space: nowrap; }
.ld-pin::after { content: ""; width: 1.5px; height: 8px; background: currentColor; opacity: .6; }
.visita-estado { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.visita-estado b { color: var(--tostado); font-weight: 520; }
.horario { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; padding-top: 18px; border-top: 1px solid var(--linea); }
.horario dt { font-size: .82rem; color: var(--tinta-suave); }
.horario dd { margin: 0; font-weight: 700; }
.horario small { font-weight: 500; color: var(--tinta-suave); }
.visita-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.visita-foto { margin: 0; }
.visita-foto .arco { aspect-ratio: 4 / 5; }

/* ---------- pie ---------- */
.pie { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px 60px; padding: 80px var(--margen) 40px; background: var(--carbon); color: rgb(251 247 240 / .75); }
.pie-marca { display: grid; gap: 14px; color: var(--papel); }
.pie-marca .marca { font-size: 2.6rem; }
.pie-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.pie-menu a { text-decoration: none; font-weight: 600; }
.pie-menu a:hover { color: var(--ambar-claro); }
.pie-nota, .pie-firma { grid-column: 1 / -1; font-size: .85rem; }
.pie-firma a { color: var(--ambar-claro); }
.demo-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--linea-clara); }
.demo-cta p { font-family: var(--serif); font-size: 1.5rem; color: var(--papel); }

/* aviso */
.aviso-flotante { position: fixed; z-index: 130; left: 50%; bottom: 100px; transform: translate(-50%, 30px); padding: .7em 1.2em; border-radius: 999px; background: var(--tinta); color: var(--papel); font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--resorte); white-space: nowrap; }
.aviso-flotante.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- pantallas medianas y celular ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .estado-vivo { display: none; }
  .cabecera { gap: 10px; }
  .btn-canasta { margin-left: auto; }
  .inicio { height: 300vh; }
  .pan3d { left: 50%; top: 29%; width: min(86vw, 500px); }
  .inicio-texto, .inicio-miga { left: 20px; right: 20px; max-width: none; bottom: 84px; }
  .inicio .titular { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .inicio-acciones .btn { flex: 1 1 auto; }
  .horno-pin { height: auto; overflow: visible; }
  .horno-pista { flex-direction: column; width: 100%; transform: none !important; }
  .panel { width: 100%; height: auto; grid-template-columns: 1fr; gap: 28px; padding: 70px 20px; }
  .panel:first-child { padding-top: 120px; }
  .arco { width: min(86%, 420px); }
  .arco-horno { width: min(92%, 460px); }
  .reloj, .horno-progreso { display: none; }
  .panel-horno { background: var(--carbon); --t: var(--papel); --ts: rgb(251 247 240 / .68); --linea: var(--linea-clara); }
  .panel-horno .titular em { color: var(--ambar); }
  .pasteleria { height: 230vh; }
  .fudge-titulo { left: 20px; right: 20px; top: 92px; max-width: none; }
  .fudge-titulo .titular { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .fudge-texto { left: 20px; right: 20px; top: auto; bottom: 28px; max-width: none; }
  .fudge-texto::before { content: ""; position: absolute; z-index: -1; inset: -70px -20px -28px; background: linear-gradient(180deg, transparent, rgb(20 16 13 / .94) 42%); }
  .fudge-medidor { display: none; }
  .encargos-cab, .armador { grid-template-columns: 1fr; }
  .encargos-foto { order: -1; justify-self: center; width: min(78%, 360px); }
  .vista-torta { position: sticky; top: 66px; z-index: 6; padding: 8px 14px 12px; gap: 6px; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--linea), 0 18px 30px -22px rgb(43 29 20 / .5); }
  .vt-escena { height: 176px; }
  .vt-piso { width: 46%; }
  .vt-arriba { width: 32%; bottom: calc(8% + 22%); }
  .vt-placa.dos-pisos { bottom: calc(8% + 44%); }
  .vista-torta figcaption b { font-size: 1.5rem; }
  .vista-torta figcaption span { font-size: .86rem; }
  .vista-torta figcaption small { display: none; }
  .tamanos { grid-template-columns: repeat(2, 1fr); }
  .sabores { grid-template-columns: 1fr; }
  .bocaditos-lista { grid-template-columns: 1fr; }
  .producto.destacado { grid-column: auto; grid-template-columns: 1fr; }
  .destacado .p-escena { height: 230px; }
  .destacado h3 { font-size: 1.7rem; }
  .paneton-grid, .visita-grid { grid-template-columns: 1fr; }
  .paneton-foto { width: min(88%, 420px); justify-self: center; }
  .visita-foto { order: -1; }
  .cuenta-num span { min-width: 0; flex: 1; }
  .pie { grid-template-columns: 1fr; }
  .canasta-flota { right: 12px; bottom: 12px; padding: 6px 8px; gap: 0; }
  .canasta-flota .cf-info { position: absolute; top: -6px; right: -4px; }
  .canasta-flota .cf-info b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ambar); color: var(--carbon); font-size: 0; }
  .canasta-flota .cf-info b::after { content: attr(data-n); font-size: .78rem; }
  .canasta-flota .cf-info span { display: none; }
  .cf-canasta { width: 76px; height: 46px; }
  .pagos { grid-template-columns: 1fr; }
  .pagos span { grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 420px) {
  .bc-texto { display: none; }
  .marca { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .inicio { height: auto; }
  .inicio-escena { position: relative; }
}
