.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-input {
    text-align: center;
    width: 60px !important;
    margin: 0 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.stock-info {
    font-size: 0.9em;
    color: #666;
}

.remove-item-btn {
    margin-left: 10px;
}

/* Product card specific styles for quantity controls */
.product-card .quantity-section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-card .quantity-controls {
    gap: 2px;
    margin-bottom: 0.5rem;
}

.product-card .quantity-input {
    width: 50px !important;
    height: 30px;
    font-size: 0.9rem;
    padding: 0.25rem;
}

.product-card .quantity-btn {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    padding: 0;
}

.product-card .add-to-basket {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
    margin-top: 0.25rem;
}

.product-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.product-card small {
    font-size: 0.75rem;
}

.product-card .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

/* Make product cards more flexible */
.product-card {
    height: auto !important;
    min-height: 400px;
    max-height: 500px;
}

.product-card .card-body {
    padding: 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quantity-controls {
        flex-direction: column;
        gap: 2px;
    }
    
    .quantity-input {
        width: 50px !important;
    }
    
    .quantity-btn {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }
    
    .product-card .quantity-controls {
        flex-direction: row;
        gap: 2px;
    }
    
    .product-card .quantity-input {
        width: 45px !important;
    }
    
    .product-card .quantity-btn {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
} 