/* =============================================================
   GTS PERFORMANCE — Custom Theme for OpenCart 1.5
   Drop into: catalog/view/theme/gts/stylesheet/stylesheet.css
   Activate: Admin > System > Settings > Store tab > Template: gts
   ============================================================= */

/* Fonts are self-hosted in ../fonts (2026-11-09; they came from Google Fonts, whose render-blocking stylesheet left the
   page blank whenever Google hung). Latin subset with Google's unicode-range, so other characters fall back to a
   system face exactly as before. Only the weights the theme renders: Chakra Petch 500/600/700, Inter 400 to 700 (one
   variable file), IBM Plex Mono 400/500; heavier requests (800, 900) still use the 700 face. Licences (SIL OFL 1.1)
   sit beside the files. header.tpl preloads Inter and Chakra Petch 700, the two the first screen needs. */
@font-face {
  font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/chakra-petch-500-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: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/chakra-petch-600-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: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/chakra-petch-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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-var-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-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;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:      #131313;
  --bg2:     #1a1a1a;
  --bg3:     #222222;
  --bg4:     #2a2a2a;
  --accent:  #ff562d;
  --accent2: #ffb4a2;
  --teal:    #00b38a;
  --text:    #f0ede8;
  --muted:   #888880;
  --border:  rgba(255,255,255,0.07);
  --glass:   rgba(26,26,26,0.85);
  --radius:  0px;
  /* Type system: --display = headlines, Inter = body, IBM Plex Mono = data/specs.
     Swap the whole site's display face by changing --display + the @font-face rules at the top (and the preload in header.tpl). */
  --display: 'Chakra Petch', sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 .5em;
}

img { max-width: 100%; height: auto; display: block; }

/* ---- LAYOUT WRAPPER ---- */
#wrapper { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  /* Full-width bar, but content held to the same 1200px column as the body */
  padding: 0 max(32px, calc((100% - 1200px) / 2 + 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  font-size: 12px;
}

#topbar .topbar-left { display: flex; align-items: center; gap: 24px; color: var(--muted); }
#topbar .topbar-left a { color: var(--muted); font-size: 11px; letter-spacing: 1px; }
#topbar .topbar-left a:hover { color: var(--text); }
#topbar .topbar-phone { color: var(--text); font-weight: 500; letter-spacing: 0.5px; }
#topbar .topbar-email { color: var(--muted); }

#topbar .topbar-right { display: flex; align-items: center; gap: 16px; }
#topbar .topbar-right a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
#topbar .topbar-right a:hover { color: var(--text); }

/* "Want to see your order status?" welcome note: match the topbar label scale (11px),
   not the 15px body default. Sign In uses the site accent instead of the old off-palette green. */
#topbar .topbar-right .tb-welcome {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
#topbar .topbar-right .tb-welcome a { color: var(--accent); }
#topbar .topbar-right .tb-welcome a:hover { color: var(--text); }

/* Cart in topbar */
#cart-total {
  background: var(--accent);
  color: #fff !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
}
#cart-total:hover { background: #e0461d !important; }

/* ============================================================
   MAIN NAV
   ============================================================ */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
  /* Full-width bar, but content held to the same 1200px column as the body */
  padding: 0 max(32px, calc((100% - 1200px) / 2 + 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
#nav .logo-wrap { display: flex; align-items: center; }
#nav .logo-wrap img { height: 38px; width: auto; }
#nav .logo-text {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  text-decoration: none;
}
#nav .logo-text span {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  font-weight: 400;
  color: rgba(240,237,232,0.4);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav links */
#nav ul.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
  height: 64px;
  flex-shrink: 0;   /* keep links at full size; the search absorbs any squeeze */
}

#nav ul.nav-links > li { position: relative; height: 64px; display: flex; align-items: center; }

#nav ul.nav-links > li > a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
#nav ul.nav-links > li > a:hover,
#nav ul.nav-links > li.active > a {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Dropdown */
#nav ul.nav-links > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  z-index: 1001;
}
#nav ul.nav-links > li:hover > ul,
#nav ul.nav-links > li:focus-within > ul { display: block; }
#nav ul.nav-links > li > ul > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: background .15s, color .15s;
}
#nav ul.nav-links > li > ul > li > a:hover {
  background: rgba(255,86,45,0.08);
  color: var(--text);
}
/* Sub-sub dropdown */
#nav ul.nav-links > li > ul > li { position: relative; }
#nav ul.nav-links > li > ul > li > ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--bg3);
  border: 0.5px solid var(--border);
  min-width: 200px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
#nav ul.nav-links > li > ul > li:hover > ul,
#nav ul.nav-links > li > ul > li:focus-within > ul { display: block; }
#nav ul.nav-links > li > ul > li > ul > li > a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
#nav ul.nav-links > li > ul > li > ul > li > a:hover {
  background: rgba(255,86,45,0.08);
  color: var(--text);
}

/* Search in nav */
#nav .nav-search { display: flex; align-items: center; gap: 8px; min-width: 0; }
#nav .nav-search-mobile { display: none; }  /* shown only on mobile (in the nav bar) */
/* Flex row so the input + button always stay on one line (input shrinks, button doesn't) */
#nav .nav-search form { display: flex; align-items: center; gap: 8px; min-width: 0; }
#nav .nav-search input {
  -webkit-appearance: none;   /* normalize input chrome across browsers */
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  width: 200px;
  min-width: 0;        /* allow the input to shrink rather than wrap the button below */
  outline: none;
  transition: border-color .2s;
}
#nav .nav-search input:focus { border-color: var(--accent); }
#nav .nav-search input::placeholder { color: var(--muted); font-size: 12px; }
#nav .nav-search button {
  flex: 0 0 auto;      /* button keeps its size and never wraps */
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background .2s;
}
#nav .nav-search button:hover { background: #e0461d; }
/* Center the inline SVG search icon in both desktop + mobile search buttons */
#nav .nav-search button,
#nav .nav-search-mobile button { display: flex; align-items: center; justify-content: center; }

/* Tighten link spacing on smaller desktops so the search keeps its width
   (between the 900px mobile breakpoint and 1200px). */
@media (max-width: 1200px) {
  #nav ul.nav-links > li > a { padding: 0 14px; }
}

/* ============================================================
   HERO BANNER (homepage)
   ============================================================ */
/* Hero is boxed into the same 1200px column as the category banners (desktop).
   Below 900px the .hero-wrap constraint is removed so the hero stays full-bleed. */
.hero-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 32px 0; box-sizing: border-box; }

#hero {
  position: relative;
  min-height: 520px;
  display: flex;
  overflow: hidden;
  background: var(--bg);
}
/* Content sits in the same 1200px column as the category banners,
   while .hero-bg-img stays full-bleed behind it. */
#hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#hero .hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.55;
  z-index: 0;
  
}
#hero .hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19,19,19,1) 35%, transparent 75%);
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

#hero .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 20px;
}
#hero .hero-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

#hero h1 {
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 20px;
  color: var(--text);
}
#hero h1 .accent { color: var(--accent); font-style: italic; }

#hero .hero-sub {
  color: rgba(240,237,232,0.62);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 32px;
}

/* Calibration-lab motif: monospace "instrument readout" spec strip */
#hero .hero-specs {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 0.5px solid var(--border);
  max-width: 540px;
}
#hero .hero-spec {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(240,237,232,0.55);
  padding: 0 16px;
  border-left: 0.5px solid var(--border);
  line-height: 1.3;
  white-space: nowrap;
}
#hero .hero-spec:first-child { padding-left: 0; border-left: none; }

#hero .hero-stat {
  position: absolute;
  right: 32px;
  bottom: 60px;
  z-index: 2;
  text-align: right;
}
#hero .hero-stat .num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
}
#hero .hero-stat .label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, button, input[type="submit"], input[type="button"] {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary, input[type="submit"], .button-primary {
  background: var(--accent);
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
}
.btn-primary:hover, input[type="submit"]:hover { background: #e0461d; color: #fff !important; }

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 11px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.btn-ghost:hover { border-color: var(--text); }

.btn-sm {
  padding: 7px 16px;
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* OC's native button classes */
.button {
  background: var(--accent);
  color: #fff !important;
  border: none;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
.button:hover { background: #e0461d; }
.button-inverse {
  background: var(--bg3);
  color: var(--text) !important;
  border: 0.5px solid var(--border);
}
.button-inverse:hover { background: var(--bg4); }

/* ============================================================
   BRAND BAR
   ============================================================ */
/* Brand bar boxed into the same 1200px column as the hero (desktop), flush under it. */
.brand-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

/* Featured-platforms grid boxed into the same 1200px column (desktop). */
.featured-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.fp-section { margin: 10px 0 56px; }
.fp-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 0 16px; }
.fp-head h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .5px; color: var(--text); margin: 0; font-weight: 800; }
.fp-head .fp-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.fp-head .module-link { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.fp-head .module-link:hover { color: var(--accent2); }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fp-card { position: relative; overflow: hidden; display: block; background: var(--bg4); text-decoration: none; }
.fp-card .fp-img { aspect-ratio: 64 / 34; overflow: hidden; }
.fp-card .fp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.fp-card:hover .fp-img img { transform: scale(1.04); }
.fp-card .fp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(to top, rgba(0,0,0,.78), transparent); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: 14px; }

#brand-bar {
  background: var(--bg2);
  border-bottom: 0.5px solid var(--border);
  padding: 16px 32px;
  display: flex;
  gap: 40px;
  align-items: center;
  overflow-x: auto;
}
#brand-bar .brand-item {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}

/* ============================================================
   HOMEPAGE CATEGORY BANNERS (replaces old stacked images)
   ============================================================ */
#category-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #000;
}
#category-banners .cat-banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  text-decoration: none;
}
#category-banners .cat-banner.full-width { grid-column: 1 / -1; min-height: 420px; }
#category-banners .cat-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .4s, transform .4s;
}
#category-banners .cat-banner:hover img { opacity: 1; transform: scale(1.03); }
#category-banners .cat-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.5) 0%, transparent 50%);
}
#category-banners .cat-banner-label {
  position: relative;
  z-index: 2;
  padding: 28px;
}
#category-banners .cat-banner-label h3 {
  font-size: clamp(22px, 3vw, 38px);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin: 0;
  color: var(--text);
  line-height: 1;
}
#category-banners .cat-banner-label .cat-arrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}

/* ============================================================
   FEATURED PRODUCTS / LATEST MODULE
   ============================================================ */
.module-section {
  padding: 56px 32px;
  background: var(--bg);
}
.module-section + .module-section { background: var(--bg2); }

.module-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  gap: 8px;
}
.module-header h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
}
.module-header .module-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 0;
}
.module-header .module-link {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.module-header .module-link:hover { color: var(--accent2); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  gap: 2px;
  justify-content: center;
}

.product-card {
  background: var(--bg3);
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.product-card:hover { background: var(--bg4); }

.product-card .product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg4);
}
.product-card .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-card .product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,19,19,0.7) 0%, transparent 50%);
}

.product-card .product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .product-model {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-card .product-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.2;
}
.product-card .product-name a { color: inherit; }
.product-card .product-name a:hover { color: var(--accent2); }
.product-card .product-price {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.product-card .product-price .price-new { color: var(--accent); }
.product-card .product-price .price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}
.product-card .product-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  gap: 6px;
}

/* Carousel arrows (OC's product slider) */
.carousel { position: relative; overflow: hidden; }
.carousel-inner { display: flex; transition: transform .3s; }
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26,26,26,0.8);
  border: 0.5px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
}
.carousel-control:hover { background: var(--accent); border-color: var(--accent); }
.carousel-control.left { left: 8px; }
.carousel-control.right { right: 8px; }

/* ============================================================
   CONTENT AREA (category / product pages)
   ============================================================ */
#content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  gap: 32px;
}

/* Sidebar */
#column-left, #column-right {
  width: 240px;
  flex-shrink: 0;
}
#main-content { flex: 1; min-width: 0; }

/* Sidebar modules */
.module-box {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  margin-bottom: 24px;
}
.module-box .module-title {
  background: var(--bg3);
  padding: 12px 16px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 0.5px solid var(--border);
}
.module-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.module-box ul li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 0.5px solid var(--border);
  transition: background .15s, color .15s;
}
.module-box ul li a:hover {
  background: rgba(255,86,45,0.07);
  color: var(--text);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
#breadcrumb {
  background: var(--bg2);
  border-bottom: 0.5px solid var(--border);
  padding: 12px 0;
  font-size: 12px;
}
#breadcrumb ul {
  list-style: none;
  /* Center the crumbs in the same 1200px container as the page content so the
     text lines up with the product/title instead of hugging the screen edge.
     The bar background stays full-width via #breadcrumb above. */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex; flex-wrap: wrap; row-gap: 4px;
  gap: 0;
  align-items: center;
}
#breadcrumb ul li { display: flex; align-items: center; white-space: nowrap; }
#breadcrumb ul li + li::before {
  content: '›';
  margin: 0 10px;
  color: var(--muted);
}
#breadcrumb ul li a { color: var(--muted); }
#breadcrumb ul li a:hover { color: var(--accent); }
#breadcrumb ul li:last-child a { color: var(--text); }

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-title {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
}

.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}
.sort-bar select {
  background: var(--bg3);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 7px 12px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  outline: none;
}
.sort-bar select:focus { border-color: var(--accent); }

.list-grid-toggle { display: flex; gap: 4px; }
.list-grid-toggle button {
  background: var(--bg3);
  border: 0.5px solid var(--border);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
}
.list-grid-toggle button.active,
.list-grid-toggle button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* List view for products */
.product-list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
}
.product-list-item img { width: 140px; height: 140px; object-fit: cover; flex-shrink: 0; }
.product-list-item .list-info { flex: 1; }
.product-list-item .list-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.product-list-item .list-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.product-list-item .list-price {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* Pagination
   OpenCart 1.5.x renders: <div class="links"><a>1</a><b>2</b>...</div><div class="results">...</div> */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  list-style: none;
}
.pagination .links { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination .links a, .pagination .links b {
  display: block;
  padding: 8px 14px;
  background: var(--bg3);
  border: 0.5px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}
.pagination .links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .links b { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: normal; }
.pagination .results { font-size: 13px; color: var(--muted); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
#product-page { padding: 40px 32px; max-width: 1200px; margin: 0 auto; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Image gallery */
.product-gallery {}
.product-gallery .main-image {
  background: var(--bg3);
  border: 0.5px solid var(--border);
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery .thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-gallery .thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 0.5px solid var(--border);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .2s, border-color .2s;
}
.product-gallery .thumbs img:hover,
.product-gallery .thumbs img.active { opacity: 1; border-color: var(--accent); }

/* Product info */
.product-info-col { min-width: 0; }
.product-info-col .product-detail-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-info-col h1 {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.05;
}
.product-info-col .product-detail-price {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.product-info-col .product-detail-price .price-new { color: var(--accent); }

.product-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg2);
  border: 0.5px solid var(--border);
}
.product-detail-meta .meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.product-detail-meta .meta-row .key { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.product-detail-meta .meta-row .val { color: var(--text); font-weight: 500; }

.product-options { margin-bottom: 24px; }
.product-options label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-options select,
.product-options input[type="text"],
.product-options textarea {
  width: 100%;
  background: var(--bg3);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.product-options select:focus,
.product-options input:focus,
.product-options textarea:focus { border-color: var(--accent); }

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.product-qty-row input[type="text"] {
  width: 64px;
  background: var(--bg3);
  border: 0.5px solid var(--border);
  color: var(--text);
  padding: 10px;
  font-size: 16px;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
}

.product-add-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.product-tabs {
  border-top: 0.5px solid var(--border);
  padding-top: 40px;
}
.product-tabs .tab-nav {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 0.5px solid var(--border);
}
.product-tabs .tab-nav a {
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.product-tabs .tab-nav a:hover { color: var(--text); }
.product-tabs .tab-nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.product-tabs .tab-content { font-size: 14px; color: rgba(240,237,232,0.7); line-height: 1.8; }

/* ============================================================
   FORMS (account, checkout)
   ============================================================ */
.form-section {
  max-width: 640px;
  margin: 40px auto;
  padding: 0 24px;
}
.form-section h1 { font-size: 28px; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.18);
  border-bottom: 2px solid rgba(255,255,255,0.18);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.3);
  border-bottom-color: var(--accent);
}
.form-group .error-msg,
.form-error {
  font-size: 11px;
  color: var(--accent2);
  margin-top: 4px;
}

.checkout-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 4px 0;
}
@media (max-width: 600px) {
  .checkout-login-grid { grid-template-columns: 1fr; }
  .checkout-login-grid > div[style*="border-left"] { border-left: none !important; padding-left: 0 !important; border-top: 0.5px solid var(--border); padding-top: 24px; }
}

/* ============================================================
   CHECKOUT STEPS
   ============================================================ */
.checkout { margin-top: 24px; }
.checkout > div {
  float: left;
  width: 100%;
  margin-bottom: 4px;
}
.checkout-heading {
  display: block;
  position: relative;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-left: 3px solid var(--border);
  padding: 14px 20px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
  transition: border-color .2s, color .2s;
}
.checkout-heading a {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
}
.checkout-heading a:hover { text-decoration: underline; }
.checkout-content {
  float: left;
  width: 100%;
  display: none;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-top: none;
  padding: 28px 28px 24px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Suppress <br> spam from default templates */
.checkout-content br { display: none; }

/* Shipping method radio table */
.checkout-content table.radio {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 18px;
}
.checkout-content table.radio td {
  padding: 6px 8px 6px 0;
  vertical-align: middle;
  font-size: 14px;
  color: var(--text);
}
.checkout-content table.radio tr.highlight td:first-child { width: 24px; padding-left: 0; }
.checkout-content table.radio tr.highlight td:nth-child(3) { text-align: right; color: var(--accent); font-weight: 600; font-family: var(--display); }
.checkout-content table.radio tr.highlight td { border-bottom: 0.5px solid var(--border); padding-top: 10px; padding-bottom: 10px; }
.checkout-content table.radio b {
  display: none;
}
.checkout-content table.radio label {
  display: inline;
  margin: 0;
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
}

/* Shrink the comment textarea */
.checkout-content textarea { height: 80px; resize: vertical; }

/* Tighten element spacing inside steps */
.checkout-content p { margin-bottom: 8px; }
.checkout-content input[type="text"],
.checkout-content input[type="email"],
.checkout-content input[type="password"],
.checkout-content input[type="tel"],
.checkout-content select,
.checkout-content textarea { margin-bottom: 8px; }
.checkout-content label { margin-bottom: 8px; }
.checkout-content #payment-existing,
.checkout-content #shipping-existing { margin: 6px 0 12px 20px; }
.checkout-content .buttons { margin-top: 16px; clear: both; }
.checkout-content .buttons .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
/* Agree line: text + link + checkbox all inline */
.checkout-content .buttons .right input[type="checkbox"] {
  width: auto;
  margin: 0 0 0 6px;
  accent-color: var(--accent);
  vertical-align: middle;
}
/* Terms link inside agree text */
.checkout-content .buttons .right a {
  color: var(--accent2);
  text-decoration: none;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-content .buttons .right a:hover { text-decoration: underline; }
/* Terms line (2026-11-09): the box and "I have read and agree to the" are one label, at least 44px tall, so a tap
   anywhere on the words ticks it. The policy link sits beside the label, outside it, and opens the policy page in a
   new tab (it used to open a fixed 640 x 480 popup). */
.checkout-content .agree-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 5px; }
.checkout-content .buttons .agree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
}
.checkout-content .buttons .agree-label input[type="checkbox"] { margin: 0; }
.checkout-content .buttons .agree-row a { display: inline-flex; align-items: center; min-height: 44px; }

/* Coupon section */
.checkout-content #coupon { margin-top: 20px; padding-top: 16px; border-top: 0.5px solid var(--border); }
.checkout-content #coupon b { display: none; } /* redundant instruction text */
.checkout-content #coupon input[type="text"] {
  width: auto;
  max-width: 280px;
  margin-bottom: 0;
  vertical-align: middle;
}
.checkout-content #button-coupon {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 20px;
  cursor: pointer;
  transition: background .2s;
  vertical-align: middle;
  margin-left: 8px;
}
.checkout-content #button-coupon:hover { background: #e0461d; }

/* Two-column login layout */
.checkout-content .left,
.checkout-content .right {
  float: left;
  width: 48%;
  margin-right: 4%;
  box-sizing: border-box;
}
.checkout-content .right { margin-right: 0; }

/* Headings inside injected content */
.checkout-content h2 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}
.checkout-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.checkout-content b {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
  font-family: var(--display);
}
.checkout-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(240,237,232,.75);
  cursor: pointer;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}
.checkout-content input[type="text"],
.checkout-content input[type="email"],
.checkout-content input[type="password"],
.checkout-content input[type="tel"],
.checkout-content select,
.checkout-content textarea {
  width: 100%;
  max-width: 400px;
  background: var(--bg3);
  border: 0.5px solid var(--border);
  border-bottom: 1px solid rgba(255,86,45,0);
  color: var(--text);
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.checkout-content input[type="text"]:focus,
.checkout-content input[type="email"]:focus,
.checkout-content input[type="password"]:focus,
.checkout-content select:focus { border-bottom-color: var(--accent); }
.checkout-content input[type="radio"],
.checkout-content input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
  vertical-align: middle;
  cursor: pointer;
}
.checkout-content input[type="radio"] + label,
.checkout-content input[type="checkbox"] + label {
  display: inline;
  vertical-align: middle;
  cursor: pointer;
}
.checkout-content select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.checkout-content .button,
.checkout-content input[type="button"].button,
.checkout-content input[type="submit"].button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
  display: inline-block;
}
.checkout-content .button:hover,
.checkout-content input[type="button"].button:hover { background: #e0461d; }

/* Step address list (existing addresses) */
.checkout-content .address-select select { max-width: 100%; }

/* Warning / error messages in steps */
.checkout-content .warning {
  background: rgba(255,86,45,0.1);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(240,237,232,0.85);
  margin-bottom: 16px;
}
.checkout-content .error {
  display: block;
  font-size: 11px;
  color: var(--accent);
  margin-top: -8px;
  margin-bottom: 8px;
}

/* Clearfix for floating columns */
.checkout-content::after { content:''; display:table; clear:both; }
.checkout::after { content:''; display:table; clear:both; }

/* Phone checkout steps (2026-11-09). The steps come from the default theme templates (address forms are tables, the
   confirm table has five columns) inside a box that hides overflow, and the generic .left/.right rule halved both the
   register form and every button row. Below 600px: one column, address tables stacked, buttons full width and at
   least 44px tall, and the confirm table laid out on a grid that fits (header row kept as the column labels). */
@media (max-width: 600px) {
  .checkout-page .checkout-content { padding: 20px 16px !important; }  /* the step box padding is inline in checkout.tpl */
  .checkout-content .left,
  .checkout-content .right { float: none; width: 100%; margin-right: 0; }
  .checkout-content .button,
  .checkout-content input[type="button"].button,
  .checkout-content input[type="submit"].button { display: block; width: 100%; min-height: 44px; text-align: center; }
  .checkout-content table.form,
  .checkout-content table.form tbody,
  .checkout-content table.form tr,
  .checkout-content table.form td { display: block; width: 100%; }
  .checkout-content table.form td:first-child { padding: 4px 0 6px; font-size: 13px; color: rgba(240,237,232,.75); }
  .checkout-content #coupon input[type="text"] { width: 100%; max-width: none; }
  .checkout-content #button-coupon { display: block; width: 100%; min-height: 44px; margin: 10px 0 0; }
  .checkout-product table,
  .checkout-product thead,
  .checkout-product tbody,
  .checkout-product tfoot { display: block; width: 100%; }
  .checkout-product tr { display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px; column-gap: 8px; padding: 8px 0; border-bottom: 0.5px solid var(--border); }
  .checkout-product td { display: block; min-width: 0; padding: 2px 0; font-size: 13px; overflow-wrap: anywhere; }
  .checkout-product thead td { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
  .checkout-product td.model,
  .checkout-product thead td.name { display: none; }
  .checkout-product tbody td.name,
  .checkout-product tbody td[colspan] { grid-column: 1 / -1; }
  .checkout-product td.name br { display: inline; }  /* one option per line in the narrow column */
  .checkout-product td.price,
  .checkout-product td.total { text-align: right; }
  .checkout-product tfoot tr { grid-template-columns: minmax(0, 1fr) auto; border-bottom: none; padding: 2px 0; }
}

/* ============================================================
   CART / CHECKOUT TABLE
   ============================================================ */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.cart-table th {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--bg2);
  border-bottom: 0.5px solid var(--border);
  text-align: left;
  font-weight: 500;
}
.cart-table td {
  padding: 16px 14px;
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
}
.cart-table tr:hover td { background: rgba(255,255,255,0.02); }
.cart-table .cart-product-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}
.cart-table .cart-total-row td {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  background: var(--bg2);
}
/* Phone cart (2026-11-09): the seven-column table was 550px wide inside a 329px box, so unit price, total and the
   remove link sat off screen. Below 600px each row becomes a card made from the same cells (no second copy of the
   markup, so each quantity field is still posted once): image, name and options, remove; then quantity, unit price
   and total, labelled from data-label. The model code is left out on phones. Coupon and buttons go full width.
   Every rule needs a class only the new cart.tpl has (.cart-table-wrap, .cart-coupon, .cart-actions), so this
   stylesheet on the old cart markup, for a request that straddles a deploy or a revert, leaves the old table alone. */
@media (max-width: 600px) {
  .cart-table-wrap { overflow: visible !important; }
  .cart-table-wrap .cart-table, .cart-table-wrap .cart-table tbody { display: block; width: 100%; }
  .cart-table-wrap .cart-table thead { display: none; }
  .cart-table-wrap .cart-table tbody tr {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 44px;
    column-gap: 12px;
    padding: 16px 0;
    border-bottom: 0.5px solid var(--border);
  }
  .cart-table-wrap .cart-table td { display: block; min-width: 0; padding: 0; border-bottom: none; }
  .cart-table-wrap .cart-table tr:hover td { background: none; }
  .cart-table-wrap .cart-table td.cart-img { grid-column: 1; grid-row: 1; }
  .cart-table-wrap .cart-table td.cart-name { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
  .cart-table-wrap .cart-table td.cart-remove { grid-column: 3; grid-row: 1; }
  .cart-table-wrap .cart-table td.cart-remove a { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; }
  .cart-table-wrap .cart-table td.cart-model { display: none; }
  .cart-table-wrap .cart-table td.cart-qty,
  .cart-table-wrap .cart-table td.cart-price,
  .cart-table-wrap .cart-table td.cart-total { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
  .cart-table-wrap .cart-table td[data-label]::before {
    content: attr(data-label);
    margin-right: auto;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .cart-table-wrap .cart-table td.cart-qty input { height: 44px; }
  .cart-table-wrap .cart-table td.cart-qty .button { min-width: 44px; height: 44px; margin-top: 0 !important; }
  .cart-coupon form { flex-direction: column; }
  .cart-coupon form input { flex: none !important; width: 100%; min-height: 44px; }
  .cart-coupon form .button { min-height: 44px; }
  .cart-actions { flex-direction: column-reverse; align-items: stretch !important; }
  .cart-actions .button { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; }
}

/* ============================================================
   ALERTS / NOTICES
   ============================================================ */
.alert {
  padding: 14px 20px;
  font-size: 13px;
  margin-bottom: 16px;
  border-left: 3px solid;
}
.alert-success { background: rgba(0,179,138,0.1); border-color: var(--teal); color: rgba(240,237,232,0.8); }
.alert-danger, .alert-error { background: rgba(255,86,45,0.1); border-color: var(--accent); color: rgba(240,237,232,0.8); }
.alert-info { background: rgba(255,180,162,0.08); border-color: var(--accent2); color: rgba(240,237,232,0.8); }
.alert-warning { background: rgba(255,180,0,0.08); border-color: #ffb400; color: rgba(240,237,232,0.8); }

/* ============================================================
   INFORMATION / STATIC PAGES
   ============================================================ */
/* Plain info pages stay a centered, readable 840px column. Styled KB pages get the
   .info-styled class (added by the template when the content uses a #gts-* wrapper) and
   widen to the homepage's 1200px. Below 840px the max-width never engages -> mobile unchanged. */
.info-page { max-width: 840px; margin: 40px auto; padding: 0 32px; }
.info-page.info-styled { max-width: 1200px; }
/* Mobile: tighten side padding to 10px (verified good on real devices, e.g. S24+) so content
   gets more of the screen and pages are less tall/scrolly. */
@media (max-width: 600px) { .info-page { padding-left: 10px; padding-right: 10px; } }
.info-page h1 { font-size: 36px; text-transform: uppercase; letter-spacing: -1.5px; margin-bottom: 32px; }
.info-page h2 { font-size: 20px; text-transform: uppercase; letter-spacing: -0.5px; margin: 32px 0 12px; color: var(--accent2); }
.info-page p { font-size: 14px; color: rgba(240,237,232,0.65); line-height: 1.8; margin-bottom: 16px; }
.info-page ul { padding-left: 20px; color: rgba(240,237,232,0.65); font-size: 14px; line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0d0d0d;
  border-top: 0.5px solid var(--border);
  padding: 56px 32px 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-logo-wrap { margin-bottom: 14px; }
.footer-logo-wrap img { height: 36px; }
.footer-logo-text {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
}
.footer-about { color: rgba(240,237,232,0.3); font-size: 13px; line-height: 1.7; margin-top: 10px; }
.footer-col-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: rgba(240,237,232,0.35);
  font-size: 13px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-copy { font-size: 11px; color: rgba(240,237,232,0.2); letter-spacing: 1px; text-transform: uppercase; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; color: rgba(240,237,232,0.2); letter-spacing: 1px; }
.footer-links a:hover { color: rgba(240,237,232,0.5); }

#mobile-contact-bar { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #nav { padding: 0 16px; gap: 12px; }
  #nav ul.nav-links { display: none; }
  #nav .nav-mobile-toggle { display: flex; }
  /* Hide desktop search on mobile */
  #nav .nav-search { display: none; }

  /* ---- Mobile dropdown menu (toggled open via #mobile-toggle) ---- */
  #nav ul.nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;   /* override the desktop nav's align-items:center, which
                               otherwise centers every row in this vertical menu */
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--bg2);
    border-bottom: 0.5px solid var(--border);
    padding: 8px 0;
    z-index: 999;
  }
  #nav ul.nav-links.nav-open > li { height: auto; display: block; }
  #nav ul.nav-links.nav-open > li > a {
    height: auto;
    padding: 12px 24px;
    border-bottom: none;
  }
  /* Expand submenus inline so subcategories are reachable on touch */
  #nav ul.nav-links.nav-open ul {
    position: static;
    display: block;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 0 6px 0;
  }
  #nav ul.nav-links.nav-open ul > li { position: static; }
  #nav ul.nav-links.nav-open ul > li > a {
    padding: 8px 24px 8px 40px;
    font-size: 12px;
  }
  /* Mobile search bar — sits between the logo and the menu button */
  #nav .nav-search-mobile {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;          /* allow the input to shrink on narrow phones */
    margin: 0 10px;
    gap: 6px;
  }
  #nav .nav-search-mobile input[type="text"] {
    flex: 1;
    min-width: 0;
    -webkit-appearance: none;   /* stop Samsung Internet / iOS Safari from forcing
                                   a native white input box over the dark theme */
    appearance: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border: 0.5px solid var(--border);
    color: var(--text);
    padding: 8px 10px;
    font-size: 16px;       /* 16px prevents iOS zoom-on-focus */
    outline: none;
  }
  #nav .nav-search-mobile input[type="text"]:focus { border-color: var(--accent); }
  #nav .nav-search-mobile button {
    flex: 0 0 auto;
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 0 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }
  /* Keep the logo and menu button from shrinking; the search absorbs the slack */
  #nav .logo-wrap, #nav .nav-mobile-toggle { flex: 0 0 auto; }
  /* Mobile contact bar below nav */
  #mobile-contact-bar {
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    border-bottom: 0.5px solid var(--border);
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  #mobile-contact-bar .mcb-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 16px;
  }
  #mobile-contact-bar .mcb-row + .mcb-row {
    border-top: 0.5px solid var(--border);
  }
  #mobile-contact-bar .mcb-account a:first-child { color: var(--accent); }
  #mobile-contact-bar a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 500;
  }
  #mobile-contact-bar a:hover { color: var(--accent); }
  #mobile-contact-bar .mcb-divider { color: var(--border); }
  #content-wrap { flex-direction: column; }
  #column-left, #column-right { width: 100%; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  #category-banners { grid-template-columns: 1fr; }
  /* Below 900px the hero + brand bar go full-bleed again. */
  .hero-wrap, .brand-wrap { max-width: none; margin: 0; padding: 0; }
  /* Featured platforms: drop the 1200 cap but keep side gutters, and go to 2 columns. */
  .featured-wrap { max-width: none; padding: 0 16px; }
  .fp-grid { grid-template-columns: repeat(2, 1fr); }
  #category-banners .cat-banner,
  #category-banners .cat-banner.full-width { min-height: 200px; height: 200px; }
  /* The banner image already has the category name baked in. On the stacked/short mobile
     banners the text label collides with that in-image text, so hide it (keep the CTA arrow). */
  #category-banners .cat-banner-label h3 { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  /* ---- Mobile hero image ----
     The desktop photo is composed black-left / subject-right with a horizontal
     gradient. On a narrow portrait viewport that crops to the dark far-right and
     reads as near-black. Reposition onto the red OBD cable, lift opacity, and swap
     to an even vertical scrim so the photo shows while text stays readable. */
  #hero .hero-bg-img {
    background-image: url('../../../../../image/data/hero-banner-A2b-mobile.jpg') !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
  }
  #hero .hero-bg-img::after {
    background: linear-gradient(to bottom, rgba(19,19,19,0.45) 0%, rgba(19,19,19,0.66) 55%, rgba(19,19,19,0.80) 100%);
  }

  /* ---- Mobile spec strip ----
     The desktop border-left dividers orphan into stray leading pipes when the row
     wraps. Use a 2-col grid instead. */
  #hero .hero-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    max-width: none;
  }
  #hero .hero-spec {
    border-left: none;
    padding: 0;
    letter-spacing: 0.5px;
  }
  #hero .hero-spec:first-child { padding-left: 0; }
}
@media (max-width: 600px) {
  /* 16px min stops iOS Safari from auto-zooming the page when a form field is tapped. The longer list repeats the
     14px field rules above (product options, account forms, checkout steps), which outrank the bare selectors. */
  input, select, textarea,
  .product-options select, .product-options input[type="text"], .product-options textarea,
  .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="tel"],
  .form-group select, .form-group textarea,
  .checkout-content input[type="text"], .checkout-content input[type="email"], .checkout-content input[type="password"],
  .checkout-content input[type="tel"], .checkout-content select, .checkout-content textarea { font-size: 16px; }
  #hero { min-height: 420px; }
  #hero .hero-inner { padding: 44px 32px; }  /* keep 32px to stay aligned with the banners */
  #hero h1 { font-size: 44px; }
  /* Badge is absolutely positioned for the desktop corner; on mobile let it flow
     below the hero content so it no longer overlaps the "New here?" links. */
  #hero .hero-stat { position: static; text-align: left; margin-top: 28px; }
  .fp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #topbar { display: none; }
  .sort-bar { flex-direction: column; align-items: flex-start; }
  /* Register form: collapse 2-col grids to 1-col on mobile */
  #main-content .form-group ~ .form-group { margin-top: 0; }
  #main-content [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* ---- Mobile overflow guards ----
     The page sets overflow-x:hidden, so anything wider than the screen is CLIPPED,
     not scrollable (e.g. the tuning-guide tables lose their right column, and the
     search category <select> runs off the edge). Fix both: */
  .info-page table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
  }
  #main-content select,
  #main-content input[type="text"],
  #main-content input[type="email"],
  #main-content input[type="password"] {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================================
   NAV MOBILE TOGGLE (hidden on desktop)
   ============================================================ */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
}

/* ============================================================
   HARDWARE SHOWCASE
   ============================================================ */
.hardware-section {
  background: var(--bg2);
  padding: 80px 0;
}
.hardware-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.hardware-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.hardware-title {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -1px;
}
.hardware-sub {
  color: rgba(240,237,232,.4);
  font-size: 14px;
  margin: 0;
}
.hardware-explore {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.hardware-explore:hover { color: var(--accent); }

/* 3-column grid; first card spans 2 cols + 2 rows */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 6px;
}
.hw-card {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  display: block;
  min-height: 300px;
}
.hw-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 600px;
}
.hw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: opacity .5s;
  position: absolute;
  inset: 0;
}
.hw-card:hover img { opacity: .8; }
.hw-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}
.hw-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 32px;
}
.hw-card-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hw-card-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.15;
}
.hw-card-btn {
  display: inline-block;
  background: #fff;
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: background .2s, color .2s;
}
.hw-card:hover .hw-card-btn {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .hardware-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hw-card-large { grid-column: span 2; grid-row: span 1; min-height: 300px; }
}
@media (max-width: 600px) {
  .hardware-section { padding: 48px 0; }
  .hardware-inner { padding: 0 20px; }
  .hardware-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hardware-grid { grid-template-columns: 1fr; }
  .hw-card-large { grid-column: span 1; grid-row: span 1; }
  .hw-card, .hw-card-large { min-height: 260px; }
}

/* ============================================================
   R&D RESULTS
   ============================================================ */
.rd-section {
  background: var(--bg);
  padding: 80px 0;
}
.rd-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.rd-heading {
  text-align: center;
  margin-bottom: 64px;
}
.rd-title {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0 0 16px;
}
.rd-rule {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto;
}

/* 2-col left dyno + 1-col right news */
.rd-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Dyno card */
.rd-dyno-card {
  background: var(--bg2);
  border: 0.5px solid rgba(255,255,255,.05);
  padding: 36px;
}
.rd-dyno-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.rd-dyno-model {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}
.rd-dyno-stage {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
.rd-dyno-peak { text-align: right; }
.rd-peak-num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1;
}
.rd-peak-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  margin-top: 4px;
}

/* SVG chart */
.rd-chart-wrap {
  margin-bottom: 24px;
}
.rd-chart-svg {
  width: 100%;
  height: 180px;
  display: block;
}
.rd-chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rd-legend-hp { color: var(--accent); }
.rd-legend-tq { color: var(--teal); }

/* Stat boxes */
.rd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.rd-stat {
  background: var(--bg);
  border: 0.5px solid rgba(255,255,255,.05);
  padding: 16px;
  text-align: center;
}
.rd-stat-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  margin-bottom: 6px;
}
.rd-stat-val {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

/* News column */
.rd-news-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.rd-news-item { }
.rd-news-date {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  margin-bottom: 8px;
}
.rd-news-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.25;
}
.rd-news-body {
  font-size: 13px;
  color: rgba(240,237,232,.45);
  line-height: 1.7;
  margin: 0;
}
.rd-news-more {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.rd-news-more:hover { color: var(--accent); }

/* ============================================================
   CAR SELECTOR — fixed bottom drawer
   ============================================================ */
#car-selector {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  z-index: 100000;
  /* collapsed: only the tab (36px) peeks above the fold */
  transform: translateY(calc(100% - 36px));
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
#car-selector.cs-open {
  transform: translateY(0);
}
/* One-time intro: lift just enough to reveal the top of the Make select, so a
   first-time visitor learns a selector lives under the bar. Retracts by itself.
   Deliberately short of covering any CTA. */
#car-selector.cs-peek {
  transform: translateY(calc(100% - 36px - 110px));
}

/* --- Tab (always visible) --- */
.cs-tab {
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.cs-tab-label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.cs-tab-chevron {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  line-height: 1;
}
/* Mirror of the chevron on the opposite side. Without it, flex centring centres
   label+gap+chevron as a group, leaving the text visibly left of centre. */
.cs-tab-spacer { visibility: hidden; }
/* letter-spacing also adds trailing space after the last glyph; cancel it so
   the text is optically centred rather than box-centred. */
.cs-tab-label { margin-right: -2px; }
.cs-tab:hover { background: #e0461d; }

/* --- Panel (slides up from below tab) --- */
.cs-panel {
  background: var(--bg2);
  border-top: 0.5px solid var(--border);
  padding: 28px 0 24px;
  position: relative;
  /* cap height on small screens so the panel never exceeds the viewport */
  max-height: calc(70vh - 36px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cs-close {
  position: absolute;
  top: 12px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color .2s;
}
.cs-close:hover { color: var(--text); }

/* --- Inner layout --- */
.cs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.cs-label { flex-shrink: 0; min-width: 160px; }
.cs-label h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}
.cs-accent { color: var(--accent); }

.cs-form {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.cs-field { position: relative; }
.cs-field-label {
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 0 4px;
  background: var(--bg2);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
  pointer-events: none;
}
.cs-select {
  width: 100%;
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.2);
  color: var(--text);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 36px 13px 14px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.cs-select:focus { border-color: var(--accent); }
.cs-select:disabled { opacity: 0.35; cursor: default; }
.cs-select option { background: var(--bg2); color: var(--text); }
.cs-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.25);
  font-size: 18px;
  pointer-events: none;
  line-height: 1;
}
.cs-go {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.cs-go:hover { background: #e0461d; }
.cs-go:active { transform: scale(0.97); }

/* Body padding so footer content isn't hidden under the tab */
/* Force grayscale anti-aliasing: stops light/bold text on the dark theme from
   getting a sub-pixel "outer glow" halo on desktop (phones already use grayscale AA). */
body { padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

@media (max-width: 1024px) {
  .cs-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 24px; }
  .cs-form { grid-template-columns: 1fr 1fr; }
  .cs-go { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  /* 2-column is more compact than 1-column on phones */
  .cs-form { grid-template-columns: 1fr 1fr; }
  .cs-go { grid-column: 1 / -1; }
  .cs-inner { padding: 0 16px; gap: 14px; }
  .cs-label h3 { font-size: 14px; }
  /* Taller tab for easier touch */
  .cs-tab { height: 44px; }
  #car-selector { transform: translateY(calc(100% - 44px)); }
  #car-selector.cs-open { transform: translateY(0); }
  #car-selector.cs-peek { transform: translateY(calc(100% - 44px - 110px)); }
  .cs-tab-label { font-size: 12px; letter-spacing: 1.5px; margin-right: -1.5px; }
}

@media (max-width: 900px) {
  .rd-grid { grid-template-columns: 1fr; }
  .rd-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .rd-section { padding: 48px 0; }
  .rd-inner { padding: 0 20px; }
  .rd-title { font-size: 26px; letter-spacing: -1px; }
  .rd-stats { grid-template-columns: repeat(3, 1fr); }
  .rd-dyno-card { padding: 20px; }
}

/* =========================================
   Payment Trust Badge
   ========================================= */
.payment-trust-badge {
  display: flex;
  align-items: center;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 0.5px solid var(--border);
  max-width: 100%;
  overflow: hidden;
}
.ptb-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.ptb-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 0;
  min-width: 0;
}
.ptb-ic {
  display: inline-block !important;
  vertical-align: middle;
  height: 24px !important;
  width: auto;
  border-radius: 4px;
  margin-right: 5px;
  flex-shrink: 0;
  opacity: 0.9;
}
.ptb-sep {
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  margin: 0 10px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .payment-trust-badge { flex-wrap: wrap; }
  .ptb-label { width: 100%; margin-bottom: 8px; }
  .ptb-sep.ptb-sep-label { display: none; }
  .ptb-icons { width: 100%; }
}
