.menu {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 100%;
    font-size: 16px;
}

.menu .menu-wrapper {
    position: relative;
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.menu .menu-footer {
    display: grid;
    gap: 12px;
}

.menu .menu__list {
    height: 100%;
    margin: 0;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 40px;
}

.menu .menu__list > li {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.menu .menu__list > li > a {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 1em;
    line-height: 140%;
    font-weight: 500;
    letter-spacing: normal;
    color: var(--main-text-color);
    text-transform: none;
    white-space: nowrap;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
}

.menu .menu__dropdown {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.menu .menu__dropdown-list {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0px;
    border-radius: 24px;
    background: var(--main-bg-color);
    padding-top: 13px;
    padding-bottom: 13px;
    box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
}

.menu .menu__dropdown-list .menu__dropdown-list {
    top: -15px;
    left: 100%;
}

.menu .menu__dropdown-list li a {
    display: block;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 140%;
    color: var(--main-text-color);
    text-transform: none;
}

.menu__dropdown-arrow {
    position: relative;
    background-color: transparent;
    width: 30px;
    height: 30px;
}

.menu__dropdown-arrow::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    -webkit-mask-image: url("../img/icons/z_menu_icon.svg");
    mask-image: url("../img/icons/z_menu_icon.svg");
    background: #9397ad;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: auto;
    mask-size: auto;
    transition: background var(--animation-duration) var(--timing-func);
}

.menu .switch-back {
    display: none;
    background: url("../img/icons/z_switch_back_icon.svg") 0px 50% no-repeat;
    font-weight: 700;
    font-size: 15px;
    line-height: 130%;
    color: #9397ad;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 45px;
    padding-right: 45px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.menu-overlay {
    pointer-events: none;
    position: fixed;
    display: block;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background: #fff;
    transform: scaleY(0);
    transform-origin: bottom;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    transform: scaleY(1);
}

.nav > li > a {
    padding: 0;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: transparent;
}

.menu-burger {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: none;
    position: relative;
    width: 103px;
    height: 37px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    transition: background var(--animation-duration) var(--timing-func);
}

.menu-burger span {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    gap: 4px;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    transition: transform var(--animation-duration) var(--timing-func);
    transform: translateY(-100%);
    font-weight: 500;
    font-size: 13px;
    line-height: 160%;
    color: #fff;
}

.menu-burger span svg {
    margin-top: -2px;
}

.menu-burger span:first-child {
    background: var(--primary-color);
}

.menu-burger.active {
    background: #fff;
}

.menu-burger.active span {
    transform: translateY(0);
}

.header-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 89px;
    background: #fff;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    transition: opacity var(--animation-duration) var(--timing-func), transform var(--animation-duration) var(--timing-func);
    z-index: 99;
    padding-left: max(15px, (100% - 1828px) / 2);
    padding-right: max(15px, (100% - 1828px) / 2);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.header-search form {
    width: 100%;
    position: relative;
    height: 54px;
}

.header-search form input {
    height: 100%;
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 7px;
    width: 100%;
    font-weight: 500;
    font-size: 15px;
    color: var(--main-text-color);
    outline: none;
    padding: 0px 70px;
}

.header-search form input:-ms-input-placeholder {
    color: var(--text-color-gray);
}

.header-search form input::placeholder {
    color: var(--text-color-gray);
}

.header-search form button {
    position: absolute;
    height: 100%;
    top: 0;
    aspect-ratio: 1;
    border-radius: 7px;
}

.header-search form button[type=reset] {
    right: 0;
}

.header-search form button[type=reset]:before, .header-search form button[type=reset]:after {
    content: "";
    display: block;
    background: #000;
    height: 2px;
    width: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: background var(--animation-duration) var(--timing-func);
}

.header-search form button[type=reset]:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.header-search form button[type=reset]:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header-search form button[type=submit] {
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-search form button[type=submit] svg path {
    transition: fill var(--animation-duration) var(--timing-func);
}

.search-is-open .header-search {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-search-open {
    border-radius: 50%;
    border: 1px solid #0A1B2B;
    padding: 0px;
    width: 40px;
    height: 40px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background: transparent;
    transition: background var(--animation-duration) var(--timing-func);
}

.header-search-open svg path {
    transition: fill var(--animation-duration) var(--timing-func);
}

.mobile-menu-search {
    padding: 14px 8px;
    background: #f4f7ff;
}

.mobile-menu-search__box {
    position: relative;
    height: 46px;
}

.mobile-menu-search input[type=search] {
    width: 100%;
    height: 100%;
    border-radius: 48px;
    background: #fff;
    padding: 0px 46px 0px 20px !important;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    line-height: 140%;
    color: var(--main-text-color);
}

.mobile-menu-search input[type=search]:-ms-input-placeholder {
    color: var(--main-text-color);
}

.mobile-menu-search input[type=search]::placeholder {
    color: var(--main-text-color);
}

.mobile-menu-search button {
    position: absolute;
    right: 3px;
    top: 3px;
    height: calc(100% - 6px);
    border-radius: 50%;
    aspect-ratio: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: var(--primary-color);
}

.lang-picker {
    position: absolute;
    top: 0px;
    width: 100%;
    border-radius: 30px;
    background: transparent;
    border: 1px solid #0a1b2b;
    overflow: hidden;
    padding: 4px;
}

.lang-picker a,
.lang-picker button {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: #0a1b2b;
}

.lang-picker__current {
    color: var(--cvet-2);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    border-radius: 50%;
    transition: all var(--animation-duration) var(--timing-func);
}

.lang-picker__dropdown {
    overflow: hidden;
    width: 100%;
}

.lang-picker__dropdown a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 0px;
    opacity: 0;
    transform: translateY(-100%);
    border-radius: 40px;
    transition: all var(--animation-duration) var(--timing-func);
}

.lang-picker.hover .lang-picker__current {
    background: var(--primary-color);
    color: #fff;
}

.lang-picker.hover .lang-picker__dropdown a {
    height: 32px;
    opacity: 1;
    transform: translateY(0px);
}

.header .menu-burger {
    margin-left: auto;
}

.header {
    position: relative;
}

.header__holder {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.header__container {
    height: 100%;
}

.header__top {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    height: 90px;
}

.header__wrapper {
    height: 72px;
}

.header__lang-picker {
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
}

.header__top-menu {
    position: relative;
    z-index: 3;
    margin: 0 auto;
}

.header-logo {
    position: relative;
    z-index: 2;
    -ms-flex: 0 0 190px;
    flex: 0 0 190px;
}

.header-logo img {
    width: 100%;
}

.mobile-menu-contacts__title {
    font-weight: 600;
    font-size: 15px;
    line-height: 130%;
    color: var(--main-text-color);
    margin-bottom: 12px;
}

.mobile-menu-contacts__list {
    display: grid;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
    color: var(--main-text-color);
}

.mobile-menu-contacts a,
.mobile-menu-contacts p {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 5px;
}

.mobile-menu-contacts a span,
.mobile-menu-contacts p span {
    font-size: 13px;
    color: var(--text-color-gray);
}

.mobile-menu-contacts a::before,
.mobile-menu-contacts p::before {
    margin-top: 2px;
}

.mobile-menu-contacts a[href^="tel:"]::before,
.mobile-menu-contacts p[href^="tel:"]::before {
    content: url("../img/icons/phone_icon.svg");
}

.mobile-menu-contacts a[href^="mailto:"]::before,
.mobile-menu-contacts p[href^="mailto:"]::before {
    content: url("../img/icons/mail_icon.svg");
}

.mobile-menu-contacts a.location::before,
.mobile-menu-contacts p.location::before {
    content: url("../img/icons/loc_icon.svg");
}

.mobile-menu-contacts a.clock::before,
.mobile-menu-contacts p.clock::before {
    content: url("../img/icons/clock_icon.svg");
}

.header-nav-contacts {
    position: relative;
}

.header-nav-contacts ul {
    display: grid;
}

.header-nav-contacts a {
    white-space: nowrap;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    text-align: right;
    color: var(--main-text-color);
    transition: color var(--animation-duration) var(--timing-func);
}

.header-nav-contacts a span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 115%;
}

.header-nav__icons {
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    padding-left: 16px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-left: 1px solid #191919;
}

.header-nav .header-nav-link {
    display: grid;
    grid-template-columns: auto auto;
    -ms-flex-align: center;
    align-items: center;
    gap: 0px 7px;
}

.header-nav .header-nav-link__icon {
    position: relative;
}

.header-nav .header-nav-link__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: var(--main-text-color);
}

.header-nav .header-nav-link .header-nav-link__title {
    transition: color var(--animation-duration) var(--timing-func);
}

@media (any-hover: hover) and (min-width: 1023.98px) {
    .menu__dropdown-arrow {
        display: none;
    }
}

@media (min-width: 1023.98px) {
    .menu .menu-wrapper {
        display: contents;
    }
    .menu .menu__mobile{display: none}
    .menu .menu-footer {
        display: none;
    }

    .menu .menu__dropdown-list {
        max-width: 265px;
        min-width: 177px;
        width: -webkit-max-content;
        width: max-content;
    }

    .menu .menu__dropdown-list {
        top: calc(100% + 10px);
    }

    .menu .menu__dropdown-list::before {
        content: "";
        height: 10px;
        width: 100%;
        background: transparent;
        position: absolute;
        left: 0;
        bottom: 100%;
        display: block;
    }

    .menu .menu__dropdown-list li a {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .menu .menu__list {
        -ms-flex-align: center;
        align-items: center;
    }

    .menu .menu__list > li > a {
        height: 100%;
        position: relative;
        transition: color var(--animation-duration) var(--timing-func);
    }

    .menu .menu__list > li.current-menu-item > a,
  .menu .menu__list > li:not(.current-menu-item):hover > a {
        color: var(--primary-color);
    }

    .menu .menu__list > li.current-menu-item > .menu__dropdown-arrow::before,
  .menu .menu__list > li:not(.current-menu-item):hover > .menu__dropdown-arrow::before {
        background: var(--primary-color);
    }

    .menu .menu__dropdown-list li > a {
        transition: color var(--animation-duration) var(--timing-func);
    }

    .menu .menu__dropdown-list li:hover > a {
        color: var(--primary-color);
    }

    .menu .menu__dropdown-list {
        opacity: 0;
        transform: rotateX(-90deg);
        transition: transform 450ms ease;
        transform-origin: top;
        transform-style: preserve-3d;
    }

    .menu .menu__dropdown-list > li {
        transform: translateY(10px);
        opacity: 0;
        transition: transform 250ms ease, opacity 250ms ease;
        transition-delay: 0ms;
    }

    .menu__dropdown.hover > .menu__dropdown-list {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        pointer-events: auto;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li {
        transform: translateY(0px);
        opacity: 1;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(1) {
        transition-delay: 0.2s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(2) {
        transition-delay: 0.3s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(3) {
        transition-delay: 0.4s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(4) {
        transition-delay: 0.5s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(5) {
        transition-delay: 0.6s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(6) {
        transition-delay: 0.7s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(7) {
        transition-delay: 0.8s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(8) {
        transition-delay: 0.9s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(9) {
        transition-delay: 1s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(10) {
        transition-delay: 1.1s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(11) {
        transition-delay: 1.2s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(12) {
        transition-delay: 1.3s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(13) {
        transition-delay: 1.4s;
    }

    .menu__dropdown.hover > .menu__dropdown-list > li:nth-child(14) {
        transition-delay: 1.5s;
    }

    .menu-overlay {
        display: none;
    }
}

@media (min-width: 1023.98px) and (any-hover: hover) {
    .menu__dropdown:hover > .menu__dropdown-list {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        pointer-events: auto;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li {
        transform: translateY(0px);
        opacity: 1;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(1) {
        transition-delay: 0.14s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(2) {
        transition-delay: 0.21s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(3) {
        transition-delay: 0.28s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(4) {
        transition-delay: 0.35s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(5) {
        transition-delay: 0.42s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(6) {
        transition-delay: 0.49s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(7) {
        transition-delay: 0.56s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(8) {
        transition-delay: 0.63s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(9) {
        transition-delay: 0.7s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(10) {
        transition-delay: 0.77s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(11) {
        transition-delay: 0.84s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(12) {
        transition-delay: 0.91s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(13) {
        transition-delay: 0.98s;
    }

    .menu__dropdown:hover > .menu__dropdown-list > li:nth-child(14) {
        transition-delay: 1.05s;
    }
}

/* @media (min-width: 1920.98px) {
    .menu {
        font-size: 21px;
    }

    .header__top {
        height: 121px;
    }

    .header__wrapper {
        height: 96px;
    }

    .header-logo {
        -ms-flex: 0 0 254px;
        flex: 0 0 254px;
    }

    .header-nav-contacts a {
        font-size: 29px;
    }

    .header-nav-contacts a span {
        font-size: 18px;
    }

    .header-nav .header-nav-link__title {
        font-size: 21px;
    }
} */

@media (max-width: 1858px) {
    .menu .menu__dropdown-list li a {
        white-space: normal;
    }
}

@media (max-width: 1400px) {
    .menu .menu__list {
        gap: 18px;
    }
}

@media (max-width: 1350px) {
    .header-nav-contacts a {
        font-size: 16px;
    }

    .header-nav-contacts a span {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .menu {
        font-size: 13px;
    }

    .header-nav .header-nav-link__title {
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .header-logo {
        -ms-flex: 0 0 165px;
        flex: 0 0 165px;
    }
}

@media (max-width: 1023.98px) {
    .menu {
        background: #fff;
        pointer-events: none;
        height: auto;
        right: 15px;
        top: 162px;
        position: fixed;
        width: 375px;
        font-size: 16px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        overflow: hidden;
    }

    .menu.active {
        visibility: visible;
        pointer-events: auto;
    }

    .menu .menu-wrapper {
        padding: 16px 0px;
    }

    .menu .menu__list {
        display: block;
        height: auto;
    }

    .menu .menu__list > li {
        height: auto;
        margin-right: 0 !important;
        margin-left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu .menu__list > li > a {
        color: var(--main-text-color);
        font-weight: 500;
        line-height: normal;
        letter-spacing: normal;
    }

    .menu .menu__dropdown {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .menu .menu__dropdown-list {
        background: #fff;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translate(0px, 0px);
        pointer-events: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        height: auto;
        min-width: auto;
        max-width: auto;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }

    .menu .menu__dropdown-list li a {
        white-space: normal;
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        color: var(--main-text-color);
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: normal;
    }

    .menu__dropdown-arrow {
        margin-left: 10px;
    }

    .menu {
        -webkit-clip-path: inset(0% 0% 100% 0%);
        clip-path: inset(0% 0% 100% 0%);
        transition: -webkit-clip-path var(--animation-duration) var(--timing-func);
        transition: clip-path var(--animation-duration) var(--timing-func);
        transition: clip-path var(--animation-duration) var(--timing-func), -webkit-clip-path var(--animation-duration) var(--timing-func);
    }

    .menu.active {
        -webkit-clip-path: inset(0% 0% 0% 0%);
        clip-path: inset(0% 0% 0% 0%);
    }

    .menu .switch-back {
        display: block;
    }

    .menu .menu-wrapper {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .menu .menu__dropdown {
        position: static;
    }

    .menu .menu__dropdown-list .menu__dropdown-list {
        top: 0;
        left: 0;
    }

    .menu .menu__dropdown-list {
        position: absolute;
        padding: 0px;
        left: 0;
        top: 0;
        width: 100%;
        min-height: 100%;
        z-index: 2;
        transform: translateX(-100%);
        border-radius: 0;
        transition: transform var(--animation-duration) var(--timing-func);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .menu .menu__dropdown-list::-webkit-scrollbar {
        width: 0;
    }

    .menu .menu__dropdown-list.is-active {
        transform: none;
    }

    .menu-burger {
        display: block;
        position: relative;
        z-index: 2;
    }

    .header__top {
        height: 83px;
        border-bottom: 0;
    }

    .header__wrapper {
        height: 0;
    }

    .header__btn {
        display: none;
    }

    .header__lang-picker {
        display: none;
    }

    .header__search {
        display: none;
    }

    .header__top-menu {
        display: none;
    }

    .header-nav-contacts {
        display: none;
    }

    .header-nav {
        display: none;
    }
}

@media (max-width: 1023.98px) and (max-width: 1023.98px) {
    .menu {
        width: 100%;
        border-radius: 0px;
        top: 0;
        left: 0;
        padding-top: 83px;
        border: none;
        height: 100svh;
        padding-right: max(15px, (100% - 768px) / 2);
        padding-left: max(15px, (100% - 768px) / 2);
    }
}

@media (max-width: 1023.98px) and (max-width: 767.98px) {
    .menu {
        padding-top: 53px;
    }
}

@media (max-width: 767.98px) {
    .header {
        background: var(--main-bg-color);
        border-radius: 0px 0px 15px 15px;
    }

    .header__top {
        height: 53px;
    }

    .header-logo {
        -ms-flex: 0 0 155px;
        flex: 0 0 155px;
    }
}

@media (any-hover: hover) {
    .header-search form button[type=reset]:hover::before, .header-search form button[type=reset]:hover::after {
        background: var(--primary-color);
    }

    .header-search form button[type=submit]:hover svg path {
        fill: var(--primary-color);
    }

    .header-search-open:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    .header-search-open:hover svg path {
        fill: #fff;
    }

    .lang-picker__dropdown a:hover {
        color: var(--primary-color);
    }

    .lang-picker:hover .lang-picker__current {
        background: var(--primary-color);
        color: #fff;
    }

    .lang-picker:hover .lang-picker__dropdown a {
        height: 32px;
        opacity: 1;
        transform: translateY(0px);
    }

    .header-nav-contacts a:hover {
        color: var(--primary-color);
    }

    .header-nav .header-nav-link:hover .header-nav-link__title {
        color: var(--primary-color);
    }
}