/* Motion Life — Luminous Studio White Category Pages (/cheats, /macros, /packs, /others).
   Unified with ml-pdp.css studio cyclorama, lockstep chrome alpha-masked sheen, zero-reflow hover reveal,
   smoked-crystal category dock, and WCAG AA contrast. */
:root {
  --sr-sans: var(--p-sans, "Inter Tight", Roobert, -apple-system, BlinkMacSystemFont, sans-serif);
  --sr-ink: #151515;
  --sr-muted: #575963;
  --sr-dim: rgba(21, 21, 21, .50);
  --sr-black: #101010;
  --sr-pad: clamp(1rem, 3vw, 2.75rem);
  --sr-ease-out: cubic-bezier(.22, 1, .36, 1);
  --sr-settle: cubic-bezier(.16, 1, .3, 1);
  --sr-snap: cubic-bezier(.2, 1, .32, 1);
  --sr-fs-title: clamp(1.12rem, 1.32vw, 1.38rem);
  --sr-fs-body: 15px;
  --sr-fs-meta: 13.5px;
  --sr-studio-bg:
    radial-gradient(110% 85% at 0% 0%, #e3e4e9 0%, rgba(227, 228, 233, 0) 46%),
    radial-gradient(110% 85% at 100% 0%, #e3e4e9 0%, rgba(227, 228, 233, 0) 46%),
    linear-gradient(180deg, #eceef2 0%, #e9eaee 58%, #e5e6eb 100%);
  --sr-sh-card:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 0 0 1px rgba(16, 16, 18, .065),
    0 2px 5px rgba(16, 16, 18, .04),
    0 18px 40px -16px rgba(16, 16, 18, .17);
  --sr-sh-card-h:
    inset 0 1px 0 #ffffff,
    0 0 0 1px rgba(16, 16, 18, .10),
    0 6px 14px rgba(16, 16, 18, .06),
    0 28px 58px -18px rgba(16, 16, 18, .26);
  --sr-sh-dock:
    0 0 0 1px rgba(16, 16, 18, .12),
    0 2px 4px rgba(16, 16, 18, .20),
    0 14px 32px -8px rgba(16, 16, 18, .28),
    0 28px 56px -18px rgba(16, 16, 18, .34);
}

html[data-tpl="category"],
html[data-tpl="products"] {
  color-scheme: only light;
  accent-color: var(--sr-black);
  scroll-padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

html[data-tpl="category"] ::selection,
html[data-tpl="products"] ::selection {
  background: var(--sr-black);
  color: #ffffff;
}

html[data-tpl="category"],
html[data-tpl="category"] body,
html[data-tpl="products"],
html[data-tpl="products"] body,
body.is-cat {
  margin: 0;
  padding: 0;
  background: #eceef2 !important;
  color: var(--sr-ink);
  font-family: var(--sr-sans);
  -webkit-font-smoothing: antialiased;
}

html[data-tpl="category"] .flex-wrapper,
html[data-tpl="products"] .flex-wrapper,
body.is-cat .flex-wrapper {
  background: transparent !important;
  min-height: 100vh;
  min-height: 100svh;
}

/* Hide legacy dark storefront chrome/footer on 1-screen studio category views */
html[data-tpl="category"] .gk-footer,
html[data-tpl="category"] footer.ml-ft,
html[data-tpl="category"] .ml-mq,
html[data-tpl="category"] .bg-image,
html[data-tpl="products"] .gk-footer,
html[data-tpl="products"] footer.ml-ft,
html[data-tpl="products"] .ml-mq,
html[data-tpl="products"] .bg-image,
body.is-cat .gk-footer,
body.is-cat footer.ml-ft,
body.is-cat .ml-mq,
body.is-cat .bg-image {
  display: none !important;
}

/* Static GPU-free anti-banding studio grain (matches ml-pdp.css) */
.sr-cat__grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .022;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Luminous studio cyclorama */
.sr-cat {
  position: relative;
  color: var(--sr-ink);
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  padding: 0 var(--sr-pad) calc(5.75rem + env(safe-area-inset-bottom, 0px));
  background: var(--sr-studio-bg);
}

.sr-cat__backdrop {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}

.sr-cat__pool {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 1680px;
  height: 1680px;
  margin: -840px 0 0 -840px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, #ffffff 0px, #ffffff 340px, #f4f4f7 560px, rgba(236, 238, 242, 0) 820px);
}

.sr-cat__glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 54vw;
  height: 54vw;
  max-width: 820px;
  max-height: 820px;
  margin: -27vw 0 0 -27vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: .72;
  will-change: transform;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
}

/* Architectural category heading (generous air below fixed pill nav matching PDP) */
.sr-cat__hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(6.75rem, 7.6vw, 7.5rem) 0 clamp(.75rem, 1.1vw, 1.15rem);
}

.sr-h1 {
  margin: 0 auto;
  font-family: var(--sr-sans);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  font-size: clamp(2.35rem, 4vw, 4rem);
  color: var(--sr-ink);
  text-wrap: balance;
}

.sr-h1 .dim {
  color: var(--sr-dim);
  font-weight: 700;
}

.sr-i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  display: block;
}

/* ---------- Studio Bento Grids ---------- */
.sr-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  perspective: 1400px;
}

.grid--cat {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(17.5rem, 1fr);
}

.grid--packs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(17rem, 1fr);
}

.grid--others {
  max-width: 1200px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(18.5rem, 1fr);
}

/* ---------- Elevated Studio Pedestal Cards ---------- */
/* NOTE: Never transition `transform` on .pc — GSAP quickTo owns 3D tilt & tactile press cleanly */
.pc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #f7f8fa 100%);
  color: var(--sr-ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  -webkit-user-drag: none;
  box-shadow: var(--sr-sh-card);
  transition: box-shadow .32s var(--sr-ease-out), opacity .22s var(--sr-ease-out);
}

.pc:focus-visible {
  outline: 2.5px solid var(--sr-black);
  outline-offset: 3px;
}

.pc.big {
  grid-column: span 2;
  grid-row: span 2;
  padding: 20px 26px 26px;
}

/* Pointer-tracked metallic rim + soft surface sheen */
.pc::before,
.pc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s var(--sr-ease-out);
}

.pc::before {
  z-index: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 42%), rgba(255, 255, 255, 0) 18%, rgba(206, 209, 219, .24) 100%);
}

.pc::after {
  z-index: 5;
  padding: 1.5px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 42%), #ffffff 0%, #8e8e98 16%, #f4f4f7 32%, #a2a2ac 48%, rgba(190, 192, 202, .32) 64%, rgba(255, 255, 255, 0) 78%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Top bar: floating status dot (only when OOS) + hover arrow — zero clutter */
.pc__top {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  pointer-events: none;
}

.pc.big .pc__top {
  top: 20px;
  left: 24px;
  right: 20px;
}

.pc__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--sr-fs-meta);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--sr-muted);
  transition: color .2s var(--sr-ease-out);
}

.pc__oos-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c83333;
  flex: none;
}

.pc.is-oos .pc__meta {
  color: #9e2424;
}

.pc__go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sr-black);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
  pointer-events: none;
  opacity: 0;
  transform: scale(.74) rotate(-32deg);
  transition: opacity .22s var(--sr-ease-out), transform .28s var(--sr-ease-out);
}

/* Center sculpture stage: constant height on hover (zero flex-shrink reflow) */
.pc__stage {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 112px;
  margin: 4px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pc.big .pc__stage {
  margin: 10px 0 12px;
}

.pc__fig {
  position: relative;
  width: 84%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .36s var(--sr-ease-out);
  will-change: transform;
}

/* Lockstep parallax wrapper: translates BOTH chrome sculpture AND alpha-masked sheen together */
.pc__par {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.pc__par img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 80%;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Fix Better Movement hip straight-line crop with a clean feathered dissolve into studio white */
.pc[data-item-key="better-movement"] .pc__fig {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
}

/* Alpha-masked metallic chrome light pass (moves in lockstep inside .pc__par) */
.pc__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: overlay;
  -webkit-mask: var(--sheen-mask) 50% 80% / contain no-repeat;
  mask: var(--sheen-mask) 50% 80% / contain no-repeat;
}

.pc__sheen b {
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: 0;
  width: 36%;
  opacity: 0;
  transform: translate3d(-160%, 0, 0) skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .82) 50%, rgba(255, 255, 255, 0));
  will-change: transform, opacity;
}

/* Grounded elliptical floor contact shadow (hidden on PNGs that carry baked shadows or wide landscape renders) */
.pc__shadow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46%;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 16, 18, .16), rgba(16, 16, 18, 0));
  filter: blur(4px);
  transition: transform .36s var(--sr-ease-out), opacity .28s var(--sr-ease-out);
}

.pc.long .pc__shadow,
.pc[data-item-key="sound-pack-voucher"] .pc__shadow,
.pc[data-item-key="macro-bundle"] .pc__shadow {
  display: none;
}

/* Card typography */
.pc__txt {
  position: relative;
  z-index: 3;
  flex: none;
  text-align: center;
  transition: transform .26s var(--sr-ease-out);
}

.pc h3 {
  margin: 0;
  font-family: var(--sr-sans);
  font-size: var(--sr-fs-title);
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.12;
  color: var(--sr-ink);
  text-wrap: balance;
}

.pc.big h3 {
  font-size: clamp(1.85rem, 2.55vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.034em;
  line-height: 1.05;
}

.pc__reveal {
  margin-top: 6px;
}

.pc__line {
  margin: 0 auto;
  max-width: 30ch;
  font-size: var(--sr-fs-body);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.008em;
  color: var(--sr-muted);
  text-wrap: pretty;
}

.pc.big .pc__line {
  max-width: 46ch;
}

.pc__pr {
  margin-top: 7px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-size: var(--sr-fs-body);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--sr-ink);
}

.pc__pr b {
  font-weight: 700;
  color: var(--sr-ink);
}

.pc.big .pc__pr {
  margin-top: 9px;
  font-size: 17px;
}

.pc__pr s {
  color: var(--sr-muted);
  font-weight: 500;
  text-decoration-thickness: 1.4px;
}

.pc__pr .from {
  color: var(--sr-muted);
  font-weight: 500;
}

/* Hover & focus physics gated strictly to true hover pointers (Emil Kowalski guardrail) */
@media (hover: hover) and (pointer: fine) {
  .pc:hover {
    color: var(--sr-ink);
    box-shadow: var(--sr-sh-card-h);
  }

  .pc:hover::before,
  .pc:hover::after {
    opacity: 1;
  }

  .pc:hover .pc__meta {
    color: var(--sr-ink);
  }

  .pc:hover .pc__go {
    opacity: 1;
    transform: none;
  }

  .pc:hover .pc__fig {
    transform: translate3d(0, -10px, 0) scale(1.045);
  }

  .pc:hover .pc__shadow {
    transform: translateX(-50%) scale(.84, .88);
    opacity: .50;
  }

  .sr-grid[data-cards="cat"]:has(.pc[data-ready="1"]:hover) .pc[data-ready="1"]:not(:hover) {
    opacity: .84;
  }
}

.pc:focus-visible .pc__go,
.pc:focus-within .pc__go {
  opacity: 1;
  transform: none;
}

/* ---------- Bottom-Right Homepage Category Stack (1:1 port of shop.njk / sr-home.css) ---------- */
.sr-cat .stack-wrap {
  position: fixed;
  z-index: 420;
  right: var(--sr-pad);
  bottom: 1rem;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .24s var(--sr-ease-out), transform .28s var(--sr-ease-out);
}

html.sr-menu-open .sr-cat .stack-wrap,
html.ct-on .sr-cat .stack-wrap {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
}

.sr-cat .stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  height: 4.5rem;
  position: relative;
}

.sr-cat .stack > div {
  padding: .25rem .35rem;
  position: relative;
  flex: none;
}

.sr-cat .stack > div:nth-last-child(2) {
  transition: transform .64s var(--sr-ease-out);
  transform: translateY(90%) scale(.93);
}

.sr-cat .stack > div:nth-last-child(3) {
  transition: transform .64s var(--sr-ease-out);
  transform: translateY(180%) scale(.87);
}

.sr-cat .stack > div:nth-last-child(4) {
  transition: transform .64s var(--sr-ease-out);
  transform: translateY(270%) scale(.8);
}

.sr-cat .stack .card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  padding: .25rem;
  border-radius: .9rem;
  background: rgba(34, 34, 38, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 28px -10px rgba(16, 16, 20, .35);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  margin-left: auto;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform .38s var(--sr-ease-out), background-color .28s var(--sr-ease-out);
}

.sr-cat .stack .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.sr-cat .stack .name {
  position: absolute;
  right: calc(100% + .6rem);
  top: 50%;
  transform: translate(10px, -50%);
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(18, 18, 22, .88);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: NBArchitekt, var(--sr-sans);
  font-size: .7rem;
  line-height: 1.1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(16, 16, 20, .4);
  transition: opacity .35s var(--sr-ease-out), transform .35s var(--sr-ease-out);
}

@media (hover: hover) {
  .sr-cat .stack:hover,
  .sr-cat .stack:focus-within {
    height: auto;
  }
  .sr-cat .stack:hover > div,
  .sr-cat .stack:focus-within > div {
    transition: transform .68s var(--sr-ease-out);
    transform: translateY(0) scale(1);
  }
  .sr-cat .stack > div:hover .card,
  .sr-cat .stack .card:focus-visible {
    background: rgba(20, 20, 24, .92);
    transform: scale(1.12);
    outline: none;
  }
  .sr-cat .stack > div:hover .name,
  .sr-cat .stack > div:focus-within .name {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.sr-cat .shop-now {
  position: absolute;
  right: calc(3.75rem + 1rem);
  bottom: .25rem;
  width: auto;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--sr-ease-out);
  font-family: NBArchitekt, var(--sr-sans);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sr-black);
}

.sr-cat .shop-now.visible {
  opacity: 1;
  pointer-events: auto;
}

.sr-cat .stack-wrap:has(.stack:hover) .shop-now.visible,
.sr-cat .stack-wrap:has(.stack:focus-within) .shop-now.visible {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Desktop Layout (>= 901px) ---------- */
@media (min-width: 901px) {
  .sr-cat {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-bottom: 5.15rem;
  }

  .sr-cat__hero {
    flex: none;
    padding: clamp(6.75rem, 7.6vw, 7.6rem) 0 clamp(.65rem, 1vw, 1rem);
  }

  .sr-h1 {
    font-size: clamp(2.35rem, 3.8vw, 3.9rem);
  }

  .sr-grid {
    flex: 1;
    min-height: 0;
    grid-auto-rows: auto;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Float top meta + hover arrow in corners on vertical desktop cards to reclaim ~28px of stage height */
  .pc:not(.long) .pc__top {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 18px;
  }

  .pc:not(.long) .pc__stage {
    margin-top: 22px;
  }

  .pc.big .pc__stage {
    margin-top: 26px;
    margin-bottom: 10px;
  }

  /* ZERO-REFLOW HOVER REVEAL on compact desktop cards:
     Sculpture stage height stays 100% constant; pitch rises inside a luminous white studio fade without shrinking art */
  .pc:not(.big):not(.long) {
    padding-bottom: 72px;
  }

  .pc:not(.big):not(.long) .pc__txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .94) 26%, #ffffff 44%);
    transition: transform .26s var(--sr-ease-out);
  }

  .pc:not(.big):not(.long) .pc__reveal {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 39px;
    margin-top: 0;
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    pointer-events: none;
    transition: opacity .22s var(--sr-ease-out), transform .26s var(--sr-ease-out);
  }

  .pc:not(.big):not(.long) h3 {
    transition: transform .26s var(--sr-ease-out);
  }

  .pc:not(.big):not(.long) .pc__line {
    font-size: 13.5px;
    line-height: 1.3;
    max-width: 30ch;
  }

  @media (hover: hover) and (pointer: fine) {
    .pc:not(.big):not(.long):hover .pc__fig {
      transform: translate3d(0, -19px, 0) scale(1.045);
    }

    .pc:not(.big):not(.long):hover h3 {
      transform: translate3d(0, -21px, 0);
    }

    .pc:not(.big):not(.long):hover .pc__reveal {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .pc:not(.big):not(.long):focus-visible .pc__fig,
  .pc:not(.big):not(.long):focus-within .pc__fig {
    transform: translate3d(0, -19px, 0) scale(1.045);
  }

  .pc:not(.big):not(.long):focus-visible h3,
  .pc:not(.big):not(.long):focus-within h3 {
    transform: translate3d(0, -21px, 0);
  }

  .pc:not(.big):not(.long):focus-visible .pc__reveal,
  .pc:not(.big):not(.long):focus-within .pc__reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* Packs: 2 tall flagship left (aligned title + price baseline) + 2 compact top-right + 1 wide bottom-right */
  .grid--packs .pc.big {
    grid-column: auto;
    grid-row: span 2;
    padding: 20px 22px 24px;
  }

  .grid--packs .pc.big h3 {
    font-size: clamp(1.5rem, 1.85vw, 2.02rem);
  }

  .grid--packs .pc.big .pc__txt {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .grid--packs .pc.big .pc__pr {
    margin-top: auto;
    padding-top: 8px;
  }

  .grid--packs .pc.long {
    grid-column: 3 / 5;
  }

  /* Others: 1 tall flagship left + 2 wide stacked right, balanced centered studio frame */
  .grid--others .pc.big {
    grid-column: auto;
    grid-row: span 2;
  }

  .grid--others .pc.big h3 {
    font-size: clamp(1.9rem, 2.5vw, 2.65rem);
  }

  .grid--others .pc.long {
    grid-column: auto;
  }

  /* Wide horizontal cards (Cartoon Reshade, PC Setup Help, Skinny Mod): balanced 2-column studio grid */
  .pc.long {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    grid-template-rows: 1fr;
    column-gap: 14px;
    padding: 20px 24px 22px 28px;
  }

  .pc.long .pc__txt {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    text-align: left;
    padding-right: 4px;
  }

  .pc.long .pc__line {
    margin: 0;
    max-width: 24ch;
  }

  .pc.long .pc__pr {
    justify-content: flex-start;
    margin-top: 12px;
    font-size: 16.5px;
  }

  .pc.long h3 {
    font-size: clamp(1.45rem, 1.9vw, 1.98rem);
    font-weight: 800;
    letter-spacing: -.032em;
    line-height: 1.08;
  }

  .pc.long .pc__stage {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 4px 0;
    min-height: 0;
    height: 100%;
    position: relative;
  }

  .pc.long .pc__par img {
    object-position: 50% 62%;
  }

  .pc.long .pc__sheen {
    -webkit-mask-position: 50% 62%;
    mask-position: 50% 62%;
  }

  /* Subtle studio spotlight behind slim figures in wide cards */
  .pc.long[data-item-key="skinny-mod"] .pc__stage::before {
    content: "";
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 234, 240, .65) 0%, rgba(232, 234, 240, 0) 70%);
    pointer-events: none;
  }

  .pc.long .pc__fig {
    width: 92%;
  }
}

/* Lock strict 1-screen zero-scroll fit on laptops/monitors >= 800px tall (falls back to clean scroll on shorter 768px screens) */
@media (min-width: 901px) and (min-height: 800px) {
  .sr-cat {
    height: 100vh;
    height: 100svh;
  }
}

/* ---------- Tablet (768px - 900px) ---------- */
@media (max-width: 900px) {
  .grid--cat,
  .grid--packs,
  .grid--others {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .pc {
    min-block-size: 20rem;
  }

  .pc.big,
  .grid--others .pc.big,
  .pc.long {
    grid-column: span 2;
    grid-row: span 1;
    min-block-size: 21rem;
  }

  /* Keep Packs' two tall flagships paired side by side cleanly */
  .grid--packs .pc.big {
    grid-column: span 1;
    min-block-size: 21rem;
  }

  .pc__stage {
    min-height: 148px;
  }

  .pc.big h3 {
    font-size: 1.75rem;
  }
}

/* ---------- Phone (<= 767px, e.g. 390x844) ---------- */
@media (max-width: 767px) {
  .sr-cat {
    padding: 0 .85rem calc(6.2rem + env(safe-area-inset-bottom, 0px));
  }

  .sr-cat__hero {
    padding: 5.55rem 0 1.25rem;
  }

  .sr-h1 {
    font-size: 2.2rem;
  }

  .sr-grid {
    gap: 10px;
  }

  .pc {
    border-radius: 22px;
    padding: 14px 12px 16px;
    min-block-size: 13.5rem;
  }

  .pc.big {
    padding: 16px 16px 18px;
    min-block-size: 16rem;
  }

  .pc.long {
    padding: 14px 16px 16px;
    min-block-size: 14.25rem;
  }

  .grid--packs .pc.big {
    grid-column: span 1;
    padding: 14px 12px 16px;
    min-block-size: 13.5rem;
  }

  .pc__top {
    min-height: 22px;
  }

  .pc__meta {
    font-size: 12px;
  }

  .pc__go {
    display: none;
  }

  .pc__stage {
    min-height: 128px;
    height: 146px;
    flex: 1 1 auto;
    margin: 4px 0 8px;
  }

  .pc.big .pc__stage {
    height: 184px;
  }

  .pc.long .pc__stage {
    height: 158px;
  }

  .grid--packs .pc.big .pc__stage {
    height: 146px;
  }

  .pc__fig {
    width: 92%;
  }

  .pc__par img {
    object-position: 50% 60%;
  }

  /* Equalize side-by-side clean title baselines on mobile */
  .pc__txt {
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
  }

  .pc h3,
  .grid--packs .pc.big h3 {
    font-size: 1.02rem;
    line-height: 1.15;
    font-weight: 700;
  }

  .pc.big h3 {
    font-size: 1.45rem;
  }

  .pc.long h3 {
    font-size: 1.25rem;
  }

  .pc__reveal {
    margin-top: 5px;
  }

  .pc__line {
    font-size: 13px;
    line-height: 1.32;
  }

  .pc__pr,
  .pc.big .pc__pr {
    font-size: 14px;
    margin-top: auto;
    padding-top: 8px;
  }

  /* Mobile category switcher: exact 1:1 homepage 4-across horizontal strip */
  .sr-cat {
    padding: 0 .85rem 2rem;
  }

  .sr-cat .stack-wrap {
    position: static;
    margin-top: 1.4rem;
  }

  .sr-cat .stack {
    flex-direction: row;
    height: auto;
    justify-content: flex-start;
    gap: .5rem;
  }

  .sr-cat .stack > div,
  .sr-cat .stack > div:nth-last-child(n) {
    flex: 1;
    min-width: 0;
    transform: none !important;
    padding: 0;
  }

  .sr-cat .stack .card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-left: 0;
  }

  .sr-cat .stack .name {
    position: static;
    opacity: 1;
    transform: none;
    background: none;
    box-shadow: none;
    color: var(--sr-black);
    justify-content: center;
    display: flex;
    padding: 0;
    margin-top: .35rem;
    font-size: .65rem;
  }

  .sr-cat .shop-now {
    display: none;
  }
}

/* ---------- Reduced Motion Support ---------- */
@media (prefers-reduced-motion: reduce) {
  .pc,
  .pc__fig,
  .pc__shadow,
  .pc__go,
  .pc__reveal,
  .pc h3,
  .sr-cat .stack-wrap,
  .sr-cat .stack > div,
  .sr-cat .stack .card,
  .sr-cat .stack .name {
    transition-duration: .01ms !important;
  }

  .pc__sheen b {
    display: none !important;
  }
}
