/*-- -------------------------- -->
<---       Sticky Tabs          -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #menu-tabs {
    background-color: var(--dark);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  #menu-tabs .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
  }
  #menu-tabs .cs-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #menu-tabs .cs-tabs li {
    display: flex;
  }
  #menu-tabs .cs-tab {
    font-family: var(--bodyFont);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-align: center;
    color: var(--bodyTextColorWhite);
    opacity: 0.65;
    padding: 1rem 0.75rem;
    width: 100%;
    border-bottom: 3px solid transparent;
    transition:
      opacity 0.2s,
      color 0.2s,
      border-color 0.2s;
  }
  #menu-tabs .cs-tab:hover {
    opacity: 1;
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
}
@media only screen and (min-width: 48rem) {
  #menu-tabs .cs-tabs {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
  }
  #menu-tabs .cs-tab {
    padding: 1.25rem 2rem;
    font-size: 0.875rem;
    width: auto;
    white-space: nowrap;
  }
}

/*-- -------------------------- -->
<---       Menu Intro           -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #menu-intro {
    padding: clamp(3rem, 6vw, 5rem) 1rem clamp(2rem, 4vw, 3rem);
    background-color: var(--cream);
    text-align: center;
  }
  #menu-intro .cs-container {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #menu-intro .cs-title {
    text-align: center;
  }
  #menu-intro .cs-text {
    text-align: center;
    margin-bottom: 1.25rem;
  }
  #menu-intro .cs-disclaimer {
    font-family: var(--bodyFont);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--bodyTextColor);
    opacity: 0.75;
    margin: 0;
    max-width: 36rem;
  }
}

/*-- -------------------------- -->
<---       Menu Section         -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  .cs-menu-section {
    padding: var(--sectionPadding);
    background-color: var(--white);
    /* Offset anchor jumps so the sticky tab bar doesn't cover the heading */
    scroll-margin-top: 4.5rem;
  }
  .cs-menu-section.cs-alt {
    background-color: var(--cream);
  }
  .cs-menu-section .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
  }

  /* Section header (image + intro text) */
  .cs-menu-section .cs-section-head {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
  }
  .cs-menu-section .cs-section-image {
    width: 100%;
    max-width: 28rem;
    aspect-ratio: 3 / 2;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  }
  .cs-menu-section .cs-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .cs-menu-section .cs-section-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 36rem;
  }
  .cs-menu-section .cs-section-text .cs-title {
    margin-bottom: 0.75rem;
  }
  .cs-menu-section .cs-section-text .cs-text {
    margin: 0;
  }

  /* Menu grid (groups) */
  .cs-menu-section .cs-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }
  .cs-menu-section .cs-menu-group {
    display: flex;
    flex-direction: column;
  }
  .cs-menu-section .cs-group-title {
    font-family: var(--headerFont);
    font-size: clamp(1.4375rem, 2.4vw, 1.75rem);
    font-weight: 400;
    color: var(--headerColor);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--accent);
  }

  /* Item list */
  .cs-menu-section .cs-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .cs-menu-section .cs-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
  }
  .cs-menu-section .cs-item-head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  .cs-menu-section .cs-item-name {
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 700;
    color: var(--headerColor);
    margin: 0;
    flex-shrink: 0;
  }
  .cs-menu-section .cs-item-dots {
    flex: 1;
    border-bottom: 2px dotted var(--creamDark);
    transform: translateY(-0.25rem);
    min-width: 1.5rem;
  }
  .cs-menu-section .cs-item-price {
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
  }
  .cs-menu-section .cs-item-desc {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--bodyTextColor);
    margin: 0;
  }
}
@media only screen and (min-width: 48rem) {
  .cs-menu-section .cs-section-head {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .cs-menu-section .cs-section-head.cs-flip {
    flex-direction: row-reverse;
  }
  .cs-menu-section .cs-section-image {
    flex: 1;
    max-width: 32rem;
    aspect-ratio: 4 / 3;
  }
  .cs-menu-section .cs-section-text {
    flex: 1;
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }
  .cs-menu-section .cs-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

/*-- -------------------------- -->
<---       Order CTA            -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #order-cta {
    padding: clamp(5rem, 10vw, 8rem) 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  #order-cta .cs-container {
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  #order-cta .cs-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #order-cta .cs-topper {
    color: var(--accent);
  }
  #order-cta .cs-title,
  #order-cta .cs-text {
    color: var(--bodyTextColorWhite);
    text-align: center;
  }
  #order-cta .cs-text {
    margin-bottom: 2rem;
    opacity: 0.85;
  }
  #order-cta .cs-button-solid {
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 700;
    line-height: 3.25rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 2.5rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.3s;
  }
  #order-cta .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: var(--dark);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #order-cta .cs-button-solid:hover:before {
    width: 100%;
  }
  #order-cta .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #order-cta .cs-background:before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(28, 26, 23, 0.85) 0%,
      rgba(28, 26, 23, 0.7) 100%
    );
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #order-cta .cs-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}
@media only screen and (min-width: 48rem) {
  #order-cta .cs-background {
    background-attachment: fixed;
  }
  #order-cta .cs-background img {
    background-attachment: fixed;
  }
}
