.fx-store-header {
  --header-surface: #242425;
  --header-muted: #b4bbca;
  color: #fff;
  position: relative;
  z-index: 8;
  background: var(--header-surface);
}
.fx-header-width {
  width: min(1800px, calc(100% - clamp(36px, 7.2vw, 142px)));
  margin-inline: auto;
}
.fx-topbar-inner, .fx-topbar-tools, .fx-language, .fx-top-contact,
.fx-nav-shell, .fx-nav-categories, .fx-nav-tools, .fx-header-cart, .fx-search-inner {
  display: flex;
  align-items: center;
}
.fx-topbar-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.fx-descriptor {
  font-weight: 600;
  letter-spacing: .035em;
  white-space: nowrap;
}
.fx-descriptor b { color: #92b7ff; margin-right: 3px; }
.fx-topbar-tools { gap: 17px; }
.fx-top-contact { gap: 7px; color: #e5e5e9; }
.fx-top-contact .icon { width: 15px; height: 15px; }
.fx-language { gap: 5px; }
.fx-language button { min-height: 29px; padding: 2px 3px; font-size: 13px; font-weight: 600; color: var(--header-muted); }
.fx-language button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #86b4ff; }
.fx-language > span { color: #737884; font-size: 12px; }
.fx-top-divider, .fx-tools-divider { width: 1px; height: 15px; background: #535458; flex: none; }
.navline.fx-header-line { background: var(--header-surface); border: 0; }
.fx-nav-shell {
  min-height: clamp(72px, 5.6vw, 105px);
  justify-content: space-between;
  gap: clamp(15px, 2.1vw, 44px);
}
.fx-header-logo { flex: 0 0 auto; }
.fx-header-logo .wordmark { width: clamp(106px, 9vw, 155px); }
.fx-nav-categories {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  gap: clamp(18px, 3vw, 58px);
}
.fx-nav-categories a {
  color: #f9f9fa;
  position: relative;
  padding: 12px 0;
  font-size: clamp(14px, 1.05vw, 19px);
  font-weight: 600;
  line-height: 1.25;
}
.fx-nav-categories a:hover,
.fx-top-contact:hover, .fx-nav-tools button:hover {
  color: #a9caff;
}
.fx-nav-categories [aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  border-radius: 2px;
  background: #5895ff;
}
#mobile-nav-toggle { display: none; }
.fx-nav-tools { gap: clamp(8px, 1.1vw, 18px); flex: none; }
.fx-nav-tools button { padding: 5px; min-height: 38px; }
#search-toggle, #search-close { display: grid; place-items: center; }
.fx-header-cart { gap: 11px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.fx-nav-tools .icon { width: 25px; height: 25px; }
.fx-tools-divider { height: 22px; opacity: .85; }
.fx-bag-icon { display: flex; position: relative; }
.fx-bag-icon [data-cart-count] {
  position: absolute;
  right: -8px;
  top: -6px;
  padding: 2px 4px;
  border-radius: 10px;
  min-width: 16px;
  background: #286bdc;
  color: #fff;
  text-align: center;
  font: 600 10px/1.15 Barlow, Arial, sans-serif;
}
#fx-search-panel {
  color: #161b22;
  position: absolute;
  inset: 100% 0 auto;
  z-index: 5;
  background: #fff;
  border-block: 1px solid #dce2eb;
  box-shadow: 0 10px 24px #0e17242b;
}
.fx-search-inner { gap: 12px; padding-block: 17px; }
#fx-search-panel #site-search { flex: 1; max-width: none; width: auto; height: 44px; }
#search-close { width: 40px; height: 40px; border-radius: 50%; }
#search-close:hover { background: #edf2fa; }
.fx-announcement {
  position: relative;
  border-top: 1px solid #727277;
  border-bottom: 1px solid #35363b;
  background: #242425;
  color: #f4f4f6;
}
.fx-ann-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.fx-ann-window { overflow: hidden; }
.announcement-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 35s linear infinite;
  will-change: transform;
}
.fx-ann-group {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  height: clamp(40px, 2.85vw, 52px);
  font-weight: 600;
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1;
  letter-spacing: .004em;
}
.fx-ann-item { display: flex; align-items: center; white-space: nowrap; gap: 16px; padding-left: 16px; }
.fx-ann-item:nth-child(odd) { color: #f3b068; }
.fx-ann-item i { width: 4px; height: 4px; border-radius: 50%; background: #f4f4fa; }
@keyframes announcement-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fx-announcement[data-paused="true"] .announcement-track { animation-play-state: paused; }
#announcement-toggle {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  height: 100%;
  width: 46px;
  padding-left: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, transparent, var(--header-surface) 18%, var(--header-surface));
}
#announcement-toggle svg { width: 16px; height: 16px; }
#announcement-toggle .fx-ann-play, #announcement-toggle[aria-pressed="true"] .fx-ann-pause { display: none; }
#announcement-toggle[aria-pressed="true"] .fx-ann-play { display: block; }
#announcement-toggle:focus-visible { outline-offset: -4px; }
@media (min-width: 1700px) { .fx-nav-shell { min-height: 112px; } }
@media (max-width: 1120px) {
  .fx-nav-categories { gap: 25px; }
  .fx-cart-label { display: none; }
  .fx-nav-tools { gap: 8px; }
}
@media (max-width: 850px) {
  .fx-nav-shell { gap: 14px; min-height: 64px; }
  .fx-nav-categories { gap: 20px; }
}
@media (max-width: 640px) {
  .fx-header-width { width: calc(100% - 28px); }
  .fx-topbar-inner { min-height: 29px; font-size: 10px; }
  .fx-language button { font-size: 11px; min-height: 27px; padding: 1px 2px; }
  .fx-topbar-tools { gap: 8px; }
  .fx-top-contact { min-height: 26px; padding-inline: 3px; }
  .fx-top-contact > span { display: none; }
  .fx-top-contact .icon { width: 14px; height: 14px; }
  .fx-top-divider { height: 11px; }
  .fx-nav-shell { min-height: 57px; }
  .fx-header-logo .wordmark { width: 94px; }
  .fx-header-logo, .fx-nav-tools { align-self: center; }
  .fx-nav-tools { justify-self: end; min-height: 43px; }
  .fx-nav-tools .icon { width: 22px; height: 22px; }
  .fx-nav-tools button { min-width: 34px; }
  #mobile-nav-toggle { display: grid; place-items: center; }
  .fx-nav-categories {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    background: #242425;
    padding: 7px 14px 12px;
    border-top: 1px solid #54565e;
    box-shadow: 0 12px 18px #0d121d29;
  }
  .fx-nav-categories[data-open="true"] { display: grid; gap: 0; }
  .fx-nav-categories a { padding: 12px 8px; font-size: 16px; }
  .fx-nav-categories [aria-current="page"] { background: #303746; border-radius: 3px; }
  .fx-nav-categories [aria-current="page"]::after { display: none; }
  .fx-ann-group { min-height: 32px; height: 32px; font-size: 14px; }
  .fx-ann-item { gap: 11px; padding-left: 11px; }
  .announcement-track { animation-duration: 30s; }
  #announcement-toggle { width: 36px; padding-left: 8px; }
  #announcement-toggle svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-store-header .announcement-track { animation-duration: 35s !important; animation-play-state: paused; }
  .fx-announcement[data-paused="false"] .announcement-track { animation-play-state: running; }
}
