.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 32px 0px;
    z-index: 3;
    transition: opacity 0.2s ease-in-out;
    visibility: visible;
    @media (max-width:576px){
        padding: 16px 0px;
    }
    &.scrolled {
        background-color: $primary !important;
        opacity: 0;
        visibility: hidden;
    }
    &-container {
        display: grid;
        grid-template-columns: 0.25fr 1fr 0.25fr;
        grid-gap: 16px;
        max-width: 1560px;
        @media (max-width:1200px){
            display: flex;
            justify-content: space-between;
        }
        .navbar-brand {
            margin-right: 16px;
            img {
                max-width: 180px;
                width: 100%;
                height: auto;
                display: block;
                min-width: 170px;
                @media (max-width:576px){
                    max-width: 150px;
                    min-width: 120px;
                }
            }
        }
        .navbar-list {
            display: flex;
            align-items: center;
            justify-content: end;
            margin-right: 8%;
            @media (max-width:1200px){
                display: none;
            }
            &-item {
                .navbar-link {
                    display: flex;
                    align-items: center;
                    padding: 12px 16px;
                    color: $white;
                    opacity: 0.65;
                    font-size: 14px;
                    &:hover {
                        opacity: 1;
                    }
                   
                    .icon {
                        margin-right: 8px;
                        img {
                            width: 20px;
                            height: 20px;
                            display: block;
                        }
                    }
                    span {
                        display: block;
                    }
                }
                &:first-child {
                    .navbar-link {
                        opacity: 1;
                    }
                }
            }
        }
        .navbar-account {
            display: flex;
            align-items: center;
            @media (max-width:1200px){
                margin-left: auto;
            }
            @media (max-width:992px){
                display: none;
            }
            &-link {
                margin-left: 12px;
            }
            .cart-link {
                background: rgba(255, 255, 255, 0.15);
                color: $white;
                padding: 12px;
                border-radius: 12px;
                width: 50px;
                height: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                &:hover {
                    background: rgba(255, 255, 255, 0.5);
                }
            }
        }
        .menu-button {
         display: flex;
         align-items: center;
         justify-content: center;
         @media (min-width:1200px){
            display: none;
         }
           svg {
                width: 35px;
                height: 35px;
                fill: $white;
                path {
                    fill: $white !important;
                    stroke: $white;
                }
                stroke:$white
            }
        }
    }
}

.mobile-navbar {
    width: 100%;
    height: 0;
    padding: 0;
    margin-top: 90px;
    display: none;
    background-color: $primary;
    padding-bottom: 30px;
    padding-top: 30px;
    @media (max-width:576px){
        margin-top: 60px;
    }
    &.active {
        height: 100%;
        display: block;
    }
    &-container {
        display: flex;
        flex-direction: column;
        .mobile-navbar-link {
            display: flex;
            align-items: center;
            color: $white;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            margin-bottom: 24px;
            z-index: 3;
            .icon {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-right: 6px;
                width: 30px;
                height: 30px;
                border-radius: 4px;
            }
           
            &:hover {
                span {
                    opacity: 0.8;
                }
                
            }
        }
       
    }
}