/* Xiaomi-inspired category mega menu. Data is populated from the existing catalog. */
.category-mega-backdrop {
  display: none;
}

/* Mobil üst bilgi beyaz zeminde teklif bağlantısını daima görünür tutar. */
@media (max-width: 900px) {
  .site-header .mobile-header-quote {
    color: #151515 !important;
  }

  .site-header .mobile-header-quote:hover,
  .site-header .mobile-header-quote:focus-visible,
  .site-header .mobile-header-quote.active {
    color: #2497df !important;
  }

  .site-header .mobile-header-quote > svg {
    color: currentColor;
  }
}

@media (min-width: 901px) {
  .category-mega-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(4, 11, 20, .28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: opacity .22s ease, visibility .22s ease;
  }

  body.category-mega-open .category-mega-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header,
  .site-header.is-sticky {
    background: #fff;
    color: #151515;
    border-bottom: 1px solid #eceef1;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.has-border {
    border-bottom-color: #eceef1;
  }

  .site-header.has-shadow {
    box-shadow: none;
  }

  .site-header .nav-wrap {
    align-items: stretch;
  }

  .site-header .brand {
    align-self: center;
  }

  .site-header nav {
    height: 100%;
    align-items: stretch;
    color: #151515;
    font-size: 15px;
    font-weight: 590;
  }

  .site-header nav > a:not(.quote),
  .site-header .nav-dropdown,
  .site-header .nav-dropdown-toggle {
    height: 100%;
  }

  .site-header nav > a:not(.quote),
  .site-header .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    padding-block: 0;
    color: #151515;
  }

  .site-header nav > a:not(.quote):hover,
  .site-header nav > a:not(.quote).active,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle,
  .site-header .nav-dropdown.open > .nav-dropdown-toggle {
    color: #151515;
  }

  .site-header nav > a:not(.quote)::after,
  .site-header .nav-dropdown-toggle::after {
    bottom: 0;
    height: 3px;
    background: #2497df;
  }

  .site-header .quote {
    position: relative;
    align-self: stretch;
    min-height: 0;
    height: 100%;
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #151515;
  }

  .site-header .quote::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #2497df;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
  }

  .site-header .quote:hover,
  .site-header .quote:focus-visible {
    background: transparent;
    color: #151515;
  }

  .site-header .quote:hover::after,
  .site-header .quote:focus-visible::after {
    transform: scaleX(1);
  }

  .site-header .quote:hover > svg,
  .site-header .quote:focus-visible > svg {
    transform: none;
  }

  .site-header .nav-category-mega {
    position: static;
  }

  .site-header .nav-category-mega > .category-mega-menu {
    top: 100%;
    left: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-top: 1px solid #e8ebef;
    border-radius: 0 0 16px 16px;
    background: #fff;
    color: #0b1628;
    box-shadow: 0 28px 65px rgba(7, 17, 30, .16);
    overflow: hidden;
    transform: translateY(12px);
  }

  .site-header .nav-category-mega.open > .category-mega-menu {
    transform: translateY(0);
  }
}

.category-mega-shell {
  width: min(
    var(--focus-content-max, 1680px),
    calc(100% - (var(--focus-content-gutter, 24px) * 2))
  );
  min-height: 420px;
  max-height: min(660px, calc(100vh - var(--header-height, 80px) - 24px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  overflow: auto;
}

.category-mega-sidebar {
  display: flex;
  flex-direction: column;
  padding: 34px 24px 24px 0;
  border-right: 0;
}

.category-mega-sidebar-title {
  display: grid;
  gap: 5px;
  padding: 0 14px 20px;
}

.category-mega-sidebar-title span,
.category-mega-panel-head span {
  color: #2497df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.category-mega-sidebar-title strong {
  font-size: 22px;
  line-height: 1.1;
}

.category-mega-tabs {
  display: grid;
  gap: 4px;
}

.category-mega-tab {
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172438;
  text-align: left;
  font-size: 14px;
  font-weight: 680;
  transition: background .18s, color .18s, transform .18s;
}

.category-mega-tab svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: .55;
}

.category-mega-tab:hover,
.category-mega-tab:focus-visible,
.category-mega-tab.is-active {
  background: #edf6fc;
  color: #087bbd;
}

.category-mega-tab.is-active {
  transform: translateX(4px);
}

.site-header .category-mega-all-link {
  min-height: auto;
  margin: auto 8px 0;
  padding: 20px 6px 4px;
  border-top: 1px solid #e8ecf1;
  border-radius: 0;
  color: #566477;
  font-size: 12px;
  font-weight: 700;
}

.site-header .category-mega-all-link:hover,
.site-header .category-mega-all-link:focus-visible {
  padding-left: 6px;
  background: transparent;
  color: #087bbd;
}

.category-mega-all-link svg {
  width: 15px;
}

.category-mega-content {
  min-width: 0;
  padding: 32px 0 24px 30px;
}

.category-mega-panel[hidden] {
  display: none !important;
}

.category-mega-panel {
  min-width: 0;
  animation: mega-panel-in .2s ease both;
}

@keyframes mega-panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-mega-panel-head {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-right: 4px;
  margin-bottom: 20px;
}

.category-mega-panel-head h3 {
  margin: 4px 0 0;
  color: #0b1628;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
}

.site-header .category-mega-panel-head > a {
  min-height: 38px;
  padding: 0 2px;
  border-radius: 0;
  color: #425166;
  font-size: 12px;
}

.site-header .category-mega-panel-head > a:hover,
.site-header .category-mega-panel-head > a:focus-visible {
  padding-left: 2px;
  background: transparent;
  color: #087bbd;
}

.category-mega-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 20px);
}

.site-header .category-mega-product {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #111b2a;
  overflow: hidden;
}

.site-header .category-mega-product:hover,
.site-header .category-mega-product:focus-visible {
  padding-left: 0;
  background: transparent;
  color: #087bbd;
}

.category-mega-product-visual {
  aspect-ratio: 1 / 1.04;
  display: grid;
  place-items: center;
  padding: clamp(12px, 1.2vw, 23px);
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f5f6f8;
  overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
}

.category-mega-product:hover .category-mega-product-visual,
.category-mega-product:focus-visible .category-mega-product-visual {
  border-color: #c9e3f4;
  background: #f0f6fa;
  transform: translateY(-2px);
}

.category-mega-product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .24s ease;
}

.category-mega-product:hover img {
  transform: scale(1.04);
}

.category-mega-product-visual > svg {
  width: 52px;
  height: 52px;
  color: #a7b2bf;
  stroke-width: 1.2;
}

.category-mega-product-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-inline: 4px;
}

.category-mega-product-copy small {
  color: #8792a1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.category-mega-product-copy strong {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  line-height: 1.42;
  text-transform: uppercase;
  transition: color .22s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-mega-empty {
  grid-column: 1 / -1;
  min-height: 205px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed #d5dce5;
  border-radius: 11px;
  color: #738094;
}

.category-mega-empty svg {
  width: 30px;
  height: 30px;
}

.category-mega-panel-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.site-header .category-mega-panel-foot a {
  min-width: 190px;
  min-height: 54px;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #f8f9fa;
  color: #142036;
}

.site-header .category-mega-panel-foot a:hover,
.site-header .category-mega-panel-foot a:focus-visible {
  padding-left: 13px;
  border-color: #cde4f3;
  background: #f0f7fb;
  color: #087bbd;
}

.category-mega-panel-foot a > svg {
  width: 19px;
  height: 19px;
  color: #2497df;
}

.category-mega-panel-foot a span {
  display: grid;
  gap: 1px;
}

.category-mega-panel-foot a strong {
  font-size: 12px;
}

.category-mega-panel-foot a small {
  color: #7a8797;
  font-size: 10px;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .category-mega-shell {
    width: calc(100% - 40px);
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .category-mega-content {
    padding-left: 22px;
  }

  .category-mega-products {
    gap: 10px;
  }

  .category-mega-product-copy strong {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .site-header .nav-category-mega > .category-mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    max-height: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f4f6f8;
    color: #0b1628;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    overflow: hidden;
    transition: max-height .28s ease, margin .28s ease;
  }

  .site-header .nav-category-mega.open > .category-mega-menu {
    max-height: min(70dvh, 700px);
    margin: 2px 0 10px;
    pointer-events: auto;
    overflow-y: auto;
    transform: none;
  }

  .category-mega-shell {
    width: 100%;
    min-height: 0;
    max-height: none;
    display: block;
    overflow: visible;
  }

  .category-mega-sidebar {
    display: block;
    padding: 13px 12px 10px;
    border: 0;
    border-bottom: 1px solid #dfe5eb;
  }

  .category-mega-sidebar-title {
    display: none;
  }

  .category-mega-tabs {
    display: flex;
    gap: 7px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .category-mega-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-mega-tab {
    width: auto;
    min-height: 36px;
    flex: none;
    padding: 0 12px;
    border: 1px solid #dce3e9;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    white-space: nowrap;
  }

  .category-mega-tab svg {
    display: none;
  }

  .category-mega-tab.is-active {
    border-color: #0f3558;
    background: #0f3558;
    color: #fff;
    transform: none;
  }

  .site-header .category-mega-all-link {
    display: none;
  }

  .category-mega-content {
    padding: 15px 12px 14px;
  }

  .category-mega-panel-head {
    min-height: 0;
    align-items: center;
    margin-bottom: 13px;
  }

  .category-mega-panel-head span {
    font-size: 8px;
  }

  .category-mega-panel-head h3 {
    margin-top: 2px;
    font-size: 17px;
  }

  .site-header .category-mega-panel-head > a {
    min-height: 34px;
    flex: none;
    padding: 0;
    color: #087bbd;
    font-size: 10px;
  }

  .site-header .category-mega-panel-head > a:hover,
  .site-header .category-mega-panel-head > a:focus-visible {
    padding-left: 0;
  }

  .category-mega-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .site-header .category-mega-product {
    gap: 8px;
    padding: 0;
    border-radius: 9px;
    background: transparent;
    color: #101b2d;
  }

  .site-header .category-mega-product:hover,
  .site-header .category-mega-product:focus-visible {
    padding-left: 0;
    background: transparent;
    color: #087bbd;
  }

  .category-mega-product-visual {
    aspect-ratio: 1 / .86;
    padding: 9px;
    border-radius: 9px;
    background: #fff;
  }

  .category-mega-product-copy {
    padding: 0 3px 5px;
  }

  .category-mega-product-copy small {
    font-size: 7px;
  }

  .category-mega-product-copy strong {
    min-height: 30px;
    font-size: 10px;
    line-height: 1.35;
  }

  .category-mega-empty {
    min-height: 130px;
    font-size: 12px;
  }

  .category-mega-panel-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 14px;
  }

  .site-header .category-mega-panel-foot a {
    min-width: 0;
    min-height: 47px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #142036;
  }

  .site-header .category-mega-panel-foot a:hover,
  .site-header .category-mega-panel-foot a:focus-visible {
    padding-left: 9px;
  }

  .category-mega-panel-foot a > svg {
    width: 16px;
    height: 16px;
  }

  .category-mega-panel-foot a strong {
    font-size: 10px;
  }

  .category-mega-panel-foot a small {
    display: none;
  }
}

/* Mega menu must meet the header with completely square corners. */
.site-header .nav-category-mega > .category-mega-menu {
  border-radius: 0 !important;
}

/* Compact the sticky header gently while scrolling. */
.site-header {
  transition:height .24s ease,box-shadow .24s ease;
}

.site-header .brand-logo {
  transition:width .24s ease,max-height .24s ease;
}

.site-header.is-scrolled,
.site-header.is-sticky.is-scrolled {
  box-shadow:0 7px 20px rgba(15,23,42,.10) !important;
}

/* En üste dönüldüğünde kaydırma gölgesinin tarayıcıda takılı kalmasını önler. */
.site-header:not(.is-scrolled),
.site-header.is-sticky:not(.is-scrolled) {
  box-shadow:none !important;
}

@media (min-width: 901px) {
  .site-header.is-scrolled,
  .site-header.is-sticky.is-scrolled {
    height:max(72px,calc(var(--header-height,80px) - 16px));
  }

  .site-header.is-scrolled .brand-logo {
    width:max(104px,calc(var(--logo-desktop,140px) - 20px));
    max-height:max(44px,calc(var(--logo-max-height,56px) - 14px));
  }
}

@media (max-width: 900px) {
  .site-header.is-scrolled,
  .site-header.is-sticky.is-scrolled {
    height:62px;
  }

  .site-header.is-scrolled .brand-logo {
    width:max(88px,calc(var(--logo-mobile,105px) - 13px));
    max-height:44px;
  }
}

/* Every surface inside the category mega menu uses square corners. */
.site-header .nav-category-mega > .category-mega-menu,
.site-header .nav-category-mega > .category-mega-menu * {
  border-radius: 0 !important;
}

/* Category logos: detail hero uses the category logo; homepage cards stay independent. */
.category-banner .category-banner-content > h1.category-banner-logo-title {
  width: min(520px, 48vw);
  max-width: 100%;
  margin: 13px 0 18px;
  padding: 0;
  background: none;
  -webkit-text-fill-color: initial;
}

.category-banner-logo-title img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 105px;
  object-fit: contain;
  object-position: left center;
}

.category-card h3.has-logo {
  width: min(360px, 52%);
  max-width: 52%;
  margin-bottom: 12px;
  padding-top: 0;
}

.category-card-title-logo {
  display: block;
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 90px;
  object-fit: contain;
  object-position: left center;
  transform: none !important;
  transition: none;
}

.category-card:hover .category-card-title-logo {
  transform: none !important;
}

@media (max-width: 760px) {
  .category-banner .category-banner-content > h1.category-banner-logo-title {
    width: min(330px, 52vw);
    margin-block: 10px 15px;
  }

  .category-banner-logo-title img {
    max-height: 76px;
  }

  .category-card h3.has-logo {
    width: min(260px, 62%);
    max-width: 62%;
  }

  .category-card-title-logo {
    max-height: 72px;
  }
}

/* Keep the homepage showcase compact on desktop; mobile keeps its own layout. */
@media (min-width: 761px) {
  .hero {
    height: clamp(460px, 42vw, 620px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-mega-panel,
  .category-mega-product-visual,
  .category-mega-product-visual img,
  .category-mega-tab {
    animation: none;
    transition: none;
  }
}

/* Requested finishing: seamless desktop header and classic mobile category list. */
.category-mobile-list {
  display: none;
}

@media (min-width: 901px) {
  .site-header,
  .site-header.is-sticky,
  .site-header.has-border {
    border-bottom: 0;
  }

  .site-header .nav-category-mega > .category-mega-menu {
    border-top: 0;
    background: #fff;
  }

  .site-header .category-mega-product:hover,
  .site-header .category-mega-product:focus-visible {
    background: transparent;
    color: #111b2a;
  }

  .category-mega-product:hover .category-mega-product-visual,
  .category-mega-product:focus-visible .category-mega-product-visual {
    border-color: transparent;
    background: #f5f6f8;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header .nav-category-mega > .category-mega-menu {
    border-radius: 0;
    background: color-mix(in srgb, var(--mobile-menu-bg, #081321) 80%, white 5%);
    color: var(--mobile-menu-text, #fff);
  }

  .site-header .nav-category-mega.open > .category-mega-menu {
    max-height: 520px;
    margin: 0;
    overflow-y: auto;
  }

  .nav-category-mega .category-mega-shell {
    display: none !important;
  }

  .category-mobile-list {
    display: grid;
    padding: 7px 12px 13px;
  }

  .site-header .category-mobile-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 5px;
    color: var(--mobile-menu-text, #fff);
    font-size: 14px;
    font-weight: 600;
  }

  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    padding-left: 14px;
    background: #172a42;
    color: #fff;
  }

  .site-header .category-mobile-list .all-categories-link {
    margin-bottom: 5px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffffff17;
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
  }

  .category-mobile-list svg {
    width: 16px;
    height: 16px;
  }
}

/* Header and desktop mega menu intentionally share one exact surface color. */
@media (min-width: 901px) {
  .site-header,
  .site-header.is-sticky,
  .site-header .nav-wrap,
  .site-header #main-nav {
    --header-mega-surface: #fff;
    background: var(--header-mega-surface) !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mega-shell,
  .site-header .category-mega-sidebar,
  .site-header .category-mega-content,
  .site-header .category-mega-panel {
    background: var(--header-mega-surface) !important;
    background-image: none !important;
  }

  .site-header .nav-category-mega > .category-mega-menu {
    box-shadow: none;
  }
}

/* Optional panel-managed menu logos replace labels without changing menu geometry. */
.header-menu-logo,
.category-menu-logo,
.category-mega-panel-logo,
.category-mobile-menu-logo,
.dropdown-menu-logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.header-menu-logo {
  width: 118px;
  height: 30px;
  max-width: 118px;
  max-height: 30px;
}

/* Reserve icon space before Lucide replaces its placeholders. */
.site-header i[data-lucide] {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Teklif sayacı localStorage'dan okunurken menünün sağa-sola oynamasını engeller. */
.site-header .quote-badge {
  width: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  padding-inline: 0;
}

.site-header .quote-badge[hidden] {
  display: grid;
  visibility: hidden;
}

@media (max-width: 900px) {
  .site-header .mobile-header-quote .quote-badge {
    width: 20px;
    min-width: 20px;
    flex-basis: 20px;
  }
}

.category-menu-logo {
  max-width: 150px;
  max-height: 30px;
}

.category-mega-panel-logo {
  max-width: 250px;
  max-height: 52px;
}

.dropdown-menu-logo {
  max-width: 150px;
  max-height: 28px;
}

.category-mobile-menu-logo {
  max-width: 150px;
  max-height: 28px;
}

.site-header .nav-dropdown-toggle:has(.header-menu-logo),
.site-header #main-nav > a:has(.header-menu-logo) {
  gap: 7px;
}

@media (max-width: 900px) {
  .header-menu-logo {
    width: 150px;
    height: 30px;
    max-width: 150px;
    max-height: 30px;
  }

  .category-mobile-menu-logo,
  .dropdown-menu-logo {
    max-width: 145px;
    max-height: 28px;
  }
}

/* Full-width, aligned header and refreshed light mobile navigation. */
@media (min-width: 901px) {
  :root {
    --focus-content-max: 1680px;
    --focus-content-gutter: 24px;
  }

  .shell,
  .site-header .nav-wrap {
    width: min(
      var(--focus-content-max),
      calc(100% - (var(--focus-content-gutter) * 2))
    );
    margin-inline: auto;
  }

  .site-header,
  .site-header.is-sticky {
    width: 100%;
    margin: 0;
  }

  .site-header .nav-wrap {
    padding-inline: 0;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-sticky,
  .site-header .nav-wrap {
    background: #fff !important;
    color: #151515 !important;
  }

  .site-header .nav-wrap {
    width: 100%;
    margin: 0;
    padding-inline: 17px;
  }

  .site-header .menu-toggle {
    color: #151515 !important;
  }

  .site-header #main-nav {
    width: min(390px, 100vw);
    padding: 0 17px 25px;
    background: #fff !important;
    color: #151515 !important;
    box-shadow: -20px 0 55px rgba(15, 23, 42, .16);
  }

  .mobile-nav-heading {
    border-bottom-color: #e8ebef;
    color: #151515;
  }

  .mobile-nav-heading button {
    border-color: #dfe4ea;
    background: #f6f7f9;
    color: #151515;
  }

  .mobile-nav-overlay {
    background: rgba(15, 23, 42, .38);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle {
    min-height: 50px;
    color: #151515 !important;
    border-bottom: 1px solid #eceef1;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible {
    background: #f5f6f8;
    color: #111 !important;
  }

  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu {
    background: #f7f8fa !important;
    color: #151515 !important;
    border: 0;
  }

  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a {
    color: #151515 !important;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    background: #eceff3;
    color: #111 !important;
  }

  .site-header .category-mobile-list .all-categories-link {
    border-bottom-color: #dfe4ea;
  }

  .site-header .quote {
    width: 100%;
    min-height: 50px;
    height: auto;
    justify-content: flex-start;
    margin-top: 4px;
    padding: 14px 13px;
    border-top: 1px solid #eceef1;
    border-radius: 0;
    background: transparent !important;
    color: #151515 !important;
  }

  .site-header .quote:hover,
  .site-header .quote:focus-visible {
    background: #f5f6f8 !important;
    color: #111 !important;
  }
}

/* Mobile navigation opens below the header as a full-width dropdown. */
@media (max-width: 900px) {
  .site-header,
  .site-header.is-sticky {
    overflow: visible;
  }

  .site-header .nav-wrap {
    position: static;
  }

  .site-header .menu-toggle {
    position: relative;
    z-index: 152;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #101927 !important;
  }

  .menu-toggle-lines {
    position: relative;
    display: block;
    width: 27px;
    height: 20px;
  }

  .menu-toggle-lines i {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 0;
    background: currentColor;
    transform-origin: center;
    transition: top .25s ease, transform .25s ease, opacity .16s ease;
  }

  .menu-toggle-lines i:nth-child(1) { top: 1px; }
  .menu-toggle-lines i:nth-child(2) { top: 9px; }
  .menu-toggle-lines i:nth-child(3) { top: 17px; }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) {
    opacity: 0;
    transform: scaleX(.25);
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
  }

  .site-header #main-nav {
    position: absolute !important;
    z-index: 145;
    top: 100% !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    display: block;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 62px);
    margin: 0;
    padding: 0 18px max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 3px solid #2497df;
    background: #fff !important;
    color: #101927 !important;
    box-shadow: 0 24px 55px rgba(11, 22, 40, .18);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transform: translate3d(0, -20px, 0) scaleY(.97) !important;
    transform-origin: top center;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility .3s !important;
  }

  .site-header #main-nav.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scaleY(1) !important;
  }

  .mobile-nav-heading {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 19px 13px 14px;
    border-bottom: 1px solid #dfe7ee;
    color: #101927;
  }

  .mobile-nav-heading strong {
    color: #2497df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
  }

  .mobile-nav-heading > span {
    color: #687386;
    font-size: 12px;
    line-height: 1.45;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle {
    min-height: 54px;
    padding: 0 13px;
    border: 0;
    border-bottom: 1px solid #e6ebf0;
    background: transparent !important;
    color: #101927 !important;
    font-size: 15px;
    font-weight: 700;
    transition: padding-left .2s ease, background-color .2s ease, color .2s ease;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible,
  .site-header #main-nav > a.active {
    padding-left: 19px;
    background: #eef7fc !important;
    color: #168ed7 !important;
  }

  .site-header .nav-dropdown-toggle > svg:last-child {
    margin-left: auto;
    transition: transform .22s ease;
  }

  .site-header .nav-dropdown.open > .nav-dropdown-toggle > svg:last-child {
    transform: rotate(180deg);
  }

  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu {
    border: 0 !important;
    background: #f4f8fb !important;
    box-shadow: inset 3px 0 0 #2497df;
  }

  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a {
    min-height: 46px;
    padding-inline: 16px;
    border-bottom: 1px solid #e2e9ef;
    border-radius: 0;
    color: #17263a !important;
    font-size: 13px;
    font-weight: 650;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    padding-left: 21px;
    background: #e7f3fa !important;
    color: #168ed7 !important;
  }

  .site-header .category-mobile-list {
    padding: 4px 0 8px;
  }

  .site-header .category-mobile-list .all-categories-link {
    margin: 0;
    padding-block: 13px;
    border-bottom-color: #d8e2ea;
  }

  .mobile-nav-overlay {
    z-index: 120;
    inset: 0;
    background: rgba(11, 22, 40, .28);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-header #main-nav,
  .menu-toggle-lines i {
    transition-duration: .01ms !important;
  }
}

/* Unified dark surfaces for desktop mega navigation and the complete mobile menu. */
@media (min-width: 901px) {
  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mega-shell,
  .site-header .category-mega-sidebar,
  .site-header .category-mega-content,
  .site-header .category-mega-panel {
    background: var(--header-bg, #070c16) !important;
    background-image: none !important;
    color: var(--header-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu {
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: 0 28px 65px rgba(0, 0, 0, .34);
  }

  .site-header .nav-dropdown-menu a,
  .site-header .category-mega-sidebar-title strong,
  .site-header .category-mega-panel-head h3,
  .site-header .category-mega-tab,
  .site-header .category-mega-product {
    color: var(--header-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mega-tab:hover,
  .site-header .category-mega-tab:focus-visible,
  .site-header .category-mega-tab.is-active {
    background: color-mix(in srgb, var(--header-bg, #070c16) 82%, var(--header-hover, #54b6f2) 18%) !important;
    color: var(--header-hover, #54b6f2) !important;
  }

  .site-header .category-mega-all-link,
  .site-header .category-mega-panel-head > a,
  .site-header .category-mega-product-copy small,
  .site-header .category-mega-panel-foot a small {
    color: color-mix(in srgb, var(--header-text, #fff) 62%, transparent) !important;
  }

  .site-header .category-mega-all-link {
    border-top-color: rgba(255, 255, 255, .12);
  }

  .site-header .category-mega-product-visual {
    border-color: rgba(255, 255, 255, .1);
    background: #fff;
  }

  .site-header .category-mega-product:hover .category-mega-product-visual,
  .site-header .category-mega-product:focus-visible .category-mega-product-visual {
    border-color: rgba(84, 182, 242, .58);
    background: #fff;
    transform: none;
  }

  .site-header .category-mega-product:hover,
  .site-header .category-mega-product:focus-visible {
    background: transparent;
    color: var(--header-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu a.category-mega-product:hover,
  .site-header .nav-dropdown-menu a.category-mega-product:focus-visible,
  .site-header .category-mega-product-copy {
    background: transparent !important;
    color: var(--header-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu a.category-mega-product:hover .category-mega-product-copy strong,
  .site-header .nav-dropdown-menu a.category-mega-product:focus-visible .category-mega-product-copy strong {
    color: var(--header-hover, #54b6f2) !important;
  }

  .site-header .category-mega-product:hover img,
  .site-header .category-mega-product:focus-visible img {
    transform: none;
  }

  .site-header .category-mega-empty {
    border-color: rgba(255, 255, 255, .2);
    color: color-mix(in srgb, var(--header-text, #fff) 62%, transparent);
  }

  .site-header .category-mega-panel-foot a {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--header-text, #fff);
  }

  .site-header .category-mega-panel-foot a:hover,
  .site-header .category-mega-panel-foot a:focus-visible {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--header-hover, #54b6f2);
  }

  .site-header .category-mega-panel-foot a:hover > svg,
  .site-header .category-mega-panel-foot a:focus-visible > svg {
    color: var(--header-hover, #54b6f2);
  }
}

@media (max-width: 900px) {
  .site-header #main-nav,
  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mobile-list {
    background: #070c16 !important;
    background-image: none !important;
    color: #fff !important;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle,
  .site-header .quote,
  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a,
  .site-header .category-mobile-list .all-categories-link {
    border-color: rgba(255, 255, 255, .11) !important;
    background: transparent !important;
    color: #fff !important;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header #main-nav > a.active,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle,
  .site-header .quote:hover,
  .site-header .quote:focus-visible,
  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    background: #101c2c !important;
    color: #54b6f2 !important;
  }

  .site-header .mobile-series-browser,
  .site-header .mobile-series-toolbar {
    background: #070c16 !important;
    color: #fff !important;
  }

  .site-header .mobile-series-toolbar .mobile-series-back,
  .site-header .mobile-series-heading h2 {
    color: #fff !important;
  }

  .site-header .mobile-series-heading > small {
    color: #9baabd !important;
  }

  .site-header .mobile-series-card {
    border-color: rgba(255, 255, 255, .14);
    background: #0c1523;
  }

  .site-header .mobile-series-card-copy {
    border-top-color: rgba(255, 255, 255, .12);
    background: #0c1523;
  }

  .site-header .mobile-series-card-copy strong {
    color: #fff;
  }

  .site-header .mobile-series-card-copy small {
    color: #9baabd;
  }
}

/* Restored dark header theme; keeps existing sizing and interaction behavior. */
@media (min-width: 901px) {
  .site-header,
  .site-header.is-sticky,
  .site-header .nav-wrap,
  .site-header #main-nav {
    background: var(--header-bg, #070c16) !important;
    background-image: none !important;
    color: var(--header-text, #fff) !important;
    border-bottom-color: rgba(255, 255, 255, .11) !important;
  }

  .site-header nav,
  .site-header nav > a:not(.quote),
  .site-header .nav-dropdown-toggle,
  .site-header .quote {
    color: var(--header-text, #fff) !important;
  }

  .site-header nav > a:not(.quote):hover,
  .site-header nav > a:not(.quote).active,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle,
  .site-header .nav-dropdown.open > .nav-dropdown-toggle,
  .site-header .quote:hover,
  .site-header .quote:focus-visible {
    color: var(--header-text, #fff) !important;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-sticky,
  .site-header .nav-wrap {
    background: var(--header-bg, #070c16) !important;
    color: var(--header-text, #fff) !important;
    border-bottom-color: rgba(255, 255, 255, .11) !important;
  }

  .site-header .menu-toggle,
  .site-header .mobile-header-quote {
    color: var(--header-text, #fff) !important;
  }

  .site-header .mobile-header-quote:hover,
  .site-header .mobile-header-quote:focus-visible,
  .site-header .mobile-header-quote.active {
    color: var(--header-active, #2497df) !important;
  }

  .site-header #main-nav {
    background: var(--mobile-menu-bg, #070c16) !important;
    color: var(--mobile-menu-text, #fff) !important;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle,
  .site-header .quote {
    color: var(--mobile-menu-text, #fff) !important;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header #main-nav > a.active,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle,
  .site-header .quote:hover,
  .site-header .quote:focus-visible {
    background: transparent !important;
    color: var(--header-active, #2497df) !important;
  }

  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mobile-list {
    background: #0c1523 !important;
    color: var(--mobile-menu-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a,
  .site-header .category-mobile-list .all-categories-link {
    color: var(--mobile-menu-text, #fff) !important;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    background: transparent !important;
    color: var(--header-active, #2497df) !important;
  }

  .mobile-series-browser {
    background: var(--mobile-menu-bg, #070c16);
    color: var(--mobile-menu-text, #fff);
  }

  .mobile-series-toolbar .mobile-series-back,
  .mobile-series-heading h2 {
    color: var(--mobile-menu-text, #fff);
  }

  .mobile-series-heading > small {
    color: rgba(255, 255, 255, .68);
  }
}

/* Mobile menu alignment and simplified states. */
@media (max-width: 900px) {
  .menu-toggle-lines {
    width: 22px;
    height: 16px;
  }

  .menu-toggle-lines i:nth-child(1) { top: 0; }
  .menu-toggle-lines i:nth-child(2) { top: 7px; }
  .menu-toggle-lines i:nth-child(3) { top: 14px; }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(1),
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(3) {
    top: 7px;
  }

  .site-header #main-nav {
    padding-inline: 17px;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle {
    min-height: 52px;
    padding-inline: 0;
    border: 0 !important;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible {
    padding-left: 0;
    background: transparent !important;
    color: #168ed7 !important;
  }

  .site-header #main-nav > a.active,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle {
    padding-left: 0;
    background: transparent !important;
    color: #168ed7 !important;
  }

  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu {
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a,
  .site-header .category-mobile-list .all-categories-link {
    padding-inline: 0;
    border: 0 !important;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    padding-left: 0;
    background: transparent !important;
    color: #168ed7 !important;
  }

  .site-header .category-mobile-list {
    padding: 3px 0 0;
  }

  .site-header .category-mobile-list .all-categories-link {
    margin: 0;
  }
}

/* Keep the mobile navigation attached to the viewport at every scroll position. */
@media (max-width: 900px) {
  body.mobile-nav-open .site-header,
  body.mobile-nav-open .site-header.is-sticky {
    position: fixed !important;
    z-index: 600;
    top: 0 !important;
    right: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .site-header #main-nav {
    position: fixed !important;
    top: var(--mobile-menu-top, 72px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto;
    min-height: 0;
    max-height: none !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    box-shadow: none;
    transform: translate3d(0, -14px, 0) !important;
  }

  .site-header #main-nav.open {
    transform: translate3d(0, 0, 0) !important;
  }

  .mobile-nav-overlay {
    display: none !important;
  }

  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mobile-list {
    background: #fff !important;
  }
}

/* Olympia has a wider wordmark than the other header logos. */
.site-header .header-menu-logo[alt*="OLYMPIA" i] {
  width: 100px;
  height: 25px;
  max-width: 100px;
  max-height: 25px;
}

@media (max-width: 900px) {
  .site-header .header-menu-logo[alt*="OLYMPIA" i] {
    width: 112px;
    height: 26px;
    max-width: 112px;
    max-height: 26px;
  }
}

/* Mobile menu reveals from the header down instead of appearing all at once. */
@media (max-width: 900px) {
  .site-header #main-nav {
    border-top: 0 !important;
    opacity: 1 !important;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    transform: none !important;
    transition: clip-path .4s cubic-bezier(.22, 1, .36, 1), visibility .4s !important;
  }

  .site-header #main-nav.open {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    transform: none !important;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header #main-nav > .nav-dropdown {
    opacity: 0;
    transform: translateY(-9px);
    transition: opacity .2s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
  }

  .site-header #main-nav.open > a:not(.quote),
  .site-header #main-nav.open > .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header #main-nav.open > :nth-child(1) { transition-delay: .04s; }
  .site-header #main-nav.open > :nth-child(2) { transition-delay: .07s; }
  .site-header #main-nav.open > :nth-child(3) { transition-delay: .10s; }
  .site-header #main-nav.open > :nth-child(4) { transition-delay: .13s; }
  .site-header #main-nav.open > :nth-child(5) { transition-delay: .16s; }
  .site-header #main-nav.open > :nth-child(6) { transition-delay: .19s; }
  .site-header #main-nav.open > :nth-child(7) { transition-delay: .22s; }
  .site-header #main-nav.open > :nth-child(8) { transition-delay: .25s; }
  .site-header #main-nav.open > :nth-child(9) { transition-delay: .28s; }
  .site-header #main-nav.open > :nth-child(10) { transition-delay: .31s; }
  .site-header #main-nav.open > :nth-child(11) { transition-delay: .34s; }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-header #main-nav,
  .site-header #main-nav > a:not(.quote),
  .site-header #main-nav > .nav-dropdown {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* Mobile product-series browser: a second, card-based navigation level. */
.mobile-series-browser {
  display: none;
}

@media (max-width: 900px) {
  .site-header .nav-category-mega > .category-mega-menu {
    display: none !important;
  }

  .site-header [data-mobile-series-open] > svg:last-child {
    transform: rotate(-90deg);
  }

  .site-header #main-nav.mobile-series-active {
    overflow: hidden;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header #main-nav > .nav-dropdown,
  .site-header #main-nav > .quote {
    transition: opacity .24s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
  }

  .site-header #main-nav.mobile-series-active > a:not(.quote),
  .site-header #main-nav.mobile-series-active > .nav-dropdown,
  .site-header #main-nav.mobile-series-active > .quote {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-34px, 0, 0);
  }

  .mobile-series-browser {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 0 17px max(26px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f3f6f9;
    color: #101927;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility .42s;
  }

  .site-header #main-nav.mobile-series-active > .mobile-series-browser {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .mobile-series-toolbar {
    position: static;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 10px 0;
    background: #f3f6f9;
    border-bottom: 0;
  }

  .mobile-series-toolbar .mobile-series-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #101927;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-series-toolbar .mobile-series-back svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.4;
  }

  .site-header .mobile-series-toolbar > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #168ed7 !important;
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-series-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 25px 1px 18px;
  }

  .mobile-series-heading span {
    display: block;
    margin-bottom: 5px;
    color: #168ed7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.55px;
  }

  .mobile-series-heading h2 {
    margin: 0;
    color: #101927;
    font-size: clamp(27px, 8vw, 38px);
    line-height: .98;
    letter-spacing: -1.25px;
  }

  .mobile-series-heading > small {
    flex: 0 0 auto;
    color: #69788b;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-series-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .site-header .mobile-series-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe3eb;
    border-radius: 0;
    background: #fff;
    color: #101927 !important;
    box-shadow: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, border-color .22s ease;
  }

  .site-header #main-nav.mobile-series-active .mobile-series-card {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header #main-nav.mobile-series-active .mobile-series-card:nth-child(1) { transition-delay: .08s; }
  .site-header #main-nav.mobile-series-active .mobile-series-card:nth-child(2) { transition-delay: .11s; }
  .site-header #main-nav.mobile-series-active .mobile-series-card:nth-child(3) { transition-delay: .14s; }
  .site-header #main-nav.mobile-series-active .mobile-series-card:nth-child(4) { transition-delay: .17s; }
  .site-header #main-nav.mobile-series-active .mobile-series-card:nth-child(n+5) { transition-delay: .20s; }

  .site-header #main-nav.mobile-series-active .mobile-series-card:active {
    transform: scale(.975);
  }

  .site-header .mobile-series-card:focus-visible {
    outline: 3px solid rgba(36, 151, 223, .28);
    outline-offset: 2px;
    border-color: #2497df;
  }

  .mobile-series-card-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.15 / 1;
    padding: 18px 16px 14px;
    overflow: hidden;
    background: var(--series-card-bg, #fff);
  }

  .mobile-series-card-visual::after {
    content: none;
  }

  .mobile-series-card-visual img {
    position: relative;
    z-index: 1;
    width: 92%;
    height: 92%;
    object-fit: contain;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-series-card-visual img.is-logo {
    width: 86%;
    height: 55%;
  }

  .mobile-series-card-visual > svg {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    color: #2497df;
  }

  .mobile-series-card-copy {
    position: relative;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 12px;
    border-top: 1px solid #dbe4eb;
    background: #edf3f7;
  }

  .mobile-series-card-copy::before {
    content: none;
  }

  .mobile-series-card-copy > span {
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .mobile-series-card-copy strong,
  .mobile-series-card-copy small {
    display: block;
  }

  .mobile-series-card-copy strong {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    color: #101927;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.14;
    letter-spacing: -.15px;
  }

  .mobile-series-card-copy small {
    margin-top: 6px;
    color: #67768a;
    font-size: 11px;
    font-weight: 700;
  }

  .mobile-series-card-copy > svg {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #168ed7;
  }

  @media (hover: hover) {
    .site-header #main-nav.mobile-series-active .mobile-series-card:hover {
      transform: translateY(0);
      border-color: #2497df;
      box-shadow: none;
    }

    .site-header .mobile-series-card:hover .mobile-series-card-visual img {
      transform: scale(1.055);
    }
  }
}

@media (max-width: 360px) {
  .mobile-series-grid {
    gap: 9px;
  }

  .mobile-series-card-copy {
    min-height: 88px;
    padding-inline: 10px;
  }

  .mobile-series-card-copy strong {
    font-size: 12px;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .mobile-series-browser,
  .site-header #main-nav > a:not(.quote),
  .site-header #main-nav > .nav-dropdown,
  .site-header #main-nav > .quote,
  .site-header .mobile-series-card,
  .mobile-series-card-visual img {
    transition-duration: .01ms !important;
  }
}

/* Final mobile dark-theme cascade: must follow the card-browser layout rules. */
@media (max-width: 900px) {
  .site-header #main-nav,
  .site-header .nav-dropdown-menu,
  .site-header .nav-category-mega > .category-mega-menu,
  .site-header .category-mobile-list {
    background: var(--header-bg, #070c16) !important;
    background-image: none !important;
    color: var(--header-text, #fff) !important;
  }

  .site-header #main-nav > a:not(.quote),
  .site-header .nav-dropdown-toggle,
  .site-header .quote,
  .site-header .nav-dropdown-menu a,
  .site-header .category-mobile-list a,
  .site-header .category-mobile-list .all-categories-link {
    border-color: rgba(255, 255, 255, .11) !important;
    background: transparent !important;
    color: var(--header-text, #fff) !important;
  }

  .site-header #main-nav > a:not(.quote):hover,
  .site-header #main-nav > a:not(.quote):focus-visible,
  .site-header #main-nav > a.active,
  .site-header .nav-dropdown-toggle:hover,
  .site-header .nav-dropdown-toggle:focus-visible,
  .site-header .nav-dropdown.active > .nav-dropdown-toggle,
  .site-header .quote:hover,
  .site-header .quote:focus-visible,
  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible,
  .site-header .category-mobile-list a:hover,
  .site-header .category-mobile-list a:focus-visible {
    background: transparent !important;
    color: var(--header-hover, #54b6f2) !important;
  }

  .site-header .mobile-series-browser,
  .site-header .mobile-series-toolbar {
    background: var(--header-bg, #070c16) !important;
    color: var(--header-text, #fff) !important;
  }

  .site-header .mobile-series-toolbar .mobile-series-back,
  .site-header .mobile-series-heading h2 {
    color: var(--header-text, #fff) !important;
  }

  .site-header .mobile-series-card {
    border-color: rgba(255, 255, 255, .14);
    background: color-mix(in srgb, var(--header-bg, #070c16) 90%, var(--header-text, #fff) 10%);
  }

  .site-header .mobile-series-card-copy {
    border-top-color: rgba(255, 255, 255, .12);
    background: color-mix(in srgb, var(--header-bg, #070c16) 90%, var(--header-text, #fff) 10%);
  }

  .site-header .mobile-series-card-copy strong {
    color: var(--header-text, #fff);
  }

  .site-header .mobile-series-card-copy small,
  .site-header .mobile-series-heading > small {
    color: color-mix(in srgb, var(--header-text, #fff) 62%, transparent);
  }
}

/* Final override for the two mega-menu text actions. */
@media (min-width: 901px) {
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:hover,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:focus-visible,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:hover,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:focus-visible {
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:hover,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:focus-visible,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:hover,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:focus-visible {
    color: var(--header-hover, #54b6f2) !important;
  }

  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:hover svg,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-head > a:focus-visible svg,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:hover svg,
  .site-header .nav-category-mega > .category-mega-menu .category-mega-panel-foot > a:focus-visible svg {
    color: currentColor !important;
  }
}

/* Corporate/contact drawers: full-width, compact desktop navigation strip. */
@media (min-width: 901px) {
  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu {
    position: fixed;
    top: var(--desktop-drawer-top, var(--header-height, 80px));
    right: 0;
    left: 0;
    display: flex;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 60px;
    align-items: stretch;
    gap: clamp(24px, 3vw, 52px);
    padding: 0;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--header-bg, #070c16) !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transform-origin: 0 0;
    transition: opacity .24s ease, transform .32s cubic-bezier(.22, 1, .36, 1), visibility .32s;
  }

  .site-header :is(.corporate-dropdown, .contact-dropdown).open > .nav-dropdown-menu {
    padding: 0 24px 0 var(--desktop-drawer-content-left, 0px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu > a {
    flex: 0 0 auto;
    min-height: 60px;
    justify-content: flex-start;
    padding: 0 !important;
    border: 0;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--header-text, #fff) !important;
    opacity: 0;
    transform: translateY(-7px);
    transition: color .22s ease, opacity .26s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
  }

  .site-header :is(.corporate-dropdown, .contact-dropdown).open > .nav-dropdown-menu > a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header :is(.corporate-dropdown, .contact-dropdown).open > .nav-dropdown-menu > a:nth-child(2) { transition-delay: .035s; }
  .site-header :is(.corporate-dropdown, .contact-dropdown).open > .nav-dropdown-menu > a:nth-child(3) { transition-delay: .07s; }
  .site-header :is(.corporate-dropdown, .contact-dropdown).open > .nav-dropdown-menu > a:nth-child(4) { transition-delay: .105s; }

  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu > a:hover,
  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu > a:focus-visible {
    padding: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--header-hover, #54b6f2) !important;
    transform: translateY(0);
  }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu,
  .site-header :is(.corporate-dropdown, .contact-dropdown) > .nav-dropdown-menu > a {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
