/* =========================
   Top head bar
========================= */
#head__main {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  position: relative;
}

.head__block,
.head__control,
.head__cnt,
.head__para,
.level-item {
  display: flex;
  align-items: center;
}

.head__control {
  gap: 8px;
}

.head__control a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  text-decoration: none;
  border-radius: 8px;
  background-color: rgba(78, 93, 134, 0.3);
  transition: 0.2s;
}

.head__control a svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.head__control::after,
.head__cnt::before,
.head__cnt::after,
.head__para::after {
  content: "";
  width: 1px;
  height: 15px;
  background-color: #fff;
  opacity: 0.2;
}

.head__control::after {
  margin: 0 12px;
}

.head__cnt::before {
  margin: 0 14px;
}

.head__cnt::after,
.head__para::after {
  margin: 0 10px;
}

.head__money {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  padding: 0 8px;
  border-radius: 50px;
  background-image: linear-gradient(285.39deg, #ffb800 -4.36%, #fff173 115.87%);
}

.head__money img {
  max-height: 42px;
  margin-left: -13px;
}

.head__money span {
  color: #090f1e;
  font-size: 12px;
  font-weight: 600;
}

.head__money svg {
  width: 8px;
  margin-left: 8px;
  fill: #795805;
}

.head__promo {
  position: relative;
  display: flex;
  align-items: center;
  width: 141px;
  height: 25px;
  padding-right: 35px;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  background-color: rgba(78, 93, 134, 0.3);
  transition: 0.2s;
}

.head-promo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  transform: translateX(-10px);
  background: linear-gradient(86.37deg, #d062ff 2.96%, #7bb0ff 99.68%),
    linear-gradient(90deg, #ed6ea0, #ec8c69);
  box-shadow: 0 5px 15px rgba(201, 85, 255, 0.4);
}

.head-promo__icon svg {
  width: 18px;
}

.head__promo img {
  position: absolute;
  top: 50%;
  right: 0;
  max-height: 56px;
  transform: translateY(-50%) translateX(30%) rotate(-13deg);
}

.head__para {
  font-size: 10px;
}

.head-para__block {
  display: inline-block;
  margin-right: 10px;
  line-height: 14px;
}

.head-para__block span,
.head-para__block small {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.head-para__block small {
  color: hsla(0, 0%, 100%, 0.5);
}

.head__para a {
  width: 24px;
}

.head-app-android {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background-color: rgba(78, 93, 134, 0.3);
}

.head-app-android a {
  display: flex;
  z-index: 99;
}

.head-app-android a + a {
  margin-left: 6px;
}

.head-app-android a svg {
  width: 13px;
}

.v-abs {
  position: absolute;
  top: 38px;
  left: 24%;
  z-index: 22;
  display: none;
  width: 270px;
  height: 265px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  transform: translateX(-50%);
}

.v-abs::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
}

.head-app-android:hover .v-abs {
  display: block;
}

.mobile-pwa-info-text {
  margin-top: 20px;
}

.mobile-pwa-info-text p {
  color: #000;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
}

.v-image-sizing {
  position: absolute;
  top: -5px;
  left: 51%;
  width: 15px;
  height: 15px;
  background-image: url(../img/tooltip-arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  transform: translateX(-50%);
}

.head-leng {
  position: relative;
  z-index: 99;
  display: flex;
}

.head-leng__block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 64px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background-color: rgba(78, 93, 134, 0.3);
  cursor: pointer;
  transition: 0.3s;
}

.head-leng__block::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 31px;
  width: 3px;
  height: 3px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  opacity: 0.8;
  transform: rotate(135deg);
  transition: 0.3s;
}

.head-leng__block span {
  font-size: 12px;
  text-transform: uppercase;
}

.head-leng__block img,
.head-leng-droup li a img,
.header__locale img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.head-leng-droup {
  position: absolute;
  top: 27px;
  right: 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 64px;
  padding: 10px 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #192033;
  transition: 0.3s;
}

.head-leng-droup li a {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.head-leng-droup li a span {
  display: inline-block;
  width: 20px;
  margin-right: 2px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.click-open-leng .head-leng-droup {
  display: flex;
}

.click-open-leng .head-leng__block::after {
  top: 11px;
  transform: rotate(-45deg);
}

.header__logo {
  display: flex;
  width: 68px;
}

.header__locale {
  display: flex;
  margin-left: 6px;
}

.search_input {
  display: none;
}

/* =========================
   Main header
========================= */
#header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 47px;
  padding: 0 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #1d273e, #11182a);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.header__main > .header__logo {
  display: none;
}

.logotype img,
#header .logotype img {
  display: block;
  width: auto;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
}

#header .logotype {
  flex: 0 0 auto;
}

.menu-cnt,
.header__wrap {
  height: 100%;
}

.header__wrap {
  display: flex;
}

.header__wrap ul {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 20px;
}

.header__wrap ul li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 11px;
  transition: 0.3s;
}

.header__wrap ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  background-color: #0095ff;
  transition: 0.3s;
}

.header__wrap ul .current-menu-item::after {
  opacity: 1;
}

.header__wrap ul .current-menu-item a {
  font-weight: 700;
}

.header__wrap ul li a {
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
}

.header__wrap ul li a img {
  width: 60px;
}

.navigat-new {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 10px;
  background: linear-gradient(-260deg, #7f66d2, #5484f2);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.header__buttons {
  display: flex;
  align-items: center;
  margin-left: 60px;
}

.btn_login,
.btn_registration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.btn_login {
  padding: 0 12px;
  color: #fff;
  background-color: rgba(78, 93, 134, 0.3);
}

.btn_login:hover {
  color: #fff;
  background-color: #1f2747;
}

.btn_registration {
  margin-left: 15px;
  padding: 0 10px;
  color: #fff;
  background-image: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
}

.btn_registration:hover {
  background-image: linear-gradient(70deg, #2ba35b -8%, #0a8543 96%);
}

.btn_registration__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  padding: 3px;
  border-radius: 50%;
  font-size: 16px;
  background-image: linear-gradient(
    210deg,
    hsla(0, 0%, 100%, 0) 25%,
    hsla(0, 0%, 100%, 0.06) 48%,
    #fff 133%
  );
}

.open-menu {
  position: relative;
  display: none;
  width: 30px;
  height: 20px;
}

.open-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.close-menu {
  display: none;
}

.body_fix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.body_fix .open-menu.close-menu {
  z-index: 9996;
}

/* =========================
   Desktop / mobile split
========================= */
.header__nav--desktop {
  display: none;
}

@media (min-width: 1025px) {
  .header__nav--desktop {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 24px;
  }

  .header__nav--desktop .header-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header__nav--desktop .header-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header__nav--desktop .header-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .header__nav--desktop .header-menu > li.current-menu-item > a,
  .header__nav--desktop .header-menu > li.current-menu-parent > a {
    border-bottom: 3px solid #18a0fb;
  }

  .open-menu {
    display: none;
  }

  #mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .header__nav--desktop {
    display: none !important;
  }
}

/* =========================
   Responsive header
========================= */
@media (max-width: 1600px) {
  .header__buttons {
    margin-left: 10px;
  }

  .header__wrap ul {
    margin-left: 5px;
  }
}

@media (max-width: 1320px) {
  .header__wrap ul li {
    margin: 0 5px;
  }

  .header__wrap ul li a {
    font-size: 11px;
  }
}

@media (max-width: 1200px) {
  body {
    padding-top: 56px;
  }

  .header__main > .header__logo {
    display: flex;
  }

  .level-item,
  .head__block .header-button {
    display: none;
  }

  .head__block .head__control::after {
    margin: 0 12px 0 0;
  }

  #header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 0 20px 0 15px;
    border-radius: 0;
    justify-content: space-between;
  }

  .header__buttons {
    margin-left: auto;
    margin-right: 20px;
  }

  .open-menu {
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .open-menu span:nth-child(2),
  .open-menu span:nth-child(3) {
    top: 10px;
  }

  .open-menu span:last-child {
    top: 20px;
  }

  .close-menu span {
    top: 50%;
    transform: translateY(-50%);
  }

  .close-menu span:first-child,
  .close-menu span:last-child {
    display: none;
  }

  .close-menu span:nth-child(2) {
    transform: rotate(45deg);
    right: auto;
  }

  .close-menu span:nth-child(3) {
    transform: rotate(-45deg);
    right: auto;
  }

  .menu-width {
    width: 0 !important;
    transition: all 0.5s ease 0s !important;
  }

  .transition-menu {
    width: 290px !important;
    transition: all 0.5s ease 0s !important;
  }

  .menu-cnt {
    position: fixed;
    top: 55px;
    right: 0;
    z-index: 9996;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: 0;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: linear-gradient(173deg, rgba(37, 46, 76, 0.98) 2%, rgba(25, 32, 51, 0.98));
  }

  .header__wrap {
    display: flex;
    flex-direction: column;
    padding: 45px 15px 0;
  }

  .header__wrap ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-height: 85%;
    margin-left: 0;
    padding-bottom: 16px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .header__wrap ul li {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0;
    border-bottom: 1px solid rgba(97, 97, 97, 0.253);
  }

  .header__wrap ul li::after {
    background-color: unset;
  }

  .header__wrap ul .active::after {
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(0, 149, 255, 0.424), transparent);
  }

  .header__wrap ul li > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.2;
  }

  /* Mobile drawer search */
  .search_input {
    display: flex;
    align-items: center;
    margin: 8px 0 16px;
  }

  .search_input form {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    overflow: hidden;
    border: 1px solid #304066;
    border-radius: 8px;
  }

  .search_input label {
    flex: 1 1 auto;
    display: block;
    width: 100%;
  }

  .search_input input[type="search"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: #1d273e;
    background-image: none !important;
    color: #cfd9ff;
    appearance: none;
    -webkit-appearance: none;
  }

  .search_input input[type="search"]::placeholder {
    color: rgba(207, 217, 255, 0.6);
  }

  .search_input input[type="search"]:focus {
    box-shadow: inset 0 0 0 1px rgba(130, 160, 255, 0.5);
  }

  .search_input input[type="search"]::-webkit-search-decoration,
  .search_input input[type="search"]::-webkit-search-cancel-button,
  .search_input input[type="search"]::-webkit-search-results-button,
  .search_input input[type="search"]::-webkit-search-results-decoration {
    appearance: none;
    -webkit-appearance: none;
  }

  .search_input::before,
  .search_input::after,
  .search_input label::before,
  .search_input label::after {
    content: none !important;
    background: none !important;
  }

  .search_input__magnifer {
    position: static !important;
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px !important;
    cursor: pointer;
    background: #1d273e;
    border-left: 1px solid #304066;
  }

  .search_input__magnifer img {
    display: block;
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 960px) {
  #header .menu {
    margin: 0;
    padding: 6px 0;
    list-style: none;
  }

  #header .menu > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
  }

  #header .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    line-height: 1.2;
  }

  #header .menu > li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #header .menu > li > a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  #header .menu > li::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .head__promo,
  .head__cnt {
    display: none;
  }

  .v-abs {
    width: 220px;
    height: 235px;
  }
}

@media (max-width: 430px) {
  .head__money {
    display: none;
  }

  .head__control::after {
    display: none;
  }
}

@media (max-width: 340px) {
  #header {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }

  .header__main {
    justify-content: space-between;
    margin-top: 15px;
  }

  .logotype {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: center;
  }

  #header .logotype__mob_separator {
    display: inline-block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, hsla(0, 0%, 100%, 0.2) 9.92%, transparent);
  }

  .logotype img {
    display: inline-block;
    max-width: 70px;
    margin: 0 20px;
  }

  .header__main > .header__logo {
    display: none;
  }
}

/* =========================
   Mobile menu section titles
========================= */
#mobile-drawer .mobile-menu > .menu-section-title > a {
  display: block;
  padding: 14px 24px 8px;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
  border-bottom: 0 !important;
}

#mobile-drawer .mobile-menu > .menu-section-title > a:hover {
  color: rgba(255, 255, 255, 0.58) !important;
}

#mobile-drawer .mobile-menu > .menu-section-title:not(:first-child) > a {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#mobile-drawer .mobile-menu > .menu-section-title + li > a {
  border-top: 0;
}