.side-cart{
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 10px;
    right: 0;
    width: 500px;
    height: 100vh;
    max-height:100vh;
    background-color: #2c1c31;
    box-shadow: -5px 0px 50px 0px #00000015;
    padding: 50px 40px;
    z-index: 999999999;
    top:0;
}
.close-side-carte{
    position: absolute;
    right: 50px;
    top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}
.close-side-carte span{
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 3px;
}
.image-side-cart{
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    gap: 20px;
}
.image-side-cart img{
    height: 100px;
}
.image-side-cart span{
    font-size: 21px;
    font-weight: bold;
    color: #fff;
}
.list-items-side-cart,.promo-side-cart{
    width: 100%;
}
.list-items-side-cart{
        display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-x: scroll;
    min-height:300px;
    max-height: 300px;
    padding-top: 20px;
}
span.supprimer-one-item-side-cart {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.list-items-side-cart::-webkit-scrollbar{
    width:10px;
}
.list-items-side-cart::-webkit-scrollbar-thumb {
  background: #888; /* Color of the scrollbar */
  border-radius: 5px; /* Rounded corners */
}
.one-item-side-cart{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    height: 70px;
    width: 100%;
    position: relative;
}
.image-one-item-side-cart {
    height: 100%;
}
.image-one-item-side-cart img{
    height:100%;
    width:auto;
}
.info-one-item-side-cart{
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: #fff;
    font-size: 16px;
}
.qty-one-item-side-cart{
    display: flex;
    align-items: center;
    gap: 5px;
}
.quantite-one-item-side-cart{
    outline: none !important;
    border-radius: 5px !important;
    border: none !important;
    padding: 1px 1px 1px 10px !important;
    color: #2c1c31 !important;
    width: 30% !important;
}
.remove-one-item-side-cart{
    color: #fff;
    cursor: pointer;
}
.promo-side-cart{
    display: flex;
    align-items: center;
    gap: 10px;
    /*display:none;*/
}
.promo-side-cart input{
    padding: 5px 10px;
    border: 0;
    border-radius: 5px;
}
.promo-side-cart input[type="text"]{
    width: 60%;
}
.promo-side-cart input[type="button"]{
    background-color: #7f54b3;
    color: #fff;
    width: 40%;
    cursor: pointer;
}
.promo-side-cart input[type="button"]:hover{
    background-color: #7a3fc4;
}
.payment-side-cart{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    width: 100%;
    color: #fff;
}
.sous-total-sidecart ,.code-promo-side-cart,.total-side-cart{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a121d;
    padding: 5px 10px 5px 10px;
    border-radius: 3px;
}
.code-promo-side-cart i{
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.code-promo-side-cart i:hover{
    color: #7a3fc4;
}
.list-btn-sidecart{
    display: flex;
    gap: 10px;
    width: 100%;
}
.list-btn-sidecart a,.btn-upadte-items-sidecart{
    padding: 5px;
    background-color: #7f54b3;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s ease-in-out;
}
.btn-upadte-items-sidecart{
    /*width: 50%;*/
    /*margin-top: -20px;*/
    cursor: pointer;
}
.list-btn-sidecart a:hover,.btn-upadte-items-sidecart:hover{
    background-color: #9f63e7;
}
.overlay-sidecart{
    position: absolute;
    background-color: #00000065;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}



@media (max-width:600px) {
    .side-cart{
            width: 100%;
            height:100%;
            max-height:fit-content;
            padding: 50px 10px;
    }
    .close-side-carte{
        right: 15px;
        top: 15px;
    }
}

@media (max-width:400px) {
.one-item-side-cart{
    height: 130px;
}
.title-one-item-side-cart{
    font-size:14px;
}
}









