@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root {
  --carbon: #171916;
  --carbon-soft: #252822;
  --orange: #f47b20;
  --orange-hover: #df6611;
  --orange-soft: #fff0e4;
  --green: #17643a;
  --green-soft: #e8f3ec;
  --canvas: #f3f1ed;
  --surface: #ffffff;
  --ink: #181a17;
  --muted: #62665f;
  --line: #dedfd9;
  --error: #9b2828;
  --error-soft: #fff0ef;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-card: 0 12px 32px rgba(24, 26, 23, .08);
  /* Compatibilidad con las reglas funcionales del estilo base. */
  --verde: var(--green);
  --verde-osc: var(--carbon);
  --naranja: var(--orange);
  --naranja-accion: var(--orange);
  --fondo: var(--canvas);
  --tinta: var(--ink);
  --gris: var(--muted);
  --linea: var(--line);
  --rojo: var(--error);
  --rojo-suave: var(--error-soft);
  --sombra: var(--shadow-card);
}

html { background: var(--canvas); }
* { font-family: "Archivo", "Avenir Next", "Segoe UI", sans-serif; }
body {
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(244, 123, 32, .35);
  outline-offset: 3px;
}

.pantalla { min-height: 100svh; background: var(--canvas); }
.cuerpo {
  max-width: 560px;
  padding: 22px 16px calc(40px + env(safe-area-inset-bottom));
}

/* Acceso: escenario QSR, no formulario de Go Lunch. */
#p-acceso { background: var(--canvas); }
.acceso-shell {
  width: 100%;
  max-width: 560px;
  min-height: 100svh;
  margin: 0 auto;
  background: var(--canvas);
}
.acceso-brand {
  min-height: 72px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid #ecece7;
}
.acceso-brand .logo-app {
  width: 142px;
  height: 48px;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.acceso-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3f453e;
  font-size: .7rem;
  font-weight: 700;
}
.acceso-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.acceso-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 18px 27px;
  background: var(--carbon);
  color: #fff;
}
.acceso-hero::after {
  content: "GRILL";
  position: absolute;
  right: -12px;
  top: 54px;
  color: rgba(255, 255, 255, .035);
  font-size: 7.2rem;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}
.acceso-heading { position: relative; z-index: 1; }
.acceso-heading h1 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 11vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .93;
  text-wrap: balance;
}
.acceso-heading h1 em { color: var(--orange); font-style: normal; }
.acceso-heading p {
  max-width: 320px;
  margin: 14px 0 0;
  color: #c9cdc5;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.48;
}
.acceso-food-row {
  position: relative;
  z-index: 1;
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1.15fr .92fr .92fr;
  gap: 8px;
}
.acceso-food-row figure {
  height: 100px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--carbon-soft);
}
.acceso-food-row figure:first-child { height: 118px; }
.acceso-food-row figure:nth-child(2) { margin-top: 18px; }
.acceso-food-row figure:nth-child(3) { margin-top: 9px; }
.acceso-food-row img { width: 100%; height: 100%; object-fit: cover; }
.acceso-panel {
  position: relative;
  z-index: 2;
  margin: -1px 12px 0;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
  border-radius: 0 0 24px 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.fecha-servicio {
  width: 100%;
  margin: 0 0 16px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid #dedfd9;
  border-radius: 14px;
  background: #f8f8f5;
  color: var(--ink);
  text-align: left;
}
.fecha-servicio .fecha-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--carbon);
  color: var(--orange);
}
.fecha-servicio svg { width: 19px; height: 19px; }
.fecha-servicio strong { display: block; font-size: .74rem; line-height: 1.35; }
.fecha-servicio small { display: block; margin-top: 2px; color: var(--muted); font-size: .65rem; font-weight: 600; }
.acceso-form { margin-top: 2px; }
.acceso-form label {
  display: block;
  margin: 0 0 7px 2px;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 800;
}
.acceso-input {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1.5px solid #cacdc6;
  border-radius: 14px;
  background: #fff;
  color: var(--carbon);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.acceso-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,123,32,.12); }
.acceso-input svg { width: 20px; height: 20px; flex: 0 0 auto; }
.acceso-input input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: left;
}
.acceso-input input::placeholder { color: #8b8e87; opacity: 1; }
.acceso-form .btn-grande { margin-top: 10px; }
.acceso-seguridad {
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.4;
  text-align: center;
}
.acceso-seguridad svg { width: 15px; height: 15px; color: var(--green); flex: 0 0 auto; }
.registro-cta { margin-top: 19px; padding-top: 16px; border-top: 1px solid #ebece7; text-align: center; }
.registro-cta p { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.registro-cta .btn-linea { margin-top: 8px; }

/* Barra operativa: blanco de app, riel naranja de servicio. */
.barra {
  min-height: 72px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid #e3e4de;
  box-shadow: 0 5px 18px rgba(23, 25, 22, .05);
}
.barra::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--orange);
}
.barra-logo {
  width: 142px;
  height: 48px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}
.btn-salir-app {
  position: absolute;
  inset-inline-start: 16px;
  min-width: 60px;
  min-height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d4d6d0;
  border-radius: 12px;
  background: #fff;
  color: var(--carbon);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}
.btn-salir-app svg { width: 17px; height: 17px; flex: 0 0 auto; }
.chip-corte {
  position: absolute;
  right: 16px;
  margin: 0;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: var(--carbon);
  color: #fff;
  font-size: .61rem;
  font-weight: 800;
  line-height: 1.15;
}

.screen-intro { margin: 3px 0 19px; }
.screen-intro h1 {
  color: var(--ink);
  font-size: 1.72rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.screen-intro p { margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
h2.seccion {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-transform: none;
}
h2.seccion:first-child { margin-top: 0; }

.tarjeta {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.campo { margin-bottom: 16px; }
.campo label, .tarjeta label { margin-bottom: 7px; color: #444840; font-size: .74rem; font-weight: 800; }
.campo input, .campo select, .tarjeta input {
  min-height: 54px;
  padding: 13px 14px;
  border: 1.5px solid #cfd1ca;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: .96rem;
  box-shadow: none;
}
.campo input:focus, .campo select:focus, .tarjeta input:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 4px rgba(244,123,32,.12);
}
.campo .pista { margin-top: 6px; color: var(--muted); font-size: .7rem; }
.opciones-tipo { gap: 9px; }
.opcion-tipo {
  min-height: 68px;
  padding: 13px 14px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 120ms var(--ease-out);
}
.opcion-tipo::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid #b5b9b1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}
.opcion-tipo.sel { border-color: var(--orange); background: var(--orange-soft); }
.opcion-tipo.sel::before { border-color: var(--orange); background: var(--orange); }
.opcion-tipo small { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.opcion-tipo .marca-sel { display: none !important; }

.btn-grande, .btn-linea, .barra-carrito .btn-mini {
  min-height: 52px;
  border-radius: 13px;
  font-weight: 900;
  letter-spacing: -.015em;
  transition: transform 120ms var(--ease-out), box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}
.btn-grande {
  padding: 15px 18px;
  background: var(--orange);
  color: var(--carbon);
  box-shadow: 0 9px 20px rgba(211, 90, 10, .18);
}
.btn-grande span { margin-left: 5px; }
.btn-grande:disabled { background: #cacbc6; color: #757870; box-shadow: none; }
.btn-linea {
  min-height: 50px;
  margin-top: 11px;
  padding: 13px 16px;
  border: 1.5px solid #c7c9c3;
  background: #fff;
  color: var(--carbon);
}
.btn-grande:active:not(:disabled), .btn-linea:active, .btn-mini:active:not(:disabled), .mas:active:not(:disabled), .menos:active:not(:disabled), .opcion-tipo:active { transform: scale(.96); }

.banner { margin-bottom: 14px; padding: 12px 14px; border-radius: 13px; font-size: .8rem; line-height: 1.5; }
.banner.error { border-color: #edc6c2; background: var(--error-soft); color: #812222; }
.banner.info { border-color: #cddfd4; background: var(--green-soft); color: #134e2f; }
.nota-acceso { max-width: 440px; margin: 15px auto 0; color: var(--muted); font-size: .74rem; line-height: 1.55; }

/* Menú de comida rápida: promoción editorial + catálogo visual. */
.saludo {
  margin-bottom: 13px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: .78rem;
}
.menu-feature {
  min-height: 128px;
  margin: 0 0 25px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--carbon);
  color: #fff;
  box-shadow: 0 15px 32px rgba(23,25,22,.14);
}
.menu-feature > div { padding: 18px 8px 17px 17px; align-self: center; }
.menu-feature strong { display: block; font-size: 1.18rem; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.menu-feature span { display: block; margin-top: 8px; color: #c8ccc4; font-size: .68rem; line-height: 1.45; }
.menu-feature img { width: 100%; height: 100%; object-fit: cover; }
.menu-feature.es-especial {
  cursor: pointer;
  transition: transform 120ms var(--ease-out), box-shadow 160ms ease;
}
.menu-feature.es-especial:active { transform: scale(.985); }
.menu-feature.es-especial:focus-visible {
  outline: 3px solid rgba(244,123,32,.42);
  outline-offset: 3px;
}
.menu-feature-accion {
  width: max-content;
  margin-top: 10px !important;
  padding: 5px 8px;
  border-radius: 9px;
  background: var(--orange);
  color: var(--carbon) !important;
  font-weight: 900;
}
.menu-feature-accion[aria-hidden="true"] { display: none; }
.menu-title { margin-bottom: 13px; }
#menu-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#menu-lista.cargando { display: block; }
.plato {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 0 11px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 0 7px 18px rgba(23,25,22,.055);
}
.plato .foto {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  background: var(--surface);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.plato .foto img { object-fit: contain; object-position: center; }
.plato .info { padding: 11px 11px 8px; }
.plato .nombre { font-size: .85rem; font-weight: 900; line-height: 1.18; letter-spacing: -.02em; }
.plato .desc { margin-top: 5px; color: var(--muted); font-size: .66rem; line-height: 1.34; -webkit-line-clamp: 2; }
.plato .precio { margin-top: 8px; color: var(--ink); font-size: .86rem; font-weight: 900; }
.badge-star {
  margin: 0 0 6px;
  padding: 4px 7px;
  border-radius: 7px;
  background: var(--orange-soft);
  color: #9a3b08;
  font-size: .56rem;
  letter-spacing: .01em;
}
.stepper { justify-self: end; margin: 0 10px; gap: 5px; }
.mas, .menos {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--carbon);
  font-size: 1.18rem;
  box-shadow: none;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}
.plato > .mas { justify-self: end; margin: 0 10px; }
.plato:focus { outline: none; }
.plato.plato-destino {
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(211,90,10,.18);
  animation: especial-destino 1.4s var(--ease-out);
}
@keyframes especial-destino {
  0%, 100% { transform: translateY(0); }
  28% { transform: translateY(-4px); }
}
.menos { border: 1.5px solid #c8cbc4; background: #fff; color: var(--carbon); }
.cant { min-width: 18px; color: var(--ink); font-size: .86rem; }
.mas:disabled { opacity: .35; }
.tope-aviso { border-radius: 12px; background: var(--orange-soft); color: #7b370e; }
.aviso-legal { margin-top: 17px; }

.barra-carrito {
  width: min(calc(100% - 24px), 536px);
  margin: 0 auto max(10px, env(safe-area-inset-bottom));
  padding: 10px 11px 10px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: var(--carbon);
  box-shadow: 0 14px 32px rgba(23,25,22,.24);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  transform: translateY(0);
  opacity: 1;
  transition: transform 220ms var(--ease-out), opacity 160ms ease, box-shadow 160ms ease;
}
.barra-carrito .btn-mini { min-height: 44px; padding: 10px 14px; background: var(--orange); color: var(--carbon); }
.barra-carrito.vacio { pointer-events: none; transform: translateY(110%); opacity: 0; }

.renglon {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
}
.renglon .n { font-size: .86rem; font-weight: 800; }
.renglon .imp { font-size: .86rem; font-weight: 900; }
.total-caja {
  padding: 17px;
  border: 0;
  border-radius: 18px;
  background: var(--carbon);
  color: #fff;
  box-shadow: 0 14px 30px rgba(23,25,22,.13);
}
.total-caja .fila { color: #bec2bb; }
.total-caja .fila.total { border-color: #454941; color: #fff; font-size: 1.24rem; }
.aviso-caja, .aviso-final {
  margin-top: 15px;
  padding: 13px 14px;
  border: 1px solid #f1c29f;
  border-radius: 14px;
  background: var(--orange-soft);
  color: #6e3210;
  font-size: .77rem;
  line-height: 1.5;
}
.aviso-final { margin-bottom: 12px; }

.modalidad {
  width: 100%;
  padding: 15px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 120ms var(--ease-out);
}
.modalidad.sel { border-color: var(--orange); background: var(--orange-soft); }
.modalidad:disabled { cursor: not-allowed; opacity: .58; }
.modalidad .t { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; line-height: 1.38; }
.modalidad .t::before { content: ""; width: 22px; height: 22px; flex: 0 0 auto; background: center / contain no-repeat; }
.modalidad[data-mod="ruta"] .t::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171916' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E"); }
.modalidad[data-mod="comedor"] .t::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171916' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V10l8-6 8 6v11M8 21v-7h8v7M3 21h18'/%3E%3C/svg%3E"); }
.modalidad .d { margin: 6px 0 0 31px; color: var(--muted); font-size: .73rem; }
.modalidad .tag { margin: 9px 0 0 31px; background: var(--green-soft); color: #134f2f; font-size: .67rem; }
.slots { grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 13px 0 0; }
.slot {
  min-height: 58px;
  padding: 10px 5px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: transform 120ms var(--ease-out), border-color 160ms ease, background-color 160ms ease;
}
.slot.sel { border-color: var(--carbon); background: var(--carbon); }
.slot.pocos { border-color: var(--orange); }
.slot.lleno { border-color: #d6d7d2; background: #e9e9e5; }

.confirmada { padding-top: 12px; }
.palomita {
  width: 72px;
  height: 72px;
  margin-top: 0;
  background: var(--orange);
  color: var(--carbon);
  box-shadow: 0 12px 28px rgba(211,90,10,.20);
}
.folio-txt { margin-top: 12px; }
.folio-txt b { color: var(--ink); font-size: 1.62rem; }
.qr-caja { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.qr-caja.es-clave {
  width: min(100%, 320px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--carbon);
  color: #fff;
  box-shadow: 0 16px 34px rgba(23,25,22,.18);
}
.clave-entrega { padding: 18px; text-align: center; }
.clave-entrega h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.clave-entrega-numero {
  display: block;
  margin: 9px 0 7px;
  color: var(--orange);
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .16em;
  text-indent: .16em;
  font-variant-numeric: tabular-nums;
}
.clave-entrega > p { margin: 0 auto; max-width: 31ch; color: #d7d9d4; font-size: .75rem; line-height: 1.45; }
.clave-entrega-desbloqueo { margin-top: 14px; text-align: left; }
.clave-entrega-desbloqueo label { display: block; margin-bottom: 6px; color: #fff; font-size: .72rem; font-weight: 800; }
.clave-entrega-desbloqueo > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.clave-entrega-desbloqueo input,
.clave-entrega-desbloqueo button {
  min-height: 46px;
  border-radius: 11px;
  font: inherit;
}
.clave-entrega-desbloqueo input {
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid #656961;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: .12em;
}
.clave-entrega-desbloqueo input:focus-visible { outline: 3px solid rgba(244,123,32,.38); outline-offset: 2px; border-color: var(--orange); }
.clave-entrega-desbloqueo button {
  padding: 10px 13px;
  border: 0;
  background: var(--orange);
  color: var(--carbon);
  font-size: .74rem;
  font-weight: 900;
}
.clave-entrega-desbloqueo button:disabled { opacity: .6; }
.clave-entrega-error { min-height: 1.2em; margin: 7px 0 0; color: #ffd0c7; font-size: .7rem; line-height: 1.4; }
.resumen-conf { border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.estado-badge { padding: 6px 12px; }
.estado-badge.pendiente { background: var(--orange-soft); color: #753600; }
.estado-badge.pagado, .estado-badge.entregado { background: var(--green); color: #fff; }
.siguiente-paso { font-size: .86rem; }
#p-cerrado { background: var(--orange); }
.cerrado-billboard {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  background: var(--orange);
  overflow: hidden;
}
.cerrado-antojo { padding: 25px 0 20px; }
.cerrado-copy { padding: 0 20px; }
.cerrado-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--carbon);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cerrado-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(255,255,255,.38);
}
.cerrado-antojo h1 {
  max-width: 520px;
  margin: 9px 0 0;
  color: var(--carbon);
  font-size: clamp(2.45rem, 11vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .93;
}
#cerrado-detalle {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--carbon-soft);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}
.cerrado-food-window {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}
.cerrado-food-window::before,
.cerrado-food-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 24px;
  pointer-events: none;
}
.cerrado-food-window::before { left: 0; background: linear-gradient(90deg, var(--orange), transparent); }
.cerrado-food-window::after { right: 0; background: linear-gradient(270deg, var(--orange), transparent); }
.cerrado-food-track { display: flex; width: max-content; }
.cerrado-food-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}
.cerrado-plato {
  width: 148px;
  flex: 0 0 148px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 15px 32px rgba(23,25,22,.14);
}
.cerrado-plato img {
  width: 100%;
  height: 118px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}
.cerrado-plato figcaption {
  min-height: 42px;
  padding: 10px 11px;
  color: var(--carbon);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.25;
}
.cerrado-panel {
  margin: 0 13px;
  padding: 20px;
  border-radius: 24px;
  background: var(--carbon);
  color: #fff;
  box-shadow: 0 15px 32px rgba(23,25,22,.14);
}
.cerrado-estado {
  padding-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--muted);
}
.cerrado-reloj {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--orange);
  color: var(--carbon);
}
.cerrado-reloj svg { width: 25px; height: 25px; }
.cerrado-estado p {
  color: var(--line);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
}
.cerrado-estado strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.15;
}
/* Qué pasó con SU pedido de hoy se conserva dentro del panel operativo. */
#cerrado-tu-pedido {
  margin: 13px 0 0;
  color: var(--line);
  font-size: .78rem;
  line-height: 1.5;
}
#cerrado-tu-pedido b { color: #fff; letter-spacing: .03em; }
.cerrado-revisar { margin-top: 18px; }
.cerrado-consultar {
  border-color: var(--muted);
  background: transparent;
  color: #fff;
}
.cerrado-alternativa {
  padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--carbon-soft);
}
.cerrado-alternativa svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--green); }
.cerrado-alternativa p { font-size: .76rem; line-height: 1.5; }
.cerrado-movimiento-pausado .cerrado-food-track { animation-play-state: paused; }
.version-badge { display: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-grande:hover:not(:disabled), .barra-carrito .btn-mini:hover:not(:disabled), .mas:hover:not(:disabled) { background: var(--orange-hover); color: #fff; }
  .btn-linea:hover, .btn-salir-app:hover { background: #f0f0ec; }
  .cerrado-consultar:hover { background: var(--carbon-soft); }
  .plato { transition: transform 180ms var(--ease-out), box-shadow 180ms ease; }
  .plato:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(23,25,22,.10); }
}

@media (min-width: 620px) {
  body { background: #e8e6e1; }
  .pantalla {
    width: 560px;
    margin: 0 auto;
    box-shadow: 0 0 52px rgba(23,25,22,.10);
  }
  #p-acceso { background: #e8e6e1; }
}

@media (max-width: 460px) {
  .acceso-hero { padding-left: 15px; padding-right: 15px; }
  .acceso-heading h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .acceso-panel { margin-left: 8px; margin-right: 8px; padding-left: 13px; padding-right: 13px; }
  .cuerpo { padding-left: 13px; padding-right: 13px; }
  .barra { padding-left: 13px; padding-right: 13px; }
  .btn-salir-app { inset-inline-start: 13px; }
  .chip-corte { right: 13px; }
  #menu-lista { grid-template-columns: 1fr; }
  .plato { grid-template-rows: auto 1fr auto; }
  .plato .nombre { font-size: .92rem; }
  .plato .desc { font-size: .72rem; }
  .plato .precio { font-size: .92rem; }
  .cerrado-copy { padding-left: 17px; padding-right: 17px; }
  .cerrado-plato { width: 142px; flex-basis: 142px; }
  .cerrado-panel { margin-left: 10px; margin-right: 10px; padding: 18px; }
}

@media (max-width: 355px) {
  .acceso-food-row figure { height: 88px; }
  .acceso-food-row figure:first-child { height: 104px; }
  .barra-logo { width: 110px; height: 44px; }
}

@media (max-width: 300px) {
  .barra-logo { width: 90px; }
  .btn-salir-app { min-width: 44px; width: 44px; padding: 0; }
  .btn-salir-app span { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .pantalla.activa { animation: screen-in 220ms var(--ease-out) both; }
  #p-acceso.activa .acceso-heading { animation: hero-in 280ms var(--ease-out) both; }
  #p-acceso.activa .acceso-food-row { animation: food-in 280ms 50ms var(--ease-out) both; }
  #p-cerrado.activa .cerrado-food-window { animation: cerrado-food-enter 600ms cubic-bezier(.16, 1, .3, 1) both; }
  #p-cerrado.activa .cerrado-food-track { animation: cerrado-food-parade 18s linear infinite; will-change: transform; }
  #p-mio.activa .palomita { animation: confirm-in 240ms var(--ease-out) both; }
  .cant-cambio { animation: quantity-in 160ms var(--ease-out) both; }
  @keyframes screen-in {
    from { opacity: .72; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes hero-in {
    from { opacity: .75; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes food-in {
    from { opacity: .7; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes cerrado-food-enter {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes cerrado-food-parade {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
  }
  @keyframes confirm-in {
    from { opacity: .5; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes quantity-in {
    from { opacity: .65; transform: scale(.92); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .pantalla.activa, #p-acceso.activa .acceso-heading, #p-acceso.activa .acceso-food-row, #p-cerrado.activa .cerrado-food-window, #p-cerrado.activa .cerrado-food-track, #p-mio.activa .palomita, .cant-cambio { animation: none; }
  .barra-carrito, .btn-grande, .btn-linea, .btn-salir-app, .btn-mini, .mas, .menos, .opcion-tipo, .modalidad, .slot { transition-duration: 1ms; }
}
