/* THE SHARED TOP NAV — GENERATED, DO NOT EDIT.
 *
 * Built by scripts/build-nav.mjs from assets/theme-custom.css, the storefront's
 * own stylesheet. To change how the nav looks on ANY of the four surfaces, edit
 * it there and re-run `npm run nav:build`.
 *
 * Every rule here is scoped to the header. Nothing in this file can reach the
 * page below it -- design tokens included, which are pinned on .site-header
 * rather than :root precisely so a surface with its own theme (Evolution's
 * light/dark toggle) keeps it everywhere except the bar.
 *
 * Source: assets/theme-custom.css @ sha256:ccac0336a6d8
 */

.site-header {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.6px;
  text-transform: none;
  text-align: start;
  -webkit-font-smoothing: antialiased;

  --accent-text: #febf00;
  --blue: #0a4cff;
  --color-button-text: 0, 26, 82;
  --color-foreground: 245, 248, 255;
  --duration-default: 200ms;
  --focused-base-box-shadow: 0 0 0 3px rgb(var(--color-background)), 0 0 5px 4px rgba(var(--color-foreground), 0.3);
  --focused-base-outline: 2px solid rgba(var(--color-foreground), 0.5);
  --ink: #c4d2f0;
  --line: rgba(122, 148, 210, 0.18);
  --line-y: rgba(254, 191, 0, 0.28);
  --muted: #7e90bd;
  --navy: #001a52;
  --navy-2: #04123b;
  --navy-3: #0a2468;
  --on-brand: #001a52;
  --radius-pill: 0;
  --radius-sm: 0;
  --text-2xs: 15.04px;
  --text-lg: 24.96px;
  --text-sm: 19.04px;
  --text-xs: 16.96px;
  --weight-bold: 700;
  --white: #f5f8ff;
  --yellow: #febf00;
  --yellow-hi: #ffce33;
}

.site-header {
  --navy: #001a52;
  --navy-2: #04123b;
  --navy-3: #0a2468;
  --white: #f5f8ff;
  --ink: #c4d2f0;
  --muted: #7e90bd;
  --accent-text: #febf00;
  --blue-hi: #2f66ff;
  --yellow-hi: #ffce33;
  --line: rgba(122, 148, 210, 0.18);
  --line-y: rgba(254, 191, 0, 0.28);

  /* Dawn reads triplets, not hex. Without these, a Dawn component dropped
     inside the chrome (a form, a price, a badge) keeps the canvas values and
     renders dark-on-dark. */
  --color-background: 0, 26, 82;
  --color-foreground: 245, 248, 255;
  --color-background-contrast: 10, 36, 104;
  --color-link: 254, 191, 0;

  background-color: var(--navy);
  color: var(--ink);
}

:where(.site-header) :where(button, input, select, textarea) {
  font-family: inherit;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--navy-2) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

header.site-header.tkd-belt {
  position: fixed;
  inset-inline: 0;
  transform: translateY(0);
  transition: transform 180ms ease;
  will-change: transform;
}

header.site-header.tkd-belt[data-hidden='true'] {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
header.site-header.tkd-belt {
    transition: none;
  }
}

.site-header__inner {
  width: 100%;
}

.site-header__bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12.5px;
  /* 60px per TKD-STORE-UX-SPEC §3.2. It was 70px; the spec's figure assumed
     the search bar, which landed 2026-09-07 (HANDOFF §4.11 said to revisit). */
  height: 60px;
}

.site-header__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

:where(.site-header) nav[aria-label='Primary'] {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(8px, 1.3vw, 14px);
  align-items: center;
}

:where(.site-header) nav[aria-label='Primary'] a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.2s;
}

:where(.site-header) nav[aria-label='Primary'] a:hover {
  color: var(--accent-text);
}

:where(.site-header) nav[aria-label='Primary'] a[aria-current='page'] {
  color: var(--accent-text);
}

.race-system-nav-shell {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-y) transparent;
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.race-system-nav {
  width: 100%;
  /* The shell already scrolls horizontally (overflow-x, thin scrollbar,
     overscroll-behavior) but the grid had no floor, so on a 390px phone each
     of the nine cells was 43px and every label stacked one letter per line —
     the rail measured ~300px tall under the new search row. 760px (84px
     cells) fixed that for English; once words stopped breaking mid-word
     (2026-09-09) the it/fr/pt labels still ran 3-5 lines in the cells left
     over after the long-word cells took their share. 900px = 100px cells:
     every locale measured at ≤3 lines, English at 2. Desktop is untouched
     (1440/9 = 160px). Raised to 900px on 2026-09-13, when "Got Parts?" made
     the rail EIGHT cells: at 800px they would have been 100px and the long
     labels would have gone to two lines, taking the phone rail from 40px to
     ~55px. 900/8 = 112px, measured 113x40 in WebKit at 390px -- every label
     on one line, the rail exactly as tall as it is today. */
  min-width: 900px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  /* One implicit column per item (8: seven, plus "Got Parts?" on 2026-09-13
     -- counted in a rendered page, not from this comment, which claimed 8
     while the rail had 7) -- the count is not hard-coded, so removing or
     adding a link never leaves an empty track. min-content, not 0: a cell can
     never be narrower than its longest single word, so labels wrap at
     spaces ("Chassis &" / "Components") and never mid-word; 84px cells were
     hyphenating "COMPO-NENTS" on every phone. 800px = 100px cells on a
     phone, where the shell scrolls; desktop divides 1440px evenly. */
  grid-auto-flow: column;
  grid-auto-columns: minmax(min-content, 1fr);
}

.race-system-nav__link {
  position: relative;
  /* No min-width: 0 here (or on __copy below): the rail's cells are sized
     minmax(min-content, 1fr), and a grid item's min-content is what carries
     the longest word up to the cell. Zeroing it made the cells collapse to
     760px/9 again and the now-unbreakable words overflow their cells. */
  min-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 2px 6px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.18s, background-color 0.18s;
}

.race-system-nav__link:first-child {
  border-left: 1px solid var(--line);
}

.race-system-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s;
}

.race-system-nav__link:hover,
.race-system-nav__link:focus-visible,
.race-system-nav__link.is-active {
  color: var(--white);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}

.race-system-nav__link:hover::after,
.race-system-nav__link:focus-visible::after,
.race-system-nav__link.is-active::after {
  transform: scaleX(1);
}

.race-system-nav__copy {
  display: flex;
  flex-direction: column;
}

.race-system-nav__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /* Wrap at spaces only. Words are unbreakable here on purpose: the rail's
     cells are sized minmax(min-content, 1fr), so the longest word in any
     locale sets the cell's floor and there is never a reason to split one.
     Manual keeps an explicit &shy; working if a locale ever needs it. */
  overflow-wrap: normal;
  hyphens: manual;
}

:where(.site-header) .btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
  border: 1px solid transparent;
}

:where(.site-header) .btn-yellow {
  background: var(--yellow);
  color: var(--on-brand);
}

:where(.site-header) .btn-yellow:hover {
  background: var(--yellow-hi);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7.5px;
  align-items: center;
}

.tkd-search {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}

.tkd-search__form {
  display: flex;
  align-items: stretch;
  height: 44px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.tkd-search:focus-within .tkd-search__form {
  border-color: var(--yellow);
  box-shadow: var(--focused-base-box-shadow);
}

.tkd-search__scope-wrap {
  position: relative;
  display: flex;
  flex: 0 0 120px;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.tkd-search__scope-wrap::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.tkd-search__scope {
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--navy-3);
  color: var(--white);
  border: 0;
  border-radius: 0;
  padding: 0 24px 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.tkd-search__scope:focus-visible {
  outline: var(--focused-base-outline);
  outline-offset: -3px;
}

.tkd-search__scope option {
  background: var(--navy-3);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.tkd-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--white);
  color: var(--navy-2);
  border: 0;
  border-radius: 0;
  padding: 0 12px;
  font-family: 'Barlow', sans-serif;
  font-size: var(--text-xs);
  line-height: 1;
}

.tkd-search__input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.tkd-search__input:focus-visible {
  outline: none;
  box-shadow: none;
}

.tkd-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.tkd-search__submit {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--yellow);
  color: rgb(var(--color-button-text));
  cursor: pointer;
  transition: background-color 0.18s;
}

.tkd-search__submit:hover,
.tkd-search__submit:focus-visible {
  background: var(--yellow-hi);
}

.tkd-search__submit:focus-visible {
  outline: var(--focused-base-outline);
  outline-offset: -3px;
}

.tkd-search__submit svg {
  width: 20px;
  height: 20px;
}

.tkd-search__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 110;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

tkd-search[open] .tkd-search__panel {
  display: block;
}

tkd-search[loading] .tkd-search__panel {
  opacity: 0.75;
}

.tkd-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tkd-search__list + .tkd-search__list,
.tkd-search__group + .tkd-search__group,
.tkd-search__footer {
  border-top: 1px solid var(--line);
}

.tkd-search__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.tkd-search__clear-recent {
  padding: 4px;
  background: none;
  border: 0;
  color: var(--accent-text);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.tkd-search__clear-recent:hover,
.tkd-search__clear-recent:focus-visible {
  text-decoration: underline;
}

.tkd-search__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 12px;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-size: var(--text-xs);
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tkd-search__item:hover,
.tkd-search__option[aria-selected='true'] > .tkd-search__item {
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  color: var(--white);
}

.tkd-search__item--query mark {
  background: none;
  color: var(--white);
  font-weight: var(--weight-bold);
}

.tkd-search__thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line);
}

.tkd-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tkd-search__title {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tkd-search__price {
  flex: 0 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
}

.tkd-search__item--collection {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tkd-search__item--all {
  color: var(--accent-text);
  font-weight: var(--weight-bold);
}

.tkd-search__empty,
.tkd-search__note {
  margin: 0;
  padding: 10px 12px;
  color: var(--ink);
  font-size: var(--text-2xs);
}

.tkd-search__note {
  color: var(--accent-text);
  border-bottom: 1px solid var(--line);
}

.tkd-lang {
  position: relative;
}

.tkd-lang__anchor {
  list-style: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 3.5px;
  min-height: 34px;
}

.tkd-lang__anchor::-webkit-details-marker {
  display: none;
}

.tkd-lang__anchor:hover,
.tkd-lang__anchor:focus-visible {
  color: var(--accent-text);
  border-color: var(--line-y);
}

.tkd-lang__details[open] .tkd-lang__anchor {
  color: var(--accent-text);
}

.tkd-lang__caret {
  width: 10px;
  height: 6px;
}

.tkd-lang__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  width: 240px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 110; /* above .tkd-belt, which sits at the header's existing z-index */
}

.tkd-lang__title {
  font-size: var(--text-2xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 5px 5px;
}

.tkd-lang__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tkd-lang__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.tkd-lang__option:hover,
.tkd-lang__option:focus-visible {
  background: rgba(254, 191, 0, 0.1);
  color: var(--accent-text);
}

.tkd-lang__option[aria-current='true'] {
  color: var(--accent-text);
}

.tkd-lang__iso {
  font-size: var(--text-2xs);
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
.tkd-lang:hover .tkd-lang__anchor {
    border-color: var(--line-y);
  }
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  color: var(--accent-text);
  border-color: var(--line-y);
}

.mobile-nav-panel {
  display: none;
}

.mobile-nav-panel[open] {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 120;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 15px 20px 30px;
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.mobile-nav-panel summary {
  display: none;
}

.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-panel nav {
  display: flex;
  flex-direction: column;
  padding-top: 35px;
}

.mobile-nav-panel nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.mobile-nav-panel nav a:hover,
.mobile-nav-panel nav a:focus-visible {
  color: var(--accent-text);
}

.mobile-nav-panel nav a.btn {
  margin-top: 15px;
  border-bottom: 0;
  justify-content: center;
  color: rgb(var(--color-button-text));
}

@media (max-width: 1280px) {
:where(.site-header) .desktop-only {
    display: none !important;
  }
}

@media (max-width: 1100px) {
:where(.site-header) nav[aria-label='Primary'] {
    display: none;
  }
.mobile-nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 719px) {
.site-header__bar {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 8px 12.5px 10px;
    row-gap: 8px;
  }
.site-header__brand {
    order: 1;
  }
.header-actions {
    order: 2;
    margin-left: auto;
  }
.tkd-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
.tkd-search__scope-wrap {
    flex-basis: 104px;
  }
}

.race-system-nav-shell {
  display: flex;
  align-items: stretch;
}

.race-system-nav {
  flex: 1 1 auto;
}

.race-all-btn {
  flex: 0 0 auto;
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: var(--navy-2);
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s, background-color 0.18s;
}

.race-all-btn:hover,
.race-all-btn:focus-visible {
  color: var(--accent-text);
}

.race-all-btn svg {
  flex: 0 0 auto;
}

.tkd-drawer-count {
  color: var(--muted);
  font-size: var(--text-2xs);
  margin-left: 3px;
}

.tkd-drawer-sublist,
.tkd-drawer-list {
  list-style: none;
}

.tkd-drawer-sublist a,
.tkd-drawer-list > li > a,
.tkd-drawer-row__link,
.tkd-drawer-sublist__hub {
  display: block;
  padding: 5.5px 0;
  color: var(--ink);
  font-size: var(--text-sm);
}

.tkd-drawer-sublist a:hover,
.tkd-drawer-sublist a:focus-visible,
.tkd-drawer-list > li > a:hover,
.tkd-drawer-list > li > a:focus-visible,
.tkd-drawer-row__link:hover,
.tkd-drawer-row__link:focus-visible {
  color: var(--accent-text);
}

.tkd-drawer-sublist__hub {
  color: var(--yellow);
  font-weight: var(--weight-bold);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}

.tkd-dept-wrap {
  display: contents;
}

.tkd-dept-dropdown {
  position: fixed;
  z-index: 150;
  width: 260px;
  max-width: calc(100vw - 16px);
  background: var(--navy-3);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 10px 12px 12px;
}

.tkd-dept-dropdown__heading {
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tkd-dept-dropdown__list {
  list-style: none;
}

.tkd-dept-dropdown__all {
  display: inline-block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--yellow);
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tkd-dept-dropdown__all:hover,
.tkd-dept-dropdown__all:focus-visible {
  text-decoration: underline;
}

.tkd-dept-dropdown a:focus-visible,
.tkd-all-drawer a:focus-visible,
.account-flyout a:focus-visible,
.account-flyout button:focus-visible,
.race-all-btn:focus-visible,
.tkd-drawer-accordion__summary:focus-visible,
.account-flyout__accordion-summary:focus-visible {
  box-shadow: var(--focused-base-box-shadow);
  outline: none;
}

.tkd-all-drawer {
  display: block;
}

.tkd-all-drawer[hidden] {
  display: none;
}

.tkd-all-drawer .tkd-all-drawer__overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity var(--duration-default, 0.25s) ease;
}

.tkd-all-drawer.is-open .tkd-all-drawer__overlay {
  opacity: 1;
}

.tkd-all-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 201;
  width: 365px;
  max-width: calc(100vw - 20px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-2);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform var(--duration-default, 0.25s) ease;
  overflow-y: auto;
}

.tkd-all-drawer.is-open .tkd-all-drawer__panel {
  transform: translateX(0);
}

.tkd-all-drawer__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  background: var(--navy-3);
  border-bottom: 1px solid var(--line);
}

.tkd-all-drawer__heading {
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tkd-all-drawer__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

.tkd-all-drawer__close:hover,
.tkd-all-drawer__close:focus-visible {
  color: var(--accent-text);
  border-color: var(--line-y);
}

.tkd-all-drawer__body {
  padding: 5px 15px 25px;
}

.tkd-all-drawer__group {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.tkd-all-drawer__group--footer {
  border-bottom: 0;
}

.tkd-all-drawer__group-heading {
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tkd-drawer-row {
  border-bottom: 1px solid var(--line);
}

.tkd-drawer-row:last-child {
  border-bottom: 0;
}

.tkd-drawer-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 6px 0;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.tkd-drawer-accordion__summary::-webkit-details-marker {
  display: none;
}

.tkd-drawer-accordion__caret {
  display: inline-flex;
  color: var(--ink);
  transition: transform 0.18s;
}

.tkd-drawer-accordion[open] .tkd-drawer-accordion__caret {
  transform: rotate(180deg);
}

.tkd-drawer-accordion .tkd-drawer-sublist {
  padding: 0 0 6px 8px;
}

.account-flyout {
  position: relative;
}

.account-flyout__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  background: none;
  border: 1px solid transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}

.account-flyout__trigger:hover,
.account-flyout__trigger:focus-visible {
  color: var(--accent-text);
  border-color: var(--line);
}

.account-flyout__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.account-flyout__lines {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.account-flyout__line1 {
  font-size: var(--text-2xs);
  color: var(--muted);
}

.account-flyout__line2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.account-flyout__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 150;
  width: 280px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 12px;
}

.account-flyout__auth {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.account-flyout__greeting {
  color: var(--white);
  font-weight: var(--weight-bold);
  margin-bottom: 2px;
}

.account-flyout__signin {
  justify-content: center;
}

.account-flyout__link {
  color: var(--ink);
  font-size: var(--text-sm);
}

.account-flyout__link--primary {
  color: var(--white);
  font-weight: var(--weight-bold);
}

.account-flyout__link:hover,
.account-flyout__link:focus-visible {
  color: var(--accent-text);
}

.account-flyout__divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 10px 0;
}

.account-flyout__accordion {
  border-top: 1px solid var(--line);
}

.account-flyout__accordion:last-child {
  padding-bottom: 0;
}

.account-flyout__accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 7px 0;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.account-flyout__accordion-summary::-webkit-details-marker {
  display: none;
}

.account-flyout__caret {
  display: inline-flex;
  color: var(--ink);
  transition: transform 0.18s;
}

.account-flyout__accordion[open] .account-flyout__caret {
  transform: rotate(180deg);
}

.account-flyout__list {
  padding-bottom: 8px;
}

.account-flyout__list-loading,
.account-flyout__empty {
  color: var(--ink);
  font-size: var(--text-2xs);
}

.account-flyout__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--ink);
}

.account-flyout__item:hover,
.account-flyout__item:focus-visible {
  color: var(--accent-text);
}

.account-flyout__item img,
.account-flyout__item-noimg {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  object-fit: cover;
}

.account-flyout__item-title {
  font-size: var(--text-2xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 719px) {
.account-flyout__lines {
    display: none;
  }
.account-flyout__panel {
    right: -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
.tkd-all-drawer__overlay,
.tkd-all-drawer__panel {
    transition: none;
  }
}

:where(.site-header) .race-system-section__cta .btn {
  width: min(100%, 360px);
  justify-content: center;
}

.site-header__brand .brand-logo {
  height: 40px;
  width: auto;
}

@media (max-width: 719px) {
.site-header__brand .brand-logo {
    height: 36px;
  }
}

:where(.site-header) nav[aria-label='Primary'] a,
:where(.site-header) nav[aria-label='Mobile'] a {
  padding-block: 3.5px;
}

:where(.site-header) .used-parts-sell .btn {
  margin-top: 6px;
}

:where(.site-header) .intake-menu__card .btn {
  margin-top: auto;
}

.header-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

.cart-count-bubble {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--yellow);
    color: var(--navy);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-2xs);
    font-weight: var(--weight-bold);
    border-radius: var(--radius-pill);
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
  }
