/* Werka: keep WooCommerce product cards aligned with mixed image ratios. */
@media (min-width: 768px) {
  .products-grid .content-product {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}
.products-grid .product-image-wrapper {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.products-grid .product-image-wrapper .product-content-image,
.products-grid .product-image-wrapper .images-slider-wrapper {
  width: 100%;
  height: 100%;
}
.products-grid .product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.products-grid .product-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.products-grid .product-title {
  min-height: 3.1em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.products-grid .price {
  min-height: 1.6em;
}
@media (max-width: 767px) {
  .products-grid .product-image-wrapper {
    aspect-ratio: 1 / 1;
  }
  .products-grid .product-title {
    min-height: 2.9em;
  }
}
