/* ===================================================================
   8PM Coffee Time — estilos de la web
   Salvia (verde de la marca) manda; crema, bosque y dorado acompañan.
   =================================================================== */
:root {
  --salvia: #6E8C65;
  --salvia-2: #9DB592;
  --salvia-3: #DCE6D5;
  --bosque: #1F2B1B;
  --bosque-2: #2C3A27;
  --crema: #F5F1E8;
  --crema-2: #EAE3D3;
  --oro: #C9974A;
  --cafe: #3A2A20;
  --tinta: #1F2B1B;
  --display: "Anton", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radio: 22px;
  --sombra: 0 18px 40px -18px rgba(31, 43, 27, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--crema); color: var(--tinta); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .92; margin: 0; }
h1 em, h2 em, h3 em, .pie-grande em, .splash-txt em, .cajon-cab em {
  font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--oro);
}
.kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin: 0 0 14px; opacity: .8; }
.mini { font-size: 13px; opacity: .75; margin: 6px 0 0; }
.centro { text-align: center; }

/* ---------- Bienvenida ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--salvia); display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); clip-path: circle(150% at 50% 50%); }
.splash.fuera { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.splash-reloj { position: relative; width: min(260px, 62vw); aspect-ratio: 1; border-radius: 50%; background: var(--crema); display: grid; place-items: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35); animation: pop .8s cubic-bezier(.2, 1.4, .4, 1) both; }
.splash-reloj img { width: 82%; }
.aguja { position: absolute; left: 50%; bottom: 50%; width: 5px; border-radius: 4px; background: var(--bosque); transform-origin: 50% 100%; margin-left: -2.5px; opacity: .85; }
.aguja-h { height: 26%; animation: horaria 1.6s .3s cubic-bezier(.6, 0, .2, 1) both; }
.aguja-m { height: 38%; width: 3px; margin-left: -1.5px; animation: minutero 1.6s .3s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes horaria { from { transform: rotate(-120deg); } to { transform: rotate(240deg); } }
@keyframes minutero { from { transform: rotate(-1080deg); } to { transform: rotate(0deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.splash-txt { color: var(--crema); font: 400 clamp(26px, 5vw, 40px)/1 var(--serif); margin: 0; animation: sube .7s .9s both; }
.splash-txt em { color: var(--bosque); }
@keyframes sube { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Aviso ---------- */
.aviso { background: var(--oro); color: var(--bosque); text-align: center; font-weight: 700; padding: 10px 16px; font-size: 14px; }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(110, 140, 101, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--crema); transition: box-shadow .3s; }
.cab.sombra { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .4); }
.cab-logo img { width: 58px; height: 58px; border-radius: 50%; background: var(--crema); padding: 3px; }
.cab-nav { display: flex; gap: 6px; margin-left: 8px; }
.cab-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 99px; transition: background .2s; }
.cab-nav a:hover, .cab-nav a.activo { background: rgba(245, 241, 232, .18); }
.estado { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: rgba(31, 43, 27, .25); padding: 7px 14px; border-radius: 99px; white-space: nowrap; }
.estado i { width: 8px; height: 8px; border-radius: 50%; background: #E9B44C; }
.estado.abierto i { background: #9CF29A; box-shadow: 0 0 0 0 rgba(156, 242, 154, .7); animation: late 1.8s infinite; }
@keyframes late { 70% { box-shadow: 0 0 0 9px rgba(156, 242, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(156, 242, 154, 0); } }
.btn-pedido { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--crema); color: var(--bosque); padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.btn-pedido svg { width: 20px; height: 20px; }
.btn-pedido em { font-style: normal; background: var(--bosque); color: var(--crema); min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; font-size: 12px; padding: 0 6px; }
.btn-pedido.salta { animation: salta .5s; }
@keyframes salta { 40% { transform: scale(1.15) rotate(-4deg); } }
.hamb { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.hamb span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--crema); transition: .3s; }
.hamb span:first-child { top: 17px; } .hamb span:last-child { top: 25px; }
.hamb.on span:first-child { transform: translateY(4px) rotate(45deg); } .hamb.on span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: 99px; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-crema { background: var(--crema); color: var(--bosque); }
.btn-linea { border-color: currentColor; color: inherit; }
.btn-linea:hover { background: var(--crema); color: var(--bosque); border-color: var(--crema); }
.btn-wa { background: #25D366; color: #fff; width: 100%; border: 0; }
.btn-wa svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--salvia); color: var(--crema); min-height: calc(100svh - 78px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding: 40px clamp(16px, 5vw, 72px) 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -20vw; border-radius: 50%; background: rgba(157, 181, 146, .35); }
.hero-txt { position: relative; z-index: 2; }
.chip-hero { display: inline-flex; gap: 8px; background: rgba(31, 43, 27, .22); padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; margin: 0 0 22px; }
.hero h1 { font-size: clamp(64px, 11vw, 168px); }
.hero h1 em { color: var(--bosque); font-size: 1.08em; line-height: .8; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); max-width: 480px; margin: 24px 0 30px; opacity: .95; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
  transform: rotate(var(--r)); transition: transform .8s cubic-bezier(.2, .8, .2, 1), z-index 0s .4s; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- Marquesina ---------- */
.marquee { background: var(--bosque); color: var(--crema); overflow: hidden; padding: 16px 0; }
.marquee-in { display: flex; width: max-content; animation: corre 30s linear infinite; }
.marquee span { font: 28px var(--display); text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.marquee i { color: var(--oro); font-style: normal; font-size: 22px; align-self: center; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: clamp(70px, 10vw, 120px) clamp(16px, 5vw, 72px); }
.sec-cab { max-width: 900px; margin-bottom: 44px; }
.sec h2 { font-size: clamp(48px, 8vw, 112px); }
.sec-sub { font-size: 18px; max-width: 560px; margin: 18px 0 0; opacity: .85; }
.revela { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.revela.visto { opacity: 1; transform: none; }

/* ---------- Menú de hoy ---------- */
.hoy h2 em { color: var(--salvia); }
.hoy-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.hoy-card { position: relative; background: var(--bosque); color: var(--crema); border-radius: 32px; padding: clamp(28px, 4vw, 48px); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.hoy-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(157, 181, 146, .16); }
.hoy-dia { display: inline-flex; align-self: flex-start; gap: 10px; align-items: center; background: var(--oro); color: var(--bosque); font-weight: 700; padding: 8px 16px; border-radius: 99px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.hoy-card h3 { font-size: clamp(44px, 6vw, 84px); margin: 22px 0 14px; }
.hoy-card p { font-size: 17px; max-width: 520px; opacity: .88; margin: 0; }
.hoy-precios { display: flex; gap: 14px; flex-wrap: wrap; margin: auto 0 0; padding-top: 30px; position: relative; z-index: 1; }
.precio-op { border: 2px solid rgba(245, 241, 232, .25); border-radius: 18px; padding: 14px 18px; background: transparent; color: var(--crema); text-align: left; transition: .2s; }
.precio-op:hover { border-color: var(--oro); background: rgba(201, 151, 74, .12); }
.precio-op b { display: block; font: 38px/1 var(--display); }
.precio-op span { font-size: 13px; opacity: .8; }
.precio-op small { display: block; margin-top: 6px; color: var(--oro); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.semana { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.semana li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 16px 18px; border: 2px solid transparent; transition: .25s; cursor: pointer; }
.semana li:hover { border-color: var(--salvia-2); }
.semana li b { font: 22px var(--display); text-transform: uppercase; color: var(--salvia); }
.semana li span { font-weight: 600; }
.semana li.es-hoy { background: var(--salvia); color: var(--crema); }
.semana li.es-hoy b { color: var(--bosque); }
.semana li.pasado { opacity: .5; }
.semana li.visto { border-color: var(--bosque); }
.semana li.veg { grid-template-columns: 1fr; gap: 6px; background: var(--salvia-3); cursor: default; }
.semana li.veg:hover { border-color: transparent; }
.semana li.veg b { font-size: 20px; color: var(--bosque); }
.semana li.veg span { display: block; }

/* ---------- Carta ---------- */
.carta { background: var(--bosque); color: var(--crema); }
.carta h2 em { color: var(--salvia-2); }
.carta-barra { position: sticky; top: 78px; z-index: 5; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 0; margin-bottom: 26px; background: var(--bosque); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 2px solid rgba(245, 241, 232, .25); background: transparent; padding: 9px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: .2s; }
.chips button.on { background: var(--salvia-2); border-color: var(--salvia-2); color: var(--bosque); }
.buscar { display: flex; align-items: center; gap: 8px; background: rgba(245, 241, 232, .08); border-radius: 99px; padding: 0 16px; min-width: 260px; flex: 0 1 320px; }
.buscar svg { width: 18px; height: 18px; opacity: .6; flex: none; }
.buscar input { border: 0; background: transparent; color: var(--crema); padding: 12px 0; width: 100%; font: inherit; outline: none; }
.carta-lista { columns: 2; column-gap: 56px; }
.cat-bloque { break-inside: avoid; margin-bottom: 46px; }
.cat-bloque h3 { font-size: 40px; color: var(--salvia-2); margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.cat-bloque h3 small { font: 600 13px var(--sans); color: var(--crema); opacity: .5; letter-spacing: .1em; }
.plato { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed rgba(245, 241, 232, .16); }
.plato-foto { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--salvia-2); }
.plato-txt { min-width: 0; }
.plato-txt b { font-weight: 700; font-size: 16px; }
.plato-txt p { margin: 2px 0 0; font-size: 13.5px; opacity: .65; line-height: 1.4; }
.plato-der { display: flex; align-items: center; gap: 12px; }
.plato-der span { font: 24px var(--display); color: var(--oro); }
.mas { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--salvia-2); background: transparent; color: var(--salvia-2); font-size: 20px; line-height: 1; display: grid; place-items: center; transition: .2s; flex: none; }
.mas:hover, .mas.ok { background: var(--salvia-2); color: var(--bosque); }
.sin-res { opacity: .7; font-size: 17px; }

/* ---------- Lunch ---------- */
.lunch { background: var(--salvia); color: var(--crema); position: relative; }
.lunch h2 em, .lunch-h3 em { color: var(--bosque); }
.calc { background: var(--crema); color: var(--bosque); border-radius: 28px; padding: 26px 30px; max-width: 760px; margin-bottom: 26px; box-shadow: var(--sombra); }
.calc-txt { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.calc-txt output { font: 64px/1 var(--display); color: var(--salvia); }
.calc input[type=range] { width: 100%; margin: 14px 0 8px; accent-color: var(--salvia); height: 28px; }
.calc-rec { margin: 0; font-size: 15px; }
.calc-rec b { color: var(--salvia); }
.combos { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 26px; scrollbar-width: thin; }
.combo { flex: 0 0 290px; scroll-snap-align: start; background: rgba(31, 43, 27, .2); border: 2px solid rgba(245, 241, 232, .2); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; transition: .3s; }
.combo.rec { background: var(--crema); color: var(--bosque); border-color: var(--crema); transform: translateY(-6px); box-shadow: var(--sombra); }
.combo-n { font: 76px/0.9 var(--display); }
.combo-n small { font: italic 26px var(--serif); margin-left: 6px; }
.combo ul { margin: 14px 0 18px; padding: 0; list-style: none; font-size: 14px; line-height: 1.7; flex: 1; }
.combo li::before { content: "· "; color: var(--oro); font-weight: 700; }
.combo-pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.combo-pie b { font: 30px var(--display); }
.combo-pie em { display: block; font-style: normal; font-size: 12px; opacity: .7; }
.combo-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--oro); color: var(--bosque); padding: 5px 10px; border-radius: 99px; margin-bottom: 10px; visibility: hidden; }
.combo.rec .combo-badge { visibility: visible; }
.btn-chico { border: 0; background: var(--bosque); color: var(--crema); padding: 11px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.combo:not(.rec) .btn-chico { background: var(--crema); color: var(--bosque); }
.lunch-reglas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.lunch-reglas li { background: var(--bosque); color: var(--crema); padding: 10px 18px; border-radius: 99px; font-size: 14px; }
.lunch-reglas b { color: var(--oro); }
.lunch-h3 { font-size: clamp(36px, 5vw, 60px); margin: 50px 0 26px; }
.lunch-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.bocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.boc { background: var(--crema); color: var(--bosque); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative; }
.boc:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.boc img { width: 100%; aspect-ratio: 6/5; object-fit: cover; }
.boc-txt { padding: 12px 14px 4px; flex: 1; }
.boc-txt b { display: block; font-size: 16px; line-height: 1.2; }
.boc-txt p { margin: 5px 0 0; font-size: 12.5px; opacity: .7; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.boc-pie { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 12px 14px; }
.boc-pie > span { font: 22px var(--display); }
.boc-pie > span small { font: 600 11px var(--sans); opacity: .6; margin-left: 2px; }
.paso { display: flex; align-items: center; gap: 2px; background: var(--salvia-3); border-radius: 99px; padding: 3px; }
.paso button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bosque); color: var(--crema); font-size: 18px; line-height: 1; }
.paso button:first-child { background: transparent; color: var(--bosque); }
.paso output { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.boc.elegido { outline: 3px solid var(--bosque); }
.boc-cant { position: absolute; top: 10px; right: 10px; background: var(--bosque); color: var(--crema); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 99px; display: none; }
.boc.elegido .boc-cant { display: block; }
.bandeja { position: sticky; top: 100px; background: var(--bosque); color: var(--crema); border-radius: 26px; padding: 26px; }
.bandeja-num { display: flex; align-items: baseline; gap: 10px; }
.bandeja-num b { font: 54px/1 var(--display); color: var(--salvia-2); }
.bandeja-tot { font: 40px var(--display); color: var(--oro); margin: 14px 0 10px; }
.medidor { height: 8px; border-radius: 99px; background: rgba(245, 241, 232, .14); overflow: hidden; }
.medidor i { display: block; height: 100%; width: 0; background: var(--salvia-2); transition: width .4s; }

/* ---------- Postres ---------- */
.postres { background: var(--crema); position: relative; }
.postres h2 em { color: var(--salvia); }
.tam { position: relative; display: inline-flex; background: var(--crema-2); border-radius: 99px; padding: 5px; margin-bottom: 14px; }
.tam-nota { max-width: 560px; font-size: 14px; opacity: .75; margin: 0 0 40px; }
.tam button { position: relative; z-index: 1; border: 0; background: transparent; padding: 12px 24px; border-radius: 99px; font-weight: 700; transition: color .3s; }
.tam button small { display: block; font-weight: 500; font-size: 11px; opacity: .7; }
.tam button.on { color: var(--crema); }
.tam-bola { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 99px; background: var(--salvia); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), width .35s; }
.tortas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 36px 22px; }
.torta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.torta-img { position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--salvia); padding: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.torta-img::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--salvia-2); transition: transform 1.2s; }
.torta:hover .torta-img { transform: rotate(-6deg) scale(1.04); }
.torta:hover .torta-img::before { transform: rotate(90deg); }
.torta-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.torta-precio { position: absolute; right: -8px; top: 4px; background: var(--bosque); color: var(--crema); width: 74px; height: 74px; border-radius: 50%; display: grid; place-content: center; font: 20px/1 var(--display);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4); transition: transform .3s; }
.torta-precio small { font: 600 10px var(--sans); opacity: .7; margin-top: 3px; }
.torta-precio.cambia { animation: gira-p .45s; }
@keyframes gira-p { 50% { transform: rotateY(90deg) scale(.9); } }
.torta h4 { font: italic 27px/1.05 var(--serif); margin: 18px 0 6px; }
.torta p { font-size: 13.5px; margin: 0 0 12px; opacity: .7; max-width: 260px; }
.torta .btn-chico { margin-top: auto; }

/* ---------- Info ---------- */
.info { background: var(--salvia-3); }
.info h2 em { color: var(--salvia); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-grid div { background: var(--crema); border-radius: 24px; padding: 26px; }
.info-grid span { font: 44px var(--display); color: var(--salvia-2); }
.info-grid h4 { font-size: 19px; margin: 6px 0 8px; }
.info-grid p { margin: 0; font-size: 15px; opacity: .8; }

/* ---------- Visitanos ---------- */
.visitanos { background: var(--salvia); color: var(--crema); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.visitanos h2 em { color: var(--bosque); }
.vis-foto img { border-radius: 200px 200px 28px 28px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--sombra); }
.vis-dir { font: italic 34px/1.1 var(--serif); margin: 22px 0; }
.horas { list-style: none; padding: 0; margin: 0 0 30px; max-width: 420px; }
.horas li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(245, 241, 232, .25); }
.horas li.es-hoy { font-weight: 700; }
.horas li.es-hoy span::after { content: " · hoy"; color: var(--bosque); }
.mapa { grid-column: 1 / -1; width: 100%; height: 340px; border: 0; border-radius: 28px; filter: grayscale(.35) contrast(1.05); }

/* ---------- Pie ---------- */
.pie { background: var(--bosque); color: var(--crema); padding: 80px clamp(16px, 5vw, 72px) 110px; text-align: center; }
.pie-logo { width: 110px; margin: 0 auto 26px; background: var(--crema); border-radius: 50%; padding: 6px; }
.pie-grande { font: 400 clamp(40px, 7vw, 92px)/.95 var(--display); text-transform: uppercase; margin: 0 0 30px; }
.pie-links { display: flex; gap: 12px 26px; justify-content: center; flex-wrap: wrap; }
.pie-links a { text-decoration: none; font-weight: 600; opacity: .85; }
.pie-credito { margin: 40px 0 0; font-size: 13px; opacity: .5; }
.madeby { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; text-decoration: none; color: rgba(245, 241, 232, .6); }
.madeby img { height: 14px; width: auto; filter: brightness(0) invert(1); opacity: .7; }

/* ---------- Pedido (carrito en 3 pasos) ---------- */
.velo { position: fixed; inset: 0; background: rgba(20, 28, 17, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .35s; }
.velo.on { opacity: 1; pointer-events: auto; }
.cajon { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--crema); z-index: 61; transform: translateX(105%); transition: transform .55s cubic-bezier(.2, .9, .2, 1);
  display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); }
.cajon.on { transform: none; }
.cj-cab { background: var(--salvia); color: var(--crema); padding: 18px 22px 0; position: relative; overflow: hidden; flex: none; }
.cj-cab::after { content: ""; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(157, 181, 146, .35); pointer-events: none; }
.cj-fila { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.cj-logo { width: 52px; height: 52px; border-radius: 50%; background: var(--crema); padding: 3px; flex: none; }
.cajon.on .cj-logo { animation: logoGira .9s .15s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes logoGira { from { transform: rotate(-200deg) scale(.4); opacity: 0; } }
.cj-tit { flex: 1; min-width: 0; }
.cj-tit h3 { font-size: 36px; }
.cj-tit em { color: var(--bosque); }
.cj-tit span { font-size: 13px; font-weight: 600; opacity: .85; display: inline-block; }
.cj-tit span.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: translateY(-4px) scale(1.06); } }
.x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(31, 43, 27, .25); color: var(--crema); font-size: 26px; line-height: 1; flex: none; transition: transform .3s, background .2s; }
.x:hover { transform: rotate(90deg); background: rgba(31, 43, 27, .45); }
.cj-pasos { list-style: none; display: flex; justify-content: space-between; margin: 18px 0 0; padding: 0 0 14px; position: relative; z-index: 1; }
.cj-pasos::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: rgba(245, 241, 232, .3); }
.cj-barra { position: absolute; left: 14px; top: 13px; height: 2px; background: var(--crema); width: 0; transition: width .5s cubic-bezier(.3, .9, .3, 1); }
.cajon[data-paso="1"] .cj-barra { width: calc(50% - 14px); }
.cajon[data-paso="2"] .cj-barra { width: calc(100% - 28px); }
.cj-pasos li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; transition: opacity .3s; }
.cj-pasos li i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--salvia); border: 2px solid rgba(245, 241, 232, .5); font-size: 13px; transition: .35s; }
.cj-pasos li.on { opacity: 1; }
.cj-pasos li.on i { background: var(--crema); color: var(--bosque); border-color: var(--crema); transform: scale(1.12); }
.cj-pasos li.hecho i { background: var(--bosque); border-color: var(--bosque); color: var(--crema); }

.cj-vistas { flex: 1; overflow: hidden; position: relative; }
.cj-riel { display: flex; width: 300%; height: 100%; transition: transform .55s cubic-bezier(.3, .9, .2, 1); }
.cajon[data-paso="1"] .cj-riel { transform: translateX(-33.3333%); }
.cajon[data-paso="2"] .cj-riel { transform: translateX(-66.6667%); }
.cj-v { width: 33.3333%; height: 100%; overflow-y: auto; padding: 14px 20px 24px; overscroll-behavior: contain; }

/* Renglones */
.cj-grupo { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--salvia); margin: 14px 4px 8px; display: flex; align-items: center; gap: 8px; }
.cj-grupo::after { content: ""; flex: 1; height: 1px; background: var(--crema-2); }
.cj-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 10px 12px 10px 10px; margin-bottom: 8px;
  animation: entra .45s cubic-bezier(.2, 1.2, .4, 1) both; transition: transform .3s, opacity .3s, max-height .35s, margin .35s, padding .35s; max-height: 140px; }
.cj-item:nth-child(2) { animation-delay: .04s; } .cj-item:nth-child(3) { animation-delay: .08s; } .cj-item:nth-child(4) { animation-delay: .12s; } .cj-item:nth-child(5) { animation-delay: .16s; }
@keyframes entra { from { opacity: 0; transform: translateX(40px) scale(.96); } }
.cj-item.sale { opacity: 0; transform: translateX(-60px); max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; }
.cj-item.nuevo { animation: nuevo .7s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes nuevo { 0% { opacity: 0; transform: scale(.8); background: var(--salvia-3); } 60% { background: var(--salvia-3); } }
.cj-foto { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; background: var(--salvia-3); display: grid; place-items: center; font-size: 26px; }
.cj-foto.redonda { border-radius: 50%; }
.cj-info { min-width: 0; }
.cj-info b { display: block; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cj-info small { display: block; font-size: 12px; opacity: .6; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cj-info strong { display: block; font: 19px var(--display); color: var(--salvia); margin-top: 3px; letter-spacing: .02em; }
.cj-paso { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--crema); border-radius: 99px; padding: 3px; }
.cj-paso button { width: 30px; height: 30px; border-radius: 50%; border: 0; font-size: 17px; line-height: 1; display: grid; place-items: center; transition: transform .15s; }
.cj-paso button:active { transform: scale(.85); }
.cj-paso button[data-a="1"] { background: var(--bosque); color: var(--crema); }
.cj-paso button[data-a="-1"] { background: transparent; color: var(--bosque); }
.cj-paso button.tacho { font-size: 14px; }
.cj-paso output { font-weight: 700; font-size: 13px; min-width: 24px; text-align: center; }
.cj-paso output.pop { animation: pop2 .35s; }
@keyframes pop2 { 50% { transform: scale(1.5); color: var(--salvia); } }

/* Sugerencia */
.cj-suge { display: flex; align-items: center; gap: 12px; background: var(--bosque); color: var(--crema); border-radius: 20px; padding: 12px 14px; margin-top: 12px; animation: entra .5s .2s both; }
.cj-suge span { font-size: 26px; }
.cj-suge p { margin: 0; flex: 1; font-size: 13px; line-height: 1.35; }
.cj-suge p b { display: block; font-size: 14px; }
.cj-suge button { border: 0; background: var(--oro); color: var(--bosque); font-weight: 700; padding: 9px 14px; border-radius: 99px; font-size: 13px; white-space: nowrap; }

/* Vacío */
.vacio { text-align: center; padding: 30px 10px 10px; }
.vacio svg { width: 120px; height: 120px; margin: 0 auto 6px; display: block; }
.vacio .humo { fill: none; stroke: var(--salvia-2); stroke-width: 3; stroke-linecap: round; animation: humo 2.4s ease-in-out infinite; }
.vacio .humo:nth-of-type(2) { animation-delay: .5s; } .vacio .humo:nth-of-type(3) { animation-delay: 1s; }
@keyframes humo { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.vacio b { display: block; font: italic 30px var(--serif); margin-bottom: 4px; }
.vacio p { margin: 0 auto 18px; max-width: 280px; opacity: .7; font-size: 14px; }
.vacio-atajos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vacio-atajos a { text-decoration: none; background: #fff; border: 2px solid var(--crema-2); padding: 9px 14px; border-radius: 99px; font-weight: 700; font-size: 13px; transition: .2s; }
.vacio-atajos a:hover { border-color: var(--salvia); background: var(--salvia-3); }

/* Formulario */
.cj-form { display: grid; gap: 12px; }
.cj-volver { justify-self: start; border: 0; background: transparent; font-weight: 700; font-size: 13px; color: var(--salvia); padding: 4px 0; }
.cj-et { margin: 6px 0 -2px; font: italic 22px var(--serif); }
.cj-modo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cj-modo input { position: absolute; opacity: 0; }
.cj-modo span { display: block; background: #fff; border: 2px solid var(--crema-2); border-radius: 18px; padding: 12px; text-align: center; font-weight: 700; cursor: pointer; transition: .25s; }
.cj-modo span b { display: block; font-size: 26px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.cj-modo span small { display: block; font-weight: 500; font-size: 11.5px; opacity: .6; }
.cj-modo input:checked + span { border-color: var(--salvia); background: var(--salvia-3); }
.cj-modo input:checked + span b { transform: scale(1.2) rotate(-8deg); }
.cj-modo input:focus-visible + span { outline: 3px solid var(--oro); }
.cj-campo { display: grid; gap: 4px; }
.cj-campo > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.cj-campo i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
.cj-campo input, .cj-campo textarea { width: 100%; border: 2px solid var(--crema-2); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--tinta); transition: border-color .2s, box-shadow .2s; }
.cj-campo input:focus, .cj-campo textarea:focus { outline: none; border-color: var(--salvia); box-shadow: 0 0 0 4px rgba(110, 140, 101, .15); }
.cj-campo.error input { border-color: #B5483B; animation: tiembla .4s; }
@keyframes tiembla { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.cj-dos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.cj-dias { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cj-dias::-webkit-scrollbar { display: none; }
.cj-dias button { flex: none; border: 2px solid var(--crema-2); background: #fff; border-radius: 16px; padding: 8px 12px; text-align: center; min-width: 62px; transition: .2s; }
.cj-dias button small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.cj-dias button b { font: 22px/1.1 var(--display); }
.cj-dias button.on { background: var(--bosque); color: var(--crema); border-color: var(--bosque); transform: translateY(-2px); }
.cj-dias button:disabled { opacity: .35; }
.cj-aviso { margin: 0; background: #fff; border-left: 4px solid var(--oro); border-radius: 10px; padding: 10px 12px; font-size: 13px; }

/* Listo */
.cj-listo { text-align: center; padding-top: 30px; }
.cj-check { width: 96px; height: 96px; margin: 0 auto 10px; }
.cj-check svg { width: 100%; height: 100%; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cj-check circle { stroke: var(--salvia); stroke-dasharray: 151; stroke-dashoffset: 151; }
.cj-check path { stroke: var(--bosque); stroke-dasharray: 40; stroke-dashoffset: 40; }
.cajon[data-paso="2"] .cj-check circle { animation: traza .6s .35s forwards; }
.cajon[data-paso="2"] .cj-check path { animation: traza .4s .85s forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
.cj-listo h4 { font: 44px/1 var(--display); text-transform: uppercase; margin: 0; }
.cj-listo h4 em { font-family: var(--serif); text-transform: none; color: var(--salvia); }
.cj-num { display: inline-block; background: var(--bosque); color: var(--crema); font-weight: 700; letter-spacing: .1em; padding: 6px 14px; border-radius: 99px; font-size: 13px; margin: 12px 0 6px; }
.cj-listo > p:not(.cj-num) { font-size: 14px; opacity: .75; max-width: 320px; margin: 8px auto 20px; }
.cj-btn-pdf, .cj-btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-radius: 99px; padding: 15px; font-weight: 700; text-decoration: none; margin-bottom: 10px; font-size: 15px; }
.cj-btn-pdf { background: var(--salvia); color: var(--crema); }
.cj-btn-pdf svg { width: 20px; height: 20px; }
.cj-btn-pdf.cargando { opacity: .7; pointer-events: none; }
.cj-btn-wa { background: #fff; border: 2px solid #25D366; color: #128C4A; }
#cjOtro { justify-self: center; margin: 6px auto 0; display: block; }

/* Pie con total */
.cj-pie { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--crema-2); transition: transform .4s, margin .4s; }
.cajon[data-paso="2"] .cj-pie { transform: translateY(100%); margin-top: -90px; }
.cj-tot { flex: 1; min-width: 0; }
.cj-tot span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.cj-tot b { font: 32px/1.05 var(--display); color: var(--bosque); }
.cj-tot small { display: block; font-size: 11.5px; color: var(--salvia); font-weight: 700; }
.cj-sig { border: 0; background: var(--bosque); color: var(--crema); font-weight: 700; padding: 16px 22px; border-radius: 99px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, background .2s, opacity .2s; white-space: nowrap; }
.cj-sig span { transition: transform .25s; }
.cj-sig:hover span { transform: translateX(4px); }
.cj-sig:disabled { opacity: .35; }
.cj-sig.wa { background: #25D366; color: #fff; }
.cj-sig.wa span { display: none; }
.cj-sig svg { width: 20px; height: 20px; }

/* Comprobante: se arma fuera de la pantalla */
.comp-caja { position: fixed; left: -10000px; top: 0; width: 794px; pointer-events: none; }
.comp { width: 794px; min-height: 1123px; background: var(--crema); color: var(--bosque); font-family: var(--sans); position: relative; display: flex; flex-direction: column; }
.comp-cab { background: var(--salvia); color: var(--crema); padding: 44px 56px 36px; display: flex; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.comp-cab img { width: 118px; height: 118px; border-radius: 50%; background: var(--crema); padding: 6px; }
.comp-cab .k { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; opacity: .85; }
.comp-cab h1 { font-size: 64px; line-height: .9; margin: 6px 0 0; }
.comp-cab h1 { white-space: nowrap; }
.comp-cab h1 em { font-family: var(--serif); text-transform: none; color: var(--bosque); font-size: 44px; letter-spacing: .01em; }
.comp-cab .fecha { margin-left: auto; text-align: right; font-size: 13px; }
.comp-cab .fecha b { display: block; font: 26px var(--display); }
.comp-datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 56px 0; background: #fff; border-radius: 18px; }
.comp-datos div { padding: 16px 18px; border-right: 1px solid var(--crema-2); }
.comp-datos div:last-child { border: 0; }
.comp-datos span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--salvia); margin-bottom: 4px; }
.comp-datos b { font-size: 14px; display: block; line-height: 1.3; }
.comp-datos small { font-size: 12px; opacity: .7; }
.comp-tabla { margin: 26px 56px 0; border-collapse: collapse; width: calc(100% - 112px); font-size: 14px; }
.comp-tabla th { text-align: left; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--salvia); padding: 0 12px 10px; border-bottom: 2px solid var(--bosque); }
.comp-tabla td { padding: 12px; border-bottom: 1px dashed #d9d2c1; vertical-align: top; }
.comp-tabla td small { display: block; font-size: 11.5px; opacity: .6; margin-top: 2px; }
.comp-tabla .n { text-align: right; white-space: nowrap; }
.comp-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; margin-top: 6px; font-size: 12.5px; }
.comp-tabla th.n { text-align: right; }
.comp-tabla td.n b { font-weight: 700; }
.comp-tots { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 26px 56px; }
.comp-cond { font-size: 11.5px; opacity: .75; max-width: 330px; line-height: 1.5; }
.comp-cond b { display: block; font: italic 20px var(--serif); opacity: 1; margin-bottom: 4px; }
.comp-caja-tot { background: var(--bosque); color: var(--crema); border-radius: 20px; padding: 18px 24px; min-width: 280px; }
.comp-caja-tot div { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.comp-caja-tot .grande { border-top: 1px solid rgba(245, 241, 232, .25); margin-top: 8px; padding-top: 10px; align-items: baseline; }
.comp-caja-tot .grande b { font: 40px var(--display); color: var(--salvia-2); }
.comp-caja-tot .sena b { color: var(--oro); }
.comp-pie { margin-top: auto; background: var(--bosque); color: var(--crema); padding: 26px 56px; display: flex; justify-content: space-between; align-items: center; }
.comp-pie p { margin: 0; font-size: 12.5px; opacity: .85; line-height: 1.6; }
.comp-pie .gracias { font: 400 34px/1 var(--display); text-transform: uppercase; opacity: 1; }
.comp-pie .gracias em { font-family: var(--serif); text-transform: none; color: var(--salvia-2); }

.wa-flot { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-flot:hover { transform: scale(1.08); }
.wa-flot svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); background: var(--bosque); color: var(--crema); padding: 13px 20px; border-radius: 99px; font-weight: 600; font-size: 14px;
  transition: transform .4s cubic-bezier(.2, 1.2, .4, 1); box-shadow: var(--sombra); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast { opacity: 0; pointer-events: none; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .cab-nav a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 960px) {
  .hamb { display: block; }
  .cab { gap: 10px; }
  .cab-nav { position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--salvia); padding: 10px 16px 24px; margin: 0; gap: 0;
    transform: translateY(-120%); transition: transform .4s; z-index: -1; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .4); }
  .cab-nav.on { transform: none; }
  .cab-nav a { font: 34px var(--display); text-transform: uppercase; padding: 10px 4px; border-bottom: 1px solid rgba(245, 241, 232, .2); border-radius: 0; }
  .estado { margin-left: auto; }
  .btn-pedido span { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 30px; }
  .hoy-grid, .lunch-wrap, .visitanos { grid-template-columns: 1fr; }
  .carta-lista { columns: 1; }
  .bandeja { position: sticky; bottom: 12px; top: auto; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 16px; padding: 14px 20px; order: -1; z-index: 4; box-shadow: var(--sombra); }
  .bandeja .kicker, .bandeja .mini, .bandeja .medidor { display: none; }
  .bandeja-num b { font-size: 30px; }
  .bandeja-num span { font-size: 12px; }
  .bandeja-tot { margin: 0; text-align: right; font-size: 30px; }
  .lunch-wrap { display: flex; flex-direction: column-reverse; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 70px; }
  .cab { padding: 8px 12px; }
  .cab-logo img { width: 50px; height: 50px; }
  .cab-nav { top: 66px; }
  .carta-barra { top: 66px; }
  .estado { font-size: 11.5px; padding: 6px 10px; }
  .estado b { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .btn-pedido { padding: 9px 12px; }
  .hero h1 { font-size: 68px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .marquee span { font-size: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .semana li { grid-template-columns: 90px 1fr; padding: 13px 14px; }
  .buscar { min-width: 0; flex: 1 1 100%; }
  .bocs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .boc-txt p { display: none; }
  .boc-txt b { font-size: 14px; }
  .boc-pie { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 10px 10px; }
  .paso { justify-content: space-between; }
  .tortas { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .torta-img { width: 92%; }
  .torta-precio { width: 58px; height: 58px; font-size: 16px; right: -6px; }
  .torta h4 { font-size: 21px; }
  .torta p { display: none; }
  .combo { flex-basis: 82%; }
  .calc { padding: 20px; }
  .tam button { padding: 10px 16px; }
  .mapa { height: 260px; }
  .bandeja { grid-template-columns: auto 1fr; }
  .bandeja-num:nth-of-type(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .hoy-precios { flex-wrap: nowrap; gap: 10px; }
  .precio-op { flex: 1; padding: 12px 14px; }
  .precio-op b { font-size: 30px; }
  .hoy-card { min-height: 0; }
}
.cab-logo { flex: none; }
.estado { min-width: 0; overflow: hidden; }
.estado b { overflow: hidden; text-overflow: ellipsis; }
.btn-pedido, .hamb { flex: none; }
[hidden] { display: none !important; }
.cj-tot span, .cj-tot small { white-space: nowrap; }
body:has(.cajon.on) .toast { bottom: 104px; }
@media (max-width: 420px) {
  .cj-pie { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .cj-tot b { font-size: 27px; }
  .cj-sig { padding: 15px 16px; font-size: 14px; }
  .cj-sig.wa svg { width: 18px; height: 18px; }
  .cj-v { padding-left: 16px; padding-right: 16px; }
}

/* Acceso al panel: la © del pie, sin nada que la delate. El relleno agranda la zona para tocarla con el dedo. */
.pie-secreto { color: inherit; text-decoration: none; cursor: inherit; display: inline-block; padding: 12px; margin: -12px; }

/* ===================================================================
   Segunda versión del diseño
   =================================================================== */

/* Portada: el plato es un reloj */
.hero { grid-template-columns: 1.1fr 1fr; padding-bottom: 90px; }
.reloj { position: relative; z-index: 1; justify-self: center; width: min(560px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--crema); padding: 4.5%; box-shadow: 0 40px 70px -30px rgba(31, 43, 27, .7); }
.reloj::before { content: ""; position: absolute; inset: 1.4%; border-radius: 50%; color: var(--bosque); opacity: .55;
  background: repeating-conic-gradient(currentColor 0 .7deg, transparent .7deg 30deg);
  -webkit-mask: radial-gradient(closest-side, transparent 95%, #000 95.5%); mask: radial-gradient(closest-side, transparent 95%, #000 95.5%); }
.reloj-fotos { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bosque); }
.reloj-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12) rotate(-5deg); transition: opacity 1.1s, transform 4.6s ease-out; }
.reloj-fotos img.on { opacity: 1; transform: scale(1.02) rotate(0); }
.reloj-8 { position: absolute; left: 6.7%; top: 75%; transform: translate(-50%, -50%); width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--oro); color: var(--bosque); display: grid; place-items: center; font: clamp(30px, 5vw, 58px)/1 var(--display); border: 5px solid var(--crema); z-index: 3; }
.reloj-torta { position: absolute; right: -7%; bottom: -5%; width: 42%; z-index: 3; filter: drop-shadow(0 18px 18px rgba(31, 43, 27, .45)); animation: flota 5s ease-in-out infinite; }
@keyframes flota { 50% { transform: translateY(-10px) rotate(-2deg); } }
.reloj-sello { position: absolute; left: -9%; top: -9%; width: 34%; aspect-ratio: 1; z-index: 3; background: var(--bosque); border-radius: 50%; display: grid; place-items: center; }
.reloj-sello b { font: clamp(24px, 3.6vw, 48px)/1 var(--display); font-weight: 400; color: var(--oro); }
.reloj-anillo { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 18s linear infinite; }
.reloj-anillo text { fill: var(--crema); font: 700 15.5px var(--sans); letter-spacing: 2.5px; text-transform: uppercase; }
.reloj-hoy { margin-top: 18px; display: inline-grid; grid-template-columns: auto auto; gap: 0 14px; align-items: baseline; text-decoration: none; background: var(--bosque); color: var(--crema); padding: 10px 22px; border-radius: 99px; transition: transform .2s; }
.reloj-hoy:hover { transform: translateY(-3px); }
.reloj-hoy small { color: var(--oro); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.reloj-hoy b { font-size: 15px; }
.reloj-hoy i { grid-column: 2; font-style: normal; font-size: 12px; opacity: .7; }

/* Bordes de festón entre secciones */
.carta, .lunch, .visitanos { position: relative; }
.carta::before, .lunch::before, .visitanos::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background-size: 32px 16px; background-repeat: repeat-x; pointer-events: none; }
.carta::before { background-image: radial-gradient(circle at 16px 16px, var(--bosque) 15.5px, transparent 16px); }
.lunch::before, .visitanos::before { background-image: radial-gradient(circle at 16px 16px, var(--salvia) 15.5px, transparent 16px); }

/* Grilla póster */
.poster { display: grid; grid-template-columns: repeat(4, 1fr); }
.pt { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; text-decoration: none; }
.pt img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pt-foto:hover img { transform: scale(1.07); }
.pt span { font: clamp(58px, 8vw, 124px)/1 var(--display); text-transform: lowercase; text-align: center; transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.pt:hover span { transform: scale(1.06) rotate(-3deg); }
.pt-oro { background: var(--oro); color: var(--bosque); }
.pt-salvia { background: var(--salvia); color: var(--crema); }
.pt-bosque { background: var(--bosque); color: var(--salvia-2); }
.pt-crema { background: var(--salvia-3); color: var(--bosque); }
.pt-crema { align-items: start; padding-top: 6%; }
.pt-crema span { font-size: clamp(44px, 6.6vw, 104px); }
.pt-crema img { position: absolute; width: 72%; height: auto; left: 14%; bottom: 5%; filter: drop-shadow(0 12px 12px rgba(31, 43, 27, .4)); }
.pt-crema:hover img { transform: rotate(-6deg) scale(1.05); }

/* Menú de hoy */
.hoy-card { background: linear-gradient(150deg, var(--bosque-2), var(--bosque)); }
.semana li { box-shadow: 0 1px 0 var(--crema-2); }

/* Platos con foto */
.favs-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.favs-cab h3 { font-size: clamp(30px, 4vw, 44px); }
.favs-cab h3 em { color: var(--salvia-2); }
.favs-cab span { font-size: 13px; opacity: .6; font-weight: 600; }
.favs { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 22px; margin-bottom: 34px; scrollbar-width: thin; scrollbar-color: var(--salvia) transparent; }
.fav { flex: 0 0 300px; scroll-snap-align: start; background: var(--crema); color: var(--bosque); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s; }
.fav:hover { transform: translateY(-6px); }
.fav img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fav-txt { padding: 16px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.fav-txt b { font: 26px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.fav-txt p { margin: 7px 0 12px; font-size: 13.5px; opacity: .7; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fav-pie { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.fav-pie span { font: 30px var(--display); color: var(--salvia); }
.fav .mas { background: var(--bosque); border-color: var(--bosque); color: var(--crema); width: 42px; height: 42px; }
.fav .mas.ok { background: var(--salvia); border-color: var(--salvia); color: var(--crema); }
.carta-lista { background: rgba(245, 241, 232, .04); border-radius: 28px; padding: clamp(18px, 3vw, 36px); }
.plato-der span { font-size: 26px; }

/* Bocados */
.boc { box-shadow: 0 16px 30px -24px rgba(31, 43, 27, .8); }
.boc img { aspect-ratio: 1; }

/* Tortas: recortadas, sobre un plato */
.tortas { gap: 44px 26px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.torta-img { width: 100%; aspect-ratio: 1.08; border-radius: 0; background: none; display: grid; place-items: center; }
.torta-img::before { inset: 9% 13%; border: 0; border-radius: 50%; background: var(--salvia-3); transition: transform .6s; }
.torta:hover .torta-img { transform: none; }
.torta:hover .torta-img::before { transform: scale(1.08); }
.torta-img img { position: relative; width: 84%; height: 84%; border-radius: 0; object-fit: contain; filter: drop-shadow(0 16px 12px rgba(31, 43, 27, .32)); transition: transform .5s cubic-bezier(.2, 1.3, .4, 1); }
.torta:hover .torta-img img { transform: translateY(-8px) rotate(-3deg) scale(1.05); }
.torta-precio { right: 4%; top: 0; width: 78px; height: 78px; background: var(--oro); color: var(--bosque); }
.torta h4 { font-size: 30px; }
.cj-foto.redonda { object-fit: contain; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 76px; }
  .reloj { width: min(460px, 88%); margin-top: 8px; }
  .hero-txt { order: 0; }
  .poster { grid-template-columns: repeat(2, 1fr); }
  .pt span { font-size: clamp(58px, 17vw, 124px); }
  .pt-crema span { font-size: clamp(44px, 13vw, 96px); }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(62px, 19vw, 76px); }
  .fav { flex-basis: 78%; }
  .favs { margin-right: -16px; }
  .tortas { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .torta-precio { width: 58px; height: 58px; font-size: 16px; right: 0; }
  .torta h4 { font-size: 22px; }
  .carta-lista { padding: 8px 0 0; background: none; }
  .reloj { width: 92%; }
}
.pt-salvia span { font-size: clamp(44px, 6.2vw, 96px); }
@media (max-width: 960px) { .pt-salvia span { font-size: clamp(44px, 12.5vw, 96px); } }

/* Pago con tarjeta en el pedido */
.cj-pago { display: grid; gap: 12px; }
.cj-tarjeta { margin-top: 14px; }
.cj-legal { margin: 10px 0 0; font-size: 12.5px; opacity: .75; }
.cj-legal a { color: inherit; font-weight: 700; }
.cj-pago-err { border-left-color: #B5483B; margin-bottom: 12px; font-weight: 600; }
.pie-legal { color: inherit; }
