/* Weby SaaS RC9 — cadrage individuel de toutes les bannières Hero.
 * La règle cible uniquement les images portant cette classe, pas les produits.
 * Priorité volontaire sur les anciens !important des styles sectoriels.
 */
body.weby-theme img.weby-hero-adjustable[data-weby-hero-slide],
body.weby-theme.weby-visual-x .shopini-hero--image-only .weby-hero-media img.weby-hero-adjustable[data-weby-hero-slide] {
  object-position:var(--weby-hero-x,50%) var(--weby-hero-y,50%)!important;
  transform:scale(var(--weby-hero-zoom,1))!important;
  transform-origin:var(--weby-hero-x,50%) var(--weby-hero-y,50%)!important;
  transition:none!important;
}
body.weby-theme img.weby-hero-adjustable.weby-hero-fit-cover[data-weby-hero-slide],
body.weby-theme.weby-visual-x .shopini-hero--image-only .weby-hero-media img.weby-hero-adjustable.weby-hero-fit-cover[data-weby-hero-slide] {object-fit:cover!important}
body.weby-theme img.weby-hero-adjustable.weby-hero-fit-contain[data-weby-hero-slide],
body.weby-theme.weby-visual-x .shopini-hero--image-only .weby-hero-media img.weby-hero-adjustable.weby-hero-fit-contain[data-weby-hero-slide] {object-fit:contain!important}
/* Sans saut de taille : l'image glisse/zoome dans un cadre, jamais dans la page. */
body.weby-theme .weby-hero-media,
body.weby-theme .weby-rotating-hero-media {overflow:hidden}
body.weby-theme .weby-rotating-hero picture {overflow:hidden}
/* Dans le cas mobile sans texte : 1 hauteur partagée entre toutes les slides. */
@media(max-width:720px) {
 body.weby-theme.weby-visual-x .shopini-hero--image-only.shopini-hero--carousel {
   height:var(--weby-mobile-hero-ratio-height,var(--sw-hero-height-mobile,440px))!important;
   min-height:0!important;overflow:hidden!important;
 }
}

/* Marketplace : le wrapper responsive éventuel remplit la zone d’image initiale. */
body.weby-theme .wm-hero-art picture.weby-rotating-hero-media{display:block;width:100%;height:100%;min-width:0}
