.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-nav-wrapper {
    background-color: var(--white1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
    z-index: 2;
}

.links-wrapper {
    display: flex;
    gap: 32px;
}

.links-wrapper > a,
.registration-wrapper {
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: 0.3s ease all;
}

.links-wrapper > a:hover,
.registration-wrapper:hover {
    border-bottom: 2px solid var(--green1);
    transition: 0.3s ease all;
}

.registration-wrapper svg {
    transition: 0.3s ease all; 
}

.registration-wrapper:hover svg {
    transform: rotate(45deg);
    transition: 0.3s ease all;
}

.registration-wrapper {
    display: flex;
    gap: 7px;
    align-items: center;
}

.mobile-menu-wrapper {
    display: none;
}

#mobile-submenu {
    display: none;
    position: fixed;
    inset: 92px 0px 0px 0px;
    z-index: 1000;
    background: white;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none; 
    transition: transform .3s ease, opacity .2s ease;
}

.header-nav:has(.opened-submenu) {
    background: var(--green1);
}

#mobile-submenu a {
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
}

#mobile-submenu a.active {
    border-bottom: 1px solid var(--white1);
}

.links-wrapper > a.active {
    border-bottom: 2px solid var(--green1);
}

.header-wave {
    width: 100%;
    height: 85px; 
    background-image: url('/wp-content/themes/jores-theme/assets/img/header-wave.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    margin-top: -73px;
}

/* Btn1 */
.cmplz-link.cookie-statement,
.cmplz-link.privacy-statement,
.cmplz-btn.cmplz-accept,
.cmplz-btn.cmplz-deny {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    font-family: "CronosPro";
}

/* body1 */
#cmplz-header-1-optin {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    font-family: "CronosPro";
}

/* body3 */
#cmplz-message-1-optin {
    font-size: 14px;
    line-height: 17px;
    font-weight: 600;
    font-family: "CronosPro";
}

@media screen and (max-width:768px) {

    /* Btn1 */
    .cmplz-link.cookie-statement,
    .cmplz-link.privacy-statement,
    .cmplz-btn.cmplz-accept,
    .cmplz-btn.cmplz-deny {
        font-size: 18px;
        line-height: 22px;
        font-weight: 600;
        font-family: "CronosPro";
    }

    /* body1 */
    #cmplz-header-1-optin {
        font-size: 16px;
        line-height: 19px;
        font-weight: 600;
        font-family: "CronosPro";
    }

    /* body3 */
    #cmplz-message-1-optin {
        font-size: 12px;
        line-height: 16px;
        font-weight: 600;
        font-family: "CronosPro";
    }
}

@media screen and (max-width:800px) {
    .mobile-menu-wrapper {
        display: block;
    }

    .links-wrapper,
    .registration-wrapper,
    #open-submenu,
    #close-submenu {
        display: none;
    }

    .closed-menu #open-submenu {
        display: block;
    }

    .opened-menu #close-submenu {
        display: block;
    }

    .mobile-menu-wrapper > button {
        width: 32px;
        height: 32px;
        background: none;
        cursor: pointer;
        border: none;
        padding: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #mobile-submenu.opened-submenu {
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    #mobile-submenu.closed-submenu {
        display: none;
    }

    #mobile-submenu > .submenu-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        align-items: center;
    }

    #mobile-submenu > .submenu-wrapper > div {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 100%;
        width: 100%;
        align-items: center;
        background: var(--gradient1);
        padding-top: 60px;
    }

    #mobile-submenu > .prize-end-wrapper {
        padding-top: 20px;
        padding-bottom: 24px;
        width: 100%;
        text-align: center;
    }

    .top-header-wave {
        width: 100%;
        height: 22px; 
        background-image: url('/wp-content/themes/jores-theme/assets/img/top-wave.png');
        background-repeat: repeat-x;
        margin-top: -30px;
    }
}