/* Bundel-showcase (Tom, 16 okt 2026: Wave 3 Metal Engines). Scrollable rail of every piece in the box, used in the
   product window (products.js loads this file on demand) and on the static product pages. Shop house style: navy
   vitrine with a gold rim, tricolour bar, white product cards, yellow pills. */
.tss-showcase {
  --tss-sc-navy: #061638;
  --tss-sc-blue: #0057b8;
  --tss-sc-yellow: #ffcd00;
  --tss-sc-red: #ee0024;
  position: relative;
  /* The product window is a fixed-height flex column; never let it squeeze the rail. */
  flex: none;
  min-width: 0;
  margin: 20px 0;
  padding: 22px 0 18px;
  border-radius: 22px;
  border: 2px solid var(--tss-sc-yellow);
  background:
    radial-gradient(2px 2px at 12% 18%, rgba(255, 236, 150, .9), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1.5px 1.5px at 56% 30%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(2px 2px at 90% 40%, rgba(255, 236, 150, .7), transparent 60%),
    radial-gradient(120% 90% at 50% 0%, #1b5fc2 0%, #0b2a63 48%, var(--tss-sc-navy) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(6, 22, 56, .28);
  text-align: left;
}
.tss-showcase::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tss-sc-blue) 0 33.33%, var(--tss-sc-yellow) 33.33% 66.66%, var(--tss-sc-red) 66.66% 100%);
}
.tss-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 20px 12px;
}
.tss-showcase-kicker {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #acd2ff;
}
.tss-showcase h3 {
  margin: 4px 0 0;
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
}
.tss-showcase-count {
  flex: none;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--tss-sc-yellow);
  color: var(--tss-sc-navy);
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}
.tss-showcase-stage { position: relative; }
.tss-showcase-rail {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 10px 20px 18px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--tss-sc-yellow) transparent;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.tss-showcase-rail:focus-visible { outline: 3px solid var(--tss-sc-yellow); outline-offset: -3px; }
.tss-showcase-card {
  position: relative;
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 26px 10px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--tss-sc-navy);
  text-align: center;
  scroll-snap-align: start;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}
.tss-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 5px;
  border-radius: 0 0 5px 5px;
  background: var(--tss-sc-yellow);
}
.tss-showcase-card.is-bundle-only { box-shadow: 0 0 0 3px var(--tss-sc-yellow), 0 12px 26px rgba(0, 0, 0, .32); }
.tss-showcase-no {
  position: absolute;
  top: 9px;
  left: 11px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: #8e8e9e;
}
.tss-showcase-double {
  position: absolute;
  top: 7px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tss-sc-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}
.tss-showcase-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.tss-showcase-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tss-showcase-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3em;
  font-size: .86rem;
  line-height: 1.15;
  font-weight: 900;
}
.tss-showcase-card small {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5a5a6e;
}
.tss-showcase-card em {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tss-sc-navy);
  color: var(--tss-sc-yellow);
  font-size: .64rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tss-showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tss-sc-yellow);
  color: var(--tss-sc-navy);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .32);
  transform: translateY(-60%);
  cursor: pointer;
}
.tss-showcase-arrow:hover { background: #fff; }
.tss-showcase-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tss-showcase-arrow.is-prev { left: 6px; }
.tss-showcase-arrow.is-next { right: 6px; }
.tss-showcase-story {
  margin: 4px 20px 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}
.tss-showcase-story h4 {
  margin: 0 0 9px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--tss-sc-yellow);
}
.tss-showcase-story ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tss-showcase-story li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.45;
  color: #eaf2ff;
}
.tss-showcase-story li::before {
  content: '\2605';
  flex: none;
  color: var(--tss-sc-yellow);
  font-size: .95rem;
  line-height: 1.4;
}
.tss-showcase-packs {
  margin: 12px 20px 0;
  font-size: .78rem;
  font-weight: 700;
  color: #acd2ff;
}
/* Touch screens swipe; a mouse or touchpad gets the arrows. */
@media (pointer: coarse), (max-width: 640px) {
  .tss-showcase-arrow { display: none; }
}
@media (max-width: 480px) {
  .tss-showcase { margin: 16px 0; border-radius: 18px; }
  .tss-showcase-head { padding: 2px 16px 10px; }
  .tss-showcase h3 { font-size: 1.08rem; }
  .tss-showcase-rail { gap: 12px; padding: 8px 16px 16px; scroll-padding: 0 16px; }
  .tss-showcase-card { flex-basis: 136px; }
  .tss-showcase-story { margin: 2px 16px 0; }
  .tss-showcase-packs { margin: 10px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tss-showcase-rail { scroll-behavior: auto; }
}
/* On the static product page the showcase sits full width between the summary and the description. */
.seo-main .tss-showcase { margin: 28px 0 8px; }
.seo-main .tss-showcase h3 { font-size: 1.45rem; }
