.cart-section{
    width: 400px;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    right: -400px;
    transition: all ease-in-out .3s;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-x: hidden;
}
.cart-section.active{
    right: 0;
    position: fixed;
}
#cart-list{
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.wish-section.active{
    right: 0;
}
.cart-section  .cart-item{
display: flex;
flex-direction: row;
margin-top: 10px;
}

.wish-section  .wish-item{
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    }

.cart-section #cart-options{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    visibility: hidden;
}

.wish-section #wish-options{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    visibility: hidden;
}

.cart-section #cart-options .btn{
    width: 45%;
    border-radius: 50px;

    color: white;
}
.cart-section  .cart-item .image_container {
    width: 100px;
    height: 100px;
    position: relative;
    }
    .cart-section  .cart-item .image_container img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 5px;
    }
    .cart-section  .cart-item .image_container a{
        visibility: hidden;
        position: absolute;
        top: 50%;left: 50%;
        transform: translate(-50%,-50%);
        color: white;
        cursor: pointer;
    }
    .cart-section  .cart-item div{
        width: 150px;
    }

    .cart-section  .cart-item .image_container:hover img{
        filter: brightness(80%);
    }
    .cart-section  .cart-item .image_container:hover a{
        visibility: visible;
        z-index: 5;
    }
    .cart-section  .cart-item div{
        margin-inline-start: 1rem;
    }
    .cart-section  .cart-item div h5{
        font-size: smaller;
        font-weight: bold;
        max-lines: 2;
        text-overflow: ellipsis;
        }
        .cart-section  .cart-item div p{
            font-weight: normal;
            }
            .cart-section  .cart-item .remove{
                font-weight: medium;
                margin-inline-start: auto;
                }
                #cart-nav-close{
                    color: grey;
                    font-size: larger;
                }


                .overlay{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;height: 100%;
                    background: #3333332c;
                    visibility: hidden;
                    z-index: 99;
                }
                .overlay.active{
                    visibility: visible;
                }
