@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/estaticos/fuentes/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/estaticos/fuentes/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/estaticos/fuentes/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/estaticos/fuentes/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Copperplate Gothic Bold";
  src: url("/estaticos/fuentes/copperplate-gothic-bold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Street Power";
  src: url("/estaticos/fuentes/street-power.woff2") format("woff2"), url("/estaticos/fuentes/street-power.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --carbon: #100809;
  --brasa: #1c0c0e;
  --fogata: #bb0811;
  --papel: #f6f1ea;
  --ceniza: #d9cfc6;
}

.logo-cabecera {
  display: block;
  height: 3.75rem;
  width: auto;
}

.fuente-bundavah {
  font-family: "Copperplate Gothic Bold", Copperplate, "Copperplate Gothic", serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.fuente-frase {
  font-family: "Street Power", serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.15;
}

#inicio .fuente-frase {
  font-size: 3rem;
}

@media (min-width: 40rem) {
  #inicio .fuente-frase {
    font-size: 3.75rem;
  }
}

@media (min-width: 64rem) {
  #inicio .fuente-frase {
    font-size: 6rem;
  }
}

body {
  background: var(--carbon);
  color: var(--papel);
}

.sr-solo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.marca-agua {
  background-image:
    radial-gradient(circle at 80% -10%, rgba(187, 8, 17, 0.35), transparent 42%),
    linear-gradient(180deg, #1a090b 0%, var(--carbon) 28%);
}

.hero-foto {
  background:
    linear-gradient(180deg, rgba(16, 8, 9, 0.22) 0%, rgba(16, 8, 9, 0.16) 36%, rgba(16, 8, 9, 0.78) 64%, #100809 80%),
    url("/estaticos/marca/cortes.jpg") center 30% / cover no-repeat;
}

.hero-brasa {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 32% 38%, rgba(187, 8, 17, 0.72), transparent 42%);
  animation: resplandor 5.6s ease-in-out infinite;
}

.hero-marca {
  filter: drop-shadow(0 0 34px rgba(187, 8, 17, 0.45));
}

.hero-chispa {
  position: absolute;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  pointer-events: none;
  background: #bb0811;
  box-shadow: 0 0 14px #bb0811;
}

.hero-chispa-a { left: 22%; top: 42%; }
.hero-chispa-b {
  left: 68%;
  top: 34%;
  width: 0.3rem;
  height: 0.3rem;
  background: #f6f1ea;
  box-shadow: 0 0 12px #f6f1ea;
  animation-delay: 0.7s;
}
.hero-chispa-c {
  left: 78%;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 1.35s;
}

.foto-plato {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}

.foto-plato[width][height] {
  width: min(100%, calc(var(--foto-tope) * var(--foto-ancho) / var(--foto-alto)));
  max-height: var(--foto-tope);
  aspect-ratio: var(--foto-ancho) / var(--foto-alto);
}

.foto-plato-tarjeta {
  --foto-tope: clamp(7.5rem, 34vw, 13rem);
}

.foto-plato-banner {
  --foto-tope: min(22rem, 58vw);
  max-width: min(100%, 42rem);
}

.foto-plato-dialogo {
  --foto-tope: min(16rem, 40vh);
}

.foto-plato-admin {
  --foto-tope: 8rem;
}

.riel {
  scrollbar-width: none;
}

.riel.riel-fin {
  mask-image: linear-gradient(90deg, #000 calc(100% - 1.75rem), transparent);
}

.riel.riel-inicio {
  mask-image: linear-gradient(90deg, transparent, #000 1.75rem);
}

.riel.riel-inicio.riel-fin {
  mask-image: linear-gradient(90deg, transparent, #000 1.75rem, #000 calc(100% - 1.75rem), transparent);
}

.riel::-webkit-scrollbar {
  display: none;
}

.dialogo {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  overscroll-behavior: none;
  transition: background-color 0.2s ease-in;
}

.dialogo.abierto,
.dialogo.saliendo {
  display: flex;
}

.dialogo.abierto {
  background: rgba(0, 0, 0, 0.72);
  transition-duration: 0.32s;
  transition-timing-function: ease;
}

body.fondo-quieto {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

.dialogo-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(92vh, 860px);
  background: #16090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.2s ease-in;
}

.dialogo.abierto .dialogo-panel {
  transform: none;
  transition-duration: 0.42s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

#dialogo-instalacion:not(.abierto) .dialogo-panel {
  transform: translateY(1.25rem);
}

@keyframes cuenta-suma {
  from { transform: scale(1); }
  40% { transform: scale(1.18); }
  to { transform: scale(1); }
}

#cuenta-pedido.cuenta-suma {
  animation: cuenta-suma 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

#dialogo-instalacion {
  align-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

#dialogo-instalacion .dialogo-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
}

.boton-linea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boton-linea.hidden {
  display: none;
}

.dialogo-cuerpo {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 1.25rem 1.25rem;
}

.control-redondo {
  height: 3.25rem;
  width: 3.25rem;
  color: #f6f1ea;
}

.icono-control {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
}

.dialogo-acciones {
  flex: none;
  padding: 0.85rem 1.25rem max(1.1rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #12080a;
}

.metodos-entrega {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

body > header {
  padding-top: env(safe-area-inset-top);
}

#carta {
  scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px) + 1px);
}

#carta > .sticky {
  top: calc(5rem + env(safe-area-inset-top, 0px) + 1px);
}

#lista-productos {
  scroll-margin-top: calc(5rem + env(safe-area-inset-top, 0px) + 1px + 4rem);
}

#pantalla-carga {
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

#omitir-intro {
  bottom: max(2rem, env(safe-area-inset-bottom));
}

.promo-cabeza {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  container-type: inline-size;
}

.promo-cabeza h2 {
  flex: 1 1 100%;
  min-width: 0;
}

@container (min-width: 34rem) {
  .promo-cabeza h2 {
    flex-basis: auto;
  }
}

button.foco,
a.foco:not(.sr-solo),
.pestana {
  min-height: 1.5rem;
  min-width: 1.5rem;
}

@media (pointer: coarse) {
  button.foco,
  a.foco:not(.sr-solo),
  .pestana {
    min-height: 2.75rem;
    min-width: 2.75rem;
  }
}

.foco:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f6f1ea;
  outline-offset: 3px;
}

::selection {
  background: #bb0811;
  color: #ffffff;
}

a {
  text-underline-offset: 0.18em;
}

input,
textarea {
  caret-color: #f6f1ea;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #f6f1ea;
  caret-color: #f6f1ea;
  box-shadow: 0 0 0 1000px #100809 inset;
}

input::placeholder,
textarea::placeholder {
  color: #d9cfc6;
  opacity: 1;
}

html {
  scrollbar-color: #d9cfc6 #100809;
  scrollbar-width: thin;
}

.dialogo-cuerpo {
  scrollbar-color: #d9cfc6 #16090b;
}

.font-sello {
  font-variant-numeric: tabular-nums;
}

.icono-cantidad {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

button.bg-fogata,
a.bg-fogata {
  transition: background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pestana:hover {
    border-color: #f6f1ea;
    color: #f6f1ea;
  }

  button.bg-fogata:hover,
  a.bg-fogata:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
  }

  button.foco.rounded-full.border:hover,
  a.foco.rounded-full.border:hover {
    border-color: #f6f1ea;
    color: #f6f1ea;
  }
}

button.bg-fogata:active,
a.bg-fogata:active {
  background-color: #b91c1c;
  border-color: #b91c1c;
}

button.foco:active:not(.bg-fogata),
a.foco:active:not(.bg-fogata),
.pestana:active:not([aria-selected="true"]) {
  border-color: #f6f1ea;
}

#cantidad-menos:active,
#cantidad-mas:active {
  background-color: rgba(255, 255, 255, 0.08);
}

.esqueleto {
  background: linear-gradient(90deg, #241114 25%, #3a1a1e 37%, #241114 63%);
  background-size: 400% 100%;
  animation: brillo 1.4s ease infinite;
}

@keyframes brillo {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

@keyframes entrada {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.entra {
  animation: entrada 0.55s ease both;
}

.llega {
  position: relative;
  opacity: 0;
  transform: translateY(11vh);
  transition: opacity 0.7s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.llega::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #bb0811;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  pointer-events: none;
}

.llega.presente {
  opacity: 1;
  transform: none;
}

.llega.presente::after {
  transform: scaleX(1);
}

@keyframes llama {
  0% { opacity: 0; transform: translateY(2.75rem) scale(0.2); }
  46% { opacity: 1; transform: translateY(0) scale(1.14); }
  68% { transform: translateY(0.15rem) scale(0.94) rotate(-3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes resplandor {
  0%, 100% { opacity: 0.35; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes chispa {
  0% { opacity: 0; transform: translateY(1rem) scale(0.6); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-8.5rem) scale(0.15); }
}

@keyframes marca {
  0% { opacity: 0; transform: translateY(1.25rem) scale(0.86); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lema {
  0% { opacity: 0; transform: translateY(0.75rem); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes cortina {
  to { transform: translateY(-105%); }
}

.animate-llama { animation: llama 1.45s cubic-bezier(0.2, 0.85, 0.2, 1) both; }
.animate-resplandor { animation: resplandor 1.7s ease-in-out infinite; }
.animate-chispa { animation: chispa 1.55s ease-in infinite; }
.animate-marca { animation: marca 0.85s ease-out 0.7s both; }
.animate-lema { animation: lema 0.7s ease-out 1.15s both; }
.animate-cortina { animation: cortina 0.7s ease-in forwards; }

.pestana {
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pestana[aria-selected="true"],
.pestana[aria-pressed="true"] {
  border-color: #f6f1ea;
  background: #f6f1ea;
  color: #100809;
}

.pedido-tarjeta {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #100809;
  padding: 1rem 1.1rem 1.15rem;
}

.pedido-tarjeta.urgente {
  box-shadow: inset 3px 0 0 #bb0811;
}

.pedido-cabeza {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pedido-pasos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pedido-punto {
  display: block;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(217, 207, 198, 0.28);
}

.pedido-paso.hecho .pedido-punto,
.pedido-paso.actual .pedido-punto {
  background: #bb0811;
}

.pedido-paso.actual .pedido-punto {
  box-shadow: 0 0 0 3px rgba(187, 8, 17, 0.28);
}

.pedido-paso-nombre {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(217, 207, 198, 0.72);
}

.pedido-paso.actual .pedido-paso-nombre {
  color: #f6f1ea;
}

.sobre {
  position: relative;
  width: 12.5rem;
  height: 9.4rem;
  margin: 4.6rem auto 1.4rem;
  perspective: 50rem;
}

.sobre-hoja,
.sobre-fondo,
.sobre-izquierdo,
.sobre-derecho,
.sobre-base,
.sobre-solapa {
  position: absolute;
}

.sobre-fondo {
  z-index: 0;
  inset: 0;
  background: #8d1014;
}

.sobre-hoja {
  z-index: 1;
  top: -2.6rem;
  left: 0;
  right: 0;
  width: 4.4rem;
  height: 5.6rem;
  margin: 0 auto;
  border-radius: 0.15rem;
  background: #fffefb;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.sobre-hoja::before {
  content: "";
  display: block;
  height: 0.28rem;
  margin: 0.9rem 0.7rem 0;
  border-radius: 999px;
  background: #bb0811;
  box-shadow: 0 0.72rem 0 #d9cfc6, 0 1.44rem 0 #d9cfc6, 0 2.16rem 0 #d9cfc6;
}

.sobre-izquierdo,
.sobre-derecho,
.sobre-solapa {
  left: 0;
  right: 0;
  width: 0;
  height: 0;
  margin: 0 auto;
}

.sobre-izquierdo,
.sobre-derecho {
  z-index: 2;
  top: 0;
  border-top: 4.7rem solid transparent;
  border-bottom: 4.7rem solid transparent;
}

.sobre-izquierdo {
  border-left: 6.25rem solid #f6f1ea;
}

.sobre-derecho {
  border-right: 6.25rem solid #efe4d8;
}

.sobre-base {
  z-index: 2;
  top: 4.7rem;
  right: 0;
  left: 0;
  height: 4.7rem;
  background: #e4d7cb;
}

.sobre-solapa {
  z-index: 3;
  top: 0;
  border-top: 5.6rem solid #bb0811;
  border-right: 6.25rem solid transparent;
  border-left: 6.25rem solid transparent;
  transform-origin: top center;
}

.sobre.preparando .sobre-solapa,
.sobre.fallido .sobre-solapa {
  z-index: 0;
  transform: rotateX(180deg);
}

.sobre.preparando .sobre-hoja {
  animation: hoja-asoma 1.6s ease-in-out infinite;
}

.sobre.enviando .sobre-solapa {
  z-index: 0;
  transform: rotateX(180deg);
  animation: solapa-cierra 0.55s ease 1.15s forwards;
}

.sobre.enviando .sobre-hoja {
  animation: hoja-vuela 1.7s ease forwards;
}

.sobre.enviado .sobre-hoja {
  opacity: 0;
}

.sobre.enviado::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 46%;
  left: 50%;
  width: 0.95rem;
  height: 0.95rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #f6f1ea;
  box-shadow: inset 0 0 0 0.24rem #bb0811;
}

@keyframes hoja-asoma {
  0%, 100% { transform: translateY(0.2rem); }
  50% { transform: translateY(-0.7rem); }
}

@keyframes hoja-vuela {
  0% { transform: translateY(0.7rem); opacity: 1; }
  32% { transform: translateY(-6.2rem); opacity: 1; }
  100% { transform: translate(9rem, -6.2rem); opacity: 0; }
}

@keyframes solapa-cierra {
  0% { z-index: 0; transform: rotateX(180deg); }
  100% { z-index: 3; transform: rotateX(0deg); }
}

.cumple-aviso {
  border: 1px solid rgba(187, 8, 17, 0.55);
  border-radius: 1.5rem;
  background: #1c0c0e;
  padding: 1rem 1.15rem;
}

@media (min-width: 40rem) {
  .metodos-entrega {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .dialogo {
    align-items: center;
    padding:
      max(1.5rem, env(safe-area-inset-top))
      max(1.5rem, env(safe-area-inset-right))
      max(1.5rem, env(safe-area-inset-bottom))
      max(1.5rem, env(safe-area-inset-left));
  }

  .dialogo-panel {
    max-width: 32rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.75rem;
  }

  .dialogo:not(.abierto) .dialogo-panel {
    transform: translateY(1.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .llega,
  .llega::after {
    opacity: 1;
    transform: none;
  }

  .hero-chispa { display: none; }
}

.evento-tarjeta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: #1c0c0e;
}

.evento-afiche {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #100809;
}

.evento-cuerpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
}

.evento-fecha {
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9cfc6;
}

.evento-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.evento-dato {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  color: #f6f1ea;
}

.evento-accion {
  margin-top: auto;
  padding-top: 0.75rem;
}

.entrada-codigo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0.2em;
  color: #f6f1ea;
  overflow-wrap: anywhere;
}

.entrada-tarjeta {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #100809;
  padding: 1rem;
}

.entrada-tarjeta.apagada {
  opacity: 0.7;
}

.puerta-campo {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.puerta-boton {
  align-self: end;
}

.compra-caja {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.compra-etiqueta {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9cfc6;
}

.compra-campo {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #100809;
  padding: 0.75rem 1rem;
  color: #f6f1ea;
  font-size: 1rem;
}

.compra-tipos {
  display: grid;
  gap: 0.5rem;
  border: 0;
  margin: 0;
  padding: 0;
}

.compra-tipo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.compra-tipo:has(input:checked) {
  border-color: #bb0811;
  background: rgba(187, 8, 17, 0.12);
}

.compra-tipo input {
  accent-color: #bb0811;
  width: 1.125rem;
  height: 1.125rem;
}

.compra-precio {
  margin-left: auto;
  font-weight: 600;
}

.datos-pago {
  white-space: pre-line;
  border-left: 4px solid #bb0811;
  border-radius: 0.75rem;
  background: #100809;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #f6f1ea;
  overflow-wrap: anywhere;
}

.aviso-error {
  border-radius: 1rem;
  background: rgba(187, 8, 17, 0.2);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.aviso-bien {
  border-radius: 1rem;
  background: #f6f1ea;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #100809;
}

.estado-entrada {
  display: inline-block;
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.estado-entrada[data-estado="aprobada"],
.estado-entrada[data-estado="reservada"] {
  border-color: #2f9e5b;
  color: #9fe3b8;
}

.estado-entrada[data-estado="comprobante_enviado"] {
  border-color: #d9a520;
  color: #f2d27a;
}

.estado-entrada[data-estado="rechazada"],
.estado-entrada[data-estado="pendiente_pago"] {
  border-color: #bb0811;
  color: #ffb3b6;
}

.qr-capa {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.qr-capa[hidden] {
  display: none;
}

.qr-panel {
  width: min(100%, 24rem);
  max-height: 100%;
  overflow-y: auto;
  border-radius: 1.5rem;
  background: #16090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  text-align: center;
}

.qr-imagen {
  display: block;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  margin: 1rem auto 0.75rem;
  border-radius: 1rem;
  background: #ffffff;
  image-rendering: pixelated;
}

.qr-barra {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.qr-barra span {
  display: block;
  height: 100%;
  background: #bb0811;
  transition: width 1s linear;
}

.inscrito {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #100809;
  padding: 0.875rem 1rem;
}

.inscrito-datos {
  display: grid;
  gap: 0.125rem;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #d9cfc6;
  overflow-wrap: anywhere;
}

.tipo-fila {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: end;
}

@media (max-width: 520px) {
  .tipo-fila {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tipo-fila > :first-child {
    grid-column: 1 / -1;
  }
}

.escaner {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #000;
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  width: 100%;
}

.escaner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.escaner-marco {
  position: absolute;
  inset: 18%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.25rem;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.veredicto {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: #ffffff;
}

.veredicto[hidden] {
  display: none;
}

.veredicto.bien {
  background: #11753c;
}

.veredicto.mal {
  background: #a3060e;
}

.veredicto-titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 18vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.veredicto-nombre {
  font-size: clamp(1.5rem, 7vw, 2.5rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.veredicto-detalle {
  font-size: 1.125rem;
  max-width: 32rem;
  overflow-wrap: anywhere;
}

.enlace-linea {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alinear-inicio {
  justify-self: start;
}
