.product-slider .ult-item-wrap .grve-element.grve-text p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin: 0 !important;
}

.product-slider .ult-item-wrap .grve-element.grve-text p span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  line-height: 1.3;
  width: 100%;
}

.product-slider .ult-item-wrap .grve-element.grve-text p span:last-child {
  display: block;
  margin-top: 8px !important;
}

.product-slider .ult-item-wrap .grve-hover-item {
  width: 100% !important;
  height: 280px !important;
  min-height: 280px;
  margin-bottom: 16px;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
  position: relative;
}

.product-slider .ult-item-wrap .grve-hover-item img {
  width: auto !important;
  height: auto !important;
  max-width: 80% !important;
  max-height: 80% !important;
  object-fit: contain !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-slider .ult-item-wrap .grve-hover-item > *:not(img):not(a) {
  z-index: -1 !important;
}

.product-slider .ult-item-wrap .grve-team-person {
  margin-top: 8px;
}

.product-slider .ult-item-wrap:has(a[href*="heat-pump-300l"]) .grve-hover-item img {
  max-width: 115% !important;
  max-height: 110% !important;
}
/* Force all image containers to same height */
.product-slider .ult-item-wrap .grve-hover-item {
  height: 320px !important;
  min-height: 320px !important;
}

/* Force all images to same consistent size */
.product-slider .ult-item-wrap .grve-hover-item img {
  max-width: 75% !important;
  max-height: 75% !important;
}

/* Fix pagination dot overlapping card */
.product-slider .slick-dots {
  bottom: -30px !important;
  position: absolute;
}
/* Fix slide width on mobile */
@media (max-width: 768px) {
  .product-slider .slick-track {
    display: flex !important;
  }

  .product-slider .ult-item-wrap.slick-slide {
    width: 280px !important;
    min-width: 280px !important;
    height: auto !important;
  }

  .product-slider .ult-item-wrap .grve-hover-item {
    height: 200px !important;
    min-height: 200px !important;
  }

  .product-slider .ult-item-wrap .grve-hover-item img {
    max-width: 70% !important;
    max-height: 70% !important;
  }

  .product-slider .ult-item-wrap .grve-element.grve-text p span:first-child {
    font-size: 14px !important;
    min-height: 40px !important;
  }

  .product-slider .ult-item-wrap .grve-element.grve-text p span:last-child {
    font-size: 14px !important;
  }
}
@media (max-width: 768px) {
  .product-slider .ult-item-wrap .grve-hover-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
}