/*Conatiners*/

html {
    --header-height: 100px;
    --header-bottom-bar-height: 0px;
    --header-total-height: calc(var(--header-height) + var(--header-bottom-bar-height));

    &:has(#header.has_bottom_bar) {
        --header-bottom-bar-height: 70px;
    }
}

#header {
    --after-height: var(--header-height); /*not chocolate and mint*/
    height: var(--header-height);

    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;

    &.has_bottom_bar {
        --after-height: var(--header-bottom-bar-height);
        height: calc(var(--header-height) + var(--header-bottom-bar-height));

        #header_wrapper {
            height: var(--header-height);
            box-shadow: none;
            border-bottom: none;
        }

        .header_bottom_bar {
            height: var(--header-bottom-bar-height);
            background: var(--alternative-bg);
            display: flex;
            align-items: center;
            position: relative;
            box-shadow: var(--evo2-card-shadow);
            border-bottom: 1px solid var(--border);
            border-top: 1px solid var(--border);

            .cta_wrapper {
                position: absolute;
                right: 2rem;
                top: 0;
            }

            .header_bottom_bar_wrapper {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-grow: 1;
                padding: 0 2rem;

                ul.menu > li > a {
                    flex-direction: row;
                }
            }
        }

        &.left.boxed {
            .header_bottom_bar_wrapper {
                max-width: var(--evo2-main-width);
                margin: 0 auto;
                justify-content: flex-start;
            }
        }
    }


    #header_wrapper {
        box-shadow: var(--evo2-card-shadow);
        border-bottom: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }

    #header_inner_wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0 2rem;
        gap: 2rem;

        .boxed & {
            max-width: var(--evo2-main-width);
            margin: 0 auto;
        }
    }

    .left_wrapper,
    .right_wrapper,
    .center_wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .center_wrapper {
        flex-grow: 1;
        justify-content: flex-start;
    }

    &.center {
        .left_wrapper,
        .right_wrapper {
            width: calc(50% - 130px);
        }

        .left_wrapper {
            justify-content: flex-start;
        }

        .right_wrapper {
            justify-content: flex-end;
        }
    }
}

/*logo*/
.logo_wrapper {
    height: 80%;
    width: 200px;

    a {
        display: block;
        text-align: center;
        height: 100%;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }
}

/*i18 n*/
.i18n_wrapper {
    --alternative-bg: transparent;
    --border: transparent;
    --evo2-input-padding: 0px;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;

    .lang_container,
    .currency_container {

        .lang_selector_inner,
        .currency_selector_inner {
            position: relative;
        }

        .lang_selector_facade,
        .currency_selector_facade {
            border-width: var(--evo2-input-border);
            border-style: var(--evo2-input-border-style);
            border-color: var(--border);
            border-radius: var(--evo2-input-radius);
            line-height: var(--evo2-input-height);
            height: var(--evo2-input-height);
            background-color: var(--alternative-bg);
            padding: 0 20px 0 0;
            font-size: 1em;
            font-family: inherit;
            width: 100%;
            position: relative;

            &:after {
                content: var(--evo2-icon-dropdown);
                font-family: var(--evo2-icon-font);
                font-weight: var(--evo2-icon-weight);
                font-size: .8em;
                background: transparent;
                border: none;
                color: var(--icons-color);
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }

        .lang_selector_facade,
        .currency_selector_facade {

            &.open.open_onBottom {
                .currentValue:after {
                    bottom: -10px;
                    border-color: transparent transparent var(--accent) transparent;
                }

                ul.first {
                    padding-top: 10px;
                }
            }

            &.open.open_onTop {
                .currentValue:after {
                    top: -10px;
                    border-color: var(--accent) transparent transparent transparent;
                }

                ul.first {
                    padding-bottom: 10px;
                }
            }

            & + .bf_input_wrap {
                position: absolute;
                left: -999999px;
                opacity: 0;

                &:focus-within {
                    position: unset;
                    left: 0;
                    opacity: 1;
                }
            }

            &:has(+ .bf_input_wrap:focus-within) {
                display: none !important;
            }

            .current_value {
                display: block;
                cursor: pointer;
                position: relative;
                z-index: 2;
                line-height: var(--evo2-input-height);

                span {
                    line-height: var(--evo2-input-height);
                }

                .txt {
                    display: none;
                }
            }

            .facade_dropdown {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                background: transparent;
                min-width: 60px;
                z-index: 999;

                &.onTop {
                    bottom: calc(100% + 10px);
                }

                &.onBottom {
                    top: calc(100% + 10px);
                }

                &.visible {
                    display: block !important;

                    &:before {
                        content: '';
                        display: block;
                        position: absolute;
                        left: 50%;
                        margin-left: -10px;
                        height: 0;
                        border-width: 10px;
                        border-style: solid;
                    }

                    &.onTop:before {
                        bottom: -19px;
                        border-color: var(--bg) transparent transparent transparent;
                    }

                    &.onBottom:before {
                        top: -19px;
                        border-color: transparent transparent var(--bg) transparent;
                    }
                }

                ul {
                    list-style: none inside;
                    background: var(--bg);
                    border-radius: min(10px, var(--evo2-input-radius));
                    padding: .5em 0;
                    margin: 0;
                    max-height: 50vh;
                    min-width: 180px;
                    overflow-y: auto;
                    scrollbar-width: thin;
                    scrollbar-color: var(--color) color-mix(in srgb, var(--bg) 80%, var(--color));

                    li {
                        background: var(--bg);
                        color: var(--color);
                        padding: .5em 1em;
                        line-height: 100%;
                        cursor: pointer;

                        .display-name {
                            font-size: .75em;
                            opacity: .9;
                            display: inline-block;
                            width: 100%;
                            line-height: 120%;
                        }
                    }
                }
            }

            .currentValue {
                display: block;
            }

            .itemsHolder {
                min-width: 140px;

                ul, li {
                    list-style: none inside none;
                }

                li {
                    background: var(--bg);
                    color: var(--color);
                    cursor: pointer;
                    padding: 0.5em 1em;
                    line-height: 130%;
                }

                > ul {
                    overflow: hidden;

                    > li {
                        text-align: center;

                        &:first-child {
                            padding-top: 1em;
                            border-top-left-radius: .5em;
                            border-top-right-radius: .5em;
                        }

                        &:last-child {
                            padding-bottom: 1em;
                            border-bottom-left-radius: .5em;
                            border-bottom-right-radius: .5em;
                        }
                    }
                }
            }

        }
    }

    .lang_container {
        span.code {
            text-transform: uppercase;
            display: none;
        }

        .current_value.trigger img {
            display: none;
        }


        .current_value.trigger,
        .current_value.trigger > a,
        ul.lang_list > li > a {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: .5rem;
            flex-wrap: wrap;
            text-decoration: none;

            img {
                width: 25px;
            }
        }

        ul.lang_list > li > a {
            color: var(--color);
            transition: color .3s ease;

            &:hover {
                color: var(--accent-text);
            }
        }
    }

    .currency_container {

        ul.currency_list > li {
            color: var(--accent-color);
            transition: color .3s ease;

            &:hover {
                color: var(--accent-text);
            }
        }
    }
}


/*top menu*/
ul.menu {
    --icon-width: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    list-style-type: none;

    ul, li {
        list-style-type: none;
    }

    &:has(.menu-item-has-children) {
        > li > a:after {
            content: none;
        }
    }

    a {
        text-decoration: none;
        display: flex;
        gap: .3rem .8rem;

        > span.menu_icon {
            font-size: 24px;
            text-align: center;
            width: var(--icon-width);
            height: var(--icon-width);
            line-height: var(--icon-width);
            flex-shrink: 0;

            &.fa {
                font-size: 22px;

                &:before {
                    font-weight: var(--evo2-icon-weight);
                }
            }
        }
    }

    > li {
        position: static;
        display: flex;
        align-items: center;
        height: var(--header-height);

        &.menu-item-has-children {
            &:after {
                content: none;
            }

            &:hover {
                > a:after {
                    border-color: transparent transparent var(--after-color) transparent;
                }

                .sub-menu-wrap {
                    opacity: 1;
                    visibility: visible;
                    z-index: 100;
                    transition: opacity .3s ease, visibility .3s allow-discrete;
                    @starting-style {
                        visibility: hidden;
                        opacity: 0;
                    }

                    .menu_image {
                        opacity: 1;
                    }

                    .menu_image > img {
                        display: block !important;
                    }

                }
            }

            > a {
                position: relative;

                &:after {
                    content: '';
                    width: auto;
                    display: block;
                    position: absolute;
                    bottom: calc((var(--after-height) - 100%) / 2 * -1);
                    left: 50%;
                    margin-left: -10px;
                    height: 0;
                    background: transparent;
                    border: 10px solid transparent;
                    transition: border-color .3s ease;
                }
            }
        }

        .sub-menu-wrap {
            background: var(--bg);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            visibility: hidden;
            opacity: 0;
            transition: opacity .3s ease, visibility .3s allow-discrete;


            .sub-menu-inner-wrap {
                display: flex;
                align-items: center;
                padding: 0 calc((100% - var(--evo2-main-width)) / 2);
                margin: 2rem;
            }

            .parent-wrap {
                width: calc(var(--evo2-main-width) * (2 / 5));
                color: var(--color);
                padding: 2rem 4rem 2rem 0;

                .parent-title {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    font-size: 2em;
                    padding: 1rem 0 1rem 0;

                    .menu_icon.fa {
                        font-size: 1em;

                        &:before {
                            font-weight: var(--evo2-icon-weight);
                        }
                    }
                }

                a.btn {
                    display: inline-flex;
                    margin-top: 1.5rem;
                }
            }


            .button_prev, .button_next {
                border-color: var(--color);
                color: var(--color);
                background: transparent;
            }


            .swiper {
                --evo2-top-carousel-width: calc(var(--evo2-main-width) * (3 / 5));
                width: var(--evo2-top-carousel-width);
                margin: 0 auto;
            }

            .swiper {

                .swiper-container {
                    width: calc(100% - 80px - 1rem);
                    margin: 0 auto;
                    overflow: hidden;
                }

                button.button_prev:has(+ .swiper-initialized) {
                    left: 0;
                    font-size: 1.5rem;
                    visibility: unset;
                }

                .swiper-initialized + button.button_next {
                    right: 0;
                    font-size: 1.5rem;
                    visibility: unset;
                }

                .swiper-wrapper:has(* + *) {
                    ~ .pagination {
                        display: flex;
                        align-items: center;
                        max-width: calc(100% - 2 * var(--evo2-card-spacer));
                        margin-left: auto;
                        margin-right: auto;

                        span {
                            flex-grow: 1;
                            border-radius: 0;
                            margin: 0;
                            padding: 0;
                            height: 1px;

                            &.swiper-pagination-bullet-active {
                                height: 3px;
                            }

                        }
                    }
                }
            }

            .button_prev {
                left: calc((100% - var(--evo2-top-carousel-width)) / 2 + 1rem);
            }

            .button_next {
                right: calc((100% - var(--evo2-top-carousel-width)) / 2 + 1rem);
            }

            .swiper-container {
                width: calc(100% - 80px - 4rem);;
            }

        }

        #header .header_bottom_bar_wrapper & {
            height: var(--header-bottom-bar-height);
        }


        > a {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: var(--color);
            padding: 1rem;
            text-transform: capitalize;
            transition: all .3s ease;
            max-width: 200px;
            text-align: center;
            line-height: 110%;

            &:after {
                content: "";
                display: block;
                position: absolute;
                bottom: .5rem;
                left: 1rem;
                margin: 0 auto;
                width: 0;
                height: 2px;
                background: var(--accent);
                transition: width .3s ease;
            }

        }
    }


    ul.sub-menu {
        position: absolute;
        top: 100%;
        width: 200px;
        left: 50%;
        margin-left: -100px;


        > li {
            background: var(--bg);

            &.current-menu-item > a {
                color: var(--accent-text);
                border-bottom: 1px solid currentColor;
            }

            a {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: flex-start;
                color: var(--color);
                padding: .5rem 1rem;
                text-align: left;
                line-height: 130%;
                border: none;
                margin: 0;
                will-change: color;
                transition: color .3s ease;
                position: relative;

                &:hover {
                    color: var(--accent-text);
                }

                .menu_label {
                    min-height: var(--icon-width);
                    display: inline-flex;
                    align-items: center;
                    text-transform: uppercase;
                }

                .menu_description {
                    font-size: .8em;
                    display: block;
                    width: 100%;
                }

            }

            &.has_icon {
                .menu_label_wrap {
                    width: calc(100% - var(--icon-width) - .8rem);
                }
            }
        }
    }

}

/*top variations*/
#header.carousel_desc {
    ul.menu > li {

        ul.sub-menu:hover > li {
            img {
                filter: grayscale(1);
            }

            &:hover img {
                filter: none;
            }
        }

        ul.sub-menu {
            display: flex;
            position: static;
            width: 100%;
            margin-left: 0;
            left: 0;


            > li {
                width: 33.33%;
                max-width: 50%;
                flex-grow: 1;
                padding: 3rem .75rem;


                /* center when I have only one element*/

                &:only-child {
                    margin-left: auto;
                    margin-right: auto;
                }

                a {
                    padding: 0;
                }

                .menu_image {
                    display: block;
                    width: 100%;
                    aspect-ratio: 3 / 4;
                    overflow: hidden;
                    margin-bottom: 1rem;
                    max-height: 275px;
                    background-color: var(--alternative-bg);
                    border-radius: var(--evo2-card-radius);

                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: none;
                        opacity: 0;
                        will-change: filter;
                        transition: filter .3s ease, opacity .5s ease;
                    }
                }

            }
        }
    }
}

#header.carousel {
    ul.menu > li {

        .sub-menu-wrap {

            .swiper {
                width: var(--evo2-main-width);
                margin: 0 auto;
                padding: 0 2rem;
            }

            .button_prev {
                left: calc((100% - var(--evo2-main-width)) / 2 + 1rem);
            }

            .button_next {
                right: calc((100% - var(--evo2-main-width)) / 2 + 1rem);
            }

            .swiper-container {
                width: calc(100% - 80px);
            }

        }

        ul.sub-menu:hover > li {
            img {
                filter: grayscale(1);
            }

            &:hover img {
                filter: none;
            }
        }

        .swiper-container:not(.swiper-initialized) > ul {
            justify-content: center; /*center with not enough items*/
        }

        ul.sub-menu {
            display: flex;
            position: static;
            width: 100%;
            margin-left: 0;
            left: 0;

            > li {
                width: 20%;
                padding: 3rem .5rem;

                a {
                    padding: 0;
                }

                .menu_image {
                    display: block;
                    width: 100%;
                    aspect-ratio: 4 / 3;
                    overflow: hidden;
                    margin-bottom: .5rem;
                    border-radius: var(--evo2-card-radius);

                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: none;
                        opacity: 0;
                        will-change: opacity, filter;
                        transition: opacity .3s ease, filter .3s ease;

                    }
                }

            }
        }
    }
}

#header.list {
    ul.menu > li {
        .sub-menu-wrap {
            --image-width: 350px;
            --inner-width: min(var(--evo2-main-width), 1280px);

            .sub-menu-inner-wrap {
                padding: 0 calc((100% - var(--inner-width)) / 2 + 2rem);

                .items {
                    width: 100%;
                    padding-right: var(--image-width);


                    .sub-menu-container {
                        min-height: calc(var(--image-width) * (3 / 4) + 4rem);
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        align-items: flex-start;
                    }
                }

            }

            .parent-wrap {
                margin-top: 2rem;
                padding: 0;

                > a {
                    font-size: 1.5rem;
                    color: var(--color);
                    transition: color .3s ease;

                    &:hover {
                        color: var(--accent-text);
                    }

                    &:after {
                        content: var(--evo2-menu-arrow);
                        font-family: var(--evo2-icon-font);
                        font-weight: var(--evo2-icon-weight);
                        margin-left: .5rem;
                    }
                }
            }

            .menu-image-parent {
                display: block;
                position: absolute;
                right: calc((100% - var(--inner-width)) / 2 + 2rem);
                top: 50%;
                transform: translateY(-50%);
                left: auto;
                width: var(--image-width);
                height: max(100% - 4rem, var(--image-width) * (3 / 4));
                overflow: hidden;
                border-radius: var(--evo2-card-radius);
                z-index: 1;

                > img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

        }

        ul.sub-menu > li:hover {
            .menu_image {
                display: block;
                opacity: 1;
                @starting-style {
                    opacity: 0;
                }
            }

        }

        ul.sub-menu {
            display: block;
            position: static;
            width: 100%;
            margin-left: 0;
            left: 0;
            column-count: 2;
            column-gap: 3rem;
            padding: 2rem 3rem 2rem 0;
            z-index: 2;

            > li {
                padding: .5rem 0;
                position: static;
                break-inside: avoid;
                page-break-inside: avoid;

                /* center when I have only one element*/

                &:only-child {
                    margin-left: auto;
                    margin-right: auto;
                }

                a {
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    padding: 0;
                    position: static;
                }

                .menu_image {
                    display: none;
                    opacity: 0;
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    right: calc((100% - var(--inner-width)) / 2 + 2rem);
                    left: auto;
                    width: var(--image-width);
                    height: max(100% - 4rem, var(--image-width) * (3 / 4));
                    border-radius: var(--evo2-card-radius);
                    overflow: hidden;
                    will-change: opacity;
                    transition: opacity .3s ease, display .3s allow-discrete;


                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: none;
                        opacity: 0;
                        will-change: opacity;
                        transition: opacity .3s ease;
                    }
                }

                .menu_description {
                    margin-top: -.5rem;
                }
            }
        }
    }
}

#header.strip {

    &.left.boxed {
        .header_bottom_bar_wrapper {
            ul.sub-menu {
                padding: 0 calc((100vw - var(--evo2-main-width)) / 2 + 2rem);
                justify-content: flex-start;
            }
        }
    }

    .header_bottom_bar_wrapper {
        .sub-menu-inner-wrap {
            margin: 0;
        }

        ul.menu > li {
            background: transparent;
        }

        ul.menu > li ul.sub-menu {
            justify-content: center;
        }
    }

    ul.menu > li {
        position: static;

        &:after {
            display: none;
        }

        &:hover ul.sub-menu {
            min-height: var(--header-bottom-bar-height);
        }

        ul.sub-menu {
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            background: var(--bg);
            width: 100%;
            margin: 0;
            left: 0;
            z-index: -1;
            padding: 0 4rem;

            > li {
                padding: 0;
                display: flex;
                align-items: center;
                width: unset;
                max-width: 240px;

                a {
                    padding: 1rem;
                }

                .menu_image {
                    display: none;
                }
            }
        }
    }
}

#header.dropdown {
    ul.menu > li {
        position: relative;
    }

    ul.menu ul.sub-menu > li {
        &:first-child {
            padding-top: 1em;
            border-radius: min(10px, var(--evo2-input-radius)) min(10px, var(--evo2-input-radius)) 0 0;
        }

        &:last-child {
            padding-bottom: 1em;
            border-radius: 0 0 min(10px, var(--evo2-input-radius)) min(10px, var(--evo2-input-radius));
        }

        &:only-child {
            padding-top: 1em;
            padding-bottom: 1em;
            border-radius: min(10px, var(--evo2-input-radius));
        }

        .menu_image {
            display: none;
        }
    }
}


/*hamburger*/
.open_menu {
    width: 40px;
    aspect-ratio: 1;
    cursor: pointer;

    .icon {
        width: 20px;
        height: 16px;
        display: block;
        position: relative;
        margin: 0 auto 0;
        border-width: 2px 0;
        border-style: solid;
        border-color: var(--color);
        transition: all .3s ease;

        &:before {
            position: absolute;
            left: 0;
            width: 100%;
            content: "";
            display: block;
            height: 2px;
            background: var(--color);
            top: 50%;
            transition: all .3s ease;
            margin-top: -1px;
        }
    }
}

dialog#main_menu_dialog {
    all: unset;
    padding: 0;
    width: min(450px, 100%);
    height: 100dvh;
    margin: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    display: none;
    flex-direction: column;
    border: none;
    background: var(--bg);
    transition: transform .5s ease, display .5s allow-discrete;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-gutter: stable;

    &:open {
        display: flex;
        transform: translateX(0);
        @starting-style {
            transform: translateX(-100%);
        }
    }

    &.collapsed {
        .sub-menu-wrap {
            display: none;
        }

        .more_li {
            position: absolute;
            right: 0;
            height: var(--icon-width);
            aspect-ratio: 1;
            text-align: center;
            cursor: pointer;

            &[aria-expanded="true"]:after {
                transform: rotate(90deg);
            }

            &:after {
                display: block;
                content: var(--evo2-menu-arrow);
                font-family: var(--evo2-icon-font);
                font-weight: var(--evo2-icon-weight);
                transition: transform .3s ease;
                font-size: 1rem;
            }
        }
    }

    &.list {
        width: 100%;
        transform: none;
        opacity: 1;
        clip-path: inset(0% 0% 100%);
        transition: clip-path .5s ease, display .5s allow-discrete;

        &:open {
            clip-path: inset(0% 0% 0%);
            @starting-style {
                clip-path: inset(0% 0% 100%);
            }
        }

        .main_menu_wrapper {
            align-items: flex-start;
        }

        .logo_wrapper {
            width: 50%;
            height: auto;
        }

        .close.right {
            right: calc(50% + 2rem);
        }

        nav ul.main_menu {
            width: 50%;
        }

        nav ul.main_menu > li {
            --item-max-width: 300px;
            position: static;
            width: calc(50% - var(--icon-width));

            > a {
                max-width: var(--item-max-width) !important;

                .menu_label_wrap {
                    text-align: left;
                }
            }

            &:hover {
                .menu-image-parent {
                    display: block;
                    opacity: 1;
                    @starting-style {
                        opacity: 0;
                    }
                }
            }

            a:hover {
                .menu_image {
                    display: block;
                    opacity: 1;
                    @starting-style {
                        opacity: 0;
                    }
                }
            }

            .sub-menu-wrap {
                margin-left: calc(var(--item-max-width) + var(--icon-width));
                padding-top: 0;
                width: calc(100% - var(--item-max-width) - var(--icon-width) - 1rem);
                position: absolute;
                z-index: 9999;

                .items {
                    margin: 0;
                    padding-left: 1rem;
                }
            }

            .more_li {
                left: calc(var(--item-max-width));
            }
        }

        .menu_image,
        .menu-image-parent,
        .menu-global-bg {
            display: none;
            opacity: 0;
            width: 50%;
            height: 100%;
            position: fixed;
            left: 50%;
            top: 0;
            overflow: hidden;
            will-change: opacity, filter;
            transition: opacity .3s ease, display .3s allow-discrete;

            > img {
                height: 100%;
                width: 100%;
                object-fit: cover;
                opacity: 0;
                will-change: opacity;
                transition: opacity .3s ease;
            }
        }

        .menu_image,
        .menu-image-parent {
            background: transparent;
        }

        .menu-global-bg {
            display: block;
            opacity: 1;
        }
    }

    .main_menu_wrapper {
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;

        ul {
            list-style: none inside none;
        }

        .items {
            margin-left: 1rem;
            margin-right: 0;
            width: 100%;
        }


        nav {
            width: 100%;

            ul.main_menu {
                --icon-width: 32px;
                display: flex;
                align-items: flex-start;
                justify-content: flex-start;
                flex-direction: column;
                flex-wrap: wrap;
                list-style-type: none;

                ul, li {
                    list-style-type: none;
                }

                &:has(.has_icon) {
                    > li.no_icon {
                        > a {
                            padding-left: calc(1rem + var(--icon-width) + .8rem);
                        }
                    }

                    .items {
                        margin-left: calc(1rem + var(--icon-width) + .8rem);
                    }
                }

                a {
                    text-decoration: none;
                    display: flex;
                    gap: 0 .8rem;

                    &:hover {
                        span.menu_label:after {
                            width: calc(100%);
                        }
                    }

                    > span.menu_icon {
                        font-size: 24px;
                        text-align: center;
                        width: var(--icon-width);
                        height: var(--icon-width);
                        line-height: var(--icon-width);
                        flex-shrink: 0;

                        &.fa {
                            font-size: 22px;

                            &:before {
                                font-weight: var(--evo2-icon-weight);
                            }
                        }
                    }

                    span.menu_label {
                        position: relative;

                        &:after {
                            content: "";
                            display: block;
                            position: absolute;
                            bottom: .3rem;
                            left: 0;
                            margin: 0;
                            width: 0;
                            height: 2px;
                            background: var(--accent);
                            transition: width .3s ease;
                        }
                    }
                }

                > li {
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    width: 100%;
                    padding-bottom: 1rem;

                    > a {
                        flex-direction: row;
                        justify-content: flex-start;
                        align-items: center;
                        color: var(--color);
                        padding: 0 1rem;
                        text-transform: uppercase;
                        transition: all .3s ease;
                        max-width: 200px;
                        text-align: center;
                        line-height: 110%;

                        .menu_label_wrap {
                            position: relative;

                            span.menu_label {
                                position: static;

                                &:after {
                                    bottom: 0;
                                }
                            }
                        }


                    }
                }


                .sub-menu-wrap {
                    padding: 1rem 0 0;
                    max-width: 100%;
                }

                ul.sub-menu {

                    > li {
                        background: var(--bg);

                        &.current-menu-item > a {
                            color: var(--accent-text);
                            border-bottom: 1px solid currentColor;
                        }

                        a {
                            display: flex;
                            flex-direction: row;
                            flex-wrap: wrap;
                            align-items: flex-start;
                            color: var(--color);
                            padding: 0 1rem;
                            text-align: left;
                            line-height: 130%;
                            border: none;
                            margin: 0;
                            will-change: color;
                            transition: color .3s ease;
                            position: relative;

                            &:hover {
                                color: var(--accent-text);
                            }

                            .menu_label {
                                min-height: var(--icon-width);
                                display: inline-flex;
                                align-items: center;
                                text-transform: capitalize;
                            }

                            .menu_description {
                                font-size: .8em;
                                margin-top: -.3rem;
                                margin-bottom: .5rem;
                                display: block;
                                width: 100%;
                            }

                        }

                        &.has_icon {
                            .menu_icon {
                                display: none;
                            }

                            .menu_label_wrap {
                                width: calc(100% - var(--icon-width) - .8rem);
                            }
                        }
                    }
                }

            }
        }
    }

    .menu_image {
        display: none;
    }
}

/*buttons*/
#header {
    --evo2-cta-width: 180px;

    .header_wrapper {
        .cta_wrapper {
            display: flex;
            gap: 1rem;

            button.btn:only-child {
                width: var(--evo2-cta-width);
            }
        }
    }

    .header_bottom_bar {

        padding: 0 calc(var(--evo2-cta-width) / 2);

        .cta_wrapper {
            display: flex;
            align-items: center;
            height: var(--header-bottom-bar-height);

            button.btn.main_cta {
                width: var(--evo2-cta-width);
            }

            button:nth-child(2) {
                display: none;
            }
        }
    }
}

/*contacts*/

.contacts_wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;

    &.vertical{
        flex-direction: column;
        align-items: flex-start;
        gap: .3rem;

        a{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: .5rem;
        }
        .contact_text{
            display: none;
        }
        .contact_value{
            display: block;
            font-size: .8em;
        }
    }

    .icon:after {
        font-family: var(--evo2-icon-font);
        font-weight: var(--evo2-icon-weight);
        background: transparent;
        border: none;
        color: var(--icons-color);
    }

    a {
        display: inline-block;
        color: currentColor;
        text-decoration: none;
        transition: color .3s ease;

        &:hover {
            color: var(--accent-text);
        }
    }

    a.contact_phone {
        .icon:after {
            content: var(--evo2-icon-phone);
        }
    }

    a.contact_email {
        .icon:after {
            content: var(--evo2-icon-mail);
        }
    }

    .contact_value{
        display: none;
    }
}

/*social*/
#header {
    .social_profiles_wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: .5rem;
        position: absolute;
        height: 100vh;
        right: 2rem;
        top: 0;

        a {
            width: 40px;
            height: 40px;
            line-height: 40px;
            border-radius: var(--evo-button-radius);
            text-align: center;
            background: var(--alternative-bg);
            color: var(--color);
            position: relative;
            transition: color .3s ease;

            &:before {
                content: '';
                position: absolute;
                width: 100%;
                height: 100%;
                border-radius: var(--evo-button-radius);
                background: var(--profile-bg);
                left: 0;
                top: 0;
                z-index: 0;
                opacity: 0;
                transition: opacity .3s ease;
            }

            &:hover {
                color: var(--profile-color);
            }

            &:hover:before {
                opacity: 1;
            }

            > span {
                position: relative;
                z-index: 1;
            }
        }
    }
}

/*transparent header*/
#header.transparentize{
    position: fixed;
    top: 0;
    width: 100%;
}
#header.transparentize.scrolling,
#header.transparentize.custom {
    ul.menu > li > a,
    ul.menu > li > a .menu_icon,
    button.btn, a.btn,
    .social_profiles_wrapper a,
    .contacts_wrapper a,
    #header_wrapper,
    .header_bottom_bar {
        will-change: background, border-color, box-shadow, color;
        transition: background .5s ease, border-color .5s ease, box-shadow .5s ease, color .5s ease;
    }
}

#header.transparentize.custom:not(:hover):not(:has(*:focus-visible)):not(.social_profiles_wrapper a:hover) {
    backdrop-filter: blur(10px);

    #header_wrapper, .header_bottom_bar {

        --bg: #00000030;
        --alternative-bg: #00000030;
        --border: transparent;
        --color: #fff;
        --accent: #ffffff40;
        --accent-color: #fff;
        --accent-text: #ddd;
        --button-bg: #ffffff40;
        --button-bg-color: #fff;
        --evo2-card-shadow: none;
    }

    .social_profiles_wrapper a {
        --alternative-bg: #cccccc60;
        --color: #fff;

        &:before {
            opacity: 0;
            transition: opacity .5s ease;
        }
    }

    .logo_wrapper {
        .original {
            display: none;
        }

        .custom {
            display: block !important;
        }

    }

}






