/* Compatibil cu structura Royal Child: a.product-content-image > img (+ hover) */
.product-image-wrapper .product-content-image .mmcv-media { display: block; position: relative; width: 100%; overflow: hidden; }
.product-image-wrapper .product-content-image .mmcv-media > img { display: block; width: 100%; height: auto; }
.product-image-wrapper .product-content-image .mmcv-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.product-image-wrapper .product-content-image .mmcv-media.mmcv-playing .mmcv-video { opacity: 1; }
.product-image-wrapper .product-content-image.mmcv-has-video > img.show-image { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .product-image-wrapper .product-content-image .mmcv-video { display: none !important; }
}

/* Royal creează butoanele de galerie din JS; ascundem săgețile doar pe produse cu video. */
.product-image-wrapper.mmcv-has-video > .sm-arrow,
.product-image-wrapper.mmcv-has-video .sm-arrow.arrow-left,
.product-image-wrapper.mmcv-has-video .sm-arrow.arrow-right { display: none !important; }
