header {
  display: flex;
  position: fixed;
  width: 100%;
  min-height: 55px;
  left: 0;
  top: 0;
  background: #fff;
  padding: 14px 0;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.header-desktop__wrapper {
  display: none;
}

.header-maincatalog {
  display: none;
}

.header-mobile__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-mobile__wrapper .logo {
  display: flex;
  max-width: 70px;
}

.mobile-searchbox {
  display: none;
}

.mobile-wrapper__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mob-opencatalog {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-wrapper__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mob-headerbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #000;
  font-size: 16px;
}
.mob-headerbtn[data-counter] {
  position: relative;
}
.mob-headerbtn[data-counter]::after {
  position: absolute;
  content: attr(data-counter);
  top: -5px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}
.mob-headerbtn.button-acc i[class*=icon-] {
  font-size: 16px;
}

.nav-mobile {
  display: none;
  transform: translate(-100%, 0);
  visibility: hidden;
  transition: all 0.2s linear;
}



ul.accountmenu {
  list-style: none;
  padding: 0;
}
ul.accountmenu li {
  display: flex;
  align-items: center;
  gap: 14px;
}
ul.accountmenu li:not(:last-child) {
  margin-bottom: 14px;
}
ul.accountmenu li i.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 28px;
}
ul.accountmenu li i.icon[data-counter] {
  position: relative;
  z-index: -1;
}
ul.accountmenu li i.icon[data-counter]::after {
  position: absolute;
  content: attr(data-counter);
  top: -5px;
  right: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}
ul.accountmenu li span a:not(:first-child) {
  color: #AFB4BF;
}

.mobile-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-contacts > span {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.mobile-contacts .soc-list {
  margin: 14px 0 20px 0;
}

.mobile-searchbox {
  position: absolute;
  display: block;
  left: 0;
  top: 100%;
  width: 100%;
  padding: 10px 16px;
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: 0 0;
  transition: all 0.12s ease-in;
  background: #fff;
}
.mobile-searchbox.opened {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
  transition: all 0.12s ease-in;
}

.search-form {
  display: flex;
  align-items: center;
  border-radius: 5px;
  border: 1px solid #DADEE7;
  background: #FFF;
  overflow: hidden;
}
.search-form input[type=search] {
  padding: 8px 12px;
  width: 100%;
  outline: none;
  border: none;
  font-size: 16px;
  font-weight: 300;
  line-height: 18px;
  background-color: #fff;
}
.search-form input[type=search]::-moz-placeholder {
  color: var(--alt);
}
.search-form input[type=search]::placeholder {
  color: var(--alt);
}
.search-form button[type=submit] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
}

@media screen and (min-width: 576px) {
  header {
    padding: 12px 0;
  }
  .header-mobile__wrapper {
    gap: 18px;
  }
  .mobile-wrapper__right {
    flex: 1;
  }
  .mobile-searchbox {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static;
    padding: 0;
    width: 100%;
  }
  .mob-headerbtn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .mob-headerbtn.mob-opensearch {
    display: none;
  }
  .mob-headerbtn.button-acc i[class*=icon-] {
    font-size: 20px;
  }
  .mob-headerbtn.mob-favs {
    font-size: 20px;
  }
  .mob-headerbtn[data-counter] {
    position: relative;
  }
  .mob-headerbtn[data-counter]::after {
    top: 0px;
    right: -5px;
    width: 16px;
    height: 16px;
  }
  .mob-opencatalog {
    font-size: 17px;
  }
  .mobile-wrapper__left {
    gap: 30px;
  }
  .header-mobile__wrapper .logo {
    max-width: 90px;
  }
  .header-mobile__wrapper .logo img {
    width: 100%;
    height: 100%;
  }

  .search-form {
    width: 100%;
  }
}
@media screen and (min-width: 992px) {
  header {
    position: relative;
    padding: 29px 0;
    /* height: 63px; */
    box-shadow: none;
    border-bottom: 1px solid #ECEEF2;
    z-index: initial;
    margin-bottom: 28px;
  }
  header.header-simple {
    position: fixed;
    background: #F6F7FA;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
    padding: 18px 0;
    z-index: 1000;
  }
  header.header-simple nav#top {
    display: none;
  }
  header.header-simple .search-vars {
    min-width: -moz-fit-content;
    min-width: fit-content;
  }
  header.header-simple .header-top {
    margin: 0;
  }
  header.header-simple .header-top__opts {
    display: none;
  }
  header.header-simple .header-menu {
    display: none;
  }
  header.header-simple .header-desktop__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  header.header-simple .header-desktop__rightinf {
    display: none;
  }
  header.header-simple .header-top__contact {
    margin: 0;
  }
  header.header-simple .header-desktop__inner {
    width: 100%;
    display: flex;
    align-items: center;
  }
  header.header-simple .header-contacts {
    padding-bottom: 0;
  }
  header.header-simple .header__container {
    max-width: 1844px;
  }
  header.header-simple .button-acc span {
    display: none;
  }
  header.header-simple .header-middle {
    width: 100%;
    align-items: center;
  }
  header.header-simple .header-search.desktop-searchbox {
    max-width: inherit;
  }
  header.header-simple .header-middle__right {
    align-items: center;
  }
  header.header-simple .button-acc[data-counter]::after {
    right: -8px;
  }
  header.header-simple .header-contacts .button-callback {
    display: none;
  }
  header.header-simple .header-top .logo {
    margin-right: 44px;
    width: 95px;
    height: 42px;
  }
  header.header-simple .header-maincatalog {
    width: calc(100% - 210px);
  }
  .header-mobile__wrapper {
    display: none;
  }
  .header-desktop__wrapper {
    display: flex;
    flex-direction: row;
    gap: 0px;
  }
  .header-desktop__inner {
    width: 100%;
  }
  .header-desktop__rightinf {
    max-width: -moz-fit-content;
    max-width: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    margin-left: auto;
    align-items: flex-end;
  }
  .header-desktop__rightinf .button-callback {
    margin-top: auto;
  }
  .header-desktop__rightinf .soc-list {
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  .header-top {
    display: flex;
    margin-bottom: 20px;
	align-items: center;
  }
  .header-top .logo {
    margin-right: 56px;
    flex-shrink: 0;  
  }
  .header-topmenu {
    flex: 1 282px;
  }
  .header-topmenu > ul > li:hover > a {
    text-decoration: none;
    color: var(--links);
  }
  .header-topmenu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .header-topmenu ul li {
    padding-bottom: 10px;
    margin-bottom: -10px;
  }
  .header-topmenu ul li.dropdown .dropdown-menu ul li a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
    transition: all 0.12s linear;
  }
  .header-topmenu ul li.dropdown .dropdown-menu ul li:hover > a {
    text-decoration-color: inherit;
    transition: all 0.12s linear;
  }
  .header-topmenu ul li a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
  }
  .header-topmenu ul li:hover > a {
    text-decoration-color: inherit;
    transition: all 0.12s linear;
  }
  .header-top__opts {
    display: flex;
    align-items: flex-start;
    gap: 10px 22px;
    margin-right: 52px;
  }
  .header-top__opts .btn-group {
    display: flex;
  }
  .header-top__opts .btn-group.open .btn > span, .header-top__opts .btn-group:hover .btn > span {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.12s linear;
  }
  .header-top__opts .btn-group > .btn {
    padding: 0;
    color: var(--links);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    border: none;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
  }
  .header-top__opts .btn-group > .btn i.icon {
    font-size: 6px;
  }
  .header-top__opts .btn-group > .btn span {
    transition: all 0.12s linear;
  }
  .header-top__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
  }
  .header-top__contact > span {
    color: #000;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
  }

  .search-form {
    /* width: 100%; */
    position: relative;
  }

  .search-form input[type=search] {
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
  }
  .search-form button[type=submit] {
    padding: 13.5px 24px;
  }
  .search-form button[type=submit] svg {
    width: 18px;
    height: 18px;
  }


  #form-currency:hover,
  #form-language:hover {
    cursor: pointer;
  }
  #form-currency:hover .dropdown-menu,
  #form-language:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
  #form-currency:hover span.current span,
  #form-language:hover span.current span {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  #form-currency span.current,
  #form-language span.current {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
  }
  #form-currency span.current > span,
  #form-language span.current > span {
    padding: 0;
    color: var(--links);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
  }
  #form-currency span.current i[class*=icon-],
  #form-language span.current i[class*=icon-] {
    font-size: 6px;
  }
  #form-currency span.current i[class*=icon-]::before,
  #form-language span.current i[class*=icon-]::before {
    color: var(--links);
  }
  #form-currency .dropdown-menu,
  #form-language .dropdown-menu {
    min-width: 230px;
    position: absolute;
    display: block;
    top: calc(100% + 10px);
    opacity: 0;
    visibility: hidden;
    animation: displayAnim 0.2s ease;
  }
  .header-middle {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }
  .header-middle__left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 24px;
  }
  .header-middle__right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 50px;
  }
  .header-top__row {
    display: flex;
    gap: 84px;
  }
  .header-options {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-left: 14px;
  }
  .header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    margin-top: auto;
  }
  button.open-catalog {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    background-color: var(--links);
    color: #fff;
    border-radius: 5px;
    padding: 15px 26px;
    transition: background-color 0.12s linear;
  }
  button.open-catalog::before {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 18px;
    font-family: "icons";
    content: "\e920";
    transition: all 0.12s linear;
  }
  button.open-catalog span {
    font-size: 17px;
    line-height: 1;
    font-weight: bold;
  }
  button.open-catalog.opened {
    z-index: 1000;
  }
  button.open-catalog.opened::before {
    content: "\e91d";
    transition: all 0.12s linear;
  }
  button.open-catalog:hover {
    background-color: #2b85c0;
    transition: background-color 0.12s linear;
  }
  .header-search.desktop-searchbox {
    width: 100%;
    position: relative;
  }
  .header-search.desktop-searchbox.opened .search-form {
    z-index: 1000;
  }
  .search-vars {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  .header-menu {
    margin-top: 28px;
  }
  .header-menu .navbar {
    min-height: initial;
    border: none;
    margin: 0;
    border-radius: 0;
  }
  .header-menu .navbar::before, .header-menu .navbar::after {
    display: none;
  }
  .header-menu .navbar .dropdown {
    padding-right: 18px;
  }
  .header-menu .navbar ul.nav.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    float: none;
    gap: 14px 30px;
  }
  .header-menu .navbar ul.nav.navbar-nav::before, .header-menu .navbar ul.nav.navbar-nav::after {
    display: none;
  }
  .header-menu .navbar ul.nav.navbar-nav > li {
    padding-bottom: 10px;
    margin-bottom: -10px;
    float: none;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > .dropdown-menu {
    border-radius: 8px;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > .dropdown-menu .dropdown-inner ul {
    gap: 0;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > .dropdown-menu .dropdown-inner ul li a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > .dropdown-menu .dropdown-inner ul li:hover > a {
    text-decoration-color: inherit;
    transition: all 0.12s linear;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > a {
    padding: 0;
    display: flex;
    font-size: 16px;
  }
  .header-menu .navbar .nav > li > a:focus, .header-menu .navbar .nav > li > a:hover {
    background-color: transparent;
  }
  body:has(.header-simple) .header__container {
    position: relative;
  }
}
@media screen and (min-width: 1280px) {
  header.header-simple .header-desktop__rightinf {
    display: flex;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  header.header-simple .header-desktop__rightinf .phone-link {
    font-size: 15px;
  }
  header.header-simple .header-desktop__rightinf .phone-link:last-child {
    margin-bottom: 0;
  }
  header.header-simple .header-desktop__rightinf .soc-list {
    margin: 0;
  }
  header.header-simple .header-desktop__rightinf .button-callback {
    display: none;
  }
  .header-top {
    align-items: center;
  }
  .header-top .logo {
    margin-right: 70px;
  }
  .header-top__contact > span {
    font-size: 15px;
  }
  .header-topmenu ul {
    gap: 10px 36px;
  }
  .header-middle {
    gap: 44px;
  }
  .header-middle__left {
    gap: 30px;
  }
  .header-top__row {
    display: flex;
    align-items: center;
    gap: 106px;
  }
  .header-menu .navbar ul.nav.navbar-nav {
    gap: 14px 30px;
  }
  .header-menu .navbar ul.nav.navbar-nav > li > a {
    padding: 0;
    display: flex;
    font-size: 17px;
  }
  .header-desktop__rightinf {
    padding-top: 25px;
    margin-left: 20px;
  }
  .header-desktop__rightinf .button-callback {
    margin-top: auto;
  }
}
@media screen and (min-width: 1600px) {
  .search-vars {
    min-width: inherit;
  }
}