.cart-container {
    display: flex;
    gap: 2rem;
    flex-direction: row;
}

.cart-collaterals{
    width: 100% !important;
    margin-top: 30px;
}

.cart-item-actions{
    display: flex;
    gap: 8px;
    font-size: 20px;
}

/* Left Column */
.cart-left {
    flex: 1 1 60%;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.donations-container, .line-items-container{
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.line-items-container{
    margin-bottom: 2rem;
}

/* Individual Cart Item Card */
.cart-item-card {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.cart-item-thumbnail img {
    max-width: 80px;
    border-radius: 0.5rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-family: "Gotham", sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* NEW: Price on left, quantity + remove on right */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
}

.cart-item-quantity input {
    width: 60px;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    text-align: center;
}

.cart-item-quantity{
    display: none;
}

.cart-collaterals .wc-proceed-to-checkout .button, .coupon button, .morley-add-donation-btn, .morley-donation-btn{
    line-height: 20px !important;
    font-size: 1.5rem !important;
    border: 2px solid #a5133a !important;
}

#morley_donation_custom, #coupon_code{
    border: 2px solid #ddd;
}

.cart-collaterals .wc-proceed-to-checkout .button:hover, .coupon button:hover, .morley-add-donation-btn:hover, .morley-donation-btn:hover{
        background-color: white !important;
    color: black !important;
    border: 2px solid #a5133a !important;
}

.cart-item-remove a {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    gap: 5px;
}

.cart-item-remove a span{
    font-size: 2.25rem;
}

.cart-item-remove a:hover {
    color: #b91c1c;
}

.cart-items-container-title{
    font-family: "Gotham";
    margin: 1.5rem;
    border-bottom: 1px solid #ddd;
    line-height: 62px;
}

.cart-right h2{
    font-family: "Gotham";
    line-height: 62px;
}

.woocommerce-cart-form .coupon .button{
    height: 100% !important;
    background-color: #a5133a;
}

#coupon_code:focus { border:2px solid #a5133a; outline:none;}

.cart-collaterals .wc-proceed-to-checkout .button{
    background-color: #a5133a;
    color: white;
}

/* Right Column */
.cart-right {
    flex: 1 1 35%;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Basket totals header */
.cart_totals h2 {
    font-family: "Gotham", sans-serif;
    font-size: 16px;
    line-height: normal;
}

/* Coupon */
.cart-right .coupon {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cart-right .coupon input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
}

.cart-right .coupon button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Checkout Button */
.checkout-button {
    margin-top: auto;
    width: 100%;
    padding: 1.5rem 0 !important;
    border-radius: 0.75rem;
    background: #16a34a;
    color: #fff;
    border: none;
    font-size: 1.25rem !important;
    font-weight: 700;
    cursor: pointer;
}

.checkout-button:hover {
    background: #15803d;
}

/* Mobile: stack columns */
@media (max-width: 1024px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-left, .cart-right {
        flex: 1 1 100%;
        max-height: none;
    }

    .cart-right .coupon {
        flex-direction: column;
    }

    .cart-right .coupon input,
    .cart-right .coupon button {
        width: 100%;
        margin: 0.25rem 0;
    }

    .cart-item-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 10px;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: end;
        gap: 0.5rem;
    }

    #coupon_code{
        width: 100% !important;
    }
}