/* ========================================
            Header {DESKTOP}
                [START]
========================================= */

@media (min-width: 1200px) {
    
    .header__nav.header__nav--not-active {
        display: none;
    }

    .header__nav--desktop {
        display: block;
    }

    .l-header__inner {
        width: 75%;
        flex-direction: row;
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .header__logo {
        max-width: 200px;
    }



    
    /* ========================================
                    Header->
                    Navigation
                    [START]
    ========================================= */

    .header__nav--desktop {
        display: block;
        flex-grow: 1;
        align-content: center;
        margin-right: var(--space-lg);
        padding: var(--space-md);
        background-color: transparent;
    }

    .header__nav--desktop > .menu {
        display: flex;
        justify-content: flex-end;
        gap: 44px;
        padding: 0;
    }

    .header__nav--desktop a {
        position: relative; /* Set to 'relative' for underline */
        font-size: var(--header-navigation-font-size);
        font-weight: var(--header-navigation-font-weight);
        text-decoration: none;
        color: var(--header-navigation-parent-text-color);
    }

    .header__nav--desktop a:hover {
        color: var(--header-navigation-parent-hover-text-color);
    }

    /* Set the current active navigation item text color */
    .header__nav--desktop .current-menu-item > a {
        color: var(--header-navigation-current-page-text-color) !important;
    }


    /*
     * Animated underline
     */
    .header__nav--desktop a::before {
        content: "";
        /* Position underline under <a> element */
        display: block;
        width: 100%; /* Full width underline */
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px; /* Underline thickness */
        background-color: var(--header-navigation-hover-underline-color); /* Underline color */
        transform: scaleX(0); /* Hide underline by default */
        transition: transform .3s ease;
    }
    .header__nav--desktop a:hover::before {
        transform: scaleX(1); /* Stretch width */
    }




    /* ========================================
                    Header->
                    Navigation->
                    Sub-menu
                    [START]
    ========================================= */

    .header__nav--desktop .sub-menu {
        display: none; /* Hide sub-menu by default */
        position: absolute;
        z-index: 9999;
        padding: 0;
        background-color: var(--header-navigation-submenu-bg-color);
    }

    /* Add aditional padding to first sub-menu item */
    /* .header__nav--desktop .sub-menu li:first-of-type {
        padding-top: var(--space-xl);
    } */
    
    .header__nav--desktop .sub-menu li a {
        display: block;
        padding: var(--space-md);
    }

    /* Show sub-menu on hover */
    .header__nav--desktop li.menu-item-has-children:hover > .sub-menu {
        display: block;
    }

    /* ========================================
                    Header->
                    Navigation->
                    Sub-menu
                    [END]
    ========================================= */

    /* ========================================
                    Header->
                    Navigation
                    [END]
    ========================================= */

}

/* ========================================
                Header {DESKTOP}
                [END]
========================================= */