.bh-nav-host {
  position: relative;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid #d7cedd;
  background: rgba(252, 250, 245, .97);
}

.bh-nav-bar {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bh-nav-brand,
.bh-nav-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6e5a72;
  font: 800 1.18rem/1.1 Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

.bh-nav-fallback { margin: 24px 16px; }

.bh-nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.bh-menu-button {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 2px solid #8b70a3;
  border-radius: 18px;
  background: #eee7f7;
  color: #6e5a72;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(139, 112, 163, .13);
}

.bh-menu-button:hover { background: #ddcfee; }
.bh-menu-button:active { transform: translate(1px, 1px); box-shadow: 1px 2px 0 rgba(139, 112, 163, .13); }
.bh-menu-button:focus-visible,
.bh-menu-close:focus-visible,
.bh-menu-link:focus-visible,
.bh-menu-group summary:focus-visible {
  outline: 3px solid #8c6bb0;
  outline-offset: 3px;
}

.bh-menu-icon {
  width: 24px;
  display: grid;
  gap: 5px;
}

.bh-menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.bh-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(74, 57, 88, .26);
  opacity: 0;
  transition: opacity 180ms ease;
}

.bh-menu-backdrop[hidden],
.bh-menu-panel[hidden] { display: none; }
.bh-menu-backdrop.is-open { opacity: 1; }

.bh-menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1002;
  width: min(420px, 100%);
  overflow-y: auto;
  padding: 18px 18px 30px;
  border-left: 1px solid #cbbfd3;
  background: #fff9ec;
  color: #6e5a72;
  box-shadow: -12px 0 30px rgba(98, 75, 119, .15);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.bh-menu-panel.is-open { transform: translateX(0); }

.bh-menu-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bh-menu-title {
  font: 800 1.45rem/1.15 Georgia, serif;
}

.bh-menu-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid #9b84af;
  border-radius: 16px;
  background: #fffefa;
  color: #6e5a72;
  font: 500 1.9rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.bh-menu-list {
  display: grid;
  gap: 10px;
}

.bh-menu-link,
.bh-menu-group summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border: 1.5px solid var(--menu-border, #c5b6d0);
  border-radius: 18px;
  background: var(--menu-color, #fffefa);
  color: #6e5a72;
  font: 800 1rem/1.25 Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

.bh-menu-link:hover,
.bh-menu-group summary:hover { filter: brightness(.97) saturate(1.03); }

.bh-menu-home {
  --menu-color: #f7edc4;
  --menu-border: #d8c77f;
}

.bh-menu-services {
  --menu-color: #d4e5f1;
  --menu-border: #abc8dc;
  --submenu-color: #eef6fb;
  --submenu-border: #abc8dc;
}

.bh-menu-shop {
  --menu-color: #d3e0cd;
  --menu-border: #adc4a5;
  --submenu-color: #eef4eb;
  --submenu-border: #adc4a5;
}

.bh-menu-about {
  --menu-color: #f3d4d1;
  --menu-border: #d9aaa6;
}

.bh-menu-contact {
  --menu-color: #e5d9f2;
  --menu-border: #bfa7d8;
}

.bh-menu-group {
  border: 0;
}

.bh-menu-group summary {
  list-style: none;
  cursor: pointer;
}

.bh-menu-group summary::-webkit-details-marker { display: none; }
.bh-menu-group summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid #9b84af;
  border-radius: 50%;
  background: #fffefa;
  font-size: 1.1rem;
}
.bh-menu-group[open] summary::after { content: "−"; }

.bh-menu-group[open] summary {
  border-radius: 18px 18px 8px 8px;
  background: var(--menu-color, #fffefa);
  box-shadow: inset 0 0 0 1px rgba(110, 90, 114, .16);
}

.bh-menu-sublist {
  margin: 0 0 4px 18px;
  padding: 6px 12px 8px 16px;
  display: grid;
  gap: 0;
  border: 1.5px solid var(--submenu-border, #c9bdd2);
  border-top: 0;
  border-left: 3px solid var(--submenu-border, #b29fc0);
  border-radius: 0 0 16px 16px;
  background: var(--submenu-color, #f4f0f7);
}

.bh-menu-sublist a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 16px;
  border: 0;
  border-bottom: 1px solid rgba(110, 90, 114, .18);
  border-radius: 0;
  background: transparent;
  color: #6e5a72;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.bh-menu-sublist a:last-child { border-bottom: 0; }
.bh-menu-sublist a:hover,
.bh-menu-sublist a:focus-visible { background: rgba(255, 255, 255, .5); }

.bh-menu-link[aria-current="page"],
.bh-menu-sublist a[aria-current="page"] {
  box-shadow: inset 0 0 0 2px #8c6bb0;
}

body.bh-menu-open { overflow: hidden; }

@media (max-width: 520px) {
  .bh-nav-bar { width: calc(100% - 24px); }
  .bh-menu-panel { border-left: 0; }
  .bh-nav-brand span { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-menu-panel,
  .bh-menu-backdrop { transition: none; }
}
