/* The gallery artwork remains the unmodified catalogue image; depth is applied to its frame. */
.hero-carousel .swatches {
  height: auto;
  align-items: center;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  perspective: 1100px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #bd4b78 transparent;
}
.hero-carousel .showcase-card {
  --card-yaw: 0deg;
  --card-pitch: 0deg;
  position: relative;
  display: flex;
  flex: 0 0 clamp(142px, 12vw, 184px);
  flex-direction: column;
  gap: 7px;
  padding: 5px 5px 8px;
  color: #f8edf2;
  text-decoration: none;
  text-align: left;
  border: 1px solid #ffffff25;
  border-radius: 14px;
  background: linear-gradient(150deg, #3a1a2b9c, #160b12e8);
  box-shadow: 0 15px 28px #0007, inset 0 1px 0 #ffffff18;
  transform: perspective(1100px) rotateY(var(--card-yaw)) rotateX(var(--card-pitch)) translateY(0) scale(.965);
  transform-style: preserve-3d;
  transition: transform .46s cubic-bezier(.2,.78,.2,1), border-color .3s ease, box-shadow .38s ease;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.hero-carousel .showcase-card:nth-child(odd) { --card-yaw: -3deg; }
.hero-carousel .showcase-card:nth-child(even) { --card-yaw: 3deg; }
.hero-carousel .showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 969;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 0 0 1px #ffffff2b;
  transform: translateZ(1px);
}
.hero-carousel .showcase-card-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-carousel .showcase-card small {
  color: #c99caf;
  font-size: 10px;
  line-height: 1.1;
}
.hero-carousel .showcase-card:hover {
  z-index: 2;
  will-change: transform;
  border-color: #ff9fc5aa;
  box-shadow: 0 22px 38px #0009, 0 0 22px #ed4a8330, inset 0 1px 0 #ffffff26;
  transform: perspective(1100px) rotateY(var(--card-yaw)) rotateX(var(--card-pitch)) translateY(-9px) scale(1.015);
}
.hero-carousel .showcase-card.is-selected {
  z-index: 1;
  will-change: transform;
  --card-yaw: 0deg;
  border-color: #ff9fc5;
  box-shadow: 0 0 0 1px #ff9fc555, 0 19px 34px #0008, 0 0 25px #ed4a8342;
  transform: perspective(1100px) rotateY(var(--card-yaw)) rotateX(var(--card-pitch)) translateY(-5px) scale(1);
}
.hero-carousel .showcase-card:focus-visible {
  outline: 2px solid #ffd4e5;
  outline-offset: 4px;
}
.hero-carousel .showcase-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1030px;
  margin: 4px auto 0;
  padding: 0 60px;
}
.hero-carousel .showcase-order p {
  margin: 0;
  color: #d4b5c3;
  font-size: 12px;
}
.hero-carousel .showcase-order strong { color: #fff0f6; }
.hero-carousel .showcase-order .btn { min-height: 42px; padding: 10px 17px; font-size: 12px; }
@media (max-width: 760px) {
  .hero-carousel .showcase-card { flex-basis: 138px; }
  .hero-carousel .showcase-order { justify-content: center; flex-wrap: wrap; gap: 11px 18px; padding: 0 4px; }
  .hero-carousel .showcase-order p { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .showcase-card,
  .hero-carousel .showcase-card:hover,
  .hero-carousel .showcase-card.is-selected {
    transform: none;
    transition: none;
    will-change: auto;
  }
}
