/* ==========================================================================
   grok-store.css — Grok-owned storefront style layer  (v5, stacked coach hoodie)
   Fable: enqueue this LAST on every store and public page. Never edit it.
   Grok is the only author. Visual styling lives here, not in engine releases.

   Requires on body.cwcs (one-time, all stores):
     data-store="{id}" data-store-slug="{slug}"
   Vipers 583172: data-store="583172" data-store-slug="keystone-vipers"

   Fallback if those hooks are not on the body yet:
     body.cwcs:has(.sbar img[src*="cw-vipers-logo"])
   Other stores are untouched until Grok adds them.

   Theme: Keystone Vipers, U12 boys baseball.
     Hero        = the dugout
     Trust strip = the outfield wall / scoreboard
     Category    = The Locker
     GEAR UP     = the batting cage
     Coach card  = Coach's Pick
     Item page   + footer follow the same system.

   Garment photos use the engine 4:5 cover mock so Lockup logo layers stay on the garment.
   Scale the whole .mock when a cell is smaller; never contain the .ph alone.
   Written 25 Nov 2026. v1 was The Locker tiles only.
   ========================================================================== */

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) {
  --viper-red: #c8102e;
  --viper-pink: #ff2d87;
  --viper-ink: #0c0b0a;
  --viper-cream: #f5f0e6;
  --viper-dirt: #6e4f35;
  --viper-dirt-2: #8a6a4b;
  --viper-sand: #efe6d4;
  --viper-card: #11100e;
  --viper-wall: #16301c;
}

/* Shared hook note: every rule below is scoped to the Vipers :is() list. */

/* ==========================================================================
   Top bar
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .sbar {
  border-top: 4px solid var(--viper-red);
  border-bottom: 1px solid #e2dacb;
}

/* ==========================================================================
   HERO = the dugout
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero {
  position: relative;
  isolation: isolate;
}

/* Chain-link over the lower photo + a dugout rail at the bottom of the stage */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .stage.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 13px, rgba(245,240,230,.16) 13px 14px),
    repeating-linear-gradient(-45deg, transparent 0 13px, rgba(245,240,230,.16) 13px 14px),
    linear-gradient(180deg, #4a3424 0 5px, #2a1c12 5px 11px, #c8102e 11px 13px, #1a120c 13px 100%);
  background-size: auto, auto, 100% 18px;
  background-position: 0 0, 0 0, 0 100%;
  background-repeat: repeat, repeat, no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 72%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 38%, #000 72%, #000 100%);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .inner { z-index: 2; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .h {
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .9;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .eyebrow {
  color: var(--viper-cream);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--viper-red);
  margin-right: 10px;
  vertical-align: 2px;
}

/* 1-2-3 as a scoreboard strip */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero ol.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 24px;
  padding: 8px;
  background: #0c0b0a;
  border: 2px solid var(--viper-red);
  box-shadow: inset 0 0 0 1px #2a1c12, 0 6px 18px rgba(0,0,0,.35);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero ol.steps li {
  flex: 1 1 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  min-height: 44px;
  background: #161410;
  color: var(--viper-cream);
  font: 700 11px/1.25 var(--s), system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 1;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero ol.steps li::before {
  content: counter(st);
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: #e8c84a;
  color: var(--viper-ink);
  font-family: var(--d), "CWAnton", Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn {
  min-height: 48px;
  height: auto;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .08em;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn-o {
  background: var(--viper-red);
  color: #fffdf9;
  border-color: var(--viper-red);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn-o:hover { background: #a00d24; border-color: #a00d24; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn-g {
  background: transparent;
  color: var(--viper-cream);
  border: 1.5px solid rgba(245,240,230,.65);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn-g:hover { border-color: #fff; color: #fff; }

@media (max-width: 520px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero ol.steps { margin-bottom: 24px; gap: 8px; }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero ol.steps li { flex: 1 1 100%; }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns { width: 100%; }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns .btn { width: 100%; }
}

@media (max-width: 900px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .hcredit,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .hcredit.ov {
    position: static;
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
    opacity: .75;
    pointer-events: none;
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .inner { padding-bottom: 12px; }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .btns { margin-bottom: 4px; position: relative; z-index: 3; }
}


/* Photo credit stays quiet */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .dhero .hcredit { opacity: .8; }

/* ==========================================================================
   Vipers in action — a short highlight reel under the dugout
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .gallery-strip {
  background: var(--viper-ink);
  color: var(--viper-cream);
  border-bottom: 3px solid var(--viper-red);
  padding-top: 8px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .gallery-strip .eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--viper-cream);
}

/* ==========================================================================
   TRUST BAR = outfield wall / scoreboard band
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .strip {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%),
    var(--viper-wall);
  color: var(--viper-cream);
  border-top: 0;
  border-bottom: 6px solid var(--viper-red);
  box-shadow: inset 0 4px 0 #0c0b0a;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .strip .wrap {
  display: flex;
  gap: 10px 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
  font: 700 11px/1.3 var(--s), system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .strip span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  vertical-align: 0;
  background: var(--viper-red);
  transform: rotate(45deg);
}

/* ==========================================================================
   CATEGORY TILES = The Locker
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles {
  position: relative;
  padding: 40px 0 28px;
  background:
    linear-gradient(180deg, rgba(245,240,230,.82) 0%, rgba(245,240,230,.94) 48%, rgba(245,240,230,.98) 100%),
    url("https://courtwarrior.com/wp-content/uploads/2026/11/cw-vipers-photo-team-home-plate.webp") center 35% / cover no-repeat;
  border-top: 3px solid var(--viper-ink);
  border-bottom: 3px solid var(--viper-ink);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles::before {
  content: "The Locker.";
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--w, 1320px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--g, 48px) 22px;
  margin-bottom: 18px;
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .88;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--viper-ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
  background: repeating-linear-gradient(90deg, var(--viper-red) 0 10px, transparent 10px 16px) var(--g, 48px) 100% / 220px 7px no-repeat;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles::after { display: none; content: none; }

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 20px;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile {
  background: var(--viper-card);
  border: 0;
  padding: 0;
  text-align: left;
  color: #fff;
  cursor: pointer;
  font: inherit;
  position: relative;
  box-shadow: 0 14px 28px rgba(12, 11, 10, .28);
  overflow: visible;
  transition: transform .28s ease, box-shadow .28s ease;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--viper-red);
  z-index: 2;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im {
  aspect-ratio: 4 / 5;
  background: radial-gradient(120% 80% at 50% 0%, #f7f1e6 0%, #e8dcc6 70%, #d9c7a8 100%);
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 8px 0;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im .mock {
  height: 104%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  flex: none;
  transform: rotate(-2.1deg);
  transform-origin: center bottom;
  filter: drop-shadow(0 12px 18px rgba(12, 11, 10, .35));
  transition: transform .28s ease, filter .28s ease;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(even) .im .mock { transform: rotate(2deg); }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(3n) .im .mock { transform: rotate(-1.2deg); }

/* Logo layer (.cr) is % of the 4:5 .mock. Engine uses object-fit:cover on .ph.
   Never contain the photo alone — that letterboxes the garment and leaves the logo behind. */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im .mock img,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im .mock .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile b {
  display: block;
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 30px);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fffdf9;
  background: var(--viper-ink);
  padding: 12px 14px 8px;
  margin: 0;
  box-shadow: inset 0 3px 0 var(--viper-red);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile span.n {
  display: inline-block;
  font-family: var(--s), system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--viper-ink);
  background: #fffdf9;
  padding: 4px 8px 3px;
  margin: 0 12px 12px;
  border-radius: 2px;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .ctile:nth-child(1) b {
  background: var(--viper-red);
  box-shadow: inset 0 3px 0 var(--viper-ink);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .ctile:nth-child(8)::before { background: var(--viper-pink); }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .ctile:nth-child(8) b {
  background: var(--viper-pink);
  color: var(--viper-ink);
  box-shadow: inset 0 3px 0 var(--viper-ink);
}

@media (hover: hover) and (pointer: fine) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(12, 11, 10, .38);
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:hover .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(even):hover .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(3n):hover .im .mock {
    transform: rotate(0deg) translateY(-4px) scale(1.03);
    filter: drop-shadow(0 16px 22px rgba(12, 11, 10, .4));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im .mock { transition: none; transform: none; }
}

@media (max-width: 900px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .grid,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .grid.n4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles::before { font-size: clamp(40px, 12vw, 56px); }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile b {
    font-size: clamp(15px, 4.2vw, 18px);
    padding: 10px 10px 7px;
    letter-spacing: .05em;
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(even) .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile:nth-child(3n) .im .mock { transform: rotate(-0.8deg); }
}
@media (max-width: 560px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles { padding: 28px 0 18px; }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile span.n { font-size: 9px; margin: 0 10px 10px; letter-spacing: .12em; }
}

/* ==========================================================================
   GEAR UP = the batting cage
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body {
  position: relative;
  padding-top: 8px;
  background-color: var(--viper-cream);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(12,11,10,.055) 18px 19px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(12,11,10,.055) 18px 19px);
  border-top: 3px solid var(--viper-ink);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body .shead { margin-bottom: 22px; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body .shead .eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  color: var(--viper-dirt);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body .shead h2.h {
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .9;
}

/* Filter chips as pennant pills, 44px taps */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cats { display: flex; flex-wrap: wrap; gap: 8px; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip {
  min-height: 44px;
  height: auto;
  padding: 10px 18px 10px 14px;
  border: 1.5px solid var(--viper-ink);
  background: #fffdf9;
  color: var(--viper-ink);
  font: 700 11px/1 var(--s), system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px 16px 16px 2px;
  cursor: pointer;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip.on {
  background: var(--viper-ink);
  color: #fffdf9;
  border-color: var(--viper-ink);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip[data-c="youth"].on,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip[data-c="youth"] {
  /* youth chip keeps a pink tick when on */
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip[data-c="youth"].on {
  background: var(--viper-pink);
  color: var(--viper-ink);
  border-color: var(--viper-ink);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .chip[data-c="coach-gifts"].on {
  background: var(--viper-red);
  color: #fffdf9;
  border-color: var(--viper-red);
}

/* Locker-plate product cards */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard {
  background: var(--viper-card);
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 24px rgba(12,11,10,.22);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .im {
  background: radial-gradient(120% 80% at 50% 0%, #f7f1e6 0%, #e8dcc6 72%, #d9c7a8 100%);
  overflow: hidden;
  border-top: 5px solid var(--viper-red);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .im .mock .ph,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .im .mock img {
  object-fit: cover;
  object-position: center center;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .info {
  background: var(--viper-ink);
  color: #fffdf9;
  padding: 14px 14px 16px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard b {
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fffdf9;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .pr { color: #fffdf9; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .tr, body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .rz { color: #cfc5b2; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .act,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .pcard .ac {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  margin-top: 8px;
  background: var(--viper-red);
  color: #fffdf9 !important;
  border: 0;
  font: 700 11px/1 var(--s), system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Coach hoodie = Coach's Pick / MVP */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[data-c="coach-gifts"]:first-child {
  box-shadow: 0 16px 32px rgba(200,16,46,.28), 0 12px 24px rgba(12,11,10,.22);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[data-c="coach-gifts"]:first-child .im {
  border-top-color: var(--viper-red);
  border-top-width: 6px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[data-c="coach-gifts"]:first-child::after {
  content: "Coach's Pick";
  position: absolute;
  top: 16px;
  left: -4px;
  z-index: 4;
  background: var(--viper-red);
  color: #fffdf9;
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 9px 20px 8px 14px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  pointer-events: none;
}

@media (max-width: 900px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body .shelf,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .store-body .shelf.n4 { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ==========================================================================
   ITEM PAGE
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid .gallery {
  background: var(--viper-sand);
  border-top: 5px solid var(--viper-red);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid .gallery .mock,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid .gallery .mock.prod {
  background: var(--viper-sand);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid .gallery .mock .ph,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid .gallery .mock img.ph {
  object-fit: cover;
  object-position: center center;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  color: var(--viper-dirt);
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy h1.h {
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .92;
  display: inline-block;
  background: var(--viper-ink);
  color: #fffdf9;
  padding: 10px 16px 8px;
  margin: 8px 0 12px;
  box-shadow: inset 0 4px 0 var(--viper-red);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .pick .lt {
  border: 1.5px solid #cfc5b2;
  min-height: 44px;
  background: #fffdf9;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .pick .lt[aria-current="true"] {
  border-color: var(--viper-red);
  box-shadow: inset 0 0 0 2px var(--viper-red);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .sizes label span,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .sizes label > span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #cfc5b2;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .sw {
  min-width: 36px;
  min-height: 36px;
  box-sizing: border-box;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .sw[aria-current="true"] {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--viper-red);
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy #cta,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .btn-o.w100,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy button.btn-o[type="submit"] {
  background: var(--viper-red);
  color: #fffdf9;
  border-color: var(--viper-red);
  min-height: 52px;
  height: auto;
  padding: 16px 24px;
  width: 100%;
  border-radius: 2px;
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy #cta:hover,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy .btn-o.w100:hover,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-buy button.btn-o[type="submit"]:hover {
  background: #a00d24;
  border-color: #a00d24;
}

/* ==========================================================================
   SHARE + FOOTER
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .share .btn { min-height: 44px; }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .sfoot {
  background: var(--viper-ink);
  color: var(--viper-cream);
  margin-top: 0;
  border-top: 5px solid var(--viper-red);
  box-shadow: inset 0 3px 0 #0c0b0a;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .sfoot .wrap {
  padding-top: 22px;
  padding-bottom: 28px;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .sfoot a { color: var(--viper-cream); }
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .sfoot .lnk a:hover { color: #fff; }

/* Keep start-a-store button reachable */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .wrap > .btns .btn { min-height: 44px; }


/* ==========================================================================
   Coach Gift Hoodie back (existing media 581135 only — no new compositing)
   Front on top, back below, each full width. Front .mock stays a 4:5 unit
   so Lockup stays on the chest. Back art is cream-blended.
   The Coach Gifts locker tile and Coach's Pick card span 2 grid rows
   so the stack is tall, not cramped. (v5)
   ========================================================================== */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .grid .ctile[data-c="coach-gifts"] {
  grid-row: span 2;
}
@media (max-width: 900px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .cattiles .grid .ctile[data-c="coach-gifts"] {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"] .im {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  padding: 10px 8px 8px;
  position: relative;
  aspect-ratio: auto;
  height: auto;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"] .im .mock {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  align-self: center;
  justify-self: center;
  transform: none;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:nth-child(even) .im .mock,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:nth-child(3n) .im .mock,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:hover .im .mock {
  transform: none;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"] .im::after {
  content: "BACK";
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding-top: 8px;
  color: var(--viper-red);
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  background-color: #f7f1e6;
  background-image: url("https://courtwarrior.com/wp-content/uploads/2026/11/cw-vipers-mock-v2-coach-gift-back.webp");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 22px;
  border: 1px solid #e2dacb;
  pointer-events: none;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] {
  grid-row: span 2;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] .im {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  gap: 8px;
  padding: 36px 8px 8px;
  position: relative;
  aspect-ratio: auto;
  height: auto;
  overflow: hidden;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] .im .mock {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: none;
  min-height: 0;
  align-self: center;
  justify-self: center;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] .im::after {
  content: "BACK";
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding-top: 8px;
  color: var(--viper-red);
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  background-color: #f7f1e6;
  background-image: url("https://courtwarrior.com/wp-content/uploads/2026/11/cw-vipers-mock-v2-coach-gift-back.webp");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 24px;
  border: 1px solid #e2dacb;
  pointer-events: none;
}

body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid:has([name="kind"][value="p56906"]) .gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: start;
  align-self: start;
  padding: 14px;
  box-sizing: border-box;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid:has([name="kind"][value="p56906"]) .gallery .mock,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid:has([name="kind"][value="p56906"]) .gallery .mock.prod {
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid:has([name="kind"][value="p56906"]) .gallery::after {
  content: "BACK: your roster";
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  padding-top: 14px;
  color: var(--viper-ink);
  font-family: var(--d), "CWAnton", Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  background-color: #f7f1e6;
  background-image: url("https://courtwarrior.com/wp-content/uploads/2026/11/cw-vipers-mock-v2-coach-gift-back.webp");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 32px;
  border: 1px solid #e2dacb;
  pointer-events: none;
}
@media (max-width: 700px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .prod-grid:has([name="kind"][value="p56906"]) .gallery::after {
    font-size: 15px;
    background-position: center 28px;
  }
}
@media (max-width: 900px) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[data-c="coach-gifts"]:first-child::after {
    top: 10px;
    font-size: 12px;
    padding: 7px 14px 6px 10px;
  }
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .shelf .pcard[href*="/p56906/"] {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (hover: hover) and (pointer: fine) {
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:hover .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:nth-child(even):hover .im .mock,
  body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .ctile[data-c="coach-gifts"]:nth-child(3n):hover .im .mock {
    transform: none;
    filter: drop-shadow(0 16px 22px rgba(12, 11, 10, .4));
  }
}

/* --------------------------------------------------------------------------
   Cap wordmarks (v4). One Lockup card per cap, usually sized for the V.
   The engine reuses that width for Script / Stack / Block, so those marks
   render ~22% wide (tiny). Visor and Hot pink cap already have a wordmark
   Lockup at ~36-38% of the mock — use that as the presentation width.
   Keep the engine box center (Erik's placement). Do not move the default V;
   its photo-center already matches Lockup (Y snap is engine, not CSS).
   data-ap*="cap_" matches cap_structured.front and place cap_front.
   -------------------------------------------------------------------------- */
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .mock[data-ap*="cap_"] {
  container-type: inline-size;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .mock[data-ap*="cap_"] .cr {
  overflow: visible;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .mock[data-ap*="cap_"] .cr:has(img[src*="logo-script"]) img,
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .mock[data-ap*="cap_"] .cr:has(img[src*="logo-block"]) img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38cqw;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
body.cwcs:is([data-store="583172"],[data-store-slug="keystone-vipers"],.store-keystone-vipers,:has(.sbar img[src*="cw-vipers-logo"])) .mock[data-ap*="cap_"] .cr:has(img[src*="logo-stack"]) img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34cqw;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
