/*
 * Front "Promo" badge styling (T31). Injected on the product page
 * via the displayProductPriceBlock hook when the active supplier
 * offer carries is_promo=1.
 *
 * Each supplier gets a distinct accent so the buyer can read at a
 * glance which channel sourced the promo:
 *   - Wortmann/TERRA → orange-red (matches the marque's identity)
 *   - Ingram        → blue
 */

.kp-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.kp-promo-badge.kp-supplier-wortmann {
    background: linear-gradient(135deg, #d32f2f 0%, #f4511e 100%);
}

.kp-promo-badge.kp-supplier-ingram {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
}

.kp-promo-icon {
    font-size: 1em;
}

.kp-promo-text {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile: keep the badge compact but legible. */
@media (max-width: 480px) {
    .kp-promo-badge {
        padding: 3px 8px;
        font-size: 0.78em;
    }
}

/*
 * #164 — Le style du badge garantie (.kp-warranty-badge et tout ce qui
 * l'entoure : grille d'offres, réassurance) a été déplacé dans le thème
 * (themes/kitpro/assets/css/custom.css), pour que l'affichage de cette
 * fonctionnalité (rendue par ce module via des hooks) soit intégré au
 * même langage visuel que le reste de la fiche produit — c'est le thème
 * qui possède ce langage, pas le module. Le module continue de fournir
 * le HTML (classes .kp-warranty-*) et le JS d'interaction, pas le style.
 */
