:root {
  --red: #c51b22;
  --yellow: #f6c90f;
  --ink: #201713;
  --paper: rgba(255, 247, 218, .95);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #101010;
  overflow-x: hidden;
}

body {
  font-family: "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.phone-frame {
  /*
   * El navegador necesita saber el tamaño REAL en pantalla de .phone para
   * calcular cuánto scroll dar. Si solo usáramos transform:scale() en .phone,
   * su caja de layout seguiría midiendo 414x896 aunque se vea más grande, y
   * el navegador tiene que "adivinar" el resto a partir del transform — eso
   * es una causa conocida de scroll doble/rebote raro en Safari de iPhone.
   * Por eso el tamaño real ya calculado (ancho/alto) vive aquí, en píxeles.
   */
  flex: 0 0 auto;
  width: calc(414px * var(--menu-scale, 1));
  height: calc(896px * var(--menu-scale, 1));
  margin: 0 auto;
}

.phone {
  position: relative;
  width: 414px;
  height: 896px;
  overflow: hidden;
  background: #fff;
  transform: scale(var(--menu-scale, 1));
  transform-origin: top left;
}

.scene {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #fff;
}

.scene.is-active,
.scene.is-entering,
.scene.is-exiting {
  display: block;
}

.scene.is-active {
  z-index: 2;
}

.scene.is-entering {
  z-index: 3;
  animation: sceneIn 460ms cubic-bezier(.2, .8, .2, 1) both;
}

.scene.is-exiting {
  z-index: 2;
  pointer-events: none;
  animation: sceneOut 460ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes sceneIn {
  from {
    opacity: 0;
    transform: translateY(42px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sceneOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-18px) scale(.995);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene.is-entering,
  .scene.is-exiting {
    animation-duration: 1ms;
  }
}

.bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1374px;
  height: 896px;
  max-width: none;
  transform: translateX(-50%);
  opacity: .78;
}

.cover-logo {
  position: absolute;
  left: 100px;
  top: 33px;
  width: 213px;
  height: 278px;
  object-fit: fill;
  z-index: 5;
}

.cover-burger {
  position: absolute;
  width: 414px;
  height: 538px;
  object-fit: fill;
}

.cover-burger-left {
  left: -119px;
  top: 196px;
  z-index: 4;
}

.cover-burger-right {
  left: 106px;
  top: 257px;
  z-index: 3;
}

.cover-greens {
  position: absolute;
  left: 30px;
  top: 368px;
  width: 414px;
  height: 427px;
  object-fit: fill;
  z-index: 7;
}

.cover-brush {
  position: absolute;
  left: -119px;
  top: 523px;
  width: 894px;
  height: 380px;
  z-index: 6;
}

.cover-note {
  position: absolute;
  left: 53px;
  top: 440px;
  width: 308px;
  height: 294px;
  z-index: 8;
}

.cover-click {
  position: absolute;
  left: 224px;
  top: 727px;
  width: 117px;
  height: 35px;
  z-index: 12;
}

.cover-click img,
.category-link img,
.back-hotspot img {
  display: block;
  width: 100%;
  height: 100%;
}

.cover-cash {
  position: absolute;
  left: 25px;
  top: 795px;
  width: 150px;
  height: 32px;
  z-index: 9;
}

.cover-no-food {
  position: absolute;
  left: 25px;
  top: 854px;
  width: 189px;
  height: 24px;
  z-index: 10;
}

.category-nav {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.category-link {
  position: absolute;
  transition: transform .14s ease;
}

.category-link:active {
  transform: scale(.96);
}

.entradas {
  left: 87px;
  top: 165px;
  width: 239px;
  height: 45px;
}

.hamburguesas {
  left: 92px;
  top: 265px;
  width: 230px;
  height: 83px;
}

.sandwiches {
  left: 69px;
  top: 403px;
  width: 276px;
  height: 60px;
}

.ensaladas {
  left: 84px;
  top: 519px;
  width: 247px;
  height: 51px;
}

.bebidas {
  left: 107px;
  top: 625px;
  width: 199px;
  height: 44px;
}

.menu-burger,
.list-burger {
  position: absolute;
  left: 207px;
  top: 517px;
  width: 414px;
  height: 538px;
  object-fit: fill;
  z-index: 4;
}

.bottom-brush {
  position: absolute;
  left: -163px;
  top: 699px;
  width: 894px;
  height: 380px;
  z-index: 8;
}

.back-hotspot {
  position: absolute;
  left: 31px;
  top: 796px;
  width: 105px;
  height: 68px;
  z-index: 30;
}

.menu-back {
  left: 31px;
  top: 796px;
}

.back-arrow {
  position: absolute;
  left: 0;
  top: 0;
  width: 25px !important;
  height: 25px !important;
}

.back-text {
  position: absolute;
  left: 0;
  top: 35px;
  width: 105px !important;
  height: 33px !important;
}

.scene-title-img {
  position: absolute;
  z-index: 16;
  object-fit: fill;
}

.title-entradas {
  left: 87px;
  top: 62px;
  width: 239px;
  height: 45px;
}

.title-hamburguesas {
  left: 92px;
  top: 29px;
  width: 230px;
  height: 83px;
}

.burger-note {
  position: absolute;
  left: 30px;
  top: 116px;
  width: 354px;
  z-index: 21;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 500;
  text-align: center;
}

.burger-note .note-en {
  margin-top: 3px;
  font-style: italic;
}

.title-sandwiches {
  left: 69px;
  top: 29px;
  width: 276px;
  height: 60px;
}

.sandwich-note {
  position: absolute;
  left: 30px;
  top: 96px;
  width: 354px;
  z-index: 21;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 500;
  text-align: center;
}

.title-ensaladas {
  left: 84px;
  top: 29px;
  width: 247px;
  height: 51px;
}

.salad-note {
  position: absolute;
  left: 30px;
  top: 91px;
  width: 354px;
  z-index: 21;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 500;
  text-align: center;
}

.salad-note .note-en {
  margin-top: 3px;
  font-style: italic;
}

.title-bebidas {
  left: 107px;
  top: 31px;
  width: 199px;
  height: 44px;
}

.menu-sheet {
  position: absolute;
  left: 29px;
  top: 124px;
  width: 356px;
  max-height: 620px;
  overflow: auto;
  z-index: 20;
  padding: 0 5px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
}

.menu-sheet::-webkit-scrollbar {
  display: none;
}

.menu-sheet.tall {
  max-height: 648px;
}

.menu-sheet.matched-sheet {
  max-height: 585px;
  padding-bottom: 0;
}

.menu-sheet.burger-list-sheet {
  top: 186px;
  max-height: 518px;
}

.menu-sheet.sandwich-list-sheet {
  top: 144px;
  max-height: 565px;
}

.menu-sheet.salad-list-sheet {
  top: 132px;
  max-height: 577px;
}

.drink-section {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px dotted rgba(32, 23, 19, .32);
}

.drink-section:last-child {
  border-bottom: 0;
}

.drink-section.is-highlight {
  padding: 10px 12px 12px;
  border-bottom: 0;
  background: var(--yellow);
}

.drink-section > .item-desc {
  margin: 0 0 10px;
}

.secondary-row.drink-option-row {
  grid-template-columns: 1fr 56px;
  justify-content: stretch;
  margin-bottom: 8px;
}

.drink-option-row + .item-desc {
  margin-top: 10px;
}

.dressing-panel {
  padding: 0 0 14px;
  margin: 0 0 16px;
  border-bottom: 2px dotted rgba(32, 23, 19, .32);
}

.dressing-panel h3 {
  margin: 0 0 4px;
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue Condensed Black", Impact, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dressing-panel h3 + .dressing-desc {
  margin-bottom: 6px;
}

.dressing-desc {
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 500;
}

.dressing-en {
  font-style: italic;
}

.menu-item {
  padding: 0 0 10px;
  margin: 0 0 11px;
  border-bottom: 2px dotted rgba(32, 23, 19, .32);
}

.menu-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.secondary-group {
  padding: 0 0 14px;
  margin: 0 0 11px;
  border-bottom: 2px dotted rgba(32, 23, 19, .32);
}

.secondary-group h3,
.drink-section-title {
  margin: 0 0 8px;
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue Condensed Black", Impact, sans-serif;
  font-size: 22px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.secondary-body {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 12px;
}

.secondary-desc {
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 500;
}

.secondary-desc .item-desc {
  margin-top: 0;
}

.secondary-items {
  display: grid;
  gap: 6px;
  align-content: start;
}

.secondary-row {
  display: grid;
  grid-template-columns: 38px 46px;
  gap: 6px;
  align-items: baseline;
  justify-content: end;
}

.secondary-row span {
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.secondary-row strong {
  color: var(--ink);
  font-size: 17px;
  line-height: .9;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.secondary-options {
  padding-bottom: 15px;
}

.secondary-options-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 4px;
}

.secondary-options h3 {
  margin-bottom: 0;
}

.secondary-options h3.is-black .title-es {
  color: var(--ink);
}

.secondary-options-items {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px;
  align-items: baseline;
}

.secondary-options-items .secondary-row {
  grid-template-columns: auto auto;
  gap: 5px;
}

.secondary-options-items .secondary-row span {
  font-size: 12px;
}

.secondary-options-items .secondary-row strong {
  font-size: 17px;
}

.item-head {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 10px;
  align-items: start;
}

.item-name {
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue Condensed Black", Impact, sans-serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-es {
  color: var(--red);
}

.title-en {
  color: var(--ink);
}

.item-price {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.item-desc {
  margin-top: 4px;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.18;
  font-weight: 500;
}

.desc-line + .desc-line {
  margin-top: 2px;
}

.desc-en {
  font-style: italic;
}

.desc-strong {
  font-weight: 650;
}

.extras-panel {
  margin: 15px 0 0;
  padding: 10px 12px 12px;
  background: var(--yellow);
}

.extras-title {
  margin: 0 0 8px;
  font-family: "Arial Black", "Avenir Next Condensed", "Helvetica Neue Condensed Black", Impact, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.08;
  font-weight: 650;
}

.salad-art {
  position: absolute;
  left: 84px;
  top: 573px;
  width: 414px;
  height: 552px;
  object-fit: fill;
  z-index: 5;
}

.drink-art {
  position: absolute;
  left: 183px;
  top: 680px;
  width: 414px;
  height: 414px;
  object-fit: fill;
  z-index: 5;
}

@media (max-width: 413px), (max-height: 760px) {
  body {
    background: #fff;
  }
}
