/* Chicanos menu: food-led layout inspired by the structure of Condado's food page. */
html { scroll-behavior: smooth; }
body { background: #fffaf0; }

.page-hero {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: min(72vh, 660px);
  margin: 0;
  padding: clamp(6rem, 10vw, 9rem) max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, .82) 0%, rgba(10, 10, 9, .52) 49%, rgba(10, 10, 9, .16) 100%),
    url('/images/menu/damn-good-tacos-plate.webp') center 49% / cover no-repeat;
}
.page-hero .eyebrow {
  color: #ffc247;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.page-hero h1 {
  max-width: 790px;
  margin: .8rem 0 1.2rem;
  color: #fff;
  font-size: clamp(3.7rem, 7.8vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-hero .body-copy {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
  line-height: 1.45;
  text-wrap: balance;
}

.category-selector {
  top: var(--header-height);
  z-index: 30;
  padding: 0;
  border: 0;
  background: #121a15;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.category-selector > div {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-selector > div::-webkit-scrollbar { display: none; }
.category-selector > div::before {
  content: 'JUMP TO:';
  flex: none;
  margin-right: 16px;
  color: #ffc247;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.category-selector a {
  flex: none;
  min-height: 64px;
  padding: 19px 15px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #fff;
  background: transparent;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.category-selector a:hover,
.category-selector a:focus-visible {
  color: #ffc247;
  border-bottom-color: #ffc247;
}

.menu-body {
  max-width: 1220px;
  padding-bottom: 5rem;
}
.menu-notice {
  margin: 0 0 3.5rem;
  padding: 2.2rem clamp(24px, 4vw, 54px);
  border: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  background: #711a21;
  color: #fff;
}
.menu-notice > div::before {
  content: 'NEW';
  display: inline-block;
  width: max-content;
  margin-bottom: .8rem;
  padding: .28rem .5rem;
  color: #111813;
  background: #c4e84e;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
}
.menu-notice p {
  max-width: 680px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}
.menu-notice .menu-legend { margin-top: 1rem; }
.menu-notice .menu-legend span {
  border-color: #ffffff77;
  color: #fff;
}
.menu-notice .button {
  flex: none;
  background: #ffc247;
  color: #171717;
}

.menu-category-grid { display: block; }
.menu-category {
  position: relative;
  margin: 0 0 4.5rem;
  padding: 0 0 3.2rem;
  border-bottom: 1px solid #d9d2c5;
  scroll-margin-top: calc(var(--header-height) + 76px);
}
.menu-category::before {
  content: '';
  display: none;
  height: clamp(220px, 29vw, 360px);
  margin-bottom: 2.3rem;
  background-size: cover;
  background-position: center;
}
.menu-category:is(#appetizers, #especiales-de-la-casa, #tacos, #seafood)::before { display: block; }
#appetizers::before { background-image: url('/images/sections/queso-rewards.webp'); }
#especiales-de-la-casa::before { background-image: url('/images/menu/especialidad-de-la-casa.webp'); }
#tacos::before { background-image: url('/images/menu/damn-good-tacos.webp'); }
#seafood::before { background-image: url('/images/promos/fish-taco-feature-v2.webp'); }

.menu-category-heading {
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding: 0 0 1.1rem;
  border-bottom: 4px solid #181a17;
  align-items: center;
}
.menu-category-heading h2 {
  color: #181a17;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: .97;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.menu-category:nth-child(3n + 2) .menu-category-heading h2 { color: #861f26; }
.menu-category:nth-child(3n + 3) .menu-category-heading h2 { color: #087a82; }
#especiales-de-la-casa .menu-category-heading > div::before,
#tacos .menu-category-heading > div::before {
  content: 'FAVORITOS';
  display: inline-block;
  width: max-content;
  margin-bottom: .35rem;
  padding: .25rem .48rem;
  color: #111813;
  background: #ffc247;
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
}
.menu-category-number {
  display: none !important;
}
.menu-badge {
  display: inline-block;
  width: max-content;
  margin: 0 0 .35rem;
  padding: .25rem .48rem;
  color: #111813;
  background: #c4e84e;
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.menu-badge.is-favorite { background: #ffc247; }
.menu-back-top {
  margin-left: auto;
  flex: none;
  border: 1px solid #d4cfc5;
  background: transparent;
}
.menu-category-heading + p,
.menu-category-heading > div > p {
  color: #4f534e;
  font-size: 1rem;
}
.menu-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2.2rem;
}
.menu-item {
  display: block;
  min-width: 0;
  padding: 1.3rem 0 1.55rem;
  border-bottom: 1px solid #ded8ca;
}
.menu-item-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
}
.menu-item h3 {
  color: #171a16;
  font-size: 1.09rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.menu-price {
  flex: none;
  color: #8b2029;
  font-size: .94rem;
  font-weight: 900;
}
.menu-item p {
  margin-top: .5rem;
  color: #41453f;
  font-size: .9rem;
  line-height: 1.48;
}
.menu-item .menu-options,
.menu-item ul { color: #41453f; }

@media (max-width: 900px) {
  .page-hero { min-height: 560px; padding: 6rem 28px; background-position: 56% center; }
  .menu-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-notice { margin-bottom: 3rem; }
}
@media (max-width: 620px) {
  .page-hero {
    min-height: 520px;
    padding: 6.5rem 22px 4rem;
    background-image:
      linear-gradient(90deg, rgba(10, 10, 9, .82), rgba(10, 10, 9, .43)),
      url('/images/menu/damn-good-tacos-plate.webp');
    background-position: 55% center;
  }
  .page-hero h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .category-selector > div { padding: 0 14px; }
  .category-selector > div::before { margin-right: 8px; font-size: .64rem; }
  .category-selector a { min-height: 56px; padding: 18px 11px; font-size: .74rem; }
  .menu-body { padding-inline: 18px; }
  .menu-notice { display: block; margin-inline: -18px; padding: 26px 18px; }
  .menu-notice .button { margin-top: 1.2rem; }
  .menu-category { margin-bottom: 3.3rem; scroll-margin-top: calc(var(--header-height) + 60px); }
  .menu-category::before { height: 220px; margin-inline: -18px; }
  #especiales-de-la-casa::before {
    height: auto;
    aspect-ratio: 3 / 1;
    margin-inline: 0;
    background-color: #20160f;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .menu-category-heading { gap: .6rem; }
  .menu-category-heading h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .menu-items { grid-template-columns: minmax(0, 1fr); }
  .menu-item { padding: 1.15rem 0 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Food-led menu hero with a Chicanos brand overlay. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(75, 7, 14, .97) 0%, rgba(110, 13, 24, .88) 43%, rgba(110, 13, 24, .48) 70%, rgba(75, 7, 14, .2) 100%),
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, .055) 35px 37px),
    url('/images/menu/menu-hero-tacos.webp') 62% 50% / cover no-repeat;
}
.page-hero::after {
  content: 'MENU';
  position: absolute;
  z-index: -1;
  right: -.04em;
  bottom: -.24em;
  color: rgba(255, 244, 224, .08);
  font-family: var(--font-serif), Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(10rem, 29vw, 30rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.07em;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }

.menu-category::before,
.menu-category:is(#appetizers, #especiales-de-la-casa, #tacos, #seafood)::before {
  display: none !important;
  background-image: none !important;
}

.menu-category {
  --section-accent: #8b2029;
  margin-bottom: 2.2rem;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid #ddd5c7;
  border-top: 8px solid var(--section-accent);
  background: #fffdf8;
  box-shadow: 0 14px 34px rgba(34, 28, 18, .07);
}
.menu-category:nth-child(4n + 2) { --section-accent: #087a82; }
.menu-category:nth-child(4n + 3) { --section-accent: #e4a51d; }
.menu-category:nth-child(4n + 4) { --section-accent: #587e22; }
.menu-category-heading {
  padding-bottom: 1rem;
  border-bottom: 2px solid #191c18;
}
.menu-category-heading h2 { color: var(--section-accent) !important; }
.menu-item { transition: background-color .18s ease, padding-inline .18s ease; }
.menu-item:hover { padding-inline: .65rem; background: #f8f1e5; }

#combinations .menu-item:first-child {
  grid-column: 1 / -1;
  margin: .5rem 0 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 0;
  color: #fff;
  background: #121a15;
}
#combinations .menu-item:first-child::before {
  content: 'BUILD YOUR OWN';
  display: inline-block;
  margin-bottom: .85rem;
  padding: .32rem .52rem;
  color: #111813;
  background: #c4e84e;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}
#combinations .menu-item:first-child h3,
#combinations .menu-item:first-child p,
#combinations .menu-item:first-child li { color: #fff; }
#combinations .menu-item:first-child strong { color: #ffc247; }

@media (max-width: 620px) {
  .page-hero {
    min-height: 470px;
    background:
      linear-gradient(90deg, rgba(75, 7, 14, .94), rgba(110, 13, 24, .7)),
      repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, .045) 35px 37px),
      url('/images/menu/menu-hero-tacos.webp') 56% center / cover no-repeat;
  }
  .page-hero::after { right: -.02em; bottom: -.12em; font-size: 46vw; }
  .menu-body { padding-inline: 12px; }
  .menu-category { margin-bottom: 1.25rem; padding: 1.15rem; border-top-width: 6px; }
  .menu-category-heading h2 { font-size: clamp(1.85rem, 8vw, 2.65rem); }
  .menu-item:hover { padding-inline: 0; background: transparent; }
}

/* Section imagery shows the food named by each category. */
.page-hero {
  background:
    linear-gradient(90deg, rgba(16, 12, 10, .88) 0%, rgba(16, 12, 10, .6) 46%, rgba(16, 12, 10, .2) 100%),
    url('/images/menu/menu-hero-burrito-balanced.webp') center center / cover no-repeat;
}

.menu-category:is(#dips, #especiales-de-la-casa, #tacos, #seafood)::before {
  display: block !important;
  height: clamp(190px, 27vw, 310px);
  margin: calc(-1 * clamp(1.35rem, 3vw, 2.4rem)) calc(-1 * clamp(1.35rem, 3vw, 2.4rem)) 1.5rem;
  background-size: cover;
  background-position: center;
}

.menu-category#dips::before { background-image: url('/images/sections/queso-rewards.webp') !important; }
.menu-category#especiales-de-la-casa::before { background-image: url('/images/food/steak-plate-overhead.webp') !important; }
.menu-category#tacos::before { background-image: url('/images/food/chicanos-tacos-plate-wide.webp') !important; }
.menu-category#seafood::before { background-image: url('/images/menu/chips-and-dips.webp') !important; }

@media (max-width: 620px) {
  .page-hero {
    background:
      linear-gradient(90deg, rgba(16, 12, 10, .88), rgba(16, 12, 10, .6)),
      url('/images/menu/menu-hero-burrito-balanced.webp') center center / cover no-repeat;
  }

  .menu-category:is(#dips, #especiales-de-la-casa, #tacos, #seafood)::before {
    /* Let the card determine the width instead of the older 3:1 ratio. */
    aspect-ratio: auto;
    height: 200px;
    margin: -1.15rem -1.15rem 1.25rem;
  }
}
.desktop-nav a[href="/menu/"]::after {
  transform: scaleX(1);
}

.desktop-nav .desktop-nav-coming-soon,
.desktop-nav .desktop-nav-coming-soon > span {
  color: #fff !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-size: .77rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

.desktop-nav .desktop-nav-coming-soon small {
  color: #ff4050 !important;
  font-size: 0 !important;
}

.desktop-nav .desktop-nav-coming-soon small::after {
  content: "COMING SOON";
  font-size: .51rem;
  font-weight: 900;
  letter-spacing: .09em;
}
