#fw-section-featured-collection-0 {
--color-primary: #FFFFFF;
--color-primary-rgb: 255, 255, 255;
--color-background: #0f1117;
--color-background-rgb: 15, 17, 23;
--color-on-background: #FFFFFF;
--color-on-background-rgb: 255, 255, 255;
--color-on-primary: #0f1117;
--color-on-primary-rgb: 15, 17, 23;
--color-product-image-background: #000000;
--color-background-brightness: 17;
background-color: var(--color-background);
color: var(--color-on-background);
--primary-btn-bg: #FFFFFF;
--primary-btn-text: #0f1117;
--primary-btn-border-color: #FFFFFF;
--secondary-btn-bg: transparent;
--secondary-btn-text: #FFFFFF;
--secondary-btn-border-color: #FFFFFF;
/* --- Theme variable overrides (every scope so nothing escapes) --- */
:root,
html,
body,
.body {
  --color-background: #0F1117 !important;
  --color-on-background: #C8CDD8 !important;
  --color-background-rgb: 15, 17, 23 !important;
  --color-on-background-rgb: 200, 205, 216 !important;
}

/* --- Surface colors --- */
html { background-color: #0F1117 !important; }

body,
body.body,
.body {
  background-color: #0F1117 !important;
  color: #C8CDD8 !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.625 !important;
}

/* --- Force intermediate wrappers to transparent --- */
.page,
main,
[role="main"],
.section,
.section-background,
.body--background-image {
  background-color: transparent !important;
  background-image: none !important;
}

/* --- Dot grid as a fixed pseudo-element overlay --- */
body::before,
.body::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: radial-gradient(circle, rgba(200, 205, 216, 0.18) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  background-position: 0 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* --- Content above the dot overlay --- */
main,
.page,
.section,
[role="main"] {
  position: relative !important;
  z-index: 1 !important;
}
}

#fw-section-header {
--color-primary: #FFFFFF;
--color-primary-rgb: 255, 255, 255;
--color-background: #0f1117;
--color-background-rgb: 15, 17, 23;
--color-on-background: #FFFFFF;
--color-on-background-rgb: 255, 255, 255;
--color-on-primary: #0f1117;
--color-on-primary-rgb: 15, 17, 23;
--color-product-image-background: #000000;
--color-background-brightness: 17;
background-color: var(--color-background);
color: var(--color-on-background);
--primary-btn-bg: #FFFFFF;
--primary-btn-text: #0f1117;
--primary-btn-border-color: #FFFFFF;
--secondary-btn-bg: transparent;
--secondary-btn-text: #FFFFFF;
--secondary-btn-border-color: #FFFFFF;
/* Fonts are loaded by header.html (a <link>), not @import: see the note there. */

.header,
.header__icon,
.header__list,
.header__nav {
  font-family: "IBM Plex Sans", sans-serif !important;
}

.header,
header.header {
  background-color: #0B0B0D !important;
  background-image: radial-gradient(circle, rgba(200, 205, 216, 0.10) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  background-position: 0 0 !important;
  background-attachment: fixed !important;
  background-repeat: repeat !important;
  font-size: 1rem !important;
  padding: 0.6rem 0 0 0 !important;
  border-bottom: 1px solid #202024 !important;
  border-image: none !important;
  box-shadow: none !important;
}

.header .wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
@media (min-width: 1024px) {
  .header .wrapper { padding-left: 2rem !important; padding-right: 2rem !important; }
}

/* --- Below 1024px: collapse to hamburger (logo | icons | menu), nav hidden. --- */
@media (max-width: 1023px) {
  .header__grid {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    grid-template-areas: 'logo icons menu' !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .header__logo-container { grid-area: logo  !important; justify-self: start !important; align-self: center !important; margin: 0 !important; }
  .header__icons          { grid-area: icons !important; justify-self: end   !important; align-self: center !important; margin: 0 !important; }
  .header__mobile-menu    { grid-area: menu  !important; display: flex !important; align-items: center !important; justify-self: end !important; }
  .header__nav-container  { display: none !important; }
}

/* --- Desktop (>=1024px): two-row masthead, hamburger hidden. From 1100px
       up the one-row block further down puts the nav on the logo's line. --- */
@media (min-width: 1024px) {
  .header__grid {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      'logo icons'
      'nav  nav' !important;
    align-items: center !important;
    gap: 0 !important;
    row-gap: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .header__logo-container { grid-area: logo  !important; justify-self: start !important; align-self: center !important; margin: 0 !important; }
  .header__icons          { grid-area: icons !important; justify-self: end   !important; align-self: center !important; margin: 0 !important; }
  .header__mobile-menu    { display: none !important; }
  .header__nav-container {
    grid-area: nav !important;
    justify-self: stretch !important;
    display: block !important;
    margin: 0.75rem 0 0 0 !important;
    padding: 0 !important;
    height: 2.25rem !important;          /* fixed nav band, matches the site (2026-10-29) */
    border-top: 1px solid #202024 !important;
  }
  .header__nav-container .header__nav,
  .header__nav-container .header__list { height: 100% !important; align-items: center !important; }
  .header__nav  { justify-content: flex-start !important; padding: 0 !important; margin: 0 !important; }
  .header__list { justify-content: flex-start !important; }
}

.header__size--sm,
.header__size--md,
.header__size--lg {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header__logo-image,
.header__logo-image--sm,
.header__logo-image--md,
.header__logo-image--lg {
  max-height: 42px !important;
  width: auto !important;
}
@media (max-width: 1023px) {
  .header__logo-image,
  .header__logo-image--sm,
  .header__logo-image--md,
  .header__logo-image--lg { max-height: 34px !important; }
}

/* --- Nav spacing mirrors the site: each link has a 1.9rem right margin, no
       extra LI margins (matches the 2026-10-28 header redesign). --- */
.header__list { gap: 0 !important; margin: 0 !important; padding: 0 !important; }
.header__list-item { margin: 0 !important; padding: 0 !important; }

/* --- Nav links: sentence-case Exo 2 500 at 15px (site nav font since
       2026-11-05; 14px in the 1024-1099px two-row range), muted grey, white on hover.
       Fourthwall's menu labels are lowercase, so capitalize does the casing. --- */
.header__link {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  color: #9F9FA9 !important;
  transition: color 0.15s ease !important;
}
.header__nav-container .header__link {
  font-family: "Exo 2", system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-transform: capitalize !important;
  margin-right: 1.9rem !important;
}
.header__link:hover,
.header__link:focus {
  color: #E7E9EC !important;
}

/* --- Active page (the store itself, href="/") gets green slashes: /Store/
       Negative word-spacing on this link only cancels the whitespace Fourthwall
       puts inside it, which would otherwise open gaps around the slashes. Set it
       on every link and two-word labels collapse ("LookingGlass"). --- */
.header__nav-container .header__link[href="/"] { color: #E7E9EC !important; word-spacing: -0.3em !important; }
.header__nav-container .header__link[href="/"]::before,
.header__nav-container .header__link[href="/"]::after {
  content: "/" !important;
  color: #3A9B4F !important;
}
.header__nav-container .header__link[href="/"]::before { margin-right: 1px !important; }
.header__nav-container .header__link[href="/"]::after { margin-left: 1px !important; }

.header__icon,
.header__link-icon svg,
.header__icons svg {
  color: #9F9FA9 !important;
}
.header__icons .header__link:hover,
.header__icons svg:hover,
.header__icon:hover {
  color: #499547 !important;
}

/* --- Right-side icons: match the site's masthead (18px outline icons on 32px
       hit boxes, grey -> green). USD sits on one line in mono like a label. --- */
.header__icons .header__list { display: flex !important; align-items: center !important; gap: 0 !important; }
.header__icons .header__list-item + .header__list-item { margin-left: 12px !important; }
.header__icons .header__link,
.header__icons .header__link--icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 32px !important;
  gap: 2px !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  word-spacing: normal !important;
  white-space: nowrap !important;
}
.header__icons svg { width: 18px !important; height: 18px !important; }
.header__icons .header__link-icon svg { width: 12px !important; height: 12px !important; }

/* --- Pixel alignment with the site (measured 2026-10-29 at 1400px and 900px
       against routerjockey.com). Rules and logo size already matched; these
       nudge what didn't. Transforms move the glyphs without moving the
       divider rules. --- */
@media (min-width: 1024px) {
  /* logo sat 4px high, nav text 2px high */
  .header__logo-container { transform: translateY(4px) !important; }
  .header__nav-container .header__link { transform: translateY(2px) !important; }
}
/* --- One-row masthead from 1100px up, matching the site (2026-11-05): logo,
       nav, then the icons pushed right, all on one line. No rule above the nav. --- */
@media (min-width: 1100px) {
  .header__grid {
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas: 'logo nav icons' !important;
  }
  .header, header.header { padding-bottom: 0.6rem !important; }
  .header__nav-container {
    margin: 0 0 0 3rem !important;
    height: auto !important;
    border-top: 0 !important;
  }
  .header__nav-container .header__link { transform: none !important; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .header__nav-container .header__link { font-size: 14px !important; }
}
@media (max-width: 1023px) {
  /* below lg the site's header is a centred column (540px / 768px wide plus
     1rem padding), and its logo sits 6px higher than the store's */
  .header, header.header { padding-top: calc(0.6rem - 6px) !important; }
}
@media (min-width: 540px) and (max-width: 1023px) {
  .header .wrapper { max-width: 540px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .header .wrapper { max-width: 768px !important; }
}
}