
/* Cart product card */

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Product image */
.cart-image-wrap {
    width: 86px;
    height: 86px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff5f2;
}

.cart-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-image-fallback {
    font-size: 38px;
}

/* Product details */
.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
}

.cart-price {
    margin: 0 0 6px;
    font-size: 14px;
    color: #555555;
}

.cart-subtotal {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #198754;
}

/* Quantity buttons */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    border: 1px solid #198754;
    border-radius: 10px;
    background: #f4fff7;
}

.qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: #198754;
    color: white;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.cart-quantity span {
    min-width: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.remove-btn {
    border: none;
    background: transparent;
    color: #dc3545;
    font-size: 12px;
    cursor: pointer;
}

/* Small mobile screens */
@media (max-width: 360px) {
    .cart-item {
        gap: 8px;
        padding: 8px;
    }

    .cart-image-wrap {
        width: 66px;
        height: 66px;
    }

    .cart-item-info h3 {
        font-size: 14px;
    }

    .cart-quantity {
        gap: 5px;
    }
}



/* SudhBajar Checkout Button */
.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    margin: 16px 0;

    background: linear-gradient(135deg, #16803c, #20a653);
    color: #ffffff;
    text-decoration: none;

    font-size: 17px;
    font-weight: 700;
    text-align: center;

    border: none;
    border-radius: 14px;
    box-shadow: 0 5px 14px rgba(22, 128, 60, 0.25);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(22, 128, 60, 0.2);
}

.checkout-arrow {
    font-size: 25px;
    line-height: 1;
}
