/* JBA v16.20.458 — carousel product image edge-to-edge fill.
 * Scope: native product carousels only. Listing grids and the single-product
 * gallery are intentionally untouched.
 *
 * Previous unified-card rules used object-fit:contain inside a wide/short
 * carousel media box. Square product photos therefore rendered narrower than
 * the card and left visible white gutters on both sides. The requested visual
 * behavior is a full-bleed card image, so the carousel media is now filled with
 * object-fit:cover while retaining the existing frame size and card geometry.
 */

html body .jba-native-carousel .jba-one-product-card .jba-tpd-luxe__thumb,
html body .jba-native-carousel .jba-one-product-card .jba-dk-card__image {
  padding: 0 !important;
  overflow: hidden !important;
}

html body .jba-native-carousel .jba-one-product-card .jba-tpd-luxe__thumb picture,
html body .jba-native-carousel .jba-one-product-card .jba-tpd-luxe__thumb .jba-optimized-picture,
html body .jba-native-carousel .jba-one-product-card .jba-dk-card__image picture,
html body .jba-native-carousel .jba-one-product-card .jba-dk-card__image .jba-optimized-picture {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body .jba-native-carousel .jba-one-product-card .jba-tpd-luxe__thumb img:not(.deluxe-javaherat):not(.haraj-javaherat),
html body .jba-native-carousel .jba-one-product-card .jba-dk-card__image img:not(.deluxe-javaherat):not(.haraj-javaherat) {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: inherit !important;
  box-sizing: border-box !important;
}
