header.wp-block-template-part {
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    z-index: 990;
    transition: all .2s linear;

}

.header__content {
    padding: 16px 32px;
    width: 100vw;
    transition: all .2s linear;
    z-index: 2;

    .header__content-logo { 
        width: 100px;
        transition: all .3s ease-in-out;
        margin-right: 24px;
    }

    nav ul {
        margin-right: 16px;
        gap: 32px !important;
    }
    
    &.scrolled {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        /* background-color: var(--wp--preset--color--light-bg); */
    }

    .header__instagram {
        &:hover {
            img {
                transform: none;
            }
        }
    }

    .wp-block-search__button svg {
        width: 32px;
        height: 32px;
    }

    .wp-block-woocommerce-customer-account,
    .wc-block-mini-cart__button {
        transition: all .4s ease-in-out;
        transform-origin: center;

        &:hover {
            transform: scale(1.1);
        }
    }

    .wp-block-woocommerce-customer-account {
        a {
            width: 60px;
            height: 60px;
            background-image: url("../../images/account.svg");
            background-repeat: no-repeat;
            background-size: 56px;
            background-position: center;

            svg {
                display: none;
            }
        }
    }

    .wc-block-mini-cart__button {
        background-image: url("../../images/cart.svg");
        width: 60px;
        height: 60px;
        background-repeat: no-repeat;
        background-size: 56px;
        background-position: center;

        svg {
            display: none;
        }
    }

    .header__content-navigation-search {
        border-radius: 32px;

        form {
            .wp-block-search__inside-wrapper {
                flex-direction: row-reverse;
                
            }

            input {
                background-color: transparent;
                border: none;
                padding-left: 0;
            }

            button {
                background-color: transparent !important;
                margin-left: 0 !important;
                padding: 12px;
            }
        } 

        .wp-block-woocommerce-product-categories {
            display: flex;
            align-items: center;
            
            select {
                background-color: transparent;
                color: white;
                border: none;
                font-size: 16px;
                cursor: pointer;
                margin-right: 16px;
                font-family: Poppins, sans-serif !important;

                option {
                    color: var(--wp--preset--color--dark-text);
                }
            }

            button {
                background-color: transparent;
                border: transparent;
                cursor: pointer;
                background-color: white;
                border-radius: 64px;
                padding: 16px;

                /* svg {
                    path {
                        fill: white;
                    }
                } */
            }
        }
    }

    .header__content-navigation {

        gap: 20px !important;

        .header__content-navigation-woo {
            padding-left: 16px;
            padding-right: 0;
            gap: 8px;

            
            .header__content-navigation-woo-cart {
                border-radius: 48px;
                padding: 10px;
                transition: all .4s ease-in-out;
                transform-origin: center;
                border: 1px solid rgb(204, 204, 204);
                
                &:hover {
                    transform: scale(1.03);
                }

                a svg path {
                    fill: var(--wp--preset--color--pure-black);
                }
                
                div {
                    position: relative;

                    p {
                        position: absolute;
                        top: 4px;
                        right: -10px;
                        background-color: var(--wp--preset--color--primary);
                        min-width: 24px;
                        min-height: 24px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 40px;
                        aspect-ratio: 1/1;
                        pointer-events: none;

                        span {
                            color: white;
                            font-size: 14px;
                            font-weight: bold;
                        }
                    }
                } 
            }
        }

        .header__content-navigation-burger {
            padding: 18px 13px !important;
            display: none;
            justify-content: center;
            align-content: center;
            border-radius: 32px;
            border: 1px solid #676767;  
            cursor: pointer;
        }
    }

}

.header__btm-nav-menu {
    a:hover {
        color: var(--wp--preset--color--primary) !important;
    }
}

.header__btm-nav-menu > ul{
    ul {
        border: none !important;
        margin-left: -16px !important;
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 8px !important;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;

        a {
            font-weight: 400 !important;
        }
    }
}

.header__toShop {
  a {
    padding: 14px 48px !important;
  }
}

.sideNav {
    display: none;
}

header.scrolled {        

    .header__content {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header__content-logo { 
        width: 56px;
    }

}

.header__search__mobile {
    display: none !important;
}

.toShop-mobile {
    display: none !important;
}   

@media only screen and (max-width: 1540px) {
    .header__content {
        .header__content-logo {
            width: 100px;
        }

        .header__content-navigation {
            gap: 12px !important;
        }

        nav ul {
            gap: 16px !important;
        
            a {
                font-size: 14px;
            }
        }

        .header__toShop a {
            font-size: 14px !important;
            padding: 12px 36px !important;
        }   

        .header__content-navigation-search form input {
            font-size: 14px !important;
        }
        
        .wp-block-woocommerce-customer-account a,
        .wc-block-mini-cart__button {
            width: 50px;
            height: 50px;
            background-size: 50px;
        }

    }
}

@media only screen and (max-width: 1380px) {
    .header__content {
        .header__content-logo {
            width: 70px;
            margin-right: 16px;
        }

        nav ul li,
        .wp-block-button a {
            font-size: 14px !important;
        }

        & .header__content-navigation-search {
            & form {
                input {
                    width: 150px;   
                }
            }
        }
    }
}

@media only screen and (max-width: 1300px) {
    .header__content {
        padding-left: 24px !important;
        padding-right: 24px !important; 

        /* .wp-block-button__link {
            padding: 12px 20px !important;
        }

        .wp-block-search__button svg { 
            width: 25px;
            height: 25px;
        }

        .wp-block-woocommerce-customer-account a {
            width: 32px;
            height: 32px;
            background-size: 26px;
            padding-top: 4px;
            padding-bottom: 4px;
        }

        .wc-block-mini-cart__button {
            height: 48px;
            background-size: 32px;
        } */
     
        .header__content-navigation-search form input,
        nav ul {
            a {
                font-size: 13px !important;
            }
        }

        & .header__content-navigation-search {
            & form {
                input {
                    width: 140px;   
                }
            }
        }
    }
}



@media only screen and (max-width: 1100px) {
    
    .header__content {
        nav {
            display: none !important;
        }

        .header__instagram {
            display: none;
        }

        .header__content-navigation-burger {
            display: flex !important;
            border: none !important;

            svg {
                path {
                    transition: all .3s ease-in-out;
                    transform-origin: center;
                }
            }

            &.open {
                svg {
                    path:nth-child(1) {
                        transform: rotate(45deg) translate(0,-8px);
                    }
                    path:nth-child(2) {
                        display: none;
                    }

                    path:nth-child(3) {
                        transform: rotate(-45deg) translate(0,8px);
                    }
                }
            }
        }
    }

    .sideNav {
        position: absolute;
        top: 0;
        right: -50vw;
        width: 50vw;
        height: 100vh;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);

        & > div {
            width: 100% !important;
            padding: 0 !important;
            margin-right: 40px !important;
            padding-left: 32px !important;

            ul {
                li {
                    font-size: 24px !important;

                    a {
                        padding-top: 16px !important;
                        padding-bottom: 16px !important;
                    }
                }
            }

            ul,
            ul li,
            ul li a {
                width: 100% !important;
            }

            ul li a {
                width: calc(100% - 24px) !important;
            }

            .sideNav ul > ul {
            }
        }

        .wp-block-navigation .wp-block-navigation-item {
            flex-wrap: wrap !important;
        }

        .wp-block-navigation .has-child .wp-block-navigation__submenu-container{
            border: none !important;
            position: relative !important;
        }

        &.showed {
            display: flex;
            right: 0;

            align-items: center;
        }
    }

    .toShop-mobile {
        display: block !important;
    }   

}



@media only screen and (max-width: 576px) {
 
    .header__content {
        padding-left: 16px !important;
        padding-right: 16px !important;

        .header__content-navigation {
        .header__content-navigation-burger {
            padding: 14px 10px !important;

                svg {
                    width: 24px;
                    height: 15px;
                }
            }
        }

        .header__content-logo {
            width: 64px;
        }

        .wp-block-woocommerce-customer-account a {
            padding-left: 0;
            padding-right: 8px;
        }

        .header__content-navigation-search {
            position: absolute;
            width: calc(100vw - 32px);
            top: 84px;
            left: 16px;
            display: none;
            background-color: white;
            border: 1px solid #d4d4d4;

            input {
                width: 100%;
            }
        
            &.open {
                display: flex;
            }
        }

        .header__instagram,
        .header__toShop {
            display: none;

        }
    
        .header__content-navigation-woo {
            padding-left: 0 !important;
        }


        .wp-block-woocommerce-customer-account a, 
        .wc-block-mini-cart__button {
            width: 48px;
            height: 48px;
            background-size: 44px;
        }

        .header__search__mobile {
            display: flex !important;
            height: 44px;
            width: 44px;
            
            a {
                padding: 8px 4px !important;
                justify-content: center;
                align-items: center;

                &:hover {
                    img {
                        transform: translate(0);
                    }
                }

                img {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }

    .sideNav {
        width: 100vw;
        right: -100vw;

        & > div {
            margin-right: 24px !important;
            
            & ul {
                li {
                    font-size: 16px !important;
                }
            }
        }
    }

    header.scrolled {        

        .header__content-logo { 
            width: 56px;
        }

    }


}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}