.cart{
    display: flex;
    justify-content: space-between;
    justify-self: center;
    width: 80%;
    margin-top: 4%;
    align-items: center;
}
.cart1{
    width: 60%;
    display: grid;
}
.cart1-res{
    display: none;
}
.cart-table{
    border: 1px solid rgb(192, 192, 192);
    border-radius: 1rem;
    align-items: center;
    padding: 10px;
}
.cart-table tr td{
    width: 5%;
    text-align: center;
}
.cart-table tr td img{
    width: 45%;
    border-radius: 1rem;
    margin-right: -3%;
}
.discound-box{
    width: 97%;
    margin-top: 3%;
    padding: 10px;
    border: 1px solid rgb(192, 192, 192);
    border-radius: 1rem;
}
.discound-box input{
    width: 80%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 8px;
}
.discound-box button{
    background: darkblue;
    width: 18%;
    padding: 8px;
    border: none;
    color: #eee;
    border-radius: 10px;
}
.cart2{
    width: 35%;
    height: 270px;
    text-align: center;
    border: 1px solid rgb(192, 192, 192);
    border-radius: 1rem;
}
.cart2 .row{
    display: flex;
    width: 90%;
    justify-self: center;
    justify-content: space-between;
    align-items: center;
}

.cart2 button{
    width: 94%;
    margin-right: 3%;
    margin-left: 3%;
    margin-bottom: 3%;
    justify-self: center;
    color: aliceblue;
    background: blueviolet;
    padding: 8px;
    border: none;
    border-radius: 8px;
    justify-content: center;
}





@media (max-width: 786px) {
    .cart{
        display: grid;
        width: 90%;
        margin-left: 7%;
        justify-content: center;
    }
    .cart1{
        width: 100%;
    }
    .discound-box input{
        width: 60%;
    }
    .discound-box button{
        width: 30%;
        margin-right: 2%;
    }
    .cart-table{
        display: none;
    }
    .cart1-res{
        display: flex;
        justify-content: space-between;
        width: 100%;
        border: 1px solid rgb(192, 192, 192);
        border-radius: 1rem;
        align-items: center;
        padding: 10px;
    }
    .body-cart p{
        color: darkblue;
    }
    .discound-box{
        width: 100%;
    }
    .cart2{width: 100%;
    margin-top: 2%;
    padding: 10px;
    }
}