.product-slider {
  position: fixed;
  right: calc(80 * var(--u));
  bottom: calc(32 * var(--u));
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  width: fit-content;
  /* Up to 5 cards: 5×160 + 4×16 gap + 2×16 padding (border-box). */
  max-width: calc(896 * var(--u));
  height: auto;
  margin: 0;
  padding: calc(16 * var(--u));
  overflow: hidden;
  border-radius: calc(16 * var(--u));
  background-image: linear-gradient(
    156deg,
    rgba(0, 70, 115, 0.5) 0%,
    rgba(0, 120, 195, 0.5) 103%
  );
  backdrop-filter: blur(calc(25 * var(--u)));
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(24 * var(--u)));
  transition:
    opacity 520ms ease,
    transform 620ms var(--zoom-ease),
    visibility 0s linear 620ms;
}

.experience.is-zoomed .product-slider {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: var(--ui-settle-delay), var(--ui-settle-delay), 0s;
}

.product-slider__viewport {
  width: 100%;
  height: calc(242 * var(--u));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.product-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.product-slider__viewport::-webkit-scrollbar {
  display: none;
}

.product-slider__track {
  display: flex;
  gap: calc(16 * var(--u));
  width: max-content;
  height: 100%;
}

.product-slider__dots {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  gap: calc(4 * var(--u));
}

.product-slider__dots[hidden] {
  display: none;
}

.product-slider__dot {
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.product-slider__dot.is-active {
  background: #fff;
}

.product-card {
  position: relative;
  display: flex;
  flex: 0 0 calc(160 * var(--u));
  flex-direction: column;
  width: calc(160 * var(--u));
  height: calc(242 * var(--u));
  padding: 0;
  overflow: visible;
  border: calc(2 * var(--u)) solid transparent;
  border-radius: calc(8 * var(--u));
  background: transparent;
  color: var(--hager-grey);
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}

.product-card:focus-visible {
  outline: calc(2 * var(--u)) solid var(--hager-blue);
  outline-offset: calc(2 * var(--u));
}

.product-card.is-active {
  border-color: var(--hager-blue);
}

.product-card__media {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 100%;
  height: calc(160 * var(--u));
  overflow: visible;
  border-radius: calc(8 * var(--u)) calc(8 * var(--u)) 0 0;
  background: #f1f1f1;
}

.product-card__image {
  display: block;
  width: calc(120 * var(--u));
  height: calc(120 * var(--u));
  object-fit: contain;
}

.product-card__badge {
  position: absolute;
  right: calc(3 * var(--u));
  bottom: calc(-12 * var(--u));
  z-index: 1;
  display: grid;
  place-items: center;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hager-navy) 0%, var(--hager-blue) 100%);
  color: #ffffff;
  font-size: calc(12 * var(--u));
  font-weight: 500;
  line-height: 2.2;
  /* Trim HagerScale half-leading for optical vertical centering */
  text-box: trim-both cap alphabetic;
}

.product-card.is-active .product-card__badge {
  background: var(--hager-orange);
}

.product-card__copy {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  width: 100%;
  height: calc(82 * var(--u));
  padding: calc(12 * var(--u));
  border-radius: 0 0 calc(8 * var(--u)) calc(8 * var(--u));
  background: #ffffff;
}

.product-card__name {
  display: -webkit-box;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--hager-grey);
  font-size: calc(16 * var(--u));
  font-weight: 500;
  line-height: calc(18 * var(--u));
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
