/* Keep the static menu out of the first paint until its saved config is applied. */
html:not([data-navigation-state="ready"]) .header-main .nav,
html:not([data-navigation-state="ready"]) .menu-layer .menu-nav {
  visibility: hidden !important;
  pointer-events: none !important;
}

html:not([data-navigation-state="ready"]) .header-nav-hidden-box,
html:not([data-navigation-state="ready"]) .menu-subnav-right {
  display: none !important;
}

.header-main .nav [hidden],
.menu-layer .menu-nav [hidden],
.one-nav-side[hidden],
.menu-nav-side[hidden] {
  display: none !important;
}

.header-main .header-right { position: relative; }
#navigation-feedback {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font: 14px/1.5 system-ui, sans-serif;
  color: #fff;
}
#navigation-feedback[hidden] { display: none !important; }
#navigation-feedback button {
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 4px 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
#navigation-feedback button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 991px) {
  #navigation-feedback {
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    transform: none;
    padding: 8px 12px;
    border-radius: 4px;
    background: #111;
    white-space: nowrap;
  }
}
