#header {
    position: fixed;
    z-index: 10;

    .navbar {
        position: fixed;
        height: $size-sm;
        width: calc(100% - $size-md); // Devido aos paddings
        left: 0;
        top: 0;
        color: $black;
        padding: $size-sm $size-sm 0 $size-sm;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        z-index: 0;
        
        // Animation
        opacity: 0;
        visibility: hidden;
        @include translate(0, -100%);

        @include media-breakpoint-down(md) {
            width: calc(100% - 40px); // Devido aos paddings
            padding: 0 20px;
        }

        &-logo {
            margin-right: $size-md + $size-sm;

            @include media-breakpoint-down(xxl) {
                margin-right: $size-sm;
            }

            @include media-breakpoint-down(md) {
                img {
                    height: 20px;
                }
            }
        }

        &-logo,
        &-extra {
            height: 26px;            
        }

        &-search {
            cursor: pointer;
            @include media-breakpoint-up(xl) {
                margin-right: 25%;
            }

            @include media-breakpoint-up(xxl) {
                margin-right: 55%;
            }

            i {
                font-size: 14pt;
            }
            
            p {
                @extend .text-semibold, .text-uppercase, .m-0, .ms-2;
            }
        }

        &-links {
            
            a {
                cursor: pointer;
                font-size: 12pt;
                text-transform: uppercase;
                margin-right: $size-sm;

                &:last-child {
                    margin-right: 0;
                }
            }
        }  
        
        &-extra {
            a {
                display: flex;
                align-items: center;
                font-size: 7.5pt;
                font-weight: 500;
                text-transform: uppercase;
                @include transition(all, .5s, ease);

                &:hover {
                    color: $black-alpha;
                }

                i {
                    margin-left: 15px;  
                    line-height: unset;           
                    font-size: 14pt;

                    @include media-breakpoint-up(lg) {
                        margin-left: 25px;
                    }
                }

                .basket-qty {
                    position: relative;
                    margin-left: 25px;
                    margin-right: 10px;

                    &:before {
                        content: "";
                        position: absolute;
                        top: -6px;
                        left: -8px;
                        width: 20px;
                        height: 20px;
                        border: 1px solid $black;
                        background: transparent;
                        @include border-radius(50%);
                    }
                }
            }            
        }

        // Submenu
        &-submenu {
            background-color: $white;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;   
            padding-top: $size-lg; 
            z-index: -1;  
            opacity: 0;
            visibility: hidden;
            @include translate(0, -100%);
            @include transition(all, .5s, ease);

            &.is-open {              
                opacity: 1;
                visibility: visible;     
                @include translate(0, 0%);
            }

            .container-custom {
                border-top: 3px solid $black;
                border-bottom: 1px solid $black;
                padding-top: $size-md;
                padding-bottom: $size-lg;
            }

            &-list {
                display: grid;
                justify-content: space-between;
                grid-template-columns: repeat(auto-fill, 12%);

                &-item {

                    p, a {
                        font-size: 9.75pt;
                    }

                    p {                        
                        margin-bottom: $size-sm;
                        font-weight: 700;
                        letter-spacing: 1px;
                        text-transform: uppercase;
                    }

                    a {
                        display: block;
                        font-weight: 300;
                        text-transform: capitalize;
                        margin-top: 15px;
                        @include transition(all, .2s, ease);
        
                        &:hover,
                        &.active {
                            font-weight: 700;        
                        }
                    }
                }
            }
            
        }
    }

    // Toggle
    .toggle-sidebar {
        position: relative;
        margin-left: 25px;
        padding: 10px 0;
        cursor: pointer;
        text-align: right;
        text-align: -webkit-right;
        z-index: 10;
        @include transition(all, 0.3s, ease);
    
        &:hover {
            .line {
                &.line-top {
                    margin-bottom: -3px;
                    @include transform(rotate(0));
                }
    
                &.line-bottom {
                    @include transform(rotate(-90deg));
                }
            }
        }
    
        &.active {
            .line {
                &.line-top {
                    margin-bottom: -3px;
                    @include transform(rotate(45deg));
                }
    
                &.line-bottom {
                    @include transform(rotate(-45deg));
                }
            }
        }
        
        .line {            
            background-image: url("/img/svg/Line.svg");
            background-repeat: no-repeat;
            width: 30px;
            height: 3px;
            @include transition(all, .3s, ease);
    
            &.line-top {
                margin-bottom: 6px;
            }
        }
    }

    // Mobile
    .mobile-links {
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        background-color: $white;

        a {
            font-family: $NarzissPro;
            display: block;
            font-size: 22pt;
            padding: 1rem 0;
            color: $black;
            text-transform: uppercase;

            &.active {
                text-decoration: underline;
            }
        }
    }
}
