/* SPEEDX RACEGEAR / EDITORIAL 2027 — INACTIVE XSTORE DRAFT ONLY
   Loaded last to supersede the old product-cutout homepage styling.
   Does not override WooCommerce checkout, account or payment components. */
:root {
  --sx-ink:#15191d;
  --sx-night:#10151a;
  --sx-graphite:#232a30;
  --sx-red:#d52e32;
  --sx-white:#f8f9f7;
  --sx-paper:#eef1ef;
  --sx-grey:#657078;
  --sx-line:#dfe4e2;
  --sx-body:'Manrope',Arial,sans-serif;
  --sx-display:'Barlow Condensed','Arial Narrow',sans-serif;
}
body.sx-modern {font-family:var(--sx-body); -webkit-font-smoothing:antialiased}
.sx-modern :is(.sx-home,.sx-header,.sx-footer) h1,
.sx-modern :is(.sx-home,.sx-header,.sx-footer) h2,
.sx-modern :is(.sx-home,.sx-header,.sx-footer) h3 {
  font-family:var(--sx-display);
  letter-spacing:-.012em;
  font-weight:800;
}
.sx-modern .sx-section-head h2 {font-size:clamp(38px,4.7vw,66px);line-height:.98;max-width:850px}
.sx-modern .sx-section-head {margin-bottom:35px;align-items:end}
.sx-modern .sx-section-head small {font-size:11px;letter-spacing:.16em}
.sx-modern .sx-section {padding-top:clamp(65px,6.6vw,106px);padding-bottom:clamp(68px,6.9vw,110px)}
.sx-modern .sx-header {background:#15191d;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.sx-modern .sx-nav-top {font-size:11px;letter-spacing:.045em}
.sx-modern .sx-logo img {max-height:64px}
.sx-modern .sx-topline {letter-spacing:.075em}
.sx-modern .sx-topline b {color:var(--sx-red)}
/* Image-led editorial hero */
.sx-modern .sx-hero-editorial {
  position:relative;
  background:#13191e;
  color:#fff;
  isolation:isolate;
  overflow:hidden;
}
.sx-modern .sx-hero-editorial .sx-hero-photo {
  position:absolute;inset:0;z-index:0;
  background-image:var(--sx-hero-image);
  background-repeat:no-repeat;background-size:cover;background-position:61% 50%;
  filter:saturate(.82) contrast(1.06);
  transform:scale(1.002);
}
.sx-modern .sx-hero-editorial .sx-hero-shade {
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(90deg,rgba(8,13,18,.96) 0%,rgba(8,13,18,.82) 34%,rgba(8,13,18,.32) 67%,rgba(8,13,18,.12) 100%),
    linear-gradient(0deg,rgba(8,13,18,.52),rgba(8,13,18,0) 42%);
}
.sx-modern .sx-hero-editorial .sx-hero-inner {
  display:flex;align-items:center;position:relative;z-index:1;
  min-height:clamp(610px,55vw,740px)!important;gap:0!important;
}
.sx-modern .sx-hero-editorial .sx-hero-copy {
  padding:82px 0 86px;max-width:760px;
}
.sx-modern .sx-hero-editorial .sx-label {
  display:flex;align-items:center;gap:9px;margin:0 0 29px;
  font:800 11px/1.45 var(--sx-body);letter-spacing:.17em;
  color:#f1f3f3;
}
.sx-modern .sx-hero-editorial .sx-label i {flex:none;margin-right:0;width:7px;height:7px;background:var(--sx-red);box-shadow:none}
.sx-modern .sx-hero-editorial h1 {
  max-width:850px;color:#fff;font:800 clamp(64px,7.3vw,116px)/.88 var(--sx-display);
  letter-spacing:-.017em; margin:0 0 28px;text-wrap:balance;
}
.sx-modern .sx-hero-editorial h1 em {font-style:normal;color:#f8faf9}
.sx-modern .sx-hero-editorial .sx-hero-copy>p:not(.sx-label) {
  font:500 clamp(14px,1.35vw,17px)/1.8 var(--sx-body);
  color:#e0e7e7;max-width:545px;margin:0 0 30px;
}
.sx-modern .sx-hero-editorial .sx-hero-ctas {gap:12px}
.sx-modern .sx-home .sx-button,
.sx-modern .sx-home .sx-card-action {
  border-radius:3px;
  font-family:var(--sx-body);font-weight:800!important;
  letter-spacing:.045em!important;
  font-size:12px!important;
  transition:background .2s,border-color .2s,color .2s,transform .2s;
}
.sx-modern .sx-home .sx-button {
  background:var(--sx-red);border:1px solid var(--sx-red);
  min-height:54px;padding:0 30px;color:white!important;
  display:inline-flex;align-items:center;justify-content:center;
}
.sx-modern .sx-home .sx-button:hover {background:#ab2027;border-color:#ab2027;transform:translateY(-2px)}
.sx-modern .sx-home .sx-button-ghost {
  background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.7);color:#fff!important;
}
.sx-modern .sx-home .sx-button-ghost:hover {background:#fff;color:#111820!important;border-color:#fff}
.sx-modern .sx-home .sx-button-light {background:#fff;border-color:#fff;color:#15191d!important}
.sx-modern .sx-home .sx-button-light:hover {background:#f1f1ed;border-color:#f1f1ed}
.sx-modern .sx-home .sx-button:after,
.sx-modern .sx-home .sx-card-action:after {display:none!important;content:none!important}
.sx-modern .sx-hero-editorial .sx-hero-facts {
  margin-top:40px;color:#d5dcdf;gap:10px 20px;
  font:800 10px/1.6 var(--sx-body);letter-spacing:.08em;
}
.sx-modern .sx-hero-editorial .sx-hero-facts span:before {color:#f45f61;margin-right:9px}
/* De-clutter merchandising below hero */
.sx-modern .sx-home-perks {background:#e8eceb;border-bottom:1px solid #dce1df}
.sx-modern .sx-home-perks>.sx-container {gap:26px}
.sx-modern .sx-home-perks .sx-container>div {min-height:74px;font-size:11px;letter-spacing:.02em;font-weight:750}
.sx-modern .sx-category-tiles {gap:19px}
.sx-modern .sx-category-tile {background:#e9eeec;min-height:270px;border-radius:3px;padding:31px}
.sx-modern .sx-category-tile:nth-child(2) {background:#e2e8e6}
.sx-modern .sx-category-tile:nth-child(3) {background:#ecece9}
.sx-modern .sx-category-tile:nth-child(4) {background:#e8ecec}
.sx-modern .sx-category-tile:hover {box-shadow:0 20px 50px rgba(10,19,25,.11);transform:translateY(-3px)}
.sx-modern .sx-category-tile h3 {font-size:clamp(34px,3.7vw,52px);line-height:1}
.sx-modern .sx-category-tile p {font-size:13px;line-height:1.6;max-width:220px;margin-bottom:18px}
.sx-modern .sx-category-tile strong {font:800 10px/1.5 var(--sx-body);letter-spacing:.08em}
.sx-modern .sx-team-band {background:#151b21;padding:clamp(65px,6.2vw,95px) 0}
.sx-modern .sx-team-logo-card {transition:background .18s}
.sx-modern .sx-team-arrow {display:none!important}
.sx-modern .sx-product-card {border:1px solid #e3e7e5;border-radius:3px;overflow:hidden}
.sx-modern .sx-product-picture {background:#f0f2f1;padding:17px;aspect-ratio:4/4.6}
.sx-modern .sx-product-card>div {padding:18px}
.sx-modern .sx-product-card h3 {font-size:13px;line-height:1.55;letter-spacing:-.01em;min-height:60px}
.sx-modern .sx-card-action {padding:13px 14px;text-align:center;border:1px solid #cbd3d2}
.sx-modern .sx-editorial {background:#1c252d}
.sx-modern .sx-editorial-grid {gap:8%;padding:clamp(75px,7vw,115px) 0}
.sx-modern .sx-editorial h2 {font-size:clamp(45px,5.3vw,76px);max-width:670px}
.sx-modern .sx-editorial p {font-size:15px;line-height:1.8}
.sx-modern .sx-help-grid {gap:22px}
.sx-modern .sx-help-grid>div {border-top:2px solid #d6dddc;padding-top:20px}
.sx-modern .sx-help-grid h3 {font-size:27px;letter-spacing:-.01em}
.sx-modern .sx-help-grid p {line-height:1.75}
@media(max-width:1030px) {
  .sx-modern .sx-hero-editorial .sx-hero-inner {min-height:635px!important}
  .sx-modern .sx-hero-editorial h1 {font-size:clamp(62px,8.7vw,93px)}
}
@media(max-width:767px) {
  .sx-modern .sx-hero-editorial .sx-hero-inner {
    display:flex!important;min-height:580px!important;align-items:flex-end!important;
  }
  .sx-modern .sx-hero-editorial .sx-hero-photo {background-position:59% center}
  .sx-modern .sx-hero-editorial .sx-hero-shade {
    background:linear-gradient(0deg,rgba(8,13,18,.98) 0%,rgba(8,13,18,.87) 38%,rgba(8,13,18,.32) 88%);
  }
  .sx-modern .sx-hero-editorial .sx-hero-copy {padding:84px 0 43px!important;max-width:100%}
  .sx-modern .sx-hero-editorial .sx-label {margin-bottom:17px;font-size:9px;letter-spacing:.09em}
  .sx-modern .sx-hero-editorial h1 {
    font-size:clamp(48px,11.8vw,73px)!important;line-height:.91!important;
    margin:0 0 18px!important;
  }
  .sx-modern .sx-hero-editorial .sx-hero-copy>p:not(.sx-label) {
    font-size:13px!important;line-height:1.65!important;max-width:470px;margin-bottom:24px!important;
  }
  .sx-modern .sx-hero-editorial .sx-hero-facts {margin-top:24px!important;font-size:8px;gap:8px 12px}
  .sx-modern .sx-home .sx-button {min-height:48px;padding:0 18px;font-size:10px!important}
  .sx-modern .sx-category-tile {min-height:220px;padding:22px}
  .sx-modern .sx-category-tile h3 {font-size:clamp(29px,6.3vw,40px)}
  .sx-modern .sx-section {padding-top:68px;padding-bottom:70px}
  .sx-modern .sx-section-head h2 {font-size:clamp(38px,8.5vw,56px)}
  .sx-modern .sx-editorial h2 {font-size:clamp(42px,9vw,60px)}
}
@media(max-width:540px) {
  .sx-modern .sx-hero-editorial .sx-hero-inner {min-height:590px!important}
  .sx-modern .sx-hero-editorial .sx-hero-ctas {display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .sx-modern .sx-home .sx-button {width:100%;padding:0 10px}
  .sx-modern .sx-home-perks>.sx-container {display:grid;grid-template-columns:1fr;gap:0}
  .sx-modern .sx-home-perks .sx-container>div {min-height:44px;border-bottom:1px solid #d5dcda}
  .sx-modern .sx-category-tile {min-height:190px}
  .sx-modern .sx-category-tile .sx-category-copy {width:62%}
  .sx-modern .sx-category-tile .sx-category-image {width:49%}
  .sx-modern .sx-home-products {gap:12px}
  .sx-modern .sx-product-card>div {padding:12px}
  .sx-modern .sx-product-card h3 {font-size:12px;min-height:67px}
  .sx-modern .sx-card-action {font-size:10px!important}
}
@media(prefers-reduced-motion:reduce) {
  .sx-modern .sx-home .sx-button,
  .sx-modern .sx-product-card,
  .sx-modern .sx-category-tile {transition:none!important;transform:none!important}
}
