:root {
  --ce-topbar-height: 40px;
  --ce-header-bar-height: 84px;
  --ce-desktop-header-offset: calc(var(--ce-topbar-height) + var(--ce-header-bar-height));
  --ce-navy: #002a54;
  --ce-header-ease: cubic-bezier(.2, .7, .2, 1);
}

.ms-topbar {
  background: var(--ce-navy);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.ms-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 40px;
}

.ms-topbar__left,
.ms-topbar__right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ms-topbar__link,
.ms-topbar__intl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.ms-topbar__intl {
  font-weight: 650;
}

.ms-topbar__link:hover,
.ms-topbar__intl:hover,
.ms-topbar__link:focus-visible,
.ms-topbar__intl:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.ms-topbar strong {
  font-weight: 750;
}

.ms-icon-invert {
  filter: brightness(0) invert(1);
}

.inline-block {
  display: inline-block;
}

.shrink-0 {
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .ms-topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    text-align: center;
  }

  .ms-topbar__link {
    max-width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .ms-topbar__intl {
    flex-basis: 100%;
  }
}

@media (min-width: 992px) {
  .ms-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1041;
    height: var(--ce-topbar-height);
  }

  .ms-topbar__inner {
    height: 100%;
    min-height: 0;
  }

  .desktop-main-navbar-shell {
    display: flex;
    align-items: center;
    overflow: visible;
    transition: box-shadow .28s var(--ce-header-ease);
    box-shadow: 0 1px 0 rgba(0, 42, 84, .05);
  }

  .desktop-main-navbar-shell.is-raised {
    box-shadow: 0 10px 28px rgba(0, 42, 84, .1);
  }
}

.ce-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.4vw, 32px);
  min-width: 0;
}

.ce-header-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.ce-header-logo img {
  display: block;
  width: auto;
  max-width: 146px;
  height: 40px;
  object-fit: contain;
}

.ce-primary-navigation {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.ce-primary-navigation__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ce-primary-navigation__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--ce-navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}

.ce-primary-navigation__link::after {
  content: none;
}

.ce-primary-navigation__link:hover,
.ce-primary-navigation__link:focus-visible,
.ce-primary-navigation__link[aria-current="page"],
.ce-nav-toggle[aria-expanded="true"] {
  background: #EEF0F3;
  color: var(--ce-navy);
}

.ce-nav-toggle.dropdown-toggle::after {
  display: none;
  content: none;
}

.ce-chevron {
  flex: 0 0 auto;
  transition: rotate .22s var(--ce-header-ease);
}

.ce-nav-toggle[aria-expanded="true"] .ce-chevron {
  rotate: 180deg;
}

.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle {
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 9999px;
  box-shadow: none;
  color: var(--ce-navy);
  transform: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.ce-nav-dropdown > .ce-nav-toggle::after {
  content: none;
}

.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle:hover,
.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle:focus,
.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle:focus-visible,
.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle:active,
.desktop-main-navbar .ce-nav-dropdown > .ce-nav-toggle[aria-expanded="true"] {
  background: #EEF0F3;
  color: var(--ce-navy);
  outline: none;
  outline-offset: 0;
  box-shadow: none;
  border-color: transparent;
}

.ce-nav-dropdown {
  position: relative;
}

.desktop-main-navbar-shell .ce-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1050;
  display: block;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 32px));
  max-height: min(70vh, 420px);
  margin-top: 0;
  padding: 8px;
  overflow: auto;
  border: 1px solid #e1e8ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 42, 84, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 10px;
  transition: opacity 240ms ease, translate 240ms ease, visibility 240ms linear;
}

.ce-nav-dropdown__menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
}

.ce-nav-dropdown__menu .dropdown-item {
  border-radius: 8px;
  color: var(--ce-navy);
  font-weight: 500;
  white-space: normal;
}

.ce-nav-dropdown__menu .dropdown-item:hover,
.ce-nav-dropdown__menu .dropdown-item:focus-visible {
  background: #f4f8fb;
  color: var(--ce-navy);
}

.ce-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.desktop-main-navbar .ce-header-action {
  gap: 2px;
  min-width: 64px;
  padding: 4px 8px;
  white-space: nowrap;
  border-radius: 10px;
  color: var(--ce-navy);
  font-family: "Avenir Next", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.desktop-main-navbar .ce-header-action i {
  color: inherit;
}

.desktop-main-navbar .ce-header-action .nav-cart-label,
.desktop-main-navbar .ce-header-action span,
.desktop-main-navbar .ce-header-action small {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.ce-header-action:hover,
.ce-header-action:focus-visible {
  background: #f4f8fb;
  color: var(--ce-navy);
}

.desktop-main-navbar .nav-cart-button {
  gap: 2px;
}

.ce-primary-navigation a:focus-visible,
.ce-header-action:focus-visible,
.ce-header-logo:focus-visible,
.ce-mobile-tool:focus-visible,
.ce-menu-toggle:focus-visible,
.ms-topbar__link:focus-visible,
.ms-topbar__intl:focus-visible,
#navbarNavDropdown a:focus-visible,
#navbarNavDropdown .ce-menu-toggle:focus-visible {
  outline: 3px solid #067a94;
  outline-offset: 3px;
}

.desktop-main-navbar .ce-nav-toggle:hover,
.desktop-main-navbar .ce-nav-toggle:focus,
.desktop-main-navbar .ce-nav-toggle:focus-visible,
.desktop-main-navbar .ce-nav-toggle:active {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

@media (min-width: 992px) and (max-width: 1279.98px) {
  .ce-header-bar {
    gap: 10px;
    padding-inline: 16px;
  }

  .ce-primary-navigation__links {
    gap: 8px;
  }

  .ce-header-actions {
    gap: 8px;
  }

  .ce-primary-navigation__link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .desktop-main-navbar .ce-header-action {
    min-width: 56px;
    padding-inline: 4px;
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    max-width: 100%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 42, 84, .06);
    overflow-x: clip;
  }

  .ce-mobile-session {
    font-size: 14px;
    text-align: center;
  }

  .ce-mobile-nav {
    padding: 0;
    background: #fff;
  }

  .ce-mobile-nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 68px;
    padding: 8px 12px;
    overflow-x: clip;
  }

  .ce-mobile-nav .navbar-brand {
    margin: 0;
    padding: 0;
  }

  .ce-mobile-nav__tools {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .ce-mobile-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    color: var(--ce-navy);
  }

  .ce-mobile-tool:hover,
  .ce-mobile-tool:focus-visible {
    background: #f4f8fb;
    color: var(--ce-navy);
  }

  .ce-mobile-tool .nav-cart-icon-wrap i,
  .ce-mobile-tool i {
    font-size: 18px;
    color: var(--ce-navy);
  }

  .ce-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    padding: 0;
    border: 1px solid #d5e0e6;
    border-radius: 10px;
    background: #fff;
  }

  .ce-menu-toggle__bars,
  .ce-menu-toggle__bars::before,
  .ce-menu-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ce-navy);
    position: relative;
    transition: transform .22s var(--ce-header-ease), opacity .22s ease, background-color .22s ease;
  }

  .ce-menu-toggle__bars::before,
  .ce-menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .ce-menu-toggle__bars::before { top: -6px; }
  .ce-menu-toggle__bars::after { top: 6px; }

  .ce-menu-toggle[aria-expanded="true"] .ce-menu-toggle__bars {
    background: transparent;
  }

  .ce-menu-toggle[aria-expanded="true"] .ce-menu-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  .ce-menu-toggle[aria-expanded="true"] .ce-menu-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .ce-mobile-panel {
    border-top: 1px solid #e6e8ec;
    background: #fff;
  }

  .ce-mobile-panel .navbar-nav {
    padding: 8px 12px 16px;
    opacity: 0;
    translate: 0 -8px;
    transition: opacity .24s var(--ce-header-ease), translate .24s var(--ce-header-ease);
  }

  .ce-mobile-panel.collapsing .navbar-nav,
  .ce-mobile-panel.show .navbar-nav {
    opacity: 1;
    translate: 0 0;
  }

  .ce-mobile-panel .nav-link {
    padding: 12px 16px;
    border-radius: 9999px;
    color: var(--ce-navy);
    font-weight: 500;
    transition: background-color 220ms ease, color 220ms ease;
  }

  .ce-mobile-panel .nav-link:hover,
  .ce-mobile-panel .nav-link:focus-visible,
  .ce-mobile-panel .nav-link[aria-current="page"],
  .ce-mobile-panel .ce-nav-toggle[aria-expanded="true"] {
    background: #EEF0F3;
    color: var(--ce-navy);
  }

  .ce-mobile-panel button.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    font-weight: 500;
  }

  .ce-mobile-panel .dropdown-menu {
    position: static;
    float: none;
    margin: 0 0 8px;
    border: 0;
    box-shadow: none;
  }

  .ce-mobile-panel .ce-nav-dropdown {
    max-width: 100%;
  }

  .ce-mobile-panel .ce-nav-dropdown > .ce-nav-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .ce-mobile-panel .ce-nav-dropdown__menu {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    translate: 0 0;
    transition: max-height 240ms ease, opacity 220ms ease, padding 240ms ease, visibility 240ms linear;
  }

  .ce-mobile-panel .ce-nav-dropdown__menu.show {
    max-height: min(70vh, 420px);
    padding-top: 8px;
    padding-bottom: 8px;
    overflow: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none;
  }
}

@media (max-width: 380px) {
  .ce-mobile-nav__bar {
    gap: 4px;
    padding-inline: 10px;
  }

  .ce-mobile-tool {
    width: 36px;
    height: 36px;
  }

  .ce-menu-toggle {
    width: 40px;
    height: 40px;
    margin-left: 0;
  }
}

@keyframes ce-menu-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-main-navbar-shell,
  .ce-primary-navigation__link,
  .ce-primary-navigation__link::after,
  .ce-chevron,
  .ce-nav-dropdown__menu,
  .ce-menu-toggle__bars,
  .ce-menu-toggle__bars::before,
  .ce-menu-toggle__bars::after,
  .ce-mobile-panel,
  .ce-mobile-panel .navbar-nav,
  .ce-mobile-panel.collapsing,
  .ce-nav-search-slot,
  .ce-adaptive-search {
    transition: none;
  }

  .ce-nav-dropdown__menu,
  .ce-mobile-panel .navbar-nav {
    translate: 0 0;
  }

  .ce-mobile-panel .ce-nav-dropdown__menu.show {
    animation: none;
  }
}

.ce-catalog-search { position: relative; }
.ce-catalog-search__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid #d5e0e6;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 42, 84, .12);
}
.ce-catalog-search__panel[hidden] { display: none; }
.ce-catalog-search__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #eef3f6;
  background: #fff;
  color: #002a54;
  text-align: left;
  text-decoration: none;
}
.ce-catalog-search__item:last-child { border-bottom: 0; }
.ce-catalog-search__item[aria-selected="true"],
.ce-catalog-search__item:hover { background: #eff6f8; }
.ce-catalog-search__kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #067a94;
}
.ce-catalog-search__title { font-weight: 650; line-height: 1.3; }
.ce-catalog-search__meta { font-size: 12px; color: #5c7080; }
.ce-catalog-search__empty { margin: 0; padding: 12px; color: #5c7080; }

.ce-nav-search-slot {
  flex: 0 0 auto;
  width: 0;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 250ms ease, opacity 250ms ease;
}

.ce-header-bar .ce-nav-search-slot {
  align-self: center;
}

html.ce-search-docked .ce-header-bar .ce-nav-search-slot {
  width: min(280px, 26vw);
  opacity: 1;
  overflow: visible;
}

.ce-adaptive-search {
  width: min(680px, 100%);
  margin: 0;
  transition: opacity 250ms ease, transform 250ms ease;
}

.ce-adaptive-search.is-fading {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.ce-adaptive-search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 8px 8px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 32px rgba(0, 42, 84, .14);
}

.ce-hero-search .ce-adaptive-search__bar > .fa-search {
  flex: 0 0 auto;
  color: #067a94;
  font-size: 16px;
}

.ce-adaptive-search input[name="search"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #002a54;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.ce-adaptive-search input[name="search"]::placeholder {
  color: #6b7c8a;
}

.ce-adaptive-search input[name="search"]:focus-visible {
  outline: none;
}

.ce-adaptive-search__bar:focus-within {
  box-shadow: 0 12px 32px rgba(0, 42, 84, .14), 0 0 0 3px rgba(6, 122, 148, .35);
}

.ce-adaptive-search__submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #002a54;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.ce-adaptive-search__submit .fa-search {
  display: none;
}

.ce-adaptive-search__submit:hover,
.ce-adaptive-search__submit:focus-visible {
  background: #067a94;
  color: #fff;
}

.ce-adaptive-search__submit:focus-visible {
  outline: 3px solid #067a94;
  outline-offset: 2px;
}

.ce-nav-search-slot .ce-adaptive-search {
  width: 100%;
}

.ce-nav-search-slot .ce-adaptive-search__bar {
  gap: 6px;
  height: 42px;
  padding: 4px 4px 4px 12px;
  border: 1px solid #d5e0e6;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.ce-nav-search-slot .ce-adaptive-search input[name="search"],
.ce-nav-search-slot .ce-adaptive-search__submit {
  height: 34px;
}

.ce-nav-search-slot .ce-adaptive-search__submit {
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html.ce-search-docked .ce-header-bar .ce-nav-search-slot {
    width: 190px;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit {
    width: 34px;
    padding: 0;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit .fa-search {
    display: inline-block;
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .ce-mobile-nav__bar .ce-nav-search-slot {
    flex: 0 0 0;
    width: 0;
    transition: flex-grow 250ms ease, opacity 250ms ease;
  }

  html.ce-search-docked .ce-mobile-nav__bar .ce-nav-search-slot {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 168px);
    opacity: 1;
    overflow: visible;
  }

  html.ce-search-docked .navbar-sticky,
  html.ce-search-docked .ce-mobile-nav__bar {
    overflow: visible;
  }

  html.ce-search-docked .ce-mobile-nav .ce-header-logo img {
    max-width: 92px;
    height: 32px;
  }

  .ce-nav-search-slot .ce-adaptive-search__bar > .fa-search {
    display: none;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit {
    width: 34px;
    padding: 0;
  }

  .ce-nav-search-slot .ce-adaptive-search__submit .fa-search {
    display: inline-block;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ce-adaptive-search,
  .ce-nav-search-slot {
    transition: none;
  }

  .ce-adaptive-search.is-fading {
    transform: none;
  }
}
