/* GoFast storefront surfaces. Product swatches retain their catalogue colours. */
:root {
  color-scheme: dark;
  --gf-black: #080809;
  --gf-panel: #111013;
  --gf-eggplant: #201426;
  --gf-line: #39303e;
  --gf-text: #f5f3f6;
  --gf-muted: #c1bbc5;
  --gf-lime: #c4ff25;
  --paper: var(--gf-black);
  --ink: var(--gf-text);
  --line: var(--gf-line);
}
body, main {background-color:var(--gf-black);color:var(--gf-text)}
header,footer,.announcement,.rail,.workspace,.viewer,.viewmeta,.mega-panel,
.bag-drawer,.drawer,.product-info,.product-detail,.product-page,.product-meta,
.product-card,.section,.support-content,.reading-body,.editorial-note,.sw-home,
.journal,.world-reading,.gaming-store,.gaming-detail-copy,.filter-bar,
.pitlane-info,.pitlane-main,.apex-content,.dr-page,.preview-note,.outlet-preview-note {
  background-color:var(--gf-black);color:var(--gf-text);border-color:var(--gf-line)
}
.workspace .rail,.workspace .viewer,.workspace .viewmeta,.workspace .module,
.workspace section,.workspace .card,.workspace .option,.workspace .line {border-color:var(--gf-line)}
.workspace .rail,.workspace .viewmeta,.workspace .summary {background:var(--gf-black);color:var(--gf-text)}
.workspace .card,.workspace .option,.workspace input,.workspace select,
.workspace #angles button,.workspace #share,.workspace #download,.workspace #recommend,
#model~form input,#model~form textarea {background:var(--gf-panel);color:var(--gf-text);border:1px solid var(--gf-line)}
.workspace .stage,.workspace .mobile-preview {background:radial-gradient(ellipse at 50% 45%,#242026 0%,#141116 45%,#09090a 85%)}
.workspace .card[aria-pressed=true],.workspace .option[aria-pressed=true],.workspace #angles button[aria-pressed=true] {
  border-color:var(--gf-lime);background:var(--gf-eggplant);box-shadow:none
}
.workspace .option strong,.workspace .card strong,.workspace .summary strong {color:var(--gf-lime)}
.workspace small,.workspace .card small,.workspace .module small,.workspace #itemDetail {color:var(--gf-muted)}
.workspace .action,.workspace .summary .action,body #mobileTotal,.order-product-link {
  background:var(--gf-lime);color:#101108;border:0;font-weight:750
}
.workspace .plan {background:#151017;border-color:var(--gf-line)}
.workspace .span {background:var(--gf-lime)}
.workspace .span.over {background:#ff9977}
.workspace a:not(.action) {color:var(--gf-lime)}
:focus-visible {outline:2px solid var(--gf-lime);outline-offset:3px}
.order-product-link {display:inline-flex;padding:.85rem 1.25rem;margin-block:.6rem;text-decoration:none;align-items:center;border-radius:.3rem}

.sim-letter .letter-hero,.sim-letter .ss-topline {background-color:#000}

/* Retail catalogues and product details share components with Gaming.
   Resolve their palette from the storefront route, including colourway URLs. */
@scope (:root:has(link[rel="canonical"]:is([href*="/sport/"],[href*="/shop/"],[href*="/product/"],[href$="//www.gofastcorp.com/"])), :root:has(link[href="/wholesale/portal.css"])) {
  :scope {color-scheme:light;--paper:#fff;--ink:#171519;--line:#dedce0}
  body,main,#app {background-color:#fff;color:#171519}
  .section,.section-experience,.section-tabs,.collection-page,.collection-tabs,
  .product-grid,.product-page,.product-gallery,.product-detail,.product-info,
  .product-card,.product-meta,.related-products,.related-gear,.filter-bar,
  .pitlane-page,.pitlane-top,.pitlane-info,.pitlane-main,.dr-page,.sw-home,
  .section-experience .gaming-light,
  .preview-note,.outlet-preview-note,.apex-content,.apex-content section {
    background-color:#fff!important;color:#171519!important;border-color:#dedce0
  }
  .product-visual,.product-visual img,.product-main,.product-main img,.section-group-image,
  .pitlane-gallery,.model-colourway,.grid-colourways,.model-colourways,
  .colour-options a,.product-thumbnails button,.product-gallery .product-main,
  .search-item img,.bag-item img {background-color:#fff!important;color:#171519}
  .product-card :is(h3,.price,.quick-view,.product-tag),.product-meta a,
  .product-page :is(h1,h2),.collection-page :is(h1,h2,h3),
  .pitlane-top :is(h1,h2,.pitlane-gallery-label,.colour-label),
  .apex-content :is(h2,h3) {color:#171519!important}
  .product-meta p,.collection-page .breadcrumbs,.pitlane-info :is(p,.breadcrumbs),
  .apex-content p,.outlet-experience .outlet-preview-note {color:#4f4a51}
  .product-tag,.quick-view {background:#fff;color:#171519;border:1px solid #dedce0}
  .model-colourway {border-color:#d7d4d8}
  .model-colourway[aria-pressed=true]{border-color:#302035}
  .collection-page :is(button,select,input),.collection-tabs a,.section-tabs a {
    background-color:white;color:#242025;border-color:#d7d4d8
  }
  .collection-page :is(button,select):focus-visible,.model-colourway:focus-visible{outline:2px solid #563366}
  .collection-tabs a[aria-current=page],.section-tabs a[aria-current=page]{color:#452350;border-color:#452350}
  .section-experience .world-grid img { background-color:white }
}

/* Consistent image fade across department and collection headers. */
.section-banner, .gaming-banner {
  --banner-fade: linear-gradient(90deg, #151517 0%, #151517 32%, rgba(21,21,23,.86) 45%, rgba(21,21,23,0) 81%);
  background-color: #151517;
  color: #fff;
}
.section-banner { background-image: var(--banner-fade), var(--section-image); }
.gaming-banner::before { background: var(--banner-fade); }
:is(.section-banner, .gaming-banner) > div { background-color: transparent; }
:is(.section-banner, .gaming-banner) :is(h1, nav, nav a, span) { color: #fff; }

@media (max-width: 700px) {
  .section-banner, .gaming-banner {
    --banner-fade: linear-gradient(90deg, #151517 0%, rgba(21,21,23,.95) 35%, rgba(21,21,23,.70) 64%, rgba(21,21,23,.12) 100%);
  }
}
