/* Collection, search and 404 pages, plus the product card (pc-) used across the site.
   Custom store design (Oct 2026). Brand tokens come from site.css; the fallbacks below only
   matter if this file is ever loaded without it. Class prefixes: cl- (pages), pc- (card). */

.cl, .pc, .gd-shelf {
  --cl-navy: var(--navy, #041e42);
  --cl-gold: var(--gold, #ffb81c);
  --cl-blue: var(--blue, #4b92db);
  --cl-line: var(--line, #e4e8ee);
  --cl-plate: var(--plate, #f1f3f6);
  --cl-mist: var(--mist, #f7f8fa);
  --cl-muted: var(--muted, #5a6b82);
  --cl-sale: #c8102e;
  --cl-low: #a35500;
  --cl-r: var(--radius, 3px);
  --cl-display: var(--display, "Jost", "Futura", sans-serif);
}
.cl .vh, .pc .vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.cl-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: var(--cl-r); border: 1px solid var(--cl-navy); background: var(--cl-navy); color: #fff; font: 600 15px var(--body, inherit); letter-spacing: .01em; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.cl-btn:hover { background: var(--navy-deep, #0c2340); }
.cl-btn--line { background: #fff; color: var(--cl-navy); }
.cl-btn--line:hover { background: var(--cl-mist); }
.cl-btn--gold { background: var(--cl-gold); border-color: var(--cl-gold); color: var(--cl-navy); }
.cl-btn--gold:hover { background: #ffc94d; border-color: #ffc94d; }
.cl-btn--white { background: #fff; border-color: #fff; color: var(--cl-navy); }
.cl-btn--white:hover { background: var(--cl-mist); }
.cl-btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.cl-btn--ghost:hover { background: #fff; color: var(--cl-navy); border-color: #fff; }

/* Header: full-bleed photo, huge title */
.cl-hero { position: relative; overflow: hidden; color: #fff; background: var(--cl-navy); }
.cl-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 0%; }
.cl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,30,66,.9) 0%, rgba(4,30,66,.58) 45%, rgba(4,30,66,.08) 80%); }
.cl-hero--plain { background: radial-gradient(circle at 85% 0%, rgba(75,146,219,.28) 0, rgba(75,146,219,0) 45%), linear-gradient(135deg, #062d64 0%, var(--cl-navy) 50%, #020d1c 100%); }
.cl-hero--plain::after { content: none; }
.cl-hero .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); }
.cl-hero--plain .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.cl-crumbs { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.cl-crumbs a:hover { color: #fff; text-decoration: underline; }
.cl-hero h1 { max-width: 12ch; font-family: var(--cl-display); font-weight: 800; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .92; letter-spacing: -.02em; overflow-wrap: break-word; }
.cl-hero p { max-width: 46ch; margin: 1rem 0 0; font-size: 1.1rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.cl-price-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.cl-price-links a { padding: 7px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; font-size: 14px; font-weight: 600; color: #fff; }
.cl-price-links a:hover, .cl-price-links a[aria-current] { background: #fff; color: var(--cl-navy); }
.cl-hero--plain .cl-price-links a { border-color: var(--cl-line); color: var(--cl-navy); }
.cl-hero small { display: block; margin-top: 1.4rem; font: 600 12px var(--cl-display); letter-spacing: .18em; text-transform: uppercase; color: var(--cl-gold); }
.cl-eyebrow { margin: 0 0 1rem !important; font: 700 12px var(--cl-display) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--cl-gold) !important; }
.cl-hero--404 h1 { max-width: 14ch; font-size: clamp(2.6rem, 7vw, 5.5rem); }

/* Search field (search + 404 headers) */
.cl-search { display: flex; gap: 8px; max-width: 620px; margin-top: 1.6rem; }
.cl-search input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 0; border-radius: var(--cl-r); font: inherit; font-size: 17px; color: var(--ink, #0b1b2a); background: #fff; }
.cl-search input:focus-visible { outline: 3px solid var(--cl-gold); outline-offset: 0; }
.cl-search .cl-btn { height: 54px; }
.cl-404-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.cl-404-links .cl-btn { height: 44px; padding: 0 18px; font-size: 14px; }

/* Collection chips */
.cl-chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 18px; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl-chips::-webkit-scrollbar { display: none; }
.cl-chips a { flex: none; padding: 8px 16px; border: 1px solid var(--cl-line); border-radius: 99px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--cl-navy); white-space: nowrap; transition: border-color .15s; }
.cl-chips a:hover { border-color: var(--cl-navy); }
.cl-chips a.on { background: var(--cl-navy); border-color: var(--cl-navy); color: #fff; }
.cl-chips--wrap { flex-wrap: wrap; overflow: visible; padding-top: 0; }

/* Toolbar: sizes, in-stock toggle, sort, count; sticks under the header */
.cl-bar { position: sticky; top: var(--cl-top, 72px); z-index: 40; margin-top: 18px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--cl-line); -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px); }
.cl-bar--flat { position: static; margin-top: 0; }
.cl-bar-in { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.cl-label { font: 700 12px var(--cl-display); letter-spacing: .14em; text-transform: uppercase; color: var(--cl-muted); }
.cl-sizes { display: flex; gap: 6px; }
.cl-sizes a { display: inline-grid; place-items: center; min-width: 42px; height: 34px; padding: 0 10px; border: 1px solid var(--cl-line); border-radius: var(--cl-r); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink, #0b1b2a); transition: border-color .15s; }
.cl-sizes a:hover { border-color: var(--cl-navy); }
.cl-sizes a.on { border-color: var(--cl-navy); background: var(--cl-navy); color: #fff; }
.cl-sizes a.none { color: var(--cl-muted); font-weight: 500; }
.cl-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.cl-toggle i { position: relative; width: 34px; height: 20px; border-radius: 99px; background: #c9d2de; transition: background .15s; }
.cl-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cl-toggle.on i { background: var(--cl-navy); }
.cl-toggle.on i::after { transform: translateX(14px); }
.cl-sort { position: relative; display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; font-size: 14px; }
.cl-sort select { appearance: none; -webkit-appearance: none; height: 34px; padding: 0 22px 0 4px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23041e42' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center / 10px 6px; font: 600 14px var(--body, inherit); color: var(--cl-navy); cursor: pointer; }
.cl-go { height: 34px; padding: 0 12px; border: 1px solid var(--cl-navy); border-radius: var(--cl-r); background: #fff; color: var(--cl-navy); font-weight: 600; cursor: pointer; }
.cl-count { flex: none; color: var(--cl-muted); font-size: 14px; }
.cl-count--left { margin-right: auto; }

.cl-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 13px; }
.cl-active a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: var(--cl-plate); font-weight: 600; color: var(--cl-navy); }
.cl-active a:hover { background: var(--cl-line); }
.cl-active .cl-clear { background: none; text-decoration: underline; color: var(--cl-muted); }

/* Grid */
.cl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; padding-block: 32px 64px; }
.cl-h2 { margin: 40px 0 0; font-family: var(--cl-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; color: var(--cl-navy); }
.cl-results .cl-chips--wrap { margin-top: 18px; }
.cl-results { padding-bottom: 64px; }
.cl-results .cl-grid { padding-bottom: 24px; }

/* Wide photo tile in the grid */
.cl-feature { grid-column: span 2; position: relative; min-height: 320px; overflow: hidden; border-radius: 12px; background: var(--cl-navy); color: #fff; }
.cl-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cl-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,30,66,.88) 0%, rgba(4,30,66,0) 55%); }
.cl-feature div { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
.cl-feature small { font: 700 12px var(--cl-display); letter-spacing: .18em; text-transform: uppercase; color: var(--cl-gold); }
.cl-feature h3 { margin: 6px 0 12px; font-family: var(--cl-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; }
.cl-feature span { font-weight: 600; border-bottom: 2px solid var(--cl-gold); }

/* Load more */
.cl-more { padding-bottom: 72px; text-align: center; }
.cl-more p { margin: 0; color: var(--cl-muted); font-size: 14px; }
.cl-progress { width: 220px; height: 3px; margin: 10px auto 16px; border-radius: 3px; background: var(--cl-line); overflow: hidden; }
.cl-progress i { display: block; height: 100%; background: var(--cl-navy); transition: width .3s; }
.cl-more-btns { display: flex; justify-content: center; gap: 10px; }
.cl-more [aria-busy="true"] { opacity: .6; pointer-events: none; }

.cl-empty { padding: 48px 0 72px; }
.cl-empty h2 { font-family: var(--cl-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cl-navy); }
.cl-empty p { color: var(--cl-muted); margin: .6rem 0 1rem; }
.cl-empty p a { color: var(--cl-navy); font-weight: 600; border-bottom: 2px solid var(--cl-gold); }

.cl-about { max-width: 68ch; padding: 0 0 72px; }
.cl-about h2 { font: 700 12px var(--cl-display); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-ink, #2b6cb0); margin-bottom: 10px; }
.cl-about p { margin: 0; color: var(--cl-muted); line-height: 1.7; }

/* Search: pages + pager */
.cl-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 24px; }
.cl-page { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--cl-line); border-radius: var(--cl-r); transition: border-color .15s; }
.cl-page:hover { border-color: var(--cl-navy); }
.cl-page-ph { display: grid; place-items: center; width: 72px; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--cl-navy); color: var(--cl-gold); font: 800 28px var(--cl-display); }
.cl-page-ph img { width: 100%; height: 100%; object-fit: cover; }
.cl-page-t { font-weight: 600; color: var(--cl-navy); line-height: 1.25; }
.cl-page-t small { display: block; margin-top: 4px; font-weight: 500; font-size: 13px; color: var(--cl-muted); }
.cl-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.cl-pager a, .cl-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--cl-line); border-radius: var(--cl-r); font-weight: 600; color: var(--cl-navy); }
.cl-pager span { border-color: transparent; }
.cl-pager a:hover { border-color: var(--cl-navy); }
.cl-pager a[aria-current] { background: var(--cl-navy); border-color: var(--cl-navy); color: #fff; }

/* 404 shelf */
.cl-shelf { padding-top: clamp(40px, 6vw, 64px); }
.cl-shelf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.cl-shelf-head .cl-h2 { margin: 0; }
.cl-shelf-head a { font-weight: 600; color: var(--cl-navy); border-bottom: 2px solid var(--cl-gold); white-space: nowrap; }
.cl-grid--shelf { padding-top: 22px; }

/* ---- Product card ---- */
.pc { position: relative; min-width: 0; }
/* Square, like every product photo, so the whole product shows (4:5 cut ~20% off the sides). */
/* White with rounded corners and a faint border, like the Aug 2026 theme's product cards. */
.pc-ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid rgba(4,30,66,.08); border-radius: 12px; background: #fff; }
.pc-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.pc-ph .pc-alt { opacity: 0; }
.pc-ph--fit img:not(.pc-alt) { padding: 7%; object-fit: contain; }
@media (hover: hover) {
  .pc:hover .pc-ph .pc-alt { opacity: 1; }
}
.pc.is-out .pc-ph img:not(.pc-alt) { opacity: .55; }
.pc-flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.pc-flag { padding: 4px 9px; border-radius: 2px; background: #fff; color: var(--cl-navy); }
.pc-flag--sale { background: var(--cl-sale); color: #fff; }
.pc-flag--gold { background: var(--cl-gold); }
.pc-flag--out { background: var(--cl-navy); color: #fff; }
/* Sold out / Sale / Pre-order: a two-part tab (label on navy, local saying in the flag color)
   sticking out above the photo like a card in a wallet, its bottom tucked behind the photo, as
   on the Aug 2026 theme. Every card in a row with a tab gets the same room above it, so the
   photos stay lined up. */
.pc { --tab-h: clamp(40px, 4vw, 56px); --tab-tuck: clamp(9px, 1vw, 14px); --tab-gut: clamp(6px, .75vw, 12px); position: relative; }
:has(> .pc .pc-tab) > .pc { padding-top: calc(var(--tab-h) - var(--tab-tuck)); }
.pc-ph { z-index: 1; }
.pc-tab { position: absolute; top: 0; left: var(--tab-gut); right: var(--tab-gut); z-index: 0; display: flex; height: var(--tab-h); overflow: hidden; border-radius: clamp(9px, .8vw, 14px); box-shadow: 0 3px 9px rgba(4,30,66,.2); text-align: center; text-transform: uppercase; line-height: 1; }
.pc-tab b, .pc-tab span { display: flex; align-items: center; justify-content: center; padding: 0 clamp(6px, .8vw, 14px) var(--tab-tuck); }
/* One type style for every tag: both halves of the wallet tab and the pills on the photo. */
.pc-tab b, .pc-tab span, .pc-flag { font: 800 clamp(10px, .85vw, 12px)/1.15 var(--cl-display); letter-spacing: .08em; text-transform: uppercase; }
.pc-tab b { flex: none; background: var(--cl-navy); color: #fff; white-space: nowrap; }
.pc-tab span { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }
.pc-tab--out span { background: #2b6cb0; color: #fff; text-shadow: 0 1px 1px rgba(4,30,66,.6); }
.pc-tab--sale span { background: var(--cl-gold); color: var(--cl-navy); }
/* Game-day schedule card: fills the slots the team's shirts don't (partials/game-shelf.php). */
.gd-sched { position: relative; z-index: 1; grid-column: span var(--rest, 1); display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; align-self: stretch; padding: clamp(18px, 2.2vw, 28px); background: var(--th-base, transparent); border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); border-radius: 12px; }
.gd-sched ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.gd-sched li { display: grid; gap: 2px; padding-left: 12px; border-left: 3px solid var(--th-ring, var(--gold, #ffb81c)); }
.gd-sched li b { font: 700 clamp(17px, 1.6vw, 21px)/1.2 var(--cl-display); }
.gd-sched li span { opacity: .75; }
.gd-sched--only { grid-column: 1 / -1; }
/* "Next up" card head; the games are styled under "Next up card" below. */
.gd-sched__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gd-sched__head a { font-size: 13px; font-weight: 600; color: inherit; opacity: .7; text-decoration: none; }
.gd-sched__head a:hover, .gd-sched__head a:focus-visible { opacity: 1; text-decoration: underline; }
.gd-sched .eyebrow { color: var(--th-text, inherit); }
.gameday .gd-sched .eyebrow { color: var(--th-onnavy, var(--gold)); }
@media (max-width: 720px) { .gd-sched { grid-column: 1 / -1; } }
.pc-tab--preorder span { background: #eceff3; color: var(--cl-navy); }
/* Best seller flips the colors (gold label, navy saying) so it never reads as Sale. */
.pc-tab--best b { background: var(--cl-gold); color: var(--cl-navy); }
.pc-tab--best span { background: var(--cl-navy); color: #fff; }
.pc-tab--new span { background: #c8102e; color: #fff; }
@media (max-width: 720px) { .pc-flags { top: 8px; left: 8px; } }


/* The whole card is one link (the title's ::after); quick add sits above it. */
.pc-name { margin: 14px 0 0; font: 600 16px/1.3 var(--body, inherit); letter-spacing: 0; color: var(--ink, #0b1b2a); }
.pc-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-name a:focus-visible { outline: none; }
.pc-name a:focus-visible::after { outline: 2px solid var(--cl-blue); outline-offset: 3px; border-radius: var(--cl-r); }
.pc-price { margin-top: 3px; font-weight: 600; color: var(--cl-navy); font-variant-numeric: tabular-nums; }
.pc-price s { margin-left: 6px; color: var(--cl-muted); font-weight: 400; }
.pc-now { color: var(--cl-sale); }
.pc-stock { display: block; margin-top: 2px; font-size: 13px; color: var(--cl-low); }
/* Star rating under the title. Stars are drawn by ::before/::after (decorative); the row's
   aria-label carries "Rated 4.8 out of 5, 23 reviews". Same .rstars rule in product.css. */
.pc-rating { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; line-height: 1; color: var(--cl-muted); }
.rstars { position: relative; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.rstars::before { content: "\2605\2605\2605\2605\2605"; color: #c9d1dc; }
.rstars::after { content: "\2605\2605\2605\2605\2605"; position: absolute; inset: 0 auto 0 0; width: var(--rpct, 0%); overflow: hidden; color: var(--gold-line, #e2a32a); }

.pc-quick { display: none; }
@media (hover: hover) and (min-width: 721px) {
  .pc-quick { display: block; position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; margin: 0; padding: 10px; border-radius: var(--cl-r); background: #fff; box-shadow: 0 8px 24px -10px rgba(4,30,66,.35); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
  .pc:hover .pc-quick, .pc:focus-within .pc-quick { opacity: 1; transform: none; }
}
.pc-quick-label { display: block; margin-bottom: 7px; font: 700 12px var(--cl-display); letter-spacing: .12em; text-transform: uppercase; color: var(--cl-muted); }
.pc-quick-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(30px, 1fr)); gap: 5px; }
.pc-quick button { min-width: 0; height: 30px; padding: 0 2px; border: 1px solid var(--cl-line); border-radius: 2px; background: #fff; color: var(--ink, #0b1b2a); font: 600 12px var(--body, inherit); cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.pc-quick button:hover:not(:disabled) { border-color: var(--cl-navy); background: var(--cl-navy); color: #fff; }
.pc-quick button.out, .pc-quick button:disabled { color: #b7c0cc; text-decoration: line-through; cursor: default; }
.pc-quick--one button { width: 100%; height: 34px; font-size: 14px; }
.pc-quick--link { text-align: center; font-weight: 600; font-size: 14px; color: var(--cl-navy); }
@media (hover: hover) and (min-width: 721px) { .pc-quick--link:hover { background: var(--cl-navy); color: #fff; } }

/* Photo headers, tablet and desktop: text on solid navy at the left, the photo on the right 46% at
   close to its own shape, fading into the navy. A full-width 2.5:1 band cut lifestyle photos (3:2
   and portrait) down to a strip: half a face, half a shirt design, a sign behind the title. */
@media (min-width: 721px) {
  .cl-hero:not(.cl-hero--plain) { --cl-text-max: calc(54vw - max(24px, (100vw - 1232px) / 2) - 40px); }
  .cl-hero:not(.cl-hero--plain) > img { left: auto; right: 0; width: 46%; }
  .cl-hero:not(.cl-hero--plain)::after { background: linear-gradient(90deg, var(--cl-navy) 0 54%, rgba(4,30,66,.55) 60%, rgba(4,30,66,0) 72%); }
  .cl-hero:not(.cl-hero--plain) .wrap > * { max-width: min(var(--cl-text-max), 100%); }
  .cl-hero:not(.cl-hero--plain) h1 { max-width: min(12ch, var(--cl-text-max)); }
  .cl-hero:not(.cl-hero--plain) p { max-width: min(46ch, var(--cl-text-max)); }
}

/* ---- Breakpoints ---- */
@media (max-width: 1000px) {
  .cl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cl-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-label, .cl-count:not(.cl-count--left) { display: none; }
}
@media (max-width: 720px) {
  /* Phones: the photo first as a square (face and shirt both in it), fading into the navy the text
     sits on, instead of the text laid over the photo. */
  .cl-hero:not(.cl-hero--plain) > img { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 1; }
  .cl-hero:not(.cl-hero--plain)::after { inset: 0 0 auto; height: calc(100vw + 2px); background: linear-gradient(0deg, var(--cl-navy) 0 3%, rgba(4,30,66,0) 22%); }   /* +2px and a solid foot: no hairline where the photo ends */
  .cl-hero:not(.cl-hero--plain) .wrap { width: 100%; margin-top: -2.4rem; padding-block: 0 2rem; }
  .cl-hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .cl-hero--404 h1 { font-size: 2.6rem; }
  .cl-hero p { font-size: 1rem; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .cl-feature { min-height: 380px; }
  .cl-feature div { left: 18px; right: 18px; bottom: 18px; }
  /* Two rows on phones: In stock + Sort always in view, the sizes scroll sideways underneath. */
  .cl-bar-in { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-block: 10px; }
  .cl-sizes { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .cl-sizes::-webkit-scrollbar { display: none; }
  .cl-sizes a { flex: none; }
  .cl-sort { margin-left: auto; }
  .cl-sort > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cl-count--left { margin-right: 0; }
  .cl-pages { grid-template-columns: 1fr; }
  .cl-search .cl-btn { padding: 0 16px; }
  .pc-name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-ph img, .pc-quick, .cl-feature img, .cl-progress i { transition: none; }
}

/* "Good to know" and "More Nashville shirts and gear" under the grid (config/seo.php). */
.cl-about + .cl-about { margin-top: -40px; }
.cl-faq h3 { margin: 18px 0 4px; font-size: 1rem; color: var(--navy, #0b2545); }
.cl-faq p + h3 { margin-top: 16px; }
.cl-faq a, .cl-related a { color: var(--blue-ink, #2b6cb0); }
.cl-related ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }

/* Next game for a team's collection (App\GameDays::chipFor) */
.cl-game { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--gold, #ffb81c); color: var(--navy, #041e42); font-weight: 700; font-size: 14px; line-height: 1.3; }
.cl-game-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: cl-game-pulse 1.6s ease-in-out infinite; }
@keyframes cl-game-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cl-game-dot { animation: none; } }

/* Sport collections (App\GameDays::themeFor): pattern trim under the hero; heroes without a photo
   get a big pattern panel on the right ("end zone"), fading into navy behind the text. */
.cl-hero--sport { padding-bottom: 6px; }
.cl-hero--sport.sn-theme--checker { padding-bottom: 18px; }
.cl-sport-trim { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.cl-sport-panel { position: absolute; inset: 0 0 0 38%; background: var(--th-big); }
.cl-sport-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--th-base, var(--cl-navy)) 0%, color-mix(in srgb, var(--th-base, var(--cl-navy)) 55%, transparent) 30%, transparent 65%); }
/* Sport heroes in the sport's base color (Orange & White: white, West End: black). */
.cl-hero--sport.sn-theme--checker, .cl-hero--sport.sn-theme--westend { background: var(--th-base); color: var(--th-on); }
.cl-hero--sport.sn-theme--checker p, .cl-hero--sport.sn-theme--westend p { color: var(--th-on-soft); }
.cl-hero--sport.sn-theme--checker .cl-crumbs, .cl-hero--sport.sn-theme--checker .cl-crumbs a { color: var(--th-on-soft); }
.cl-hero--sport.sn-theme--checker::after { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.6) 45%, rgba(255,255,255,.1) 80%); }
.cl-hero--sport.sn-theme--westend::after { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.58) 45%, rgba(0,0,0,.08) 80%); }
/* With a photo: the same solid-then-fade as the navy photo headers above, in the sport's base color
   (the overlays above win on specificity and otherwise leave a hard edge where the photo starts). */
@media (min-width: 721px) {
  .cl-hero--sport.sn-theme--westend:not(.cl-hero--plain)::after { background: linear-gradient(90deg, #000 0 54%, rgba(0,0,0,.55) 60%, rgba(0,0,0,0) 72%); }
  .cl-hero--sport.sn-theme--checker:not(.cl-hero--plain)::after { background: linear-gradient(90deg, #fff 0 54%, rgba(255,255,255,.55) 60%, rgba(255,255,255,0) 72%); }
}
@media (max-width: 720px) {
  .cl-hero--sport.sn-theme--westend:not(.cl-hero--plain)::after { background: linear-gradient(0deg, #000 0 3%, rgba(0,0,0,0) 22%); }
  .cl-hero--sport.sn-theme--checker:not(.cl-hero--plain)::after { background: linear-gradient(0deg, #fff 0 3%, rgba(255,255,255,0) 22%); }
}
.cl-hero--sport small { color: var(--th-onnavy); }
.cl-hero--sport .cl-game { background: var(--th-a); color: var(--th-ink); }
@media (max-width: 720px) { .cl-sport-panel { inset: 0; opacity: .35; } .sn-theme--checker .cl-sport-panel { display: none; } }   /* Orange & White: band only, never behind the title */

@keyframes cl-checker-drift { to { background-position: 72px 72px; } }
.cl-sport-panel { animation: cl-checker-drift 9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cl-sport-panel { animation: none; } }
.cl-game .sn-badge { --sz: 22px; margin: -2px 0; }
/* Sport pages: the selected collection chip in the sport's colors (Orange & White never navy). */
body:has(.cl-hero--sport.sn-theme--checker) .cl-chips a.on { background: #ff8200; border-color: #ff8200; color: #2b2b2b; }
body:has(.cl-hero--sport.sn-theme--checker) .cl-chips a:hover { border-color: #ff8200; }

/* Filters update in place (collections.js): the old results fade while the new ones load. */
#clResults { transition: opacity .15s; }
#clResults.is-loading { opacity: .45; pointer-events: none; }

/* Phones and touch screens: a "+" on the card photo opens the quick-add sizes (site.js). */
.pc-plus { display: none; }
@media (hover: none), (max-width: 720px) {
  .pc-plus { display: grid; place-items: center; position: absolute; right: 8px; bottom: 8px; z-index: 4; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--cl-navy, #041e42); box-shadow: 0 4px 14px -4px rgba(4,30,66,.45); cursor: pointer; }
  .pc-plus svg { width: 18px; height: 18px; transition: transform .2s; }
  .pc.is-quick .pc-plus svg { transform: rotate(45deg); }
  .pc.is-quick .pc-quick { display: block; position: absolute; left: 6px; right: 6px; bottom: 52px; z-index: 3; margin: 0; padding: 8px; border-radius: var(--cl-r, 6px); background: #fff; box-shadow: 0 8px 24px -10px rgba(4,30,66,.45); }
  .pc.is-quick .pc-quick-sizes { grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); }
  .pc.is-quick .pc-quick button { height: 38px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .pc-plus svg { transition: none; } }

/* ---- Next up card (partials/game-shelf.php): the next game big, the rest as small rows ---- */
.gd-nx ul { display: block; margin: 0; padding: 0; list-style: none; }
.gd-nx li { padding-left: 0; border-left: 0; }
.gd-nx__ha { justify-self: end; font: 700 10.5px/1 var(--cl-display, inherit); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); white-space: nowrap; }
.gd-nx__hero { display: grid; align-content: center; gap: 6px; flex: 1; padding: clamp(16px, 2vw, 26px); border-radius: 10px; background: var(--th-ring, var(--gold, #ffb81c)); color: var(--th-on-ring, var(--navy, #041e42)); }
.gd-nx__hero.is-today { box-shadow: 0 0 0 3px color-mix(in srgb, var(--th-ring, #ffb81c) 35%, transparent); }
.gd-nx__when { font: 700 12px/1.3 var(--cl-display, inherit); letter-spacing: .12em; text-transform: uppercase; }
.gd-nx__opp { font: 800 clamp(26px, 2.6vw, 36px)/1.05 var(--cl-display, inherit); }
.gd-nx__meta { font-size: 15px; opacity: .85; }
.gd-nx--one .gd-nx__hero { gap: 10px; padding: clamp(20px, 3vw, 36px); }
.gd-nx--one .gd-nx__opp { font-size: clamp(32px, 3.4vw, 48px); }
.gd-nx--one .gd-nx__meta { font-size: 16px; }
.gd-nx__more li { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.gd-nx__more li:first-child { border-top: 0; }
.gd-nx__d { font: 700 12px/1 var(--cl-display, inherit); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.gd-nx__more b { font: 700 16px/1.2 var(--cl-display, inherit); }
@media (max-width: 520px) { .gd-nx__more li { grid-template-columns: 76px 1fr auto; gap: 10px; } }
