/* Styles supplémentaires pour les produits personnalisés */

/* Badges produit/config */
.product-badge {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.config-badge {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Statuts de stock */
.stock-ok { color: #28a745; font-weight: 600; }
.stock-low { color: #ffc107; font-weight: 600; }
.stock-out { color: #dc3545; font-weight: 600; }
.stock-unknown { color: #6c757d; font-style: italic; }

/* Section d'achat direct */
.buy-section {
    background: #f8f9fa;
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.quantity-selector button {
    background: #007bff;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-selector button:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-buy-direct {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-buy-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-buy-direct:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}