/* CBS Fightwear — homepage styles. Generated from the Custom Boxing Shorts design system. */
/* Design tokens */
:root {
  --ink: #121214;
  --canvas: #f6f3ee;
  --paper: #ffffff;
  --rule: #e2ded6;
  --mid-grey: #6b6b70;
  --corner-red: #c8102e;
  --corner-red-deep: #a00d25;
  --red-tint: #f8e3e6;
  --corner-blue: #1f3a8a;
  --blue-tint: #e4e9f5;
  --satin-gold: #c9a43a;
  --satin-gold-deep: #85660f;
  --band-raised: #1d1d21;
  --on-band: #f6f3ee;
  --on-band-muted: #b5b1aa;
  --on-accent: #ffffff;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: 16px;
  --tap-target: 44px;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-text: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* CBS Fightwear — component styles. Values come from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--corner-blue); outline-offset: 2px; }
.cbs-on-band :focus-visible, .cbs-header :focus-visible, .cbs-hero :focus-visible, .cbs-footer :focus-visible, .cbs-mbar :focus-visible { outline-color: var(--satin-gold); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* layout */
.cbs-wrap { max-width: var(--container); margin: 0 auto; padding-left: max(var(--gutter), min(32px, 3vw)); padding-right: max(var(--gutter), min(32px, 3vw)); }
.cbs-section { padding: var(--space-24) 0; }
.cbs-section-tight { padding-top: 0; }
@media (max-width: 600px) { .cbs-section { padding: var(--space-12) 0; } }

/* belt-line motif */
.cbs-belt { display: flex; width: 48px; height: 6px; }
.cbs-belt i { flex: 1; background: var(--corner-red); }
.cbs-belt i + i { background: var(--corner-blue); }
.cbs-on-band .cbs-belt i + i, .cbs-hero .cbs-belt i + i { background: var(--on-band); }

/* Button */
.cbs-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap-target); padding: 0 var(--space-6); border-radius: var(--radius-sm); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.cbs-btn-lg { min-height: 56px; padding: 0 var(--space-8); font-size: 20px; }
.cbs-btn-block { display: flex; width: 100%; }
.cbs-btn-primary { background: var(--corner-red); border-color: var(--corner-red); color: var(--on-accent); }
.cbs-btn-primary:hover { background: var(--corner-red-deep); border-color: var(--corner-red-deep); }
.cbs-btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.cbs-btn-secondary:hover { background: var(--ink); color: var(--on-band); }
.cbs-btn-on-band { background: transparent; border-color: var(--on-band); color: var(--on-band); }
.cbs-btn-on-band:hover { background: var(--on-band); color: var(--ink); }
.cbs-link { color: var(--corner-blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cbs-link:hover { text-decoration-thickness: 2px; }
.cbs-on-band .cbs-link { color: var(--on-band); }

/* Wordmark */
.cbs-wm { display: inline-flex; flex-direction: column; gap: var(--space-1); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; }
.cbs-wm-on-band { color: var(--on-band); }
.cbs-wm-band { display: flex; height: 5px; }
.cbs-wm-band i { flex: 3; background: var(--corner-red); }
.cbs-wm-band i + i { flex: 2; background: var(--corner-blue); }
.cbs-wm-on-band .cbs-wm-band i + i { background: var(--on-band); }

/* SiteHeader */
html { scroll-padding-top: var(--header-h); }
:root { --header-h: 76px; }
.cbs-header { background: var(--ink); color: var(--on-band); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--band-raised); }
.cbs-header-in { display: flex; align-items: center; gap: var(--space-8); min-height: 76px; }
.cbs-nav { flex: 1; }
.cbs-nav ul { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.cbs-nav a { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--tap-target); color: var(--on-band); text-decoration: none; font-weight: 600; font-size: 16px; }
.cbs-nav a:hover { color: var(--satin-gold); }
.cbs-caret { font-size: 11px; color: var(--on-band-muted); }
.cbs-menu-btn { display: none; margin-left: auto; min-height: var(--tap-target); padding: 0 var(--space-4); background: transparent; color: var(--on-band); border: 2px solid var(--on-band-muted); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.cbs-mobile-nav { display: none; }
@media (max-width: 900px) {
  .cbs-nav, .cbs-header-cta { display: none; }
  .cbs-menu-btn { display: inline-flex; align-items: center; }
  .cbs-mobile-nav.is-open { display: block; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--band-raised); }
  .cbs-mobile-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0 var(--space-4); }
  .cbs-mobile-nav a { display: flex; align-items: center; min-height: 48px; color: var(--on-band); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--band-raised); }
}

/* Hero */
.cbs-hero { background: var(--ink); color: var(--on-band); }
.cbs-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-12); align-items: center; padding-top: var(--space-16); padding-bottom: var(--space-16); }
.cbs-eyebrow { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--corner-red); }
.cbs-on-band .cbs-eyebrow, .cbs-hero .cbs-eyebrow { color: var(--satin-gold); }
.cbs-h1 { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 60px; letter-spacing: -0.01em; }
.cbs-hero-lede { margin: var(--space-6) 0 0; max-width: 600px; font-size: 19px; line-height: 30px; color: var(--on-band); }
.cbs-hero-ctas { margin-top: var(--space-8); }
.cbs-hero-proof { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
@media (max-width: 900px) { .cbs-hero-in { grid-template-columns: 1fr; gap: var(--space-8); padding-top: var(--space-12); padding-bottom: var(--space-12); } }
@media (max-width: 600px) { .cbs-h1 { font-size: 44px; line-height: 44px; } .cbs-hero-ctas .cbs-btn { flex: 1 1 100%; } }

/* TrustStrip */
.cbs-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); }
.cbs-trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.cbs-trust li::before { content: ""; width: 8px; height: 8px; background: var(--corner-red); flex: none; }
.cbs-trust-band { color: var(--on-band); }

/* Rating */
.cbs-rating { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; line-height: 22px; color: var(--ink); }
.cbs-stars { display: inline-flex; gap: 2px; color: var(--satin-gold-deep); }
.cbs-stars svg { width: 18px; height: 18px; display: block; }
.cbs-rating-band { color: var(--on-band); }
.cbs-rating-band .cbs-stars { color: var(--satin-gold); }
.cbs-rating b { font-weight: 600; }

/* PhotoSlot */
.cbs-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--rule); color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.cbs-photo-band { background: var(--band-raised); color: var(--on-band-muted); }
.cbs-photo-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.cbs-photo-art svg { width: 42%; max-width: 180px; height: auto; opacity: .28; }
.cbs-photo-band .cbs-photo-art svg { opacity: .35; }
.cbs-photo-text { position: relative; padding: var(--space-3) var(--space-4); font-size: 13px; line-height: 18px; }
.cbs-photo-text b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* SectionHeading */
.cbs-sh { max-width: 780px; margin-bottom: var(--space-8); }
.cbs-sh-center { margin-left: auto; margin-right: auto; text-align: center; }
.cbs-sh-center .cbs-eyebrow { justify-content: center; }
.cbs-h2 { margin: var(--space-3) 0 0; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 46px; }
.cbs-sh-lede { margin: var(--space-4) 0 0; font-size: 19px; line-height: 30px; }
.cbs-on-band .cbs-sh-lede { color: var(--on-band); }
.cbs-sh-link { display: inline-block; margin-top: var(--space-4); }
@media (max-width: 600px) { .cbs-h2 { font-size: 34px; line-height: 36px; } }

/* grids */
.cbs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.cbs-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cbs-grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
/* product grid: two cards a row on phones */
@media (max-width: 600px) {
  .cbs-grid-products { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .cbs-grid-products .cbs-card-body { padding: var(--space-3) var(--space-3) var(--space-4); }
  .cbs-grid-products .cbs-card-title { font-size: 19px; line-height: 22px; }
  .cbs-grid-products .cbs-photo-text { display: none; }
  .cbs-grid-products .cbs-card-meta { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .cbs-grid-products .cbs-price { font-size: 24px; line-height: 24px; }
}

/* Tag */
.cbs-tag { display: inline-flex; align-items: center; align-self: flex-start; min-height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: var(--blue-tint); color: var(--corner-blue); }
.cbs-tag-gold { background: var(--satin-gold); color: var(--ink); }
.cbs-tag-red { background: var(--red-tint); color: var(--corner-red); }

/* StyleCard */
.cbs-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.cbs-card:hover { border-color: var(--ink); }
.cbs-card .cbs-photo { border-radius: 0; }
.cbs-card:hover .cbs-photo-art { transform: scale(1.02); }
.cbs-card-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; padding: var(--space-4) var(--space-4) var(--space-6); }
.cbs-card-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 28px; }
.cbs-card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2); }
.cbs-price { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 28px; }
.cbs-price small { font-family: var(--font-text); font-weight: 400; font-size: 14px; color: var(--mid-grey); margin-right: var(--space-1); }
.cbs-meta { font-size: 14px; line-height: 21px; color: var(--mid-grey); }
.cbs-card-cta { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--corner-red); }

/* StepList */
.cbs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.cbs-step { border-top: 4px solid var(--ink); padding-top: var(--space-4); }
.cbs-step-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 56px; color: var(--corner-red); }
.cbs-step h3 { margin: var(--space-3) 0 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 28px; }
.cbs-step p { margin: var(--space-2) 0 0; }

/* FeatureGrid */
.cbs-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-8) var(--space-6); list-style: none; margin: 0; padding: 0; }
.cbs-feature h3 { margin: 0; display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 28px; }
.cbs-feature h3::before { content: ""; width: 16px; height: 6px; background: var(--corner-red); flex: none; }
.cbs-feature p { margin: var(--space-2) 0 0; }
.cbs-feature .cbs-link { display: inline-block; margin-top: var(--space-2); }
.cbs-on-band .cbs-feature p { color: var(--on-band-muted); }

/* ComparisonTable */
.cbs-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.cbs-table caption { caption-side: bottom; text-align: left; padding: var(--space-3) 20px; font-size: 14px; line-height: 21px; color: var(--mid-grey); border-top: 1px solid var(--rule); }
.cbs-table th, .cbs-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.cbs-table thead th { vertical-align: bottom; }
.cbs-table thead th { background: var(--ink); color: var(--on-band); font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; }
.cbs-table tbody tr + tr > * { border-top: 1px solid var(--rule); }
.cbs-table tbody th { font-weight: 600; white-space: nowrap; }
@media (min-width: 1100px) { .cbs-table .cbs-nw { white-space: nowrap; } }

/* BulkTiers */
.cbs-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.cbs-tier { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-tier-qty { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mid-grey); }
.cbs-tier .cbs-price { font-size: 40px; line-height: 44px; }
.cbs-tier-hi { background: var(--ink); color: var(--on-band); border-color: var(--ink); }
.cbs-tier-hi .cbs-tier-qty, .cbs-tier-hi .cbs-meta, .cbs-tier-hi .cbs-price small { color: var(--on-band-muted); }
.cbs-tier .cbs-tag { margin-top: var(--space-2); }

/* FightDatePlanner */
.cbs-planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-8); padding: var(--space-8); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-planner label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cbs-input { display: block; width: 100%; margin-top: var(--space-2); min-height: 52px; padding: 0 var(--space-4); border: 2px solid var(--mid-grey); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: 600 18px/1 var(--font-text); }
.cbs-input:focus-visible { border-color: var(--corner-blue); }
.cbs-planner-help { margin: var(--space-3) 0 0; font-size: 14px; line-height: 21px; color: var(--mid-grey); }
.cbs-plan { list-style: none; margin: 0; padding: 0; }
.cbs-plan li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--rule); }
.cbs-plan li:first-child { padding-top: 0; }
.cbs-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 26px; }
.cbs-plan-date { font-weight: 600; }
.cbs-plan li > :not(.cbs-status) { grid-column: 1; }
.cbs-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; grid-column: 2; grid-row: 1 / span 3; }
.cbs-status-ok { background: var(--blue-tint); color: var(--corner-blue); }
.cbs-status-late { background: var(--red-tint); color: var(--corner-red); }
@media (max-width: 760px) { .cbs-planner { grid-template-columns: 1fr; padding: var(--space-6) var(--space-4); } }

/* FighterCard */
.cbs-fighter { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.cbs-fighter:hover { border-color: var(--ink); }
.cbs-fighter h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 28px; }
.cbs-fighter p { margin: 0; flex: 1; }
.cbs-fighter-go { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--corner-blue); }
/* Shop by cards: a 3:2 image flush to the card's top edge */
#shop-by .cbs-shop-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-2); border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; background: var(--rule); }
#shop-by .cbs-shop-media img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
#shop-by .cbs-fighter:hover .cbs-shop-media img { transform: scale(1.02); }
/* portrait on a fighter: frame the shorts from waist to hem */
#shop-by .cbs-shop-media-crop img { object-position: 50% 85%; }
/* portrait flat-lays that a 3:2 crop would cut: show the whole image, and fill each side band
   with the photo's own outer edge stretched outwards, so the background continues without a seam */
#shop-by .cbs-shop-media-fit::before,
#shop-by .cbs-shop-media-fit::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26%; background-image: var(--shop-img); background-size: 6000% 100%; background-repeat: no-repeat; }
#shop-by .cbs-shop-media-fit::before { left: 0; background-position: left center; }
#shop-by .cbs-shop-media-fit::after { right: 0; background-position: right center; }
#shop-by .cbs-shop-media-fit img { z-index: 1; object-fit: contain; }
#shop-by .cbs-fighter:hover .cbs-shop-media-fit img { transform: none; }
@media (prefers-reduced-motion: reduce) { #shop-by .cbs-fighter:hover .cbs-shop-media img { transform: none; } }

/* ReviewCard */
.cbs-review { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; margin: 0; padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-review blockquote { margin: 0; flex: 1; font-size: 19px; line-height: 30px; }
.cbs-review figcaption { display: grid; gap: 2px; }
.cbs-review figcaption b { font-weight: 600; }

/* FAQ */
.cbs-faq { border-top: 1px solid var(--ink); }
.cbs-faq details { border-bottom: 1px solid var(--rule); }
.cbs-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-3) 0; cursor: pointer; list-style: none; }
.cbs-faq summary::-webkit-details-marker { display: none; }
.cbs-faq summary h3 { margin: 0; font-family: var(--font-text); font-weight: 600; font-size: 19px; line-height: 28px; }
.cbs-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius-sm); font: 700 20px/1 var(--font-display); }
.cbs-faq details[open] summary::after { content: "\2212"; background: var(--ink); color: var(--on-band); }
.cbs-faq-a { max-width: 760px; padding: 0 0 var(--space-6); margin: 0; }

/* MobileCTABar */
.cbs-mbar { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4); padding-bottom: max(var(--space-3), env(safe-area-inset-bottom)); background: var(--ink); color: var(--on-band); }
.cbs-mbar-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; }
.cbs-mbar-note { font-size: 14px; line-height: 18px; color: var(--on-band-muted); }
.cbs-mbar .cbs-btn { flex: 1; }
@media (min-width: 901px) { .cbs-mbar-fixed { display: none; } }

/* SiteFooter */
.cbs-footer { background: var(--ink); color: var(--on-band); padding: var(--space-16) 0 var(--space-8); border-top: 1px solid var(--band-raised); }
@media (max-width: 900px) { .cbs-footer { padding-bottom: calc(var(--space-8) + 72px); } }
.cbs-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.cbs-footer p { margin: var(--space-4) 0 0; max-width: 320px; color: var(--on-band-muted); font-size: 15px; line-height: 23px; }
.cbs-footer h2 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--satin-gold); }
.cbs-footer ul { list-style: none; margin: 0; padding: 0; }
.cbs-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-band); text-decoration: none; font-size: 15px; }
.cbs-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cbs-footer .cbs-legal { max-width: none; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--band-raised); font-size: 13px; line-height: 20px; color: var(--on-band-muted); }
@media (max-width: 900px) { .cbs-footer-grid { grid-template-columns: 1fr 1fr; } .cbs-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .cbs-footer-grid { grid-template-columns: 1fr; } }

/* Homepage helpers */
.cbs-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .cbs-split { grid-template-columns: 1fr; gap: var(--space-8); } }
.cbs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); }
.cbs-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 var(--space-8); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cbs-guides a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 60px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.cbs-guides a::after { content: "\2192"; color: var(--corner-red); font-weight: 700; }
.cbs-guides a:hover { color: var(--corner-blue); }
.cbs-cta-band { text-align: center; }
.cbs-cta-band .cbs-row { justify-content: center; margin-top: var(--space-8); }

/* stack helper used by the prices section */
.cbs-stack { display: grid; gap: var(--space-6); }
.cbs-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cbs-on-band { background: var(--ink); color: var(--on-band); }

/* CBS Fightwear — inner-page components. Built on the tokens in cbs.css; the build joins both into styles.css. */

/* Self-hosted fonts (SIL OFL 1.1, licences in /fonts/). Latin is preloaded in head.html; latin-ext loads only when a
   page uses those characters. Source Sans 3 is a variable font, so one file serves weights 400 and 600. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-800-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/source-sans-3-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/source-sans-3-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Skip link and draft banner */
.cbs-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; padding: var(--space-3) var(--space-4); background: var(--paper); color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); }
.cbs-skip:focus { top: var(--space-4); }
.cbs-draft { position: sticky; top: 0; z-index: 40; padding: var(--space-2) var(--space-4); background: var(--satin-gold); color: var(--ink); font: 700 14px/18px var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-align: center; }

/* Breadcrumb */
.cbs-crumbs { background: var(--canvas); border-bottom: 1px solid var(--rule); }
.cbs-crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); list-style: none; margin: 0; padding: var(--space-3) 0; font-size: 14px; line-height: 21px; color: var(--mid-grey); }
.cbs-crumbs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.cbs-crumbs li + li::before { content: "/"; color: var(--rule); }
.cbs-crumbs a { color: var(--corner-blue); text-decoration: none; }
.cbs-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cbs-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Inner-page hero: smaller than the homepage hero */
.cbs-hero-page .cbs-hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); padding-top: var(--space-12); padding-bottom: var(--space-12); }
.cbs-hero-page.cbs-hero-text .cbs-hero-in { grid-template-columns: minmax(0, 1fr); }
.cbs-hero-page.cbs-hero-text .cbs-hero-in > div { max-width: 900px; }
/* Text-only heroes share the canvas background with the next section: close the gap to 64px in total. */
.cbs-hero-page.cbs-hero-text .cbs-hero-in { padding-bottom: var(--space-8); }
.cbs-hero-text + .cbs-section { padding-top: var(--space-8); }
/* Spacing between blocks: two sections on the same background share one gap (the previous section's
   bottom padding) instead of stacking both paddings, and prose never adds a heading margin at its top. */
.cbs-section:not(.cbs-on-band) + .cbs-section:not(.cbs-on-band) { padding-top: 0; }
.cbs-prose > :first-child { margin-top: 0; }
.cbs-prose > :last-child { margin-bottom: 0; }
.cbs-hero-page .cbs-h1 { font-size: 56px; line-height: 54px; }
@media (max-width: 900px) { .cbs-hero-page .cbs-hero-in { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cbs-hero-page .cbs-h1 { font-size: 40px; line-height: 42px; } }
.cbs-hero-light { background: var(--canvas); color: var(--ink); }
.cbs-hero-light .cbs-hero-lede { color: var(--ink); }
.cbs-hero-light .cbs-eyebrow { color: var(--corner-red); }
.cbs-hero-light .cbs-belt i + i { background: var(--corner-blue); }

/* Long-form prose: guides, legal, info pages */
/* Text keeps a readable 760px measure; tables use the full width of the column. */
.cbs-prose { max-width: none; }
.cbs-prose > * { max-width: 760px; }
.cbs-prose > .cbs-table-wrap { max-width: none; }
.cbs-prose > * + * { margin-top: var(--space-4); }
.cbs-prose h2 { margin-top: var(--space-12); font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 40px; scroll-margin-top: var(--space-8); }
.cbs-prose h3 { margin-top: var(--space-8); font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 30px; }
.cbs-prose h2 + p, .cbs-prose h3 + p { margin-top: var(--space-3); }
.cbs-prose p, .cbs-prose li { font-size: 18px; line-height: 30px; }
.cbs-prose ul, .cbs-prose ol { padding-left: 1.3em; }
.cbs-prose li + li { margin-top: var(--space-2); }
.cbs-prose a { color: var(--corner-blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cbs-prose .cbs-table-wrap { margin-top: var(--space-6); margin-bottom: var(--space-2); }
.cbs-prose .cbs-table { min-width: 560px; }
.cbs-prose strong { font-weight: 600; }
@media (max-width: 600px) { .cbs-prose h2 { font-size: 30px; line-height: 34px; } }

/* Answer box: the 40–50 word flashcard answer under an H1 or H2 */
.cbs-answer { margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-6); background: var(--paper); border-left: 6px solid var(--corner-red); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 19px; line-height: 30px; }

/* Callout: notes, rule checks, legal disclaimers */
.cbs-callout { padding: var(--space-4) var(--space-6); background: var(--blue-tint); border-radius: var(--radius-md); font-size: 16px; line-height: 25px; }
.cbs-callout-warn { background: var(--red-tint); }

/* Guide layout: article + side table of contents */
.cbs-article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: var(--space-16); justify-content: space-between; }
@media (max-width: 1100px) { .cbs-article { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
.cbs-toc { position: sticky; top: calc(var(--header-h) + var(--space-6)); align-self: start; padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
@media (max-width: 1100px) { .cbs-toc { position: static; order: -1; } }
.cbs-toc h2 { margin: 0 0 var(--space-3); font: 700 14px/18px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--mid-grey); }
.cbs-toc ol { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 22px; }
.cbs-toc li + li { margin-top: var(--space-2); }
.cbs-toc a { color: var(--ink); text-decoration: none; }
.cbs-toc a:hover { color: var(--corner-blue); text-decoration: underline; }

/* Byline and author box (E-E-A-T) */
.cbs-byline { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin-top: var(--space-6); font-size: 15px; color: var(--on-band-muted); }
.cbs-hero-light .cbs-byline { color: var(--mid-grey); }
.cbs-byline b { color: inherit; font-weight: 600; }
.cbs-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-4); margin-top: var(--space-12); padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-author-photo { width: 72px; height: 72px; border-radius: 50%; background: var(--rule); object-fit: cover; display: block; }
.cbs-author h2 { margin: 0; font: 700 22px/26px var(--font-display); }
.cbs-author p { margin: var(--space-2) 0 0; font-size: 16px; line-height: 25px; }

.cbs-section-top { padding-top: var(--space-12); }
p.cbs-h2 { margin-bottom: 0; }

/* Product page */
.cbs-product-buy .cbs-h1 { margin: 0; font-size: 48px; line-height: 50px; }
.cbs-product-buy p { margin: 0; }
@media (max-width: 600px) { .cbs-product-buy .cbs-h1 { font-size: 38px; line-height: 40px; } }
.cbs-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-12); align-items: start; }
@media (max-width: 900px) { .cbs-product { grid-template-columns: 1fr; gap: var(--space-8); } }
.cbs-product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.cbs-product-gallery > :first-child { grid-column: 1 / -1; }
.cbs-product-buy { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.cbs-product-buy .cbs-price { font-size: 48px; line-height: 48px; }
.cbs-spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2) var(--space-6); margin: 0; font-size: 16px; line-height: 24px; }
.cbs-spec dt { font-weight: 600; }
.cbs-spec dd { margin: 0; }
.cbs-spec > :nth-child(n+3) { padding-top: var(--space-2); border-top: 1px solid var(--rule); }

/* Link list: related pages, siblings */
.cbs-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.cbs-related a { display: flex; flex-direction: column; gap: var(--space-1); height: 100%; padding: var(--space-4) var(--space-6); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font-weight: 600; }
.cbs-related a:hover { border-color: var(--ink); }
.cbs-related small { font-weight: 400; font-size: 15px; color: var(--mid-grey); }

/* Forms: design request, club quote, contact */
::selection { background: var(--satin-gold); color: var(--ink); }
.cbs-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cbs-form { display: grid; gap: var(--space-6); max-width: 760px; }
.cbs-form fieldset { min-width: 0; margin: 0; padding: var(--space-6) var(--space-8) var(--space-8); border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgb(18 18 20 / .04), 0 12px 28px -20px rgb(18 18 20 / .22); scroll-margin-top: var(--space-6); }
.cbs-form legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-6); padding: 0 0 var(--space-4); border-bottom: 1px solid var(--rule); font: 700 26px/30px var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.cbs-form legend + * { clear: both; }
.cbs-step-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--on-band); font: 800 18px/1 var(--font-display); transition: background-color .25s; }
.cbs-step.is-current .cbs-step-n { background: var(--corner-red); }
.cbs-opt { margin-left: auto; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--canvas); color: var(--mid-grey); font: 600 13px/1 var(--font-text); letter-spacing: 0; text-transform: none; }
.cbs-field { display: grid; gap: var(--space-2); }
.cbs-field + .cbs-field { margin-top: var(--space-6); }
.cbs-field label, .cbs-label { font-weight: 600; font-size: 16px; }
.cbs-field small { color: var(--mid-grey); font-size: 14px; line-height: 20px; }
.cbs-form .cbs-input { border-width: 1.5px; border-color: #8d8d92; border-radius: var(--radius-md); caret-color: var(--corner-red); transition: border-color .15s, box-shadow .15s; }
.cbs-form .cbs-input:hover { border-color: var(--ink); }
.cbs-form .cbs-input:focus-visible { outline: none; border-color: var(--corner-blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.cbs-form .cbs-input::placeholder { color: var(--mid-grey); font-weight: 400; }
.cbs-form textarea.cbs-input { min-height: 120px; padding: var(--space-3) var(--space-4); line-height: 26px; font-weight: 400; resize: vertical; }
.cbs-form select.cbs-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-12); cursor: pointer; }
.cbs-form input[type="file"].cbs-input { padding: var(--space-3); min-height: 0; border-style: dashed; background: var(--canvas); font-weight: 400; font-size: 16px; line-height: 24px; cursor: pointer; }
.cbs-form input[type="file"]::file-selector-button { margin-right: var(--space-3); padding: 10px 16px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-band); font: 700 15px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .15s; }
.cbs-form input[type="file"]:hover::file-selector-button { background: var(--corner-red); }

/* Choice cards with drawn radio and checkbox marks */
.cbs-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-3); }
.cbs-choice { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--rule); border-radius: var(--radius-md); background: var(--paper); cursor: pointer; font-weight: 600; line-height: 22px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.cbs-choice:hover { border-color: #b3ada2; }
.cbs-choice:has(input:checked) { border-color: var(--ink); background: #fcfbf8; box-shadow: inset 0 0 0 1px var(--ink); }
.cbs-choice:has(input:focus-visible) { outline: 2px solid var(--corner-blue); outline-offset: 2px; }
.cbs-choice input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid #8d8d92; border-radius: 50%; background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.cbs-choice input:focus-visible { outline: none; }
.cbs-choice input[type="radio"]:checked { border-color: var(--corner-red); background: radial-gradient(circle, var(--corner-red) 0 4.5px, var(--paper) 5px); }
.cbs-choice input[type="checkbox"] { border-radius: 5px; }
.cbs-choice input[type="checkbox"]:checked { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cbs-choice .cbs-meta { font-weight: 400; }
.cbs-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: none; }

/* Colour pickers: swatch chips */
.cbs-swatches { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: var(--space-2); }
.cbs-swatches .cbs-choice { flex-direction: column; justify-content: center; gap: 6px; min-height: 0; padding: var(--space-3) var(--space-1) 10px; font-size: 14px; line-height: 18px; text-align: center; }
.cbs-swatches .cbs-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cbs-swatches .cbs-swatch { width: 36px; height: 36px; border-color: rgb(18 18 20 / .2); box-shadow: inset 0 -6px 10px rgb(0 0 0 / .14), inset 0 5px 8px rgb(255 255 255 / .28); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.cbs-swatches .cbs-choice:hover .cbs-swatch { transform: scale(1.06); }
.cbs-swatches .cbs-choice:has(input:checked) .cbs-swatch { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink), inset 0 -6px 10px rgb(0 0 0 / .14), inset 0 5px 8px rgb(255 255 255 / .28); }
.cbs-swatches + small, .cbs-swatches ~ small { margin-top: var(--space-1); }

.cbs-check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 24px; cursor: pointer; }
.cbs-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--corner-red); flex: none; cursor: pointer; }
.cbs-hp { position: absolute; left: -9999px; }

/* Hero: the three-step process */
.cbs-flow { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin: var(--space-6) 0 0; padding: 0; list-style: none; counter-reset: flow; }
.cbs-flow li { display: flex; align-items: center; gap: var(--space-3); font-size: 16px; line-height: 22px; counter-increment: flow; }
.cbs-flow li::before { content: counter(flow); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); font: 800 15px/1 var(--font-display); }
.cbs-flow li:first-child::before { background: var(--corner-red); border-color: var(--corner-red); color: var(--on-accent); }

/* Designer layout and preview */
@media (prefers-reduced-motion: no-preference) { html:has(.cbs-designer) { scroll-behavior: smooth; } }
.cbs-designer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: var(--space-12) clamp(24px, 4vw, 56px); align-items: start; }
.cbs-designer .cbs-form { max-width: none; }
.cbs-preview { position: sticky; top: calc(var(--header-h) + var(--space-4)); display: grid; gap: var(--space-4); padding: var(--space-4); background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 1px 2px rgb(18 18 20 / .04), 0 24px 48px -28px rgb(18 18 20 / .4); }
.cbs-preview p { margin: 0; }
.cbs-steps ol { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.cbs-steps a { display: grid; place-items: center; height: 30px; border-radius: 6px; background: var(--canvas); color: var(--mid-grey); font: 700 15px/1 var(--font-display); text-decoration: none; transition: background-color .2s, color .2s; }
.cbs-steps a:hover { background: var(--rule); color: var(--ink); }
.cbs-steps .is-done a { background: var(--ink); color: var(--on-band); }
.cbs-steps a[aria-current="step"] { background: var(--corner-red); color: var(--on-accent); }
.cbs-steps-label { margin-top: var(--space-2) !important; font-size: 14px; line-height: 20px; color: var(--mid-grey); }
.cbs-steps-label b { color: var(--ink); }
.cbs-pv-stage { position: relative; padding: var(--space-4) var(--space-4) var(--space-2); border-radius: 12px; background: radial-gradient(120% 90% at 50% 18%, #fff 0%, #f4f0e9 55%, #e4ddd1 100%); overflow: hidden; text-align: center; }
.cbs-pv-stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 34px; height: 22px; background: radial-gradient(closest-side, rgb(18 18 20 / .2), transparent); }
.cbs-pv-stage svg { position: relative; z-index: 1; display: block; width: 100%; max-width: min(300px, 34vh); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 12px rgb(18 18 20 / .16)); }
.cbs-pv-view { position: relative; z-index: 1; margin-top: var(--space-2) !important; font-size: 13px; line-height: 18px; color: var(--mid-grey); }
#pv-art .pv-fill { transition: fill .35s cubic-bezier(.2, .8, .2, 1), stroke .35s cubic-bezier(.2, .8, .2, 1); }
#pv-tassels { transition: stroke .35s; }
.pv-sheen { opacity: .9; transition: opacity .35s; }
#pv-stage[data-fabric="Matt satin"] .pv-sheen { opacity: .18; }
#pv-stage[data-fabric="Leatherette"] .pv-sheen { opacity: 1; }
.pv-name { stroke: #fff; stroke-width: 0; paint-order: stroke; }
#pv-stage[data-lettering="3D embroidery"] .pv-name { filter: url(#pv-raise); }
#pv-stage[data-lettering="Crystal outline"] .pv-name { stroke-width: 1.8px; stroke-dasharray: .1 2.4; stroke-linecap: round; }
.cbs-pv-spec { display: grid; margin: 0; }
.cbs-pv-spec > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-3); padding: 9px var(--space-1); border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 22px; }
.cbs-pv-spec dt { color: var(--mid-grey); }
.cbs-pv-spec dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cbs-pv-chips { display: flex; flex-wrap: wrap; gap: 2px var(--space-3); }
.cbs-pv-chips span { display: inline-flex; align-items: center; gap: 6px; }
.cbs-pv-chips i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgb(18 18 20 / .25); }
.cbs-pv-price { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-1); }
.cbs-pv-plabel { font-weight: 600; font-size: 15px; line-height: 20px; }
.cbs-pv-plabel small { display: block; font-weight: 400; font-size: 14px; color: var(--mid-grey); }
.cbs-preview .cbs-price { font-size: 48px; line-height: 46px; font-variant-numeric: tabular-nums; }
.cbs-pv-note { padding: 0 var(--space-1); font-size: 13px; line-height: 19px; color: var(--mid-grey); }
@keyframes cbs-bump { from { transform: translateY(-4px); opacity: .35; } to { transform: none; opacity: 1; } }
.is-bump { display: inline-block; animation: cbs-bump .4s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { .is-bump { animation: none; } html:has(.cbs-designer) { scroll-behavior: auto; } }

/* Send card */
.cbs-send { display: grid; gap: var(--space-6); padding: var(--space-8); border-radius: 12px; background: var(--ink); color: var(--on-band); scroll-margin-top: var(--space-6); }
.cbs-send :focus-visible { outline-color: var(--satin-gold); }
.cbs-send .cbs-link { color: var(--on-band); }
.cbs-send-sum { display: grid; gap: var(--space-1); padding-bottom: var(--space-6); border-bottom: 1px solid var(--band-raised); }
.cbs-send-sum p { margin: 0; }
.cbs-send-t { font: 700 14px/16px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--satin-gold); }
.cbs-send-price b { font: 700 48px/50px var(--font-display); font-variant-numeric: tabular-nums; }
.cbs-send-price span, .cbs-send-note { color: var(--on-band-muted); font-size: 16px; line-height: 24px; }
.cbs-send .cbs-btn-primary { width: 100%; }

/* Mobile: the preview sits above the form and a bar keeps the shorts and price in view */
.cbs-dbar { display: none; }
@media (max-width: 900px) {
  .cbs-designer { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .cbs-preview { position: static; order: -1; }
  .cbs-steps, .cbs-pv-go, .cbs-pv-spec, .cbs-pv-price, .cbs-pv-note { display: none; }
  .cbs-preview { padding: var(--space-3); }
  .cbs-form fieldset { padding: var(--space-4) var(--space-4) var(--space-6); }
  .cbs-form legend { font-size: 23px; line-height: 26px; margin-bottom: var(--space-4); padding-bottom: var(--space-3); }
  .cbs-send { padding: var(--space-6) var(--space-4); }
  body:has(.cbs-designer) .cbs-mbar-fixed { display: none; }
  .cbs-dbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--gutter); padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--on-band); box-shadow: 0 -10px 28px rgb(0 0 0 / .2); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .cbs-dbar.is-off { transform: translateY(110%); }
  .cbs-dbar :focus-visible { outline-color: var(--satin-gold); }
  .cbs-dbar svg { flex: none; width: 54px; height: 52px; padding: 4px; border-radius: 8px; background: radial-gradient(circle at 50% 30%, #fff, #e4ddd1); }
  .cbs-dbar-p { margin: 0; }
  .cbs-dbar-p small { display: block; font-size: 12px; line-height: 14px; color: var(--on-band-muted); }
  .cbs-dbar-p b { font: 700 28px/30px var(--font-display); font-variant-numeric: tabular-nums; }
  .cbs-dbar .cbs-btn { margin-left: auto; padding: 0 var(--space-4); }
}
@media (max-width: 600px) { .cbs-swatches { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); } .cbs-flow { flex-direction: column; } }

/* Footer additions */
.cbs-nap { display: flex; flex-direction: column; gap: 2px; margin-top: var(--space-4); font-style: normal; font-size: 15px; line-height: 23px; color: var(--on-band-muted); }
.cbs-nap strong { color: var(--on-band); font-weight: 700; }
.cbs-nap a { align-self: flex-start; color: var(--on-band); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cbs-nap a:hover { color: var(--satin-gold); }
.cbs-footer .cbs-social { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-8) 0 0; padding: 0; }
.cbs-footer .cbs-social:empty { display: none; }
.cbs-footer .cbs-social a { justify-content: center; width: 44px; min-height: 44px; border: 1px solid rgb(246 243 238 / .28); border-radius: 50%; color: var(--on-band); transition: color .15s, border-color .15s; }
.cbs-footer .cbs-social a:hover { color: var(--satin-gold); border-color: var(--satin-gold); text-decoration: none; }
.cbs-social svg { width: 20px; height: 20px; fill: currentColor; }
.cbs-legal-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); margin-top: var(--space-12); }
.cbs-legal-nav + .cbs-legal { margin-top: var(--space-4); }

/* Cookie consent banner (consent.js). Non-modal: the page stays usable. Accept and Reject share one style. */
.cbs-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: var(--space-4) 0; padding-bottom: max(var(--space-4), env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); border-top: 3px solid var(--ink); box-shadow: 0 -8px 24px rgb(0 0 0 / .12); }
.cbs-consent[hidden] { display: none; }
.cbs-consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); max-width: var(--container); margin: 0 auto; padding: 0 max(var(--gutter), min(32px, 3vw)); }
.cbs-consent-in p { flex: 1 1 420px; margin: 0; font-size: 16px; line-height: 24px; }
.cbs-consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 600px) { .cbs-consent-actions { width: 100%; } .cbs-consent-actions .cbs-btn { flex: 1 1 0; } }
.cbs-linkbtn { padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* "Pay after your proof" line under product prices */
.cbs-pay-note { margin: var(--space-2) 0 0; font-size: 15px; line-height: 22px; color: var(--mid-grey); }

/* real images inside photo slots */
.cbs-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.cbs-card:hover .cbs-photo-img { transform: scale(1.02); }
.cbs-photo-has-img .cbs-photo-text { color: #fff; background: linear-gradient(to top, rgba(10,10,12,.78), rgba(10,10,12,0)); padding-top: var(--space-6); }
.cbs-photo-contain { background: #e8dccf; }
.cbs-photo-contain .cbs-photo-img { object-fit: contain; }

/* Designer: preset looks and size helper */
.cbs-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.cbs-preset { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap-target); padding: var(--space-3) var(--space-8) var(--space-3) var(--space-3); border: 1.5px solid var(--rule); border-radius: var(--radius-md); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.cbs-preset:hover { border-color: #b3ada2; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgb(18 18 20 / .4); }
.cbs-preset:focus-visible { border-color: var(--ink); }
.cbs-preset[aria-pressed="true"] { border-color: var(--ink); background: #fcfbf8; box-shadow: inset 0 0 0 1px var(--ink); }
.cbs-preset[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--corner-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cbs-preset b { display: block; font: 700 18px/22px var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.cbs-preset small { display: block; margin-top: 2px; color: var(--mid-grey); font-size: 14px; line-height: 20px; }
.cbs-preset-art { flex: none; display: grid; place-items: center; width: 64px; height: 56px; border-radius: var(--radius-md); background: radial-gradient(circle at 50% 30%, #fff, #ebe5db); }
.cbs-preset-art svg { width: 46px; height: 40px; }
.cbs-size-helper { margin-top: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--canvas); }
.cbs-size-helper summary { min-height: var(--tap-target); display: flex; align-items: center; padding: var(--space-2) var(--space-4); font-weight: 600; cursor: pointer; }
.cbs-size-helper-in { display: grid; gap: var(--space-4); padding: 0 var(--space-4) var(--space-4); }
.cbs-size-helper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-4); }
.cbs-size-helper-grid .cbs-field + .cbs-field { margin-top: 0; }
.cbs-choices-tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.cbs-size-helper + .cbs-field { margin-top: var(--space-6); }

/* A section that follows a different background (dark band or hero) always keeps its full top padding,
   even when it is marked "tight" (tight only removes the gap between two sections on the same background). */
.cbs-on-band + .cbs-section, .cbs-hero:not(.cbs-hero-text) + .cbs-section-tight { padding-top: var(--space-24); }
@media (max-width: 600px) { .cbs-on-band + .cbs-section, .cbs-hero:not(.cbs-hero-text) + .cbs-section-tight { padding-top: var(--space-12); } }

/* Author profile page header */
.cbs-profile-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.cbs-profile-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block; background: var(--rule); }
@media (max-width: 600px) { .cbs-profile-head { grid-template-columns: 1fr; gap: var(--space-4); } .cbs-profile-photo { width: 112px; height: 112px; } }
.cbs-byline-author { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cbs-author h2 a { color: inherit; text-decoration: none; }
.cbs-author h2 a:hover { text-decoration: underline; }

/* Guide featured image: first element of the article, full column width, 3:2 */
.cbs-prose > .cbs-feature { max-width: none; margin: 0 0 var(--space-8); }
.cbs-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); background: var(--rule); }
.cbs-feature figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 21px; color: var(--mid-grey); }

