.header-block {
    position: fixed;
    width: 100%;
    z-index: 333;
    top: 18px;
    transition: all ease 0.3s;
}

.fixed-header {
    top: -27px;
    transition: all ease 0.3s;
}

.header__mobile-wrapper {
    display: none;
    transform: translateX(150%);
    transition: all 0.5s ease;
    z-index: 99;
}

.header__logo-link {
    position: relative;
    z-index: 100;
    display: flex;
}

.header__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #595959;
    position: relative;
}

.header__navigation ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
}

.header__navigation .sub-menu ul {
    gap: 8px;
}

.header__navigation ul li a{
    font-weight: 500;
    font-size: 17px;
    text-align: center;
    color: #FFFFFF;
    transition: all ease 0.3s;
}

.lang-navigation {
    position: relative;
    margin-right: 13px;
}

.pll-parent-menu-item {
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid white;
}

.lang-navigation .sub-menu {
    display: none;
    position: absolute;
    bottom: calc(-100% + 5px);
    background: #595959;
    padding: 13px 16px;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid white;
    border-top: 0;
    width: 100%;
    left: 0;
}

.lang-navigation li a {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

.header__navigation .pll-parent-menu-item ul li a {
    padding: 0;
}

.header__menu-button {
    display: none;
}

.header__actions {
    z-index: 100000;
    position: relative;
    display: flex;
    align-items: center;
}

/* search */
.header__actions:has(.search-show) .header__search-icon  {
    opacity: 0;
}

.header__actions:has(.search-show) .header__search-icon.search-icon-inner {
    opacity: 1;
}

.header__search {
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 10;
    margin-right: 30px;
}

.header__search-form {
    z-index: -1;
    position: absolute;
    left: -90px;
    width: 247px;
    opacity: 0;
    display: flex
;
    align-items: center;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 14px;
    transform: translateY(-50%);
    top: 50%;
    background: #5C5C5C;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #FFFFFF;
}

.header__search-form .asl_w_container {
    min-width: unset;
}

.header__search-form.search-show {
    opacity: 1;
    padding-right: 12px;
    padding-left: 20px;
    z-index: 1000;
}

.header__search-form .search-field {
    width: 100%;
    height: 27px;
    border: none;
    background: transparent;
    font-size: calc(17px + (18 - 17) * ((100vw - 1440px) / (1920 - 1440)));
    color: #393939;
}

.header__search-form .search-field::placeholder {
    color: #393939;
}

.search-submit {
    display: none;
}

.header__search-form-close-icon {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    cursor: pointer;
}

.header__search-form-close-icon svg {
    display: flex;
}

.search-field::-webkit-search-decoration,
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-results-button,
.search-field::-webkit-search-results-decoration {
    display: none;
}
/* search */

.header__search {
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid white;
    width: 53px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__search-icon {
    object-fit: contain;
    cursor: pointer;
    min-width: 25px;
    height: 25px;
}


.header__navigation ul.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    margin: 0;
    padding-top: 0px;
    background: #FFF;
    max-width: 100vw;
}

.menu-item,
.header__logo-link {
    z-index: 10001;
    cursor: pointer;
}

.pll-parent-menu-item a {
    transition: all ease 0.3s;
}



.menu-item:hover > .sub-menu {
    display: block;
}

.menu-item:has(.sub-menu)::after {
    content: "";
    display: inline-block;
    width: 12px; /* Adjusted to match the SVG width */
    height: 12px; /* Adjusted to match the SVG height */
    background-image: url('/wp-content/uploads/2025/06/sub-menu-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: bottom;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}



.header div.asl_w, .header div.asl_w .probox {
    background: transparent;
    box-shadow: none;
}

.header #ajaxsearchlite1 .probox, .header div.asl_w .probox {
    background: transparent;
    box-shadow: none;
    flex-direction: row-reverse;
    align-items: center;
}

.header #ajaxsearchlite1 .probox .proinput input, .header div.asl_w .probox .proinput input,
.header div.asl_w .probox .proinput input::placeholder{
    color: #FFFFFF!important;
    font-family: "Manrope", sans-serif!important;
    font-size: 15px!important;
    font-weight: 600!important;
}

.header div.asl_w .probox .proclose {
    display: none!important;
}

.header div.asl_w .probox .promagnifier {
    margin-top: 2px;
    width: 25px;
    height: 25px;
    background: transparent;
    background-image: none;
    border: 0;
    box-shadow: none;
}

.header div.asl_w .probox .promagnifier .innericon {
    background: center/contain no-repeat url("/wp-content/uploads/2025/07/search-icon.svg");
}

.header div.asl_w .probox .promagnifier .innericon svg{
    display: none;
}

.header .proclose {
    margin-right: 5px!important;
}

.header__search-form-close-icon svg rect {
    fill: white;
}

.header .header__search-form.search-show {
    gap: 10px;
}

body .header .wpdreams_asl_results {
    box-shadow: 0 0 5px -1px rgb(0 0 0 / 30%)!important;
    border-radius: 20px!important;
}

.header__green {
    background: #CBDB00;
    padding: 8px 30px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    opacity: 1;
    transition: all 0.3s;
    position: relative;
    margin-bottom: 9px;
}

.fixed-header .header__green {
    opacity: 0;
    transition: all 0.3s;
    padding: 0;
    margin: 0;
    max-height: 20px;
}

.header__green-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__green-right {
    display: flex;
    align-items: center;
    gap: 3px;
}

.header__phone-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
}

.header__green-heading {
    font-size: 15px;
    font-weight: 500;
}

.header__phones {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header__green-text {
    font-size: 14px;
    font-weight: 600;
}

.header__email-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
}

.header__soc-menu ul{
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__button {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.header__desktop-navigation > div > ul > li {
    padding: 28px 0px;
}

/*.header__navigation ul.sub-menu::before {*/
/*    content: '';*/
/*    width: 36px;*/
/*    height: 16px;*/
/*    position: absolute;*/
/*    left: 50%;*/
/*    top: 6px;*/
/*    display: block;*/
/*    transform: translateX(-50%);*/
/*    background: center/ contain no-repeat url('/wp-content/uploads/2025/07/arrow-sub-menu.svg');*/
/*}*/

.small-sub-menu.menu-item-has-children {
    position: relative;
}

body .header .small-sub-menu.menu-item-has-children > .sub-menu {
    width: fit-content!important;
    min-width: 201px!important;
    position: absolute;
    border-radius: 10px;
    padding: 14px 15px;
    background: transparent;
    top: 80px;
}

body .header .small-sub-menu.menu-item-has-children > .sub-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    background: #5C5C5C;
    border-radius: 10px;
}

body .header .small-sub-menu.menu-item-has-children > .sub-menu::before{
    left: 45px;
    top: -1px;
}

body .header .small-sub-menu.menu-item-has-children > .sub-menu li {
    position: relative;
    z-index: 3;
}

body .header .small-sub-menu.menu-item-has-children > .sub-menu li:first-child {
    margin-top: 5px;
}

.fixed-header .header {
    padding-top: 15px;
}

.pll-parent-menu-item .sub-menu .current-lang {
    display: none;
}

@media screen and (min-width: 1440px) {
    .header__navigation ul.sub-menu {
        top: 78px;
        padding-top: 20px;
    }
    .menu-item:hover > .sub-menu{
        box-shadow: 0px 16px 19px 0px rgba(0, 0, 0, 0.04);
    }

    .header__navigation ul li a:hover {
        transition: all ease 0.3s;
        color: #CBDB00;
    }

    .header__navigation ul li.menu-item:hover > a,
    .pll-parent-menu-item a:hover{
        color: #CBDB00;
        transition: all ease 0.3s;
    }

    .header__green {
        padding: 8px 30px;
        border-radius: 14px;
    }

    .header__content-wrapper {
        padding: 0px 30px;
        border-radius: 14px;
    }

    body .header .desktop-none {
        display: none;
    }

    .header__desktop-navigation > div > ul > li {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mega-menu-item .sub-menu, .mega-menu-item .sub-menu > li, .mega-menu-item .sub-menu .mega-menu__container {
        border-radius: 0px 0px 20px 20px;
    }

    body .header .mega-menu-item .sub-menu {
        background: transparent;
    }

    .mega-menu__container {
        background: transparent;
    }

    .pll-parent-menu-item.menu-item:has(.sub-menu)::after {
        margin-bottom: 7px;
        margin-left: 2px;
    }

    .menu-item:has(.sub-menu):hover::after {
        transition: all 0.3s ease;
        transform: rotate(180deg);
        background-image: url('/wp-content/uploads/2025/07/yellow-arrow-top.svg');
    }

    .header__navigation ul li a{
        font-size: 16px;
    }

    .header__search-form .search-field {
        font-size: calc(16px + (17 - 16) * ((100vw - 1439.98px) / (1439.98 - 375)));
    }

    .header__navigation ul.sub-menu {
        top: 60px;
        padding-top: 20px;
    }

    .header__content-wrapper,
    .header__actions,
    .header__navigation ul {
        gap: 10px;
    }

    .header__search-form {
        min-width: 265px;
        left: -25px;
    }

    .header__navigation ul.sub-menu {
        top: 60px;
        padding-top: 40px;
    }

    .header__navigation ul {
        gap: 25px;
    }

    .header__search-icon {
        min-width: 25px;
        height: 25px;
    }

    .header__search-form-close-icon {
        width: 20px;
        height: 20px;
    }

    .header__search-form.search-show {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header__search-form {
        min-width: 265px;
        padding-top: 15px;
        padding-bottom: 15px;
        left: -100px;
    }

    .header__navigation ul.sub-menu {
        top: 78px;
        padding-top: 20px;
    }

    .wpdreams_asl_results {
        min-width: 230px;
    }

    .menu-item-has-children a {
        position: relative;
    }

    .menu-item-has-children:not(.pll-parent-menu-item) > a::after {
        content: '';
        width: 36px;
        height: 16px;
        position: absolute;
        left: 50%;
        bottom: -45px;
        z-index: 3;
        transform: translateX(-50%);
        display: none;
        background: center/ contain no-repeat url('/wp-content/uploads/2025/07/mega-arrow.svg');
    }

    .menu-item-has-children.mega-menu-item > a::after{
        bottom: -52px;
    }

    .menu-item-has-children:hover > a::after {
        display: block;
    }

}

@media screen and (max-width: 1439.98px) {
    .menu-item:has(.sub-menu) {
        width: 100%;
        position: relative;
    }

    .lang-navigation-wrapper {
        position: relative;
    }

    .header__navigation ul li a{
        padding: 0px;
    }

    .sub-menu-opened::after {
        transform: rotateX(180deg);
        background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.51758 8.32454L10.8926 12.4912L15.2676 8.32454" stroke="%232F27CE" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>');
    }

    .menu-item:has(.sub-menu)::after {
        content: "";
        position: absolute;
        display: inline-block;
        top: 0;
        right: 0;
        width: 30px; /* Adjusted to match the SVG width */
        height: 27px; /* Adjusted to match the SVG height */
        flex-shrink: 0;
        background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.51758 8.32454L10.8926 12.4912L15.2676 8.32454" stroke="%230B0B0B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: 12px;
    }

    body .header__mobile-navigation ul.sub-menu {
        width: 100%;
    }

    .menu-item:has(.sub-menu)::after {
        width: 30px; /* Adjusted to match the SVG width */
        height: 27px; /* Adjusted to match the SVG height */
        flex-shrink: 0;
    }

    .header__mobile-wrapper.opened {
        transform: translateX(0%);
        width: 100%;
    }

    .header__mobile-wrapper {
        display: block;
        position: fixed;
        margin-right: -1px;
        top: 0px;
        right: 0;
        width: 100%;
        height: 100%;
        background: #FFF;
        padding: 130px 15px 20px 15px;
    }

    .fixed-body .header__mobile-wrapper {
        padding: 70px 15px 20px 15px;
    }

    .header__menu-button {
        display: flex
    ;
        flex-direction: column;
        gap: 5px;
        border: 0;
        background: none;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 100;
        justify-content: center;
        padding: 3px;
        margin-bottom: 0px;
    }

    .header__desktop-navigation {
        display: none;
    }

    .header__logo-img {
        max-height: 25px;
    }

    .header__actions {
        gap: 20px;
    }

    .header__search-icon {
        width: 32px;
        height: 32px;
    }

    .header__menu-button span {
        width: 100%;
        align-self: flex-end;
        transition: all 0.3s ease;
    }

    .header__menu-button span, .header__menu-button:before, .header__menu-button:after {
        content: '';
        min-height: 2px;
        background-color: #FFFFFF;
        position: relative;
        display: block;
        border-radius: 0px;
    }

    .header__menu-button:before, .header__menu-button:after {
        width: 100%;
        align-self: flex-end;
        transition: all 0.5s ease;
    }

    .opened .header__menu-button span {
        background-color: transparent;
    }

    .opened .header__menu-button:before {
        transform: rotate(45deg) translate(8px, 2px);
    }

    .opened .header__menu-button:after {
        transform: rotate(-45deg) translate(7px, -3px);
    }

    .opened .header__menu-button:before,
    .opened .header__menu-button:after {
        background: #FFFFFF;
    }

    .header__mobile-body-wrapper {
        margin-top: 15px;
        margin-bottom: 15px;
        background: #ECF0F4;
        padding: 20px;
        border-radius: 12px;
    }

    .header__mobile-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pll-parent-menu-item .sub-menu {
        border: 0;
    }

    .header__navigation ul li a {
        font-weight: 700;
        font-size: 20px;
        line-height: 120%;
        color: #10173c;
    }

    .header__mobile-navigation ul.sub-menu {
        position: relative;
        display: block;
        padding-top: 0;
        max-height: 0;
        overflow-y: hidden;
        transition: all 0.5s ease;
    }

    .header__mobile-navigation .sub-menu-opened .sub-menu {
        padding-top: 16px;
        max-height: 2000px;
    }

    .header__navigation ul.sub-menu {
        top: unset;
    }

    .header__green {
        padding: 5px 8px;
        border-radius: 12px;
    }

    .header__content-wrapper {
        padding: 15px 12px;
        border-radius: 12px;
    }

    body .header .mobile-none {
        display: none;
    }

    .header__content-wrapper, .header__green {
        z-index: 10001;
    }

    body .menu-item-has-children .sub-menu::before {
        display: none;
    }

    body .menu-item-has-children .sub-menu {
        background: transparent;
        padding-top: 0;
        padding-left: 12px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .menu-item-has-children .sub-menu a{
        font-size: 18px;
        font-weight: 400;
        color: #0D1922;
    }

    body .pll-parent-menu-item.menu-item-has-children .sub-menu {
        display: none;
    }

    body .pll-parent-menu-item.menu-item-has-children  {
        width: 74px;
        padding: 11px 16px;
        border: 2px solid #0D1922;
        border-radius: 10px;
    }

    body .pll-parent-menu-item.menu-item-has-children a {
        color: #0D1922;
    }

    body .pll-parent-menu-item.menu-item-has-children::after {
        top: 11px;
        width: 25px;
        height: 20px;
    }

    .lang-navigation-wrapper {
        margin-top: 20px;
        display: flex;
        align-items: center;
        gap: 13px;
    }

    body .pll-parent-menu-item.menu-item-has-children.sub-menu-opened .sub-menu{
        display: flex;
        position: relative;
        padding: 0;
        gap: 10px;
        padding-top: 15px;
    }

    .header__button {
        display: flex;
        max-width: fit-content;
    }

    body .header .desktop-none {
        display: flex;
    }

    .menu-item img {
        width: 18px;
        height: 18px;
    }

    .header__search {
        padding: 0px 16px;
        height: 30px;
    }

    .menu-item:has(.sub-menu)::after {
        transition: all ease 0.3s;
        transform: rotate(0deg);
    }

    .menu-item:has(.sub-menu).sub-menu-opened::after {
        transition: all ease 0.3s;
        transform: rotate(180deg);
    }
}

@media screen and (max-width: 599.98px) {

    .header__green-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }

    .header__mobile-wrapper {
        padding: 145px 15px 20px 15px;
    }

    .fixed-body .header__mobile-wrapper {
        padding: 70px 15px 20px 15px;
    }
}

@media screen and (max-width: 374.98px) {
    .header__search-form .search-field {
        font-size: 20px;
    }
}

body .std-container.without-p {
    padding: 0;
}