.product-cover {
  --product-cover-size: calc(260px + 192 * var(--window-resize));

  z-index: 0;
  position: relative;
  width: 100%;
  max-width: var(--slide-cover-size, var(--product-cover-size));
  padding-bottom: 30px;
  overflow: hidden;
  border: 4px solid var(--primary-accent);
}

.product-cover__image {
  overflow: hidden;
  aspect-ratio: 9/12;
  background-color: var(--primary-accent10);
}
.product-cover__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: var(--slide-cover-size, var(--product-cover-size));
}

.product-cover__stickers {
  z-index: 1;
  position: absolute;
  left: 33px;
  top: 33px;
}

.product-cover__collection {
  z-index: 1;
  position: absolute;
  right: 33px;
  top: 33px;
  rotate: 90deg;
  transform-origin: bottom center;
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
.product-cover__collection span {
  display: block;
  font-weight: 500;
  font-size: calc(12px + 0 * var(--window-resize));
  color: var(--primary-color);
}
.product-cover__collection .link {
  margin-top: 5px;
  display: block;
}
.product-cover__collection .link__text {
  font-weight: 500;
  font-size: calc(10px + 4 * var(--window-resize));
  color: var(--primary-color);
  text-transform: uppercase;
}

.product-cover__prices {
  z-index: 1;
  position: absolute;
  right: 33px;
  bottom: 63px;
  text-align: right;
}
.product-cover__prices span {
  font-weight: 500;
  font-size: calc(12px + 0 * var(--window-resize));
  color: var(--primary-color);
}
.product-cover__price {
  margin-top: 4px;
  text-align: right;
  font-weight: 700;
  font-size: calc(12px + 6 * var(--window-resize));
}

.product-cover__href {
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: -30px;
  border: 4px solid var(--primary-accent);
  transform: translateX(-50%) translateY(-50%);
}
.product-cover__href:hover {
  border-color: var(--primary-accent);
}
.product-cover__href .icon {
  --icon-size: 16px;
}

.swiper-slide :is(.product-cover__stickers, .product-cover__collection, .product-cover__prices, .product-cover__href) {
  opacity: 1;
  transition: opacity .3s ease;
}
.swiper-slide:not(.swiper-slide-active) :is(.product-cover__stickers, .product-cover__collection, .product-cover__prices, .product-cover__href) {
  opacity: 0;
  pointer-events: none;
}