/* MC Beauty - passage des images produit en paysage 16:9 (18/11/2026, v1-0)
   Retour arriere : retirer la ligne mcb-paysage-v1-0.css de templates/_partials/head.tpl */

/* Cartes produit (listes, accueil, recherche, produits lies) */
.bn-card__media,
.bn-card__media.thumbnail-container,
.bn-card__img-link { aspect-ratio: 16 / 9 !important; height: auto !important; }
.bn-card__img,
.bn-card__img--2 { width: 100%; height: 100% !important; aspect-ratio: 16 / 9 !important; object-fit: contain !important; }

/* Fiche : autres produits de la famille */
.mfe-fam__img { aspect-ratio: 16 / 9 !important; height: auto !important; }
.mfe-fam__img img { width: 100%; height: 100% !important; object-fit: contain !important; }

/* Fiche : galerie principale (telephone et tablette) */
@media (max-width: 991.98px) {
  body#product .bn-gallery__main { aspect-ratio: 16 / 9 !important; height: auto !important; }
  body#product .bn-gallery__track,
  body#product .bn-gallery__zoom { height: 100% !important; }
}
/* Fiche : images de la galerie toujours entieres */
body#product .bn-gallery__img,
body#product .mf3-scene__img.is-carre { object-fit: contain !important; }

/* Fiche : vignettes de la galerie en 16:9 (rangee defilante conservee) */
body#product .bn-gallery__thumb,
.mf3-vignettes .bn-gallery__thumb { width: 64px !important; height: 36px !important; aspect-ratio: 16 / 9; }
body#product .bn-gallery__thumb img,
.mf3-vignettes .bn-gallery__thumb img { width: 100%; height: 100% !important; object-fit: contain !important; }

/* Barre d'achat flottante et barre d'achat */
.mf3-flot__in img,
.bn-buybar__img { width: 78px !important; height: 44px !important; aspect-ratio: 16 / 9 !important; object-fit: contain !important; }

/* Panier : ligne produit et fenetre d'ajout */
.product-line__img { width: 100%; height: auto !important; aspect-ratio: 16 / 9; object-fit: contain; }
.bn-cartmodal__product img { height: auto !important; aspect-ratio: 16 / 9; object-fit: contain; }
