.title-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-flow: row-reverse;
}

.title-sub-head strong {
  font-family: var(--bold_font);
  font-variation-settings: var(--w-600);
}

.menu__logo {
  z-index: 99;
}

#head_menu {
  gap: 8px;
  @media (width>=992px) and (width<1024px) {
    gap: 6px;
  }
}

#head_menu:hover .icon-mega:before {
  color: var(--color1);
}

header > .container {
  position: relative;
}

.bottom-head-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mb__basket {
  position: relative;
}

.mb__basket .basket__count {
  left: 22px;
}

.navtop__right .icon-new-search {
  font-size: 17px;
}

.navtop__right,
.navtop__left,
.navtop__middle {
  display: flex;
  align-items: center;
}

.navtop__middle {
  justify-content: center;
  @media (width<1200px) {
    flex: 1;
  }
  @media (width>=1200px) {
    display: none;
  }
}

/* .navtop__middle::before {
  @media (width>=1200px) {
    content: "";
    background-color: #fff;
    width: 102px;
    z-index: -1;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-left: -17px;
  }
} */

.navtop__left {
  gap: 10px;
  @media (width>=992px) {
    gap: 8px;
  }
  @media (width<1200px) {
    justify-content: flex-end;
  }
}

.navtop__logo {
  display: flex;
  align-items: center;
  @media (width<1200px) {
    padding: 3px;
  }
}

.navtop__right .navtop__logo {
  width: 100px;
  @media (width>=1400px) {
    width: 125px;
  }
}

.back-logo {
  max-width: 160px;
  height: 60px;
  /* background: #ffffff99; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* @media (width>=1200px) {
    width: 65px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    border-radius: 50%;
    position: absolute;
    transition: 0.4s all linear;
  } */
}

/* .back-logo:before {
  @media (width>=1200px) {
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 195%;
    aspect-ratio: 1;
    display: block;
    z-index: 1;
    background: #ffffff4d;
    pointer-events: none;
    transition: 0.4s all linear;
  }
} */

/* .back-logo:after {
  @media (width>=1200px) {
    position: absolute;
    content: "";
    border-radius: 50%;
    width: 240%;
    aspect-ratio: 1;
    display: block;
    z-index: 1;
    background: #ffffff4d;
    pointer-events: none;
    transition: 0.4s all linear;
  }
}

.back-logo:hover:before {
  @media (width>=1200px) {
    width: 144px;
    height: 144px;
  }
}

.back-logo:hover:after {
  @media (width>=1200px) {
    width: 194px;
    height: 194px;
  }
} */

.navtop__menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: unset;
  @media (width>=1200px) {
    gap: 6px;
    margin-right: -6px;
  }
}

.navtop__menu li {
  display: block;
  position: relative;
  transition: 0.2s all linear;
}

.navtop__menu li.menu-item-has-children > a::after {
  content: "\e90f";
  font-family: "icomoon";
  display: inline-block;
  font-size: 6px;
  font-weight: bold;
  margin-right: 6px;
  vertical-align: middle;
}

.navtop__menu .sub-menu li.menu-item-has-children > a::after {
  transform: unset;
  top: 12px;
  left: 6px;
  position: absolute;
}

.navtop__menu li a {
  display: block;
  padding: 0 0.25rem;
  color: #333333;
  font-size: 0.875rem;
  @media (width>=1200px) {
    padding: 0px 8px;
    font-size: 13px;
  }
  @media (width>=1400px) {
    font-size: 14px;
  }
}

.navtop__menu li a:hover {
  color: var(--color1) !important;
}

.navtop__menu .sub-menu .sub-menu {
  right: 100%;
  top: -3px;
  border-radius: 8px 0 0 8px;
  box-shadow: -6px 0px 12px 0px rgba(174, 174, 174, 0.15);
}

.navtop__menu .sub-menu {
  transition: 400ms;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 3.22rem;
  box-shadow: 0px 0px 12px 0px rgba(174, 174, 174, 0.25);
  min-width: 150px;
  width: max-content;
  padding: 3px 6px;
  z-index: 2;
  background-color: #fff;
  border-radius: 8px;
}

.navtop__menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

.navtop__menu .sub-menu a {
  padding: 3px 6px;
  position: relative;
}

#header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 990;
  box-shadow: 0 5px 11px #00000008;
}

.navtop__btn i {
  font-size: 16px;
}

.navtop__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color1);
  padding: 5px 11px;
  z-index: 1;
  height: 37px;
  border-radius: 12px;
  font-size: 14px;
}

.navtop__cart {
  position: relative;
}

.navtop__cart__btn:hover i::before {
  color: #fff;
}

.navtop__cart__btn:hover i::after {
  width: 100%;
}

.navtop__cart__btn {
  font-size: 22px;
  border-radius: 10px;
  padding: 1px;
  display: flex;
  align-items: center;
  position: relative;
}

.cart-count-wrap {
  display: contents;
}

.navtop__cart__count,
.navtop__cart i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: 0.3s all linear;
}

.navtop__cart__count {
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 2;
  width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 1;
  background-color: var(--color3);
  color: #fff;
  border-radius: 50%;
}

.navtop__cart i::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 0;
  transition: width 500ms;
  background: #252525;
}

.navtop__cart i {
  border-radius: 50%;
  background-color: var(--color1);
  color: white;
  font-size: 20px;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.navtop__auth-wrap {
  position: relative;
}

.navtop__auth-wrap::after,
.navtop__auth::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  width: 0;
  transition: width 500ms;
  z-index: -1;
  pointer-events: none;
}

.navtop__auth-wrap:hover:after,
.navtop__auth:hover::after {
  width: 100%;
}

.navtop__auth-wrap a.navtop__auth {
  width: 44px;
}

button.navtop__auth {
  width: auto;
}

.navtop__auth {
  width: 44px;
  height: 44px;
  transition: 0.2s all linear;
  overflow: hidden;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: #fff;
  border-radius: 50%;
  background: #252525;
  font-size: 14px;
  cursor: pointer;
  gap: 10px;
}

.navtop__auth:hover i,
.navtop__auth:active i {
  color: #252525 !important;
}

.navtop__auth > span {
  font-size: 14px;
  @media (width<1200px) {
    display: none;
  }
}

.header-search {
  border: 0;
  padding: 0;
  font-family: inherit;
  background: none;
  appearance: none;
  transition: 0.2s all linear;
  cursor: pointer;
}

.header-search .icon-new-search {
  background-color: #5895cc4f;
  color: #252525;
  transition: 0.2s all linear;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.header-search:hover .icon-new-search::before {
  color: white !important;
}

.header-search .icon-new-search::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 0;
  transition: width 500ms;
  background: #252525;
}

.header-search:hover .icon-new-search:after {
  width: 100%;
}

.header-searchsimple form .icon-new-search {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  @media (width>=768px) {
    right: 12px;
  }
}

.header-searchsimple form {
  position: relative;
  display: flex;
  align-items: center;
  transition: 400ms;
  width: 100%;
  color: #999999;
}

.header-searchsimple #search-text:focus {
  border-color: #858686;
}

.header-searchsimple #search-text {
  width: 100%;
  text-align: right;
  border: 1px solid #f5f5f5;
  background-color: #f5f5f5;
  color: var(--color4);
  font-size: 13.5px;
  padding: 6px 30px;
  border-radius: 12px;
  transition: border-color 400ms;
  @media (width>=768px) {
    padding: 7px 40px;
    font-size: 14px;
  }
}

.header-searchsimple #search-text::placeholder {
  @media (width<576px) {
    font-size: 12px !important;
  }
}

.header-searchsimple {
  position: relative;
  width: 100%;
  max-width: 306px;
  @media (width<576px) {
    position: static;
  }
  @media (width<992px) {
    margin-left: auto;
  }
  @media (width>=992px) and (width<1200px) {
    max-width: 200px;
  }
}

.header-search > span {
  @media (width>=576px) {
    display: block;
  }
  @media (width>=992px) {
    font-size: 12px;
  }
  @media (width>=1200px) {
    font-size: inherit;
  }
}

.nav-up .navtop-bg {
  @media (width>=992px) {
    box-shadow: 0px 4px 12px rgba(222, 222, 222, 0.25);
  }
}

.navtop__right {
  @media (width<992px) {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }
  @media (width>=992px) and (width<1200px) {
    gap: 10px;
  }
}

.navtop__right .navtop__auth,
.navtop__right .navtop__auth-wrap {
  @media (width>=992px) {
    display: none;
  }
}

.navtop__left .navtop__auth,
.navtop__left .navtop__auth-wrap {
  @media (width<992px) {
    display: none;
  }
}

.header-search span.icon-new-search {
  @media (width<992px) {
    background-color: color-mix(var(--color3) 10%, #ffff);
    color: var(--color4);
    border: 1px solid color-mix(var(--color3) 60%, #ffff);
  }
}

.navtop-bg {
  @media (width<992px) {
    box-shadow: 0px 4px 12px rgba(222, 222, 222, 0.25);
  }
}

.logo_txt {
  @media (width>=1400px) {
    margin-left: 42px;
    position: relative;
  }
}

.logo_txt:before {
  @media (width>=1400px) {
    content: "";
    display: block;
    background-color: #252525;
    width: 160px;
    height: 8px;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: -2.36rem;
    right: -6%;
    transform: translate(5%, 0);
  }
}

.websima-mega-menu > .menu-item-has-children > a:after {
  margin-bottom: 2px;
}

.websima-mega-menu li a {
  display: flex !important;
  align-items: center;
}

.icon-userr {
  transition: 0.2s all linear;
  font-size: 20px;
}

#head_menu_left {
  @media (width>=992px) and (width<1200px) {
    margin-left: 20px;
  }
  @media (width>=1400px) {
    margin-left: 39px;
  }
}

.icon-mega {
  @media (width>=992px) and (width<1024px) {
    font-size: 23px;
  }
}

.main-head {
  @media (width<576px) {
    padding: 0 !important;
  }
  @media (width>=1200px) {
    position: relative;
  }
}
