/* Labyrinth 3:2 photography standard — no image enlargement on hover. */
body.single-product .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img,
body.single-product .lgpe-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img,
body.single-product .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder > img,
body.single-product .lgpe-product .woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder > img,
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product .lgpe-product .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product .woocommerce div.product :is(.related,.upsells) ul.products li.product a img,
body.single-product div.product.lgpe-product > :is(.related,.upsells) ul.products li.product a img {
  display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  aspect-ratio:3/2!important;object-fit:contain!important;object-position:center!important;
  box-sizing:border-box;transform:none!important;background:#242427;
}
/* V2.20.1 — Homepage carousel only: full-height centred photographs.
   The 3:2 contain standard above is for product photography, not cinematic heroes.
   Keep the existing V11.13 wide-screen footprint and the actual Elementor image URLs. */
body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo {
  background:#111113!important;
  --lgpe-hero-fade-direction:90deg;
}
body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo:is(.lg10-slide--eidolon,.lg10-slide--story) {
  --lgpe-hero-fade-direction:270deg;
}
body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto {
  --lgpe-hero-inset:0px;
  background:#111113!important;
  inset:0!important;
}
body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto img {
  position:absolute!important;
  inset:0 auto 0 50%!important;
  width:calc(100% - var(--lgpe-hero-inset))!important;
  min-width:0!important;max-width:none!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  display:block!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;object-position:center center!important;
  transform:translateX(-50%)!important;
  opacity:1!important;filter:none!important;
  /* Short feather on the actual photo box, including its edges on wide monitors. */
  --lgpe-hero-edge:clamp(12px,3vw,48px);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--lgpe-hero-edge),#000 calc(100% - var(--lgpe-hero-edge)),transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0,#000 var(--lgpe-hero-edge),#000 calc(100% - var(--lgpe-hero-edge)),transparent 100%)!important;
  -webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;
  -webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;
}
/* Dark only around the copy; transparent over the visible photo. */
body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto::after {
  background:linear-gradient(var(--lgpe-hero-fade-direction),#111113 0%,rgba(17,17,19,.98) 22%,rgba(17,17,19,.84) 40%,rgba(17,17,19,.36) 53%,transparent 66%)!important;
}
@media(min-width:1201px) {
  body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto {
    --lgpe-hero-inset:clamp(0px,calc(160vw - 1920px),33.333%);
  }
}
@media(min-width:601px) and (max-width:800px) {
  body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto::after {
    background:linear-gradient(var(--lgpe-hero-fade-direction),#111113 0%,rgba(17,17,19,.97) 28%,rgba(17,17,19,.86) 51%,rgba(17,17,19,.45) 65%,transparent 85%)!important;
  }
}
@media(max-width:600px) {
  body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto img {
    /* Full height; no contain-induced empty band. Feather the top edge only. */
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 100%)!important;
    mask-image:linear-gradient(180deg,transparent 0,#000 14px,#000 100%)!important;
  }
  body .lg10-root .lg10-hero .lg10-slide.lg10-has-photo .lg10-slide-bgphoto::after {
    background:linear-gradient(0deg,#111113 0%,rgba(17,17,19,.99) 25%,rgba(17,17,19,.92) 44%,rgba(17,17,19,.55) 62%,transparent 80%)!important;
  }
}
/* Other photo slots retain the V2.20.0 contain policy. */
body .lg10-root .lg10-feature--video.lg10-feature-has-photo .lg10-video-photo img,
body .lgpg .lgpg-feature--photo .lgpg-feature-photo {
  object-fit:contain!important;object-position:center center!important;
}
