/* --- Header --- */
.bk-content__header {
  height: 269px;
  position: relative;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bk-content__header_banner {
  z-index: 1;
}
.bk-content__header_banner,
.bk-content__header_pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  border-radius: 16px;
  justify-content: center;
}
.bk-content__header_pattern {
  overflow: hidden;
}
.bk-content__header_banner img {
  height: 100%;
  width: auto;
  object-fit: cover;
}
.bk-content__header_pattern img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.bk-content__header_top,
.bk-content__header_bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px 15px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}
.bk-header-ratings {
  color: #fff;
  font-weight: 500;
  font-size: 10px;
  line-height: 15px;
  width: 170px;
  display: flex;
  align-content: center;
  flex-direction: column;
  position: relative;
  right: -22px;
  text-align: right;
  text-transform: uppercase;
  margin-left: auto;
}
.bk-header-ratings__rating {
  border-radius: 10px 0px 0px 4px;
  height: 45px;
  position: relative;
  display: flex;
  padding: 0 10px;
  padding-left: 15px;
  align-items: center;
  margin-bottom: 8px;
}
.bk-header-ratings__rating::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 45px;
  top: 0;
  left: -4px;
  border-radius: 10px 0px 0px 4px;
  transform: skew(166deg);
}
.bk-header-ratings__rating::after {
  content: "";
  position: absolute;
  right: 0px;
  bottom: -7px;
  z-index: -1;
  width: 0;
  height: 0;
  border: 0 solid transparent;
  border-bottom-width: 7px;
  border-top-width: 0px;
  border-left-width: 7px;
  border-left-style: solid;
  background-color: transparent;
}
.bk-header-ratings__rating.users,
.bk-header-ratings__rating.users::before {
  background: linear-gradient(
    181.72deg,
    #08df69 -57.58%,
    #00c659 56.61%,
    #00d560 178.68%
  );
}
.bk-header-ratings__rating.site,
.bk-header-ratings__rating.site::before {
  background: linear-gradient(180deg, #31c1ff 0%, #00b2ff 38.02%, #34c2ff 100%);
}
.bk-header-ratings__rating.users::after {
  border-left-color: #007836;
}
.bk-header-ratings__rating.site::after {
  border-left-color: #00a1e6;
}
.bk-header-ratings__rating .value-container {
  position: relative;
  width: 27px;
  height: 27px;
  flex: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}
.bk-header-ratings__rating span.value {
  font-weight: bold;
  font-size: 10px;
  line-height: 12px;
  text-align: right;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #003372;
  position: relative;
  z-index: 1;
}
.bk-header-ratings__rating span.value-inner::before {
  position: absolute;
  font-family: "Betru";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "\e944";
  font-size: 30px;
  color: #fff;
  line-height: 100%;
}

.bk-content__header_bottom {
  margin-bottom: 14px;
}
.bk-header-bottom__item {
  background-color: rgb(255 255 255 / 0.1);
  border-radius: 12px;
  padding: 10px;
  width: 197px;
  text-align: center;
}

.bk-header-bottom__item a:focus,
.bk-header-bottom__item a:hover,
.bk-header-bottom__item a:active {
  color: #00b953;
  cursor: pointer;
}

.bk-header-bottom__item,
.bk-header-bottom__item a {
  font-weight: 500;
  /*    font-size: 13px;*/
  line-height: 26px;
  color: #ffffff;
}
.bk-header-bottom__item a {
  text-decoration: underline;
}

.bk-header-bottom__item_links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 8px;
}
.bk-header-bottom__item_links a {
  text-decoration: none;
  display: flex;
  justify-content: center;
}
.bk-header-bottom__item_links a::before {
  font-family: "Betru";
  margin-right: 5px;
  font-weight: normal;
  font-size: 22px;
  margin: auto 8px;
}
.bk-header-bottom__item_links a.reviews::before {
  content: "\e909";
  font-size: 18px;
  margin-right: 5px;
  margin-left: 0;
}
.bk-header-bottom__item_links a.android::before {
  content: "\e900";
}
.bk-header-bottom__item_links a.ios::before {
  content: "\e901";
}
.bk-header-bottom__item_links a.pc::before {
  content: "\e927";
}
@media screen and (max-width: 550px) {
  .bk-content__header_pattern {
    opacity: 0;
  }
  .bk-content__header_pattern.show {
    opacity: 1;
  }
}

@media (max-width: 541px) {
  .bk-content__header {
    height: auto;
    justify-content: flex-start;
    border-radius: 8px 8px 0 0;
  }

  .bk-content__header_pattern {
    border-radius: 8px 8px 0 0;
  }

  .bk-content__header_banner {
    display: none;
  }

  .bk-content__header_top {
    display: block;
    padding: 13px 0 0;
  }
  .bk-content__header_top-logo {
    height: 56px;
    padding-bottom: 28px;
    box-sizing: border-box;
  }

  .bk-content__header_top img {
    display: block;
    margin: 0 auto;
    height: 100%;
    /*        max-height: 28px;*/
    width: auto;
  }

  .bk-header-ratings {
    flex-direction: row;

    position: static;
    font-weight: 700;
    font-size: 9px;
    line-height: 15px;
    line-height: 10px;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    width: auto;
  }

  .bk-header-ratings .bk-header-ratings__rating {
    margin-bottom: 0;
    padding-top: 23px;
    padding-bottom: 25px;
    height: auto;
    flex-direction: column-reverse;
    background: none;
    flex: 1 0 50%;

    border-top: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 0;
    box-sizing: border-box;
  }

  .bk-header-ratings__rating .value-container {
    width: 38px;
    height: 38px;
    margin-left: 0;
    margin-bottom: 4px;
  }

  .bk-header-ratings__rating span.value-inner::before {
    font-size: 38px;
    font-weight: normal;
  }

  .bk-header-ratings .bk-header-ratings__rating.site {
    border-right: 1px solid rgba(256, 256, 256, 0.1);
  }

  .bk-header-ratings__rating.site::after,
  .bk-header-ratings__rating.users::after,
  .bk-header-ratings__rating::before {
    display: none;
  }

  .bk-content__header_bottom {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-bottom: 0;
  }

  .bk-header-bottom__item_links a::before {
    /*        font-size: 14px;*/
    /*        margin: auto 2px;*/
  }

  .bk-header-bottom__item_links {
    margin-top: 0;
  }

  .app-content .bk-content__header_bottom .bk-header-bottom__item {
    margin: 0;
    background: none;
    border-radius: 0;
    flex: 1 0 50%;
    justify-content: center;
    padding: 17px 0 14px;

    border-top: 1px solid rgba(256, 256, 256, 0.1);
    box-sizing: border-box;
  }

  .bk-header-bottom__item:first-child {
    border-right: 1px solid rgba(256, 256, 256, 0.1);
  }

  .app-content
    .bk-header-bottom__item.single-app
    .bk-header-bottom__item_app::before {
    font-size: 21px;
    height: 21px;
    width: 21px;
    left: 8%;
  }

  .bk-header-ratings__rating span.value {
    color: #ffffff;
  }

  .bk-header-ratings__rating.site span.value-inner::before {
    color: #0fb7ff;
  }

  .bk-header-ratings__rating.users span.value-inner::before {
    color: #1fcd6d;
  }

  .bk-header-ratings__rating span.value {
    margin: 0;
  }

  /* Для странциы приложения БК */

  /* bk-content */
  /* .app-content .bk-content__header {
        margin-bottom: 9px;
        height: 552px;

        justify-content: flex-start;
    }

    .app-content .bk-content__header_bottom {
        justify-content: center;
    } */

  /*end  bk-content */

  /* bk-header */

  /* 
    .app-content .bk-header-ratings {
        font-size: 9.27px;
        line-height: 10.98px;
    }

    .app-content .bk-header-ratings__rating {
        height: 42px;
    }

    .app-content .bk-header-ratings__rating::before {
        height: 100%;
    }

    .app-content .bk-header-bottom__item {
        padding: 11px;
        width: 152px;
        max-width: 100%;
    }

    .app-content .bk-header-bottom__item:first-child {
        margin-right: 4px;
    }

    .app-content .bk-header-bottom__item:last-child {
        margin-left: 4px;
    } */
  /* end bk-header */
}

@media (max-width: 510px) {
  .bk-content__header {
    margin-bottom: 0;
  }
}

@media (max-width: 375px) {
  /* .app-content .bk-content__header_top {
        display: block;
    }

    .app-content .bk-header-ratings {
        margin-top: 15px;
        margin-left: auto;
    } */
}

.header .container {
  max-width: 1270px;
  padding-right: 10px;
  padding-left: 10px;
  width: auto;
}

/*из-за того чтоя поменял ширину контейнера для шапки, весь контент должен быть по центру*/
.site-box.primary {
  justify-content: center;
}

header {
  width: 100%;
  display: block;
  position: sticky;
  top: 0;
  left: 0;
  padding: 20px 0;
  height: 48px;
  background: #262f56;
  z-index: 1000;
}

.header .site-search form {
  height: 39px;
}
.header .site-search.opened form {
  right: -2px;
}
header .site-box {
  position: relative;
  display: block;
  z-index: 1;
  background: transparent;
}
.site-box {
}
.header__body {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.header__logo {
  display: block;
  width: 120px;
  height: 50px;
  flex: 0 0 120px;
}
.header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn {
}
.header .header__btn {
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 11px 24px;
  background: #262f56;
}
.header .header__gift {
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 24px;
  background: #262f56;
}

.header .search-icon {
  width: 36px;
  height: 36px;
}

.header .header__gift {
  cursor: pointer;
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 6px 0 #cd3d18, 0 0 1px 4px rgba(255, 255, 255, 0.1);
  background: radial-gradient(50% 50% at 50% 50%, #f7b93c 0%, #eb8211 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.header__bg-right {
  background: #00c659;
  top: 0;
  right: 0;
  width: 33%;
  position: absolute;
  height: 100%;
  display: block;
}
.header__bg-right::before {
  content: "";
  width: 100px;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: -28px;
  background: #00c659;
  transform: skew(-17deg);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.site-navigation ul.menu > li .sub-menu {
  display: none !important;
}
.site-navigation ul.menu > li:has(.sub-menu) > a:after {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-left: 2px;
  /*TODO: change to actual theme url */
  background: url(/wp-content/themes/betru_new/images/chevron.svg) no-repeat;
  background-size: contain;
  transform: rotate(180deg);
  transition: all 0.3s ease 0s;
}
.site-navigation ul.menu > li > a {
  color: #fff !important;
}
.site-navigation ul.menu > li > a {
  gap: 2px;
}
.site-navigation ul.menu > li > a:focus:after,
.site-navigation ul.menu > li > a:hover:after,
.site-navigation ul.menu > li > a:active:after {
  transform: rotate(0);
}

.site-search {
  width: auto !important;
}

.sub-menu {
  width: 280px !important;
  box-shadow: none !important;
  top: 126% !important;
}

.site-navigation ul.menu > li {
  margin: 0 !important;
}

.site-navigation ul.menu > li > ul.sub-menu {
  width: 320px !important;
}

.site-navigation ul.menu > li .sub-menu > li > a {
  display: flex !important;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

/* Если включена вторая вложенность */
.site-navigation ul.menu > li:hover > ul.sub-menu > li:hover > ul.sub-menu {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.site-navigation
  ul.menu
  > li:hover
  > ul.sub-menu:has(> li:hover > ul.sub-menu) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Если включена третья вложенность */
.site-navigation
  ul.menu
  > li:hover
  > ul.sub-menu
  > li:hover
  > ul.sub-menu
  > li:hover
  > ul.sub-menu {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.site-navigation
  ul.menu
  > li:hover
  > ul.sub-menu
  > li:hover
  > ul.sub-menu:has(> li:hover > ul.sub-menu) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/*хз зачем нужен вообще before*/

.sub-menu > li ul.sub-menu::before {
}

.sub-menu > li ul.sub-menu {
  left: 100% !important;
  top: 0 !important;
}

.search-icon::before {
  content: "" !important;
  display: block;
  width: 20px;
  height: 20px;
  /*TODO: change to actual theme url */
  background: url(/wp-content/themes/betru_new/images/search.svg) no-repeat;
  background-size: contain;
}

.site-navigation ul.menu {
  gap: 12px !important;
  justify-content: start !important;
}
.site-navigation ul.menu > li:hover:before {
  height: 10px;
}
.site-navigation ul.menu > li:before {
  content: "";
  display: block;
  height: 10px;
  width: 100%;
  position: absolute;
  top: 100%;
  transition: all 0.3s ease;
}

.sub-menu-main {
  left: 0;
  top: calc(100% + 10px);
  background-color: #fff;
  border-radius: 10px;
  position: absolute;
  box-shadow: 0 4px 64px rgba(26, 42, 77, 0.16);
  will-change: transform, opacity, min-height;
  transition: max-height 0.35s ease-in, transform 0.25s ease,
    min-height 0.2s ease, opacity 0.55s ease;
  z-index: -1;
  transform: translateY(-20px);
  height: 0;
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  width: 230px;
  box-sizing: border-box;
  bakground: green;
  width: 880px;

  display: grid;
  grid-template-columns: 33fr 28fr 28fr;
}

.header ul.menu {
  position: relative;
}
.sub-menu-main ul.sub-menu {
  position: relative;
  top: 0 !important;
}
.sub-menu-main {
  border-radius: 10px;
  overflow: hidden !important;
}

.sub-menu-main-item .sub-menu.shown,
.sub-menu-main-item.__first .sub-menu {
  padding: 1rem !important;
  border-radius: 0;
  z-index: 1001;
}

.sub-menu-main .sub-menu.shown li,
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu li {
  margin-top: 10px;
}
.sub-menu-main .sub-menu.shown li:first-child,
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu li:first-child {
  margin-top: 0;
}
ul.menu .sub-menu-main-item li > .sub-menu {
  display: none !important;
  padding: 0 !important;
}
.sub-menu-main .sub-menu {
  display: none;
  padding: 0;
}
.sub-menu-main .sub-menu li {
  display: none;
}
.sub-menu-main .sub-menu.shown li,
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu li {
  display: block;
}
.sub-menu-main .sub-menu.shown {
  display: block;
  padding: 0 20px;
}
.sub-menu-main:hover,
.sub-menu.shown,
.sub-menu-main.shown,
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu {
  opacity: 1;
  z-index: 1;
  height: auto;
  overflow: visible;
  overflow: initial;
  transform: translateY(0);
  max-height: none;
  visibility: visible;
}

.sub-menu-main .sub-menu li a {
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 130%;
  color: #262f56;
  transition: all 0.3s ease 0s;
}

.sub-menu-main .sub-menu li a:hover,
.sub-menu-main .sub-menu li.clicked a {
  color: #00c659;
}
.sub-menu-main {
  padding-right: 2px;
}

.sub-menu-main.shown .sub-menu-main-item .sub-menu {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100%;
}
.sub-menu-main.shown .sub-menu-main-item .sub-menu li a {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu {
  width: 330px !important;
}

.sub-menu-main {
  height: 362px;
}
.sub-menu-main-item {
  max-height: 362px;
  overflow-y: auto;
  overflow-x: hidden;
  width: auto;
  height: 362px;
}
.sub-menu-main-item.__third .sub-menu {
  max-height: calc(362px - 100px - 2rem);
  height: max-content;
  overflow: scroll;
}
.sub-menu-main-item {
  position: relative;
}
.sub-menu-main-item.__second,
.sub-menu-main-item.__third {
  border-left: 1px solid #d9eafa !important;
  margin-left: 2px !important;
}

.sub-menu-main-item.__third .sub-menu::-webkit-scrollbar {
  width: 2px; /* Ширина */
}
.sub-menu-main-item.__third .sub-menu {
  padding: 0 !important;
  overflow: hidden;
}
.sub-menu-main-item.__third .sub-menu.shown {
  padding: 10px !important;
  overflow: scroll;
}
.sub-menu-main-item.__third .sub-menu::-webkit-scrollbar-thumb {
  background: #262f56; /* Цвет бегунка */
  border-radius: 2px; /* Радиус скругления */
}

.sub-menu-main-item.__third {
  overflow: hidden !important;
}
.sub-menu-main-item::-webkit-scrollbar {
  width: 2px; /* Ширина */
}
.sub-menu-main-item::-webkit-scrollbar-thumb {
  background: #262f56; /* Цвет бегунка */
  border-radius: 2px; /* Радиус скругления */
}

.sub-menu-main-item .sub-menu {
  overflow: visible;
}

.sub-menu_banner {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 248px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}

.sub-menu_banner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
}

.addmenu {
}

.addmenu {
  flex: 0 0 20px;
  margin-right: 0;
  position: relative;
}
.site-navigation {
  gap: 12px;
}
.addmenu ul.menu {
}

.addmenu ul.menu {
  position: absolute;
  top: calc(100% + 10px);
  width: max-content;
  height: max-content !important;
  background: white;
  display: block !important;
  border-radius: 10px;
  overflow: hidden;
  left: -50%;
  padding: 6px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease 0s;
}
.addmenu ul.menu.open {
  pointer-events: all;
  opacity: 1;
}
.addmenu ul.menu li {
}
.addmenu ul.menu li {
  display: block !important;
  padding: 10px;
}
.addmenu ul.menu li a {
  transition: all 0.3s ease;
  color: #262f56 !important;
}
.addmenu ul.menu li:hover a {
  color: #00c659 !important;
}
.addmenu-btn {
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.addmenu-btn span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.addmenu-btn span:nth-child(1) {
  top: 2px;
  transform: rotate(-45deg);
}
.addmenu-btn span:nth-child(2) {
  top: 8px;
}
.addmenu-btn span:nth-child(3) {
  bottom: 2px;
  transform: rotate(45deg);
}

/* .addmenu-btn.active span:nth-child(1) {
  top: 9px;
  width: 80%;
  height: 2px;
}
.addmenu-btn.active span:nth-child(2) {
  width: 0;
}
.addmenu-btn.active span:nth-child(3) {
  bottom: 9px;
  width: 80%;
  height: 2px;
} */

@media (max-width: 1270px) {
  .addmenu {
    margin: 0;
  }
  .header__right {
    gap: 10px;
  }
  .header__logo {
    flex: 0 0 100px;
    width: 120px;
  }
  .header__body {
    gap: 10px;
  }
}
@media (max-width: 1000px) {
  .site-search.opened form {
    width: 450px;
  }
}
.menu-osnovnye-punkty-container {
  width: max-content !important;
}

ul.menu > li .sub-count {
  display: none;
}

.header__mobile {
  display: none;
}

.mobile-header-icon {
  width: 20px;
  height: 20px;
}
.mobile-header-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .header__mobile {
    display: absolute;
  }
  ul.menu > li .sub-count {
    display: block;
  }
  .header__burger-wrapper {
    display: block;
    background: #3c4467;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }
  .header__burger {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
  .header__burger:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    position: absolute;
    background: #fff;
    width: 100%;
    height: 1.5px;
    border-radius: 1px;
    transition: all 0.3s ease 0s;
  }
  .header__burger span {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    position: absolute;
    background: #fff;
    width: 100%;
    height: 1.5px;
    border-radius: 1px;
    top: 5px;
    transition: all 0.3s ease 0s;
  }
  .header__burger:after {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    position: absolute;
    background: #fff;
    width: 100%;
    height: 1.5px;
    border-radius: 1px;
    transition: all 0.3s ease 0s;

    top: 10px;
  }

  .header__burger-wrapper.active .header__burger span {
    width: 0;
  }

  .header__burger-wrapper.active .header__burger:before {
    width: 80%;
    top: 5px;
    transform: rotate(45deg);
  }
  .header__burger-wrapper.active .header__burger:after {
    top: 5px;
    width: 80%;
    transform: rotate(-45deg);
  }
  .header__mobile {
    position: fixed;
    left: 0;
    width: 100%;

    height: max-content;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease 0s;
  }

  .header__wrapper::-webkit-scrollbar {
    width: 2px; /* Ширина */
  }
  .header__wrapper::-webkit-scrollbar-thumb {
    background: #262f56; /* Цвет бегунка */
    border-radius: 2px; /* Радиус скругления */
  }
  .header__wrapper {
    overflow: scroll;
    height: max-content;
  }

  .header__mobile.active {
    opacity: 1;
    pointer-events: all;
    height: 100% !important;
  }

  .header__wrapaper {
    width: 100%;
  }
  .header__mobile .sub-menu_banner {
    position: fixed;
    border-radius: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
  }
  .header__mobile {
    padding: 20px 0;
    background: #fff;
  }
  .header__mobile {
    position: fixed !important;

    left: 0;
    top: 100%;
    background-color: #fff;
    box-shadow: 0 4px 64px rgba(26, 42, 77, 0.16);
    will-change: transform, opacity, min-height;
    transition: max-height 0.35s ease-in, transform 0.25s ease,
      min-height 0.2s ease, opacity 0.55s ease;
    z-index: -1;
    transform: translateY(-20px);
    height: 0;
    overflow: scroll;
    max-height: 0;
    visibility: hidden;
    display: block !important;
    box-sizing: border-box;
  }
  .header__mobile.active {
    opacity: 1;
    z-index: 1001;
    height: auto;
    overflow: hidden;
    transform: translateY(0);
    max-height: none;
    visibility: visible;
    transition: all 0.3s ease;
  }

  .header__mobile ul.menu > li.clicked > .sub-menu,
  .header__mobile ul.menu > li.clicked > .sub-menu > li.clicked > .sub-menu,
  .header__mobile
    ul.menu
    > li.clicked
    > .sub-menu
    > li.clicked
    > .sub-menu
    > li.clicked
    > .sub-menu {
    position: static;
    opacity: 1;
    z-index: 1;
    height: auto;
    overflow: hidden;
    transform: translateY(0);
    max-height: none;
    visibility: visible;
    transition: all 0.3s ease;
  }

  .header__wrapper > div,
  .menu-osnovnye-punkty-container {
    width: 100% !important;
  }
  ul.menu .sub-menu {
    width: 100% !important;
    border-left: none;
    overflow: hidden;
  }
  ul.menu > li a {
    padding: 12px 16px;
    border-bottom: 1px solid #d9eafa;
    width: auto;
  }
  ul.menu li a {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: start;
    color: #262f56;
    transition: all 0.3s ease;
  }
  ul.menu li:hover > a,
  ul.menu li.clicked > a {
    color: #00c659;
  }

  .mobile-header-icon {
    position: relative;
  }

  .mobile-header-icon:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    background: #00c659;
    mix-blend-mode: screen;
    opacity: 0;
    transition: all 0.3s ease;
  }
  ul.menu li:hover > a > .mobile-header-icon:before,
  ul.menu li.clicked > a > .mobile-header-icon:before {
    opacity: 1;
  }

  ul.menu li > .sub-menu {
    padding-left: 0;
  }

  ul.menu li > .sub-menu > li > .sub-menu {
    padding-left: 20px;
  }
  ul.menu li > .sub-menu > li > .sub-menu > li > .sub-menu {
    padding-left: 30px;
  }
  ul.menu li .sub-count {
    flex: 1 1 auto;
    text-align: right;
  }
  .header__mobile .header__btn {
    display: none;
    width: calc(100% - 20px);
    margin: 1rem auto 0;
    background: #262f56;
  }
  header__mobile {
    border-radius: 0 !important;
  }
  .search-icon {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 600px) {
  .header__bg-right {
    display: none;
  }
  .header__gift span.to-remove-later {
    display: none;
  }
  .header__mobile .header__btn {
    display: block;
  }
  .header .header__btn {
    padding: 8px 12px;
  }

  .header__mobile .header__btn {
    display: block;
  }
  .header .header__btn[data-fancybox] {
    display: none;
  }
}

body {
}
body.lock {
  overflow: hidden;
}

/* update the box width 

*/
.sub-menu-main {
  width: 330px;
  grid-template-columns: 1fr;
  transition: all 0.3s ease;
}

.sub-menu-main:hover,
.sub-menu.shown,
.sub-menu-main.shown,
.sub-menu-main.shown .sub-menu-main-item.__first .sub-menu {
  height: 362px;
}
.sub-menu-main .sub-menu-main-item.__third {
  width: 0;
  transition: all 0.3s ease;
}
.sub-menu-main .sub-menu-main-item.__second {
  width: 0;
  transition: all 0.3s ease;
}
.sub-menu-main:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.sub-menu-main-item {
  border-radius: 1.25rem;
}
.sub-menu-main:has(.sub-menu-main-item.__first li.clicked) {
  width: 550px;
  grid-template-columns: 33fr 28fr;
}
.sub-menu-main:has(.sub-menu-main-item.__first li.clicked)
  .sub-menu-main-item.__second {
  width: 100%;
}

.sub-menu-main:has(.sub-menu-main-item.__second li.clicked) {
  width: 880px;
  grid-template-columns: 33fr 28fr 28fr;
}

.sub-menu-main:has(.sub-menu-main-item.__second li.clicked)
  .sub-menu-main-item.__third {
  width: calc(100% - 2px);
}

/*new update */
.sub-menu-main {
  overflow: visible !important;
}
.sub-menu-main {
  opacity: 0;
  pointer-events: none;
}
.sub-menu-main.shown {
  opacity: 1;
  pointer-events: all;
}
