.cart-hero{
    text-align: center;
    padding: 40px 20px 10px;
}

.cart-hero h2{
    font-size: 28px;
    color: rgb(193, 46, 46);
}

.cart-section{
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.cart-empty{
    text-align: center;
    font-size: 16px;
    color: rgb(100, 100, 100);
    padding: 30px 0;
}

.cart-items{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item{
    display: flex;
    flex-direction: column;
    background-color: bisque;
    border-radius: 15px;
    padding: 15px;
    gap: 10px;
}

.cart-item-name{
    font-size: 17px;
    font-weight: 600;
}

.cart-item-price{
    font-size: 14px;
    color: rgb(100, 100, 100);
}

.cart-item-controls{
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn{
    background-color: white;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
}

.qty-btn:hover{
    background-color: rgb(255, 190, 111);
}

.qty-value{
    font-size: 16px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn{
    background: none;
    border: none;
    color: rgb(193, 46, 46);
    font-size: 16px;
    cursor: pointer;
    margin-left: auto;
}

.cart-item-subtotal{
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.cart-summary{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgb(255, 190, 111);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cart-total{
    font-size: 20px;
    font-weight: 700;
}

.checkout-btn{
    background-color: rgb(193, 46, 46);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

.checkout-btn:hover{
    background-color: rgb(160, 35, 35);
    transition: 0.4s;
}

.cart-count{
    background-color: rgb(193, 46, 46);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 4px;
    display: none;
}

@media(min-width: 1024px){
    .cart-item{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cart-item-controls{
        margin: 0 20px;
    }

    .cart-item-subtotal{
        min-width: 100px;
    }
}