/* Layout: póster de pollería de barrio. Hero amarillo con sol argentino girando detrás del logo, bandas cruzadas tipo cinta,
   tickets de oferta, catálogo con barra fija + carrito lateral, horarios como gráfico semanal, pie con "MONTOTO" gigante.
   Identidad única (amarillo de marca); sin variante oscura a propósito. */
:root {
  --yolk: #FFD21F;
  --yolk-2: #FFE266;
  --yolk-3: #FFF3B8;
  --amber: #F5A300;
  --red: #D3261C;
  --red-2: #A8180F;
  --ink: #1F140C;
  --ink-2: #4E3E30;
  --cream: #FFFAEB;
  --white: #FFFFFF;
  --celeste: #74BFE8;
  --green: #18A957;
  --green-2: #0F7A3E;
  --line: rgba(31, 20, 12, .12);
  --f-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --f-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --r: 18px;
  --wrap: 1180px;
  --hdr: 70px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
/* `hidden` siempre oculta, aunque la clase del elemento le ponga display (p. ej. .btn = inline-flex). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 70px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 16px/1.55 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .005em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--red); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.hand { font-family: var(--f-hand); font-weight: 400; text-transform: none; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--white); --sh: #000; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 13px 24px; background: var(--bg); color: var(--fg); font: 800 15px/1 var(--f-body); text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-wa { --bg: var(--green); }
.btn-red { --bg: var(--red); }
.btn-yolk { --bg: var(--yolk); --fg: var(--ink); }
.btn-light { --bg: var(--white); --fg: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--yolk); font-weight: 800; font-size: 13.5px; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding-block: 9px; animation: marquee 38s linear infinite; }
.ticker-track span { padding-inline: 22px; }
.ticker-track b { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 210, 31, .92); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4); border-bottom: 2.5px solid var(--ink); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -12px rgba(31, 20, 12, .45); }
.header .wrap { display: flex; align-items: center; gap: 18px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink); transition: transform .6s var(--bounce); }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.brand-name { font-family: var(--f-display); font-size: 24px; line-height: .9; color: var(--red); text-transform: uppercase; }
.brand-name small { display: block; font: 800 10px/1.4 var(--f-body); letter-spacing: .16em; color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 800; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(31, 20, 12, .08); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 999px; background: var(--cream); border: 2px solid var(--ink); white-space: nowrap; }
.live i { margin-right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); flex: none; }
.live.open i { background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(24, 169, 87, .6); } 100% { box-shadow: 0 0 0 10px rgba(24, 169, 87, 0); } }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform .2s var(--ease); flex: none; }
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: var(--white); font: 800 12px/22px var(--f-body); text-align: center; border: 2px solid var(--ink); transform: scale(0); transition: transform .3s var(--bounce); font-variant-numeric: tabular-nums; }
.badge.on { transform: scale(1); }
.badge.bump { animation: bump .45s var(--bounce); }
@keyframes bump { 40% { transform: scale(1.45); } }
@media (max-width: 960px) { .nav { display: none; } .live { margin-left: auto; } }
@media (max-width: 460px) { .live .lbl-long { display: none; } .brand-name small { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--yolk); overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 45%, var(--yolk-2) 0, transparent 55%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-block: 56px 84px; }
.hero-copy { min-width: 0; }
.chip-loc { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--yolk); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.chip-loc svg { width: 15px; height: 15px; }
.hero h1 { margin-top: 18px; font-size: clamp(72px, 12.5vw, 168px); line-height: .84; color: var(--ink); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .l-red { color: var(--red); }
@keyframes lineUp { from { transform: translateY(105%) rotate(4deg); } }
.ribbon-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.ribbon { display: inline-block; background: var(--red); color: var(--white); font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; padding: 6px 20px 9px; transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--ink); animation: slap .7s .45s var(--bounce) both; }
@keyframes slap { from { transform: rotate(-12deg) scale(1.6); opacity: 0; } }
.ribbon-row .hand { font-size: clamp(26px, 3vw, 34px); color: var(--ink); transform: rotate(-4deg); animation: fadeUp .6s .75s var(--ease) both; }
.lead { font-size: 18.5px; max-width: 44ch; color: var(--ink-2); margin: 18px 0 28px; animation: fadeUp .7s .55s var(--ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .7s .65s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; animation: fadeUp .7s .8s var(--ease) both; }
.trust div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.25; }
.trust b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--red); line-height: 1; }

.hero-art { position: relative; aspect-ratio: 1; width: min(500px, 100%); max-width: 100%; justify-self: center; }
.sun { position: absolute; inset: -14%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(245, 163, 0, .55) 0deg 7deg, transparent 7deg 15deg); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-disc { position: absolute; inset: 9%; border-radius: 50%; border: 6px solid var(--ink); box-shadow: 14px 14px 0 var(--red); overflow: hidden; background: var(--white); animation: pop 1s .2s var(--bounce) both; }
.logo-disc img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pop { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
.sticker { position: absolute; z-index: 3; will-change: transform; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .4s var(--ease); }
.sticker > * { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(var(--rot2, 2deg)); } }
.st-stamp { right: -2%; bottom: 4%; }
.st-stamp > div { --rot2: 16deg; width: 132px; height: 132px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; text-align: center; transform: rotate(12deg); border: 3px solid var(--ink); box-shadow: 0 0 0 6px var(--yolk), 0 0 0 8.5px var(--ink); font: 800 12px/1.1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; padding: 12px; }
.st-stamp b { display: block; font: 400 26px/1 var(--f-display); color: var(--yolk); }
.st-price { left: -4%; top: 8%; }
.st-price > div { --rot2: -10deg; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 16px 12px; transform: rotate(-8deg); box-shadow: 5px 5px 0 var(--ink); animation-delay: -1.5s; }
.st-price small { display: block; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.st-price b { font: 400 30px/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.st-price span { font-weight: 800; font-size: 13px; }
.st-note { left: 2%; bottom: 0; }
.st-note > div { --rot2: -2deg; font: 400 26px/1 var(--f-hand); color: var(--ink); transform: rotate(-6deg); display: flex; align-items: flex-end; gap: 4px; animation-delay: -3s; }
.st-note svg { width: 54px; height: 40px; }
@media (max-width: 900px) {
  .hero .wrap { padding-block: 40px 64px; } .hero h1 { font-size: clamp(64px, 12vw, 120px); }
  .hero-art { width: min(340px, 100%); }
  .st-stamp { right: -10%; bottom: -8%; } .st-price { left: -10%; top: -2%; }
  .st-note { display: none; }
}
@media (max-width: 700px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 28px 56px; }
  .hero-art { width: min(340px, 86%); order: -1; margin-top: 10px; }
  .st-stamp { right: -12%; bottom: -8%; } .st-price { left: -12%; top: 0; }
  .st-stamp > div { width: 96px; height: 96px; font-size: 9.5px; padding: 8px; } .st-stamp b { font-size: 18px; }
  .st-price b { font-size: 24px; }
  .st-note { display: none; }
}

/* ---------- Crossed bands ---------- */
.bands { position: relative; height: 150px; overflow: hidden; background: var(--cream); }
.band { position: absolute; left: -5%; width: 110%; overflow: hidden; white-space: nowrap; border-block: 2.5px solid var(--ink); font: 400 30px/1 var(--f-display); text-transform: uppercase; }
.band .track { display: inline-flex; padding-block: 14px; animation: marquee 30s linear infinite; }
.band .track span { padding-inline: 18px; display: inline-flex; align-items: center; gap: 36px; }
.band .track span::after { content: "✦"; font-size: 22px; }
.band-a { top: 30px; background: var(--red); color: var(--yolk); transform: rotate(-3deg); z-index: 2; }
.band-b { top: 48px; background: var(--ink); color: var(--white); transform: rotate(2.4deg); }
.band-b .track { animation-direction: reverse; animation-duration: 36s; }

/* ---------- Sections ---------- */
section { padding-block: 88px; position: relative; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(44px, 7vw, 84px); margin-top: 10px; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 46ch; font-size: 17px; }
.reveal { --d: 0s; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { transform: translateY(46px) scale(.97); } }
  }
}

/* ---------- Promos (tickets) ---------- */
.promos { background: var(--ink); color: var(--cream); overflow: hidden; }
.promos::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(255, 210, 31, .14), transparent 45%), radial-gradient(circle at 90% 100%, rgba(211, 38, 28, .25), transparent 50%); pointer-events: none; }
.promos .eyebrow { color: var(--yolk); }
.promos .sec-head p { color: #D8CBB6; }
.promos .sec-head h2 .hand { color: var(--yolk); font-size: .55em; display: inline-block; transform: rotate(-6deg) translateY(-.3em); }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1000px; }
.ticket { --rx: 0deg; --ry: 0deg; position: relative; background: var(--yolk); color: var(--ink); border-radius: 22px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s var(--ease); transform-style: preserve-3d; min-width: 0; }
.ticket-foot::before, .ticket-foot::after { content: ""; position: absolute; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); transform: translateY(-50%); }
.ticket-foot::before { left: -41px; } .ticket-foot::after { right: -41px; }
.ticket.t-red { background: var(--red); color: var(--white); }
.ticket > :nth-last-child(2) { margin-bottom: 10px; }
.ticket.t-red .ticket-foot { border-top-color: rgba(255, 255, 255, .45); }
.ticket.t-cream { background: var(--cream); }
.ticket .tag { align-self: flex-start; font: 800 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 8px; background: var(--ink); color: var(--yolk); transform: rotate(-3deg); }
.ticket.t-red .tag { background: var(--yolk); color: var(--ink); }
.ticket h3 { font-size: 44px; line-height: .92; }
.ticket p { margin: 0; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-weight: 700; font-size: 15px; }
.ticket li { display: flex; gap: 8px; align-items: flex-start; }
.ticket li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.pills { display: grid; gap: 9px; }
.pill { display: flex; justify-content: space-between; align-items: center; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 8px 6px 18px; font-weight: 800; }
.pill b { font: 400 28px/1 var(--f-display); color: var(--red); background: var(--yolk-3); padding: 6px 12px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pill .save { font-size: 11px; color: var(--green-2); letter-spacing: .04em; text-transform: uppercase; }
.ticket-foot { position: relative; margin-top: auto; padding-top: 20px; border-top: 3px dashed rgba(31, 20, 12, .3); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ticket-foot small { font-weight: 700; font-size: 12.5px; opacity: .75; }
.big-num { font: 400 clamp(60px, 7vw, 84px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.ticket .truck { position: absolute; right: 22px; top: 22px; width: 62px; height: 38px; animation: drive 3s ease-in-out infinite; }
@keyframes drive { 50% { transform: translateX(-8px); } }
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Catalog ---------- */
.catalog { background: var(--cream); }
.toolbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 30; display: flex; gap: 12px; align-items: center; padding-block: 12px; margin-bottom: 22px; background: rgba(255, 250, 235, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.toolbar.stuck { border-color: var(--line); }
.search { position: relative; flex: 0 1 280px; min-width: 0; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-2); }
.search input { width: 100%; border: 2.5px solid var(--ink); border-radius: 999px; padding: 11px 16px 11px 40px; font: 600 15px var(--f-body); background: var(--white); color: var(--ink); }
.search input::placeholder { color: #8B7B6B; }
.chips { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); flex: 1 1 auto; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .chips { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 30px; } }
.chips .ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: left .35s var(--ease), width .35s var(--ease); z-index: 0; }
.chip { position: relative; z-index: 1; border: 0; background: none; padding: 8px 15px; border-radius: 999px; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; transition: color .25s; }
.chip[aria-pressed="true"] { color: var(--yolk); }
.chip .n { font-size: 11px; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .toolbar { flex-direction: column; align-items: stretch; } .search { flex-basis: auto; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; perspective: 1200px; }
.card { --rx: 0deg; --ry: 0deg; position: relative; background: var(--white); border: 2.5px solid var(--ink); border-radius: var(--r); display: flex; flex-direction: column; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s var(--ease), box-shadow .25s var(--ease); animation: cardIn .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 35ms); min-width: 0; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.card:hover { box-shadow: 8px 8px 0 var(--ink); }
.card.in-cart { box-shadow: 0 0 0 3px var(--yolk), 0 0 0 5.5px var(--ink); }
.card-art { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 3px) calc(var(--r) - 3px) 0 0; overflow: hidden; border-bottom: 2.5px solid var(--ink); background: var(--c1, var(--yolk)); display: grid; place-items: center; }
.card-art::before { content: ""; position: absolute; inset: -40%; background: repeating-conic-gradient(var(--c2, var(--yolk-2)) 0 9deg, transparent 9deg 18deg); transition: transform 1.2s var(--ease); }
.card:hover .card-art::before { transform: rotate(40deg); }
.card-art svg { position: relative; width: 46%; height: auto; filter: drop-shadow(4px 6px 0 rgba(31, 20, 12, .25)); transition: transform .5s var(--bounce); }
.card:hover .card-art svg { transform: scale(1.12) rotate(-8deg); }
.card-art .ph { position: absolute; left: 10px; bottom: 9px; font: 800 10px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .8); padding: 5px 8px; border-radius: 6px; }
.card .flag { position: absolute; top: 12px; right: -8px; z-index: 2; background: var(--red); color: var(--white); font: 800 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 2px solid var(--ink); transform: rotate(4deg); }
.card[data-cat="fresco"] { --c1: #FFE15C; --c2: #FFEB8F; }
.card[data-cat="milanesas"] { --c1: #FFC94A; --c2: #FFD872; }
.card[data-cat="rebozados"] { --c1: #FFB547; --c2: #FFC66F; }
.card[data-cat="tartas"] { --c1: #F7D49B; --c2: #FAE1B8; }
.card[data-cat="huevos"] { --c1: #BFE2F5; --c2: #D7EEFA; }
.card-body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font: 800 11px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.card h3 { font: 800 19px/1.2 var(--f-body); text-transform: none; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; }
.unit { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); line-height: 1.25; white-space: nowrap; }
.unit .ask { display: block; font: 400 19px/1.1 var(--f-display); text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.price { display: block; font: 400 26px/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.add { display: inline-flex; align-items: center; gap: 6px; border: 2.5px solid var(--ink); background: var(--yolk); border-radius: 999px; padding: 9px 14px; font: 800 13.5px/1 var(--f-body); cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s; white-space: nowrap; }
.add:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.add:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.add svg { width: 14px; height: 14px; }
.stepper { display: inline-flex; align-items: center; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--yolk); overflow: hidden; animation: popIn .35s var(--bounce); }
@keyframes popIn { from { transform: scale(.7); } }
.stepper button { width: 34px; height: 34px; border: 0; background: none; color: inherit; font: 800 18px/1 var(--f-body); cursor: pointer; }
.stepper button:hover { background: rgba(255, 255, 255, .12); }
.stepper output { min-width: 26px; text-align: center; font: 800 15px/1 var(--f-body); font-variant-numeric: tabular-nums; color: var(--white); }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; }
  .card-art { aspect-ratio: auto; width: 108px; flex: none; border-bottom: 0; border-right: 2.5px solid var(--ink); border-radius: calc(var(--r) - 3px) 0 0 calc(var(--r) - 3px); }
  .card-art svg { width: 64%; }
  .card-art .ph { display: none; }
  .card-body { padding: 12px 12px 12px 14px; gap: 3px; min-width: 0; }
  .card h3 { font-size: 16.5px; }
  .card p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-foot { padding-top: 8px; min-height: 0; }
  .card .flag { top: 8px; left: 8px; right: auto; font-size: 9.5px; padding: 5px 7px; }
  .card:hover { box-shadow: none; }
}
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 2.5px dashed var(--ink); border-radius: var(--r); display: grid; gap: 14px; justify-items: center; }
.empty h3 { font-size: 34px; }
.note { margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- How to ---------- */
.how { background: var(--yolk); border-block: 2.5px solid var(--ink); overflow: hidden; }
.how .sec-head p { color: var(--ink); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px); background-size: 26px 4px; animation: march 1s linear infinite; }
@keyframes march { to { background-position: 26px 0; } }
.steps li { position: relative; text-align: center; display: grid; justify-items: center; gap: 10px; }
.step-ic { width: 92px; height: 92px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--ink); position: relative; transition: transform .4s var(--bounce); }
.steps li:hover .step-ic { transform: rotate(-10deg) scale(1.06); }
.step-ic svg { width: 44px; height: 44px; }
.step-ic b { position: absolute; top: -8px; right: -8px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white); font: 400 19px/30px var(--f-display); border: 2.5px solid var(--ink); }
.steps h3 { font-size: 30px; margin-top: 8px; }
.steps p { margin: 0; max-width: 30ch; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.fact { background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 14px; align-items: center; font-weight: 600; }
.fact svg { width: 38px; height: 38px; flex: none; }
.fact b { display: block; font: 400 22px/1.05 var(--f-display); text-transform: uppercase; }
@media (max-width: 860px) { .steps, .facts { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ---------- Visit: hours + branches ---------- */
.visit-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.branches { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.branches .branch { flex: 1; align-content: center; }
.panel { background: var(--white); border: 2.5px solid var(--ink); border-radius: 24px; padding: 26px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h3 { font-size: 34px; }
.week { display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; font-weight: 800; font-size: 13.5px; }
.day.today .dname { color: var(--red); }
.dtimes { display: none; font-weight: 700; font-size: 13px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.day.today .dtimes { color: var(--red); }

.hr-track { position: relative; height: 30px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--cream) 0 calc(100% / 16 - 1px), var(--line) calc(100% / 16 - 1px) calc(100% / 16)); border: 1.5px solid var(--line); }
.seg { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: var(--yolk); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--f-body); white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; transform-origin: left; animation: grow .8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.day.today .seg { background: var(--red); color: var(--white); }
.now { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--green); border-radius: 2px; z-index: 2; }
.now::before { content: ""; position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--white); transform: translateX(-50%); }
.axis { display: grid; grid-template-columns: 44px 1fr; gap: 12px; margin-top: 4px; }
.axis div { position: relative; height: 16px; font: 700 10.5px/1 var(--f-body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.axis > div > span { position: absolute; transform: translateX(-50%); }
@media (max-width: 560px) {
  .panel { padding: 20px; }
  .day { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .dtimes { display: block; }
  .day .hr-track { grid-column: 1 / -1; height: 14px; }
  .seg { font-size: 0; top: 1px; bottom: 1px; border-width: 1.5px; border-radius: 4px; }
  .axis { grid-template-columns: 1fr; } .axis > span { display: none; }
}
.branch { display: grid; gap: 8px; padding: 22px; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--white); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.branch:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.branch .kind { justify-self: start; font: 800 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: var(--white); padding: 6px 10px; border-radius: 7px; }
.branch h3 { font-size: 36px; }
.branch address { font-style: normal; color: var(--ink-2); font-weight: 600; }
.branch .btn { justify-self: start; margin-top: 4px; }
.branch.main { background: var(--ink); color: var(--cream); }
.branch.main address { color: #D8CBB6; }
.branch.main .kind { background: var(--yolk); color: var(--ink); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { background: var(--white); border-top: 2.5px solid var(--ink); }
.about .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about .quote { font: 400 clamp(46px, 6.4vw, 86px)/.95 var(--f-display); text-transform: uppercase; margin: 0; color: var(--ink); max-width: none; }
.quote .mark { position: relative; color: var(--red); white-space: nowrap; }
.quote .mark svg { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .32em; overflow: visible; }
.quote .mark path { fill: none; stroke: var(--yolk); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .quote .mark path { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  @keyframes draw { from { stroke-dashoffset: 600; } }
} }
.about p { margin: 0 0 14px; font-size: 17.5px; max-width: 54ch; color: var(--ink-2); }
.about .sign { font: 400 32px/1 var(--f-hand); color: var(--red); transform: rotate(-3deg); display: inline-block; margin-top: 4px; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq-list { display: grid; gap: 12px; min-width: 0; }
details { background: var(--white); border: 2.5px solid var(--ink); border-radius: 18px; overflow: hidden; transition: box-shadow .25s; }
details[open] { box-shadow: 6px 6px 0 var(--ink); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--yolk); border: 2px solid var(--ink); position: relative; flex: none; transition: transform .35s var(--bounce), background .2s; }
summary i::before, summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); }
summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary i { transform: rotate(135deg); background: var(--red); }
details[open] summary i::before, details[open] summary i::after { background: var(--white); }
details .ans { padding: 0 20px 18px; color: var(--ink-2); }
details[open] .ans { animation: fadeUp .35s var(--ease); }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Instagram band ---------- */
.ig { background: var(--red); color: var(--white); padding-block: 64px; overflow: hidden; border-top: 2.5px solid var(--ink); }
.ig .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ig h2 { font-size: clamp(40px, 6.5vw, 80px); }
.ig h2 span { color: var(--yolk); }
.ig p { margin: 8px 0 0; font-size: 17px; color: #FFE1DC; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #E5D9C6; padding-top: 64px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; font: 800 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--yolk); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--yolk); }
footer .brand-name { color: var(--yolk); }
footer .brand-name small { color: #E5D9C6; }
footer .about-line { margin: 16px 0 0; font-size: 14.5px; max-width: 34ch; }
.giant { font: 400 clamp(90px, 25vw, 330px)/.78 var(--f-display); text-transform: uppercase; color: var(--yolk); text-align: center; margin: 48px 0 0; letter-spacing: -.01em; white-space: nowrap; transform: translateY(.1em); user-select: none; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; margin-top: 40px; font-size: 13px; color: #A99A85; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
footer li { text-wrap: balance; }
.nowrap { white-space: nowrap; }

/* ---------- Floating: FAB, cart pill, toast ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 62px; height: 62px; border-radius: 50%; background: var(--green); border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 0 5px 0 var(--ink); color: var(--white); transition: transform .3s var(--bounce); }
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab svg { width: 30px; height: 30px; }
.fab::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--green); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.cart-pill { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; transform: translate(-50%, 160%); transition: transform .45s var(--bounce); display: flex; align-items: center; gap: 14px; width: min(520px, calc(100% - 32px)); padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); border: 2.5px solid var(--ink); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .5); cursor: pointer; text-align: left; }
.cart-pill:not(.on) { visibility: hidden; transition: transform .45s var(--bounce), visibility 0s .45s; }
.cart-pill.on { transform: translate(-50%, 0); }
.cart-pill .ci { flex: 1; min-width: 0; }
.cart-pill b { display: block; color: var(--yolk); font-size: 15px; }
.cart-pill span { display: block; font-size: 12.5px; color: #D8CBB6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-pill .go { background: var(--yolk); color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 800; font-size: 14px; white-space: nowrap; }
body.has-cart .fab { transform: scale(0); pointer-events: none; }
.toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + 14px); z-index: 60; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--white); padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: opacity .25s, transform .35s var(--bounce); border: 2px solid var(--yolk); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.flyer { position: fixed; z-index: 70; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); pointer-events: none; }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(31, 20, 12, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: var(--cream); border-left: 3px solid var(--ink); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.on { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--yolk); border-bottom: 2.5px solid var(--ink); }
.dr-head h2 { font-size: 34px; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--bounce); }
.x:hover { transform: rotate(90deg); }
.x svg { width: 18px; height: 18px; }
.dr-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: grid; align-content: start; gap: 18px; }
.lines { display: grid; gap: 10px; }
.cl { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px 8px 8px; animation: fadeUp .3s var(--ease); }
.cl .th { width: 52px; height: 52px; border-radius: 10px; background: var(--c1, var(--yolk)); display: grid; place-items: center; border: 2px solid var(--ink); }
.cl[data-cat="huevos"] .th { background: #BFE2F5; }
.cl[data-cat="tartas"] .th { background: #F7D49B; }
.cl .th svg { width: 34px; height: 34px; }
.cl b { display: block; font-size: 14.5px; line-height: 1.2; }
.cl small { color: var(--ink-2); font-weight: 600; font-size: 12px; }
.cl .stepper button { width: 30px; height: 30px; font-size: 16px; }
.cl .stepper output { min-width: 22px; font-size: 14px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.fieldset legend, .lbl { font: 800 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg-ctl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-ctl label { position: relative; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 12px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--white); font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.seg-ctl input { position: absolute; opacity: 0; pointer-events: none; }
.seg-ctl label:has(input:checked) { background: var(--ink); color: var(--yolk); }
.seg-ctl label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 2.5px solid var(--ink); border-radius: 12px; padding: 11px 13px; font: 600 15px var(--f-body); background: var(--white); color: var(--ink); }
.field textarea { resize: vertical; min-height: 64px; }
.hint { font-size: 13px; color: var(--ink-2); background: var(--yolk-3); border: 2px dashed var(--amber); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.dr-foot { padding: 16px 20px 20px; border-top: 2.5px solid var(--ink); background: var(--white); display: grid; gap: 10px; }
.dr-foot .btn { width: 100%; padding-block: 16px; font-size: 16px; }
.dr-foot small { text-align: center; color: var(--ink-2); font-size: 12.5px; }
.dr-empty { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 40px 10px; }
.dr-empty svg { width: 96px; height: 96px; }
.dr-empty h3 { font-size: 30px; }
.dr-empty p { margin: 0; color: var(--ink-2); }
body.lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .ticker-track, .band .track { animation: none !important; }
}

/* ---------- Agregados de la versión Laravel ---------- */
/* Foto real del producto (reemplaza a la ilustración) */
.card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-art img { transform: scale(1.05); }
.card-art:has(img)::before { display: none; }
.card[hidden] { display: none !important; }

/* Banners publicitarios */
.ads { padding-block: 40px; background: var(--cream); }
.ads + .ads { padding-top: 0; }
.ads-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 24px; }
.ads-track::-webkit-scrollbar { display: none; }
.ad { scroll-snap-align: start; display: block; border: 2.5px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); margin: 0 8px 8px 0; }
a.ad:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.ad img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }
.ads-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.ads-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.ads-dots button[aria-current="true"] { background: var(--ink); }
@media (max-width: 700px) { .ad img { aspect-ratio: 4 / 3; } }

/* Pestañas de sucursal en el gráfico de horarios */
.branch-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.branch-tabs button { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 7px 14px; font: 800 13px/1 var(--f-body); cursor: pointer; }
.branch-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--yolk); }
.hours-fallback { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 700; }

/* Pie de la tarjeta: si el precio y el botón no entran en una línea (celulares
   de 320–360 px), el botón baja a su propia línea en vez de salirse de la tarjeta. */
.card-foot { flex-wrap: wrap; row-gap: 8px; }
.card-foot .ctl { margin-left: auto; }

/* Con el pedido abierto, el botón flotante "Ver pedido" no tapa el final de la página. */
body.has-cart footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

/* =====================================================================
   Ajustes táctiles y de celulares chicos (auditoría móvil)
   ===================================================================== */
/* iOS agranda la página al enfocar un campo con letra < 16px: siempre 16px en táctil. */
@media (max-width: 900px), (pointer: coarse) {
  .search input, .field input, .field select, .field textarea { font-size: 16px; }
}
@media (max-width: 700px), (pointer: coarse) {
  /* Objetivos de toque de 40–44px (celulares y tablets) */
  .chip { padding: 12px 16px; }
  .add { min-height: 44px; padding-inline: 16px; }
  .stepper button, .cl .stepper button { width: 42px; height: 42px; }
  .ticket .btn-sm { min-height: 44px; }
  .branch-tabs button { min-height: 40px; padding-inline: 16px; }
  /* Letra legible en sellos y etiquetas */
  .card .flag { font-size: 11px; }
}
@media (max-width: 380px) {
  /* Encabezado en 320–380px: entra logo, estado y carrito sin desbordar */
  .header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 20px; }
  .live { padding: 7px 10px; font-size: 12px; }
  .cart-btn { width: 44px; height: 44px; }
  .wrap { padding-inline: 16px; }
}
@media (max-width: 700px) {
  .st-stamp > div { width: 108px; height: 108px; font-size: 11px; }
  .st-stamp b { font-size: 19px; }
}

/* El texto chico de la marca nunca por debajo de 11px. */
.brand-name small { font-size: 11px; }
/* 320px: el botón de enviar el pedido puede ocupar dos líneas antes que cortarse. */
.dr-foot .btn { white-space: normal; text-align: center; line-height: 1.2; }

/* Anton tiene tildes muy altas: en un título de dos líneas la Á de "CLÁSICA" pisaba la L
   de "MILANESA". Los títulos editables desde el panel que pueden partirse en dos líneas
   llevan interlineado suficiente para cualquier tilde o Ñ. */
.ticket h3, .branch h3, .steps h3, .dr-head h2 { line-height: 1.12; }
.about .quote { line-height: 1.08; }
/* Portada: cada línea tiene overflow hidden (animación de entrada); se le da aire arriba
   para que una tilde ("RÁPIDO", "CAMPIÑA") no quede recortada, sin cambiar el espaciado. */
.hero h1 .line { padding-top: .12em; margin-top: -.12em; }

/* Nota de la presentación ("ahorrás $2.399"): siempre debajo de la presentación. Al lado se leía
   como parte de la cuenta ("5 x · ahorrás $2.000 $13.499"). */
.pill > span:first-child { display: grid; gap: 1px; }
@media (max-width: 380px) {
  /* El sello de envío gratis entra completo y el botón de WhatsApp tapa menos. */
  .st-stamp { right: -2%; }
  .fab { width: 54px; height: 54px; right: 14px; }
  .fab svg { width: 26px; height: 26px; }
}

/* ---------- WhatsApp por sucursal ---------- */
.branch-wa { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 800; text-decoration: none; }
.branch-wa svg { width: 20px; height: 20px; color: var(--green); }
.branch.main .branch-wa svg { color: #5ee08f; }
.wa-to { color: var(--ink-2); font-weight: 600; font-size: 12.5px; }

.wa-chooser { width: min(440px, calc(100% - 32px)); padding: 0; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--cream); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.wa-chooser::backdrop { background: rgba(31, 20, 12, .55); backdrop-filter: blur(3px); }
.wa-chooser[open] { animation: popIn .3s var(--bounce); }
.wa-chooser-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 22px; background: var(--yolk); border-bottom: 2.5px solid var(--ink); }
.wa-chooser-head h2 { font-size: 26px; line-height: 1.1; }
.wa-chooser-head form { margin: 0; }
.wa-options { display: grid; gap: 12px; padding: 18px; }
.wa-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--white); text-decoration: none; box-shadow: 0 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s; }
.wa-option:hover, .wa-option:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.wa-option:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.wa-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; border: 2px solid var(--ink); }
.wa-ic svg { width: 24px; height: 24px; }
.wa-txt b { display: block; font-size: 17px; }
.wa-txt small { display: block; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.wa-txt .wa-num { color: var(--green-2); font-weight: 800; }
.wa-state { font: 800 11px/1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; background: var(--line); color: var(--ink-2); white-space: nowrap; }
.wa-state.open { background: #dff5e7; color: var(--green-2); }
.wa-state:empty { display: none; }
