/* Alleen de menusectie: bestaande typografie, warme goudkleur en flip-structuur. */
.menu-page {
  padding-top: var(--menu-header-height, 140px);
}

#full-menu {
  padding: 1.25rem 1rem 5rem;
}

#full-menu .menu-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: #d6d0c7;
}

#full-menu .menu-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin: 0 auto 2rem;
}

#full-menu .menu-navigation a {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245, 245, 220, 0.8);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
}

#full-menu .menu-navigation a:hover,
#full-menu .menu-navigation a.active {
  color: #CD853F;
}

#full-menu .menu-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #CD853F, #D2691E);
  transition: width 0.3s ease;
}

#full-menu .menu-navigation a:hover::after,
#full-menu .menu-navigation a.active::after {
  width: 100%;
}

#full-menu .menu-category {
  width: 100%;
  max-width: 1400px;
  padding: 0;
  margin: 0 auto 4rem;
  scroll-margin-top: calc(var(--menu-header-height, 140px) + 20px);
  background: none;
}

#full-menu .menu-category h3 {
  margin-bottom: 2rem;
}

#full-menu .menu-grid {
  --menu-columns: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  justify-items: stretch;
  gap: 1.5rem;
  max-width: none;
  margin: 0;
}

#full-menu #vis-plateau .menu-grid {
  --menu-columns: 1;
  max-width: 42rem;
  margin: auto;
}

#full-menu .menu-grid > li {
  display: block;
  flex: 0 0 calc((100% - (var(--menu-columns) - 1) * 1.5rem) / var(--menu-columns));
  height: auto;
  min-height: 0;
  padding: 0;
  grid-row: auto;
  grid-column: auto;
  margin: 0;
  background: none;
  border: 0;
  overflow: visible;
  backdrop-filter: none;
  transition: none;
}

#full-menu .menu-grid > li:hover {
  transform: none;
  box-shadow: none;
}

#full-menu .menu-card {
  display: grid;
  height: 100%;
  min-height: 0;
  transition: transform 0.5s ease;
}

#full-menu .menu-front,
#full-menu .menu-back {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 25rem;
  padding: 1rem;
  border: 1px solid rgba(205, 133, 63, 0.3);
  border-radius: 16px;
  background: #141311;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#full-menu .menu-front {
  justify-content: flex-start;
}

#full-menu .menu-back {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  justify-content: center;
  gap: 1rem;
}

#full-menu .menu-front .menu-img {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: contain;
  object-position: center;
  margin: 0 0 1rem;
  border-radius: 10px;
  background: #100e0c;
}

#full-menu #vis-plateau .menu-img {
  height: 18rem;
}

#full-menu .menu-front h4,
#full-menu .menu-back h4 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: #fafafa;
}

#full-menu .menu-back h4 {
  color: #e0aa72;
}

#full-menu .menu-front .menu-price {
  margin: 0;
  font-size: 1.25rem;
  color: #e0aa72;
  font-weight: 600;
}

#full-menu .menu-front .menu-portion {
  margin: 0.5rem 0 0;
  color: #d6d0c7;
  font-size: 0.9rem;
  font-weight: 400;
}

#full-menu .menu-back .ingredients {
  font-size: 1rem;
  margin: 0;
}

#full-menu .menu-variants {
  width: 100%;
  font-size: 0.95rem;
  text-align: left;
}

#full-menu .menu-variants > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  padding: 0.35rem 0;
}

#full-menu .menu-variants small {
  display: block;
  color: #d6d0c7;
}

#full-menu .menu-variants dd {
  color: #e0aa72;
  font-weight: 600;
}

#full-menu .menu-hint {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #d6d0c7;
}

#full-menu .menu-back .menu-hint {
  margin-top: 0;
}

/* De doorzichtige knop bedient beide kanten zonder de focus te verplaatsen. */
#full-menu .menu-toggle {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

#full-menu .menu-toggle:focus-visible,
#full-menu .menu-navigation a:focus-visible {
  outline: 3px solid #e0aa72;
  outline-offset: 5px;
}

@media (max-width: 1199px) {
  #full-menu .menu-grid {
    --menu-columns: 3;
  }
}

@media (max-width: 900px) {
  #full-menu .menu-grid {
    --menu-columns: 2;
  }
}

@media (max-width: 580px) {
  #full-menu .menu-grid {
    --menu-columns: 1;
    max-width: 26rem;
    margin: auto;
  }

  #full-menu #vis-plateau .menu-img {
    height: 13rem;
  }
}

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

  #full-menu .menu-card {
    transition: none;
  }
}
