/* Frutale · "Capa por capa"
   Paleta tomada del logo y la carta impresa (no de fotos de comida):
   magenta #FE098A (logo) / #E6027F (carta) · lima #9BC32E (hojas, cintillos) · crema y blanco.
   Motivo único: capas con borde ondulado ("ola de crema") → cortes entre secciones, vaso, historia. */
:root {
  --magenta: #FE098A;
  --magenta-2: #D6007A;   /* botones y chips con texto blanco (5.07:1) */
  --magenta-fondo: #D6007A; /* secciones con texto corrido en blanco */
  --velo: rgba(120, 0, 60, .3); /* pastillas sobre #FE098A: blanco ≈ 5:1 */
  --magenta-osc: #B0005A;   /* texto magenta sobre claro (AA) */
  --lima: #9BC32E;
  --lima-osc: #4A7309;
  --crema: #FFF4E6;
  --crema-2: #FBE6CF;
  --blanco: #FFFFFF;
  --vino: #4E0F2E;          /* texto principal */
  --vino-2: #7A3555;
  --fresa: #E8243C;
  --sombra: 0 10px 30px -12px rgba(110, 0, 50, .35);
  --sombra-s: 0 4px 14px -6px rgba(110, 0, 50, .3);
  --r: 22px;
  --f-guion: "Kaushan Script", "Brush Script MT", cursive;
  --f-cond: "Oswald", "Arial Narrow", sans-serif;
  --f-base: "Nunito", system-ui, sans-serif;
  --resorte: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.22, .9, .3, 1);
  --barra-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 1rem/1.55 var(--f-base); color: var(--vino); background: var(--crema); overflow-x: hidden; }
html:has(dialog[open]) body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guion { font-family: var(--f-guion); font-weight: 400; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--vino); color: #fff; padding: 10px 16px; border-radius: 12px; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; border-radius: 10px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 2.5px solid transparent;
  font: 900 1rem/1 var(--f-base); text-decoration: none; letter-spacing: .01em; transition: transform .35s var(--resorte), box-shadow .3s, background-color .2s; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.96); transition-duration: .1s; }
.btn-blanco { background: #fff; color: var(--magenta-osc); box-shadow: 0 8px 0 -2px rgba(120, 0, 55, .35); }
.btn-linea { border-color: rgba(255, 255, 255, .9); color: #fff; background: var(--velo); }
.btn-linea:hover { background: rgba(120, 0, 60, .45); }
.btn-linea-oscura { border-color: var(--magenta-osc); color: var(--magenta-osc); min-height: 44px; }
.btn-linea-oscura:hover { background: var(--magenta-osc); color: #fff; }
.btn-magenta { background: var(--magenta-2); color: #fff; box-shadow: 0 7px 0 -2px #9A004D; }
.btn-magenta[aria-disabled="true"] { background: #F7D6E6; color: var(--vino); box-shadow: 0 7px 0 -2px #E2B3CB; }
.btn-wa { background: #0E7C3A; color: #fff; box-shadow: 0 7px 0 -2px #075226; }
.btn-ancho { width: 100%; }
.btn-texto { background: none; border: 0; padding: 12px; font-weight: 800; color: var(--vino-2); text-decoration: underline; text-underline-offset: 3px; display: block; margin: 4px auto 0; }

/* ---------- Barra ---------- */
.barra { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--barra-h); display: flex; align-items: center; gap: 18px;
  padding: 0 max(16px, env(safe-area-inset-left)); color: #fff; transition: background-color .3s, box-shadow .3s, transform .4s var(--suave); }
.barra-solida { background: var(--magenta-fondo); box-shadow: 0 6px 20px -10px rgba(110, 0, 50, .6); }
.barra-logo { flex: none; display: flex; align-items: center; min-height: 44px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--resorte); }
.barra-solida .barra-logo, html:not(.js) .barra-logo { opacity: 1; transform: none; }
.barra-logo svg { width: 128px; height: auto; }
.barra-nav { display: flex; gap: 4px; margin-left: auto; }
.barra-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 800; padding: 0 16px; border-radius: 999px; background: var(--velo); transition: background-color .2s; }
.barra-solida .barra-nav a { background: transparent; }
.barra-nav a:hover, .barra-nav a.activo, .barra-solida .barra-nav a:hover, .barra-solida .barra-nav a.activo { background: rgba(120, 0, 60, .5); }
.barra-pedido { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--magenta-osc); font-weight: 900; }
.contador { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--lima); color: var(--vino); font: 700 .85rem/1 var(--f-cond); }
.rebote { animation: rebote .6s var(--resorte); }
@keyframes rebote { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Secciones y olas ---------- */
section { position: relative; }
.ola { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(34px, 6vw, 80px); pointer-events: none; z-index: 1; }
.ola-crema { fill: var(--crema); }
.ola-blanca { fill: #fff; }
.ola-magenta { fill: var(--magenta-fondo); }
.sec-cabeza { text-align: center; max-width: 640px; margin: 0 auto clamp(26px, 4vw, 44px); }
.sec-pre { margin: 0; font: 600 .95rem/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--lima-osc); }
.sec-cabeza h2, .historia h2 { margin: .1em 0 .15em; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; color: var(--magenta-osc); }
.sec-bajada { margin: 0 auto; max-width: 52ch; color: var(--vino-2); font-size: 1.05rem; }

/* ---------- Inicio ---------- */
.inicio { background: var(--magenta); color: #fff; min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(10px, 3vw, 40px);
  padding: calc(var(--barra-h) + 24px) clamp(18px, 6vw, 90px) clamp(70px, 9vw, 120px); overflow: hidden; }
.inicio::before { content: ""; position: absolute; inset: auto -10% -30% 30%; height: 70%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); pointer-events: none; }
.inicio-texto { position: relative; z-index: 2; max-width: 600px; }
.inicio-logo { margin: 0; width: min(100%, 540px); }
.inicio-logo svg { width: 100%; height: auto; overflow: visible; }
.inicio-eslogan { margin: .15em 0 .3em; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.05; }
.inicio-bajada { margin: 0 0 1.4em; font-size: max(1.17rem, min(1.6vw, 1.3rem)); font-weight: 800; line-height: 1.45; max-width: 44ch; } /* negrita ≥ 18.7 px: texto grande (3:1) */
.inicio-bajada b { font-weight: 900; }
.inicio-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.inicio-datos { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-weight: 800; font-size: .95rem; }
.inicio-datos li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--velo); }
.inicio-vaso { margin: 0; position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.inicio-vaso .vaso-escena { width: min(78%, 430px); }
.inicio-receta { list-style: none; margin: 0; padding: 0; position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column-reverse; gap: 14px;
  font: 400 clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--f-guion); }
.inicio-receta li { opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .6s var(--resorte); display: flex; align-items: center; gap: 8px; padding: 2px 12px 4px 8px; border-radius: 999px; background: var(--velo); }
.inicio-receta li::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .7; border-radius: 2px; }
.inicio-receta li.ok { opacity: 1; transform: none; }
html:not(.js) .inicio-receta li { opacity: 1; transform: none; }

/* Logo que se dibuja: trazo → relleno; las hojas brotan; el corazón de la A late */
.inicio-logo path { stroke: #fff; stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.inicio-logo .lg-hojas path { stroke: var(--lima); }
.js .inicio-logo path { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: trazo 1s var(--suave) forwards, relleno .45s ease forwards; }
.js .inicio-logo .lg-fresa path { animation-delay: .1s, .8s; }
.js .inicio-logo .lg-hojas path { animation-delay: .7s, 1.15s; }
.js .inicio-logo .lg-hojas { transform-box: fill-box; transform-origin: 50% 100%; animation: brota .8s var(--resorte) .9s both; }
.js .inicio-logo .lg-splash-izq, .js .inicio-logo .lg-splash-der { transform-box: fill-box; transform-origin: center; animation: salpica .6s var(--resorte) 1.5s both; }
.js .inicio-logo .lg-splash-izq path, .js .inicio-logo .lg-splash-der path { animation-delay: 1.5s, 1.6s; }
.js .inicio-logo .lg[class*="lg-letra"] path { animation-duration: .7s, .35s; }
.js .inicio-logo .lg-letra-F path { animation-delay: .5s, 1.0s; }
.js .inicio-logo .lg-letra-R path { animation-delay: .6s, 1.1s; }
.js .inicio-logo .lg-letra-U path { animation-delay: .7s, 1.2s; }
.js .inicio-logo .lg-letra-T path { animation-delay: .8s, 1.3s; }
.js .inicio-logo .lg-letra-A path { animation-delay: .9s, 1.4s; }
.js .inicio-logo .lg-letra-L path { animation-delay: 1.0s, 1.5s; }
.js .inicio-logo .lg-letra-E path { animation-delay: 1.1s, 1.6s; }
.js .inicio-logo .lg-letra-A { transform-box: fill-box; transform-origin: 50% 60%; animation: late 1.6s ease-in-out 2.2s 2; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes relleno { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes brota { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }
@keyframes salpica { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes late { 0%, 100% { transform: none; } 15% { transform: scale(1.08); } 30% { transform: none; } 45% { transform: scale(1.05); } }

/* ---------- El vaso (SVG) ---------- */
.vaso-escena { position: relative; aspect-ratio: 240 / 330; }
.vaso-svg { width: 100%; height: 100%; overflow: visible; }
.vaso-todo { transition: transform .7s var(--resorte); transform-origin: 0 0; }
.vaso-fondo { fill: rgba(255, 255, 255, .2); }
.vaso-vidrio { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 3.2; stroke-linejoin: round; }
.vaso-brillo { stroke: rgba(255, 255, 255, .55); stroke-width: 6; stroke-linecap: round; fill: none; }
.vaso-sombra { fill: rgba(90, 0, 40, .22); }
.st-fondo { fill: var(--magenta); stroke: #fff; stroke-width: 2.5; }
.st-fresa { fill: #fff; }
.st-hoja { fill: var(--lima); }
.capa { transition: d .75s var(--resorte), opacity .35s; }
.jarabe-gota { transform-box: fill-box; transform-origin: 50% 0; animation: gotea .9s var(--resorte) .55s both; }
@keyframes gotea { from { transform: scaleY(0); } to { transform: none; } }
.capa.saliendo, .pieza.saliendo, .jarabe-g.saliendo { opacity: 0; transition: d .4s ease, opacity .35s; }
.pieza { transform-box: fill-box; transform-origin: center bottom; animation: pop .55s var(--resorte) both; transition: opacity .3s; }
@keyframes pop { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }
.jarabe { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trazo .9s var(--suave) forwards; transition: opacity .3s; }
.arma-vista .vaso-fondo { fill: rgba(255, 255, 255, .75); }
.arma-vista .vaso-vidrio { stroke: rgba(78, 15, 46, .32); }
.arma-vista .vaso-brillo { stroke: rgba(255, 255, 255, .9); }

/* ---------- Arma tu vaso ---------- */
.arma { background: var(--crema); padding: clamp(56px, 8vw, 100px) clamp(16px, 5vw, 70px) clamp(90px, 11vw, 150px); }
.arma-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(20px, 4vw, 56px); max-width: 1180px; margin: 0 auto; align-items: start; }
.arma-vista { position: sticky; top: calc(var(--barra-h) + 16px); background: var(--crema-2); border-radius: 32px; padding: 22px 22px 24px; box-shadow: inset 0 0 0 2px rgba(176, 0, 90, .08); }
.arma-vista .vaso-escena { width: min(100%, 270px); margin: 0 auto; }
.arma-resumen { text-align: center; }
.arma-nombre { margin: 6px 0 0; font: 700 1.25rem/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; color: var(--magenta-osc); }
.arma-precio { margin: 4px 0 6px; display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.arma-precio span { font-weight: 800; color: var(--vino-2); }
.arma-precio b { font: 700 2.3rem/1 var(--f-cond); color: var(--vino); display: inline-block; }
.arma-falta { min-height: 1.5em; margin: 0 0 12px; font-weight: 800; font-size: .93rem; color: var(--magenta-osc); }
.arma-falta.ok { color: var(--lima-osc); }
.arma-pasos { display: grid; gap: 16px; }
.paso { border: 0; margin: 0; padding: 20px clamp(16px, 2.4vw, 26px) 22px; background: #fff; border-radius: var(--r); box-shadow: var(--sombra-s); min-width: 0; }
.paso legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 6px; font: 700 1.3rem/1.2 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; color: var(--vino); }
.paso legend small { font: 700 .85rem var(--f-base); text-transform: none; color: var(--vino-2); letter-spacing: 0; }
.paso-n { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; background: var(--magenta-2); color: #fff; font-size: 1rem; }
.paso-cuenta { margin-left: auto; font: 700 1rem var(--f-cond); color: var(--lima-osc); background: #F1F8E2; padding: 3px 10px; border-radius: 999px; }
.paso-ayuda { clear: both; margin: 0 0 12px; color: var(--vino-2); font-size: .93rem; }
.paso[hidden] { display: none; }
.sacude { animation: sacude .5s ease; }
@keyframes sacude { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.tamanos { clear: both; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tamano { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 14px 8px 12px; border-radius: 18px; border: 2.5px solid #F3D3E2; background: #fff; text-align: center;
  transition: transform .4s var(--resorte), border-color .2s, background-color .2s; }
.tamano:hover { transform: translateY(-3px); }
.tamano[aria-pressed="true"] { border-color: var(--magenta-2); background: #FFF0F7; transform: translateY(-3px); box-shadow: var(--sombra-s); }
.tamano-vaso { width: calc(18px + var(--oz) * 2.2px); height: calc(18px + var(--oz) * 2.2px); color: var(--magenta-2); margin-bottom: 4px; display: grid; place-items: end center; height: 54px; }
.tamano-vaso svg { width: calc(16px + var(--oz) * 2.1px); height: auto; }
.tamano b { font: 700 1.1rem/1.1 var(--f-cond); text-transform: uppercase; color: var(--vino); }
.tamano-oz { font-weight: 800; font-size: .85rem; color: var(--vino-2); }
.tamano-precio { font: 700 1.25rem/1.2 var(--f-cond); color: var(--magenta-osc); }
.tamano small { font-size: .8rem; line-height: 1.3; color: var(--vino-2); }

.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 2px solid #EBC9D8; background: #fff; font-weight: 800; font-size: .93rem; color: var(--vino);
  transition: transform .35s var(--resorte), background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--magenta-2); }
.chip:active { transform: scale(.93); }
.chip[aria-pressed="true"] { background: var(--magenta-2); border-color: var(--magenta-2); color: #fff; animation: chipOn .45s var(--resorte); }
@keyframes chipOn { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.chip-sub { font: 700 .8rem var(--f-cond); opacity: .9; }
.chip-sub:empty { display: none; }
.chip-color::before, .chip-top::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(78, 15, 46, .25); flex: none; }
.chip-top::before { width: 12px; height: 12px; border-radius: 4px; transform: rotate(18deg); }
.chip-lleno { opacity: .45; }
.chip-fijo { background: #F1F8E2; border-color: #CFE5A3; color: var(--lima-osc); cursor: default; }

.extras { clear: both; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.extra { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; background: #FFF7F0; transition: background-color .2s; }
.extra-on { background: #FFE3F0; }
.extra-nombre { font-weight: 800; font-size: .92rem; line-height: 1.25; }
.extra-precio { font: 700 .95rem var(--f-cond); color: var(--magenta-osc); }
.stepper { display: inline-flex; align-items: center; gap: 0; background: #fff; border-radius: 999px; padding: 2px; box-shadow: inset 0 0 0 1.5px #EBC9D8; }
.stepper button, .qty-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--crema-2); font: 900 1.1rem/1 var(--f-base); color: var(--magenta-osc); transition: transform .3s var(--resorte); }
.stepper button:active, .qty-btn:active { transform: scale(.85); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font: 700 1rem var(--f-cond); }

/* ---------- Carta ---------- */
.carta { background: #fff; padding: clamp(56px, 8vw, 100px) clamp(16px, 5vw, 70px) clamp(90px, 11vw, 150px); }
.carta-tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 14px; padding: 6px; background: var(--crema); border-radius: 999px; width: max-content; max-width: 100%; }
.carta-tab { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 700 1.1rem var(--f-cond); text-transform: uppercase; letter-spacing: .04em; color: var(--vino-2); transition: background-color .25s, color .25s, transform .35s var(--resorte); }
.carta-tab[aria-selected="true"] { background: var(--magenta-2); color: #fff; transform: scale(1.04); }
.carta-saltos { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 30px; max-width: 900px; }
.salto { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 800; font-size: .9rem; padding: 0 16px; border-radius: 999px; border: 2px solid #E3EFC8; color: var(--lima-osc); background: #F8FCEF; }
.salto:hover { background: var(--lima); color: var(--vino); border-color: var(--lima); }
.carta-cuerpo { max-width: 1180px; margin: 0 auto; }
.carta-panel.entra .carta-cat { animation: subeCapa .55s var(--suave) both; }
.carta-panel.entra .carta-cat:nth-child(2) { animation-delay: .06s; }
.carta-panel.entra .carta-cat:nth-child(3) { animation-delay: .12s; }
@keyframes subeCapa { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.carta-panel { columns: 2 440px; column-gap: clamp(20px, 4vw, 48px); }
.carta-cat { break-inside: avoid; margin: 0 0 34px; padding-top: 4px; scroll-margin-top: calc(var(--barra-h) + 16px); }
.carta-cat-cabeza { margin-bottom: 10px; }
.cintillo { display: inline-block; margin: 0; padding: 8px 40px 10px 20px; background: var(--lima); color: var(--vino); font: 400 clamp(1.5rem, 3vw, 1.9rem)/1 var(--f-guion);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%); border-radius: 12px 0 0 12px; }
.carta-cat-nota { margin: 8px 0 0; font-size: .9rem; color: var(--vino-2); font-weight: 700; }
.carta-items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 4px 14px; padding: 13px 0; border-bottom: 2px dotted #F0C9DB; }
.item-info { min-width: 0; }
.item-nombre { margin: 0; font: 600 1.08rem/1.2 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; color: var(--magenta-osc); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.item-badge { font: 800 .78rem var(--f-base); text-transform: uppercase; letter-spacing: .06em; background: #FFE08A; color: var(--vino); padding: 2px 8px; border-radius: 999px; }
.item-desc { margin: 2px 0 0; font-style: italic; font-size: .9rem; line-height: 1.35; color: var(--vino-2); }
.item-elige { margin: 4px 0 0; font-size: .8rem; font-weight: 800; color: var(--lima-osc); }
.item-precio { font: 700 1.15rem var(--f-cond); color: var(--vino); white-space: nowrap; }
.item-mas { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--magenta-2); color: #fff; font: 900 1.5rem/1 var(--f-base); display: grid; place-items: center;
  box-shadow: 0 4px 0 -1px #9A004D; transition: transform .35s var(--resorte), background-color .2s; }
.item-mas:hover { transform: scale(1.1) rotate(90deg); }
.item-mas:active { transform: scale(.88); }

/* ---------- Historia ---------- */
.historia { background: var(--magenta-fondo); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 6vw, 90px) clamp(100px, 12vw, 160px); }
.historia h2 { color: #fff; text-align: left; }
.historia .sec-pre { color: #fff; font-weight: 700; }
.historia-texto { max-width: 520px; justify-self: end; }
.historia-texto p { font-size: 1.08rem; }
.historia-firma { font-size: 1.8rem; margin: .4em 0 0; }
.historia-capas { list-style: none; margin: 0; padding: 22px 0 18px; max-width: 440px; width: 100%; display: flex; flex-direction: column; gap: 0;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); background: rgba(255, 255, 255, .18); border-radius: 0 0 40px 40px; }
.capa-hist { position: relative; background: var(--c); color: var(--vino); padding: 16px 16% 14px; margin-top: -10px; display: grid; gap: 1px; text-align: center;
  border-radius: 46% 54% 0 0 / 22px 22px 0 0; }
.capa-hist:first-child { margin-top: 0; }
.capa-hist:nth-child(5n+5) { color: #fff; } /* la capa de fresa (abajo) */
.capa-fecha { font: 700 .82rem var(--f-cond); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.capa-hist strong { font: 700 1.15rem/1.15 var(--f-cond); text-transform: uppercase; }
.capa-txt { font-size: .9rem; line-height: 1.35; }

/* ---------- Sedes ---------- */
.sedes { background: var(--crema); padding: clamp(56px, 8vw, 100px) clamp(16px, 5vw, 70px) clamp(110px, 12vw, 140px); }
.sedes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 20px; }
.sede { position: relative; background: #fff; border-radius: var(--r); padding: 30px 24px 24px; box-shadow: var(--sombra); display: grid; gap: 4px; align-content: start; }
.sede::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; border-radius: var(--r) var(--r) 0 0; background: var(--magenta-2); }
.sede-etiqueta { justify-self: start; font: 800 .8rem var(--f-base); text-transform: uppercase; letter-spacing: .08em; background: var(--lima); color: var(--vino); padding: 4px 10px; border-radius: 999px; }
.sede h3 { margin: 6px 0 0; font: 700 1.5rem/1.1 var(--f-cond); text-transform: uppercase; color: var(--magenta-osc); }
.sede-dir { margin: 0; font-weight: 800; font-size: 1.05rem; }
.sede-ref, .sede-ciudad { margin: 0; color: var(--vino-2); font-size: .95rem; }
.sede .btn { margin-top: 14px; justify-self: start; }
.sedes-info { max-width: 740px; margin: 30px auto 0; text-align: center; display: grid; gap: 4px; justify-items: center; }
.sedes-info p { margin: 0; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sedes-info .btn { margin-top: 16px; }

/* ---------- Pie ---------- */
.pie { background: var(--magenta-fondo); color: #fff; text-align: center; padding: 50px 20px calc(110px + env(safe-area-inset-bottom)); }
.pie-logo { width: 210px; margin: 0 auto; }
.pie-logo svg { width: 100%; height: auto; }
.pie-eslogan { font-size: 1.7rem; margin: .2em 0 .8em; }
.pie-redes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; justify-content: center; gap: 12px; }
.pie-redes a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .35s var(--resorte), background-color .2s; }
.pie-redes a:hover { transform: translateY(-3px) scale(1.08); background: rgba(255, 255, 255, .28); }
.pie-redes .ico { width: 22px; height: 22px; }
.pie-nota { max-width: 52ch; margin: 0 auto 10px; font-size: .95rem; }
.pie-credito { font-size: .9rem; margin: 0; }
.pie-credito a { display: inline-block; padding: 12px 4px; font-weight: 800; }

/* ---------- Pedido flotante y "dueña" ---------- */
.pedido-flotante { position: fixed; z-index: 35; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px; background: var(--vino); color: #fff; box-shadow: 0 14px 30px -12px rgba(78, 15, 46, .7);
  transform: translateY(140%); transition: transform .55s var(--resorte); }
.tiene-pedido .pedido-flotante { transform: none; }
.pf-vaso { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--magenta-2); }
.pf-vaso .ico { width: 22px; height: 22px; }
.pf-vaso .contador { position: absolute; top: -6px; right: -8px; }
.pf-txt { font-weight: 900; }
.pf-total { font: 700 1.2rem var(--f-cond); }
/* Botón "Soy el dueño, quiero esta web" (abajo a la izquierda, igual que en Frost y Yumbo) */
.dueno {
  position: fixed; z-index: 44; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none;
  background: #fff; color: #10301c; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55), 0 0 0 2px rgba(37, 211, 102, .35);
  transition: transform .35s var(--resorte), bottom .45s var(--resorte), box-shadow .2s;
}
.dueno:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px -10px rgba(0, 0, 0, .6), 0 0 0 3px rgba(37, 211, 102, .6); }
.dueno:active { transform: scale(.95); }
.dueno-wa { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; flex: none; }
.dueno-wa svg, .dueno-wa .ico { width: 22px; height: 22px; }
.dueno-txt { display: grid; line-height: 1.15; }
.dueno-txt small { font: 700 .7rem var(--f-base); color: #4a6b57; letter-spacing: .02em; }
.dueno-txt b { font: 700 .92rem var(--f-base); }
html:has(dialog[open]) .dueno { transform: translateY(170%); }

.gota-vuela { position: fixed; z-index: 90; width: 28px; height: 28px; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; background: var(--magenta-2); box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(110, 0, 50, .4); pointer-events: none; }

/* ---------- Aviso ---------- */
.aviso { position: fixed; z-index: 80; left: 50%; top: calc(var(--barra-h) + 10px); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100vw - 24px); padding: 10px 10px 10px 18px; border-radius: 18px; background: #fff; color: var(--vino); box-shadow: 0 18px 40px -16px rgba(78, 15, 46, .55);
  transition: opacity .25s, transform .5s var(--resorte); }
.aviso.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.aviso-txt { display: grid; line-height: 1.2; }
.aviso-txt small { font-weight: 800; font-size: .8rem; color: var(--lima-osc); }
.aviso-precio { font: 700 1.1rem var(--f-cond); color: var(--magenta-osc); }
.aviso-ver { border: 0; background: var(--magenta-2); color: #fff; font-weight: 900; border-radius: 12px; padding: 9px 14px; }

/* ---------- Hojas (diálogos) ---------- */
.hoja { border: 0; padding: 0; background: transparent; color: var(--vino); width: min(560px, 100vw); max-width: 100vw; max-height: min(88svh, 820px); margin: auto; overflow: visible; }
.hoja::backdrop { background: rgba(60, 5, 30, .55); backdrop-filter: blur(3px); }
.hoja[open] { animation: hojaSube .5s var(--resorte); }
@keyframes hojaSube { from { transform: translateY(40px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.hoja-caja { background: var(--crema); border-radius: 28px; display: flex; flex-direction: column; max-height: min(88svh, 820px); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(60, 5, 30, .6); }
.hoja-cabeza { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 22px 14px; background: var(--magenta-fondo); color: #fff; position: relative; }
.hoja-cabeza::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px; background: var(--magenta-fondo);
  -webkit-mask: radial-gradient(14px 14px at 50% 0, #000 98%, transparent) 0 0 / 34px 14px repeat-x; mask: radial-gradient(14px 14px at 50% 0, #000 98%, transparent) 0 0 / 34px 14px repeat-x; }
.hoja-pre { margin: 0; font: 600 .9rem var(--f-cond); letter-spacing: .12em; text-transform: uppercase; }
.hoja-pre.guion { font: 400 1.4rem var(--f-guion); letter-spacing: 0; text-transform: none; }
.hoja-cabeza h3 { margin: 2px 0 0; font: 700 1.5rem/1.1 var(--f-cond); text-transform: uppercase; }
.hoja-desc { margin: 6px 0 0; font-size: .95rem; }
.cerrar { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; display: grid; place-items: center; transition: transform .35s var(--resorte); }
.cerrar:hover { transform: rotate(90deg); }
.hoja-cuerpo { overflow-y: auto; padding: 26px 22px 20px; overscroll-behavior: contain; }
.hoja-pie { padding: 12px 22px calc(18px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 20px -14px rgba(78, 15, 46, .4); }
.hoja-falta { margin: 0 0 8px; text-align: center; font-weight: 800; font-size: .9rem; color: var(--magenta-osc); min-height: 1.3em; }
.pers-grupo { border: 0; margin: 0 0 18px; padding: 0; }
.pers-grupo legend { width: 100%; display: flex; align-items: center; font: 700 1.15rem var(--f-cond); text-transform: uppercase; padding: 0; margin-bottom: 2px; }
.pers-grupo .paso-ayuda { margin-bottom: 10px; }

.pedido .paso-2-solo, .pedido .paso-3-solo { display: none; }
.pedido[data-paso="2"] .paso-1-solo, .pedido[data-paso="3"] .paso-1-solo, .pedido[data-paso="3"] .paso-2-solo { display: none; }
.pedido[data-paso="2"] .paso-2-solo, .pedido[data-paso="3"] .paso-3-solo { display: block; }
.pedido .demo-solo { display: none; }
.pedido.es-demo .demo-solo { display: block; }
.pedido.es-demo .real-solo { display: none; }
.pedido-lineas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pedido-vacio { padding: 18px; text-align: center; background: #fff; border-radius: 16px; font-weight: 700; color: var(--vino-2); }
.linea { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--sombra-s); }
.linea-info { display: grid; min-width: 0; grid-column: 1 / -1; }
.linea-info strong { font: 600 1.05rem/1.2 var(--f-cond); text-transform: uppercase; color: var(--magenta-osc); }
.linea-det { font-size: .85rem; color: var(--vino-2); line-height: 1.35; }
.linea-det:empty { display: none; }
.linea-pu { font-size: .8rem; font-weight: 800; color: var(--vino-2); }
.linea-qty { display: inline-flex; align-items: center; gap: 6px; }
.linea-qty output { min-width: 22px; text-align: center; font: 700 1.05rem var(--f-cond); }
.linea-sub { font: 700 1.15rem var(--f-cond); justify-self: end; }
.pedido-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 2px; font-weight: 900; font-size: 1.05rem; }
.pedido-total b { font: 700 1.7rem var(--f-cond); color: var(--magenta-osc); }
.pedido-form { display: grid; gap: 12px; }
.campo { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; font-weight: 800; font-size: .95rem; }
.campo legend { padding: 0; margin-bottom: 6px; }
.campo small { font-weight: 600; color: var(--vino-2); }
.campo input, .campo textarea { width: 100%; font: 600 1rem/1.4 var(--f-base); color: var(--vino); padding: 12px 14px; border-radius: 14px; border: 2px solid #EBC9D8; background: #fff; }
.campo textarea { font-size: .92rem; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--magenta-2); box-shadow: 0 0 0 4px rgba(230, 2, 127, .15); }
.campo input[aria-invalid="true"] { border-color: #D3002A; background: #FFF2F4; }
.campo[hidden] { display: none; }
.opciones { display: grid; gap: 8px; }
.opcion { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 14px; border: 2px solid #EBC9D8; font-weight: 800; cursor: pointer; transition: border-color .2s, background-color .2s; }
.opcion:has(input:checked) { border-color: var(--magenta-2); background: #FFF0F7; }
.opcion input { accent-color: var(--magenta-2); width: 20px; height: 20px; margin: 0; }
.pedido-nota { font-size: .9rem; color: var(--vino-2); }
#pedido-continuar:disabled { opacity: .5; cursor: default; }

/* ---------- Apariciones ---------- */
.aparece { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .8s var(--resorte); }
.aparece.visto { opacity: 1; transform: none; }
.capa-hist.aparece { transform: translateY(-30px) scaleY(.6); transition-delay: calc((4 - var(--i)) * .12s); }
.capa-hist.aparece.visto { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .barra-nav { display: none; }
  .barra-pedido { margin-left: auto; }
  .arma-grid { grid-template-columns: 1fr; }
  .arma-vista { position: sticky; top: calc(var(--barra-h) + 6px); z-index: 5; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 14px; padding: 12px 16px;
    border-radius: 24px; background: rgba(251, 230, 207, .96); backdrop-filter: blur(6px); box-shadow: 0 10px 24px -16px rgba(78, 15, 46, .5); }
  .arma-vista .vaso-escena { width: 104px; }
  .arma-resumen { text-align: left; }
  .arma-nombre { font-size: 1.05rem; margin: 0; }
  .arma-precio { justify-content: flex-start; margin: 2px 0; }
  .arma-precio b { font-size: 1.8rem; }
  .arma-falta { margin-bottom: 8px; font-size: .84rem; }
  .arma-resumen .btn { min-height: 44px; font-size: .95rem; white-space: nowrap; }
  .arma-falta { min-height: 0; }
  .historia { grid-template-columns: 1fr; }
  .historia-texto { justify-self: start; }
  .historia-capas { justify-self: center; }
}
@media (max-width: 760px) {
  :root { --barra-h: 60px; }
  .barra-logo svg { width: 112px; }
  .inicio { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--barra-h) + 18px); gap: 0; min-height: auto; }
  .inicio-texto { margin: 0 auto; }
  .inicio-logo { margin: 0 auto; width: min(92%, 420px); }
  .inicio-acciones, .inicio-datos { justify-content: center; }
  .inicio-vaso { order: -1; margin: 0 auto -6px; width: 100%; gap: 8px; }
  .inicio-vaso .vaso-escena { width: min(46vw, 200px); flex: none; }
  /* la receta va al lado del vaso, no encima */
  .inicio-receta { position: static; transform: none; gap: 6px; font-size: 1.05rem; text-align: left; }
  .inicio-receta li { padding: 1px 10px 3px 6px; }
  .inicio-receta li::before { width: 10px; }
  .tamanos { grid-template-columns: repeat(2, 1fr); }
  .tamano { padding: 10px 8px; }
  .tamano-vaso { height: 40px; }
  .solo-ancho { display: none; }
  .inicio-vaso { margin-top: -18px; }
  .extras { grid-template-columns: 1fr; }
  .carta-panel { columns: 1; }
  .carta-tab { padding: 0 16px; font-size: 1rem; }
  .carta-saltos { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 2px 16px 6px; scrollbar-width: none; }
  .carta-saltos::-webkit-scrollbar { display: none; }
  .salto { white-space: nowrap; }
  .sedes-grid { grid-template-columns: 1fr; }
  .hoja { width: 100vw; margin: auto 0 0; max-height: 92svh; }
  .hoja-caja { border-radius: 28px 28px 0 0; max-height: 92svh; }
  .hoja[open] { animation: hojaSubeM .55s var(--resorte); }
  @keyframes hojaSubeM { from { transform: translateY(60%); } to { transform: none; } }
  .dueno { padding: 6px 12px 6px 6px; gap: 8px; }
  .dueno-wa { width: 32px; height: 32px; }
  .dueno-txt b { font-size: .82rem; }
  .tiene-pedido .dueno { bottom: calc(env(safe-area-inset-bottom, 0px) + 86px); }
  .pedido-flotante { left: 14px; right: 14px; justify-content: space-between; }
  .pie { padding-bottom: 190px; }
  .pf-txt { margin-right: auto; }
  .barra-pedido-txt { display: none; }
  .barra-pedido { padding: 0 8px; }
}
@media (max-width: 380px) {
  .arma-vista { grid-template-columns: 86px 1fr; }
  .arma-vista .vaso-escena { width: 84px; }
  .item { grid-template-columns: 1fr auto 44px; gap: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .inicio-logo path { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
  .jarabe { stroke-dashoffset: 0; }
}

