/* Rustiven Pizzería — identidad de la carta: negro carbón con dorado, y rojo tomate para los detalles. */
:root {
  /* Fondos (de más oscuro a más claro) */
  --black: #0d0b09;         /* pie de página */
  --bg: #14110e;            /* fondo principal: carbón */
  --bg-2: #1b1713;          /* secciones alternas, paneles */
  --oven: #24170d;          /* sección de combos: carbón cálido, como horno de leña */
  --surface: #251f19;       /* campos, opciones */
  --surface-2: #30281f;

  /* Marca */
  --gold: #e8b04b;          /* dorado cálido: botones, precios, títulos importantes */
  --gold-hover: #f4c56d;
  --on-gold: #1a130b;
  --tomato: #c93a22;        /* color de apoyo: “Más pedido”, ofertas y botón del pedido */
  --tomato-hover: #dc4a2f;
  --wa: #25d366;

  /* Texto */
  --text: #f5ecdc;          /* crema, solo para texto */
  --text-2: #bdb09e;
  --line: rgba(245, 236, 220, .12);
  --line-2: rgba(245, 236, 220, .26);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --nav: 64px;
  --banner: 28px;          /* aviso fijo de muestra arriba de todo */
  --tabs: 60px;
  --gutter: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --doodle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='%23e8b04b' stroke-opacity='.09' stroke-width='1.3'%3E%3Cpath d='M28 36l46 13-35 33z'/%3E%3Ccircle cx='44' cy='52' r='3'/%3E%3Ccircle cx='150' cy='46' r='20'/%3E%3Ccircle cx='150' cy='46' r='13'/%3E%3Cpath d='M110 150c9-20 37-20 46 0-9 7-37 7-46 0z'/%3E%3Ccircle cx='46' cy='156' r='13'/%3E%3Ccircle cx='42' cy='152' r='2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--banner) + var(--nav) + var(--tabs) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-top: var(--banner); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body.locked { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: calc(var(--banner) + 8px); z-index: 300; background: var(--gold); color: var(--on-gold); padding: 10px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Tipografía ---------- */
.eyebrow { margin: 0 0 14px; font: 500 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow--ink { color: var(--gold); }
.display {
  margin: 0; font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 96;
  font-size: clamp(54px, 15vw, 150px); line-height: .9; letter-spacing: -.04em; color: var(--text);
}
.giant {
  margin: 0; font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 96;
  font-size: clamp(46px, 10vw, 104px); line-height: .95; letter-spacing: -.035em; color: var(--text);
}
.giant--light { color: var(--text); }
.lead { margin: 18px 0 0; max-width: 46ch; font-size: 18px; color: var(--text-2); }

/* ---------- Botones: siempre píldora ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 13px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 15px; }
.btn--grow { flex: 1; }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px -12px rgba(232, 176, 75, .55); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--tomato { background: var(--tomato); color: #fff; }
.btn--tomato:hover { background: var(--tomato-hover); }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.ico--wa { color: currentColor; width: 20px; height: 20px; }
.count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-right: -8px;
  border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; letter-spacing: 0;
}

/* ---------- Barra superior ---------- */
.nav { position: sticky; top: var(--banner); z-index: 50; height: var(--nav); background: rgba(13, 11, 9, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.nav__links { display: none; }
.nav__logo { display: block; margin-right: auto; }
.nav__logo img { height: 48px; width: auto; }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .25s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mnav {
  position: fixed; inset: calc(var(--banner) + var(--nav)) 0 0; z-index: 49; background: var(--black);
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gutter) calc(32px + var(--safe-b));
  animation: fade .25s ease;
}
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { font: 300 44px/1.1 var(--display); letter-spacing: -.03em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav__links a:hover { color: var(--gold); }
.mnav__foot { display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.mnav__foot a { text-decoration: none; }
.mnav__foot p { margin: 0; }

/* ---------- Portada ---------- */
/* Celular: la foto vertical casi completa y el texto debajo, fundido sobre el carbón */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero__media { position: relative; }
.hero__img { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 74svh; object-fit: cover; object-position: 50% 30%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(20, 17, 14, .7) 20%, rgba(20, 17, 14, .15) 45%, rgba(20, 17, 14, 0) 70%);
}
.hero__content { position: relative; z-index: 1; margin-top: -84px; padding-bottom: 40px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }

.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--text-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a8178; flex: none; }
.status.is-open { color: var(--text); }
.status.is-open::before { background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
.status--ink { margin-top: 28px; }

/* ---------- Secciones divididas ---------- */
.split { padding: 72px 0; }
.split--sand { background: radial-gradient(120% 80% at 85% 20%, rgba(232, 176, 75, .14), transparent 60%), var(--oven); }
.split--paper { background: var(--bg-2); }
.split__in { display: grid; gap: 40px; align-items: center; }
.split__text .giant { max-width: 11ch; }
.ulinks { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; gap: 22px; }
.ulinks p { margin: 4px 0 0; color: var(--text-2); font-size: 16.5px; max-width: 44ch; }
.ulink { font: 700 20px/1.25 var(--sans); color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ulink:hover { color: var(--gold); }
.ulinks .price { margin-left: 10px; font-weight: 700; color: var(--gold); }
.split__media { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--map { aspect-ratio: 4 / 3; }
.split__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-load { position: absolute; inset: 0; width: 100%; border: 0; background: var(--surface); font: 600 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }

/* Etiquetas tipo píldora */
.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  font: 600 12px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
.tag--gold { background: var(--gold); color: var(--on-gold); }
.tag--hot { background: var(--tomato); color: #fff; }
.tag--outline { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); height: auto; min-height: 30px; padding: 8px 14px; line-height: 1.3; white-space: normal; }
.split__media .tag { position: absolute; top: 18px; left: 18px; }

/* ---------- Menú ---------- */
.menu { padding: 80px 0 48px; background: var(--bg); }
.menu__head { margin-bottom: 36px; }
.loading { color: var(--text-2); padding: 48px var(--gutter); }

.tabs { position: sticky; top: calc(var(--banner) + var(--nav)); z-index: 40; height: var(--tabs); background: rgba(20, 17, 14, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tabs__scroll { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs__scroll::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); text-decoration: none;
  font: 500 13px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
.tab:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--text-2); }
.tab[aria-current="true"] { background: var(--gold); color: var(--on-gold); box-shadow: none; }

.cat { padding-top: 64px; }
.cat__top { margin-bottom: 36px; }
.cat__head { display: grid; gap: 10px; }
.cat__title { margin: 0; font: 300 clamp(42px, 9vw, 76px)/1 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -.03em; color: var(--text); }
/* Detalle dorado: una línea corta sobre cada título de categoría */
.cat__title::before {
  content: ""; display: block; width: 48px; height: 3px; margin-bottom: 18px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(232, 176, 75, .25));
}
.cat__intro { margin: 0; max-width: 52ch; color: var(--text-2); font-size: 17px; }
.cat__meta { margin: 4px 0 0; font: 600 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cat__note { justify-self: start; margin-top: 4px; }

/* Portada de categoría con foto: todas en 5:4 para que el plato se vea completo */
.cat__cover { position: relative; margin: 0 0 26px; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); }
.cat__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Portada de categoría sin foto: panel limpio con dibujitos de la carta */
.cat__top--plain {
  padding: 32px 24px; border-radius: var(--r); background: var(--doodle), linear-gradient(135deg, var(--bg-2), var(--oven));
  box-shadow: inset 0 0 0 1px var(--line);
}
.cat__top--plain .cat__title { color: var(--gold); }

/* Tarjetas con foto */
.cards { display: grid; gap: 44px 32px; margin-bottom: 44px; }
.card { display: block; text-decoration: none; color: inherit; border-radius: var(--r); }
.card__media { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.035); }
.card__tags { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { padding-top: 20px; }
.card__name { margin: 0; font: 300 26px/1.1 var(--display); font-variation-settings: "opsz" 48; text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
.card__desc { margin: 10px 0 0; color: var(--text-2); font-size: 16px; }
.card__price { margin: 12px 0 0; font-weight: 700; font-size: 16px; color: var(--gold); }

/* Lista limpia para productos sin foto */
.rows { display: grid; column-gap: 32px; }
.row { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0 26px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.row__main { flex: 1; min-width: 0; }
.row .card__tags { position: static; margin-bottom: 10px; }
.row .card__name { font-size: 23px; }
.row .card__desc { margin-top: 6px; font-size: 15.5px; }
.row .card__price { margin-top: 8px; }
.plus {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 2px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--gold); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.plus svg { width: 18px; height: 18px; }
.row:hover .plus { background: var(--gold); color: var(--on-gold); box-shadow: none; }
.row:hover .card__name { color: var(--gold); }

.menu__end {
  margin-top: 64px; padding: 40px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.menu__end p { margin: 0; font: 300 32px/1.15 var(--display); letter-spacing: -.02em; max-width: 22ch; }

/* ---------- Pie ---------- */
.foot { background: var(--black); padding: 88px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); }
.foot__cta { display: grid; gap: 28px; justify-items: start; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.foot__cta .giant { color: var(--gold); }
.foot__grid { display: grid; gap: 36px; padding: 48px 0; }
.foot__brand img { width: 130px; height: auto; }
.foot__brand p { margin: 12px 0 0; color: var(--text-2); }
.foot__h { margin: 0 0 14px; font: 500 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot p { margin: 0 0 10px; color: var(--text-2); }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot__small { font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Flotantes ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .6);
}
.fab svg { width: 30px; height: 30px; }
.cartbar {
  position: fixed; left: 16px; right: 84px; bottom: calc(16px + var(--safe-b)); z-index: 44; height: 58px;
  display: flex; align-items: center; gap: 12px; padding: 0 22px 0 10px; border: 0; border-radius: 999px;
  background: var(--tomato); color: #fff; font: 600 15px var(--sans); letter-spacing: .02em;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .7); animation: rise .3s ease;
}
.cartbar__count { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 700; }
.cartbar__label { flex: 1; text-align: left; }
.cartbar__total { font-variant-numeric: tabular-nums; }

/* ---------- Detalle de producto ---------- */
.detail { position: fixed; inset: var(--banner) 0 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); animation: fade .25s ease; }
.detail__bar { flex: none; height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--black); }
.detail__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.detail__grid { max-width: 1240px; margin: 0 auto; padding: 16px var(--gutter) 40px; display: grid; gap: 28px; }
.detail__media { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__media figcaption { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 11, 9, .72); color: var(--text); font-size: 12px; }
.detail__media .card__tags { z-index: 1; }
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(232, 176, 75, .16), transparent 60%), var(--doodle), var(--oven);
}
.ph img { width: 42%; max-width: 220px; height: auto; object-fit: contain; }
.ph span { font: 300 clamp(26px, 5vw, 40px)/1.05 var(--display); letter-spacing: -.02em; text-transform: uppercase; color: var(--gold); }
.detail__info { min-width: 0; }
.detail__info .eyebrow { margin-bottom: 10px; }
.detail__name { margin: 0; font: 300 clamp(40px, 9vw, 68px)/.98 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -.02em; text-transform: uppercase; }
.detail__desc { margin: 16px 0 0; font-size: 17px; color: var(--text-2); max-width: 52ch; }
.detail__price { margin: 18px 0 0; font: 400 32px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.detail__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.detail__list li { position: relative; padding-left: 20px; }
.detail__list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.gift { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--tomato); color: #fff; font-weight: 600; font-size: 14.5px; }
.gift svg { width: 18px; height: 18px; }
.detail__foot { flex: none; border-top: 1px solid var(--line); background: var(--black); padding: 12px var(--gutter) calc(12px + var(--safe-b)); }
.detail__foot-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.detail__foot .stepper button { width: 42px; }
.detail__foot .btn { padding: 0 18px; letter-spacing: .06em; }
.btn__extra { display: none; }
@media (min-width: 440px) { .btn__extra { display: inline; } }

/* Opciones */
.opt { border: 0; margin: 32px 0 0; padding: 0; min-width: 0; }
.opt legend { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 12px; padding: 0; font: 500 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.opt legend small { font-size: 12px; letter-spacing: .04em; text-transform: none; color: var(--text-2); font-weight: 500; }
.opt legend small.req { color: #ff8f78; }
.opt legend small.ok { color: #7fd99a; }
.choice {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 18px; margin-bottom: 8px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__mark { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; display: grid; place-items: center; }
.choice--check .choice__mark { border-radius: 6px; }
.choice__label { flex: 1; font-weight: 500; font-size: 16px; line-height: 1.25; }
.choice__label small { display: block; color: var(--text-2); font-weight: 400; font-size: 13px; }
.choice__price { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--gold); background: var(--surface-2); }
.choice:has(input:checked) .choice__mark { background: var(--gold); box-shadow: none; }
.choice:has(input:checked) .choice__mark::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--on-gold); }
.choice--check:has(input:checked) .choice__mark::after { width: 10px; height: 6px; border-radius: 0; background: none; border: solid var(--on-gold); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.choice:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; font-size: 15px; }
.pill input:checked + span { background: var(--gold); color: var(--on-gold); box-shadow: none; }
.pill input:disabled + span { opacity: .35; cursor: not-allowed; }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.note-in { width: 100%; height: 54px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; }
.note-in:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.stepper { flex: none; display: flex; align-items: center; height: 58px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--surface); }
.stepper button { width: 48px; height: 100%; border: 0; background: transparent; font-size: 22px; color: var(--gold); border-radius: 999px; }
.stepper output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Carrito ---------- */
.layer { position: fixed; inset: var(--banner) 0 0; z-index: 70; display: flex; justify-content: flex-end; }
.layer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); animation: fade .2s ease; }
.drawer { position: relative; width: 100%; max-width: 480px; height: 100%; display: flex; flex-direction: column; background: var(--bg-2); animation: slide .3s cubic-bezier(.2, .8, .2, 1); }
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--nav); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__title { margin: 0; font: 300 30px/1 var(--display); letter-spacing: -.02em; color: var(--gold); }
.x { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 24px; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; overscroll-behavior: contain; }
.drawer__foot { flex: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px var(--gutter) calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--black); }
.drawer__foot .btn { min-width: 0; padding: 0 18px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__main { flex: 1; min-width: 0; }
.line__name { margin: 0; font: 400 18px/1.2 var(--display); text-transform: uppercase; }
.line__detail { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line__price { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.line .stepper { height: 40px; }
.line .stepper button { width: 38px; font-size: 18px; }
.empty { padding: 40px 0 8px; color: var(--text-2); }
.empty b { display: block; font: 300 30px/1.1 var(--display); color: var(--text); margin-bottom: 8px; letter-spacing: -.02em; }
.empty .btn { margin-top: 20px; }
.upsell { margin-top: 20px; }
.upsell p { margin: 0 0 10px; font: 500 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.upsell__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.upsell__row button { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; }
.upsell__row button span { color: var(--gold); font-weight: 700; margin-left: 6px; }
.checkout { margin-top: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { padding: 0; font: 500 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--text-2); }
.field input { height: 54px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff8f78; }
.field input::placeholder, .note-in::placeholder { color: #8f8475; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 44px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.seg input:checked + span { background: var(--gold); color: var(--on-gold); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hint { margin: 0; font-size: 14px; color: var(--text-2); }
.form-error { margin: 0; color: #ff8f78; font-weight: 600; font-size: 14.5px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.total strong { font: 400 30px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.sent { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); font-size: 15px; }
.sent a, .sent button { color: var(--gold); font-weight: 600; }
.sent button { background: none; border: 0; padding: 0; text-decoration: underline; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(88px + var(--safe-b)); z-index: 80; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 440px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 14px 14px 14px 22px; border-radius: 28px; background: var(--surface-2); color: var(--text);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); font-size: 15px; animation: rise .3s ease;
}
.toast span { flex: 1 1 180px; }
.toast button { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Animaciones ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate(var(--tx, 0), 16px); } }
.toast { --tx: -50%; }
@keyframes slide { from { transform: translateX(32px); opacity: .5; } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero__img { aspect-ratio: auto; height: 74svh; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .rows { grid-template-columns: repeat(2, 1fr); }
  .cat__top--plain { padding: 44px 40px; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .split { padding: 104px 0; }
}

/* ---------- Computadora ---------- */
@media (min-width: 1000px) {
  :root { --nav: 76px; --gutter: 40px; }
  .nav__in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__links { display: flex; gap: 30px; }
  .nav__links a { font: 300 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--text); padding: 8px 0; border-bottom: 1px solid transparent; }
  .nav__links a:hover { color: var(--gold); border-color: var(--gold); }
  .nav__logo { margin: 0; }
  .nav__logo img { height: 58px; }
  .nav__actions { justify-self: end; }
  .burger { display: none; }
  .mnav { display: none !important; }

  /* Portada: texto a la izquierda y la foto a la derecha a toda la altura, sin tapar su cara ni la pizza */
  .hero { height: calc(100svh - var(--nav) - var(--banner)); min-height: 600px; max-height: 860px; }
  /* La foto de portada mide 736 px: se limita el ancho para que no se estire ni se vea borrosa */
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(58%, 780px); }
  .hero__img { width: 100%; height: 100%; max-height: none; object-position: 50% 42%; }
  .hero__shade {
    background:
      linear-gradient(to right, var(--bg) 0%, rgba(20, 17, 14, .55) 16%, rgba(20, 17, 14, 0) 42%),
      linear-gradient(to top, rgba(20, 17, 14, .55) 0%, transparent 30%);
  }
  .hero__content { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; padding-bottom: 72px; }
  .hero .display { font-size: clamp(64px, 6.6vw, 108px); max-width: 5.6em; }
  .hero .eyebrow, .hero__row { max-width: 40%; }

  .split__in { grid-template-columns: 1.05fr 1fr; gap: 80px; }
  .split--paper .split__in { grid-template-columns: 1fr 1.05fr; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
  .rows { grid-template-columns: repeat(3, 1fr); }
  .card__name { font-size: 28px; }
  .menu { padding-top: 120px; }
  .cat { padding-top: 96px; }

  /* Portada de categoría: título al lado de la foto */
  .cat__top.has-photo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: end; margin-bottom: 56px; }
  .cat__top.has-photo .cat__cover { order: 2; margin: 0; }
  .cat__top.has-photo .cat__head { order: 1; padding-bottom: 8px; }
  .has-photo .cat__title { font-size: clamp(56px, 6vw, 96px); }
  .cat__title::before { width: 64px; margin-bottom: 24px; }
  .cat__top--plain { display: flex; align-items: flex-end; min-height: 220px; padding: 48px 56px; margin-bottom: 48px; }
  .cat__top--plain .cat__title { font-size: clamp(56px, 6vw, 96px); }

  .detail__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; padding: 40px var(--gutter) 64px; align-items: start; }
  .detail__media { position: sticky; top: 24px; }
  .detail__foot-in { justify-content: flex-end; padding: 0 var(--gutter); }
  .detail__foot-in > .btn { flex: 0 1 440px; }

  .fab { right: 28px; bottom: 28px; }
  .cartbar { display: none !important; }
  .toast { bottom: 32px; }
  .foot { padding-bottom: 56px; }
}

/* ---------- Aviso de muestra: fijo arriba, siempre visible y sin tapar contenido ---------- */
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--banner);
  display: flex; align-items: center; justify-content: center; padding: 0 12px;
  background: #0a0807; border-bottom: 1px solid var(--line); color: var(--text-2);
  font: 500 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-bar b { color: var(--gold); font-weight: 600; margin-right: 6px; }
