/* ==========================================================================
   Medicom Theme — PDP Related Products (Casual reference)

   Source of truth: Casual featured-product + casual-related-products-image-polish.css
   Scope: body.medicom .featured-area.related-product-area … only

   Does NOT affect: shop PLP, homepage, other sections, shared CSS/JS, Core.
   ========================================================================== */

body.medicom .featured-area.related-product-area .global-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 17.5rem;
  aspect-ratio: 1 / 1;
  max-height: 17.5rem;
  overflow: hidden;
  background: #f3f4f6;
}

/* Neutralize theme `.global-card-thumb a` stage so Casual/Hexfashion fill model wins */
body.medicom .featured-area.related-product-area .global-card-thumb > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
}

body.medicom .featured-area.related-product-area .global-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

body.medicom .featured-area.related-product-area .slick-slider-items {
  height: 100%;
}

body.medicom .featured-area.related-product-area .slick-slider-items.wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}
