/* ─── Tokens ─────────────────────────────────────────────────────
   Primitivos: colores medidos en su menú y su logo.
   Semánticos: para qué se usa cada uno.
   Componentes: lo que consumen botones y tarjetas. */
:root {
  /* Primitivos */
  --orange-600: #EB510B;   /* fondo de su menú */
  --orange-700: #C8430A;
  --cream-50: #FFFBF3;
  --cream-100: #FBF5EA;
  --cream-200: #F3E9D9;    /* tarjetas de su menú */
  --cream-300: #E6D8C3;
  --mustard-200: #FBE6B8;
  --mustard-400: #F2B233;  /* píldora de precio */
  --blue-700: #134AC5;     /* letras del logo */
  --red-600: #D5141F;      /* mantel de cuadros */
  --ink-900: #1E0E06;      /* contorno del logo */
  --ink-600: #5F4A3B;
  --white: #FFFFFF;
  --green-500: #25D366;

  /* Semánticos */
  --bg: var(--cream-100);
  --surface: var(--white);
  --surface-warm: var(--cream-200);
  --text: var(--ink-900);
  --text-soft: var(--ink-600);
  --brand: var(--orange-600);
  --accent: var(--mustard-400);
  --link: var(--blue-700);
  --line: var(--ink-900);
  --line-soft: var(--cream-300);
  --error: #B3121C;
  --focus: var(--blue-700);
  --check-a: rgba(213, 20, 31, .62);

  /* Tipografía */
  --font-display: "Bowlby One", "Arial Black", sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;

  /* Forma y movimiento */
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --spring: cubic-bezier(.2, 1.4, .5, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 66px;
  --gut: 16px;

  /* Componentes */
  --shadow-s: 0 2px 8px rgba(62, 30, 8, .1);
  --shadow-m: 0 8px 24px rgba(62, 30, 8, .13);
  --shadow-l: 0 18px 44px rgba(62, 30, 8, .2);
  --shadow-cta: 0 8px 20px rgba(30, 14, 6, .26);
  --field-border: 1.5px solid var(--line-soft);
  --btn-bg: var(--accent);
  --btn-fg: var(--text);
  --card-bg: var(--surface);
  --check-size: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--font-body); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
section[id], [id="bebidas"], [id="reglas"] { scroll-margin-top: calc(var(--nav-h) + 64px); }
.i { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.nojs { padding: 24px; text-align: center; }

/* Mantel: el mismo de cuadros rojos de sus fotos */
.mantel, .mantel-bg {
  background-color: var(--white);
  background-image: linear-gradient(90deg, var(--check-a) 50%, transparent 50%), linear-gradient(var(--check-a) 50%, transparent 50%);
  background-size: var(--check-size) var(--check-size);
}
.scallop {
  height: 46px; --check-size: 30px;
  -webkit-mask: radial-gradient(14px at 50% 14px, #000 98%, #0000) 50% 0/30px 14px repeat-x, linear-gradient(#000 0 0) 0 13px/100% 100% no-repeat;
          mask: radial-gradient(14px at 50% 14px, #000 98%, #0000) 50% 0/30px 14px repeat-x, linear-gradient(#000 0 0) 0 13px/100% 100% no-repeat;
}

/* ─── Botones ────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 800; text-decoration: none; line-height: 1.15; text-align: center;
  box-shadow: var(--shadow-cta);
  transition: transform .2s var(--spring), box-shadow .2s var(--ease), background-color .2s;
  touch-action: manipulation; user-select: none;
}
.btn.paper { background: var(--surface); box-shadow: var(--shadow-s); }
.btn.wa { background: var(--green-500); }
.btn.full { width: 100%; }
.btn.grow { flex: 1; padding-inline: 12px; }
.btn.small { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn.ok { background: var(--green-500); }
.btn:active { transform: scale(.95); box-shadow: var(--shadow-s); transition-duration: .06s; }
@media (hover:hover) { .btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); } .btn:active { transform: scale(.95); } }
.splat { position: absolute; border-radius: 50%; background: rgba(235, 81, 11, .3); pointer-events: none; animation: splat .5s ease-out forwards; }
@keyframes splat { from { transform: scale(0); opacity: 1; } to { transform: scale(1); opacity: 0; } }

.kicker { font-weight: 800; font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.kicker.ink { color: var(--brand); }
.chip-p { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; font: 400 1.14rem/1.1 var(--font-display); white-space: nowrap; }
.chip-p small { font: 800 .72rem/1.2 var(--font-body); color: var(--text-soft); }
.heat { display: inline-flex; margin-left: 4px; color: var(--brand); vertical-align: -1px; }
.heat .i { width: .86em; height: .86em; }
.hint { color: var(--text-soft); font-size: .86rem; line-height: 1.35; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: var(--nav-h); padding: 0 var(--gut); background: rgba(251, 245, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-soft); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 48px; height: 48px; flex: none; transition: transform .35s var(--spring); }
.brand:active img { transform: rotate(-14deg) scale(.92); }
.brand span { font: 400 .95rem/1 var(--font-display); white-space: nowrap; }
.brand small { display: block; margin-top: 3px; font: 800 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.nav nav { display: none; }
.status { display: none; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--error); }
.status.open::before { background: var(--green-500); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 800; transition: transform .18s var(--spring); touch-action: manipulation; }
.cart-btn:active { transform: scale(.92); }
.cart-btn b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--ink-900); font-size: .78rem; }
.cart-l { display: none; }
.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { scale: 1.16; rotate: -3deg; } }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { position: relative; display: grid; justify-items: start; gap: 10px; padding: 18px var(--gut) 0; background: radial-gradient(120% 70% at 75% 42%, #F7661A 0, var(--brand) 62%); color: var(--text); overflow: hidden; }
.hero-copy { display: contents; }
.status.in-hero { order: 1; display: inline-flex; max-width: 100%; white-space: normal; line-height: 1.2; padding: 4px 12px; background: var(--bg); border-radius: 999px; }
.hero .kicker { order: 2; color: var(--ink-900); }
h1 { order: 3; margin: 0 0 2px; font: 400 clamp(2.9rem, 14.5vw, 5rem)/.94 var(--font-display); color: var(--cream-100); text-shadow: 3px 3px 0 var(--ink-900); }
h1 span { display: block; }
.js h1 span { animation: drop .6s var(--spring) backwards; }
.js h1 span:nth-child(2) { animation-delay: .09s; }
.js h1 span:nth-child(3) { animation-delay: .18s; }
@keyframes drop { from { transform: translateY(-46px) rotate(-3deg); opacity: 0; } }
.plate-wrap { order: 4; position: relative; z-index: 1; justify-self: center; width: min(84vw, 360px); aspect-ratio: 1; margin: -2px 0 2px; transition: transform .25s ease-out; touch-action: pan-y; }
.lead { order: 5; max-width: 30em; font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
.cta { order: 6; display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 6px; }
.cta .btn { flex: 1 1 140px; }
.facts { order: 7; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 14px; font-size: .88rem; font-weight: 600; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.plate { position: absolute; inset: 13%; border-radius: 50%; box-shadow: 0 0 0 9px var(--white), 0 0 0 11px var(--line), 0 26px 40px 8px rgba(62, 18, 2, .45); overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; inset: 0; }
.ring svg { width: 100%; height: 100%; overflow: visible; animation: spin 38s linear infinite; transform-origin: 50% 50%; }
.ring text { font: 400 24px var(--font-display); fill: var(--ink-900); }
@keyframes spin { to { transform: rotate(360deg); } }
.cap { position: absolute; right: 0; bottom: 6%; display: grid; place-content: center; text-align: center; width: 88px; height: 88px; border-radius: 50%; background: var(--accent); outline: 2px dashed var(--line); outline-offset: -7px; rotate: -10deg; box-shadow: var(--shadow-cta); animation: wob 4s ease-in-out infinite; }
.cap small { font-weight: 800; font-size: .72rem; line-height: 1; }
.cap b { font: 400 1.05rem/1.1 var(--font-display); }
@keyframes wob { 50% { rotate: 6deg; } }
.hero > .mantel { order: 8; position: relative; z-index: 2; width: calc(100% + var(--gut) * 2); margin: 0 calc(var(--gut) * -1); }

/* ─── Encabezados de sección ─────────────────────────────────── */
.sec { padding: 42px var(--gut) 50px; }
.sec-head { max-width: 40em; margin-bottom: 20px; }
.sec-head h2 { text-wrap: balance; margin: 3px 0 5px; font: 400 clamp(2rem, 8.4vw, 3.4rem)/1.03 var(--font-display); }
.sec-head p:not(.kicker) { font-weight: 500; color: var(--text-soft); }
.sec-head.sub { margin-top: 44px; }
.on-mantel { display: inline-block; padding: 16px 20px; background: var(--surface); border-radius: var(--r-m); box-shadow: var(--shadow-m); }
.orange-bg { background: var(--brand); }
.orange-bg .kicker.ink { color: var(--ink-900); }
.orange-bg .sec-head p:not(.kicker) { color: var(--ink-900); }
.ink-bg { background: var(--ink-900); color: var(--cream-100); }
.ink-bg .sec-head p:not(.kicker) { color: var(--cream-200); }
.paper-bg { background: var(--bg); }

/* ─── Destacadas ─────────────────────────────────────────────── */
.stars { padding: 46px 0 40px; }
.stars .sec-head { padding-inline: var(--gut); margin-bottom: 16px; }
.s-track { display: flex; gap: 14px; padding: 4px var(--gut) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.s-track::-webkit-scrollbar { display: none; }
.star { position: relative; flex: 0 0 min(80vw, 330px); aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface-warm); box-shadow: var(--shadow-m); scroll-snap-align: center; text-align: left; transition: transform .22s var(--spring), box-shadow .22s var(--ease); touch-action: manipulation; }
.star img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.star-t { position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 54px 16px 14px; background: linear-gradient(transparent, rgba(30, 14, 6, .88) 62%); color: var(--white); }
.star-t b { font: 400 1.34rem/1.08 var(--font-display); }
.star-p { display: flex; align-items: center; justify-content: space-between; font: 400 1.14rem/1 var(--font-display); }
.star-p i { padding: 9px 18px; border-radius: 999px; background: var(--accent); color: var(--ink-900); font: 800 .95rem/1 var(--font-body); }
.star:active { transform: scale(.97); }
@media (hover:hover) { .star:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); } .star:hover img { transform: scale(1.06); } }

/* ─── Pestañas y filtros ─────────────────────────────────────── */
.tabs { position: sticky; top: var(--nav-h); z-index: 20; display: flex; gap: 6px; padding: 9px var(--gut); overflow-x: auto; scrollbar-width: none; background: var(--surface); box-shadow: var(--shadow-s); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 4px 15px; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none; transition: background-color .15s, color .15s; touch-action: manipulation; }
.tabs a.on { background: var(--brand); color: var(--ink-900); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { min-height: 44px; padding: 6px 18px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-s); font-weight: 800; transition: transform .16s var(--spring), background-color .15s; touch-action: manipulation; }
.filters button:active { transform: scale(.93); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* ─── Tarjeta de burger ──────────────────────────────────────── */
.b-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.b-grid.two { grid-template-columns: minmax(0, 1fr); }
.bcard { position: relative; display: flex; flex-direction: column; background: var(--card-bg); border-radius: var(--r-m); box-shadow: var(--shadow-m); overflow: hidden; transition: transform .22s var(--spring), box-shadow .22s var(--ease); }
.b-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-warm); }
.b-photo > img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(var(--zoom, 1.09)); transition: transform .5s var(--ease); }
.tag { position: absolute; left: 8px; top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent); font-size: .74rem; font-weight: 800; }
.ph { display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; height: 100%; background: linear-gradient(145deg, var(--cream-200), var(--mustard-200)); text-align: center; }
.ph img { width: 42%; min-width: 64px; }
.ph span { font-size: .8rem; font-weight: 800; color: var(--text-soft); }
.b-body { flex: 1; display: flex; flex-direction: column; padding: 11px 12px 12px; }
.bcard h3 { font: 400 1.02rem/1.12 var(--font-display); }
.bcard p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 5px 0 9px; font-size: .82rem; line-height: 1.3; color: var(--text-soft); }
.stretch { padding: 0; border: 0; background: none; font: inherit; text-align: left; touch-action: manipulation; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.bcard:has(.stretch:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.stretch:focus-visible { outline: 0; }
.b-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.sizes { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.add { position: relative; display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--brand); color: var(--ink-900); box-shadow: 0 5px 12px rgba(235, 81, 11, .38); transition: transform .2s var(--spring), background-color .15s; }
.add.real { width: 44px; height: 44px; touch-action: manipulation; }
.add.real .splat { display: none; }
.bcard:active { transform: scale(.97); box-shadow: var(--shadow-s); transition-duration: .06s; }
.bcard:active .add, .add.real:active { transform: scale(.84) rotate(90deg); }
.bcard.live { box-shadow: 0 10px 28px rgba(235, 81, 11, .3); }
.bcard.live { --zoom: 1.15; }
@media (hover:hover) {
  .bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); --zoom: 1.17; }
  .bcard:hover .add { background: var(--accent); transform: rotate(90deg) scale(1.08); }
  .bcard:active { transform: scale(.97); }
}
.b-grid.two .b-photo { aspect-ratio: 16/10; }
.b-grid.two .b-photo > img { object-position: 50% 12%; --zoom: 1; }
.b-grid.two p { -webkit-line-clamp: 3; font-size: .9rem; }
.b-grid.two h3 { font-size: 1.25rem; }
.js .reveal { opacity: 0; translate: 0 18px; }
.js .reveal.in { opacity: 1; translate: 0 0; transition: opacity .4s, translate .5s var(--ease); }

/* ─── Promo Packs sobre el mantel ────────────────────────────── */
.mantel-bg { --check-size: 56px; }
.p-track { display: flex; gap: 14px; margin: 0 calc(var(--gut) * -1); padding: 8px var(--gut) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
.p-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 min(84vw, 340px); display: flex; flex-direction: column; scroll-snap-align: center; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-l); overflow: hidden; transform: scale(var(--k, 1)); transition: box-shadow .22s var(--ease); }
.js .pcard.reveal { opacity: 1; translate: 0 0; }
.p-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.p-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.save { position: absolute; left: 10px; top: 10px; padding: 4px 11px; border-radius: 999px; background: var(--accent); font-size: .82rem; font-weight: 800; box-shadow: var(--shadow-s); }
.p-body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.p-body h3 { font: 400 1.28rem/1.1 var(--font-display); }
.p-body ul { margin: 8px 0 14px; font-size: .95rem; line-height: 1.35; }
.p-body li, .incl li { position: relative; padding-left: 15px; }
.p-body li::before, .incl li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.p-price { display: grid; line-height: 1.1; }
.p-price s { font-size: .86rem; font-weight: 600; color: var(--text-soft); }
.p-price b { font: 400 1.45rem/1.1 var(--font-display); }
.p-count { width: max-content; margin: 2px auto 0; padding: 2px 13px; border-radius: 999px; background: var(--surface); font-weight: 800; font-size: .86rem; box-shadow: var(--shadow-s); }
@media (hover:hover) { .pcard:hover .p-photo img { transform: scale(1.07); } }

/* ─── Pared de salsas ────────────────────────────────────────── */
.lids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
.lid { display: grid; justify-items: center; align-content: start; gap: 9px; padding: 0; border: 0; background: none; color: var(--cream-100); touch-action: manipulation; }
.cup { position: relative; display: block; width: min(24vw, 96px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .55) 0 7%, transparent 22%), var(--c); box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 0 0 7px var(--cream-200); transition: transform .22s var(--spring); }
.lid .l { font-weight: 800; font-size: .88rem; line-height: 1.12; text-align: center; }
.lid .heat { color: var(--accent); }
.lid:active .cup { transform: scale(.86); }
.lid.pop .cup { animation: lidpop .42s var(--spring); }
@keyframes lidpop { 40% { transform: scale(1.14) rotate(-10deg); } }
@media (hover:hover) { .lid:hover .cup { transform: translateY(-5px) rotate(-10deg); } }
.badge { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--ink-900); font: 800 .8rem/1 var(--font-body); box-shadow: var(--shadow-s); }

/* ─── Extras ─────────────────────────────────────────────────── */
.x-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xcard { display: flex; flex-direction: column; background: var(--card-bg); border-radius: var(--r-m); box-shadow: var(--shadow-m); overflow: hidden; transition: transform .22s var(--spring), box-shadow .22s var(--ease); }
.x-photo { aspect-ratio: 1; overflow: hidden; }
.x-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.xcard h3 { padding: 10px 12px 0; font: 400 .98rem/1.12 var(--font-display); }
.xcard p { flex: 1; margin: 4px 12px 8px; font-size: .82rem; line-height: 1.3; color: var(--text-soft); }
.x-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px 12px; }
@media (hover:hover) { .xcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); } .xcard:hover .x-photo img { transform: scale(1.08); } .add.real:hover { background: var(--accent); } }

/* ─── Cómo pedir ─────────────────────────────────────────────── */
.info { padding: 46px var(--gut) 54px; background: var(--surface-warm); }
.how { display: grid; gap: 10px; margin-bottom: 18px; }
.how li { position: relative; min-height: 72px; padding: 12px 14px 12px 70px; background: var(--surface); border-radius: var(--r-m); }
.how b { position: absolute; left: 13px; top: 13px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); font: 400 1.2rem var(--font-display); }
.how h3 { font: 400 1.06rem/1.2 var(--font-display); }
.how p { font-size: .94rem; color: var(--text-soft); }
.info-grid { display: grid; gap: 12px; }
.note { padding: 18px; background: var(--surface); border-radius: var(--r-m); }
.note h3 { display: flex; align-items: center; gap: 7px; font: 400 1.04rem/1.2 var(--font-display); }
.note p { margin: 6px 0 0; font-size: .96rem; color: var(--text-soft); }
.note .big { margin-top: 8px; color: var(--text); font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.links { display: grid; gap: 10px; align-content: start; }
.links .btn { min-height: 48px; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socials .btn { padding-inline: 8px; background: var(--surface-warm); box-shadow: none; }
.sister { font-size: .9rem !important; }
.sister a { display: inline-block; padding-block: 11px; color: var(--link); font-weight: 800; }
.rules { margin-top: 12px; background: var(--surface); border-radius: var(--r-m); overflow: hidden; }
.rules summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 12px 18px; font: 400 1.04rem/1.2 var(--font-display); cursor: pointer; list-style: none; touch-action: manipulation; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-warm); font: 800 1.3rem/1 var(--font-body); transition: transform .25s var(--spring); }
.rules[open] summary span { transform: rotate(45deg); }
.rules ul { display: grid; gap: 12px; padding: 0 18px 20px; font-size: .94rem; line-height: 1.42; color: var(--text-soft); }
.rules li { position: relative; padding-left: 16px; }
.rules li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.foot { background: var(--ink-900); color: var(--cream-200); text-align: center; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.foot .mantel { rotate: 180deg; }
.foot img { width: 92px; margin: 26px auto 12px; }
.foot p { max-width: 34em; margin: 0 auto; padding: 0 var(--gut); font-size: .86rem; }

/* ─── Barra del pedido ───────────────────────────────────────── */
.fab { position: fixed; z-index: 25; left: var(--gut); right: var(--gut); bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 9px; min-height: 58px; padding: 8px 20px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 800; box-shadow: var(--shadow-l); transition: transform .18s var(--spring); animation: rise .4s var(--spring); touch-action: manipulation; }
.fab strong { margin-left: auto; font: 400 1.1rem var(--font-display); color: var(--accent); }
.fab:active { transform: scale(.97); }
@keyframes rise { from { translate: 0 90px; } }
.flyer { position: fixed; z-index: 60; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-l); pointer-events: none; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 18px); max-width: calc(100vw - 32px); width: max-content; padding: 9px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .28s var(--spring); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ─── Paneles ────────────────────────────────────────────────── */
dialog { color: var(--text); border: 0; padding: 0; background: var(--bg); }
dialog::backdrop { background: rgba(30, 14, 6, .62); }
.sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 92dvh; margin: 0; border-radius: var(--r-l) var(--r-l) 0 0; overflow: clip; transition: transform .22s ease-out; }
.sheet[open] { display: flex; flex-direction: column; animation: up .3s var(--ease); }
@keyframes up { from { translate: 0 100%; } }
.grab { flex: none; display: grid; place-items: center; height: 24px; background: var(--brand); touch-action: none; cursor: grab; }
.grab i { width: 46px; height: 5px; border-radius: 9px; background: var(--ink-900); }
.close { position: absolute; z-index: 3; right: 12px; top: 34px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-m); transition: transform .16s var(--spring); touch-action: manipulation; }
.close:active { transform: scale(.88); }
.close.static { position: static; }
.sheet-in { overflow-y: auto; overscroll-behavior: contain; }
.s-photo { display: grid; place-items: center; padding: 22px 16px 24px; background: var(--brand); }
.b-plate.big { width: min(56vw, 230px); height: min(56vw, 230px); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--white), var(--shadow-l); animation: roll .55s var(--spring); }
.b-plate.big > img { width: 100%; height: 100%; object-fit: cover; }
@keyframes roll { from { transform: rotate(-70deg) scale(.7); } }
.s-photo.has-wide { padding: 0; }
.s-photo .wide { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.s-photo.has-tall { padding: 12px; }
.s-photo .tall { width: auto; max-height: 50dvh; border-radius: var(--r-s); }
.s-body { display: grid; gap: 14px; padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom)); }
.s-body h2 { font: 400 1.6rem/1.06 var(--font-display); }
.s-body > p { color: var(--text-soft); font-size: .98rem; }
.s-rule { padding: 8px 12px; background: var(--surface-warm); border-radius: var(--r-s); font-size: .88rem; font-weight: 600; color: var(--text) !important; }
.incl { display: grid; gap: 3px; font-weight: 600; }
legend { margin-bottom: 8px; padding: 0; font-weight: 800; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg label, .chips label, .addons label { cursor: pointer; }
.seg input, .chips input, .addons input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; padding: 6px 8px; text-align: center; line-height: 1.15; border: var(--field-border); border-radius: var(--r-s); background: var(--surface); font-weight: 800; transition: background-color .15s, border-color .15s, transform .16s var(--spring); }
.seg small { font-weight: 600; font-size: .82rem; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); }
.seg label:active span, .chips label:active span, .addons label:active span { transform: scale(.96); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips label > span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 15px; border: var(--field-border); border-radius: 999px; background: var(--surface); font-weight: 600; transition: background-color .15s, border-color .15s, transform .16s var(--spring), opacity .15s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); font-weight: 800; }
.chips input:checked + span .heat { color: var(--ink-900); }
.chips input:disabled + span { opacity: .45; }
.addons { display: grid; gap: 8px; }
.addons label > span { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px; border: var(--field-border); border-radius: var(--r-s); background: var(--surface); font-weight: 600; transition: background-color .15s, transform .16s var(--spring); }
.addons label > span::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--cream-300); border-radius: 6px; background: var(--surface); transition: background-color .15s, border-color .15s; }
.addons b { margin-left: auto; font-size: .9rem; white-space: nowrap; }
.addons input:checked + span { background: var(--mustard-200); }
.addons input:checked + span::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px var(--surface); }
input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.err { display: block; color: var(--error); font-weight: 600; font-size: .88rem; }
.err:empty { display: none; }
.s-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding-top: 6px; background: var(--bg); }
.qty { display: flex; align-items: center; gap: 3px; flex: none; }
.qty button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--field-border); border-radius: 50%; background: var(--surface); font-size: 1.3rem; font-weight: 800; line-height: 1; transition: transform .14s var(--spring); touch-action: manipulation; }
.qty button:active { transform: scale(.86); }
.qty .splat { display: none; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(100vw, 460px); max-width: none; height: 100dvh; max-height: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-l); }
.drawer[open] { animation: side .3s var(--ease); }
@keyframes side { from { translate: 100% 0; } }
.d-in { display: flex; flex-direction: column; min-height: 100%; padding: 12px var(--gut) calc(16px + env(safe-area-inset-bottom)); }
.d-in > header { display: flex; align-items: center; gap: 10px; }
.d-in > header h2 { flex: 1; font: 400 1.5rem/1.1 var(--font-display); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 18px; font-size: .8rem; font-weight: 800; }
.steps li { padding-top: 6px; border-top: 4px solid var(--line-soft); color: var(--text-soft); }
.steps li.on { border-color: var(--brand); color: var(--text); }
.step { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.empty, .done { align-items: center; justify-content: center; text-align: center; }
.empty { display: flex; flex-direction: column; gap: 14px; padding-block: 40px; font-weight: 600; }
.burger { width: 92px; height: 92px; animation: wob 3s ease-in-out infinite; }
.done h3 { font: 400 1.5rem/1.1 var(--font-display); }
.lines { display: grid; gap: 10px; }
.lines li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; background: var(--surface); border-radius: var(--r-s); box-shadow: var(--shadow-s); }
.lines h3 { font-size: .96rem; font-weight: 800; line-height: 1.15; }
.lines small { display: block; color: var(--text-soft); line-height: 1.2; }
.lines b { font-size: .95rem; }
.th, .tp { border-radius: var(--r-s); overflow: hidden; }
.th { width: 58px; height: 58px; }
.tp { flex: none; width: 42px; height: 42px; }
.th img, .tp img { width: 100%; height: 100%; object-fit: cover; }
.lines .qty button { width: 36px; height: 36px; font-size: 1.1rem; }
.lines .qty button::after { content: ""; position: absolute; inset: -5px; }
.d-foot { position: sticky; bottom: 0; margin-top: auto; padding: 12px 0 2px; background: var(--bg); }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.sum b { font: 400 1.5rem var(--font-display); }
.sum-note { margin-bottom: 10px; font-size: .86rem; color: var(--text-soft); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: var(--field-border); border-radius: var(--r-s); background: var(--surface); font-size: 1rem; }
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 3px rgba(235, 81, 11, .2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field .btn { justify-self: start; }
.ticket { padding: 16px 16px 26px; background: var(--surface);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%; }
.t-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px dashed var(--line-soft); }
.t-top b { font: 400 1.1rem var(--font-display); }
.t-top span { padding: 2px 11px; border-radius: 999px; background: var(--accent); font-weight: 800; font-size: .84rem; }
.t-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.t-item > div:nth-child(2) { flex: 1; min-width: 0; line-height: 1.2; }
.t-item small { display: block; color: var(--text-soft); }
.t-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 2px dashed var(--line-soft); font-weight: 800; }
.t-total b { font: 400 1.35rem var(--font-display); }
.t-note, .closed-note, .rule-link { font-size: .87rem; color: var(--text-soft); }
.t-note { margin-top: 3px; }
.t-data { margin-top: 10px; font-size: .92rem; overflow-wrap: anywhere; }
.closed-note { padding: 9px 12px; background: var(--mustard-200); border-radius: var(--r-s); color: var(--text); font-weight: 600; }
.rule-link a { display: inline-block; padding-block: 8px; color: var(--link); font-weight: 800; }

/* ─── Pantallas medianas y grandes ───────────────────────────── */
@media (min-width: 560px) {
  .x-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lids { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how li { padding: 66px 14px 16px; }
  .b-grid { gap: 18px; }
  .b-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard p { font-size: .88rem; -webkit-line-clamp: 3; }
}
@media (min-width: 720px) {
  .b-grid:not(.two) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
  :root { --gut: 32px; --nav-h: 76px; }
  .cart-l { display: inline; }
  .cart-btn { padding-inline: 16px; }
  .brand img { width: 56px; height: 56px; }
  .brand span { font-size: 1.1rem; }
  .nav { gap: 22px; }
  .nav nav { display: flex; gap: 4px; }
  .nav nav a { padding: 8px 13px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: background-color .15s; }
  .nav nav a:hover { background: var(--surface-warm); }
  .status { display: inline-flex; }
  .status.in-hero { display: none; }
  .fab { display: none; }
  .toast { bottom: 28px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px; padding-top: 40px; padding-inline: max(var(--gut), calc((100vw - 1240px) / 2)); }
  .hero-copy { display: block; }
  .hero > .mantel { grid-column: 1 / -1; width: auto; justify-self: stretch; margin-inline: calc(max(var(--gut), calc((100vw - 1240px) / 2)) * -1); }
  h1 { margin: 10px 0 14px; font-size: clamp(4.4rem, 8.4vw, 7.6rem); text-shadow: 5px 5px 0 var(--ink-900); }
  .lead { font-size: 1.25rem; }
  .cta { margin-top: 20px; }
  .cta .btn { flex: 0 1 auto; min-width: 170px; }
  .facts { margin: 20px 0 0; font-size: .92rem; }
  .plate-wrap { width: min(44vw, 560px); margin: 0 0 -60px; }
  .cap { width: 124px; height: 124px; }
  .cap small { font-size: .85rem; }
  .cap b { font-size: 1.5rem; }
  .sec, .info { padding-inline: max(var(--gut), calc((100vw - 1240px) / 2)); }
  .sec { padding-block: 72px 80px; }
  .stars { padding: 84px max(var(--gut), calc((100vw - 1240px) / 2)) 64px; }
  .stars .sec-head { padding-inline: 0; }
  .s-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 4px 0; overflow: visible; }
  .star-t { padding: 80px 22px 20px; }
  .star-t b { font-size: 1.7rem; }
  .tabs { justify-content: center; }
  .b-grid { gap: 24px; }
  .bcard h3 { font-size: 1.16rem; }
  .b-body { padding: 15px 16px 16px; }
  .b-grid.two { grid-template-columns: repeat(2, minmax(0, 520px)); }
  .p-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 8px 0; overflow: visible; }
  .x-grid { gap: 18px; }
  .lids { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 16px; }
  .cup { width: 112px; }
  .info { padding-block: 72px 80px; }
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .how { gap: 18px; margin-bottom: 18px; }
  .rules { margin-top: 18px; }
  .rules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
  .sheet { inset: 0; margin: auto; width: min(92vw, 860px); height: max-content; max-height: 88dvh; border-radius: var(--r-l); box-shadow: var(--shadow-l); }
  .sheet[open] { animation: pop .28s var(--spring); }
  @keyframes pop { from { scale: .92; opacity: 0; } }
  .grab { display: none; }
  .close { top: 12px; }
  .sheet-in { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 0; }
  .s-photo { position: sticky; top: 0; align-self: stretch; }
  .s-photo.has-wide { padding: 0; }
  .s-photo .wide { height: 100%; aspect-ratio: auto; }
  .s-photo .tall { max-height: 74dvh; }
  .b-plate.big { width: 270px; height: 270px; }
  .s-body { padding: 26px 26px 20px; align-content: start; }
}
@media (min-width: 1100px) {
  .b-grid:not(.two) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
