/* Parada Ambulante · app. Dirección visual en ../DIRECCION.md. Teléfono primero; ≥760 px, iPad y compu. */
:root {
  --crema: #F2ECE1;
  --crema-2: #EAE2D3;
  --revoque: #E4D9C6;
  --papel: #FBF8F2;
  --oliva: #64621F;
  --oliva-2: #4F4E17;
  --mesa: #8D944F;
  --mesa-2: #7A8143;
  --pizarra: #1E1D1A;
  --pizarra-2: #2B2A26;
  --ladrillo: #A65A3E;
  --tinta: #2A2820;
  --gris: #6F6A5E;
  --linea: rgba(100, 98, 31, .22);
  --r: 22px;
  --serif: 'Young Serif', Georgia, serif;
  --marca: 'Marcellus', 'Young Serif', serif;
  --rubro: 'Archivo', 'Figtree', sans-serif;
  --sans: 'Figtree', system-ui, sans-serif;
  --tabs-h: 74px;
  --seguro: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font: 400 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* revoque: grano muy suave sobre la crema */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app { position: relative; z-index: 1; min-height: 100vh; padding-bottom: calc(var(--tabs-h) + 40px + var(--seguro)); }
.envoltura { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.envoltura.angosta { max-width: 640px; }
.gris { color: var(--gris); }
.chico { font-size: 13px; }
.centro { text-align: center; }

/* ---------- tipos de la casa ---------- */
.rubro-tit {
  font: italic 800 11px/1 var(--rubro); font-stretch: 110%; letter-spacing: .32em; text-transform: uppercase; color: var(--oliva);
}
.rubro-tit.claro { color: rgba(242, 236, 225, .78); }
.titulo-pildora {
  display: inline-block; font: 400 20px/1 var(--serif); color: var(--oliva); text-transform: uppercase; letter-spacing: .02em;
  border: 2px solid var(--oliva); border-radius: 999px; padding: 9px 18px 8px;
}
.titulo-grande { font: 400 clamp(36px, 10vw, 52px)/1 var(--serif); color: var(--oliva); margin-top: 8px; }
.sub-tit { font: 400 22px/1.1 var(--serif); color: var(--oliva); margin: 28px 0 12px; }
.link { font: 600 14px/1 var(--sans); color: var(--oliva); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; padding: 8px 0; }
.precio { font: 600 15px/1 var(--sans); color: var(--tinta); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- cartel oval (logo) ---------- */
.oval {
  display: inline-grid; place-items: center; background: var(--pizarra); color: var(--crema);
  border-radius: 50%; font-family: var(--marca); text-transform: uppercase; text-align: center; position: relative;
}
.oval > span { display: block; line-height: 1.04; letter-spacing: .06em; }
.oval-chico { width: 96px; height: 46px; font-size: 10.5px; }
.oval-mini { width: 70px; height: 34px; font-size: 7.6px; flex: none; }
.oval-grande { width: min(76vw, 340px); aspect-ratio: 2.05; font-size: clamp(26px, 8.4vw, 37px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.oval-rombo { position: absolute; right: 9%; top: 50%; width: 11px; height: 11px; margin-top: -6px; color: var(--crema); }
.oval-tab { width: 58px; height: 40px; background: var(--crema); color: var(--pizarra); }
.oval-tab svg { width: 12px; height: 12px; }

/* ---------- barra de arriba ---------- */
.barra {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(242, 236, 225, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.barra-marca { display: flex; }
.barra-der { display: flex; align-items: center; gap: 8px; min-width: 0; }
.estado {
  font: 600 12.5px/1 var(--sans); color: var(--oliva); border: 1.5px solid var(--oliva); border-radius: 999px; padding: 7px 11px 6px; white-space: nowrap;
  display: inline-block;
}
.estado::before { content: ''; display: inline-block; vertical-align: 1px; margin-right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--mesa); }
.estado { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.estado.cerrado { color: var(--gris); border-color: var(--gris); }
.estado.cerrado::before { background: var(--gris); }
.btn-demo { font: 600 12.5px/1 var(--sans); background: var(--pizarra); color: var(--crema); border-radius: 999px; padding: 8px 12px 7px; text-decoration: none; white-space: nowrap; }
.barra-mesa { font: 600 13px/1 var(--sans); background: var(--mesa); color: var(--papel); border-radius: 999px; padding: 8px 13px 7px; white-space: nowrap; }
@media (max-width: 400px) {
  .barra { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .oval-chico { width: 82px; height: 40px; font-size: 9px; }
  .barra-der { gap: 6px; }
  .estado, .btn-demo, .barra-mesa { font-size: 11.5px; padding: 7px 9px 6px; }
  .chips-wrap { top: 61px !important; }
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 700 15px/1 var(--sans); text-decoration: none; transition: transform .15s;
}
.btn:active { transform: translateY(2px); }
.btn-crema { background: var(--crema); color: var(--pizarra); box-shadow: 0 3px 0 rgba(0,0,0,.28); }
.btn-oliva { background: var(--oliva); color: var(--papel); box-shadow: 0 3px 0 var(--oliva-2); }
.btn-pizarra { background: var(--pizarra); color: var(--crema); box-shadow: 0 3px 0 #000; }
.btn-ancho { width: 100%; }
.btn-chico { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.mas {
  width: 38px; height: 38px; border-radius: 50%; background: var(--oliva); color: var(--papel); display: grid; place-items: center; flex: none;
  box-shadow: 0 2px 0 var(--oliva-2);
}
.mas svg { width: 18px; height: 18px; }

/* ---------- inicio ---------- */
.saludo { padding: 22px 2px 16px; }
.saludo-tit { font: 400 clamp(28px, 8vw, 38px)/1.05 var(--serif); color: var(--oliva); }
.saludo-sub { margin-top: 6px; font-size: 14px; color: var(--gris); }

/* bloque de la mesa (solo con QR) */
.mesa-bloque { background: var(--mesa); color: var(--papel); padding: 18px 16px 16px; }
.mesa-bloque-cab { max-width: 1048px; margin: 0 auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mesa-num { font: 400 34px/1 var(--serif); }
.mesa-num b { font-weight: 400; }
.mesa-zona { font: italic 800 12px/1 var(--rubro); font-stretch: 110%; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.mesa-bloque .rubro-tit { width: 100%; }
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 1048px; margin: 14px auto 0; }
.accion {
  background: var(--crema); color: var(--pizarra); border-radius: 18px; padding: 12px 6px 10px; display: grid; justify-items: center; gap: 6px;
  font: 600 13px/1.15 var(--sans); box-shadow: 0 3px 0 rgba(0,0,0,.22); min-height: 78px; align-content: center;
}
.accion svg { width: 24px; height: 24px; color: var(--oliva); }
.accion.hecho { background: var(--pizarra); color: var(--crema); }
.accion.hecho svg { color: var(--crema); }

/* postre de la semana: la foto en el arco de la ventana, sobre la mesa verde */
.heroe {
  background: var(--mesa); color: var(--papel); border-radius: 30px; padding: 14px 14px 18px; position: relative; overflow: hidden;
}
.heroe-arco { padding: 0 6% 0; }
.arco {
  border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 1 / 0.8; background: var(--pizarra);
  outline: 2px solid rgba(251, 248, 242, .55); outline-offset: 6px; margin: 8px auto 0; max-width: 420px;
}
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.heroe-txt { padding: 22px 6px 0; text-align: center; }
.pildora-tit {
  display: inline-block; font: italic 800 10.5px/1 var(--rubro); font-stretch: 110%; letter-spacing: .3em; text-transform: uppercase;
  border: 1.5px solid rgba(251,248,242,.7); border-radius: 999px; padding: 7px 12px 6px 15px;
}
.heroe-nombre { font: 400 clamp(32px, 9vw, 44px)/1.02 var(--serif); margin-top: 12px; }
.heroe-desc { margin: 8px auto 0; max-width: 32ch; font-size: 15px; color: rgba(251,248,242,.86); }
.heroe-pie { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.precio-grande { font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tolva {
  background: var(--pizarra); color: var(--crema); border-radius: 24px; padding: 16px 14px 14px; display: flex; flex-direction: column; gap: 4px; cursor: pointer;
  min-height: 196px;
}
.tolva-origen { font: 400 25px/1.05 var(--serif); margin-top: 8px; }
.tolva-finca { font-size: 13px; color: rgba(242,236,225,.7); }
.notas { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.notas li { font: 600 11.5px/1 var(--sans); border: 1px solid rgba(242,236,225,.35); border-radius: 999px; padding: 5px 8px; }
.tolva-pie { margin-top: auto; padding-top: 10px; font: 700 13px/1 var(--sans); color: var(--mesa); color: #C9CD9A; }

/* boleto mini: papel con borde damero */
.boleto-mini {
  border-radius: 24px; padding: 5px; cursor: pointer; min-height: 196px; display: flex;
  background: conic-gradient(var(--pizarra) 25%, var(--papel) 0 50%, var(--pizarra) 0 75%, var(--papel) 0) 0 0 / 10px 10px;
}
.boleto-mini-in { background: var(--papel); border-radius: 18px; padding: 12px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.boleto-mini-num { font: 400 15px/1.2 var(--serif); color: var(--tinta); margin-top: 8px; }
.boleto-mini-num b { font: 400 34px/1 var(--serif); color: var(--oliva); margin-right: 2px; }
.ruta-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px 4px; margin: 12px 0 10px; position: relative; }
.ruta-mini i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--oliva); justify-self: center; background: var(--papel); position: relative; z-index: 1; }
.ruta-mini i.picada { background: var(--pizarra); border-color: var(--pizarra); box-shadow: inset 0 0 0 3px var(--papel); }
.ruta-mini i.premio { border-color: var(--ladrillo); }
.boleto-mini-premio { margin-top: auto; font-size: 12.5px; line-height: 1.25; color: var(--gris); }

/* damero: el piso del salón */
.damero {
  height: 22px; margin: 26px -16px 6px;
  background: conic-gradient(var(--pizarra) 25%, var(--papel) 0 50%, var(--pizarra) 0 75%, var(--papel) 0) 0 0 / 22px 22px;
}

.bloque { margin-top: 26px; }
.bloque-tit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.nota-carta { font-size: 13px; color: var(--gris); margin-top: 10px; text-align: center; }

/* combos: lista con foto */
.combos { display: grid; gap: 10px; }
.combo {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; background: var(--papel); border: 1.5px solid var(--linea);
  border-radius: 22px; padding: 10px 12px 10px 10px; cursor: pointer; text-align: left;
}
.combo figure { margin: 0; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: var(--pizarra); }
.combo figure img { width: 100%; height: 100%; object-fit: cover; }
.combo h3 { font: 400 19px/1.1 var(--serif); color: var(--oliva); }
.combo p { font-size: 13.5px; color: var(--gris); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.combo .precio { display: block; margin-top: 8px; }
.combo.sin-foto { grid-template-columns: 1fr auto; padding-left: 16px; }

/* obrador: tiles con foto */
.obrador { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--papel); border-radius: 22px; overflow: hidden; border: 1.5px solid var(--linea); text-align: left; display: flex; flex-direction: column; cursor: pointer; }
.tile figure { margin: 0; aspect-ratio: 1; background: var(--pizarra); overflow: hidden; }
.tile figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover figure img { transform: scale(1.04); }
.tile-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile h3 { font: 400 16.5px/1.15 var(--serif); color: var(--oliva); }
.tile-pie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile .mas { width: 34px; height: 34px; }

/* tarjeta del juego */
.juego-tarj {
  margin-top: 26px; background: var(--pizarra); color: var(--crema); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 38% 1fr; cursor: pointer;
}
.juego-tarj figure { margin: 0; min-height: 210px; }
.juego-tarj figure img { width: 100%; height: 100%; object-fit: cover; }
.juego-tarj > div { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.juego-tarj h3 { font: 400 24px/1.05 var(--serif); }
.juego-tarj p:not(.rubro-tit) { font-size: 14px; color: rgba(242,236,225,.8); }

/* agenda en el inicio */
.agenda-tarj {
  margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--papel);
  border: 1.5px solid var(--linea); border-radius: 26px; padding: 14px 16px; cursor: pointer;
}
.agenda-fecha {
  width: 62px; height: 78px; border: 2px solid var(--oliva); border-radius: 999px; display: grid; place-content: center; text-align: center; color: var(--oliva);
}
.agenda-fecha b { font: 400 28px/1 var(--serif); }
.agenda-fecha span { font: italic 800 10px/1 var(--rubro); letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }
.agenda-tarj h3 { font: 400 19px/1.15 var(--serif); color: var(--oliva); margin-top: 6px; }
.agenda-tarj p:not(.rubro-tit) { font-size: 13.5px; color: var(--gris); margin-top: 4px; }

/* la casa en el inicio */
.casa-tira {
  margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; cursor: pointer;
}
.casa-tira figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; }
.casa-tira figure img { width: 100%; height: 100%; object-fit: cover; }
.casa-tira-txt { grid-column: 1 / -1; padding: 12px 4px 0; text-align: center; }
.casa-tira-txt h3 { font: 400 24px/1.1 var(--serif); color: var(--oliva); margin-top: 8px; }
.casa-tira-txt p:not(.rubro-tit) { font-size: 14px; color: var(--gris); margin-top: 4px; }
.chips-casa { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.chips-casa span { font: 600 12.5px/1 var(--sans); border: 1.5px solid var(--oliva); color: var(--oliva); border-radius: 999px; padding: 7px 11px 6px; }

/* ---------- carta ---------- */
.terrazo {
  background-color: var(--papel);
  background-image:
    radial-gradient(circle at 20% 30%, var(--pizarra) 0 2.2px, transparent 2.8px),
    radial-gradient(circle at 70% 60%, #6f6a5e 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 45% 85%, var(--pizarra) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 85% 15%, #9a9384 0 2.6px, transparent 3.2px),
    radial-gradient(circle at 10% 75%, #3a4a2e 0 1.8px, transparent 2.4px);
  background-size: 37px 41px, 29px 31px, 23px 27px, 53px 47px, 43px 39px;
}
.carta-cab { padding: 28px 0 22px; border-bottom: 1.5px solid var(--linea); }
.titulo-carta {
  display: inline-block; font: 400 clamp(32px, 9vw, 44px)/1 var(--serif); color: var(--oliva); text-transform: uppercase;
  border: 2.5px solid var(--oliva); border-radius: 999px; padding: 12px 26px 10px; background: var(--papel);
}
.carta-sub { margin-top: 14px; font-size: 14px; color: var(--gris); background: var(--papel); display: inline-block; padding: 2px 6px; border-radius: 6px; }
.tacc {
  display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--sans); color: var(--oliva); border: 1.3px solid var(--oliva); border-radius: 999px; padding: 4px 7px 3px;
  white-space: nowrap; vertical-align: 2px;
}
.chips-wrap { position: sticky; top: 67px; z-index: 20; background: rgba(242,236,225,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; font: 600 13.5px/1 var(--sans); color: var(--oliva); border: 1.5px solid var(--linea); border-radius: 999px; padding: 9px 13px 8px; background: var(--papel);
}
.chips button.activo { background: var(--oliva); color: var(--papel); border-color: var(--oliva); }
.grupo-tit { font: 400 26px/1 var(--serif); color: var(--oliva); text-transform: uppercase; text-align: center; margin: 34px 0 4px; }
.rubro { padding-top: 22px; scroll-margin-top: 130px; }
.rubro-cab { text-align: center; margin-bottom: 12px; }
.rubro-cab .rubro-tit { font-size: 13px; }
.rubro-cab p:not(.rubro-tit) { font-size: 13.5px; color: var(--gris); margin-top: 6px; }
.items { display: grid; gap: 0; background: var(--papel); border: 1.5px solid var(--linea); border-radius: 22px; overflow: hidden; }
.item {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; text-align: left; border-top: 1px solid var(--linea); width: 100%;
}
.item:first-child { border-top: 0; }
.item.con-foto { grid-template-columns: 74px 1fr auto; }
.item figure { margin: 0; width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: var(--pizarra); }
.item figure img { width: 100%; height: 100%; object-fit: cover; }
.item h3 { font: 700 15.5px/1.25 var(--sans); color: var(--tinta); }
.item p { font-size: 13.5px; color: var(--gris); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .precio { display: block; margin-top: 6px; color: var(--oliva); }
.item .mas { width: 34px; height: 34px; }

/* ---------- boleto ---------- */
.club-cab { padding: 26px 0 18px; }
.club-cab .gris { margin-top: 10px; font-size: 15px; }
.boleto {
  display: grid; grid-template-columns: 46px 1fr; background: var(--papel); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 0 var(--linea), 0 14px 30px rgba(42, 40, 32, .12); position: relative;
}
.boleto-talon {
  background: conic-gradient(var(--pizarra) 25%, var(--papel) 0 50%, var(--pizarra) 0 75%, var(--papel) 0) 0 0 / 16px 16px;
  display: grid; place-items: center; border-right: 2px dashed var(--crema-2); position: relative;
}
.boleto-talon span {
  writing-mode: vertical-rl; transform: rotate(180deg); background: var(--papel); padding: 10px 5px; border-radius: 999px;
  font: italic 800 11px/1 var(--rubro); letter-spacing: .25em; text-transform: uppercase; color: var(--oliva);
}
.boleto-talon b { font-weight: 800; }
.boleto-cuerpo { padding: 16px 16px 18px; }
.boleto-cab { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--linea); }
.boleto-linea { font: italic 800 10.5px/1.2 var(--rubro); letter-spacing: .2em; text-transform: uppercase; color: var(--oliva); }
.boleto-socio { font: 400 17px/1.2 var(--serif); color: var(--tinta); margin-top: 3px; }
.ruta { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 22px; position: relative; }
.ruta::before, .ruta::after { content: ''; position: absolute; left: 12.5%; right: 12.5%; height: 3px; background: var(--mesa); border-radius: 3px; }
.ruta::before { top: 19px; }
.ruta::after { top: calc(50% + 8px); }
.parada { display: grid; justify-items: center; gap: 6px; position: relative; z-index: 1; text-align: center; }
.parada-punto {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--mesa); background: var(--papel); display: grid; place-items: center;
  font: 400 16px/1 var(--serif); color: var(--oliva); transition: transform .3s;
}
.parada.premio .parada-punto { border-color: var(--ladrillo); color: var(--ladrillo); }
.parada.picada .parada-punto {
  background: var(--pizarra); border-color: var(--pizarra); color: transparent;
  box-shadow: inset 0 0 0 7px var(--papel);
}
.parada.nueva .parada-punto { animation: picar .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes picar { 0% { transform: scale(1.5) rotate(-20deg); } 60% { transform: scale(.85); } 100% { transform: scale(1); } }
.parada small { font: 600 11px/1.15 var(--sans); color: var(--gris); max-width: 9ch; }
.parada.premio small { color: var(--ladrillo); }
.boleto-estado { margin-top: 14px; font: 400 16px/1.3 var(--serif); color: var(--oliva); text-align: center; }
#club-sumar { margin-top: 18px; }
#club-sumar + .gris { margin-top: 8px; }

.regalos { display: grid; gap: 10px; }
.regalo { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; background: var(--papel); border-radius: 20px; padding: 10px 12px 10px 10px; border: 1.5px solid var(--linea); }
.regalo figure { margin: 0; width: 58px; height: 58px; border-radius: 14px; overflow: hidden; background: var(--pizarra); }
.regalo figure img { width: 100%; height: 100%; object-fit: cover; }
.regalo h4 { margin: 0; font: 400 17px/1.15 var(--serif); color: var(--oliva); }
.regalo p { font-size: 13px; color: var(--gris); }
.regalo.bloqueado { opacity: .55; }
.regalo .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* juego */
.juego { margin-top: 28px; background: var(--pizarra); color: var(--crema); border-radius: 28px; padding: 20px 18px 18px; }
.juego-cab h3 { font: 400 28px/1.05 var(--serif); margin-top: 8px; }
.juego-cab p:not(.rubro-tit) { font-size: 14.5px; color: rgba(242,236,225,.78); margin-top: 8px; }
.maquina { position: relative; height: 190px; margin: 18px auto 0; width: 220px; }
.grupo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 150px; height: 34px; background: linear-gradient(#7d7a72, #4a4843); border-radius: 10px 10px 4px 4px; }
.grupo::after { content: ''; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); width: 84px; height: 18px; background: #2f2e2a; border-radius: 0 0 12px 12px; border-top: 2px solid #8b877d; }
.porta { position: absolute; right: -70px; top: 22px; width: 82px; height: 12px; border-radius: 6px; background: #121210; transform: rotate(-4deg); }
.chorro { position: absolute; left: 50%; top: 52px; width: 6px; margin-left: -3px; height: 0; background: linear-gradient(#5b3217, #8b4d22); border-radius: 3px; transition: height .2s; }
.maquina.extrayendo .chorro { height: 78px; }
.taza-juego { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 96px; height: 62px; background: #CFC6B4; border-radius: 6px 6px 40px 40px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.08); }
.taza-juego::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-radial-gradient(circle at 30% 40%, rgba(0,0,0,.05) 0 1px, transparent 1px 4px); }
.taza-juego::after { content: ''; position: absolute; right: -18px; top: 12px; width: 20px; height: 26px; border: 6px solid #CFC6B4; border-left: 0; border-radius: 0 14px 14px 0; }
.crema-taza { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 0 0 40px 40px; max-height: calc(100% - 6px); background: linear-gradient(#C9894B, #6B3A18); transition: height .1s linear; }
.reloj { text-align: center; margin-top: 10px; font: 400 54px/1 var(--serif); font-variant-numeric: tabular-nums; }
.reloj span { display: inline-block; min-width: 2.1ch; }
.reloj small { font-size: 22px; margin-left: 4px; color: rgba(242,236,225,.7); }
.barra-tiempo { position: relative; height: 12px; border-radius: 99px; background: rgba(242,236,225,.15); margin: 14px 4px 0; }
.zona-ok { position: absolute; left: calc(25 / 40 * 100%); width: calc(5 / 40 * 100%); top: 0; bottom: 0; background: var(--mesa); border-radius: 99px; }
.aguja { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--crema); border-radius: 3px; left: 0; transform: translateX(-2px); }
.juego-res { min-height: 46px; text-align: center; margin-top: 14px; font: 400 17px/1.3 var(--serif); }
.juego-res.gano { color: #D8DCA8; }
#juego-btn { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#juego-btn.apretado { transform: translateY(3px); box-shadow: none; }
.juego-jugadas { text-align: center; font-size: 13px; color: rgba(242,236,225,.65); margin-top: 10px; }

/* gift card */
.gift { margin-top: 28px; display: grid; gap: 14px; }
.gift-tarj {
  background: var(--mesa); color: var(--papel); border-radius: 22px; aspect-ratio: 1.7; padding: 18px; display: grid; align-content: space-between; justify-items: start;
  position: relative; overflow: hidden;
}
.gift-tarj::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; border-radius: 999px 999px 0 0; border: 2px solid rgba(251,248,242,.35); }
.gift-tarj p { font: italic 800 12px/1 var(--rubro); letter-spacing: .3em; text-transform: uppercase; }
.gift-tarj b { font: 400 34px/1 var(--serif); font-weight: 400; }
.gift .sub-tit { margin-top: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.seg button { border: 1.5px solid var(--linea); background: var(--papel); border-radius: 999px; padding: 11px 4px 10px; font: 600 14px/1 var(--sans); color: var(--oliva); }
.seg button.activo { background: var(--oliva); color: var(--papel); border-color: var(--oliva); }

/* ---------- agenda ---------- */
.semana-fija { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.semana-fija > div { background: var(--mesa); color: var(--papel); border-radius: 22px; padding: 14px; }
.semana-fija .rubro-tit { color: rgba(251,248,242,.75); font-size: 9.5px; }
.semana-fija h3 { font: 400 19px/1.1 var(--serif); margin-top: 8px; }
.semana-fija p:not(.rubro-tit) { font-size: 13.5px; margin-top: 4px; color: rgba(251,248,242,.85); }
.ev-grupo { margin-top: 26px; }
.ev { background: var(--papel); border: 1.5px solid var(--linea); border-radius: 24px; padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 10px; }
.ev h3 { font: 400 20px/1.15 var(--serif); color: var(--oliva); }
.ev p { font-size: 14px; color: var(--gris); margin-top: 6px; }
.ev .ejemplo { display: inline-block; font: 700 10.5px/1 var(--sans); color: var(--ladrillo); border: 1.2px solid var(--ladrillo); border-radius: 999px; padding: 4px 7px 3px; margin-left: 6px; vertical-align: 3px; }
.ev .btn { margin-top: 12px; }
.ev-fotos { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 12px; }
.ev-fotos img { width: 100%; height: 130px; object-fit: cover; border-radius: 14px; }
.ev.paso { display: grid; justify-items: stretch; text-align: left; font: inherit; color: inherit; gap: 14px; }
.ev.paso h3 { color: var(--oliva); }

/* ---------- la casa ---------- */
.casa-fotos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 330px; }
.casa-fotos figure { margin: 0; overflow: hidden; border-radius: 18px; }
.casa-f1 { grid-row: 1 / 3; border-radius: 999px 999px 18px 18px !important; }
.casa-fotos img { width: 100%; height: 100%; object-fit: cover; }
.horario { margin: 18px 0 14px; background: var(--papel); border: 1.5px solid var(--linea); border-radius: 20px; padding: 6px 16px; }
.horario div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--linea); font-size: 15px; }
.horario div:first-child { border-top: 0; }
.horario div.hoy { font-weight: 700; color: var(--oliva); }
.reserva { margin-top: 10px; }
.campos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.campos label { display: grid; gap: 5px; font: 600 12.5px/1 var(--sans); color: var(--gris); }
.campos label.ancho { grid-column: 1 / -1; }
.campos select, .campos input {
  font: 500 15px/1 var(--sans); color: var(--tinta); background: var(--papel); border: 1.5px solid var(--linea); border-radius: 14px; padding: 12px 10px; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.pet { margin-top: 22px; text-align: center; font: 400 16px/1.3 var(--serif); color: var(--oliva); }

/* ---------- mi mesa ---------- */
.mm-cab { padding: 24px 0 14px; }
.ronda { background: var(--papel); border: 1.5px solid var(--linea); border-radius: 24px; padding: 16px; margin-top: 12px; }
.ronda-cab { display: flex; justify-content: space-between; align-items: baseline; }
.ronda-cab h3 { font: 400 22px/1 var(--serif); color: var(--oliva); }
.pista { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 12px; position: relative; }
.pista::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 12px; height: 3px; background: var(--linea); }
.paso { display: grid; justify-items: center; gap: 6px; text-align: center; font: 600 12px/1.2 var(--sans); color: var(--gris); position: relative; z-index: 1; }
.paso i { width: 26px; height: 26px; border-radius: 50%; background: var(--papel); border: 3px solid var(--linea); }
.paso.hecho i { background: var(--mesa); border-color: var(--mesa); }
.paso.actual i { background: var(--pizarra); border-color: var(--pizarra); box-shadow: 0 0 0 5px rgba(141,148,79,.3); }
.paso.actual { color: var(--tinta); }
.ronda ul { list-style: none; margin: 0; padding: 0; }
.ronda li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--linea); font-size: 14.5px; }

/* ---------- barra del pedido y pestañas ---------- */
.pedido-barra {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabs-h) + 18px + var(--seguro)); z-index: 40;
  width: min(calc(100% - 32px), 460px); background: var(--oliva); color: var(--papel); border-radius: 999px; padding: 8px 18px 8px 8px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 3px 0 var(--oliva-2), 0 12px 28px rgba(30,29,26,.25); font: 600 15px/1 var(--sans);
}
.pb-cant { width: 36px; height: 36px; border-radius: 50%; background: var(--crema); color: var(--oliva); display: grid; place-items: center; font-weight: 700; }
.pb-txt { flex: 1; text-align: left; }
.pedido-barra b { font: 400 18px/1 var(--serif); font-variant-numeric: tabular-nums; }
.pedido-barra.salta { animation: salta .45s; }
@keyframes salta { 40% { transform: translateX(-50%) scale(1.05); } }

.tabs {
  position: fixed; z-index: 45; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--seguro));
  width: min(calc(100% - 24px), 460px); height: var(--tabs-h); background: var(--pizarra); border-radius: 999px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px; box-shadow: 0 14px 30px rgba(30,29,26,.3);
}
.tabs button { display: grid; justify-items: center; gap: 4px; color: rgba(242,236,225,.55); font: 600 11px/1 var(--sans); padding: 8px 0; }
.tabs button svg { width: 23px; height: 23px; }
.tabs button.activo { color: var(--crema); }
.tabs button.activo span { text-decoration: underline; text-underline-offset: 4px; }
.tabs .tab-boleto { padding: 0; }
.tabs .tab-boleto.activo .oval-tab { background: var(--mesa); color: var(--papel); }

/* ---------- hojas ---------- */
.velo { position: fixed; inset: 0; background: rgba(30, 29, 26, .45); z-index: 60; animation: aparece .2s; }
@keyframes aparece { from { opacity: 0; } }
.hoja {
  position: fixed; z-index: 70; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 560px); max-height: 92vh; overflow-y: auto;
  background: var(--crema); border-radius: 28px 28px 0 0; animation: sube .32s cubic-bezier(.2,.9,.3,1); overscroll-behavior: contain;
}
@keyframes sube { from { transform: translate(-50%, 100%); } }
.hoja-cerrar { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--crema); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hoja-cerrar svg { width: 20px; height: 20px; }
.ficha-foto { background: var(--pizarra); aspect-ratio: 3 / 2; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha-cuerpo { padding: 20px 18px 8px; }
.ficha-cuerpo h2 { font: 400 28px/1.08 var(--serif); color: var(--oliva); padding-right: 40px; }
.ficha-cuerpo > p { color: var(--gris); margin-top: 8px; }
.ficha-op { margin-top: 18px; }
.ficha-op h4 { margin: 0 0 8px; }
.adic { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; border-top: 1px solid var(--linea); font-size: 15px; }
.adic input { width: 22px; height: 22px; accent-color: var(--oliva); }
.ficha-pie {
  position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 12px 18px calc(14px + var(--seguro)); background: var(--crema);
  border-top: 1px solid var(--linea); margin-top: 16px;
}
.cant { display: flex; align-items: center; gap: 4px; background: var(--papel); border: 1.5px solid var(--linea); border-radius: 999px; padding: 4px; }
.cant button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--oliva); }
.cant button svg { width: 18px; height: 18px; }
.cant b { min-width: 2ch; text-align: center; font: 700 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.ficha-pie .btn { flex: 1; }
.pedido-cuerpo { padding: 22px 18px 8px; }
.pedido-cuerpo h2 { font: 400 28px/1 var(--serif); color: var(--oliva); }
.ped-lista { margin-top: 14px; }
.ped-item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--linea); }
.ped-item small { display: block; color: var(--gris); font-size: 12.5px; }
.ped-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; border-top: 1.5px solid var(--oliva); font: 400 22px/1 var(--serif); color: var(--oliva); }
.ped-juego { display: flex; gap: 12px; align-items: center; background: var(--pizarra); color: var(--crema); border-radius: 20px; padding: 12px 14px; margin-top: 14px; font-size: 14px; }
.ped-juego .btn { flex: none; min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.ped-modo { margin-top: 14px; }

/* ---------- aviso ---------- */
.aviso {
  position: fixed; left: 50%; top: 76px; transform: translate(-50%, -20px); z-index: 90; background: var(--pizarra); color: var(--crema);
  border-radius: 999px; padding: 12px 18px; font: 600 14px/1.2 var(--sans); opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 32px); text-align: center;
}
.aviso.ver { opacity: 1; transform: translate(-50%, 0); }

/* ---------- entrada: cortinas ---------- */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; }
.cortina {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.0) 0 14px, rgba(255,255,255,.18) 22px, rgba(0,0,0,.10) 34px, rgba(255,255,255,0) 44px),
    linear-gradient(#B9AE9A, #A49883);
  transition: transform 1.15s cubic-bezier(.7,0,.25,1);
}
.cortina-izq { left: 0; transform-origin: left; }
.cortina-der { right: 0; transform-origin: right; }
.intro.abre .cortina-izq { transform: translateX(-92%) scaleX(.5); }
.intro.abre .cortina-der { transform: translateX(92%) scaleX(.5); }
.intro.sale { opacity: 0; transition: opacity .35s; }
.intro-cartel { position: absolute; left: 50%; top: 28%; transform: translateX(-50%); transform-origin: 50% -40px; animation: hamaca 1.6s ease-in-out both; transition: transform .6s, opacity .6s; z-index: 2; }
.intro.abre .intro-cartel { transform: translate(-50%, -60px) scale(.9); opacity: 0; }
@keyframes hamaca { 0% { transform: translateX(-50%) rotate(7deg); } 35% { transform: translateX(-50%) rotate(-4deg); } 65% { transform: translateX(-50%) rotate(2deg); } 100% { transform: translateX(-50%) rotate(0); } }
.brazo { position: absolute; left: 50%; top: -58px; width: 230px; height: 10px; margin-left: -115px; background: var(--pizarra); border-radius: 5px; }
.voluta { position: absolute; right: -8px; top: -14px; width: 36px; height: 36px; border: 5px solid var(--pizarra); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.cadenas { position: absolute; left: 0; right: 0; top: -50px; height: 54px; }
.cadenas i { position: absolute; top: 0; width: 3px; height: 100%; background: repeating-linear-gradient(var(--pizarra) 0 5px, transparent 5px 7px); }
.cadenas i:first-child { left: 24%; }
.cadenas i:last-child { right: 24%; }

/* =====================================================================
   Componentes de la casa (v2, 01/12): pedido de Santiago — nada de pastilla de color con sombra, tarjeta oscura
   redondeada ni pestañas flotantes con círculo al medio. Cada pieza sale de un objeto del local:
   botón = píldora de contorno de los títulos de su carta · «+» = el cartel oval · pestañas = tira de papel con el rombo
   del cartel · pedido = boleto con troquel · producto recortado saliendo del arco de la ventana · combos = el recuadro
   de COMBOS de su carta.
   ===================================================================== */

/* botones: píldora de contorno en Young Serif, como «BEBIDAS» de la carta */
.btn {
  min-height: 46px; padding: 0 22px; border: 2px solid currentColor; background: transparent; box-shadow: none;
  font: 400 14.5px/1 var(--serif); letter-spacing: .05em; text-transform: uppercase; transition: background .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-oliva { color: var(--oliva); background: transparent; box-shadow: none; }
.btn-oliva:hover, .btn-oliva:focus-visible { background: var(--oliva); color: var(--papel); border-color: var(--oliva); }
.btn-crema { color: var(--papel); background: transparent; box-shadow: none; }
.btn-crema:hover, .btn-crema:focus-visible { background: var(--papel); color: var(--oliva); border-color: var(--papel); }
.btn-pizarra { color: var(--pizarra); background: transparent; box-shadow: none; }
.btn-pizarra:hover, .btn-pizarra:focus-visible { background: var(--pizarra); color: var(--crema); border-color: var(--pizarra); }
.btn::after { content: ''; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; margin-left: 2px; }
.btn-chico::after, .regalo .btn::after, .ped-juego .btn::after { display: none; }
#juego-btn.apretado { transform: scale(.97); background: var(--oliva); color: var(--papel); border-color: var(--oliva); }

/* «+» = el cartel oval, en contorno */
.mas {
  width: 46px; height: 30px; border-radius: 50%; background: transparent; color: var(--oliva); border: 2px solid var(--oliva); box-shadow: none;
}
.mas svg { width: 15px; height: 15px; }
.mas:hover { background: var(--oliva); color: var(--papel); }
.tile .mas, .item .mas { width: 44px; height: 28px; }

/* foto real del salón arriba */
.portada { margin: 0; height: clamp(190px, 46vw, 340px); overflow: hidden; }
.portada img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.damero-portada { margin: 0; height: 14px; background-size: 14px 14px; }
.mesa-bloque:not([hidden]) + .portada, .mesa-bloque:not([hidden]) + .portada + .damero-portada { display: none; }

/* postre de la semana: el producto recortado sale del arco de la ventana */
.heroe { background: none; color: var(--tinta); padding: 6px 0 0; border-radius: 0; overflow: visible; }
.heroe-arco { padding: 14px 0 0; position: relative; }
.arco {
  position: relative; overflow: visible; outline: none; max-width: 330px; aspect-ratio: 1 / 1.04; margin: 0 auto;
  border-radius: 999px 999px 0 0; background: var(--mesa);
}
.arco::before { /* la moldura de yeso de la ventana */
  content: ''; position: absolute; inset: -10px -10px 0; border: 2px solid var(--mesa); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.arco::after { /* el alféizar */
  content: ''; position: absolute; left: -22px; right: -22px; bottom: -10px; height: 12px; background: var(--revoque); border-radius: 3px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.07);
}
.arco img {
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: 104%; height: auto; max-height: 112%; object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(30,29,26,.32)); z-index: 1;
}
.arco img:not([src*="/r/"]) { /* foto entera: llena el arco */
  inset: 0; left: 0; transform: none; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 45%;
  border-radius: 999px 999px 0 0; filter: none;
}
.heroe-txt { padding: 30px 6px 0; }
.heroe .pildora-tit { border-color: var(--oliva); color: var(--oliva); }
.heroe-nombre { color: var(--oliva); }
.heroe-desc { color: var(--gris); }
.precio-grande { color: var(--tinta); }

/* tolva: papel de granito con arco, nada oscuro */
.tolva {
  background-color: var(--papel); color: var(--tinta); border: 1.5px solid var(--oliva); border-radius: 999px 999px 22px 22px;
  padding: 34px 14px 14px; text-align: center; align-items: center;
}
.tolva .rubro-tit.claro { color: var(--oliva); }
.tolva-origen { color: var(--oliva); }
.tolva-finca { color: var(--gris); }
.notas { justify-content: center; gap: 2px 0; }
.notas li { white-space: nowrap; border: 0; padding: 0 4px; font: 400 14px/1.3 var(--serif); color: var(--tinta); }
.notas li + li::before { content: '◆'; font-size: 7px; vertical-align: 2px; margin-right: 6px; color: var(--oliva); }
.tolva-pie { color: var(--oliva); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* combos: el recuadro de COMBOS de su carta */
.combos { border: 2px solid var(--oliva); border-radius: 30px; background: var(--papel); gap: 0; padding: 4px 6px; }
.combo { background: none; border: 0; border-top: 1px solid var(--linea); border-radius: 0; padding: 12px 8px; }
.combo:first-child { border-top: 0; }
.combo figure { background: none; border-radius: 0; overflow: visible; }
.combo figure img { object-fit: contain; filter: drop-shadow(0 6px 8px rgba(30,29,26,.22)); }

/* del obrador: recortes sobre la crema, sin tarjeta */
.obrador { gap: 22px 12px; }
.tile { background: none; border: 0; border-radius: 0; overflow: visible; text-align: center; }
.tile figure { background: radial-gradient(ellipse 46% 13% at 50% 90%, rgba(30,29,26,.16), transparent 70%); overflow: visible; aspect-ratio: 1.05; }
.tile figure img { object-fit: contain; padding: 4%; filter: drop-shadow(0 8px 9px rgba(30,29,26,.25)); }
.tile:hover figure img { transform: translateY(-4px); }
.tile-txt { padding: 6px 4px 0; align-items: center; }
.tile h3 { font-size: 17px; }
.tile-pie { justify-content: center; gap: 12px; }

/* juego del inicio: granito con contorno, la foto en arco */
.juego-tarj { background-color: var(--papel); color: var(--tinta); border: 1.5px solid var(--oliva); border-radius: 26px; padding: 10px; gap: 4px; }
.juego-tarj figure { border-radius: 999px 999px 14px 14px; overflow: hidden; min-height: 190px; }
.juego-tarj .rubro-tit.claro { color: var(--oliva); }
.juego-tarj h3 { color: var(--oliva); }
.juego-tarj p:not(.rubro-tit) { color: var(--gris); }
.juego-tarj .btn-crema { color: var(--oliva); }

/* bloque de la mesa: acciones en contorno */
.mesa-bloque .accion { background: transparent; color: var(--papel); border: 2px solid rgba(251,248,242,.75); box-shadow: none; }
.mesa-bloque .accion svg { color: var(--papel); }
.mesa-bloque .accion.hecho { background: var(--papel); color: var(--oliva); border-color: var(--papel); }
.mesa-bloque .accion.hecho svg { color: var(--oliva); }
#mesa-cuerpo .accion { background: var(--papel); color: var(--oliva); border: 2px solid var(--oliva); box-shadow: none; }
#mesa-cuerpo .accion svg { color: var(--oliva); }
#mesa-cuerpo .accion.hecho { background: var(--oliva); color: var(--papel); }
#mesa-cuerpo .accion.hecho svg { color: var(--papel); }

/* juego del club: papel con borde damero arriba */
.juego { background: var(--papel); color: var(--tinta); border: 1.5px solid var(--oliva); border-radius: 26px; overflow: hidden; padding-top: 34px; position: relative; }
.juego::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: conic-gradient(var(--pizarra) 25%, var(--papel) 0 50%, var(--pizarra) 0 75%, var(--papel) 0) 0 0 / 14px 14px; }
.juego .rubro-tit.claro { color: var(--oliva); }
.juego-cab h3 { color: var(--oliva); }
.juego-cab p:not(.rubro-tit) { color: var(--gris); }
.reloj { color: var(--oliva); }
.reloj small { color: var(--gris); }
.barra-tiempo { background: var(--crema-2); }
.aguja { background: var(--pizarra); }
.juego-res.gano { color: var(--oliva); }
.juego-jugadas { color: var(--gris); }
.juego .btn-crema { color: var(--oliva); }
.juego-tarj .btn-crema:hover, .juego-tarj .btn-crema:focus-visible, .juego .btn-crema:hover, .juego .btn-crema:focus-visible { background: var(--oliva); color: var(--papel); border-color: var(--oliva); }

/* pestañas: tira de papel de borde a borde, el rombo del cartel marca dónde estás */
.tabs {
  left: 0; right: 0; bottom: 0; transform: none; width: auto; height: calc(var(--tabs-h) + var(--seguro)); padding: 0 max(6px, calc((100% - 560px) / 2)) var(--seguro);
  background: var(--papel); border-radius: 0; border-top: 1.5px solid var(--oliva); box-shadow: 0 -6px 18px rgba(42,40,32,.06);
}
.tabs button { color: var(--gris); font: italic 800 9.5px/1 var(--rubro); font-stretch: 110%; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 14px 0 10px; gap: 7px; }
.tabs button svg { width: 22px; height: 22px; }
.tabs button.activo { color: var(--oliva); }
.tabs button.activo span { text-decoration: none; }
.tabs button.activo::before { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; background: var(--pizarra); transform: rotate(45deg); }
:root { --tabs-h: 66px; }

/* el pedido: un boleto con troquel, pegado a las pestañas */
.pedido-barra {
  left: 0; right: 0; transform: none; width: 100%; bottom: calc(var(--tabs-h) + var(--seguro)); border-radius: 0; box-shadow: none;
  background: var(--mesa); padding: 12px max(16px, calc((100% - 540px) / 2)) 11px; gap: 12px; font: 400 15px/1 var(--serif);
  -webkit-mask: radial-gradient(circle 5px at 50% 0, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 0, transparent 98%, #000) 0 0 / 14px 100% repeat-x;
}
.pb-cant { width: auto; height: auto; border-radius: 0; background: none; color: var(--papel); font: italic 800 11px/1 var(--rubro); letter-spacing: .2em; order: 2; }
.pb-cant::before { content: '× '; }
.pb-txt { order: 1; flex: none; font: italic 800 11px/1 var(--rubro); letter-spacing: .26em; text-transform: uppercase; }
.pedido-barra b { order: 3; margin-left: auto; font-size: 20px; }
.pedido-barra b::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 10px; background: var(--papel); transform: rotate(45deg); vertical-align: 3px; }
.pedido-barra.salta { animation: salta2 .45s; }
@keyframes salta2 { 40% { transform: translateY(-4px); } }

/* fichas y listas con recortes */
.ficha-foto { background: radial-gradient(ellipse at 50% 55%, var(--papel), var(--crema-2)); display: grid; place-items: center; overflow: hidden; }
.ficha-foto img { min-height: 0; object-fit: contain; padding: 4% 8%; filter: drop-shadow(0 12px 12px rgba(30,29,26,.25)); }
.ficha-foto img:not([src*="/r/"]) { object-fit: cover; padding: 0; filter: none; }
.item figure, .regalo figure { background: none; overflow: visible; }
.item figure img, .regalo figure img { object-fit: contain; filter: drop-shadow(0 4px 5px rgba(30,29,26,.22)); }
.item figure img[src*="/r/"], .regalo figure img[src*="/r/"], .combo figure img[src*="/r/"] { border-radius: 0; }
.item figure img:not([src*="/r/"]), .regalo figure img:not([src*="/r/"]), .combo figure img:not([src*="/r/"]), .tile figure img:not([src*="/r/"]) {
  object-fit: cover; border-radius: 999px 999px 12px 12px; filter: none; padding: 0;
}
.gift-tarj::after { border-radius: 999px 999px 0 0; }
.ev .btn { min-height: 40px; font-size: 13px; }

/* teléfono: arco y texto lado a lado, para que el postre venda en la primera pantalla */
@media (max-width: 759px) {
  .portada { height: 160px; }
  .saludo { padding: 16px 2px 6px; }
  .saludo-tit { font-size: 28px; }
  .saludo-sub { font-size: 13px; }
  .heroe { display: grid; grid-template-columns: 46% 1fr; gap: 16px; align-items: end; }
  .heroe-arco { padding: 14px 0 0 10px; }
  .arco { aspect-ratio: 1 / 1.35; }
  .arco::after { left: -16px; right: -10px; }
  .heroe-txt { text-align: left; padding: 0 0 2px; }
  .heroe .pildora-tit { font-size: 8.5px; letter-spacing: .13em; padding: 6px 8px 5px 9px; white-space: nowrap; }
  .heroe-nombre { font-size: 27px; margin-top: 10px; }
  .heroe-desc { font-size: 13.5px; margin: 6px 0 0; }
  .heroe-pie { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; }
  .heroe-pie .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
  .dos { margin-top: 26px; }
}

/* ---------- pantallas anchas ---------- */
@media (min-width: 760px) {
  .envoltura { padding: 0 28px; }
  .saludo { padding-top: 34px; }
  .heroe { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; padding: 22px 0 0; }
  .heroe-txt { padding-bottom: 20px; }
  .combos { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .combo:nth-child(2) { border-top: 0; }
  .heroe-txt { text-align: left; padding: 0 18px 0 30px; }
  .heroe-desc { margin-left: 0; }
  .heroe-pie { justify-content: flex-start; }
  .dos { grid-template-columns: 1fr 1fr; gap: 14px; }
  .obrador { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .envoltura .damero { margin-left: -28px; margin-right: -28px; }
  .items { grid-template-columns: 1fr 1fr; }
  .item:nth-child(2) { border-top: 0; }
  .item:nth-child(odd) { border-right: 1px solid var(--linea); }
  .casa-tira { grid-template-columns: 1fr 1fr 1fr 1.4fr; align-items: center; }
  .casa-tira-txt { grid-column: auto; text-align: left; padding-left: 14px; }
  .chips-casa { justify-content: flex-start; }
  .chips-wrap { top: 67px; }
  .juego-tarj { grid-template-columns: 30% 1fr; }
}
@media (min-width: 760px) {
  .portada { height: clamp(180px, 17vw, 220px); }
  .saludo { padding: 22px 2px 4px; }
  .arco { max-width: 290px; }
  .heroe-txt { padding-left: 10px; }
}
@media (min-width: 1100px) {
  .obrador { grid-template-columns: repeat(4, 1fr); }
  .dos { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
