.n-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
  max-width: 100%;
}
.n-header-nav__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.n-header-nav__toggle,
.n-header-burger,
.city-selector-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.n-header-nav__toggle {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.n-header-nav__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.n-header a.n-header-nav__link:focus-visible,
.n-header button.n-header-nav__toggle:focus-visible,
.n-header button.n-header-burger:focus-visible,
.n-header button.city-selector-trigger:focus-visible,
.n-header .city-panel a:focus-visible,
.n-header .menu-window a:focus-visible,
.n-header .header-search__btn:focus-visible,
.n-header .header-search__close:focus-visible,
#header button.nav-section-toggle:focus-visible,
#header .agrorus-compact-nav a:focus-visible,
#header #menu-expand:focus-visible {
  outline: 2px solid #0e6831 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0e6831 !important;
}
.n-header .menu-tab.active,
.city-panel__list,
.menu-where-items {
  max-height: 70vh;
  overflow: auto;
}
.city-panel {
  position: absolute;
  z-index: 30;
  background: #fff;
  border: 1px solid #d7e3d8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 260px;
  max-width: min(420px, calc(100vw - 24px));
}
.city-panel__list {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.city-panel__status,
.region-filter-empty,
.region-empty {
  padding: 8px 12px;
}
.n-header-burger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.n-header-burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: #0e6831;
}
.n-header-up,
.n-header-bottom,
.n-header-btns {
  max-width: 100%;
}
@media (max-width: 768px) {
  .n-header-burger { display: inline-flex; }
  .n-header-nav { display: none; width: 100%; }
  .n-header.is-nav-open .n-header-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .n-header.is-nav-open {
    position: relative;
  }
  .n-header.is-nav-open .menu-window {
    position: static;
    max-height: 55vh;
    overflow: auto;
    width: 100%;
  }
  .n-header-up,
  .n-header-btns { flex-wrap: wrap; }
}
@media (max-width: 1279px) {
  #header { display: block; }
  .n-header { display: none; }
  main { margin-top: 11rem; }
  #header .navbar-expand-xl .navbar-toggler {
    display: inline-block !important;
  }
  #header .navbar-expand-xl .navbar-collapse {
    display: none !important;
    flex-basis: 100%;
  }
  #header .navbar-collapse.show {
    display: block !important;
    max-height: calc(100dvh - 40rem);
    overflow: auto;
    padding-bottom: 1.6rem;
  }
  #header .agrorus-compact-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}
@media (min-width: 1280px) {
  .n-header .n-header-bottom {
    gap: 16px;
    align-items: center;
  }
  .n-header nav.n-header-nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0 12px;
    min-width: 0;
    max-width: 100%;
  }
  .n-header a.n-header-nav__link {
    font-size: 16px;
    line-height: 1.25;
    white-space: nowrap;
    padding-top: 8px;
  }
  .n-header .menu-tab {
    display: none !important;
  }
  .n-header .menu-tab.active {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .n-header .menu-window {
    max-height: calc(100dvh - 230px);
    overflow: auto;
  }
  .n-header .menu-tab.active .menu-tab-area {
    height: auto;
    min-height: 0;
  }
}
.agrorus-compact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}
.nav-section-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #0e6831;
}
.agrorus-compact-panel {
  flex: 1 0 100%;
  max-height: 50vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px 8px;
}
