/* 12en1 — claro, fotográfico, sin adornos */
:root {
  --paper: #ffffff;
  --soft: #f2f2f2;
  --card: #ffffff;
  --ink: #111111;
  --ink2: #333333;
  --mute: #6f6f6f;
  --line: #e6e6e6;
  --red: #e5381d;
  --red-dk: #c42b12;
  --ok: #1d8a4a;
  --r: 18px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --wide: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--wide);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
main { min-height: 70vh; padding-bottom: 40px; }
main:focus { outline: none; }

/* Tipografía */
.display {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; line-height: .92;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); margin: 0 0 .35em; text-wrap: balance;
}
.title { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; margin: 0; letter-spacing: -.01em; }
.lede { font-size: 1.1rem; color: var(--ink2); max-width: 44ch; margin: 0 0 1.4em; }
.kicker { font-size: .85rem; font-weight: 600; color: var(--mute); margin: 0 0 .6em; }
.muted { color: var(--mute); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s, color .15s;
}
.btn:hover { background: #000; }
.btn:active { transform: scale(.97); }
.btn.red { background: var(--red); }
.btn.red:hover { background: var(--red-dk); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn.wide { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.textlink { background: none; border: 0; padding: 6px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* Cabecera */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px var(--pad); background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { text-decoration: none; }
.brand-mark { font-weight: 900; font-stretch: 125%; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; }
.brand-mark i { font-style: normal; color: var(--red); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top .link { text-decoration: none; font-weight: 600; padding: 8px 6px; }
.top .link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-btn { gap: 8px; padding: 0 16px; }
.cart-btn.has { background: var(--red); }
#cart-count { font-variant-numeric: tabular-nums; }

/* Portada */
.hero {
  position: relative; margin: 4px var(--pad) 0; border-radius: 28px; overflow: hidden;
  min-height: min(84vh, 760px); display: flex; align-items: flex-end; background: #111; color: #fff; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%); }
.hero-copy { padding: clamp(24px, 5vw, 64px); max-width: 900px; }
.hero-copy .display { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: .3em; }
.hero-copy p { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; margin: 0 0 1.6em; color: rgba(255,255,255,.88); }
.hero-facts { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-facts li { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 700; }

.block { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad) 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.block-head p { margin: 0; color: var(--ink2); max-width: 40ch; }

/* Rejilla de cocinas */
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 22px; }
.kc { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 12px; text-decoration: none; }
.kc-pic { position: relative; grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--line); margin-bottom: 10px; }
.kc-pic > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.kc:hover .kc-pic > img { transform: scale(1.05); }
.kc-none { display: block; width: 100%; height: 100%; background: var(--c); }
.kc-logo { position: absolute; left: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.25); }
.kc-logo img { width: 100%; height: 100%; object-fit: cover; }
.kc-pic:has(.kc-none) .kc-logo { left: 50%; top: 50%; bottom: auto; width: 42%; height: auto; aspect-ratio: 1; translate: -50% -50%; }
.kc-txt b { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.25rem; line-height: 1.15; }
.kc-txt small { color: var(--mute); font-size: .95rem; }
.kc-from { font-size: .9rem; font-weight: 700; padding-top: 3px; white-space: nowrap; }

/* Carril de platos */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 14px; margin: 0 calc(var(--pad) * -1); scroll-padding-inline: var(--pad); scrollbar-width: thin; }
.pick { scroll-snap-align: start; display: flex; flex-direction: column; }
.pick-pic { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--line); }
.pick-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pick:hover .pick-pic img { transform: scale(1.05); }
.pick-txt { padding-top: 10px; display: flex; flex-direction: column; flex: 1; }
.pick-txt small { color: var(--mute); font-size: .82rem; font-weight: 600; }
.pick-txt b { font-weight: 700; line-height: 1.25; margin: 2px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-end { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }

.how { max-width: var(--wrap); margin: clamp(48px, 8vw, 96px) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); }
.how > div { padding: 28px 28px 28px 0; border-top: 2px solid var(--ink); }
.how > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.how h3 { margin: 0 0 6px; font-weight: 800; font-stretch: 112%; font-size: 1.2rem; }
.how p { margin: 0; color: var(--ink2); }

/* Controles de cantidad */
.add {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .15s;
}
.add:hover { background: var(--red); transform: scale(1.06); }
.qty { display: inline-flex; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; height: 40px; }
.qty button { width: 38px; height: 40px; border: 0; background: none; color: #fff; font-size: 1.25rem; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm { height: 34px; }
.qty.sm button { width: 32px; height: 34px; font-size: 1.1rem; }
.fly { position: fixed; z-index: 99; width: 28px; height: 28px; border-radius: 50%; background: var(--red); pointer-events: none; }

/* Restaurante */
.r-top { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad) 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: end; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; color: var(--mute); }
.back:hover { color: var(--ink); }
.r-logo { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 20px rgba(0,0,0,.12); margin-bottom: 22px; }
.r-logo img { width: 100%; height: 100%; object-fit: cover; }
.r-name { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: .2em; }
.r-meta { margin: 0 0 4px; color: var(--ink2); font-size: 1.05rem; }
.r-meta b { color: var(--red); }
.r-pic { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--line); }
.r-pic > img { width: 100%; height: 100%; object-fit: cover; }
.r-pic .kc-none { display: grid; place-items: center; }
.r-pic .kc-none img { width: 38%; border-radius: 50%; background: #fff; }
.hop { max-width: var(--wrap); margin: 22px auto 0; padding: 4px var(--pad); display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.hop::-webkit-scrollbar { display: none; }
.hop a { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #fff; opacity: .55; transition: opacity .15s, transform .15s; box-shadow: 0 0 0 1px var(--line); }
.hop a:hover { opacity: 1; transform: translateY(-2px); }
.hop a.on { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.hop img { width: 100%; height: 100%; object-fit: cover; }

.cats {
  position: sticky; top: 64px; z-index: 20; margin-top: 18px; padding: 10px var(--pad);
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 8px 15px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .93rem; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cats a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cats a.on { background: var(--ink); color: #fff; box-shadow: none; }
@media (min-width: 1320px) { .cats { padding-inline: calc((100vw - var(--wrap)) / 2 + var(--pad)); } }

.menu { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.menu-cat { padding-top: 40px; scroll-margin-top: 120px; }
.cat-title { font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: 1.45rem; margin: 0 0 16px; }
.cat-title small { font-size: .8rem; color: var(--mute); font-weight: 600; font-stretch: 100%; vertical-align: middle; margin-left: 6px; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dish { display: flex; gap: 16px; justify-content: space-between; background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.dish:hover { box-shadow: 0 0 0 1.5px var(--ink2); }
.d-body { display: flex; flex-direction: column; min-width: 0; }
.d-body h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.d-body p { margin: 0 0 10px; color: var(--mute); font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-body .price { margin-top: auto; }
.d-side { position: relative; flex: none; display: flex; align-items: flex-end; }
.dish.has-img .d-side { width: 116px; height: 116px; }
.dish .pic { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--line); }
.dish.has-img .ctl { position: absolute; right: -6px; bottom: -6px; }
.dish.has-img .add, .dish.has-img .qty { box-shadow: 0 0 0 3px var(--card); }

/* Cesta y pago */
.cart-page { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--pad) 0; display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.cart-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.receipt { position: sticky; top: 84px; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0,0,0,.2); }
.rc-group + .rc-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.rc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rc-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.rc-head b { flex: 1; font-weight: 800; }
.rc-head span { color: var(--mute); font-variant-numeric: tabular-nums; }
.rc-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 6px 0; }
.rc-q { font-weight: 700; color: var(--mute); }
.rc-nm { line-height: 1.3; }
.rc-pr { font-variant-numeric: tabular-nums; font-weight: 600; }
.rc-sum { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.rc-sum > div { display: flex; justify-content: space-between; padding: 3px 0; font-variant-numeric: tabular-nums; }
.rc-total { font-weight: 900; font-stretch: 112%; font-size: 1.35rem; padding-top: 8px !important; }
.free { color: var(--ok); }
.meter { height: 6px; background: var(--line); border-radius: 9px; margin-top: 14px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--red); border-radius: 9px; }
.rc-hint { font-size: .9rem; color: var(--mute); margin: 8px 0 0; }
.rc-hint.ok { color: var(--ok); }

.checkout { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.line-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.line-field > span, .line-field > label { font-weight: 600; font-size: .92rem; }
.line-field > span small { font-weight: 400; color: var(--mute); }
input:not([type=radio]):not([type=checkbox]) {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 0; background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem; transition: box-shadow .15s;
}
input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink) !important; }
input::placeholder { color: #a8a29a; }
.addr-list { position: absolute; z-index: 15; top: 84px; left: 0; right: 0; list-style: none; margin: 0; padding: 6px; background: var(--card); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgba(0,0,0,.25); max-height: 300px; overflow: auto; }
.addr-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.addr-list li:hover { background: var(--soft); }
.addr-list li b { font-weight: 500; }
.addr-list li small { color: var(--ok); font-weight: 700; white-space: nowrap; }
.addr-list li.far { opacity: .65; }
.addr-list li.far small { color: var(--red); }
.addr-status { margin: 0; font-size: .92rem; min-height: 1.2em; color: var(--mute); }
.addr-status.ok { color: var(--ok); font-weight: 600; }
.addr-status.bad { color: var(--red); font-weight: 600; }
.addr .textlink { align-self: flex-start; }

.paywith { border: 0; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.paywith legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.pw { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .15s; }
.pw input { position: absolute; opacity: 0; }
.pw:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--ink); }
.pw:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.pw-ic { display: grid; place-items: center; width: 54px; height: 34px; border-radius: 8px; font-weight: 900; font-size: .8rem; letter-spacing: .02em; }
.pw-ic.card { background: #1a1f71; color: #fff; font-style: italic; }
.pw-ic.bizum { background: #05c3dd; color: #fff; text-transform: lowercase; }
.pw-ic.cash { background: #e9f6ec; color: var(--ok); font-size: 1.1rem; }
.pw-ic.big { width: 96px; height: 60px; font-size: 1.2rem; border-radius: 14px; margin-bottom: 18px; }
.pw-t { display: flex; flex-direction: column; line-height: 1.25; }
.pw-t small { color: var(--mute); font-size: .82rem; }
.test-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff4dc; font-size: .9rem; }
.err { color: var(--red); font-weight: 600; margin: 0; min-height: 1.2em; font-size: .92rem; }

/* Vacío, pasarela, pedidos */
.void, .gateway, .orders { max-width: 760px; margin: 0 auto; padding: 48px var(--pad) 0; }
.void-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.void-logos a { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .15s; }
.void-logos a:hover { transform: translateY(-3px); }
.void-logos img { width: 100%; height: 100%; object-fit: cover; }
.gateway { max-width: 480px; display: flex; flex-direction: column; gap: 10px; }
.amount { font-weight: 900; font-stretch: 125%; font-size: clamp(3rem, 10vw, 5rem); line-height: 1; margin: 4px 0 6px; }

.order-page { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--pad) 0; display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.order-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.order-copy .display { margin-bottom: 0; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 560px; margin: 8px 0; }
.steps4 span { padding-top: 12px; border-top: 5px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--mute); }
.steps4 span.on { border-color: var(--red); color: var(--ink); }
.kitchens-status { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 560px; }
.ks { display: flex; align-items: center; gap: 12px; background: var(--card); padding: 10px 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.ks img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ks b { flex: 1; }
.ks span { font-size: .85rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
.ks.preparando span { background: #fff1d6; color: #9a5a00; }
.ks.listo span { background: #e3f4e8; color: var(--ok); }

.ticket {
  background: #fff; padding: 26px 24px 30px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .86rem;
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -28px rgba(0,0,0,.35); border-radius: 4px; position: sticky; top: 84px;
}
.ticket.print { animation: print 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.ticket header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed #bbb; }
.ticket .brand-mark { font-family: var(--wide); font-size: 1.2rem; }
.t-num { font-weight: 700; font-size: 1.05rem; margin: 14px 0; }
.t-rest h4 { margin: 12px 0 4px; font-size: .86rem; text-transform: uppercase; }
.t-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.t-row span:last-child { text-align: right; }
.t-total { font-weight: 700; font-size: 1.05rem; padding-top: 6px; }
.t-sep { border-top: 1px dashed #bbb; margin: 12px 0; }
.t-bar { height: 42px; margin: 18px 0 8px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 13px); }
.t-thanks { text-align: center; margin: 0; color: var(--mute); }

.o-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 16px; margin-bottom: 10px; background: var(--card); border-radius: 16px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.o-row:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.o-logos { display: flex; }
.o-logos img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.o-logos img + img { margin-left: -10px; }
.o-main { display: flex; flex-direction: column; min-width: 0; }
.o-main small { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-st { font-size: .85rem; font-weight: 700; color: var(--ink2); }
.o-tot { font-weight: 800; font-variant-numeric: tabular-nums; }

/* Entrar */
.modal { border: 0; border-radius: 24px; padding: 30px 28px 26px; width: min(440px, calc(100vw - 24px)); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
.modal::backdrop { background: rgba(22,20,18,.5); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-x { position: absolute; top: 12px; right: 12px; }
.modal-x button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); font-size: 1.3rem; cursor: pointer; }
.modal h2 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 0 0 10px; }
.modal p { color: var(--ink2); }
.modal form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.phone-row { display: flex; gap: 8px; }
.phone-row .pre { display: grid; place-items: center; padding: 0 14px; border-radius: 14px; background: var(--soft); font-weight: 600; white-space: nowrap; }
.code-input { text-align: center; font-size: 1.8rem !important; letter-spacing: .45em; font-weight: 800; font-variant-numeric: tabular-nums; }
.dev-code { padding: 12px 14px; border-radius: 12px; background: #fff4dc; font-size: .9rem; }

/* Barra de cesta (móvil), aviso, pie */
.cart-bar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px; padding: 0 18px; height: 58px; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(229,56,29,.6);
}
.cart-bar span:nth-child(2) { flex: 1; }
.cart-bar-count { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.18); font-variant-numeric: tabular-nums; }
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: opacity .2s, translate .2s;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; translate: -50% 0; }
.foot { max-width: var(--wrap); margin: clamp(56px, 9vw, 110px) auto 0; padding: 32px var(--pad) 48px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: start; }
.foot p { margin: 0; font-size: .92rem; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.kgrid .reveal:nth-child(3n+2) { transition-delay: .06s; }
.kgrid .reveal:nth-child(3n) { transition-delay: .12s; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* Pantallas pequeñas */
@media (max-width: 900px) {
  .kgrid { grid-template-columns: repeat(2, 1fr); }
  .r-top { grid-template-columns: 1fr; }
  .r-pic { order: -1; aspect-ratio: 16 / 9; }
  .back { margin-bottom: 16px; }
  .dishes { grid-template-columns: 1fr; }
  .cart-page, .order-page { grid-template-columns: 1fr; }
  .receipt, .ticket { position: static; }
  .how { grid-template-columns: 1fr; }
  .how > div, .how > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .how > div:first-child { border-top: 2px solid var(--ink); }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .cart-bar { display: flex; }
  #btn-cart { display: none; }
  .hero { margin: 0 8px; border-radius: 22px; min-height: 78vh; }
  .hero-facts { left: 14px; right: auto; top: 14px; flex-wrap: wrap; }
  .kgrid { grid-template-columns: 1fr; gap: 30px; }
  .paywith { grid-template-columns: 1fr; }
  .pw { flex-direction: row; align-items: center; }
  .cats { top: 60px; }
  .foot { grid-template-columns: 1fr; padding-bottom: 100px; }
  .o-row { grid-template-columns: auto 1fr auto; }
  .o-st { display: none; }
  .dish.has-img .d-side { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Portada con carácter ===== */
:root { --mustard: #ffc928; }

/* Cinta con las cocinas */
.ribbon { margin-top: clamp(28px, 5vw, 56px); background: var(--red); color: #fff; overflow: hidden; rotate: -1.2deg; width: 104%; margin-left: -2%; padding: 14px 0; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon-track span { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; }
.ribbon-track img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px #fff; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Mosaico de cocinas */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--c); color: #fff; text-decoration: none; isolation: isolate; }
.tile.xl { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.band { grid-column: span 3; }
.tile-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.78) 100%); }
.tile:hover .tile-pic { transform: scale(1.06); }
.tile-logo { position: absolute; top: 14px; left: 14px; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(0,0,0,.3); rotate: var(--tilt); transition: rotate .3s; }
.tile:hover .tile-logo { rotate: 0deg; }
.tile-logo img { width: 100%; height: 100%; object-fit: cover; }
.tile.xl .tile-logo { width: 86px; height: 86px; }
.tile-price {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; text-align: center;
  width: 70px; height: 70px; border-radius: 50%; background: var(--mustard); color: var(--ink);
  font-size: .68rem; font-weight: 700; line-height: 1; rotate: calc(var(--tilt) * -1.6); text-transform: uppercase;
}
.tile-price b { display: block; font-size: 1.05rem; font-weight: 900; font-stretch: 112%; margin-top: 2px; text-transform: none; }
.tile-txt { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.tile-txt b { display: block; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: .95; }
.tile.xl .tile-txt b { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.tile.band .tile-txt b, .tile.wide .tile-txt b { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.tile-txt small { display: block; margin-top: 6px; font-size: .88rem; opacity: .85; }
.tile:not(:has(.tile-pic))::after { display: none; }
.tile:not(:has(.tile-pic)) { background: var(--c) radial-gradient(circle at 85% 120%, rgba(255,255,255,.18) 0 38%, transparent 38.5%); }

/* Carril con logo pegado */
.pick-pic { position: relative; }
.pick-logo { position: absolute; left: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff; rotate: -8deg; }
.pick-logo img { width: 100%; height: 100%; object-fit: cover; }
.pick-txt b { margin-top: 0; }

/* Pedido de ejemplo */
.combo { max-width: var(--wrap); margin: clamp(56px, 9vw, 110px) auto 0; padding: clamp(28px, 5vw, 64px); background: var(--ink); color: #fff; border-radius: 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 1320px) { .combo { margin-inline: auto; } }
@media (max-width: 1319px) { .combo { margin-inline: var(--pad); } }
.combo .title { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.combo-copy p { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 46ch; margin: 18px 0 26px; }
.combo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.combo-steps li { padding-left: 34px; position: relative; color: rgba(255,255,255,.78); }
.combo-steps li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.combo-steps b { color: #fff; }
.combo-ticket { position: relative; justify-self: center; width: min(360px, 100%); }
.ticket.demo { position: relative; top: 0; color: var(--ink); rotate: 2.5deg; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.stamp { position: absolute; right: -34px; top: -38px; display: grid; place-items: center; text-align: center; width: 118px; height: 118px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: .95rem; line-height: 1.05; rotate: -14deg; background: rgba(255,255,255,.9); }

/* Pie con la marca grande */
.foot { grid-template-columns: 1fr auto auto; }
.foot > .brand-mark { font-size: clamp(2rem, 7.5vw, 6.5rem); line-height: .8; grid-column: 1 / -1; letter-spacing: -.04em; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .tile.band { grid-column: span 2; }
  .combo { grid-template-columns: 1fr; }
  .stamp { right: -8px; }
}
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile.xl, .tile.wide, .tile.band { grid-column: auto; grid-row: span 1; }
  .tile.xl { grid-row: span 2; }
  .tile.tall { grid-row: span 1; }
  .ribbon-track img { width: 34px; height: 34px; }
  .combo { margin-inline: 8px; border-radius: 24px; }
}
.tile.xl .tile-pic { object-position: 22% 50%; }
html, body { overflow-x: clip; }

/* ===== Varias páginas ===== */
.nav { display: flex; gap: 4px; margin-right: auto; margin-left: 28px; }
.nav a { text-decoration: none; font-weight: 700; padding: 9px 14px; border-radius: 999px; color: var(--ink2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a.on { background: var(--ink); color: #fff; }
.page { padding-top: clamp(20px, 4vw, 48px); }
.hero-full { min-height: calc(100svh - 150px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.glass { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn.glass:hover { background: #fff; color: var(--ink); }
.ribbon { margin-top: 18px; }
.ribbon-track a { display: flex; align-items: center; gap: 28px; color: #fff; text-decoration: none; }
.ribbon-track a:hover span { text-decoration: underline; text-underline-offset: 6px; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 18px; }
.combo.page { margin-top: clamp(16px, 3vw, 32px); }
.combo .btn { margin-top: 28px; }
body[data-page="inicio"] .foot { margin-top: 40px; }
@media (max-width: 900px) {
  .top { flex-wrap: wrap; row-gap: 8px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 7px 13px; font-size: .95rem; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .cats { top: 108px; }
  .hero-full { min-height: calc(100svh - 190px); }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .cats { top: 104px; }
}
@media (max-width: 640px) {
  .top .brand-mark { font-size: 1.12rem; }
  .top-actions { margin-left: auto; }
  .top .btn { min-height: 38px; padding: 0 14px; }
  .hero-cta .btn { flex: 1; }
}

/* Menú y botones de portada: solo letras, sin marco */
.nav { gap: 26px; margin-left: 36px; }
.nav a, .nav a:hover, .nav a.on { padding: 6px 0; border-radius: 0; background: none; box-shadow: none; }
.nav a { position: relative; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; font-weight: 800; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.hero-cta { gap: 30px; align-items: center; }
.hero-cta .btn, .hero-cta .btn:hover { min-height: 0; padding: 4px 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; color: #fff; flex: none; }
.hero-cta .btn { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; border-bottom: 3px solid transparent; }
.hero-cta .btn.red { border-bottom-color: var(--red); }
.hero-cta .btn::after { content: " →"; }
.hero-cta .btn:hover { border-bottom-color: #fff; }
@media (max-width: 900px) {
  .nav { gap: 22px; margin: 0; }
  .nav a { background: none; box-shadow: none; padding: 4px 0; }
}
@media (max-width: 640px) {
  .hero-cta { gap: 22px; }
  .hero-cta .btn { flex: none; }
}

/* Vídeo de portada a sangre: sin caja, sin bordes redondeados */
.hero, .hero.hero-full { margin: 0; border-radius: 0; max-width: none; width: 100%; }
.ribbon { margin-top: -18px; position: relative; z-index: 2; }
/* "Entrar" solo en letras */
.top .btn.ghost, .top .btn.ghost:hover { background: none; box-shadow: none; border: 0; padding: 0 4px; min-height: 0; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; font-weight: 800; }
.top .btn.ghost:hover { color: var(--red); }
@media (max-width: 900px) { .hero, .hero.hero-full { margin: 0; border-radius: 0; } }

/* Cómo funciona: abierto, sin cajas ni botones */
.how2 { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); padding-bottom: 40px; }
.how2-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-bottom: 28px; border-bottom: 3px solid var(--ink); }
.how2-head .title { margin: 0; }
.how2-head p { margin: 0; max-width: 44ch; font-size: 1.1rem; color: var(--ink2); }
.how2-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.how2-steps { list-style: none; margin: 0; padding: 0; }
.how2-steps li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.how2-steps .n { font-family: var(--wide); font-weight: 900; font-stretch: 125%; font-size: 3.2rem; line-height: 1; color: var(--red); }
.how2-steps b { display: block; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em; }
.how2-steps p { margin: 6px 0 0; color: var(--mute); font-size: 1.02rem; }
.how2-ticket { padding-top: 40px; display: grid; justify-items: center; }
.how2-ticket .ticket.demo { width: min(360px, 100%); rotate: 2deg; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(0,0,0,.35); }
.how2-go { display: inline-block; margin-top: 36px; padding-bottom: 4px; border-bottom: 3px solid var(--red); text-decoration: none; color: var(--ink); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; }
.how2-go:hover { color: var(--red); }
@media (max-width: 860px) {
  .how2-head, .how2-body { grid-template-columns: 1fr; }
  .how2-head { gap: 14px; }
  .how2-steps li { grid-template-columns: 64px 1fr; padding: 20px 0; }
  .how2-steps .n { font-size: 2.3rem; }
  .how2-ticket { padding-top: 12px; }
}

/* Cómo funciona: plato + plato + plato = 1 pedido */
.eq { max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--pad) 40px; }
.eq .title { margin: 0 0 clamp(24px, 4vw, 48px); }
.eq-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto .9fr; align-items: center; gap: clamp(8px, 1.6vw, 22px); }
.eq-dish { text-decoration: none; color: var(--ink); }
.eq-dish img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.eq-dish b { display: block; margin-top: 12px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.eq-dish small { display: block; margin-top: 4px; color: var(--mute); font-size: .92rem; }
.eq-dish:hover b { color: var(--red); }
.eq-op { font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 5vw, 4.5rem); color: var(--red); line-height: 1; margin-top: -40px; }
.eq-end { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; margin-top: -40px; }
.eq-end strong { font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 11vw, 10rem); line-height: .8; color: var(--red); }
.eq-end span { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(.95rem, 1.5vw, 1.3rem); line-height: 1.15; }
.eq-end em { grid-column: 1 / -1; margin-top: 14px; font-style: normal; font-weight: 800; font-size: 1.1rem; }
.eq-foot { margin: clamp(32px, 5vw, 60px) 0 0; max-width: 62ch; font-size: 1.1rem; color: var(--ink2); }
.eq-foot a { display: inline-block; margin-left: 6px; color: var(--ink); font-weight: 900; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--red); }
.eq-foot a:hover { color: var(--red); }
@media (max-width: 860px) {
  .eq-row { grid-template-columns: 1fr auto 1fr; row-gap: 22px; }
  .eq-row > .eq-op:nth-of-type(2) { display: none; }
  .eq-op, .eq-end { margin-top: 0; }
  .eq-end { grid-column: 1 / -1; justify-content: center; }
}

/* Buscador de platos: solo una línea, sin caja */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.srch { display: block; margin: 0 0 6px; }
.srch input { width: 100%; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; background: none; padding: 10px 0 12px; font: inherit; font-size: clamp(1.2rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.srch input::placeholder { color: #b5b5b5; font-weight: 600; }
.srch input:focus { border-bottom-color: var(--red); }
.srch-info { min-height: 1.4em; margin: 0 0 18px; color: var(--mute); font-size: .95rem; }
.hits { list-style: none; margin: 0 0 40px; padding: 0; }
.hit { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hit-pic img { display: block; width: 84px; height: 84px; object-fit: cover; }
.hit-pic .hit-logo { object-fit: contain; padding: 14px; opacity: .8; }
.hit-txt b { display: block; font-size: 1.05rem; }
.hit-txt small { color: var(--mute); }
.hit-txt small a { color: var(--ink); font-weight: 700; text-decoration: none; }
.hit-txt p { margin: 4px 0 0; color: var(--mute); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hit .price { font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) {
  .hit { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .hit-pic img { width: 64px; height: 64px; }
  .hit .price { grid-column: 2; grid-row: 2; }
  .hit .ctl { grid-column: 3; grid-row: 1 / span 2; }
}

/* ===== Auditoría: sin cajas, fotos a sangre ===== */
/* Cocinas: una fila por cocina */
.klist { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.krow { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.krow:nth-of-type(even) .krow-txt { order: 2; }
.krow-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.krow h2 { margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: .92; letter-spacing: -.01em; transition: color .2s; }
.krow p { margin: 12px 0 18px; color: var(--mute); font-size: 1.08rem; max-width: 36ch; }
.krow-go { font-weight: 800; border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.krow-pic { aspect-ratio: 4 / 3; overflow: hidden; }
.krow-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.krow-pic .krow-nopic { object-fit: contain; padding: 18%; }
.krow:hover h2 { color: var(--red); }
.krow:hover .krow-pic img:not(.krow-nopic) { transform: scale(1.04); }
@media (max-width: 760px) {
  .krow { grid-template-columns: 1fr; gap: 16px; }
  .krow:nth-of-type(even) .krow-txt { order: 0; }
  .krow-pic { order: -1; }
  .krow-logo { width: 44px; height: 44px; margin-bottom: 10px; }
}

/* Platos: fotos sin esquinas, filtros en letras */
.pick-pic { border-radius: 0; background: var(--soft); }
.pick-txt small { color: var(--mute); font-weight: 700; text-transform: none; }
.srch input, .srch input:focus { box-shadow: none !important; border-radius: 0 !important; border: 0; border-bottom: 3px solid var(--ink); min-height: 0; background: none; }
.srch input:focus { border-bottom-color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 4px; }
.tags button { border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 700; color: var(--mute); cursor: pointer; border-bottom: 2px solid transparent; }
.tags button:hover { color: var(--ink); }
.tags button.on { color: var(--ink); border-bottom-color: var(--red); }

/* Carta: foto sin hueco gris, secciones en letras, platos en líneas */
.r-pic { border-radius: 0; background: none; aspect-ratio: 4 / 3; }
.r-pic > img { opacity: 0; transition: opacity .4s; }
.r-pic > img.ok { opacity: 1; }
.cats a, .cats a:hover, .cats a.on { background: none; box-shadow: none; border-radius: 0; padding: 12px 0; color: var(--mute); }
.cats { gap: 24px; }
.cats a { border-bottom: 3px solid transparent; font-weight: 700; }
.cats a:hover { color: var(--ink); }
.cats a.on { color: var(--ink); border-bottom-color: var(--red); }
.dishes { gap: 0 40px; }
.dish, .dish:hover { background: none; border-radius: 0; box-shadow: none; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.dish:hover h3 { color: var(--red); }
.dish .pic { border-radius: 0; }
.dish.has-img .add, .dish.has-img .qty { box-shadow: 0 0 0 3px var(--paper); }

/* Ficha del plato */
.dish-dlg { border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: auto; }
.dish-dlg::backdrop { background: rgba(0,0,0,.55); }
.dd-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dd-pic { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dd-body { padding: 22px 24px 24px; }
.dd-body small { color: var(--mute); font-weight: 700; }
.dd-body h2 { margin: 4px 0 8px; font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; }
.dd-body p { margin: 0 0 18px; color: var(--ink2); }
.dd-end { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dd-end .price { font-size: 1.3rem; font-weight: 800; }

/* Pie: discreto */
.foot > .brand-mark { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.02em; }
.foot { margin-top: clamp(40px, 6vw, 72px); }
.krow-logo { width: auto; max-width: 150px; height: 64px; border-radius: 0; object-fit: contain; object-position: left center; }
.krow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.krow:nth-of-type(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.krow-txt { min-width: 0; }
.krow h2 { overflow-wrap: anywhere; }
@media (max-width: 760px) { .krow, .krow:nth-of-type(even) { grid-template-columns: 1fr; } }
.ribbon { background: var(--ink); }
#q, #q:focus { border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; box-shadow: none !important; background: none; padding: 10px 0 12px; min-height: 0; }
#q:focus { border-bottom-color: var(--red); }

/* Abierto / cerrado */
.open-now { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 700; font-size: .95rem; }
.open-now i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.open-now.is-open i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.open-now.is-closed i { background: var(--red); }
.hero .open-now { color: #fff; margin-top: 26px; }
.foot { grid-template-columns: 1fr 1.3fr 1fr; }
.foot > .brand-mark { grid-column: 1 / -1; }
.foot p { line-height: 1.6; }
.foot a { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.krow h2 { overflow-wrap: normal; hyphens: none; }
.krow h2.long { font-size: clamp(1.8rem, 3.8vw, 3.3rem); }

/* Cocinas en rejilla compacta: 3 por fila (2 en móvil), sin cajas */
.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; padding-top: 8px; }
.kgrid .krow, .kgrid .krow:nth-of-type(even) { display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; }
.kgrid .krow:nth-of-type(even) .krow-txt { order: 0; }
.kgrid .krow-pic { order: -1; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.kgrid .krow-logo { display: none; }
.kgrid .krow h2, .kgrid .krow h2.long { font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1; }
.kgrid .krow p { margin: 6px 0 10px; font-size: .95rem; }
.kgrid .krow-go { font-size: .92rem; }
.kgrid .krow-pic .krow-nopic { padding: 22%; background: var(--soft); }
@media (max-width: 760px) {
  .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .kgrid .krow h2, .kgrid .krow h2.long { font-size: 1.1rem; }
  .kgrid .krow p { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .kgrid .krow-go { font-size: .82rem; }
}
/* ¿Cuándo lo quieres? */
.when { border: 0; padding: 0; margin: 8px 0 18px; }
.when legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.when-opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 700; cursor: pointer; }
.when-opt small { color: var(--mute); font-weight: 600; }
.when-closed { margin: 0 0 10px; color: var(--ink2); }
.when select { width: 100%; margin-top: 6px; padding: 12px 0; border: 0; border-bottom: 2px solid var(--ink); background: none; font: inherit; font-weight: 700; font-size: 1.05rem; }
.when select:disabled { opacity: .35; }
.sched { margin: 10px 0 0; font-size: 1.05rem; }
.sched b { color: var(--red); }

/* Cesta y pago: sin cajas */
.receipt { background: none; border-radius: 0; box-shadow: none; padding: 18px 0 0; border-top: 3px solid var(--ink); }
.btn.ghost:not(.top .btn) { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0; min-height: 0; border-bottom: 3px solid var(--red); font-weight: 800; }
.cart-cta { align-items: center; gap: 26px; }
.pw { border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); background: none; padding: 14px 0; }
.pw:has(input:checked) { box-shadow: none; border-bottom: 3px solid var(--red); }
.line-field input, input:not([type=radio]):not([type=checkbox]) { border-radius: 0; box-shadow: none; border-bottom: 2px solid var(--ink); background: none; padding-left: 0; }
input:focus { box-shadow: none !important; border-bottom-color: var(--red) !important; }
.phone-row .pre { border-radius: 0; background: none; padding-left: 0; }
.modal { border-radius: 0; }
.kgrid .krow, .kgrid .krow:nth-of-type(even) { align-items: stretch; }
.kgrid .krow-pic { width: 100%; }
.logout { margin-top: 32px; color: var(--mute); font-size: .92rem; }
.logout .textlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
.o-row { background: none; border-radius: 0; box-shadow: none; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); }
.o-row:first-of-type { border-top: 3px solid var(--ink); }

/* Barra de arriba fina (la mitad de alta) y en una sola fila también en móvil */
:root { --top-h: 40px; }
.top { padding-block: 4px; min-height: var(--top-h); flex-wrap: nowrap !important; row-gap: 0; gap: 14px; border-bottom: 1px solid var(--line); }
.top .brand-mark { font-size: 1.15rem; }
.nav { order: 0 !important; width: auto !important; margin: 0 auto 0 28px !important; gap: 22px; overflow: visible; }
.nav a, .nav a:hover, .nav a.on { padding: 2px 0; font-size: .8rem; }
.nav a.on::after { height: 2px; bottom: -2px; }
.top .btn.ghost { font-size: .8rem; }
.top .cart-btn { min-height: 30px; padding: 0 12px; font-size: .85rem; }
.top .cart-btn svg { width: 16px; height: 16px; }
.cats { top: var(--top-h); }
@media (max-width: 900px) { .cats { top: var(--top-h); } }
@media (max-width: 640px) {
  :root { --top-h: 38px; }
  .top { gap: 10px; padding-inline: 14px; }
  .top .brand-mark { font-size: .92rem; }
  .nav { margin-left: 10px !important; gap: 12px; }
  .nav a, .nav a:hover, .nav a.on, .top .btn.ghost { font-size: .7rem; letter-spacing: .02em; }
  .top-actions { gap: 6px; }
}
.cats { padding-block: 0; }
.cats a, .cats a:hover, .cats a.on { padding: 9px 0 7px; font-size: .88rem; }
@media (max-width: 640px) { .xs-hide { display: none; } }

/* Cesta de arriba: sin recuadro, solo icono y número */
.top .cart-btn, .top .cart-btn.has, .top .cart-btn:hover { background: none; box-shadow: none; border: 0; border-radius: 0; min-height: 0; padding: 0 2px; color: var(--ink); gap: 5px; font-weight: 800; }
.top .cart-btn svg { width: 18px; height: 18px; }
.top .cart-btn:hover { color: var(--red); }
.top .cart-btn.has #cart-count { color: var(--red); }
.xs-only { display: none; }
@media (max-width: 640px) {
  .xs-only { display: block; }
  .top .brand-mark { font-size: .9rem; }
  .nav { margin-left: 8px !important; gap: 12px; }
}
@media (max-width: 640px) {
  .top { gap: 8px; padding-inline: 12px; }
  .top .brand-mark { font-size: .84rem; }
  .nav { gap: 10px; margin-left: 4px !important; }
  .nav a, .nav a:hover, .nav a.on { font-size: .66rem; letter-spacing: .01em; }
}

/* Buscador discreto: cajita con lupa */
.srch { position: relative; display: flex; align-items: center; max-width: 380px; margin: 0 0 4px; }
.srch svg { position: absolute; left: 12px; color: var(--mute); pointer-events: none; }
#q, #q:focus { width: 100%; height: 42px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .95rem; font-weight: 500; box-shadow: none !important; }
#q:focus { border-color: var(--ink) !important; }
#q::placeholder { color: #9a9a9a; font-weight: 500; }
.tags { margin-top: 12px; }
.tags button { font-size: .9rem; }
#q, #q:focus { border-radius: 10px !important; border-bottom-width: 1px; }

/* Platos agrupados por tipo */
.pgroup + .pgroup { margin-top: clamp(36px, 5vw, 56px); }
.pgroup-t, .hits-t { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.pgroup-t small { font-size: .8rem; color: var(--mute); font-weight: 600; font-stretch: 100%; margin-left: 6px; }
.hits-t { margin-top: 28px; list-style: none; }
.hits-t:first-child { margin-top: 0; }
.block-head .srch { width: min(340px, 100%); margin: 0; align-self: end; }
@media (max-width: 760px) { .block-head .srch { width: 100%; } }

.pick-pic.nopic { display:flex; align-items:center; justify-content:center; background:#f3f3f3; }
.pick-pic.nopic img { width:46% !important; height:auto !important; aspect-ratio:auto !important; object-fit:contain !important; }
.pick-pic.nopic img { mix-blend-mode: multiply; }

/* Saltos a cada grupo de Platos: barra fija bajo la cabecera */
.tags.jump { position: sticky; top: var(--top-h); z-index: 5; background: #fff; margin: 14px 0 22px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tags.jump::-webkit-scrollbar { display: none; }
.tags.jump a { flex: none; padding: 4px 0; font-weight: 700; font-size: .9rem; color: var(--mute); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tags.jump a:hover { color: var(--ink); }
.tags.jump a.on { color: var(--ink); border-bottom-color: var(--red); }
.pgroup { scroll-margin-top: calc(var(--top-h) + 64px); }

/* Páginas legales */
.legal { max-width: 760px; }
.legal h2 { margin: 32px 0 10px; font-size: 1.15rem; font-weight: 900; font-stretch: 112%; text-transform: uppercase; }
.legal p, .legal li { line-height: 1.6; }
.legal ul, .legal ol { padding-left: 20px; }
.legal a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal mark { background: #ffe9a8; padding: 0 4px; }
.legal-t { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .95rem; }
.legal-t th, .legal-t td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal-t th { font-weight: 800; border-bottom: 2px solid var(--ink); }
.legal-more { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); }
.foot-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-legal a { color: var(--ink); font-weight: 700; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.foot-legal span { color: var(--mute); flex-basis: 100%; }
.allergy { margin: 10px 0 0; font-size: .88rem; color: var(--mute); }
.allergy a { color: var(--ink); font-weight: 700; }
.accept { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 4px; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.accept input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.accept a { color: var(--ink); text-decoration-color: var(--red); }

/* ===== Cabeceras de página (misma línea que la portada) ===== */
.phero { min-height: min(68svh, 660px); }
.phero.md { min-height: min(52svh, 520px); }
.phero.sm { min-height: min(40svh, 400px); }
.phero::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.85) 100%); }
.ph-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0d0d0d; }
.phero .hero-copy { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--pad) clamp(44px, 6vw, 80px); }
.phero .display { font-size: clamp(2.3rem, 6.2vw, 5.4rem); line-height: .92; max-width: 14ch; }
.phero.sm .display { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.phero .hero-copy > p { max-width: 52ch; }
.phero .open-now { margin-top: 10px; }
.ph-kicker { margin: 0 0 14px !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .82rem !important; color: rgba(255,255,255,.75) !important; }
.ph-kicker a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
/* entrada suave del texto */
.phero .hero-copy > * { animation: phRise .9s cubic-bezier(.2,.7,.2,1) both; }
.phero .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.phero .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.phero .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.phero .hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes phRise { from { opacity: 0; transform: translateY(26px); } }

/* fotos que se funden y se acercan */
.ph-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.ph-slides img.on { opacity: 1; animation: phKen 7s ease-out both; }
@keyframes phKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

/* columnas de platos que se deslizan */
.ph-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 12px; transform: rotate(-7deg) scale(1.3); transform-origin: 60% 40%; }
.ph-col { display: flex; flex-direction: column; gap: 12px; animation: phCol var(--d) linear infinite; animation-direction: var(--dir); }
.ph-col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@keyframes phCol { to { transform: translateY(-50%); } }
.ph-cols-wrap::after { background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.25) 100%), linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.8) 100%); }

/* una foto grande que respira */
.ph-zoom img { width: 100%; height: 100%; object-fit: cover; animation: phBreath 24s ease-in-out infinite alternate; }
@keyframes phBreath { from { transform: scale(1.03); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.ph-zoom-wrap::after { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.1) 100%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%); }
.ph-logo { display: block; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px); border-radius: 50%; overflow: hidden; background: #fff; margin-bottom: 18px; box-shadow: 0 0 0 3px #fff; }
.ph-logo img { width: 100%; height: 100%; object-fit: cover; }
.phero .allergy { color: rgba(255,255,255,.7); margin-top: 12px; }
.phero .allergy a { color: #fff; }

/* negro con letras gigantes que se mueven */
.ph-ink { background: #0b0b0b; }
.ph-word { position: absolute; left: 0; top: 8%; white-space: nowrap; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(5rem, 16vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.13); animation: phDrift 70s linear infinite; }
.ph-word.two { top: auto; bottom: 18%; -webkit-text-stroke-color: rgba(230,57,35,.45); animation-duration: 90s; animation-direction: reverse; }
@keyframes phDrift { to { transform: translateX(-50%); } }
.ph-ink-wrap::after { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.phero .hero-cta .btn:not(.red) { color: #fff; }

/* buscador dentro de la cabecera de Platos */
.ph-search .srch { width: min(460px, 100%); max-width: none; margin: 6px 0 0; display: flex; }
.ph-search #q { background: rgba(255,255,255,.96) !important; }
/* cinta: números y puntos */
.ribbon-track .rb-n { font-weight: 800; font-size: 1rem; opacity: .6; margin-left: -18px; }
.ribbon-track .rb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; }
.phero + .ribbon + * { margin-top: clamp(28px, 4vw, 48px); }
.phero + .ribbon + .cats { margin-top: 18px; }

@media (max-width: 760px) {
  .phero { min-height: 62svh; }
  .phero.md { min-height: 46svh; }
  .phero.sm { min-height: 34svh; }
  .ph-cols { grid-template-columns: repeat(3, 1fr); }
  .ph-cols .ph-col:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-col, .ph-zoom img, .ph-word, .ph-slides img.on, .phero .hero-copy > * { animation: none !important; }
}

/* ===== Pie compacto: Contacto, Horario y Legal se abren al pinchar ===== */
.foot { display: flex !important; flex-wrap: wrap; align-items: center; gap: 14px 34px; padding-top: 22px !important; padding-bottom: 26px !important; margin-top: clamp(40px, 6vw, 72px) !important; }
.foot > .brand-mark { font-size: 1.25rem !important; line-height: 1; letter-spacing: -.02em; margin-right: auto; grid-column: auto; }
.fm { display: flex; gap: 26px; }
.fm details { position: relative; }
.fm summary { list-style: none; cursor: pointer; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; font-size: .88rem; padding: 4px 0; border-bottom: 3px solid transparent; }
.fm summary::-webkit-details-marker { display: none; }
.fm summary::after { content: " ▴"; font-size: .7em; color: var(--red); }
.fm details[open] summary { border-bottom-color: var(--red); }
.fm-pop { position: absolute; bottom: calc(100% + 14px); left: 0; z-index: 30; min-width: 250px; padding: 18px 20px; background: var(--ink); color: #fff; font-size: .92rem; line-height: 1.5; animation: phRise .25s ease both; }
.fm-pop p { margin: 0 0 10px; }
.fm-pop p:last-child { margin: 0; }
.fm-pop a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 3px; }
.fm-legal a { display: block; margin-bottom: 8px; font-weight: 700; }
.fm-legal p { margin-top: 12px !important; color: rgba(255,255,255,.65); font-size: .82rem; }
.fm-ic { display: flex; align-items: center; gap: 8px; }
.fm-ic .pw-ic { width: 44px; height: 28px; font-size: .7rem; border-radius: 6px; }
.fm-ic .pw-ic.cash { font-size: .95rem; }
.fm-km { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; font-weight: 800; font-size: .88rem; color: var(--ink); }
.fm-km svg { color: var(--red); }
@media (max-width: 640px) {
  .foot { gap: 16px 22px; padding-bottom: 96px !important; }
  .foot > .brand-mark { width: 100%; }
  .fm { gap: 20px; }
  .fm details:last-child .fm-pop { left: auto; right: -40px; }
}
.phero .hero-copy p.allergy { font-size: .9rem; margin: 14px 0 0; max-width: 60ch; }
/* que el texto de las cabeceras nunca se salga en móvil */
.hero-copy { min-width: 0; max-width: 100%; box-sizing: border-box; }
.hero .open-now { white-space: normal; }
@media (max-width: 640px) {
  .fm { position: relative; }
  .fm details { position: static; }
  .fm-pop, .fm details:last-child .fm-pop { left: 0; right: auto; width: min(300px, calc(100vw - 40px)); min-width: 0; }
}

/* Logo chiquito al lado del nombre del restaurante */
.rname { display: inline-flex; align-items: center; gap: 6px; }
.rlogo { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.krow-name { display: flex; align-items: center; gap: 12px; }
.krow-name h2 { margin: 0; }
.rlogo.lg { width: 34px; height: 34px; }
@media (max-width: 640px) { .rlogo.lg { width: 26px; height: 26px; } .krow-name { gap: 8px; } }

/* ===== Ofertas ===== */
.nav a.nav-deal { color: var(--red); }
.nav a.nav-deal::before { content: "⚡"; margin-right: 3px; }
s.was { color: var(--mute); font-weight: 600; font-size: .85em; margin-right: 4px; }
.price.deal { color: var(--red); }
.deal-card .pick-pic { position: relative; }
.deal-card .off { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-weight: 900; font-stretch: 112%; font-size: 1.05rem; padding: 4px 10px; rotate: -4deg; }
.deal-card .clock { display: block; margin: 4px 0 6px; font-size: .85rem; color: var(--mute); }
.deal-card .clock[data-ends] { color: var(--red); font-weight: 700; }
.deal-card .clock b { display: inline; font: inherit; font-variant-numeric: tabular-nums; margin: 0; }
.deal-card.ended { opacity: .45; pointer-events: none; }
.none-yet { color: var(--mute); margin: 0 0 8px; }
.offers .pgroup { margin-bottom: clamp(36px, 5vw, 60px); }

/* cabecera de Ofertas: rayas rojas que corren y etiquetas que flotan */
.ph-flash { background: #c92e1a; }
.ph-stripes { position: absolute; inset: -50%; background: repeating-linear-gradient(-45deg, #e63923 0 46px, #c92e1a 46px 92px); animation: phStripes 6s linear infinite; }
@keyframes phStripes { to { transform: translate(130px, 0); } }
.ph-tag { position: absolute; top: calc(10% + var(--i) * 13%); right: calc(4% + (var(--i) * 37 % 5) * 8%); font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 7vw, 6.5rem); color: rgba(255,255,255,.16); animation: phFloat 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.8s); }
@keyframes phFloat { from { transform: translateY(-10px) rotate(-6deg); } to { transform: translateY(14px) rotate(4deg); } }
.ph-flash-wrap::after { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 70%), linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%); }

/* cabecera de Mis pedidos: la ruta del repartidor */
.ph-route { background: #0b0b0b; }
.ph-route svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rtDraw 9s linear infinite; }
@keyframes rtDraw { 0% { stroke-dashoffset: 1; } 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.rt-stop { opacity: .9; transform-box: fill-box; transform-origin: center; animation: rtPop 9s ease-out infinite; animation-delay: calc(var(--i) * 1.4s); }
@keyframes rtPop { 0%, 100% { transform: scale(1); } 6% { transform: scale(1.18); } 12% { transform: scale(1); } }
.ph-route-wrap::after { background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.2) 100%); }
@media (prefers-reduced-motion: reduce) { .ph-stripes, .ph-tag, .rt-draw, .rt-stop { animation: none !important; } }
@media (max-width: 640px) { .nav { gap: 14px; } .nav a.nav-deal::before { margin-right: 1px; } }

/* Móvil estrecho: Ofertas solo con el rayo para que quepa todo en la barra fina */
@media (max-width: 480px) {
  .top { gap: 6px; padding-inline: 10px; }
  .top .brand-mark { font-size: .78rem; }
  .nav { gap: 10px; margin-left: 2px !important; }
  .nav a.nav-deal { font-size: 0 !important; letter-spacing: 0; padding-inline: 2px; }
  .nav a.nav-deal::before { font-size: .95rem; margin: 0; }
}
/* Aviso de los restaurantes por encargo (Tu Paella) */
.r-note { margin: 10px 0 0; font-size: .92rem; line-height: 1.45; font-weight: 600; }
.phero .r-note { color: #fff; max-width: 46ch; }

/* ---------- Pagar: un solo recorrido, sin pasos numerados ---------- */
.checkout { gap: 22px; }
.addr { position: relative; display: flex; flex-direction: column; gap: 10px; }
.big-in, .line-field input.big-in { width: 100%; font: inherit; font-size: clamp(1.25rem, 2.8vw, 1.8rem) !important; font-weight: 700; padding: 10px 0 12px; border: 0; border-bottom: 3px solid var(--ink) !important; background: none; color: var(--ink); }
.big-in::placeholder { color: #b5b5b5; font-weight: 600; }
.big-in:focus { border-bottom-color: var(--red) !important; }
.addr .addr-list { top: 96px; }
.addr-list li small.sub { color: var(--mute); font-weight: 500; text-align: right; }
.addr-list li.by-google { justify-content: flex-end; padding: 4px 12px 2px; font-size: .72rem; color: var(--mute); cursor: default; }
.addr-list li.by-google:hover { background: none; }
.addr-status { font-size: 1rem; }
.addr-status.ok b { text-transform: uppercase; letter-spacing: .03em; font-weight: 900; }
.addr-map { position: relative; height: clamp(190px, 30vw, 260px); background: var(--soft); overflow: hidden; }
.addr-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.addr-map::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--red); }
.ulink { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: .88rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; cursor: pointer; }
.ulink:hover { color: var(--red); }
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.addr .addr-list { border-radius: 0; padding: 0; box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -16px rgba(0,0,0,.3); }
.addr .addr-list li { border-radius: 0; padding: 12px 14px; }

/* Etiquetas pequeñas, todas iguales: nada de números ni dos colores */
.co-lbl { margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.checkout > .co-lbl, .when2 { padding-top: 22px; border-top: 1px solid var(--line); }
.addr > .co-lbl { margin-bottom: -4px; }
/* Entrada escalonada al llegar a la página */
.co-in { animation: coIn .6s cubic-bezier(.2,.7,.2,1) both; }
.checkout > .co-in:nth-child(2) { animation-delay: .06s; }
.checkout > .co-in:nth-child(3) { animation-delay: .12s; }
.checkout > .co-in:nth-child(4) { animation-delay: .18s; }
.checkout > .co-in:nth-child(5) { animation-delay: .24s; }
.checkout > .co-in:nth-child(6) { animation-delay: .3s; }
@keyframes coIn { from { opacity: 0; transform: translateY(18px); } }
/* Cuándo llega: «lo antes posible» en grande, con la moto de camino */
.when2 { display: flex; flex-direction: column; gap: 10px; }
.asap, .sched { animation: coSwap .45s cubic-bezier(.2,.7,.2,1) both; }
.asap[hidden], .sched[hidden] { display: none; }
@keyframes coSwap { from { opacity: 0; transform: translateX(-14px); } }
.asap-t { margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; letter-spacing: -.01em; }
.asap-eta { margin: 6px 0 0; font-size: 1.05rem; color: var(--ink2); }
.asap-eta b { font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.road { position: relative; display: block; height: 3px; margin-top: 14px; background: var(--line); overflow: hidden; }
.road i { position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--red); animation: road 2.4s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes road { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.sched-sel { position: relative; display: block; margin-top: 8px; }
.sched-sel::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.sched-sel select { width: 100%; -webkit-appearance: none; appearance: none; padding: 10px 30px 12px 0; border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; background: none; font: inherit; font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--ink); cursor: pointer; }
.sched-sel select:focus { outline: none; border-bottom-color: var(--red); }
.when-closed { margin: 0; color: var(--ink2); }
@media (prefers-reduced-motion: reduce) { .co-in, .asap, .sched, .road i { animation: none; } }
/* Código promocional: una caja de línea, como el resto de campos */
.promo { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.promo-row { display: flex; align-items: flex-end; gap: 18px; }
.promo-row[hidden], .promo-ok[hidden] { display: none; }
.promo-in, .line-field input.promo-in { flex: 1; min-width: 0; font: inherit; font-size: 1.15rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0 10px; border: 0; border-bottom: 3px solid var(--ink) !important; background: none; color: var(--ink); }
.promo-in::placeholder { text-transform: none; letter-spacing: 0; font-weight: 600; color: #b5b5b5; }
.promo-in:focus { outline: none; border-bottom-color: var(--red) !important; }
.promo-row .ulink { flex: none; margin-bottom: 6px; }
.promo-ok { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.promo-ok b { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .03em; background: var(--ink); color: #fff; padding: 2px 10px 3px; }
.promo-ok span { font-weight: 700; color: var(--ok); }
.promo-ok .ulink { margin-left: auto; }
.promo-ok.pop b { animation: promoStamp .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes promoStamp { from { transform: scale(1.6) rotate(-6deg); opacity: 0; } }
.promo-err { margin: 0; min-height: 0; color: var(--red); font-weight: 600; font-size: .95rem; }
.promo-err:empty { display: none; }
.promo.shake .promo-row { animation: promoShake .4s; }
@keyframes promoShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.rc-sum > .rc-promo span:last-child { color: var(--ok); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .promo-ok.pop b, .promo.shake .promo-row { animation: none; } }
