/* Cart Products CSS */

.cart-item {
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cart-item .row {
    min-height: 150px;
    align-items: center;
}

.cart-item-image {
    min-height: 120px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
    height: 100%;
}

.cart-item-details {
    padding: 1rem;
    height: 100%;
}

.cart-item-details .row {
    height: 100%;
    align-items: center;
}

.cart-item-title {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--text-black);
    margin-bottom: 0.5rem;
}

.cart-item-info {
    color: var(--text-light-black);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--blue);
    font-size: 1.1rem;
}

/* Action controls container */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Quantity control */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background-color: var(--gray);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quantity-btn:hover {
    background-color: var(--light-blue);
    color: white;
}

.quantity-input {
    width: calc(100% - 74px);
    height: 32px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

/* Remove button */
.remove-btn {
    background-color: transparent;
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 4px;
    padding: 0.3rem 0.8rem;
    transition: all 0.2s ease;
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background-color: var(--red);
    color: white;
}

/* Cart total section */
.cart-total {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-total-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
}

.checkout-btn {
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    color: var(--text-black);
    background-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-black);
}

@media (max-width: 768px) {
    .cart-item-image {
        border-radius: 8px 8px 0 0;
        width: 100%;
    }
} 