.header {
  position: relative;
  z-index: 20;
  background: var(--bg-header, rgb(38, 40, 50));
}
.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 15px 0;
}
@media (max-width: 990px) {
  .header__wrap {
    padding: 10px 0;
    flex-wrap: wrap;
  }
}
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 31;
}
.header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--header-nav-color);
  transition: 0.3s;
  border-radius: 1px;
}
.header__nav {
  position: relative;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__nav > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.header__nav-item {
  position: relative;
  list-style: none;
}
.header__nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  background: none;
  border: none;
  padding: 0;
  width: auto;
  transition: 0.3s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--header-nav-color);
}
.header__nav-link:hover {
  text-decoration: underline;
}
.header__nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.header__nav-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.header__nav-chevron svg {
  display: block;
}
.header__nav-item-open .header__nav-chevron {
  transform: rotate(180deg);
}
@media (min-width: 991px) {
  body:not(.header-is-sidebar) .header__nav-item-has-dropdown:hover .header__nav-chevron {
    transform: rotate(180deg);
  }
}
.header__dropdown {
  list-style-type: none;
  margin: 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  width: max-content;
  max-width: min(280px, 90vw);
  background: var(--bg-header);
  border-radius: 3px;
  padding: 10px;
  z-index: 22;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
}
.header__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}
.header__dropdown li {
  list-style: none;
  margin: 0;
}
.header__dropdown li + li {
  margin-top: 4px;
}
.header__nav-item-open .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 991px) {
  body:not(.header-is-sidebar) .header__nav-item-has-dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.header__nav-backdrop {
  display: none;
}
.header__dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  border-radius: 3px;
  transition: 0.3s;
  white-space: nowrap;
  cursor: pointer;
  color: var(--header-nav-color);
}
.header__dropdown-link:hover {
  text-decoration: underline;
}
@media (max-width: 990px) {
  .header__burger {
    display: flex;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 30;
    background: var(--bg-header);
    padding: 70px 20px 24px;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s;
    flex-direction: column;
    align-items: stretch;
  }
  .header__nav > ul {
    min-height: 0;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .header__nav-item {
    width: 100%;
  }
  .header__nav-link {
    width: 100%;
    padding: 12px 0;
  }
  .header__dropdown {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    background: transparent;
    padding: 0 0 0 12px;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  .header__dropdown::before {
    display: none;
  }
  .header__nav-item-open .header__dropdown {
    display: block;
    max-height: 800px;
    opacity: 1;
    padding: 0 0 8px 12px;
    pointer-events: auto;
  }
  .header__nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
  }
  .header-menu-open .header__nav {
    transform: translateX(0);
  }
  .header-menu-open .header__nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-menu-open .header__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header-menu-open .header__burger span:nth-child(2) {
    opacity: 0;
  }
  .header-menu-open .header__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header .header__help {
    width: 100%;
    margin-top: auto;
  }
}
@media (max-width: 575px) {
  .header__nav {
    width: auto;
  }
}
.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header__logo img {
  width: 100%;
  display: block;
  height: auto;
  max-width: 120px;
}
.header__btn {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 30px;
  align-items: center;
}
@media (max-width: 990px) {
  .header__btn {
    gap: 10px;
    width: 100%;
    justify-content: flex-end;
  }
}
.header__btn button, .header__btn a {
  font-size: var(--button-font-size, 14px);
  font-weight: 700;
  padding: 10px 16px;
  line-height: normal;
  display: flex;
  transition: 0.3s;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--button-border-radius, 4px);
  cursor: pointer;
  width: auto;
  min-width: 140px;
  flex-shrink: 0;
  border: 1px solid var(--accent, transparent);
}
@media (max-width: 990px) {
  .header__btn button, .header__btn a {
    max-width: 100%;
    width: auto;
    flex: 1 1 auto;
    padding: 8px 12px;
  }
}
.header__btn .header__btn-1 {
  background: var(--header-btn-1-bg, var(--button-bg));
  color: var(--header-btn-1-color, var(--button-text-color));
}
.header__btn .header__btn-1:hover {
  background: var(--header-btn-1-hover-bg, var(--button-bg-hover));
  color: var(--header-btn-1-hover-color, var(--button-text-color-hover)) !important;
  border-color: var(--header-btn-1-hover-border, var(--button-bg-hover));
}
.header__btn .header__btn-2 {
  background: var(--header-btn-2-bg, var(--button-bg));
  color: var(--header-btn-2-color, var(--button-text-color));
}
.header__btn .header__btn-2:hover {
  background: var(--header-btn-2-hover-bg, var(--button-bg-hover));
  color: var(--header-btn-2-hover-color, var(--button-text-color-hover)) !important;
  border-color: var(--header-btn-2-hover-border, var(--button-bg-hover));
}

@media (min-width: 991px) {
  .header-is-sidebar {
    padding-left: 280px;
  }
  .header-is-sidebar.header-sidebar-right {
    padding-left: 0;
    padding-right: 280px;
  }
  .header-is-sidebar .header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
  }
  .header-is-sidebar .header .container {
    max-width: none;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .header-is-sidebar .header__wrap {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: 1;
    min-height: 0;
    height: auto;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  .header-is-sidebar .header__logo {
    order: 1;
  }
  .header-is-sidebar .header__logo img {
    max-width: 140px;
    margin: 0 auto;
  }
  .header-is-sidebar .header__btn {
    order: 2;
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  .header-is-sidebar .header__btn button, .header-is-sidebar .header__btn a {
    width: 100%;
    min-width: 0;
  }
  .header-is-sidebar .header__nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    order: 3;
    width: 100%;
    z-index: auto;
  }
  .header-is-sidebar .header__nav > ul {
    display: block;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
    width: 100%;
  }
  .header-is-sidebar .header__nav > ul::-webkit-scrollbar {
    width: 6px;
  }
  .header-is-sidebar .header__nav > ul::-webkit-scrollbar-track {
    background-color: transparent;
  }
  .header-is-sidebar .header__nav > ul::-webkit-scrollbar-thumb {
    background-color: #34363c;
    border-radius: 10px;
  }
  .header-is-sidebar .header__nav-link {
    width: 100%;
    padding: 10px 0;
  }
  .header-is-sidebar .header__nav-chevron {
    margin-left: auto;
  }
  .header-is-sidebar .header__dropdown {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    background: transparent;
    padding: 0 0 0 26px;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  .header-is-sidebar .header__dropdown::before {
    display: none;
  }
  .header-is-sidebar .header .header__nav-item-open .header__dropdown {
    max-height: 800px;
    opacity: 1;
    padding: 0 0 8px 26px;
    pointer-events: auto;
  }
  .header-is-sidebar .header__help {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
  }
  .header-is-sidebar.header-sidebar-right .header {
    left: auto;
    right: 0;
  }
}

.header__help {
  font-size: var(--button-font-size, 14px);
  font-weight: 700;
  padding: 10px 16px;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--button-border-radius, 4px);
  border: 1px solid var(--accent, transparent);
  box-sizing: border-box;
  width: auto;
  min-width: 140px;
  transition: 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--button-bg);
  color: var(--button-text-color);
}
.header__help:hover {
  background: var(--button-bg-hover, var(--button-bg));
  color: var(--button-text-color-hover, var(--button-text-color));
  border-color: var(--accent, var(--button-bg-hover, var(--button-bg)));
}

@media (max-width: 990px) {
  .header-sidebar-left .header__nav {
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }
}
@media (min-width: 991px) {
  .header-is-sidebar.header-sidebar-right .up-btn {
    right: 300px;
  }
}
html.header-menu-open,
body.header-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.header-menu-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/*# sourceMappingURL=header.css.map */
