.header {
  position: relative;
}
.header button{
  padding: 0;
  background: 0;
}
.header p{
  margin: 0;
}
.header__top {
  background: var(--primary-800);
}
.header__top .container {
  padding: 12px 24px;
}
.header__top-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  gap: 30px;
  -ms-flex-align: center;
      align-items: center;
}
.header__top-block {
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -ms-flex-align: center;
      align-items: center;
  color: var(--color-white);
}
.header__top-block a {
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-align: center;
      align-items: center;
}
.header__top-block a span {
  font: 700 12px/16px var(--Lato);
}
.header__top-block img {
  width: 16px;
  height: 16px;
}
.header__top-menu {
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -ms-flex-align: center;
      align-items: center;
}
.header__top-menu > * {
  font: 700 12px/16px var(--Lato);
}
.header__top-language {
  margin-left: 16px;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -ms-flex-align: center;
      align-items: center;
}
.header__top-language a {
  display: block;
  width: 24px;
  color: var(--color-white);
  position: relative;
  text-align: center;
  font: 700 12px/16px var(--Lato);
}
.header__top-language a:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transition: 0.2s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.header__top-language a.active:after {
  background: rgba(248, 250, 254, 0.3019607843);
}
.header__top-language a:hover:after {
  background: rgba(248, 250, 254, 0.6);
}
.header__wrap .container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  gap: 24px;
  color: var(--color-black);
  padding-right: 24px;
  padding-left: 24px;
  position: relative;
}
.header__menu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 16px;
  -ms-flex-positive: 1;
      flex-grow: 1;
}
.header__menu-item a {
  position: relative;
  display: block;
  color: var(--color-black);
  padding-top: 20px;
  padding-bottom: 20px;
  font: 500 16px/24px var(--Lato);
}
.header .submenu__item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 4px;
}
.header .submenu__item span {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}
.header .submenu__item span:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s ease;
  background: url(../img/header/arr.svg) center/20px 20px no-repeat;
}
.header__cart {
  position: relative;

  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  font: 500 16px/24px var(--Lato);
  transition: 0.2s ease;
}
.header .header__cart {
  padding-left: 28px;
}
.header__cart:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 24px;
  height: 24px;
  transition: 0.2s ease;
  background: url(../img/header/cart.svg) center/24px 24px no-repeat;
}
.header__cart:hover {
  color: var(--primary-400);
}
.header__cart:hover:after {
  background: url(../img/header/cart-active.svg) center/24px 24px no-repeat;
}
.header__right {
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -ms-flex-align: center;
      align-items: center;
}
.header__search{
  height: 24px;
}
.header__search-block {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #D7DAE4;
  &.active{
    border: 1px solid #1A66DF;
  }
}



.header__search-form-bg{
  background: #2C28284D;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.header__search-form-title{
  font: 700 20px/32px var(--Mont);
}
.header__search-form input {
  border: none;
  width: 100%;
}
.header__search-form-wrap{
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: none;
}
.header__search-form-wrap.active {
  left: 50%;
  transform: translateX(-50%);
  top:-40px;
  width: 100vw;
  transition: 0.5s ease;
  display: block;
  z-index: 10001;
}
.header__search-form-container{
  max-width: 1440px;
  display: flex;
  justify-content: flex-end;
  padding: 0 24px;
  margin: 0 auto;
  gap:8px;


}





@media only screen and (max-width: 1440px) {
  .header__search-form-container{
    padding: 0 20px ;
  }
}
.header__search-form-content{
  flex-direction: column;
  background: white;
  display: flex;
  width:100%;
  max-width: 496px;
  padding: 20px;
  border-radius: 16px;
  gap:16px;
  top:60px;
  position: relative;
  height: calc(100vh - 100px);
}
.header__search-icon {
  width: 24px;
  height: 24px;
}
.header__search-icon path {
  transition: 0.2s ease;
}
.header__search-icon:hover path {
  fill: var(--primary-400);
}
.header__search-input {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 8px;
  width: 100%;
}
.header__search-input input {
  font: 400 14px/20px var(--Lato);
  color: var(--color-black);
}
.header__search-input input:-ms-input-placeholder {
  color: #9FA2B5;
}
.header__search-input input::placeholder {
  color: #9FA2B5;
}
.header__submenu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  top: 90px;
  opacity: 0;
  transition: 0.3s all;
  box-shadow: 0px 3px 4px 0px #00000014;
  border-radius: 4px;
  width: 100vw;
  background: #fff;
  padding: 22px 32px;
  border-bottom: 1px solid #e7e7e7;
}
.header__submenu-img {
  aspect-ratio: 148/108;
  height: 108px;
  border: 1px solid #F3F3FA;
  border-radius: 8px;
  overflow: hidden;
}
.header__submenu-list {
  max-width: 1440px;
  margin: 0 auto;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -ms-flex-align: center;
      align-items: center;
  width: 100%;
  overflow-x: auto;
  padding: 0 24px;
}
.header__submenu-list::-webkit-scrollbar {
  background-color: #E9F0FC;
  height: 2px;
}
.header__submenu-list::-webkit-scrollbar-thumb {
  background: #0A2959;
}
.header__submenu-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 8px;
  padding: 0!important;
  font: 500 16px/24px var(--Lato);
  /*text-align: center;*/
  transition: 0.3s all;
  max-width:148px ;
  /*width: 100%;*/
}
.header__submenu-item:hover {
  color: var(--primary-900);
}
.header__submenu-item:hover .header__submenu-img {
  border: 1px solid #1C5DC4;
  border-radius: 8px;
}
.header__burger {
  display: none;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  transition: 0.2s ease;
}
.header__burger span {
  transition: 0.2s ease;
  background-color: var(--color-black);
  width: 20px;
  height: 2px;
  border-radius: 2px;
}
.header__burger-open span {
  display: block;
  position: absolute;
  top: 50%;
  margin: 0;
  transition: 0.2s ease;
}
.header__burger-open span:nth-child(1) {
  transform: rotate(-45deg);
}
.header__burger-open span:nth-child(2) {
  transform: rotate(45deg);
}
.header__burger-open span:nth-child(3) {
  display: none;
}

.hidden {
  overflow: hidden;
}

.search__result {
  display: flex;
  z-index: 1;
  overflow: hidden;
  flex-grow: 1;
}
.search__result-block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 8px;
  width: 100%;
}
.search__result-list {
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  height:calc(100vh - 286px) ;
  padding-right: 4px;
}

.search__result-list::-webkit-scrollbar {
  background-color: #E9F0FC;
  width: 2px;
}


.search__result-list::-webkit-scrollbar-thumb {
  background: var(--primary-500);
  border-radius: 4px;
  width: 2px;
}

.search__result-list::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}
.search__result-item {
  padding: 16px;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-align: start;
      align-items: flex-start;
  position: relative;
  transition: 0.2ms all;
  width: 100%;
}
.search__result-item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s all;
  border: 1px solid #F3F3FA;
  pointer-events: none;
  border-radius: 8px;
}
.search__result-item:hover:after {
  border: 2px solid #1A66DF;
  transition: 0.2s all;
}
.search__result-img {
  min-width: 24.5%;
  width: 24.5%;
  height: auto;
  /*aspect-ratio: 104/96;*/
  border-radius: 8px;
  overflow: hidden;
}
.search__result-info {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 4px;
}
.search__result-empty{
  display: flex;
  flex-direction: column;
  gap:8px;
  align-items: center;
  /*flex-grow: 1;*/
  justify-content: center;
  margin-top: 145px;
}
.search__result-empty-title{
  font: 700 16px/24px var(--Mont);
  color:#31323D;
  text-align: center;
}
.search__result-empty-subtitle{
  font: 400 14px/20px var(--Lato);
  color:#55596C;
  text-align: center;
  margin-bottom: 8px;
}
.search__result-empty-img{
  width: 140px;
  height: 140px;
  & > *{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.search__result-title {
  font: 700 14px/20px var(--Mont);
}
.search__result-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #444655;
  font: 400 12px/16px var(--Lato);
}
.search__result-price {
  font: 700 14px/20px var(--Mont);
  color: #1A66DF;
}
.search__result-show {
  padding: 6px 16px;
}
.search__result-message {
  font: 400 16px/24px var(--Lato);
  color: #55596C;
}
.search__result-preview {
  width: 100%;
  max-width: 496px;
  border-radius: 16px;
  gap: 16px;
  top: 60px;
  position: relative;
  background: white;
  height: calc(100vh - 100px);
  overflow: hidden;
}
.search__detail-info{
  display: flex;
  flex-direction: column;
  gap:8px;
  height: 100%;
  overflow-y:auto ;
  padding-right: 4px;
}
.search__detail-wrap{
  overflow: hidden;
  padding: 20px;
  flex-grow: 1;
  padding-bottom: 68px;
}
.search__detail-title{
  font: 700 20px/32px var(--Mont);
  color:#040C1A;
}
.search__detail-art{
  color:#55596C;
  font: 400 14px/20px var(--Lato);
}
.search__detail-info::-webkit-scrollbar {
  background-color: #E9F0FC;
  width: 2px;
}
.search__detail-info::-webkit-scrollbar-thumb {
  background: #0A2959;
}


.search__detail-bottom{
  display: flex;
  width: calc(100% - 40px);
  gap:16px;
  position: absolute;
  bottom: 20px;
  justify-content: space-between;
  left: 50%;
  transform: translateX(-50%);
}
.search__detail-bottom-price{
  color:#1A66DF;
  font: 700 20px/32px var(--Mont);
}
.search__detail-bottom > *{
  width: calc((100% - 32px)/3);
}
.header__quantity input{
  padding: 10px 30px 10px 10px;
  width: 100%;
  font: 400 14px/20px var(--Lato);
  color:#9FA2B5;
  border: none;
}
.header__quantity{
  position: relative;
  &:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #D7DAE4;
    border-radius:4px ;
    pointer-events: none;
  }
}
.quantity-btn{
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  right: 10px;
  color:#9FA2B5;
  &:after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    width: 18px;
    height: 18px;
    transition: 0.2s ease;
    background: url(../img/header/more.svg) center/18px 18px no-repeat;
  }
  &.minus{
    top:unset;
    bottom: 2px;
    &:after{
      transform: translate(-50%,-50%) rotate(180deg);
    }
  }
}

.search__detail-img{
  width: 100%;
  aspect-ratio: 496/371;
}



.search__result-item .search__detail{
  display: none;
}

.search__detail{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search__result-item:hover {
  background-color: #fafafa;
}

.search__detail-desc{
  color: var(--basic-900);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}
.search__detail-desc p, .search__detail-desc p > *, .search__detail-desc span, .search__detail-desc li {
  font: 400 14px/20px var(--Lato);
  color:#444655;
}
.search__detail-desc ol, .search__detail-desc ul {
  padding-left: 20px;
}
.search__detail-desc ul {
  padding-left: 20px;
}
.search__detail-desc ul li {
  position: relative;
}
.search__detail-desc ul li:after {
  content: "";
  position: absolute;
  top: 9px;
  left: -14px;
  width: 6px;
  height: 6px;
  background-color:#444655;
  border-radius: 50%;
}
.search__detail-desc strong {
  font-weight: 700;
}



.header__cart-wrap {
  position: relative;
}

.header__cart-mini {
  position: absolute;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  background: white;
  width: 100%;
  width: 496px;
  padding: 20px;
  border-radius: 16px;
  gap: 16px;
  right: 0;
  top: -2px;
  height: auto;
  max-height: calc(100vh - 100px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: all 0.4s ease;
}
.header__cart-mini.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__cart-mini-head{
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.header__cart-info{
  display: flex;
  justify-content: space-between;
  gap:16px;
  align-items: center;
}

.header__cart-list{
  display: flex;
  flex-direction: column;
  gap:8px;
  max-height: calc(100vh - 344px);
  overflow-y: auto;
  padding-right: 4px;
}

.header__cart-list::-webkit-scrollbar {
  background-color: #E9F0FC;
  width: 2px;
}


.header__cart-list::-webkit-scrollbar-thumb {
  background: var(--primary-500);
  border-radius: 4px;
  width: 2px;
}

.header__cart-list::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}



.header__cart-list .search__result-title{
  padding-right: 40px;
  &:hover{
    color:#1A66DF;
  }
}


.header__cart-list .header__quantity input{
  padding: 10px 5px;
}

.header__cart-list .header__quantity {
  width: 105px ;
  display: flex;
  align-items: center;
  justify-content: space-between;
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #D7DAE4;
    border-radius: 4px;
    pointer-events: none;
  }
  input{
    width: 35px;
    text-align: center;
  }
}

.header__quantity input[type=number]::-webkit-inner-spin-button,
.header__quantity input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}
.header__cart-content-res{
  display: flex;
  flex-direction: column;
  gap:16px;
}
.header__cart-list .quantity-btn{
  position: relative;
  top:unset;
  bottom: unset;
  right: unset;
  left: unset;
  min-width: 35px;
  text-align: center;
  max-width: 35px;
  padding: 0;
  height: 40px;
  &:after{
    display: none;
  }
}

.header__cart-delete{
  position: absolute;
  top: 16px;
  right:16px;
  width: 22px;
  height: 22px;
  padding: 0;
  img{
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  &:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.2s all;
    border: 1.5px solid #000;
    pointer-events: none;
    border-radius: 50%;
  }
  &:hover{
    filter: brightness(0) saturate(100%) invert(23%) sepia(100%) saturate(3662%) hue-rotate(214deg) brightness(99%) contrast(80%);
  }
}
.header__cart-item {
  padding: 16px;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: 0.2ms all;
  width: 100%;
}
.header__cart-item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s all;
  border: 1px solid #F3F3FA;
  pointer-events: none;
  border-radius: 8px;
}

.header__cart-btn{
  display: flex;
  flex-direction: column;
  gap:8px;
  & > *{
    width: 100%;
  }
}
.header__cart-summ{
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:16px;
  .search__result-price{
    padding-right: 20px;
  }

}
.header__cart-summ p{
  font: 400 14px / 20px var(--Lato);
}
.header__cart-item.form__loading::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
/*.loader {*/
/*  width: 16px;*/
/*  height: 16px;*/
/*  border: 2px solid #fff;*/
/*  border-top: 2px solid var(--primary-800);*/
/*  border-radius: 50%;*/
/*  animation: spin 0.8s linear infinite;*/
/*  display: inline-block;*/
/*  margin-left: 6px;*/
/*  vertical-align: middle;*/
/*  position: absolute;*/
/* */
/*  background: white;*/
/*  z-index: 3*/
/*}*/

/*@keyframes spin {*/
/*  to { transform: rotate(360deg); }*/
/*}*/
.loader {
  width: 20px;
  height: 20px;
  border: 3px solid;
  background-color: transparent;
  border-radius: 50%;
  color: #f3f6f6;
  border-top-color: transparent;
  animation: loader 1.2s linear infinite;
  -webkit-animation: loader 1.2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.search__detail-button{
  position: relative;
}

button.is-loading span,
button.is-loading img {
  opacity: 0;

}
button.is-loading{
   pointer-events: none;
 }
button.header__cart-delete.is-loading:after {
  display: none;
}
@keyframes loader {
  0% {
    color: #f3f6f6;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  33% {
    color:#1A66DF;
  }
  66% {
    color: #0A2959;
  }
  100% {
    color: #f3f6f6;
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@-webkit-keyframes loader {
  0% {
    color: #f3f6f6;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  33% {
    color: #1A66DF;
  }
  66% {
    color: #0A2959;
  }
  100% {
    color: #f3f6f6;
    transform: translate(-50%, -50%) rotate(360deg);
  }
}













.widget_shopping_cart {
  background: #FFFFFF;
  box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  position: absolute;
  right: 0;
  width: 400px;
  z-index: -1;
  top: -30px;
  transition: 0.5s all;
  opacity: 0;
  visibility: hidden;
}

.widget_shopping_cart-open {
  z-index: 900;
  top: 35px;
  opacity: 1;
  visibility: visible;
}

.icon_mini_cart {
  position: relative;
}

.icon_mini_cart svg {
  margin-right: 6px;
}

.total_mini_cart {
  position: absolute;
  top: -5px;
  right: 1px;
  background: #1C9BE0;
  color: #fff;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 8px;
  border-radius: 50px;
}

.mini_cart_text {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #2C2828;
}

.woocommerce-mini-cart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.close_mini_cart {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.head_mini_cart {
  display: flex;
  padding: 16px;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #2C2828;
  align-items: center;
  border-bottom: 1px solid #F2F8F9;
}

.widget_shopping_cart_content {
  padding: 16px;
}

.widget_shopping_cart_content .shop_table.cart form {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.widget_shopping_cart_content .shop_table.cart form::-webkit-scrollbar-track {
  background-color: #F2F8F9;
  border-radius: 50px;
}

.widget_shopping_cart_content .shop_table.cart form::-webkit-scrollbar {
  width: 5px;
  background-color: #F2F8F9;
  border-radius: 50px;
}

.widget_shopping_cart_content .shop_table.cart form::-webkit-scrollbar-thumb {
  background-color: #1C9BE0;
  border: 0px solid #555555;
  border-radius: 50px;
}

.footer_mini_cart {
  padding: 16px;
  margin: 28px 0 0 0;
}

.text_wid_btn {
  width: 100%;
}

.woocommerce-mini-cart__empty-message {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: #565353;
}

.woocommerce-mini-cart__empty-message:before {
  content: '';
  background-image: url(/wp-content/themes/stiystil/img/cart_bg.png);
  width: 80px;
  height: 74px;
  display: block;
  margin: 57px auto 22px auto;
}








@media only screen and (max-width: 1440px) {
  .header__top .container, .header__wrap .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width: 1380px) {
  .header__menu {
    gap: 16px;
  }
  .header__wrap .container {
    gap: 8px;
  }
}
@media only screen and (max-width: 1300px) {
  .header__menu {
    display: none;
  }
  .header__burger {
    display: -ms-flexbox;
    display: flex;
  }
  .header__wrap .container {
    padding: 16px 20px;
  }
}
.header__menu-item-submenu:hover .submenu__item > a {
  color: var(--primary-400);
}
.header__menu-item:hover > a {
  color: var(--primary-400);
}

@media only screen and (min-width: 1300px) {

  .header__menu-item:hover .header__submenu {
    opacity: 1;
    z-index: 900;
    top: 64px;
  }
  .header .header__menu-item-submenu:hover > .submenu__item span:after {
    transform: translateY(-50%) rotate(180deg);
    background: url(../img/header/arr-blue.svg) center/20px 20px no-repeat;
  }

}
@media only screen and (max-width: 1300px) {
  .header__menu.active {
    padding: 20px;
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    width: 100vw;
    height: calc(100vh - 50px);
    left: 0;
    top: 45px;
    -ms-flex-align: start;
        align-items: flex-start;
    position: absolute;
    -ms-flex-direction: column;
        flex-direction: column;
    background: var(--color-white);
    z-index: 10001;
    overflow-y: auto;
  }
  .header__menu-item > a {
    width: 100%;
  }
  .header__menu-item {
    width: 100%;
  }
  .header .submenu__item {
    -ms-flex-pack: justify;
        justify-content: space-between;
  }
  .header__submenu {
    transform: none;
    left: unset;
    opacity: 1;
    top: 0;
    height: 0;
    overflow: hidden;
    position: relative;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    transition: 0.3s all ease-in-out;
    z-index: 1;
  }
  .header__submenu.active {
    height: -moz-max-content;
    height: max-content;
  }
  .submenu__item span.active:after {
    transform: translateY(-50%) rotate(180deg);
    background: url(../img/header/arr-blue.svg) center/20px 20px no-repeat;
  }
  .header__submenu-list {
    width: 100vw;
    padding: 0 40px 0 0;
  }
  .header__menu {
    overflow-y: auto;
  }
  .header__menu::-webkit-scrollbar {
    background-color: #E9F0FC;
    width: 2px;
  }
  .header__menu::-webkit-scrollbar-thumb {
    background: #0A2959;
  }
}
@media only screen and (max-width: 991px) {
  .header__top-menu {
    display: none;
  }
  .header__cart p {
    display: none;
  }
  .header .header__cart {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
  }
  .header__cart span {
    position: absolute;
    top: -4px;
    right: -8px;
    z-index: 2;
    display: block;
    width: 18px;
    color: var(--color-white);
    text-align: center;
    font: 700 11px/18px var(--Lato);
  }
  .header__cart span:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background: var(--primary-800);
    z-index: -1;
  }

  .header__search-form-content{
    max-width: 100%;
    top:47px;
  }
  .header__search-form-container {
    padding: 0 19px;
  }
}
@media only screen and (max-width: 666px) {
  .header__top .container, .header__wrap .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .header__top-language {
    margin: 0;
  }
  .header__top-block {
    gap: 20px;
  }
  .header__top-block:first-child a:last-child {
    position: relative;
  }
  .header__top-block:first-child a:last-child:after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-white);
    top: 50%;
    transform: translateY(-50%);
    left: -12px;
  }
  .header__top-block a {
    gap: 4px;
  }
  .search__result-item {
    max-width: 100%;
  }
  .header__search-form-container {
    padding: 0 10px;
  }

  .header__cart-wrap{
    position: unset;
  }
  .header__cart-mini{
    top:-40px;
    width: 100vw;
    border-radius: 0;
    max-height: 100vh;
  }
  .header__cart-list {
    max-height: calc(100vh - 236px);
  }
  .search__result-title{
    font-size: 13px;
  }


  .header__search-form-wrap{
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100vw;
    border-radius: 0px;
    max-height: 100vh;
    transition: all 0.4s ease;
    display: flex;
    transform: translateY(-50%);
  }
  .header__search-form-wrap.active{
    top: -40px;
    left: 0;
    opacity: 1;
    transition: all 0.4s ease;
    visibility: visible;
    transform: translateY(0px);
  }
  .header__search-form-container{
   padding: 0;
  }
  .header__search-form-content{
    top: 0;
    height: 100vh;
    border-radius: 0;
  }
  .search__result-list {
    height: calc(100vh - 170px);
  }

  }