:root {
  --black: #020202;
  --chalk: #f7f6f1;
  --chalk-soft: #e7e4dd;
  --shadow: #767a83;
  --yellow: #f4c342;
  --mint: #8dd0a6;
  --green: #36b24a;
  --red: #ef383e;
  --pink: #ed4b9d;
  --blue: #2475b7;
  --orange: #df8a00;
  --beige: #e4d4a6;
  --egg: #dcdf08;
  --gray: #d9d9d9;
  --brown: #75440b;
  --teal: #39aa9f;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  background: #101010;
}

body {
  color: var(--chalk);
  font-family: "Finger Paint", "Comic Sans MS", cursive;
}

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

#menu-pages {
  width: 100%;
}

.menu-sheet {
  position: relative;
  width: min(100%, 1414px);
  min-height: clamp(1500px, 141.45vw, 2000px);
  margin: 0 auto 20px;
  padding: clamp(26px, 3vw, 46px) clamp(23px, 3.3vw, 52px) 38px;
  overflow: hidden;
  background: var(--black);
}

.page-logo-row {
  height: clamp(92px, 10vw, 142px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  pointer-events: none;
}

.sheet-comida .page-logo-row {
  justify-content: flex-end;
  margin-bottom: 0;
}

.art-crop {
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: var(--crop-w) / var(--crop-h);
  overflow: hidden;
}

.art-crop img {
  display: block;
  width: var(--image-width);
  max-width: none;
  transform: translate(var(--tx), var(--ty));
}

.page-logo {
  width: clamp(88px, 10vw, 142px);
}

.menu-section {
  min-width: 0;
  margin-bottom: clamp(19px, 2vw, 30px);
}

.menu-section > header {
  margin-bottom: 9px;
  text-align: center;
}

.menu-section h2,
.pinsas-header h2,
.vegan-title {
  margin: 0;
  color: var(--chalk);
  font-family: "Finger Paint", "Comic Sans MS", cursive;
  font-size: clamp(36px, 5.2vw, 74px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: .35px #fff;
  text-shadow: 2px 3px 0 var(--shadow), 4px 5px 0 #282a2f;
  transform: rotate(-.2deg);
}

.menu-section.accent-mint h2,
.vegan-title {
  color: var(--mint);
  -webkit-text-stroke: .35px #d7fff0;
  text-shadow: 2px 3px 0 #547267, 4px 5px 0 #263a34;
}

.menu-section > header p,
.pinsas-header span {
  margin: 7px auto 0;
  color: var(--chalk-soft);
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.08;
}

.section-note {
  width: fit-content;
  margin: 4px auto 8px;
  padding: 6px 13px;
  border: 2px solid var(--yellow);
  border-radius: 48% 52% 45% 55%;
  color: var(--yellow);
  font-size: clamp(15px, 1.55vw, 22px);
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.section-illustration {
  min-height: clamp(78px, 8.5vw, 120px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 8px clamp(10px, 1.5vw, 22px);
  margin: 4px 0 12px;
  padding: 5px 0;
  overflow: hidden;
}

.section-illustration .art-crop {
  width: auto;
  height: clamp(68px, 7vw, 98px);
  max-width: 25%;
}

.section-illustration.art-many {
  min-height: clamp(145px, 14vw, 200px);
}

.section-illustration.art-many .art-crop {
  height: clamp(58px, 6vw, 84px);
  max-width: 17%;
}

.items {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 5px clamp(22px, 3vw, 46px);
}

.menu-item {
  position: relative;
  min-height: 80px;
  padding: 9px 87px 10px 0;
}

.compact .menu-item {
  min-height: 59px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.menu-item h3 {
  margin: 0;
  color: var(--chalk);
  font-family: "Finger Paint", "Comic Sans MS", cursive;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.06;
  text-align: center;
  text-transform: uppercase;
}

.menu-item p {
  margin: 6px 0 0;
  color: var(--chalk-soft);
  font-family: "Finger Paint", "Comic Sans MS", cursive;
  font-size: clamp(12px, 1.08vw, 15px);
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.price {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 78px;
  height: 59px;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--chalk);
  border-radius: 51% 47% 53% 46%;
  color: var(--chalk);
  font-family: "Finger Paint", cursive;
  font-size: 17px;
  font-weight: 400;
  transform: rotate(-4deg);
}

.price::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 9px;
  width: 39px;
  height: 10px;
  border-top: 2px solid var(--chalk);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.plant {
  margin-left: 8px;
  color: var(--green);
  font: 700 1.15em/1 Georgia, serif;
}

.allergen-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  box-shadow: inset -2px -2px 2px rgba(0, 0, 0, .38);
}

.dot-gluten { background: var(--red); }
.dot-lacteos { background: var(--pink); }
.dot-pescado { background: var(--blue); }
.dot-mostaza { background: var(--orange); }
.dot-sesamo { background: var(--beige); }
.dot-huevo { background: var(--egg); }
.dot-sulfitos { background: var(--gray); }
.dot-frutos_secos { background: var(--brown); }
.dot-soja { background: var(--teal); }

.legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 16px;
  max-width: 560px;
  margin-top: 24px;
  font-size: 14px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Bebidas y postres */
.sheet-bebidas-postres .sheet-body {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  grid-template-areas:
    "bebidas zumos"
    "cafes cafes"
    "postres meriendas"
    "acai acai";
  gap: 15px 54px;
}

.sheet-bebidas-postres .section-bebidas > header {
  padding-right: 10%;
}

.sheet-bebidas-postres .section-zumos-batidos > header {
  padding-left: 8%;
}

.sheet-bebidas-postres .section-cafes .section-illustration {
  min-height: 92px;
}

.sheet-bebidas-postres .section-acai {
  max-width: 850px;
  margin-inline: auto;
}

/* Comida */
.sheet-comida .sheet-body {
  display: block;
}

.sheet-comida .menu-section {
  margin-bottom: clamp(16px, 1.7vw, 25px);
}

.sheet-comida .section-illustration {
  min-height: clamp(76px, 8.2vw, 116px);
}

.sheet-comida .section-pokes .items,
.sheet-comida .section-woks .items {
  max-width: 1060px;
  margin-inline: auto;
}

/* Pinsas */
.sheet-pinsas {
  padding-top: 24px;
}

.pinsas-header {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) 2fr minmax(110px, .6fr);
  align-items: start;
  gap: 18px;
  text-align: center;
}

.pinsas-header > p {
  margin: 12px 0 0;
  color: var(--yellow);
  font-size: clamp(18px, 2.35vw, 33px);
  line-height: 1.45;
  text-align: left;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.pinsas-heading {
  min-width: 0;
}

.pinsas-header h2 {
  font-size: clamp(62px, 9.2vw, 128px);
}

.pinsas-header span {
  display: block;
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 28px);
}

.pinsas-header .page-logo {
  justify-self: end;
  width: clamp(95px, 11vw, 155px);
}

.pinsas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 58px;
}

.pinsas-grid .menu-item {
  min-height: 124px;
}

.pinsas-grid .menu-item h3 {
  font-size: clamp(24px, 2.9vw, 41px);
}

.gluten-note,
.vegan-band {
  display: grid;
  grid-template-columns: clamp(88px, 10vw, 140px) 1fr;
  align-items: center;
  gap: 22px;
  margin: 26px 0 8px;
}

.gluten-note .note-art,
.vegan-band .note-art,
.note-asset {
  width: 100%;
}

.note-asset {
  display: block;
  max-height: 130px;
  object-fit: contain;
}

.gluten-note strong {
  display: block;
  font-size: clamp(23px, 2.8vw, 39px);
  font-weight: 400;
  text-transform: uppercase;
}

.gluten-note span {
  display: block;
  margin-top: 5px;
  font-size: clamp(14px, 1.25vw, 18px);
}

.vegan-band {
  margin-top: 18px;
}

.vegan-title {
  font-size: clamp(43px, 6.5vw, 91px);
  text-align: center;
}

.vegan-note,
.options-note {
  margin: 8px 0 14px;
  font-size: clamp(16px, 1.7vw, 24px);
  text-align: center;
}

.options-note {
  color: var(--yellow);
}

noscript {
  display: block;
  padding: 20px;
  color: #fff;
  background: #7b1f1f;
}

@media (max-width: 820px) {
  .menu-sheet {
    min-height: 0;
    padding: 30px 18px;
  }

  .page-logo-row {
    height: 105px;
    margin-bottom: 0;
  }

  .sheet-comida .page-logo-row {
    margin-bottom: 0;
  }

  .sheet-bebidas-postres .sheet-body,
  .pinsas-grid {
    display: block;
  }

  .items {
    grid-template-columns: 1fr;
  }

  .menu-section {
    margin-bottom: 38px;
  }

  .menu-section h2,
  .vegan-title {
    font-size: clamp(38px, 11vw, 62px);
  }

  .lang-es .section-hamburguesas h2 {
    font-size: clamp(30px, 9vw, 48px);
  }

  .section-illustration,
  .sheet-comida .section-illustration {
    min-height: 94px;
  }

  .section-illustration .art-crop {
    height: 68px;
    max-width: 42%;
  }

  .section-illustration.art-many {
    min-height: 205px;
  }

  .section-illustration.art-many .art-crop {
    height: 58px;
    max-width: 29%;
  }

  .menu-item,
  .compact .menu-item,
  .pinsas-grid .menu-item {
    min-height: 76px;
    padding-right: 74px;
  }

  .menu-item h3,
  .pinsas-grid .menu-item h3 {
    font-size: 21px;
  }

  .menu-item p {
    font-size: 13px;
  }

  .price {
    width: 64px;
    height: 49px;
    font-size: 14px;
  }

  .pinsas-header {
    min-height: 210px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "time logo"
      "heading heading";
    gap: 8px 18px;
  }

  .pinsas-header > p {
    grid-area: time;
    margin: 6px 0 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .pinsas-heading {
    grid-area: heading;
  }

  .pinsas-header h2 {
    font-size: clamp(58px, 20vw, 88px);
  }

  .pinsas-header .page-logo {
    grid-area: logo;
    width: 90px;
  }

  .gluten-note,
  .vegan-band {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }

  .vegan-band {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }

  .vegan-band .note-art {
    width: 54px;
  }

  .vegan-title {
    font-size: clamp(27px, 8vw, 38px);
    line-height: 1.05;
    text-align: left;
  }

  .vegan-note {
    text-align: left;
  }

  .legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 13px;
  }
}
