/* Product photos: use the available frame without crop or artificial inset. */
.lom-product-media,
.product-card-image,
.lom-showcat-media.is-product,
.lux-search-featured-media,
.lux-search-card-media,
.lom-ms-product figure {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.lux-search-featured-media,
.lux-search-card-media {
  padding: 0 !important;
}

.lom-product-media > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

.product-card-image {
  padding: 0 !important;
}

.lom-showcat-media.is-product {
  background: #fff !important;
}

.lom-showcat-media.is-product::before {
  content: none !important;
  display: none !important;
}

.lom-product-media > a > img,
.product-card-image > img,
.lom-showcat-media.is-product > img,
.lux-search-featured-media > img,
.lux-search-card-media > img,
.lom-ms-product figure > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}

.product-card-v966:hover .product-card-image > img,
.lom-product-card:hover .lom-product-media > a > img,
.lom-showcat-card:hover .lom-showcat-media.is-product > img {
  transform: none !important;
}

/* The homepage product slider has text overlays; keep the product image intact. */
.lom-hero-product .lom-hero-slide > img,
.lom-hero-product > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Search suggestions and recent product rails. */
.lux-search-mini-card > img,
.lux-search-quick-link img,
.lux-search-viewed-card img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Small product thumbnails keep their layout size and fill their own box. */
.hb-img,
.hb-row > a > .hb-img,
.hb-rec img,
.hb-gift > img,
.co-product > img,
.tr-product > img,
.tr-order-card .thumb img,
.od-product > a > img,
.public-order-product img,
.order-product-strip .thumb img,
.customer-order-detail-v131 .order-detail-product-main > img,
.rv41-product > img,
.b2e .quick-product > img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

.order-product-strip .thumb {
  padding: 0 !important;
  overflow: hidden !important;
}

.order-product-strip .thumb > img {
  width: 100% !important;
  height: 100% !important;
}

body.customer-body.customer-site-unified .v129-fav-img {
  padding: 0 !important;
}

.lux-search-shell-pro .lux-search-featured-media > img,
.lux-search-shell-compact .lux-search-featured-media > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
}

/* Product page gallery. More specific selectors also beat its inline style layers. */
html body .product-detail-v966 .pdv17-gallery-col .pdv17-main-image.product-main-image {
  padding: 4px !important;
  box-sizing: border-box !important;
}

html body .product-detail-v966 .pdv17-gallery-col .pdv17-main-image.product-main-image #productMainImage {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

html body .product-detail-v966 .pdv17-gallery-col .pdv17-thumbs button {
  padding: 2px !important;
}

html body .product-detail-v966 .pdv17-gallery-col .pdv17-thumbs button > img,
html body .product-detail-v966 .pdv17-gallery-col .variant-thumb > span > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.product-image-lightbox .product-lightbox-stage > img {
  max-width: min(92vw, 1600px) !important;
  max-height: 88vh !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Related-product rules in the detail template have high-specificity overrides. */
html body .product-detail-v966 #benzer-urunler.lux-related-v2105 a.lux-related-image.product-card-image {
  padding: 0 !important;
}

html body .product-detail-v966 #benzer-urunler.lux-related-v2105 a.lux-related-image.product-card-image > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 760px) {
  html body .product-detail-v966 .pdv17-gallery-col .pdv17-main-image.product-main-image {
    padding: 2px !important;
  }
}
