.alt-products {
  margin: 40px 0 0;
}

.alt-products .swiper-slide {
  border-radius: 12px;
  padding: 10px 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: transparent;
}

.alt-products .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.alt-products .product-image {
  background-color: #f8f8fc;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.alt-products .product-image img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.alt-products .product-info-block {
  padding: 1rem 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.alt-products .product-title {
  color: color-mix(in oklab, var(--white_text_black) var(--text-opacity), transparent);
  margin: 8px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  --line-height: calc(1em + 6px);
  line-height: var(--line-height);
  height: calc(var(--lines) * var(--line-height));
  -webkit-line-clamp: var(--lines);
  overflow: hidden;
}

.alt-products .product-title a {
  text-decoration: none;
  color: inherit;
}

.alt-products .product-title a:hover {
  color: color-mix(in oklab, var(--white_text_black) var(--text-opacity), transparent);
}

.alt-products .product-price {
  font-size: 1rem;
  line-height: calc(1em + 8px);
  margin-top: auto;
  font-weight: 500;
  --text-opacity: 100%;
  color: color-mix(in oklab, var(--white_text_black) var(--text-opacity), transparent);
}

.alt-products .product-title {
  --lines: 3;
}