.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background-color: var(--color-white);
}
.header__top {
  background-color: var(--color-grey);
  font-size: 12px;
  padding: 4px 10px;
}
.header__top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__top .header__auth-link {
  text-transform: none;
  font-weight: bold;
}
.header__top .header__top__right {
  text-align: right;
}
@media (min-width: 1025px) {
  .header__top .header__top__left,
.header__top .header__top__right {
    width: 20%;
  }
}
@media (max-width: 600px) {
  .header__top .header__top__left {
    display: none;
  }
}
.header-offset {
  height: 125px;
}
@media (min-width: 1086px) {
  .header-offset {
    height: 128px;
  }
}
.admin-interface .header {
  top: 40px;
}
.header__main {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.header__part_left, .header__part_right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
@media (min-width: 1281px) {
  .header__part_left, .header__part_right {
    width: 392px;
  }
}
.header__part_middle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
@media (min-width: 1281px) {
  .header__part_middle {
    width: calc(100% - 784px);
  }
}
@media (max-width: 600px) {
  .header__part_middle {
    justify-content: flex-start;
  }
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__burger-menu {
  display: grid;
  flex: none;
  cursor: pointer;
}
.header__burger-menu svg path {
  transition: 0.5s;
}
.header__burger-menu.is-active svg path:nth-child(2) {
  display: none;
}
.header__burger-menu.is-active svg path:nth-child(1) {
  transform: rotate(45deg) translate(10%, -25%);
}
.header__burger-menu.is-active svg path:nth-child(3) {
  transform: rotate(-45deg) translate(-50%, 10%);
}
.header__link {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.6);
}
.header__link.is-active {
  font-weight: 500;
  color: var(--color-black);
}
.header__link-wrap {
  padding: 20px 0;
}
@media (min-width: 1086px) {
  .header__link-wrap {
    padding: 30px 0;
  }
}
.header__link-wrap:not(:last-child) {
  margin-right: 32px;
}
.header__link-wrap:first-child {
  margin-right: 10px;
}
@media (min-width: 1086px) {
  .header__link-wrap:first-child {
    margin-right: 48px;
  }
}
@media (max-width: 1086px) {
  .header__link-wrap:not(:first-child) {
    display: none;
  }
}
.header__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 600px) {
  .header__logo-img_mobile img {
    max-width: 120px;
  }
}
@media (min-width: 1086px) {
  .header__logo-img_mobile {
    display: none;
  }
}
@media (max-width: 1085px) {
  .header__logo-img_desktop {
    display: none;
  }
}
.header__logo-link {
  display: flex;
}
.header__logo-link svg path {
  transition: 0.5s;
}
.header__logo-link:hover svg path {
  fill: #595959;
}
.header__search-box {
  position: relative;
}
.header__search-switch {
  position: relative;
  z-index: 20;
  width: 32px;
  cursor: pointer;
}
.header__search-box.is-active .header__search-icon {
  display: none;
}
.header__search-box .header__search-icon_active {
  display: none;
}
.header__search-box.is-active .header__search-icon_active {
  display: block;
  right: 8px;
  position: relative;
}
.header .search-form {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -33px;
  width: 0;
  transition: all 0.3s;
}
.header .search-form .search-form__input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: var(--color-grey);
  padding: 23px 0 23px;
}
.header__search-box.is-active .search-form {
    width: 360px;
}
@media (min-width: 600px) {
  .header__search-box.is-active .search-form {
    width: 430px;
  }
}
@media (min-width: 770px) {
    .header__search-box.is-active .search-form {
        width: 650px;
    }
}
@media (min-width: 1085px) {
    .header__search-box.is-active .search-form {
        width: 950px;
    }
}
@media (min-width: 1500px) {
    .header__search-box.is-active .search-form {
        width: 1150px;
    }
}
.header__search-box.is-active .search-form__input {
  padding: 23px 46px 23px 26px;
}
.header .search-form .search-form__btn {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -10px;
}
.header__phone-box {
  margin-right: 80px;
}
.header__phone-link {
  white-space: nowrap;
}
.header__btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__btns-item {
  flex: none;
}
.header__favorite-box, .header__basket-box {
  margin-right: 26px;
}
@media (max-width: 1086px) {
  .header__phone-box {
    display: none;
  }
}
.header__phone-link {
  font-weight: 500;
  font-size: 20px;
}
.header__dropdown-menu {
  transition: 0.5s;
  position: absolute;
  margin-top: -76px;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  display: none;
}
@media (min-width: 1086px) {
  .header__dropdown-menu {
    margin-top: -16px;
  }
}
@media (max-width: 1085px) {
  .header__dropdown-menu-inner {
    overflow: auto;
    height: calc(100vh - 72px);
    padding-bottom: 20px;
  }
}
@media (min-width: 1086px) {
  .header__dropdown-menu-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
  }
}
.header__dropdown-menu-list-item_extra a {
  color: red;
}
.header__dropdown-menu-list-item-title {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 27px;
  display: block;
}
.header__dropdown-menu .social-links__item_max {
    border-radius: 50%;
    border: 1px solid #333;
    flex: none;
    width: 40px;
    height: 40px;
    text-align: center;
}
@media (min-width: 1200px) {
  .header__dropdown-menu-list-item-title {
    min-height: 26px;
  }
}
.header__dropdown-menu.is-active, .header__link-wrap:hover:not(:first-child) > .header__dropdown-menu {
  display: block;
  background: var(--color-white);
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.1);
}
.header__dropdown-menu.is-active .container, .header__link-wrap:hover:not(:first-child) > .header__dropdown-menu .container {
  padding: 30px 0;
}
.header__dropdown-menu.is-active .header__dropdown-menu-inner, .header__link-wrap:hover:not(:first-child) .header__dropdown-menu-inner {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 17px;
}
.header__email-link {
  text-transform: uppercase;
}
.header__email-box {
  margin-top: 24px;
  margin-bottom: 20px;
}
.header__auth-link {
  text-transform: uppercase;
}
.header__auth-box {
  margin-top: 24px;
  margin-bottom: 50px;
}
.header .social-links__item {
  opacity: 1;
}
.header .social-links__item svg path:nth-child(2) {
  fill: var(--color-black);
}
.header .social-links__item svg path:first-child {
  stroke: black;
}
.header__mobile {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 1086px) {
  .header__mobile {
    display: none;
  }
}
.header__mobile-link {
  display: block;
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--color-black);
}
.header__mobile-link.is-active {
  font-weight: 500;
}
.header__mobile-links {
  background-color: var(--color-grey);
}
.header__mobile-links .container {
  padding: 15px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
