header {
    background-color: #222222;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 7;
    padding: 17px 0;
}
.header__logo-link {
    display: inline-block;
    max-width: 53px;
}
.header__logo-link img {
    vertical-align: top;
}
.header__nav {
    padding: 0 11px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__list {
    display: flex;
    align-items: center;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.header__item {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}
.header__item-dropdown {
    cursor: pointer;
}
.header__item-dropdown:hover ul.header__dropdown {
    opacity: 1;
    z-index: 5;
    visibility: visible;
}
.header__item-dropdown:after:hover ul.header__dropdown {
    opacity: 1;
    z-index: 5;
    visibility: visible;
}
.header__item:hover .header__link, .header__link.active {
    color: #FAFAFA;
    font-weight: bold;
}
.header__item:hover .header__link::after, .header__link.active::after {
    width: 86px;
}
.header__tools {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.header__tools .phones {
    margin-left: auto;
    flex: 0 0 auto;
}
.header__tools .lang {
    margin-left: 20px;
    flex: 0 0 auto;
    position: relative;
}
.header__tools .lang .header__dropdown {
    max-width: 100%;
    min-width: 90px;
    right: 0;
    left: inherit;
}
.header__tools-tool {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header__link {
    text-decoration: none;
    color: #FAFAFA;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 19px;
    position: relative;
    display: inline-block;
    text-align: center;
    font-weight: 400;
    position: relative;
}
.header__link::before {
    display: block;
    content: attr(title);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.header__link::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 100%;
    margin: auto;
    margin-top: 10px;
    left: 0;
    right: 0;
    width: 0;
    max-width: 100%;
    height: 2px;
    background-color: #E7A320;
    transition: 0.3s;
}
.header__link:hover {
    color: #FAFAFA;
    font-weight: bold;
}
.header__link .icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8px;
    margin-left: 7px;
}
.header__phone {
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: "Montserrat", "Raleway", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    transition: all linear 0.3s;
}
.header__phone::before {
    transition: all linear 0.3s;
    content: "";
    width: 0;
    height: 3px;
    background-color: #f6a947;
    position: absolute;
    bottom: -9px;
    left: 0;
}
.header__phone:hover {
    color: #f6a947;
    text-decoration: none;
}
.header__phone:hover:before {
    width: 100%;
    transition: all linear 0.3s;
}
.header__tools {
    align-items: center;
}
.header__tools .lang .header__link {
    font-weight: 600;
}
.header__dropdown {
    cursor: default;
    transition: all 0.5s ease;
    background-color: #2E2E2E;
    margin-top: 5px;
    padding: 7px 0;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 110%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 290px;
}
.header__dropdown-title {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: unset;
    color: #ffffff;
}
.header__dropdown-item {
    flex: 1 1 100%;
    width: 100%;
    padding: 7px 0;
    padding-left: 26px;
    padding-right: 20px;
    display: flex;
    background: transparent;
    transition: 0.3;
}
.header__dropdown-item::before {
    margin: 0px 9px;
    margin-top: 6px;
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    flex: 0 0 3px;
}
.header__dropdown-item:hover {
    background-color: #222222;
}
.header__dropdown-item:hover, .header__dropdown-item:hover a {
    color: #E7A320;
}
.header__dropdown-item:hover:before {
    background-color: #E7A320;
}

.header__nav {
    display: flex;
    align-items: center;
}
.header__nav ul.menu {
    display: flex;
    justify-content: space-between;
    align-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}
.header__nav ul.menu li {
    list-style: none;
    position: relative;
}
.header__nav ul.menu>li.menu-item-has-children > a:after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: auto;
    left: auto;
    right: -14px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8px;
    height: 6px;
    margin-top: -4px;
    background: url("../../images/arrow_down.svg") no-repeat;
    background-position: center;
}
.header__nav ul.menu li a{
    transition: all 500ms ease;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #FAFAFA;
    text-decoration: none;
    position: relative;
}
.header__nav ul.menu li a:hover {
    color: #FAFAFA;
    font-weight: bold;
}
.header__nav ul.menu li a::before {
    display: block;
    content: attr(title);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.header__nav ul.menu li a:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 100%;
    margin: auto;
    margin-top: 10px;
    left: 0;
    right: 0;
    width: 0;
    max-width: 100%;
    height: 2px;
    background-color: #E7A320;
    transition: 0.3s;
}
.header__nav ul.menu li a:hover:after {
    width: 86px;
}
.header__nav ul.menu>li.menu-item-has-children a:hover:after {
    width: 8px;
}
.header__nav ul.menu li.current_page_item > a {
    color: #ffffff;
    text-decoration: none;
}
.header__nav ul.menu li.current-menu-parent > a {
    color: #ffffff;
    text-decoration: none;
}
.header__nav ul.menu li.current_page_parent  > a {
    color: #ffffff;
    text-decoration: none;
}
.header__nav ul.menu>li>ul {
    cursor: default;
    transition: all 0.5s ease;
    background-color: #2E2E2E;
    margin-top: 5px;
    padding: 7px 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 290px;
}
.header__nav ul.menu li>ul>li {
    flex: 1 1 100%;
    list-style: none;
    width: 100%;
    padding: 7px 0;
    padding-left: 26px;
    padding-right: 20px;
    display: flex;
    background: transparent;
    transition: 0.3;
}
.header__nav ul.menu li>ul>li::before {
    margin: 0px 9px;
    margin-top: 6px;
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    flex: 0 0 3px;
}
.header__nav ul.menu li>ul>li:hover {
    background-color: #222222;
}
.header__nav ul.menu li>ul>li:hover, .header__nav ul.menu li>ul>li:hover a {
    color: #E7A320;
}
.header__nav ul.menu li>ul>li:hover:before {
    background-color: #E7A320;
}
.header__nav ul.menu li>ul>li a{
    text-align: left;
    text-decoration: none;
    display: block;
    transition: all 0.5s ease;
    padding: 0;
    font-family: var(--raleway-family);
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: unset;
    color: #ffffff;
}
.header__nav ul.menu li>ul>li a:after {
    content: '';
    display: none;
}
.header__nav ul.menu li:hover > ul,
.header__nav ul.menu li:focus-within > ul,
.header__nav ul.menu li ul:hover,
.header__nav ul.menu li ul:focus {
    visibility: visible;
    opacity: 1;
    display: flex;
    transition: all 0.5s ease;
}
.wpml-ls-legacy-dropdown {
    width: auto;
    max-width: 100%;
}
.wpml-ls-legacy-dropdown > ul {
    position: relative;
    padding: 0;
    margin: 0 !important;
    list-style-type: none;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:focus .wpml-ls-sub-menu,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover .wpml-ls-sub-menu {
    visibility: visible;
}
.wpml-ls-legacy-dropdown .wpml-ls-item {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.wpml-ls-legacy-dropdown a {
    display: block;
    text-decoration: none;
    border: 1px solid transparent;
    background-color: transparent;
    padding: 5px 10px;
    color: #FAFAFA;
    font-family: var(--raleway-family);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 19px;
    position: relative;
    text-align: center;
    font-weight: 600;
}
.wpml-ls-legacy-dropdown a span {
    vertical-align: middle;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    position: relative;
    padding-right: calc(10px + 1.4em);
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    content: "";
    vertical-align: middle;
    display: inline-block;
    background: url('../../images/arrow_down.svg') no-repeat;
    position: absolute;
    right: 14px;
    top: calc(50% - 0.175em);
    width: 10px;
    height: 6px;
    border: none;
    border-top: none;

}
.rtl .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    right: auto;
    left: 10px;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover > a,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown a:hover {
    color: #FAFAFA;
    background: transparent;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    visibility: hidden;
    padding: 0;
    margin: 0;
    list-style-type: none;
    z-index: 101;
    border-top: none;
    max-width: 100%;
    min-width: 90px;
    right: 0;
    left: inherit;
    position: absolute;
    top: 100%;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
    border-width: inherit;
    background-color: #2E2E2E;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover{
    background-color: #2E2E2E;
    color: #E7A320;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover:before{
    background-color: #E7A320;
}
.hamburger {
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    outline: none;
}
.hamburger:hover {
    opacity: 1;
}
.hamburger.is-active:hover {
    opacity: 1;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #fff;
}
.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}
.hamburger--arrowturn.is-active .hamburger-inner {
    transform: rotate(-180deg);
}
.hamburger--arrowturn.is-active .hamburger-inner::before {
    transform: translate3d(-8px, 0, 0) rotate(-45deg) scale(0.7, 1);
}
.hamburger--arrowturn.is-active .hamburger-inner::after {
    transform: translate3d(-8px, 0, 0) rotate(45deg) scale(0.7, 1);
}
.hamburger {
    width: 42px;
    height: 25px;
    flex: 0 0 auto;
    position: relative;
    margin-left: 35px;
    margin-right: 0;
    display: none;
}
.hamburger span {
    height: 3px;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.3s 0.3s, transform 0.3s 0s;
}
.hamburger span:first-child {
    margin-bottom: 22px;
}
.hamburger span:last-child {
    margin-top: 22px;
}
.hamburger.active span {
    transition: 0.3s, transform 0.3s 0.3s;
    transform: rotate(45deg);
}
.hamburger.active span:first-child {
    margin-bottom: 11px;
}
.hamburger.active span:last-child {
    transform: rotate(-45deg);
    margin-top: 11px;
}
.header__tools-tool.mobile {
    display: none;
}
@media screen and (max-width: 1300px) {
    header a {
        font-size: 14px !important;
    }
}
@media screen and (max-width: 1200px) {
    .header__nav {
        padding: 0px;
    }
    header a {
        font-size: 13px !important;
    }
}
@media screen and (max-width: 992px) {
    .hamburger {
        display: block;
    }
    .header__nav {
        display: flex;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        height: 100vh;
        width: 300px;
        right: -100%;
        z-index: 1000;
        background: #222;
        justify-content: unset;
        overflow: auto;
        opacity: 0;
        transition: 0.3s;
        padding: 60px 0 30px 0;
    }
    .header__nav-holder {
        flex: 1 1 auto;
        max-width: 100%;
        width: auto;
        padding: 0;
    }
    .header__nav.active {
        right: 0;
        opacity: 1;
    }
    .header__nav ul.menu {
        flex-direction: column;
        justify-content: unset;
        align-items: center;
        margin: 0;
        gap: 10px;
        width: 100%;
        padding: 23px 0;
        min-width: 300px;
    }
    .header__nav ul.menu li {
        margin: 7px 0;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .header__nav ul.menu>li>ul {
        position: static;
        max-height: 0px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .header__nav ul.menu>li:hover ul.sub-menu {
        max-height: max-content;
    }
    .header__nav .header__list .sub-menu {
        text-align: left;
    }
    .header__nav .header__list .header__dropdown-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .header__tools .phones {
        margin-left: 0;
    }
    .header__nav ul.menu li a:after {
        left: 50%;
        right: auto;
        transform: translate(-100%, 0px);
    }
    .header__nav ul.menu>li.menu-item-has-children > a {
        pointer-events: none;
    }
    .header__nav ul.menu>li.menu-item-has-children > a:after {
        transform: translate(0, 0px);
    }
}
@media screen and (max-width: 576px) {
    .header {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .header__logo {
        width: 47px;
        min-width: 57px;
    }
    .header__nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: calc(100vh - 80px);
        height: calc(100vh - 80px);
        padding: 30px 0;
        justify-content: space-between;
    }
    .header__nav a, .header__nav .header__link {
        font-size: 16px;
    }
    .header__tools-mobile {
        margin-top: auto;
        width: 100%;
        justify-content: flex-end;
        padding-right: 32px;
        padding-bottom: 40px;
    }
    .header__tools-mobile .lang {
        flex: 0 0 auto;
    }
    .header__tools-mobile .phones {
        align-items: center;
    }
    .header__nav ul.menu>li.menu-item-has-children:after {
        top: 11px;
    }
    header a {
        font-size: 16px !important;
    }
    .header__tools-tool.desctop {
        display: none;
    }
    .header__tools-tool.mobile {
        display: block;
    }
    .header__tools-tool.mobile {
        display: flex;
        gap: 30px;
        margin-bottom: 40px;
    }
    .header__nav ul.menu li>ul>li a {
        font-size: 14px !important;
        line-height: 18px;
    }
    .header__nav ul.menu li>ul>li {
        padding: 0;
    }
}

.search-icon {
    cursor: pointer; /* Змінює курсор на pointer при наведенні */
    display: inline-flex; /* Гарантує, що іконка відображається в рядку */
    align-items: center; /* Центрує іконку по вертикалі */
    justify-content: center; /* Центрує іконку по горизонталі */
}

.search-icon-path {
    transition: stroke 0.3s ease; /* Плавний перехід кольору */
}

.search-icon:hover .search-icon-path {
    stroke: #FFD700; /* Зміна кольору іконки при наведенні */
}

.search-icon-svg {
    transform: translateY(2px); /* Зміщуємо іконку вниз на 2 пікселі */
    width: 16px;
    height: 16px;
}

.search-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #222222;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
}

.search-form {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 9px auto;
}

.search-field {
    flex-grow: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    background-color: #2E2E2E;
    color: #FAFAFA;
    font-family: "Raleway", sans-serif;
}

.search-field::placeholder {
    color: #FAFAFA;
    opacity: 0.7;
}

.search-submit {
    background-color: #E7A320;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: #f6a947;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 992px) {
    .search-form {
        max-width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .search-field {
        font-size: 14px;
    }
}