/* 
****

Header: 
    * Header items
    * Hamburger Icon

****
*/  


/* 
---------------------------------
-----     sale Strip        -----
---------------------------------
 */  

 .header_sale_strip_banner{

    height: 100%;
 }

 .header_sale_strip_banner_content {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;

    height: 100%;
        
    font-size: .8rem;
    font-weight: bold;
    filter: invert(1);
}

.header_sale_strip_banner_icon {

    width: 1.75rem;
    height: 1.75rem;
}

@media only screen and (max-width: 1150px) {

    .header_sale_strip_banner_content{

        font-size: .7rem;
    }

    .cart_main_side_banner_icon{
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* 
---------------------------------
-----      Header Items     -----
---------------------------------
 */  


.header_navigation{
    
    display: flex;
}

.header_sale_strip{

    background: var(--black);
    height: 2.1rem;
    width: 100%;
}

.header_logo{

    display: flex;
    align-items: center;
    justify-content: center;
}
.header_actions_cart{

    cursor: pointer;
}

.header_actions_cart a{
    
    display: flex;
    align-items: center;

    cursor: pointer;
}

.header_actions_cart img{
    width: 1.6rem ;
}

.header_logo_link{

    display: flex;
}

.header_actions_orders a {

    display: flex;
    align-items: center;
    justify-content: center;

    grid-auto-flow: column;
    gap: 0.5rem;
    font-size: .9rem;

    color: #000;
    cursor: pointer;
}

.header_actions_orders img {

    width: 1.2rem;
}

.header_logo img{

    width: 11.5rem;
    margin: 0 auto;
}

.header_container_wrapper {

    z-index: 999;
    position: relative;

    box-shadow: 0px 3px 7px #0000000A;
}

.header_container {

    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;

    height: 4.8rem;
    width: 100%;
    padding: 0 1rem ;
    box-sizing: border-box;
    
    background: #fff;
 
}

.header_navigation_nav ul{

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.header_navigation_nav a{

    color: #000;
    text-decoration: none;

    font-size: .9rem;
}

.header_navigation_nav nav{

    text-align: end;
    grid-area: center;
    justify-self: right;
}

.header_actions {

    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;

    order: 2;
}

.header_actions_cart{

    position: relative;
}

.header_actions_cart_items{

    width: fit-content;
    position: absolute;
    
    display: flex;
    align-items: center;
    justify-content: center;
    top: -0.7rem;
    right: -0.5rem;
    font-size: 0.8rem;
    background: var(--second-color);
    color: #fff;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
}

.header_navigation_nav li{
        
   text-align: right;
}

.header_navigation_nav ul{
        
    padding: 0;
}
.header_navigation{

    width: 100%;
}


@media only screen and (max-width: 1150px) {

    .header_navigation label {

        display: inline-block;
    } 
    .header_navigation{

        width: 25%;
    }
    .header_logo{

        width: 50%;
        order: 1;
    }
    .header_actions{

        width: 25%;
        justify-content: end;
    }
    .header_actions_cart img{
        width: 1.2rem;
    }
    .header_actions_orders img{
        
       width: 1rem;

    }

    .header_container {

        justify-content: space-between;
        height: 3.25rem;
        padding: 0 1.25rem;
        box-sizing: border-box;
    }

    .header_navigation_nav {
        position: fixed;
        width: 100vw;
        height: auto;
        background: #fff;
        inset: 0;
        padding: 4rem 1rem;
        z-index: 10;

        transform: translateX(100%);
        transition: transform 0.2s;
    }

    .header_navigation_nav ul{
        
        display: flex;
        flex-direction: column;
        justify-content: right;
        text-align: right;
        padding-right: 2rem;
        text-align: right;
    }
    .header_navigation_nav li{
        
        width: 100%;
    }

    .header_logo img{

        width: 9.5rem;
    }

}

<!-- @media only screen and (min-width: 768px) and (max-width: 1017px) {

    
    .header_navigation_nav ul{

        gap: 0.95rem;
        width: 100%;
        padding: 0;
    }

} -->




/* 
---------------------------------
-----     Hamburger Icon    -----
---------------------------------
 */ 
 
 .header_navigation label {

    display: none;
} 
 
 .ham_menu_item {
     width: 1.5rem;
     display: block;
     height: 2px;
     background: #000;
 }


#header_menu_input_toggle{

    display: none;
}

span.ham_menu_item.ham_menu__2 {

    margin-top: 5px;
}

span.ham_menu_item.ham_menu__3 {

    margin-top: 5px;
}

#header_menu_input_toggle:checked + label .ham_menu__2 {

    rotate: 45deg;
}

#header_menu_input_toggle:checked + label .ham_menu__3 {

    rotate: -45deg;
    margin-top: -2px;
}

#header_menu_input_toggle:checked + label .ham_menu__1 {

    opacity: 0; 
}


@media only screen and (max-width: 1150px) {

    #header_menu_input_toggle:checked ~ .header_navigation_nav {

        opacity: 1;
        transform: translateX(0);
        transition: transform 0.3s; 
    }

    #header_menu_input_toggle:checked + label {
        
        position: fixed;
        left: 2rem;
        top: 2rem;
        z-index: 99;
        
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        
        width: 3rem;
        height: 3rem;

        animation: changeOpacity 0.4s ease-in-out;
    }

    .header_navigation label {

        display: block;
    }
    .header_actions_orders a{

        justify-content: end;
        font-size: 0.8rem;
    }

    @keyframes changeOpacity {
        0% {
          opacity: 0;
        }
        50% {
            opacity: 0.5;
        }
        100% {
            opacity: 1;
        }
    }

}

