.product-card {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.product-images img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Progress bar container */
.product-grid-item__pagination {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 2px;
  display: flex;
  gap: 6px;
  z-index: 10;
  opacity: 0;
  transition: all 0.5s;
}

.product-card:hover .product-grid-item__pagination {
  opacity: 1;
}

/* Each segment background */
.progress-segment {
  flex: 1;
  background: #ddd;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* The fill bar inside each segment */
.progress-segment-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #fff;
  transition: width linear;
  border-radius: 0px;
}

.product-title {
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
}