html {
  scroll-behavior: smooth;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.dropdown-toggle,
.more-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  padding: 8px 9px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.dropdown-toggle svg,
.more-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.more-toggle { padding-inline: 12px; }

[data-state="open"] .rotate-chevron {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  width: min(570px, calc(100vw - 32px));
  padding: 14px;
  transform: translate(-50%, 8px);
  border: 1px solid #4b412d;
  background: #191919;
  box-shadow: 0 16px 46px #0008;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown-panel::before {
  position: absolute;
  top: -11px;
  right: 0;
  left: 0;
  height: 11px;
  content: "";
}

.dropdown-panel.is-active {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 8px;
}

.menu-card {
  display: block;
  padding: 9px 10px;
  color: #d0c8b7;
  font-size: .8rem;
  text-decoration: none;
}

.menu-card:hover { background: #242424; color: #e1c88e; }
.menu-card strong { display: block; margin-bottom: 3px; color: #eee6d5; font-size: .81rem; }
.menu-card small { display: block; color: #a8a191; font-size: .7rem; line-height: 1.45; }
.more-panel { width: min(520px, calc(100vw - 32px)); }

@media (max-width: 1023px) {
  .dropdown-panel { display: none !important; }
}
.container.site-header__inner {
  max-width: 1248px;
}
