/* Nutravitta · demo IMÁN. Colores y letra de sus placas: verde de la marca, lima del «30% OFF», madera de su local. */
:root {
  --verde: #123d1f;        /* fondo de su placa de ubicaciones, en mate */
  --verde-2: #2e592c;      /* el verde del logo */
  --verde-3: #1d4f29;
  --tinta: #0d2b16;
  --lima: #b8cc12;         /* el lima de la «A» y del «30% OFF» */
  --lima-2: #d2e33a;
  --limon: #f4f89a;        /* la A del perfil */
  --crema: #fbf7ec;
  --papel: #f3eddd;
  --madera: #c98f55;
  --madera-2: #b47a42;
  --veta: #7d4b22;
  --mesa: #e2ab6c;
  --mesa-2: #c98b4b;
  --blanco: #fff;
  --rojo-precio: #c0391b;
  --radio: 22px;
  --barra-h: 78px;
  --seguro-abajo: env(safe-area-inset-bottom, 0px);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font-family: Montserrat, system-ui, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.35;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

/* ——— marca ——— */
.marca { display: inline-flex; align-items: center; gap: .02em; font-weight: 600; letter-spacing: .085em; line-height: 1; white-space: nowrap; }
.marca .marca-a { height: .98em; width: auto; color: var(--lima); margin: 0 .03em 0 -.03em; transform: translateY(-.02em); }
.letra-a { width: auto; }

/* ——— entrada ——— */
#entrada {
  position: fixed; inset: 0; z-index: 90; background: var(--verde);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff; transition: transform .7s cubic-bezier(.7, 0, .2, 1);
}
#entrada.sube { transform: translateY(-101%); }
.en-marca { display: flex; align-items: center; font-size: clamp(34px, 10vw, 64px); font-weight: 600; letter-spacing: .085em; }
.en-a { display: inline-block; width: .98em; height: .98em; color: var(--lima); margin: 0 .03em; }
.en-a svg { width: 100%; height: 100%; transform-origin: 30% 90%; animation: brota .75s cubic-bezier(.2, 1.4, .4, 1) both; }
.en-nutr { animation: desdeIzq .55s .35s cubic-bezier(.2, .9, .3, 1) both; }
.en-vitta { animation: desdeDer .55s .35s cubic-bezier(.2, .9, .3, 1) both; }
.en-tag { color: var(--lima); font-size: clamp(10px, 2.6vw, 14px); font-weight: 700; letter-spacing: .14em; animation: aparece .5s .75s both; }
@keyframes brota { 0% { transform: scale(0) rotate(-35deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes desdeIzq { from { opacity: 0; transform: translateX(-40px); } }
@keyframes desdeDer { from { opacity: 0; transform: translateX(40px); } }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } }

/* ——— cabecera ——— */
.cab {
  position: sticky; top: 0; z-index: 30; height: 60px; padding: 0 12px 0 16px;
  display: flex; align-items: center; gap: 8px; background: var(--verde); color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.cab-marca { color: #fff; text-decoration: none; font-size: 19px; margin-right: auto; }
.cab-suc {
  display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px 0 8px; border-radius: 99px;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.cab-suc svg { width: 16px; height: 16px; fill: none; stroke: var(--lima); stroke-width: 2.2; }
.cab-canasta { position: relative; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--lima); color: var(--tinta); box-shadow: 0 3px 0 #6f7c00; }
.cab-canasta svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cab-canasta b {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px;
  background: #fff; color: var(--tinta); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--verde);
}
.cab-canasta.salta { animation: salta .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes salta { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }

#app { min-height: calc(100vh - 60px); padding-bottom: calc(var(--barra-h) + 26px + var(--seguro-abajo)); }
.vista { animation: entraVista .35s cubic-bezier(.2, .9, .3, 1); }
@keyframes entraVista { from { opacity: 0; transform: translateY(10px); } }

/* ——— madera de sus placas ——— */
.listones {
  background-color: var(--madera);
  background-image:
    linear-gradient(180deg, rgba(255, 236, 205, .28), rgba(0, 0, 0, 0) 40%, rgba(60, 30, 5, .2)),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(80, 40, 10, .5) 12px 13px, rgba(255, 230, 190, .18) 13px 14px, transparent 14px 15px),
    repeating-linear-gradient(90deg, #cf965b 0 15px, #c58a50 15px 30px, #cb9157 30px 45px, #bf8549 45px 60px);
}
.tabla {
  background-color: var(--mesa);
  background-image:
    linear-gradient(180deg, rgba(255, 246, 225, .45), rgba(255, 246, 225, 0) 22%),
    repeating-linear-gradient(178.6deg, transparent 0 9px, rgba(140, 80, 30, .12) 9px 10px, transparent 10px 23px),
    linear-gradient(90deg, #dca364, #e6b277 40%, #d99f5f 70%, #e3ad70);
}

/* ——— sticker de texto como el «30% OFF» de sus placas ——— */
.sticker {
  font-weight: 900; color: var(--lima-2); letter-spacing: -.02em; line-height: .9;
  -webkit-text-stroke: .085em var(--verde-2); paint-order: stroke fill;
  text-shadow: .02em .02em 0 var(--verde-2), .04em .04em 0 var(--verde-2), .06em .06em 0 var(--verde-2), .08em .08em 0 var(--verde);
}
.sticker.blanco { color: #fff; }

/* ——— botones con canto ——— */
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 99px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .12s, box-shadow .12s;
}
.bt:active { transform: translateY(3px); }
.bt-lima { background: var(--lima); color: var(--tinta); box-shadow: 0 4px 0 #6f7c00, 0 10px 18px rgba(30, 40, 0, .25); }
.bt-lima:active { box-shadow: 0 1px 0 #6f7c00; }
.bt-verde { background: var(--verde); color: #fff; box-shadow: 0 4px 0 #071a0d, 0 10px 18px rgba(0, 0, 0, .2); }
.bt-verde:active { box-shadow: 0 1px 0 #071a0d; }
.bt-crema { background: var(--crema); color: var(--tinta); box-shadow: 0 4px 0 #b9ad8a; }
.bt-crema:active { box-shadow: 0 1px 0 #b9ad8a; }
.bt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ——— inicio: héroe ——— */
.heroe { position: relative; overflow: hidden; padding-top: 22px; color: #fff; isolation: isolate; }
.heroe-saludo { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .95; text-shadow: 0 1px 2px rgba(60, 30, 0, .5); }
.heroe-k { margin-top: 10px; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-shadow: 0 2px 0 rgba(70, 35, 5, .45); }
.heroe-off { display: block; text-align: center; white-space: nowrap; font-size: min(18.6vw, 112px); margin: 2px auto 0; transform: rotate(-3deg); }
.heroe-off.pega { animation: pega .6s .15s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes pega { 0% { transform: scale(1.7) rotate(-12deg); opacity: 0; } 100% { transform: scale(1) rotate(-3deg); opacity: 1; } }
.heroe-dias { text-align: center; font-size: clamp(20px, 6.4vw, 30px); font-weight: 900; letter-spacing: .03em; margin-top: 8px; text-shadow: 0 2px 0 rgba(70, 35, 5, .5); }

.sello {
  position: absolute; z-index: 3; width: 104px; height: 104px; border-radius: 50%;
  background: var(--verde); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 0 #071a0d, 0 12px 20px rgba(0, 0, 0, .25);
}
.sello svg.aro { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 22s linear infinite; }
.sello svg.aro text { fill: var(--lima); font: 800 10.4px Montserrat, sans-serif; letter-spacing: .13em; }
.sello-c { text-align: center; line-height: .95; }
.sello-c b { display: block; font-size: 27px; font-weight: 900; color: var(--lima-2); }
.sello-c small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; margin-top: 3px; }
@keyframes gira { to { transform: rotate(360deg); } }
.heroe .sello { bottom: 196px; right: 4px; transform: rotate(10deg); z-index: 4; width: 96px; height: 96px; }

.vidriera { position: relative; height: 300px; margin-top: 4px; }
.vidriera .tabla { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; box-shadow: 0 -2px 0 rgba(255, 240, 215, .55) inset; }
.vidriera .tabla::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(180deg, #b77a3c, #9c642e); }
.prod-parado {
  position: absolute; bottom: 64px; transform-origin: 50% 100%; z-index: 2;
  filter: drop-shadow(0 10px 6px rgba(70, 35, 0, .32));
}
.prod-parado img { width: 100%; height: auto; }
.prod-parado::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -5px; height: 10px; border-radius: 50%; background: rgba(70, 35, 0, .32); filter: blur(4px); z-index: -1; }
.prod-parado.cae { animation: cae .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes cae { 0% { opacity: 0; transform: translateY(-140px) rotate(var(--g, -8deg)); } 60% { opacity: 1; } 100% { transform: translateY(0) rotate(0); } }
.prod-parado .respira { animation: respira 4.6s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 50% 100%; }
@keyframes respira { 50% { transform: translateY(-5px) rotate(.6deg); } }

.heroe-botones { position: relative; z-index: 4; display: flex; gap: 10px; justify-content: center; padding: 14px 16px 22px; background: linear-gradient(180deg, #9c642e, #8a5626); }

/* ——— cinta ——— */
.cinta { position: relative; overflow: hidden; background: var(--lima); color: var(--tinta); border-block: 3px solid var(--verde); }
.cinta-pista { display: flex; width: max-content; animation: corre 26s linear infinite; }
.cinta span { display: inline-flex; align-items: center; gap: 14px; padding: 10px 14px; font-weight: 900; font-size: 15px; letter-spacing: .05em; white-space: nowrap; }
.cinta .letra-a { height: 18px; color: var(--verde-2); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ——— bloques ——— */
.bloque { padding: 30px 16px 6px; }
.tit { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.tit h2 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: -.02em; color: var(--verde); }
.tit h2 em { font-style: normal; color: var(--verde-2); }
.tit a, .tit button { font-size: 13px; font-weight: 800; color: var(--verde-2); text-decoration: underline; text-underline-offset: 3px; }

/* ——— las placas: frase arriba, productos en la mesa ——— */
.frases { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.frases::-webkit-scrollbar { display: none; }
.frase {
  flex: none; scroll-snap-align: start; max-width: 230px; padding: 10px 14px; border-radius: 16px; text-align: left;
  font-size: 13px; font-weight: 800; line-height: 1.2; background: #fff; color: var(--verde); border: 2px solid var(--verde);
}
.frase.activa { background: var(--verde); color: #fff; box-shadow: 0 4px 0 #071a0d; }
.placa { position: relative; border-radius: var(--radio); overflow: hidden; box-shadow: 0 6px 0 #8a5626, 0 18px 30px rgba(80, 40, 0, .22); }
.placa-frase {
  position: relative; z-index: 3; margin: 18px auto 0; width: max-content; max-width: 84%; padding: 10px 18px; border-radius: 18px;
  background: rgba(30, 72, 38, .94); color: #fff; font-weight: 800; font-size: clamp(17px, 5vw, 22px); line-height: 1.15; text-align: center;
}
.placa-mesa { position: relative; height: 250px; margin-top: 8px; }
.placa-mesa .tabla { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; }
.placa-mesa .prod-parado { bottom: 70px; }
.placa-pie { position: relative; z-index: 3; margin-top: -54px; padding: 0 18px; text-align: center; color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 3px rgba(60, 30, 0, .55); }
.placa-cierre { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 16px; margin-top: 12px; background: var(--verde); color: #fff; }
.placa-precio small { display: block; font-size: 12px; font-weight: 700; opacity: .8; }
.placa-precio s { font-weight: 700; opacity: .6; margin-right: 6px; font-size: 13px; }
.placa-precio b { font-size: 24px; font-weight: 900; color: var(--lima-2); letter-spacing: -.01em; }
.placa-cierre .bt { height: 46px; padding: 0 18px; }

/* + redondo para sumar un producto parado */
.mas {
  position: absolute; z-index: 5; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lima); color: var(--tinta); box-shadow: 0 3px 0 #6f7c00; font-size: 22px; font-weight: 900; line-height: 1;
}
.mas::before { content: "+"; transform: translateY(-1px); }
.mas.listo { background: var(--verde); color: var(--lima); box-shadow: 0 3px 0 #071a0d; }
.mas.listo::before { content: "✓"; font-size: 17px; }

/* ——— ofertas de 40 % ——— */
.riel { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.riel::-webkit-scrollbar { display: none; }
.of {
  position: relative; flex: none; width: 168px; scroll-snap-align: start; border-radius: 20px; background: #fff; padding: 12px 12px 14px;
  box-shadow: 0 4px 0 #ddd3b8; text-align: left;
}
.of-foto { height: 150px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 14px; background: radial-gradient(circle at 50% 60%, #f6f0dc, #ece2c4); }
.of-foto img { max-height: 132px; max-width: 120px; width: auto; filter: drop-shadow(0 8px 6px rgba(60, 40, 0, .22)); transition: transform .3s; }
.of:active .of-foto img { transform: scale(1.06) rotate(-3deg); }
.of-pct { position: absolute; top: 6px; left: 6px; z-index: 2; font-size: 21px; transform: rotate(-6deg); }
.of-marca { font-size: 11px; font-weight: 800; color: var(--verde-2); text-transform: uppercase; letter-spacing: .06em; }
.of-nombre { font-size: 14px; font-weight: 800; line-height: 1.15; margin: 2px 0 8px; min-height: 2.3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.of-precios s { display: block; font-size: 12px; color: #8b8571; font-weight: 700; }
.of-precios b { font-size: 19px; font-weight: 900; color: var(--tinta); }
.of .mas { right: 10px; bottom: 12px; }

/* ——— club (hojas) ——— */
.club-teaser { position: relative; overflow: hidden; border-radius: var(--radio); background: var(--verde); color: #fff; padding: 20px 18px 18px; box-shadow: 0 6px 0 #071a0d; }
.club-teaser h3 { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.05; }
.club-teaser h3 span { color: var(--lima-2); }
.club-teaser p { margin: 8px 0 14px; font-size: 14px; font-weight: 600; opacity: .92; max-width: 62%; }
.club-teaser .planta { position: absolute; right: -6px; bottom: -8px; width: 150px; height: 190px; }
.planta .tallo { fill: none; stroke: #5d8a2c; stroke-width: 7; stroke-linecap: round; }
.planta .hoja { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-dasharray: 5 5; transform-box: fill-box; }
.planta .hoja.ganada { fill: var(--lima); stroke: none; stroke-dasharray: none; }
.planta .hoja.nueva { animation: hojaNueva .9s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes hojaNueva { from { transform: scale(0); } }

/* ——— ubicaciones, como su placa ——— */
.ubic { border-radius: var(--radio); background: var(--verde); color: #fff; padding: 26px 18px 22px; text-align: center; box-shadow: 0 6px 0 #071a0d; }
.ubic .marca { font-size: 26px; }
.ubic-tag { color: var(--lima); font-size: 10px; font-weight: 800; letter-spacing: .13em; margin-top: 6px; }
.ubic h3 { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 22px 0 14px; font-size: 15px; font-weight: 800; letter-spacing: .2em; }
.ubic h3 svg { width: 18px; height: 18px; fill: #fff; }
.ubic-lista { display: grid; gap: 12px; max-width: 320px; margin: 0 auto; }
.ubic-lista a {
  display: block; padding: 11px 12px; border-radius: 16px; background: var(--lima); color: var(--verde-2); text-decoration: none;
  box-shadow: 0 4px 0 #6f7c00; transition: transform .12s;
}
.ubic-lista a:active { transform: translateY(3px); box-shadow: 0 1px 0 #6f7c00; }
.ubic-lista b { display: block; font-size: 16px; font-weight: 900; letter-spacing: .04em; color: #254213; }
.ubic-lista span { font-size: 13px; font-weight: 600; color: #3a5a1c; }
.ubic-wa { display: inline-flex; margin-top: 18px; color: #fff; font-weight: 800; font-size: 13px; gap: 6px; align-items: center; }

/* ——— consejos de las nutris ——— */
.consejo { flex: none; width: 260px; scroll-snap-align: start; border-radius: 20px; padding: 16px 16px 18px; background: var(--papel); border: 2px solid #e3d9bd; }
.consejo q { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--verde); quotes: "“" "”"; }
.consejo small { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; color: #6e6a55; }

.pie-demo { margin: 26px 16px 0; font-size: 11px; color: #8b8571; text-align: center; line-height: 1.45; }

/* ——— barra de abajo ——— */
.barra {
  position: fixed; z-index: 40; left: 50%; bottom: calc(10px + var(--seguro-abajo)); transform: translateX(-50%);
  width: min(calc(100% - 20px), 460px); height: var(--barra-h); padding: 0 8px; border-radius: 26px;
  display: grid; grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr; align-items: center;
  background: #fff; box-shadow: 0 10px 30px rgba(15, 40, 20, .22), 0 0 0 1.5px rgba(18, 61, 31, .1);
}
.barra button { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: center; color: #6f7d6f; font-size: 11px; font-weight: 800; position: relative; }
.barra button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.barra button.activo { color: var(--verde); }
.barra button.activo svg { transform: translateY(-1px); }
.barra button.activo::after { content: ""; position: absolute; bottom: 8px; width: 22px; height: 4px; border-radius: 4px; background: var(--lima); }
.barra-a-fondo {
  width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--verde); color: var(--lima);
  transform: translateY(-16px) rotate(-4deg); box-shadow: 0 5px 0 #071a0d, 0 12px 22px rgba(10, 40, 15, .35); transition: transform .2s;
}
.barra-a-fondo svg { height: 38px; width: auto; }
.barra-a:active .barra-a-fondo { transform: translateY(-13px) rotate(0); box-shadow: 0 2px 0 #071a0d; }

/* ——— hoja que sube ——— */
.hoja { position: fixed; inset: 0; z-index: 60; }
.hoja-fondo { position: absolute; inset: 0; background: rgba(8, 25, 12, .55); animation: aparece .25s both; }
.hoja-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; border-radius: 28px 28px 0 0; background: var(--crema);
  padding-bottom: var(--seguro-abajo); animation: subeHoja .38s cubic-bezier(.2, .9, .3, 1) both;
}
@keyframes subeHoja { from { transform: translateY(100%); } }
.hoja.cierra .hoja-panel { animation: bajaHoja .25s ease-in both; }
.hoja.cierra .hoja-fondo { animation: aparece .25s reverse both; }
@keyframes bajaHoja { to { transform: translateY(100%); } }

.aviso {
  position: fixed; z-index: 80; left: 50%; bottom: calc(var(--barra-h) + 26px + var(--seguro-abajo)); transform: translate(-50%, 20px); opacity: 0;
  padding: 11px 18px; border-radius: 99px; background: var(--tinta); color: #fff; font-size: 14px; font-weight: 700; pointer-events: none;
  transition: opacity .2s, transform .25s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.aviso.ve { opacity: 1; transform: translate(-50%, 0); }

.vuela { position: fixed; z-index: 85; pointer-events: none; transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

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

/* ——— tienda ——— */
.tienda-cab { position: sticky; top: 60px; z-index: 20; background: var(--crema); padding: 12px 16px 10px; box-shadow: 0 1px 0 #e6dcc0; }
.buscar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 16px; background: #fff; border: 2px solid #e3d9bd; }
.buscar:focus-within { border-color: var(--verde-2); }
.buscar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--verde-2); stroke-width: 2.4; stroke-linecap: round; }
.buscar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 16px Montserrat, sans-serif; color: var(--tinta); }
.rubros { display: flex; gap: 8px; overflow-x: auto; margin: 10px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
.rubros::-webkit-scrollbar { display: none; }
.rubro { flex: none; height: 38px; padding: 0 15px; border-radius: 99px; background: #fff; border: 2px solid var(--verde); color: var(--verde); font-weight: 800; font-size: 13px; white-space: nowrap; }
.rubro.activo { background: var(--verde); color: var(--lima-2); }
.rubro-sec { padding: 18px 16px 6px; }
.estante { position: relative; border-radius: var(--radio); overflow: hidden; height: 200px; box-shadow: 0 5px 0 #8a5626; }
.estante-tit { position: relative; z-index: 3; margin: 0; padding: 14px 16px 0; color: #fff; font-size: 24px; font-weight: 900; letter-spacing: -.01em; text-shadow: 0 2px 0 rgba(70, 35, 5, .5); }
.estante-mesa { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; }
.estante-mesa .tabla { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; }
.estante-mesa .prod-parado { bottom: 26px; }
.estante-mesa .prod-parado::after { bottom: -4px; }
.filas { margin-top: 10px; display: grid; gap: 10px; }
.fila { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 20px; background: #fff; box-shadow: 0 3px 0 #e6dcc0; }
.fila-foto { width: 80px; height: 80px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 50% 62%, #f8f2e0, #ede3c6); }
.fila-foto img { max-width: 68px; max-height: 70px; width: auto; height: auto; filter: drop-shadow(0 5px 4px rgba(60, 40, 0, .2)); }
.fila-txt { text-align: left; min-width: 0; }
.fila-txt small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--verde-2); }
.fila-txt b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.fila-txt span { display: block; font-size: 12px; color: #6e6a55; font-weight: 600; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fila-txt em { display: block; margin-top: 5px; font-style: normal; font-weight: 900; font-size: 16px; }
.fila-txt em s { font-size: 12px; font-weight: 700; color: #8b8571; margin-right: 2px; }
.fila-txt em i { font-style: normal; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 6px; background: var(--lima); color: var(--tinta); vertical-align: 2px; }
.fila .mas { position: static; }
.paso { display: flex; align-items: center; gap: 2px; height: 38px; padding: 0 3px; border-radius: 99px; background: var(--verde); color: #fff; }
.paso button { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; font-weight: 900; color: var(--lima-2); display: grid; place-items: center; }
.paso b { min-width: 20px; text-align: center; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
.vacio { margin: 40px 16px; padding: 28px 20px; text-align: center; border-radius: var(--radio); background: var(--papel); }
.vacio b { display: block; font-size: 18px; font-weight: 900; color: var(--verde); }
.vacio span { display: block; margin-top: 6px; color: #6e6a55; }

/* ——— canasta ——— */
.tit-n { font-size: 13px; font-weight: 800; color: #6e6a55; }
.ahorro { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 16px 18px; border-radius: var(--radio); background: var(--verde); color: #fff; margin-bottom: 4px; box-shadow: 0 5px 0 #071a0d; }
.ahorro .sticker { font-size: 28px; transform: rotate(-2deg); }
.ahorro small { font-size: 13px; font-weight: 700; opacity: .9; }
.caja-op { padding: 18px 16px; border-radius: var(--radio); background: #fff; box-shadow: 0 3px 0 #e6dcc0; margin-bottom: 12px; }
.caja-op h3 { margin: 0; font-size: 18px; font-weight: 900; color: var(--verde); }
.caja-op p { margin: 4px 0 12px; font-size: 13px; color: #6e6a55; font-weight: 600; }
.caja-op > .ubic-lista { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: 99px; border: 2px solid var(--verde); color: var(--verde); background: #fff; font-weight: 800; font-size: 14px; }
.chip.activo { background: var(--lima); border-color: var(--lima); color: var(--tinta); box-shadow: 0 3px 0 #6f7c00; }
.ubic-elegir { max-width: none; }
.ubic-elegir button { display: block; width: 100%; text-align: center; padding: 10px 12px; border-radius: 16px; background: #fff; border: 2px solid #d9e2a0; color: var(--verde-2); }
.ubic-elegir button b { display: block; font-size: 15px; font-weight: 900; letter-spacing: .04em; color: #254213; }
.ubic-elegir button span { font-size: 13px; font-weight: 600; color: #3a5a1c; }
.ubic-elegir button.activo { background: var(--lima); border-color: var(--lima); box-shadow: 0 4px 0 #6f7c00; }
.resumen { padding: 16px; border-radius: var(--radio); background: var(--papel); margin-bottom: 14px; }
.resumen div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 700; }
.resumen div b { color: var(--verde-2); font-weight: 900; white-space: nowrap; }
.resumen s { color: #8b8571; }
.resumen .resumen-total { margin-top: 6px; padding-top: 12px; border-top: 2px dashed #d8cdaa; font-size: 18px; font-weight: 900; }
.resumen .resumen-total b { color: var(--tinta); font-size: 24px; }
.bt-ancho { display: flex; width: 100%; height: 56px; font-size: 16px; }
.bt-chico { height: 38px; padding: 0 14px; font-size: 13px; }
.bt-texto { display: block; margin: 12px auto 0; font-weight: 800; color: var(--verde-2); text-decoration: underline; text-underline-offset: 3px; }
.nota { margin: 10px 4px 0; font-size: 12px; color: #8b8571; text-align: center; }
.canasta-vacia { text-align: center; padding-top: 40px; }
.canasta-dibujo { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 36px; display: grid; place-items: center; background: var(--lima); box-shadow: 0 6px 0 #6f7c00; transform: rotate(-6deg); }
.canasta-dibujo svg { width: 68px; height: 68px; fill: none; stroke: var(--verde); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.canasta-vacia h2 { margin: 14px 0 4px; font-size: 26px; font-weight: 900; color: var(--verde); }
.canasta-vacia p { margin: 0 0 16px; color: #6e6a55; }
.sugeridas { display: grid; gap: 8px; margin: 0 auto 20px; max-width: 360px; }
.sugeridas .frase { max-width: none; text-align: center; }

/* ——— pedido listo ——— */
.listo { padding: 34px 20px 28px; text-align: center; }
.listo-sello { display: inline-block; font-size: 58px; transform: rotate(-5deg); animation: pega .6s cubic-bezier(.2, 1.5, .4, 1) both; }
.listo-num { margin: 16px 0 4px; font-size: 15px; }
.listo-num b { font-size: 20px; color: var(--verde); }
.listo > p { margin: 6px auto; max-width: 320px; }
.listo-ahorro { display: inline-block; margin: 12px 0 16px; padding: 8px 16px; border-radius: 99px; background: var(--lima); font-weight: 800; }
.listo-club { display: flex; align-items: center; gap: 10px; text-align: left; padding: 6px 14px 6px 4px; margin: 0 0 18px; border-radius: var(--radio); background: var(--verde); color: #fff; }
.listo-club .planta { width: 90px; height: 114px; flex: none; }
.listo-club b { display: block; font-size: 17px; font-weight: 900; color: var(--lima-2); }
.listo-club span { display: block; font-size: 13px; margin-top: 2px; }

/* ——— club ——— */
.cred { border-radius: 26px; overflow: hidden; background: var(--verde); color: #fff; box-shadow: 0 6px 0 #071a0d, 0 18px 30px rgba(10, 40, 15, .25); }
.cred-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.cred-cab .marca { font-size: 17px; }
.cred-cab span { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--lima); }
.cred-cuerpo { display: flex; align-items: center; gap: 16px; padding: 18px; }
.cred .qr { width: 132px; height: 132px; flex: none; border-radius: 14px; }
.cred-datos { min-width: 0; }
.cred-pct { display: inline-block; font-size: 30px; transform: rotate(-3deg); margin-bottom: 8px; }
.cred-datos b { display: block; font-size: 17px; font-weight: 900; }
.cred-datos small { display: block; font-size: 12px; font-weight: 700; opacity: .85; margin-top: 3px; }
.cred-pie { padding: 11px 18px; background: var(--lima); color: var(--tinta); font-size: 13px; font-weight: 800; text-align: center; }
.cred-grande .cred-cuerpo { flex-direction: column; text-align: center; }
.cred-grande .qr { width: min(240px, 64vw); height: auto; aspect-ratio: 1; }
.club-planta { display: flex; align-items: flex-end; gap: 10px; padding: 18px 16px 0 4px; border-radius: var(--radio); background: var(--papel); overflow: hidden; }
.club-planta .planta { width: 130px; height: 165px; flex: none; }
.club-planta .planta .hoja { fill: rgba(46, 89, 44, .08); stroke: rgba(46, 89, 44, .35); }
.club-planta .planta .hoja.ganada { fill: var(--lima); stroke: var(--verde-2); stroke-width: 2; stroke-dasharray: none; }
.club-planta-txt { padding-bottom: 18px; }
.club-planta-txt h2 { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.05; color: var(--verde); }
.club-planta-txt p { margin: 6px 0 10px; font-size: 14px; color: #4f4c3d; }
.club-regalo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 800; color: var(--verde); box-shadow: 0 3px 0 #e1d6b5; }
.club-regalo img { width: 52px; height: auto; transform: rotate(-8deg); }
.avisos { display: grid; gap: 10px; }
.aviso-op { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 3px 0 #e6dcc0; cursor: pointer; }
.aviso-op b { display: block; font-size: 15px; font-weight: 800; }
.aviso-op small { display: block; font-size: 12px; color: #6e6a55; margin-top: 2px; }
.aviso-op input { position: absolute; opacity: 0; pointer-events: none; }
.aviso-op i { flex: none; width: 52px; height: 30px; border-radius: 99px; background: #d9d2bd; position: relative; transition: background .2s; }
.aviso-op i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.aviso-op input:checked + i { background: var(--verde-2); }
.aviso-op input:checked + i::after { transform: translateX(22px); background: var(--lima-2); }
.aviso-op input:focus-visible + i { outline: 3px solid var(--lima); outline-offset: 2px; }
.pedidos { display: grid; gap: 10px; }
.pedido { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 3px 0 #e6dcc0; }
.pedido b { display: block; font-weight: 900; }
.pedido span, .pedido small { display: block; font-size: 12px; color: #6e6a55; font-weight: 600; }
.pedido > div:nth-child(2) { text-align: right; }

/* ——— ficha y hojas ——— */
.cerrar { position: absolute; z-index: 6; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(13, 43, 22, .85); color: #fff; font-size: 26px; font-weight: 600; line-height: 1; display: grid; place-items: center; }
.ficha { position: relative; }
.ficha-foto { position: relative; height: 330px; border-radius: 28px 28px 0 0; overflow: hidden; }
.ficha-off { position: absolute; z-index: 4; top: 18px; left: 16px; font-size: 34px; transform: rotate(-5deg); }
.ficha-mesa { position: absolute; left: 0; right: 0; bottom: 0; height: 330px; }
.ficha-mesa .tabla { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; }
.ficha-mesa .prod-parado { bottom: 40px; }
.ficha-txt { padding: 18px 18px 8px; }
.ficha-txt small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-2); }
.ficha-txt h2 { margin: 2px 0 6px; font-size: 26px; font-weight: 900; line-height: 1.05; letter-spacing: -.01em; color: var(--verde); }
.ficha-txt > p { margin: 0 0 12px; color: #4f4c3d; }
.ficha-precios s { font-weight: 700; color: #8b8571; margin-right: 8px; }
.ficha-precios b { font-size: 30px; font-weight: 900; }
.ficha-conv { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: #eef3cf; font-size: 13px; font-weight: 700; color: #3a5a1c; }
.ficha-conv b { color: var(--tinta); }
.ficha-txt h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 900; color: var(--verde); }
.riel-ficha { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.ficha-pie { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(14px + var(--seguro-abajo)); background: linear-gradient(180deg, rgba(251, 247, 236, 0), var(--crema) 30%); }
.paso-grande { height: 52px; padding: 0 5px; }
.paso-grande button { width: 40px; height: 40px; font-size: 24px; }
.ficha-sumar { flex: 1; height: 52px; }
.hoja-qr-c, .hoja-suc { position: relative; padding: 60px 18px 26px; }
.hoja-suc h2 { margin: 0 0 16px; font-size: 24px; font-weight: 900; color: var(--verde); }
.hoja-suc .ubic-wa { color: var(--verde-2); justify-content: center; width: 100%; }
.hoja-qr-c .cerrar, .hoja-suc .cerrar { top: 10px; }

/* ——— iPad y compu: una columna centrada; el teléfono no cambia ——— */
@media (min-width: 700px) {
  body { background: #efe7d2; }
  #app { max-width: 760px; margin: 0 auto; background: var(--crema); box-shadow: 0 0 0 1px #e3d9bd; }
  .heroe .sello { width: 120px; height: 120px; right: 40px; }
  .filas { grid-template-columns: 1fr 1fr; }
  .filas-canasta { grid-template-columns: 1fr; }
  .estante { height: 230px; }
  .estante-mesa { height: 190px; }
  .placa-mesa { height: 300px; }
}
#entrada { min-height: 100lvh; }
body.con-entrada .barra { opacity: 0; }
.barra { transition: opacity .4s .3s; }

/* teléfonos angostos (360-380): los dos botones del héroe y la fila con cantidad entran sin salirse */
@media (max-width: 389px) {
  .heroe-botones { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .heroe-botones .bt { flex: 1; padding: 0 10px; font-size: 14px; }
  .fila { grid-template-columns: 68px 1fr auto; gap: 10px; }
  .fila-foto { width: 68px; height: 68px; }
  .fila-foto img { max-width: 58px; max-height: 60px; }
  .paso button { width: 28px; }
  .placa-cierre .bt { padding: 0 14px; font-size: 14px; }
}
@media (min-width: 700px) {
  .hoja-panel { left: 50%; right: auto; width: min(760px, 100%); transform: translateX(-50%); }
  @keyframes subeHoja { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
  @keyframes bajaHoja { from { transform: translate(-50%, 0); } to { transform: translate(-50%, 100%); } }
}
