.product-shell {
  display: grid;
  gap: 24px;
}

.catalog-hero {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: center;
}

.catalog-hero h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalog-hero p {
  margin: 0;
}

.catalog-hero-actions {
  display: block;
}

.catalog-controls-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.catalog-controls-row:last-child {
  margin-bottom: 0;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-sort label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.catalog-sort select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 70%, transparent);
  background: color-mix(in srgb, var(--glass-bg) 50%, transparent);
  -webkit-backdrop-filter: blur(var(--blur-sm)) saturate(150%);
  backdrop-filter: blur(var(--blur-sm)) saturate(150%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 0 1px var(--border-inner);
}

.catalog-sort select:focus {
  outline: none;
}

.catalog-sort select:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--glass-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent), inset 0 0 0 1px var(--border-inner);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.catalog-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  min-height: 380px;
  cursor: pointer;
  perspective: 800px;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px 380px;
}

/* 3D hover tilt for catalog cards */
.catalog-card:hover {
  transform: perspective(800px) rotateX(1deg) rotateY(-1deg);
}

.catalog-card:active {
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(0.98);
  transition-duration: 0.1s;
}

.catalog-media {
  position: relative;
  padding: 0;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  background: transparent;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
  isolation: isolate;
}

.catalog-media::after {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 22% 18%, rgba(123, 220, 255, 0.28), transparent 58%),
    radial-gradient(circle at 80% 85%, rgba(217, 183, 122, 0.2), transparent 62%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.catalog-card:hover .catalog-media::after {
  opacity: 0.6;
}

.catalog-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--glass-border) 70%, transparent);
  background:
    var(--liquid-highlight),
    linear-gradient(150deg, color-mix(in srgb, var(--glass-bg-strong) 85%, transparent), color-mix(in srgb, var(--glass-bg) 60%, transparent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px var(--border-inner),
    0 18px 32px rgba(2, 6, 12, 0.45),
    0 0 24px color-mix(in srgb, var(--product-accent, var(--accent)) 28%, transparent);
  isolation: isolate;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.catalog-media-frame::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    120deg,
    transparent 42%,
    rgba(255, 255, 255, 0.55) 49%,
    color-mix(in srgb, var(--product-accent, var(--accent)) 35%, transparent) 52%,
    transparent 60%
  );
  opacity: 0;
  transform: translateX(-35%) rotate(1deg);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Flash effect on hover */
.catalog-media-frame::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--product-accent, var(--accent)) 45%, transparent), transparent 65%);
  opacity: 0.32;
  filter: blur(24px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.catalog-card:hover .catalog-media-frame::before {
  opacity: 1;
  transform: translateX(35%) rotate(-1deg);
}

.catalog-card:hover .catalog-media-frame::after {
  opacity: 0.7;
  filter: blur(32px);
}

/* Shimmer sweep on hover */
.catalog-media-frame .catalog-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.15) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

.catalog-card:hover .catalog-shimmer {
  transform: translateX(100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glow pulse on hover */
.catalog-card:hover .catalog-media-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 0 1px var(--border-inner),
    0 24px 48px rgba(2, 6, 12, 0.55),
    0 0 40px color-mix(in srgb, var(--product-accent, var(--accent)) 40%, transparent),
    0 0 80px color-mix(in srgb, var(--product-accent, var(--accent)) 20%, transparent);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 50%, transparent);
}

.catalog-card:hover .catalog-media-image {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.08) brightness(1.05);
}

.catalog-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  filter: saturate(1.05) contrast(1.05);
  position: relative;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.catalog-media-frame.is-fallback {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(150deg, rgba(15, 24, 42, 0.88), rgba(10, 16, 28, 0.72));
}

.catalog-media-frame.is-fallback .catalog-media-image {
  object-fit: contain;
  transform: scale(0.96);
  filter: saturate(1) contrast(1);
}

.catalog-media-frame.is-missing {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(150deg, rgba(12, 20, 36, 0.92), rgba(8, 12, 22, 0.78));
}

.catalog-media-frame.is-missing::after {
  opacity: 0.2;
}

.catalog-media-mark {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--product-accent, var(--accent)) 70%, rgba(240, 248, 255, 0.8));
  border: 1px solid color-mix(in srgb, var(--product-accent, var(--accent)) 45%, transparent);
  background: color-mix(in srgb, var(--glass-bg) 60%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px var(--border-inner), 0 12px 20px rgba(2, 6, 12, 0.35);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(160%);
  backdrop-filter: blur(var(--blur-md)) saturate(160%);
  opacity: 0.92;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 3;
}

.catalog-status {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.catalog-card-badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  pointer-events: none;
}

.catalog-badge--undetected {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--status-success);
  border: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.catalog-badge--undetected::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 6px var(--status-success);
}

.catalog-badge {
  display: none;
}

.catalog-content {
  display: grid;
  gap: 12px;
  align-content: start;
}

.catalog-head,
.catalog-back-head {
  display: grid;
  gap: 6px;
}

.catalog-back-head .metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.catalog-content h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.catalog-content p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalog-values {
  display: grid;
  gap: 8px;
}

.catalog-security-info {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--glass-border) 40%, transparent);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.catalog-security-info .catalog-value {
  font-weight: 600;
}

.catalog-security-info .catalog-value[data-detection] {
  color: var(--status-success);
}

.catalog-security-info .catalog-value[data-detection="monitoring"] {
  color: var(--status-warning);
}

.catalog-security-info .catalog-value[data-detection="high"] {
  color: var(--status-danger);
}

.catalog-value {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}

.catalog-foot {
  display: grid;
  gap: 10px;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-actions .btn {
  flex: 1 1 120px;
  justify-content: center;
}

.catalog-card:hover .catalog-media-image {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.06);
}

.catalog-card:hover .catalog-media-frame {
  transform: translateY(-10px);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 50%, var(--glass-border));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px var(--border-inner),
    0 30px 50px rgba(2, 6, 12, 0.6),
    0 12px 32px rgba(8, 18, 34, 0.5),
    0 0 40px color-mix(in srgb, var(--product-accent, var(--accent)) 35%, transparent);
}

.catalog-card:hover .catalog-media-frame::before {
  animation: catalogSheen 1.6s ease-out;
  opacity: 0.7;
}

.catalog-card:hover .catalog-media-frame::after {
  opacity: 0.5;
}

@keyframes catalogSheen {
  0%,
  68% {
    opacity: 0;
    transform: translateX(-45%) rotate(1deg);
  }
  74% {
    opacity: 0.35;
  }
  82% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateX(45%) rotate(1deg);
  }
}

.catalog-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.catalog-price--prominent {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: flex-start;
}

.catalog-price__from {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.catalog-price__amount {
  font-family: "Sora", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.catalog-price__term {
  font-size: 11px;
  color: var(--text-muted);
}


.store-preview-3d {
  --store-halo-shift-x: 0px;
  --store-halo-shift-y: 0px;
  --store-halo-scale: 1;
  display: grid;
  place-items: center;
  position: relative;
  padding: 48px 24px 30px;
  min-height: 500px;
  overflow: visible;
  isolation: isolate;
}

.store-preview-3d::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 66%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(96, 182, 255, 0.26), transparent 68%),
    radial-gradient(circle at 40% 60%, rgba(123, 220, 255, 0.14), transparent 54%);
  filter: blur(26px);
  transform: translate(var(--store-halo-shift-x), calc(16px + var(--store-halo-shift-y))) scale(var(--store-halo-scale));
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.store-feature-lineup {
  --lineup-shift-x: 0px;
  --lineup-shift-y: 0px;
  position: relative;
  width: min(100%, 980px);
  min-height: 394px;
  transform: translate(var(--lineup-shift-x), var(--lineup-shift-y));
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-feature-lineup.is-interacting {
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.store-feature-card {
  --feature-x: 0px;
  --feature-y: 0px;
  --feature-rotate-z: 0deg;
  --feature-scale: 1;
  --feature-drift-x: 0px;
  --feature-drift-y: 0px;
  --feature-hover-y: 0px;
  --feature-hover-scale: 0;
  --feature-hover-rotate: 0deg;
  --feature-light-x: 50%;
  --feature-light-y: 14%;
  --feature-glow: rgba(123, 220, 255, 0.3);
  --feature-shine-delay: 0s;
  --feature-shadow-depth: 0px;
  /* Entrance reveal: cards start collapsed toward centre + scaled down. */
  --reveal-collapse: -1;          /* 1 = collapsed (pre-reveal), 0 = settled */
  --reveal-delay: 0ms;
  --reveal-x: 0px;
  --reveal-scale: 1;
  --reveal-opacity: 1;
  --idle-y: 0px;
  --feature-tilt-x: 0deg;
  --feature-tilt-y: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 186px;
  aspect-ratio: 2 / 3;
  color: var(--text);
  text-decoration: none;
  transform-style: preserve-3d;
  transform:
    perspective(1100px)
    translate(-50%, -50%)
    translate(
      calc((var(--feature-x) + var(--feature-drift-x)) * (1 - var(--reveal-collapse, 1) * 0.78) + var(--reveal-x)),
      calc(var(--feature-y) + var(--feature-drift-y) + var(--feature-hover-y))
    )
    rotate(calc((var(--feature-rotate-z) + var(--feature-hover-rotate)) * (1 - var(--reveal-collapse, 1))))
    rotateX(var(--feature-tilt-x))
    rotateY(var(--feature-tilt-y))
    scale(calc((var(--feature-scale) + var(--feature-hover-scale)) * var(--reveal-scale)));
  opacity: var(--reveal-opacity);
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease,
    opacity 0.5s ease;
  z-index: var(--feature-stack, 1);
  cursor: pointer;
}

/* Pre-reveal: collapsed toward centre, scaled down, faded. */
.store-feature-lineup:not(.is-revealed) .store-feature-card {
  --reveal-collapse: 1;
  --reveal-scale: 0.82;
  --reveal-opacity: 0;
  transition: none;
}
/* Revealed: each card eases out to its fan position on a staggered delay. */
.store-feature-lineup.is-revealed .store-feature-card {
  --reveal-collapse: 0;
  --reveal-scale: 1;
  --reveal-opacity: 1;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.3, 1) var(--reveal-delay),
    opacity 0.7s ease var(--reveal-delay);
}
/* (Idle float removed — it competed with the pointer parallax and caused
   jank on mouse-move. The entrance reveal + hover provide the motion.) */

/* While interacting, keep transforms responsive but silky (not the old 120ms
   snap), and let filter/opacity glide for the depth recede. */
.store-feature-lineup.is-interacting .store-feature-card {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease,
    opacity 0.4s ease;
}
/* Non-focused cards recede: shrink (via JS scale) + dim (opacity) + soft blur
   so the hovered card clearly pops with real depth. */
.store-feature-lineup.is-interacting .store-feature-card:not(.is-active) {
  filter: brightness(0.7) saturate(0.85) blur(1.5px);
}
.store-feature-lineup.is-interacting .store-feature-card.is-active {
  filter: brightness(1.04) saturate(1.08);
}

/* Focused card sits clearly above; its immediate neighbours layer just under
   it so nothing pops over a larger card awkwardly. */
.store-feature-card.is-active {
  z-index: 20;
}
.store-feature-lineup.is-interacting .store-feature-card { z-index: 5; }
.store-feature-lineup.is-interacting .store-feature-card.is-active { z-index: 20; }
.store-feature-card.is-active .store-feature-card__surface {
  border-color: color-mix(in srgb, var(--feature-glow) 65%, transparent);
  box-shadow:
    0 40px 70px rgba(2,8,18,0.6),
    0 0 0 1px color-mix(in srgb, var(--feature-glow) 40%, transparent),
    0 0 60px color-mix(in srgb, var(--feature-glow) 50%, transparent);
}

.store-feature-card::before {
  content: "";
  position: absolute;
  inset: -24%;
  background:
    radial-gradient(circle at 50% 85%, var(--feature-glow), transparent 58%),
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--feature-glow) 60%, transparent), transparent 52%);
  filter: blur(32px);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-feature-card.is-active::before {
  opacity: 1;
  transform: translateY(18px);
}

.store-feature-card:hover,
.store-feature-card:focus-visible {
  --feature-hover-y: -14px;
  --feature-hover-scale: 0.03;
  --feature-hover-rotate: 0deg;
  filter: brightness(1.05) saturate(1.08);
  /* Lift the hovered card above all siblings so its name is never
     tucked behind a neighbouring card (beats .is-active's z-index: 9). */
  z-index: 12;
}

.store-feature-card:hover .store-feature-card__surface,
.store-feature-card:focus-visible .store-feature-card__surface {
  border-color: color-mix(in srgb, var(--feature-glow) 45%, var(--glass-border));
  box-shadow:
    0 36px 60px rgba(4, 10, 24, 0.62),
    0 16px 32px rgba(2, 6, 12, 0.42),
    0 0 48px color-mix(in srgb, var(--feature-glow) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.store-feature-card__surface {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--glass-border) 60%, transparent);
  background-color: rgba(8, 14, 24, 0.92);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03) 22%, rgba(255, 255, 255, 0) 42%),
    var(--feature-art, none),
    linear-gradient(160deg, rgba(11, 18, 32, 0.7), rgba(8, 14, 24, 0.82));
  background-position: center top, var(--feature-art-position, 50% 18%), center center;
  background-size: auto, var(--feature-art-size, 122%), auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
  box-shadow:
    0 28px 48px rgba(4, 10, 24, 0.56),
    0 12px 24px rgba(2, 6, 12, 0.38),
    0 0 32px color-mix(in srgb, var(--feature-glow) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.5s ease, border-color 0.4s ease;
}

.store-feature-card__surface::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    124deg,
    transparent 24%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.28) 52%,
    rgba(255, 255, 255, 0.08) 62%,
    transparent 76%
  );
  transform: translateX(-75%) rotate(14deg);
  mix-blend-mode: screen;
  opacity: 0;
  animation: storeFeatureShine 7s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  animation-delay: var(--feature-shine-delay);
  pointer-events: none;
}

.store-feature-card__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--feature-light-x) var(--feature-light-y), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 16%, transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015) 20%, rgba(5, 10, 18, 0.03) 52%, rgba(5, 10, 18, 0.22) 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 22%, transparent 68%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.store-feature-card__meta {
  position: absolute;
  left: 14px;
  width: min(var(--feature-meta-width), calc(100% - 28px));
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 4px;
  pointer-events: none;
}

.store-feature-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(219, 237, 255, 0.84);
  text-shadow: 0 6px 18px rgba(6, 10, 18, 0.65);
}

.store-feature-card__title {
  font-family: var(--font-display);
  font-size: var(--feature-title-size);
  line-height: 1.02;
  max-width: 100%;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 26px rgba(6, 10, 18, 0.78);
}

.store-feature-card--left-edge {
  --feature-x: -320px;
  --feature-y: 18px;
  --feature-rotate-z: -12deg;
  --feature-scale: 0.9;
  --feature-stack: 1;
}

.store-feature-card--left {
  --feature-x: -160px;
  --feature-y: 8px;
  --feature-rotate-z: -6deg;
  --feature-scale: 0.97;
  --feature-stack: 2;
}

.store-feature-card--center {
  --feature-x: 0px;
  --feature-y: 0px;
  --feature-rotate-z: 0deg;
  --feature-scale: 1.04;
  --feature-stack: 5;
  width: 202px;
}

.store-feature-card--right {
  --feature-x: 160px;
  --feature-y: 8px;
  --feature-rotate-z: 6deg;
  --feature-scale: 0.97;
  --feature-stack: 4;
}

.store-feature-card--right-edge {
  --feature-x: 320px;
  --feature-y: 18px;
  --feature-rotate-z: 12deg;
  --feature-scale: 0.9;
  --feature-stack: 3;
}

/* Tighter fan inside the two-column Featured stage so every card (incl. the
   edges) stays fully within the panel and never clips off-screen. */
.store-featured-stage .store-feature-card { width: 132px; }
.store-featured-stage .store-feature-card--center { width: 146px; }
.store-featured-stage .store-feature-card--left-edge  { --feature-x: -132px; --feature-rotate-z: -9deg; --feature-scale: 0.86; }
.store-featured-stage .store-feature-card--left       { --feature-x: -70px; }
.store-featured-stage .store-feature-card--right      { --feature-x: 70px; }
.store-featured-stage .store-feature-card--right-edge { --feature-x: 132px; --feature-rotate-z: 9deg; --feature-scale: 0.86; }

@keyframes storeFeatureShine {
  0%,
  100% {
    transform: translateX(-75%) rotate(14deg);
    opacity: 0;
  }
  12% {
    opacity: 0.6;
  }
  28% {
    opacity: 0.85;
  }
  50% {
    transform: translateX(75%) rotate(14deg);
    opacity: 0.7;
  }
  72% {
    opacity: 0.5;
  }
  88% {
    opacity: 0.15;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .catalog-media-frame {
    background: color-mix(in srgb, var(--surface) 92%, #0a0f1b);
  }
}

@media (min-width: 1180px) {
  .product-shell {
    gap: 28px;
  }

  .catalog-hero {
    padding: 34px;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 30px;
    align-items: stretch;
  }

  .catalog-hero h1 {
    font-size: clamp(32px, 2.9vw, 44px);
    max-width: 14ch;
  }

  .catalog-hero p {
    max-width: 56ch;
    font-size: 14px;
    line-height: 1.72;
  }

  .catalog-hero-actions {
    width: min(100%, 560px);
    justify-self: end;
  }

  .catalog-search {
    width: 100%;
    flex-wrap: nowrap;
  }

  .catalog-search input {
    flex: 1 1 320px;
    min-width: 320px;
  }

  .catalog-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .catalog-card {
    gap: 18px;
    padding: 20px;
    min-height: 360px;
  }

  .catalog-content h3 {
    font-size: 16px;
  }

  .catalog-content p {
    font-size: 12.5px;
    line-height: 1.65;
  }
}

@media (min-width: 1440px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .catalog-hero {
    grid-template-columns: 1fr;
  }

  .catalog-hero-actions {
    width: 100%;
  }

  .store-preview-3d {
    min-height: 420px;
    padding: 38px 18px 24px;
  }

  .store-feature-lineup {
    width: min(100%, 820px);
    min-height: 332px;
  }

  .store-feature-card {
    width: 162px;
  }

  .store-feature-card--left-edge {
    --feature-x: -236px;
    --feature-y: 16px;
  }

  .store-feature-card--left {
    --feature-x: -118px;
  }

  .store-feature-card--center {
    width: 178px;
    --feature-y: 0px;
  }

  .store-feature-card--right {
    --feature-x: 118px;
  }

  .store-feature-card--right-edge {
    --feature-x: 236px;
    --feature-y: 16px;
  }
}

@media (max-width: 720px) {
  .store-preview-3d {
    min-height: auto;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 16px;
  }

  .store-preview-3d::before {
    left: 50%;
    width: 82%;
    height: 54%;
    transform: translate(-50%, 90px) scale(1);
  }

  .store-feature-lineup {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    width: max-content;
    min-height: 0;
    padding: 12px 18px 22px;
    transform: none !important;
  }

  .store-feature-card {
    position: relative;
    left: auto;
    top: auto;
    width: 156px;
    --feature-hover-y: 0px;
    --feature-hover-scale: 0;
    --feature-hover-rotate: 0deg;
    transform: none !important;
    filter: none;
  }

  .store-feature-card--center {
    width: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-feature-lineup {
    transform: none;
    transition: none;
  }

  .catalog-media-image {
    transition: none;
    transform: none;
  }

  .catalog-media-frame::before {
    animation: none;
    opacity: 0.2;
    transform: none;
  }

  .catalog-media-frame {
    transition: none;
    transform: none;
  }

  .store-feature-card,
  .store-feature-card:hover,
  .store-feature-card:focus-visible {
    --feature-hover-y: 0px;
    --feature-hover-scale: 0;
    --feature-hover-rotate: 0deg;
    transition: none;
    transform:
      translate(-50%, -50%)
      translate(var(--feature-x), var(--feature-y))
      rotate(var(--feature-rotate-z))
      scale(var(--feature-scale));
    filter: none;
  }

  .store-feature-card__surface::before {
    animation: none;
    opacity: 0.42;
  }

  .store-3d-card {
    animation: none;
  }

  .catalog-card:hover {
    transform: none;
  }
}

/* Feature Card Product Modifiers */
.store-feature-card--r6s {
  --feature-art: url('../products/r6s/hero.webp');
  --feature-art-position: 52% 26%;
  --feature-art-size: 124%;
  --feature-meta-width: 108px;
  --feature-title-size: 15px;
}
.store-feature-card--r6s .store-feature-card__surface {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 22%, rgba(255, 255, 255, 0) 42%), url('../products/r6s/hero.webp'), linear-gradient(160deg, rgba(11, 18, 32, 0.58), rgba(8, 14, 24, 0.68));
}

.store-feature-card--rust {
  --feature-art: url('../products/rust/hero.webp');
  --feature-art-position: 50% 18%;
  --feature-art-size: 122%;
  --feature-meta-width: 116px;
  --feature-title-size: 15px;
}
.store-feature-card--rust .store-feature-card__surface {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 22%, rgba(255, 255, 255, 0) 42%), url('../products/rust/hero.webp'), linear-gradient(160deg, rgba(11, 18, 32, 0.58), rgba(8, 14, 24, 0.68));
}

.store-feature-card--cs2 {
  --feature-art: url('../products/cs2/hero.webp');
  --feature-art-position: 54% 12%;
  --feature-art-size: 118%;
  --feature-meta-width: 148px;
  --feature-title-size: 16px;
}
.store-feature-card--cs2 .store-feature-card__surface {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 22%, rgba(255, 255, 255, 0) 42%), url('../products/cs2/hero.webp'), linear-gradient(160deg, rgba(11, 18, 32, 0.58), rgba(8, 14, 24, 0.68));
}

.store-feature-card--marvel-rivals {
  --feature-art: url('../products/marvel-rivals/hero.webp');
  --feature-art-position: 50% 14%;
  --feature-art-size: 128%;
  --feature-meta-width: 122px;
  --feature-title-size: 13px;
}
.store-feature-card--marvel-rivals .store-feature-card__surface {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 22%, rgba(255, 255, 255, 0) 42%), url('../products/marvel-rivals/hero.webp'), linear-gradient(160deg, rgba(11, 18, 32, 0.58), rgba(8, 14, 24, 0.68));
}

.store-feature-card--apex {
  --feature-art: url('../products/apex-legends/hero.webp');
  --feature-art-position: 58% 20%;
  --feature-art-size: 136%;
  --feature-meta-width: 122px;
  --feature-title-size: 13px;
}
.store-feature-card--apex .store-feature-card__surface {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 22%, rgba(255, 255, 255, 0) 42%), url('../products/apex-legends/hero.webp'), linear-gradient(160deg, rgba(11, 18, 32, 0.58), rgba(8, 14, 24, 0.68));
}

/* Blocked / offline product cards — dark, unclickable */
.store-feature-card.is-blocked {
  filter: grayscale(1) brightness(0.25);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.store-feature-card.is-blocked::after {
  content: "Currently unavailable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  z-index: 10;
  pointer-events: none;
}

.store-feature-card.is-blocked:hover {
  filter: grayscale(1) brightness(0.25);
  opacity: 0.5;
  transform: none;
}

.store-feature-card.is-blocked .store-feature-card__surface::before {
  animation: none;
  opacity: 0;
}


/* --- Luxury Store Enhancements --- */

/* Featured product ribbon */
.catalog-card.featured {
  position: relative;
}

.catalog-card.featured::before {
  content: "FEATURED";
  position: absolute;
  top: 12px;
  right: -30px;
  background: linear-gradient(135deg, #d9b77a, #f0e68c);
  color: #0a0f19;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 40px;
  transform: rotate(45deg);
  z-index: 5;
}

/* Price badge styling */
.price-badge {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: #d9b77a;
}

/* Category pill hover glow */
.catalog-controls-row .btn-chip:hover {
  box-shadow: 0 0 16px rgba(123, 220, 255, 0.2);
}

/* ============================================================
   Storefront — detail sections (stats, assurance, catalog head, CTA)
   ============================================================ */

/* Trust / live stats bar (inside hero) */
.catalog-stats {
  grid-column: 1 / -1;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--glass-border) 60%, transparent);
  background: color-mix(in srgb, var(--glass-border) 40%, transparent);
}
.catalog-stat {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--surface, #0c1626) 78%, transparent);
}
.catalog-stat-val {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--text, #eef3ff);
}
.catalog-stat:first-child .catalog-stat-val,
.catalog-stat:nth-child(3) .catalog-stat-val {
  background: linear-gradient(135deg, var(--accent, #7bdcff), var(--accent-2, #9b8cff));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.catalog-stat-key {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted, #a8b9d4); opacity: 0.8;
}

/* Assurance trio */
.store-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}
.store-assure-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--glass-border) 55%, transparent);
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
    color-mix(in srgb, var(--surface, #0c1626) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.store-assure-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow: 0 24px 48px rgba(2,8,18,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.store-assure-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 14px;
  color: var(--accent, #7bdcff);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.store-assure-icon svg { width: 22px; height: 22px; }
.store-assure-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--text, #eef3ff); }
.store-assure-text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-soft, #c4d2ea); }

/* Catalog section header */
.catalog-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin: 4px 2px -4px;
}
.catalog-section-head h2 { font-size: 22px; }
.catalog-count {
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent, #7bdcff);
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  white-space: nowrap;
}

/* Closing CTA band */
.store-cta {
  display: grid;
  grid-template-columns: 1.6fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px;
}
.store-cta-title { margin: 6px 0 10px; font-size: 26px; line-height: 1.15; color: var(--text, #eef3ff); }
.store-cta-text { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--text-soft, #c4d2ea); max-width: 62ch; }
.store-cta-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.store-pay-pill {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 12px;
  color: var(--text-soft, #c4d2ea);
  background: none;
  border: none;
}
.store-cta-actions { display: grid; gap: 10px; min-width: 190px; }
.store-cta-actions .btn { width: 100%; }

@media (max-width: 900px) {
  .catalog-stats { grid-template-columns: repeat(2, 1fr); }
  .store-assurance { grid-template-columns: 1fr; }
  .store-cta { grid-template-columns: 1fr; }
  .store-cta-actions { min-width: 0; }
}
/* ============================================================
   Catalog — luxury poster showcase cards
   Tall hero/box-art poster fills the card; name + price + CTA
   ride a gradient scrim at the bottom. Detailed spec blocks are
   hidden for a clean storefront look (full detail on product page).
   ============================================================ */
.catalog-card.catalog-card--poster {
  position: relative;
  padding: 0 !important;            /* image must reach the card edges */
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  perspective: none;
  border: 1px solid color-mix(in srgb, var(--glass-border) 55%, transparent);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease, border-color 0.45s ease;
}
/* Media + frame + image fill the whole card with matching radius */
.catalog-card--poster .catalog-media,
.catalog-card--poster .catalog-media-frame { width: 100%; border-radius: 18px; }
.catalog-card--poster .catalog-media-image {
  width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
}
.catalog-card--poster:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 50%, transparent);
  box-shadow:
    0 34px 60px rgba(2,8,18,0.6),
    0 0 50px color-mix(in srgb, var(--product-accent, var(--accent)) 26%, transparent);
}
.catalog-card--poster:active { transform: translateY(-3px) scale(0.992); }

/* The media becomes the whole card */
.catalog-card--poster { display: block; }
.catalog-card--poster .catalog-media { padding: 0; height: 100%; display: block; }
.catalog-card--poster .catalog-media::after { display: none; }
.catalog-card--poster .catalog-media-frame {
  aspect-ratio: 3 / 4;            /* portrait box-art */
  min-height: 300px;             /* never collapse before the image loads */
  border: none;
  border-radius: 18px;
  box-shadow: none;
  background: #0a1018;           /* solid base under the poster image */
}
/* Kill the 16:9-era frame glow/shine artifacts (the blurred pill) on posters */
.catalog-card--poster .catalog-media-frame::before,
.catalog-card--poster .catalog-media-frame::after,
.catalog-card--poster .catalog-shimmer { display: none !important; }
/* The fallback/missing background washes were leaking through — reset them */
.catalog-card--poster .catalog-media-frame.is-fallback,
.catalog-card--poster .catalog-media-frame.is-missing { background: #0a1018; }
.catalog-card--poster .catalog-media-image {
  border-radius: 18px;
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.05);
}
.catalog-card--poster:hover .catalog-media-image {
  transform: scale(1.09);
  filter: saturate(1.18) contrast(1.08) brightness(1.04);
}

/* Gradient scrim so text stays legible over any poster */
.catalog-poster-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(4,9,18,0.0) 38%, rgba(4,9,18,0.55) 70%, rgba(3,7,14,0.92) 100%),
    linear-gradient(180deg, rgba(4,9,18,0.35) 0%, transparent 26%);
}

/* Overlay content */
.catalog-poster-overlay {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 13px;
  pointer-events: none;
}
.catalog-poster-overlay .catalog-poster-cta,
.catalog-poster-overlay a { pointer-events: auto; }

.catalog-poster-bottom { display: grid; gap: 6px; }
.catalog-poster-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--product-accent, var(--accent)) 75%, white 25%);
}
.catalog-poster-name {
  margin: 0; font-family: "Sora","Manrope",sans-serif;
  font-size: 20px; font-weight: 700; line-height: 1.1; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.catalog-poster-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px; flex-wrap: nowrap;
}
.catalog-poster-price {
  display: inline-flex; align-items: baseline; gap: 4px;
  flex: 0 1 auto; white-space: nowrap; min-width: 0;
  font-family: "Sora","Manrope",sans-serif; font-weight: 700; font-size: 16px; color: #fff;
}
.catalog-poster-price > span { white-space: nowrap; }
.catalog-poster-from { font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.catalog-poster-term { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.55); }
.catalog-poster-cta {
  display: inline-flex; align-items: center; gap: 5px;
  flex: 0 0 auto;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 7px 12px; border-radius: 999px;
  color: #04121c;
  text-decoration: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--product-accent, var(--accent)) 92%, white), color-mix(in srgb, var(--product-accent-2, var(--accent-2)) 80%, white));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--product-accent, var(--accent)) 30%, transparent);
  transform: translateY(2px); opacity: 0.96;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
  white-space: nowrap;
}
.catalog-poster-cta svg { width: 14px; height: 14px; }
.catalog-card--poster:hover .catalog-poster-cta {
  transform: translateY(0);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--product-accent, var(--accent)) 42%, transparent);
}

/* Keep status pill + monogram + undetected badge visible, lift above scrim */
.catalog-card--poster .catalog-status { position: absolute; top: 12px; left: 12px; right: auto; bottom: auto; z-index: 5; padding: 0; width: auto; height: auto; }
/* Compact the top chips so the status pill and undetected badge never collide */
.catalog-card--poster .catalog-status .status-pill { font-size: 9px; padding: 4px 8px; }
.catalog-card--poster .catalog-badge--undetected { font-size: 9px; padding: 3px 8px; }
/* Reset the base bottom/left insets so the badge chip sizes to its content
   instead of stretching into a tall frosted pill over the poster. */
.catalog-card--poster .catalog-card-badges {
  position: absolute; top: 12px; right: 12px; left: auto; bottom: auto;
  width: auto; height: auto; max-width: 50%; z-index: 5; display: flex; gap: 6px;
}
/* The big monogram is a no-image fallback. Hide it when the poster image
   loaded (it was bleeding through as faded giant letters), but keep it when
   the frame falls back to no image. */
.catalog-card--poster .catalog-media-frame:not(.is-fallback):not(.is-missing) .catalog-media-mark { display: none; }
.catalog-card--poster .catalog-media-mark { z-index: 1; }

/* Hide the verbose spec blocks in the showcase (full detail lives on the
   product page). They remain in the DOM for any logic that reads them. */
.catalog-card--poster .catalog-content { display: none; }

@media (max-width: 600px) {
  .catalog-poster-name { font-size: 18px; }
  .catalog-poster-cta { padding: 7px 11px; font-size: 11px; }
}
/* Catalog group box wrapping the showcase grid */
.catalog-box {
  padding: 26px 26px 28px;
  display: grid;
  gap: 20px;
}
.catalog-box .catalog-section-head { margin: 0; }
.catalog-box-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-soft, #c4d2ea);
}
.catalog-box .catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
/* Tablets / large phones: two roomy columns. */
@media (max-width: 720px) {
  .catalog-box .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* Small phones: a single full-width column so poster cards (title + price +
   buy button) stay legible instead of two cramped 130px columns. */
@media (max-width: 480px) {
  .catalog-box .catalog-grid { grid-template-columns: 1fr; gap: 14px; }
}
/* ── Storefront toggles (Auto rotate / Show availability) ──────── */
/* Auto rotate OFF → freeze the spotlight idle shine/motion */
.store-feature-lineup.is-paused .store-feature-card__surface::before { animation: none !important; }
.store-feature-lineup.is-paused .store-feature-card { transition: none; }

/* Show availability OFF → hide the status chips on catalog cards */
#catalogGrid.hide-availability .catalog-status,
#catalogGrid.hide-availability .catalog-card-badges { display: none !important; }
/* ============================================================
   Featured / Spotlight — luxury two-column hero
   ============================================================ */
.store-featured { overflow: hidden; }
.store-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
}
.store-featured-detail { display: grid; gap: 14px; align-content: center; }

.store-featured-tag {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 0; border-radius: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, white 15%);
  background: none;
  border: none;
}
.store-featured-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: storeFeaturedPulse 2s ease-in-out infinite;
}
@keyframes storeFeaturedPulse { 0%,100%{opacity:1;} 50%{opacity:0.45;} }

.store-featured-title {
  margin: 0; font-family: "Sora","Manrope",sans-serif;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; font-weight: 800;
  background: linear-gradient(135deg, var(--text) 25%, var(--accent) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.store-featured-desc {
  margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-soft, #c4d2ea); max-width: 52ch;
}
.store-featured-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.store-featured-points li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  font-size: 13.5px; color: var(--text-soft, #c4d2ea);
}
.store-featured-points svg {
  width: 16px; height: 16px; margin-top: 2px; color: var(--status-success, #5fd0a8);
}

.store-featured-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 6px; padding: 16px 0 4px;
  border-top: 1px solid color-mix(in srgb, var(--glass-border) 50%, transparent);
}
.store-featured-stat { display: grid; gap: 3px; }
.store-featured-stat-val {
  font-family: "Sora","Manrope",sans-serif; font-weight: 700; font-size: 18px; color: var(--text, #eef3ff);
}
.store-featured-stat:first-child .store-featured-stat-val { color: color-mix(in srgb, var(--status-success) 85%, #e8f6f1 15%); }
.store-featured-term { font-size: 11px; font-weight: 500; color: var(--text-muted, #a8b9d4); margin-left: 2px; }
.store-featured-stat-key { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted, #a8b9d4); opacity: 0.8; }

.store-featured-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.store-featured-stage { display: grid; gap: 10px; }
.store-featured-stage-head { display: grid; gap: 4px; }
.store-featured-stage-sub {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted, #9fb1cc);
}
.store-featured-stage .store-preview-3d { margin-top: 4px; }

@media (max-width: 900px) {
  .store-featured-grid { grid-template-columns: 1fr; gap: 24px; }
  .store-featured-stage { order: -1; }
}
/* Honor the hidden attribute (a display rule was overriding it). */
.catalog-controls-row[hidden] { display: none !important; }
/* ============================================================
   Catalog poster cards — luxury / advanced upgrade (added)
   ============================================================ */

/* The grid gives depth context so the 3D tilt reads properly. */
.catalog-grid { perspective: 1400px; }

/* Base card: smooth 3D transform driven by initTilt() vars (--tilt-x/-y),
   richer resting shadow, and a will-change for buttery motion. */
.catalog-card--poster {
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
  box-shadow:
    0 18px 40px rgba(2,8,18,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
/* Live 3D tilt while pointer is over the card. */
.catalog-card--poster.is-tilting {
  transform:
    perspective(1400px)
    rotateX(calc(var(--tilt-y, 0) * 1deg))
    rotateY(calc(var(--tilt-x, 0) * 1deg))
    translateY(-8px) scale(1.025);
  box-shadow:
    0 44px 80px rgba(2,8,18,0.66),
    0 0 60px color-mix(in srgb, var(--product-accent, var(--accent)) 30%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--product-accent, var(--accent)) 45%, transparent);
}

/* Pointer-tracked glare sweeping across the poster — the "expensive glass" look. */
.catalog-card--poster .catalog-media-frame::after {
  content: "" !important;
  display: block !important;
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background:
    radial-gradient(420px 320px at var(--glare-x, 50%) var(--glare-y, 0%),
      rgba(255,255,255,0.28), rgba(255,255,255,0.06) 32%, transparent 60%);
  mix-blend-mode: screen;
}
.catalog-card--poster:hover .catalog-media-frame::after { opacity: 1; }

/* Animated accent edge — a soft conic glow that breathes in the product color on hover. */
.catalog-card--poster::before {
  content: "";
  position: absolute; inset: -1px; z-index: 6;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--edge-rot, 0deg),
    transparent 0deg,
    color-mix(in srgb, var(--product-accent, var(--accent)) 70%, transparent) 60deg,
    transparent 140deg,
    color-mix(in srgb, #8de6d6 60%, transparent) 220deg,
    transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.catalog-card--poster:hover::before { opacity: 1; animation: cardEdgeSpin 5s linear infinite; }
@keyframes cardEdgeSpin { to { --edge-rot: 360deg; } }
@property --edge-rot { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Overlay content lifts slightly on hover for a layered, parallax feel. */
.catalog-card--poster .catalog-poster-bottom {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.catalog-card--poster:hover .catalog-poster-bottom { transform: translateY(-2px); }

/* The Buy CTA becomes a glowing accent pill on hover. */
.catalog-poster-cta {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.catalog-card--poster:hover .catalog-poster-cta {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--product-accent, var(--accent)) 40%, transparent);
}

/* Staggered, cinematic entrance as cards mount. */
@keyframes cardRise {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.catalog-card--poster { animation: cardRise 0.6s cubic-bezier(0.16,1,0.3,1) backwards; }
.catalog-grid .catalog-card--poster:nth-child(1) { animation-delay: 0.02s; }
.catalog-grid .catalog-card--poster:nth-child(2) { animation-delay: 0.06s; }
.catalog-grid .catalog-card--poster:nth-child(3) { animation-delay: 0.10s; }
.catalog-grid .catalog-card--poster:nth-child(4) { animation-delay: 0.14s; }
.catalog-grid .catalog-card--poster:nth-child(5) { animation-delay: 0.18s; }
.catalog-grid .catalog-card--poster:nth-child(6) { animation-delay: 0.22s; }
.catalog-grid .catalog-card--poster:nth-child(n+7) { animation-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  .catalog-card--poster,
  .catalog-card--poster:hover::before { animation: none !important; }
  .catalog-card--poster.is-tilting { transform: translateY(-6px); }
}
/* ============================================================
   Split card layout — art on top, frosted info panel below.
   Reuses the existing .catalog-content bindings (name, price,
   stability, status, Buy). Activated by .catalog-card--split.
   ============================================================ */
.catalog-card--split {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,30,52,0.55), rgba(10,16,30,0.85));
  border: 1px solid color-mix(in srgb, var(--glass-border) 55%, transparent);
  border-radius: 20px;
}

/* ART region: fixed cinematic box at the top, square-ish poster crop. */
.catalog-card--split .catalog-media,
.catalog-card--split .catalog-media-frame {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-radius: 0 !important;
}
.catalog-card--split .catalog-media-frame { border-bottom: 1px solid rgba(160,190,230,0.14); }
.catalog-card--split .catalog-media-image {
  border-radius: 0 !important;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
.catalog-card--split:hover .catalog-media-image { transform: scale(1.08); filter: saturate(1.12) brightness(1.04); }

/* Keep the status chip (top-left) but DROP the text overlay on the art. */
.catalog-card--split .catalog-poster-overlay,
.catalog-card--split .catalog-poster-scrim { display: none !important; }
.catalog-card--split .catalog-status {
  position: absolute; top: 10px; left: 10px; z-index: 5;
}

/* INFO PANEL: show the previously-hidden content as a frosted panel below. */
.catalog-card--split .catalog-content {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.catalog-card--split .catalog-foot { margin-top: auto; }
/* Trim the verbose spec blocks — keep it tight & premium. */
.catalog-card--split .catalog-tags,
.catalog-card--split .catalog-meta,
.catalog-card--split .catalog-content > .catalog-head > p { display: none; }

.catalog-card--split .catalog-head { display: grid; gap: 3px; }
.catalog-card--split .catalog-head .eyebrow {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--product-accent, var(--accent)) 78%, white 22%);
}
.catalog-card--split .catalog-head h3 {
  margin: 0; font-family: "Sora","Manrope",sans-serif;
  font-size: 17px; font-weight: 700; line-height: 1.15; color: #fff;
}

/* Foot: stability bar + price row + actions. */
.catalog-card--split .catalog-foot { display: grid; gap: 10px; margin: 0; }
.catalog-card--split .stability-item { display: grid; gap: 5px; }
.catalog-card--split .stability-item .metric-label {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted,#9fb1cc);
}
.catalog-card--split .progress {
  height: 5px; border-radius: 999px; overflow: hidden;
  background: rgba(160,190,230,0.14);
}
.catalog-card--split .progress span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--product-accent, var(--accent)), color-mix(in srgb,#8de6d6 70%, var(--accent)));
}
.catalog-card--split .catalog-price--prominent {
  display: flex; align-items: baseline; gap: 5px;
}
.catalog-card--split .catalog-price__from { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted,#9fb1cc); }
.catalog-card--split .catalog-price__amount { font-family:"Sora",sans-serif; font-size: 21px; font-weight: 800; color: #fff; }
.catalog-card--split .catalog-price__term { font-size: 11px; color: var(--text-muted,#9fb1cc); }
.catalog-card--split .catalog-price [data-risk] { display: none; }

.catalog-card--split .catalog-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.catalog-card--split .catalog-split-details { padding: 9px 12px; font-size: 12px; }
.catalog-card--split .catalog-split-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px; font-size: 13px; font-weight: 700;
}
.catalog-card--split .catalog-split-buy svg { width: 15px; height: 15px; }

/* Hover lift + accent glow on the whole card. */
.catalog-card--split { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.4s ease; }
.catalog-card--split:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 50%, transparent);
  box-shadow:
    0 30px 60px rgba(2,8,18,0.6),
    0 0 46px color-mix(in srgb, var(--product-accent, var(--accent)) 24%, transparent);
}
/* ============================================================
   3D Coverflow showcase — Apple/visionOS-style carousel.
   Activated when #catalogGrid has .is-coverflow.
   ============================================================ */
#catalogGrid.is-coverflow {
  display: block !important;
  position: relative;
  padding: 20px 0 8px;
  outline: none;
}

.coverflow-stage {
  position: relative;
  height: 560px;
  perspective: 1700px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.coverflow-stage.is-dragging { cursor: grabbing; }

.coverflow-track {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}

/* Each card is centered then offset by the layout() transforms. */
.coverflow-item {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px;
  margin: 0 !important;
  transform-origin: 50% 50%;
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
  /* Coverflow owns the entrance — neutralize the grid card entrance anim. */
  animation: none !important;
}

/* Reflection / floor glow under the active card. */
.coverflow-item.is-active::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -34px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--product-accent, var(--accent)) 38%, transparent),
    transparent 70%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: -1;
  animation: cfFloat 4.5s ease-in-out infinite;
}
/* Subtle hover float for the centered product (Apple "hovering" feel). */
.coverflow-item.is-active {
  box-shadow:
    0 50px 90px rgba(2,8,18,0.62),
    0 0 70px color-mix(in srgb, var(--product-accent, var(--accent)) 28%, transparent);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 55%, transparent) !important;
}
@keyframes cfFloat { 0%,100%{ transform: scaleX(1); opacity:0.9; } 50%{ transform: scaleX(0.9); opacity:0.6; } }

/* Side cards dim a touch so the center pops. */
.coverflow-item:not(.is-active) { filter: saturate(0.85) brightness(0.82); }
.coverflow-item:not(.is-active):hover { filter: saturate(1) brightness(0.95); cursor: pointer; }

/* Navigation arrows. */
.coverflow-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #eaf2ff;
  background: color-mix(in srgb, var(--glass-bg, rgba(20,30,52,0.7)) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--glass-border) 70%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(2,8,18,0.5);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.coverflow-nav:hover {
  transform: translateY(-50%) scale(1.08);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, var(--glass-bg, rgba(20,30,52,0.7)));
}
.coverflow-nav:active { transform: translateY(-50%) scale(0.96); }
.coverflow-nav svg { width: 24px; height: 24px; }
.coverflow-nav--prev { left: 10px; }
.coverflow-nav--next { right: 10px; }

/* Dot indicators. */
.coverflow-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.coverflow-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: color-mix(in srgb, var(--text-muted, #9fb1cc) 45%, transparent);
  cursor: pointer; transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.coverflow-dot:hover { background: color-mix(in srgb, var(--accent) 60%, transparent); }
.coverflow-dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb,#8de6d6 70%, var(--accent)));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent);
}

/* Mobile: tighter stage, smaller cards, arrows lower-profile. */
@media (max-width: 640px) {
  .coverflow-stage { height: 470px; perspective: 1100px; }
  .coverflow-item { width: 270px; }
  .coverflow-nav { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .coverflow-item { transition: opacity 0.3s ease; }
  .coverflow-item.is-active::after { animation: none; }
}
/* ============================================================
   3D FLOATING BOXES — grid of cards that lift off the page and
   tilt toward the cursor with layered parallax depth.
   Activated by .catalog-card--float (set in buildProductCard).
   ============================================================ */

/* Deep perspective on the grid so every box reads as 3D. */
.catalog-box .catalog-grid,
#catalogGrid { perspective: 1100px; }
.catalog-box .catalog-grid { gap: 26px 22px; }

/* Entrance must NOT animate transform (it would override the tilt).
   Override the older cardRise entrance with an opacity-only fade-in. */
@keyframes floatBoxIn { from { opacity: 0; } to { opacity: 1; } }
.catalog-card--float { animation: floatBoxIn 0.5s ease both !important; }

/* The box itself. Rest = flat & settled; hover = lifted, tilted, glowing. */
.catalog-card--float {
  position: relative;
  transform: none;                /* flat at rest — no 3D until lifted */
  transition:
    transform 0.4s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  box-shadow: 0 14px 30px rgba(2,8,18,0.45);
}
.catalog-card--float.is-lifted { transform-style: preserve-3d; }
.catalog-card--float.is-lifted {
  transform:
    perspective(1100px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateZ(26px) scale(1.03);
  border-color: color-mix(in srgb, var(--product-accent, var(--accent)) 60%, transparent) !important;
  box-shadow:
    0 50px 90px rgba(2,8,18,0.62),
    0 0 70px color-mix(in srgb, var(--product-accent, var(--accent)) 30%, transparent);
}

/* Layered depth: the poster art floats FORWARD off the box,
   the info panel stays near the base — parallax separation. */
.catalog-card--float .catalog-media {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  transform-style: preserve-3d;
}
.catalog-card--float.is-lifted .catalog-media { transform: translateZ(48px); }

.catalog-card--float .catalog-content {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.catalog-card--float.is-lifted .catalog-content { transform: translateZ(20px); }

/* The status chip pops the furthest forward — floating tag. */
.catalog-card--float .catalog-status {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.catalog-card--float.is-lifted .catalog-status { transform: translateZ(70px); }

/* Buy button lifts toward the viewer too. */
.catalog-card--float .catalog-actions { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); transform-style: preserve-3d; }
.catalog-card--float.is-lifted .catalog-actions { transform: translateZ(34px); }

/* Pointer-tracked glare across the whole box (screen blend = expensive glass). */
/* (Removed the full-card glare ::after — its white screen-blend radial lit up
   the TOP of the card art over the status pill. Completely disabled.) */
.catalog-card--float::after {
  content: none !important;
  display: none !important;
}
.catalog-card--float.is-lifted::after { opacity: 1; }

/* Floating contact shadow on the "floor" beneath a lifted box. */
.catalog-card--float::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: -22px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--product-accent, var(--accent)) 34%, #000 10%),
    transparent 72%);
  filter: blur(16px);
  opacity: 0;
  transform: translateZ(-40px) scaleX(0.92);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: -1;
}
.catalog-card--float.is-lifted::before { opacity: 0.85; transform: translateZ(-40px) scaleX(1); }

/* Touch / no-hover devices: keep it clean & flat (no broken tilt). */
@media (hover: none) {
  .catalog-card--float.is-lifted { transform: translateY(-4px); }
  .catalog-card--float .catalog-media,
  .catalog-card--float .catalog-content,
  .catalog-card--float .catalog-status,
  .catalog-card--float .catalog-actions { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-card--float, .catalog-card--float * { transition: none !important; }
  .catalog-card--float.is-lifted { transform: translateY(-4px); }
}
/* ============================================================
   LUXURY MATERIAL PASS — make the split/float cards feel like
   premium frosted glass with accent lighting. (added)
   ============================================================ */

/* Richer glass body: layered translucency + real blur + edge light. */
.catalog-card--split.catalog-card--float {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0) 22%),
    linear-gradient(180deg, rgba(26,38,64,0.62) 0%, rgba(12,18,34,0.9) 55%, rgba(8,12,24,0.96) 100%);
  border: 1px solid rgba(170,195,235,0.16);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.10) inset,   /* top edge highlight */
    0 22px 46px rgba(2,6,16,0.55);
}

/* Accent light bloom rising from behind the info panel, tinted to the game. */
.catalog-card--split.catalog-card--float .catalog-content {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), transparent 60%);
  padding: 16px 18px 18px;
}
.catalog-card--split.catalog-card--float .catalog-content::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 130px;
  pointer-events: none;
  background: radial-gradient(120% 90px at 50% 0%,
    color-mix(in srgb, var(--product-accent, var(--accent)) 26%, transparent),
    transparent 70%);
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.catalog-card--split.catalog-card--float:hover .catalog-content::before { opacity: 0.9; }

/* Soften the hard line where art meets panel — melt the image into the glass. */
.catalog-card--split.catalog-card--float .catalog-media-frame { border-bottom: none; }
.catalog-card--split.catalog-card--float .catalog-media-frame::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11,17,33,0.82));
}

/* Eyebrow → refined inline chip, not a wide bar. */
.catalog-card--split.catalog-card--float .catalog-head .eyebrow {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 3px 10px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--product-accent, var(--accent)) 82%, white 18%);
  background: color-mix(in srgb, var(--product-accent, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--product-accent, var(--accent)) 30%, transparent);
}

/* Product name: larger, tighter, luminous. */
.catalog-card--split.catalog-card--float .catalog-head h3 {
  font-size: 18.5px; font-weight: 800; letter-spacing: -0.01em;
  margin-top: 8px;
  background: linear-gradient(180deg, #ffffff, #cfdcf2);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Stability bar: thinner, glassy track, glowing accent fill. */
.catalog-card--split.catalog-card--float .stability-item .metric-label { opacity: 0.72; }
.catalog-card--split.catalog-card--float .progress {
  height: 4px; background: rgba(150,180,225,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.catalog-card--split.catalog-card--float .progress span {
  background: linear-gradient(90deg, var(--product-accent, var(--accent)), color-mix(in srgb,#a9f0e2 75%, var(--accent)));
  box-shadow: 0 0 10px color-mix(in srgb, var(--product-accent, var(--accent)) 60%, transparent);
}

/* Price: refined hierarchy. */
.catalog-card--split.catalog-card--float .catalog-price__amount {
  font-size: 23px; letter-spacing: -0.02em;
}
.catalog-card--split.catalog-card--float .catalog-price__from,
.catalog-card--split.catalog-card--float .catalog-price__term { opacity: 0.65; }

/* Buy button → premium gradient pill with inner light + accent glow. */
.catalog-card--split.catalog-card--float .catalog-split-buy {
  position: relative; overflow: hidden;
  /* Consistent BRAND action color on every card (not per-game) for a
     confident, luxurious storefront. */
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0) 48%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 94%, #06121a), color-mix(in srgb, var(--accent) 66%, #06121a));
  color: #04141a; font-weight: 800;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform 0.25s ease, box-shadow 0.3s ease, filter 0.25s ease;
}
.catalog-card--split.catalog-card--float .catalog-split-buy:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 52%, transparent);
}
/* Sheen sweep across Buy on card hover. */
.catalog-card--split.catalog-card--float .catalog-split-buy::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.catalog-card--split.catalog-card--float:hover .catalog-split-buy::after {
  animation: buySheen 0.9s ease forwards;
}
@keyframes buySheen { from { left: -60%; opacity: 0.9; } to { left: 130%; opacity: 0; } }

/* Details button → quiet glass ghost. */
.catalog-card--split.catalog-card--float .catalog-split-details {
  border: 1px solid rgba(170,195,235,0.18);
  background: rgba(255,255,255,0.03);
  color: #c8d6f0; font-weight: 600;
}
.catalog-card--split.catalog-card--float .catalog-split-details:hover {
  background: rgba(255,255,255,0.07); color: #fff;
}

/* Status chip → frosted glass pill that floats. */
.catalog-card--split.catalog-card--float .catalog-status .status-pill {
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(2,6,16,0.5);
}
/* ============================================================
   ADVANCED LUXURY LAYER — ambient grid grade, specular edge,
   and a premium hover-rise for the whole catalog. (added)
   ============================================================ */

/* Ambient depth wash behind the whole grid so cards sit in a "scene". */
.catalog-box {
  position: relative;
}
.catalog-box::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; border-radius: inherit;
  background:
    radial-gradient(60% 40% at 18% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    radial-gradient(50% 40% at 85% 12%, color-mix(in srgb, var(--accent-3, #8d6bff) 7%, transparent), transparent 72%);
  opacity: 0.8;
}
.catalog-box > * { position: relative; z-index: 1; }

/* (Removed the top-edge specular highlight — it created a bright light streak
   across the top of the card / over the status pill on hover, which read as a
   visual glitch. The glare layer (.catalog-box-glare) already provides the
   glass sheen without overlapping the status chip.) */
.catalog-card--float .catalog-media-frame::after { display: none !important; }

/* Premium settle: cards gently rise + sharpen when the grid is hovered,
   while non-hovered siblings recede slightly (focus the one you're on). */
@media (hover: hover) {
  .catalog-box .catalog-grid:hover .catalog-card--float:not(:hover) {
    filter: saturate(0.92) brightness(0.9);
    transform: scale(0.99);
  }
}

/* Richer, tighter glare highlight that reads as polished glass. */
.catalog-card--float::after {
  background:
    radial-gradient(300px 240px at var(--gx,50%) var(--gy,30%),
      rgba(255,255,255,0.26), rgba(255,255,255,0.06) 38%, transparent 64%);
}

/* A hairline luminous top border that lights up on lift. */
.catalog-card--split.catalog-card--float {
  position: relative;
}
.catalog-card--split.catalog-card--float::marker { content: none; }
/* ============================================================
   PREMIUM GAMING ENERGY — make every card feel ALIVE.
   Animated neon frame, living poster, power-on entrance,
   pulsing status, energy stability bar. (added)
   ============================================================ */

@property --nrot { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ── Flowing neon border that runs around the card frame ─────────── */
.catalog-card--float {
  isolation: isolate;
}
.catalog-card--float .neon-frame,
.catalog-card--float::after { /* keep existing glare ::after; frame added via real element below */ }

/* We draw the neon edge with a pseudo on an inner wrapper instead of an
   extra DOM node: use the card's own ::before is taken (floor shadow),
   so paint the animated edge on the media+content stack via outline glow. */
.catalog-card--float {
  --neon: var(--product-accent, var(--accent));
}

/* Animated conic ring sitting just inside the border. */
.catalog-card--float .catalog-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 7;
  border-radius: 22px 22px 0 0;
  padding: 1.5px;
  background: conic-gradient(from var(--nrot),
    transparent 0deg,
    color-mix(in srgb, var(--neon) 95%, white 5%) 40deg,
    transparent 110deg,
    transparent 250deg,
    color-mix(in srgb, var(--neon) 70%, transparent) 300deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;                 /* hidden at rest — no constant repaint */
  pointer-events: none;
  transition: opacity 0.4s ease;
}
/* Neon ring only spins while THIS card is hovered (1 card at a time, cheap). */
.catalog-card--float:hover .catalog-media::before {
  opacity: 1;
  animation: neonSpin 2.6s linear infinite;
}
@keyframes neonSpin { to { --nrot: 360deg; } }

/* ── Poster Ken-Burns drift — ONLY on hover (not all 15 at once). ── */
.catalog-card--float .catalog-media-image {
  transform: scale(1.04);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}
.catalog-card--float:hover .catalog-media-image {
  transform: scale(1.12);
  filter: saturate(1.2) brightness(1.08) contrast(1.05);
}

/* (Removed the scanline sweep — it slid a translucent skewed band from
   top-left to top-right across the card on hover, which read as a "pill"
   gliding over the card. The cursor-tracked glare is enough sheen.) */
.catalog-card--float .catalog-media-frame .catalog-shimmer {
  display: none !important;
}

/* ── Status chip: live heartbeat pulse ──────────────────────────── */
.catalog-card--float .catalog-status .status-pill {
  position: relative;
}
.catalog-card--float .catalog-status .status-pill::after {
  content: "";
  position: absolute; left: 8px; top: 50%; width: 6px; height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;       /* steady glow dot at rest */
}
/* Heartbeat pulse only on hover (avoids 15 continuous pulses). */
.catalog-card--float:hover .catalog-status .status-pill::after {
  animation: chipHeartbeat 2s ease-out infinite;
}
@keyframes chipHeartbeat {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
/* give the dot room */
.catalog-card--float .catalog-status .status-pill { padding-left: 20px; }

/* ── Energy flowing through the stability bar ───────────────────── */
.catalog-card--float .progress span {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--neon) 85%, transparent),
    color-mix(in srgb, #b6f5ea 80%, var(--neon)));
}
.catalog-card--float .progress span::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  background-size: auto;
  width: 40%;
  transform: translateX(-120%);
  opacity: 0;
  animation: none;            /* kill the global infinite holoShimmer at rest */
}
/* Energy streak runs only while the card is hovered. */
.catalog-card--float:hover .progress span::after {
  opacity: 1;
  animation: energyFlow 2.6s linear infinite;
}
@keyframes energyFlow { from { transform: translateX(-120%); } to { transform: translateX(320%); } }

/* ── POWER-ON entrance: cards ignite in sequence ────────────────── */
@keyframes powerOn {
  0%   { opacity: 0; transform: translateY(20px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* backwards (not both): entrance releases transform when done so the
   cursor tilt (.is-lifted) can take over instead of being frozen. */
.catalog-card--float { animation: powerOn 0.65s cubic-bezier(0.22,1,0.36,1) backwards !important; }
.catalog-grid .catalog-card--float:nth-child(1){animation-delay:.04s}
.catalog-grid .catalog-card--float:nth-child(2){animation-delay:.10s}
.catalog-grid .catalog-card--float:nth-child(3){animation-delay:.16s}
.catalog-grid .catalog-card--float:nth-child(4){animation-delay:.22s}
.catalog-grid .catalog-card--float:nth-child(5){animation-delay:.28s}
.catalog-grid .catalog-card--float:nth-child(6){animation-delay:.34s}
.catalog-grid .catalog-card--float:nth-child(n+7){animation-delay:.40s}

/* Stronger hover power-up glow in the game color. */
.catalog-card--float.is-lifted {
  box-shadow:
    0 50px 90px rgba(2,8,18,0.62),
    0 0 90px color-mix(in srgb, var(--neon) 40%, transparent) !important;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card--float,
  .catalog-card--float .catalog-media-image,
  .catalog-card--float .catalog-media::before,
  .catalog-card--float .progress span::after,
  .catalog-card--float .catalog-status .status-pill::after { animation: none !important; }
}
/* ============================================================
   3D GAME BOX — catalog cards become physical game cases with the
   hero art as the front cover, a side spine, and a glossy glare
   that tracks the cursor. Driven by initFloatBox vars (--rx/--ry/
   --gx/--gy) + .is-lifted on hover.
   ============================================================ */

/* Deep stage so the box reads as a real 3D object. Perspective only matters
   while a card is being lifted; the resting grid stays a clean flat layout. */
.catalog-box .catalog-grid,
#catalogGrid { perspective: 1500px; perspective-origin: 50% 30%; }

/* preserve-3d ONLY while lifted — at rest the card is a flat 2D tile so the
   grid never distorts and the spine stays flush inside the card. */
.catalog-card--float.is-lifted .catalog-media,
.catalog-card--float.is-lifted .catalog-media-frame {
  transform-style: preserve-3d;
}

/* Stronger, box-like 3D rotation on hover (amplifies the float-box tilt). */
.catalog-card--float.is-lifted {
  transform:
    perspective(1500px)
    rotateX(calc(var(--rx, 0deg) * 1.25))
    rotateY(calc(var(--ry, 0deg) * 1.35))
    translateZ(40px) scale(1.04) !important;
}

/* ── The spine: a thin side face hinged at the LEFT edge of the cover,
   rotated back into 3D space so it shows when the box turns. ── */
.catalog-box-spine {
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 100%;
  transform-origin: left center;
  transform: rotateY(-90deg) translateZ(0);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(0,0,0,0.35)),
    linear-gradient(180deg,
      color-mix(in srgb, var(--product-accent, var(--accent)) 60%, #0a1020),
      color-mix(in srgb, var(--product-accent, var(--accent)) 30%, #060a14));
  border-radius: 4px 0 0 4px;
  box-shadow: inset -6px 0 14px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 4;
  pointer-events: none;
  /* vertical "game title on the spine" sheen lines */
  background-clip: padding-box;
}
.catalog-card--float.is-lifted .catalog-box-spine { opacity: 1; }

/* (Top-edge box face omitted — the ::before on .catalog-media-frame is already
   used by the art-melt gradient. The spine + glare give the 3D box feel without
   a pseudo-element conflict.) */

/* ── Glossy glare that follows the cursor across the cover. ──
   Anchored below the status-pill zone and masked at the top so it never
   blooms a bright band over the UNDETECTED/status chip. Softened brightness. */
.catalog-box-glare {
  position: absolute; left: 0; right: 0; top: 28%; bottom: 0; z-index: 5; pointer-events: none;
  border-radius: 0 0 inherit inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background:
    radial-gradient(360px 300px at var(--gx, 50%) var(--gy, 60%),
      rgba(255,255,255,0.18), rgba(255,255,255,0.04) 36%, transparent 64%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 18%);
  mask: linear-gradient(180deg, transparent 0%, #000 18%);
  mix-blend-mode: screen;
}
.catalog-card--float.is-lifted .catalog-box-glare { opacity: 1; }

/* Deepen the cover art for a "printed cover" look. */
.catalog-card--float .catalog-media-image { filter: saturate(1.08) contrast(1.05); }
.catalog-card--float.is-lifted .catalog-media-image { filter: saturate(1.18) contrast(1.08) brightness(1.05); }

/* Richer floor shadow so the box reads as floating/standing. */
.catalog-card--float.is-lifted {
  box-shadow:
    0 60px 100px rgba(2,6,16,0.7),
    0 0 80px color-mix(in srgb, var(--product-accent, var(--accent)) 32%, transparent) !important;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card--float.is-lifted { transform: translateY(-6px) !important; }
  .catalog-box-spine { opacity: 0 !important; }
}
@media (hover: none) {
  .catalog-box-spine, .catalog-box-glare { display: none; }
}
/* ============================================================
   3D box clipping fix — let lifted/rotated game boxes extend
   beyond the catalog panel instead of being cut at its edge.
   The .glass-panel default overflow:hidden was clipping them.
   ============================================================ */
.catalog-box.glass-panel { overflow: visible; }

/* Comfortable row spacing so neighbours don't collide when one box lifts.
   (No negative margins — those pulled the grid past the panel's bottom edge
   and made the last row spill into the next section.) */
.catalog-box .catalog-grid {
  row-gap: 34px;
  column-gap: 24px;
}

/* The card lifts toward the viewer — keep it above neighbours while lifted so
   it overlaps cleanly instead of being clipped/overlapped by the next row. */
.catalog-card--float { position: relative; z-index: 1; }
.catalog-card--float.is-lifted { z-index: 30; }

/* The panel's decorative ::before/::after glow stays clipped to the rounded
   panel via their own inset; visible overflow only affects the cards. */
/* ============================================================
   Buy / Details — smooth hover affordance + easy clicking on the 3D box.
   When the box tilts, the actions row pops forward (translateZ) and the
   buttons get a clear, smooth individual hover so they feel clickable.
   ============================================================ */

/* Actions row already lifts toward the viewer on box-lift; make the buttons
   sit on their own raised plane so the tilt never buries them. */
.catalog-card--float.is-lifted .catalog-actions { transform: translateZ(48px); }
.catalog-card--float .catalog-split-buy,
.catalog-card--float .catalog-split-details {
  transition:
    transform 0.22s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    filter 0.2s ease;
}

/* Individual button hover — smooth lift + accent glow so it's obvious & inviting. */
.catalog-card--float .catalog-split-buy:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
  filter: brightness(1.06);
}
.catalog-card--float .catalog-split-buy:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.catalog-card--float .catalog-split-buy:hover svg { transform: translateX(3px); }

.catalog-card--float .catalog-split-details:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent) 14%, rgba(255,255,255,0.04));
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: #fff;
}
.catalog-card--float .catalog-split-details:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }

/* Make the whole actions row a reliable, generous hit target on the lifted box
   (so a slightly-tilted box never makes the click feel "off"). */
.catalog-card--float .catalog-actions { position: relative; z-index: 9; }

/* Touch: no tilt, so buttons are flat — just keep the press feedback. */
@media (hover: none) {
  .catalog-card--float.is-lifted .catalog-actions { transform: none; }
  .catalog-card--float .catalog-split-buy:active,
  .catalog-card--float .catalog-split-details:active { transform: scale(0.97); }
}
/* ============================================================
   Store catalog — ownership badge.
   Overlaid by app.js decorateOwnershipBadges() on cards whose
   product slug is in the signed-in user's active entitlements.
   ============================================================ */
.catalog-owned-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--status-success, #6ee3b2) 90%, var(--text));
  background: none;
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
  white-space: nowrap;
}
.catalog-card--owned {
  box-shadow:
    0 16px 48px rgba(3, 8, 18, 0.55),
    0 0 0 1px color-mix(in srgb, var(--status-success, #6ee3b2) 28%, transparent),
    0 0 32px color-mix(in srgb, var(--status-success, #6ee3b2) 12%, transparent);
}
