/* Product Image Height Fix */
/* Ensures consistent card heights while showing full image without cropping */

/* Shop page and home page product cards */
.shop_item .thumb img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
}

/* Smaller cards on mobile */
@media (max-width: 767px) {
  .shop_item .thumb img {
    height: 220px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .shop_item .thumb img {
    height: 200px;
  }
}

/* Specific styling for home5_style (featured products/new arrivals) */
.shop_item.home5_style .thumb img,
.shop_item.small_style .thumb img {
  height: 250px;
}

@media (max-width: 767px) {
  .shop_item.home5_style .thumb img,
  .shop_item.small_style .thumb img {
    height: 200px;
  }
}

/* Ensure the thumb container has consistent spacing and clean background */
.shop_item .thumb {
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
