.favorite-button {
  position: relative;
}

.search-button svg,
.favorite-button svg {
  max-width: 100%;
  width: 19px;
  height: auto;
  fill: #999;
  pointer-events: none;
}
@media screen and (min-width: 1000px) {
  .search-button svg,
  .favorite-button svg {
    width: 29px;
  }
}

.favorite-button__count {
  padding: 3px;
  min-width: 15px;
  min-height: 15px;
  justify-content: center;
  align-items: center;
  height: auto;
  box-sizing: border-box;
  display: none;
  position: absolute;
  right: -5px;
  top: -5px;
  font-size: 10px;
  line-height: 1;
  vertical-align: middle;
  font-weight: 700;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cl-warning);
  color: var(--cl-light);
}
@media screen and (min-width: 1200px) {
  .favorite-button__count {
    min-width: 18px;
    min-height: 18px;
    font-size: 12px;
    top: -5px;
    right: 0;
  }
}

.favorite-button.favorite-button--active .favorite-button__count {
  display: flex;
}

.close-button {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.close-button svg {
  fill: #000000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 100;
}

.header__wrapper {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
@media screen and (min-width: 1000px) {
  .header__wrapper {
    padding: 20px 0;
  }
}

.header__menu {
  width: 36px;
  height: 36px;
  overflow: hidden;
  order: 3;
}
@media screen and (min-width: 1000px) {
  .header__menu {
    width: 100%;
    height: inherit;
    overflow: visible;
  }
}

.header__lang-panel {
  order: 2;
  display: none;
}
@media screen and (min-width: 1000px) {
  .header__lang-panel {
    display: none;
  }
}

.header__logo {
  flex: 0 0 50px;
  order: 1;
}
.header__logo svg {
  width: 100%;
  height: auto;
}
@media screen and (min-width: 1000px) {
  .header__logo {
    flex: 0 0 65px;
    margin-right: 16px;
  }
}
@media screen and (min-width: 1200px) {
  .header__logo {
    flex: 0 0 90px;
    margin-right: 8px;
  }
}

.header.hidden {
  opacity: 0;
  transform: translateY(-100%);
}

.header.visible {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

.logo-main {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.logo-main svg {
  max-width: 100%;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.burger {
  width: 36px;
  height: 36px;
  display: block;
  position: relative;
  cursor: pointer;
}
@media screen and (min-width: 1000px) {
  .burger {
    display: none;
  }
}

.burger__line {
  position: absolute;
  width: 32px;
  height: 2px;
  background: #000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  border-radius: 4px;
  transition: all 0.3s ease-in;
}
.burger__line::before, .burger__line::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 2px;
  background: #000000;
  left: 50%;
  top: 50%;
  border-radius: 4px;
  transition: all 0.3s ease-in;
}
.burger__line::before {
  transform: translate(-50%, calc(-50% - 8px));
}
.burger__line::after {
  transform: translate(-50%, calc(-50% + 8px));
}

.nav-menu {
  padding: 45px 20px 45px;
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1000px) {
  .nav-menu {
    padding: 0;
    min-height: 57px;
    max-height: -moz-fit-content;
    max-height: fit-content;
    height: auto;
    overflow-y: hidden;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }
}

.nav-menu__list-wrapper {
  flex: 1 1 auto;
  height: auto;
  transition: width 0.3s ease;
}
@media screen and (min-width: 1000px) {
  .nav-menu__list-wrapper {
    margin-right: 12px;
    flex: 1 0 38%;
  }
}
@media screen and (min-width: 1200px) {
  .nav-menu__list-wrapper {
    margin-right: 20px;
  }
}

.nav-menu__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 24px;
  line-height: 84%;
  vertical-align: middle;
}
@media screen and (min-width: 1000px) {
  .nav-menu__list {
    margin: -8px;
    flex-direction: row;
    justify-content: center;
    font-size: 16px;
    line-height: 110%;
    width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  .nav-menu__list {
    margin: -16px;
    font-size: 18px;
  }
}

.nav-menu__item {
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
.nav-menu__item:hover > a, .nav-menu__item:hover > p {
  opacity: 0.5;
}
@media screen and (min-width: 1000px) {
  .nav-menu__item {
    width: -moz-fit-content;
    width: fit-content;
  }
}

@media screen and (min-width: 1000px) {
  .nav-menu__item--mob-only {
    display: none;
  }
}

.nav-menu__link {
  font-size: inherit;
  padding: 18px;
  box-sizing: border-box;
  display: block;
  text-align: inherit;
}
@media screen and (min-width: 1000px) {
  .nav-menu__link {
    padding: 8px;
    width: -moz-min-content;
    width: min-content;
  }
}
@media screen and (min-width: 1200px) {
  .nav-menu__link {
    padding: 16px;
  }
}

.nav-menu__item--submenu {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-menu__submenu-title {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.nav-menu__submenu-title span {
  margin-right: 4px;
}
.nav-menu__control {
  transition: all 0.3s ease-in;
}

.nav-menu__search {
  margin-bottom: 40px;
  box-sizing: border-box;
}
@media screen and (min-width: 1000px) {
  .nav-menu__search {
    margin-bottom: 0;
    margin-right: 30px;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media screen and (min-width: 1200px) {
  .nav-menu__search {
    margin-right: 20px;
  }
}
@media screen and (min-width: 1300px) {
  .nav-menu__search {
    margin-right: min(10vw, 127px);
  }
}

.nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
@media screen and (min-width: 1000px) {
  .nav-submenu {
    position: absolute;
    background: #ffffff;
    top: 70%;
    transform: translateX(10px);
    z-index: 100;
    border-radius: 5px;
    box-shadow: 0 0 7px -1px #999;
  }
}

.nav-submenu__item:hover a {
  opacity: 0.5;
}

.nav-submenu__link {
  padding: 18px;
  display: block;
  transition: opacity 0.3s ease-in;
}

.nav-menu__phone {
  text-align: center;
  font-family: "Blender Pro";
  font-weight: 900;
  font-size: 35px;
  line-height: 90%;
  white-space: nowrap;
}
@media screen and (min-width: 1000px) {
  .nav-menu__phone {
    font-size: 40px;
    flex: 0 0 min-content;
  }
}
@media screen and (min-width: 1200px) {
  .nav-menu__phone {
    font-size: 46px;
  }
}

.nav-menu__contacts {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 1000px) {
  .nav-menu__contacts {
    display: none;
  }
}

.nav-menu__contacts .contacts__item {
  padding: 8px;
  width: 50px;
}
@media screen and (min-width: 1000px) {
  .nav-menu__contacts .contacts__item {
    padding: 12px;
  }
}

.menu-open .burger__line {
  background: transparent;
}
.menu-open .burger__line::before {
  display: block;
  transform: translate(-50%, 0) rotate(-45deg);
}
.menu-open .burger__line::after {
  display: block;
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-open .nav-menu {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  overflow-y: auto;
}

.menu-open .header__lang-panel {
  display: block;
}

.nav-menu__item--open-submenu .nav-menu__submenu-title .nav-menu__control {
  transform: rotate(180deg);
}

.search-field {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.search-field::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000000;
  border-radius: 2px;
}
@media screen and (min-width: 1000px) {
  .search-field::before {
    display: none;
    justify-content: flex-end;
  }
}

.search-field__form {
  width: 100%;
  display: flex;
}
@media screen and (min-width: 1000px) {
  .search-field__form {
    max-width: 0;
    overflow: hidden;
  }
}

.search-field__field {
  padding: 8px 0;
  margin-right: 8px;
  min-height: 28px;
  width: 100%;
  font-size: 18px;
  line-height: 110%;
  box-sizing: border-box;
}
.search-field__field::-moz-placeholder {
  color: #999;
}
.search-field__field::placeholder {
  color: #999;
}

.search-field__close-button {
  display: none;
}

.search-field__button {
  flex: 0 0 24px;
  width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-field__button--favorite {
  display: none;
}
.search-field__button--open {
  display: none;
}
@media screen and (min-width: 1000px) {
  .search-field__button {
    margin-right: 8px;
    flex: 0 0 23px;
  }
  .search-field__button:last-child {
    margin-right: 0;
  }
  .search-field__button--favorite {
    display: flex;
  }
  .search-field__button--open {
    display: flex;
  }
}
@media screen and (min-width: 1200px) {
  .search-field__button {
    margin-right: min(1vw, 16px);
    flex: 0 0 36px;
  }
  .search-field__button:last-child {
    margin-right: 0;
  }
}

.search-open #search-button {
  display: none;
}
@media screen and (min-width: 1000px) {
  .search-open .nav-menu__list-wrapper {
    overflow: hidden;
    display: none;
  }
}
.search-open .nav-menu__search {
  flex: 1 1 auto;
}
.search-open .search-field__form {
  max-width: 100%;
  transition: all 0.5s ease;
}
@media screen and (min-width: 1000px) {
  .search-open .search-field__form {
    margin-right: 20px;
    position: relative;
    display: flex;
  }
  .search-open .search-field__form::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #000000;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
  }
}
@media screen and (min-width: 1000px) {
  .search-open .search-field__close-button {
    display: block;
  }
}/*# sourceMappingURL=header.css.map */
