/* RoyFicheProduit mobile v1.0.46 — seulement 0..767 px.
   1. Badge photo: absolu, sans changement de hauteur.
   2. Bandeau commercial: inséré avant le titre des remises.
   3. Pourcentage cumulé: à côté du prix, ancien badge masqué sur les produits éligibles.
   Aucun sélecteur PC, aucun !important hors masquage du doublon natif. */
@media (max-width:767px) {
  body#product #main .images-container:has(> .rfp-mobile-bonus-photo) {position:relative;}
  body#product #main .rfp-mobile-bonus-photo {
    position:absolute;top:8px;left:8px;width:clamp(92px,32%,175px);aspect-ratio:1.55;
    background:url('../img/roy-surremise-badge.png') center/contain no-repeat;
    z-index:7;pointer-events:none;
  }
  body#product #main .rfp-mobile-bonus-message {
    box-sizing:border-box;width:100%;margin:8px 0;padding:9px 11px;
    background:#fff2db;border-left:3px solid #f39217;border-radius:4px;
    font-size:12px;font-weight:650;line-height:1.45;color:#8d5000;
  }
  body#product #main .rfp-mobile-bonus-message.rfp-mobile-unlocked {
    background:#e1f4e7;border-left-color:#20894a;color:#086a34;
  }
  body#product #main .product-prices.rfp-mobile-has-cumulative .discount-percentage,
  body#product #main .product-prices.rfp-mobile-has-cumulative .discount-amount,
  body#product #main .product-prices.rfp-mobile-has-cumulative .rfp-price-saving-badge {display:none!important;}
  /* Prix de référence avant le premier palier — mobile seulement. */
  body#product #main .product-prices .rfp-mobile-regular {
    display:block;width:max-content;margin:0 0 4px 0;
    font-size:14px;font-weight:400;line-height:1.3;
    color:#888;text-decoration:line-through;
  }
  body#product #main .rfp-mobile-cumulative {
    display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;
    margin:4px 6px;padding:5px 8px;background:#f39472;color:#fff;
    font-size:clamp(11px,3.2vw,15px);font-weight:700;line-height:1.25;
  }
}
