.cart
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cart-products , .coupon-and-pay
{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-img
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.product , .cart-coupon , .cart-pay
{
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background-color: hsl(0 ,0% , 95%);
}



.product img
{
    border-radius: .5rem;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
}

.two-cart
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .25rem;
}

.product-title
{
    font-size: 1.25rem;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.product-total-price
{
    margin-bottom: 1rem;
}

.checkout_done
{
    background-color: var(--primary-color);
    padding: .5rem 1rem;
    width: 100%;
    border: none;
    outline: none;
    border-radius: .5rem;
    color: white;
    margin-top: 2rem;
}

.apply_coupon
{
    width: 100%;
    padding: .5rem 1rem;
    border-radius: .5rem;
    outline: none;
    border: 1px solid var(--primary-color);
    margin-top: 1rem;
}

.coupon_code
{
    padding: 1rem;
    border-radius: .5rem;
    outline: none;
    border: none;
    width: 100%;
}

.delete-product-from-cart
{
    background-color: white;
    padding: .5rem 1rem;
    outline: none;
    border: none;
    border-radius: 99999px;
    margin-top: 2rem;
    cursor: pointer;
}

.cart-empty
{
    background-color: var(--error-color);
    padding: 1rem;
    border-radius: .25rem;
}

@media (min-width: 50rem) {

    .cart
    {
        all: unset;
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 1rem;
    }

    .product
    {
        display: grid;
        grid-template-columns: 1fr 5fr;
        gap: 1rem;
    }

}