:root {
  --bx-cream: #efeee9;
  --bx-blue: #243a51;
  --bx-blue-soft: #7a90a4;
  --bx-ink: #0a0a0b;
  --bx-line: rgba(10, 10, 11, 0.18);
}

.bx-header {
  --bx-header-h: 62px;
  position: sticky;
  top: 0;
  z-index: 10001;
  width: 100%;
  color: var(--bx-ink);
  background: #efeee9;
  border-bottom: 1px solid rgba(10, 10, 11, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

.bx-header * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.bx-header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: var(--bx-header-h);
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: #efeee9;
}

.bx-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  min-width: 0;
  color: var(--bx-ink);
  text-decoration: none;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bx-brand:hover,
.bx-brand:focus-visible {
  color: var(--bx-blue);
}

.bx-brand img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

.bx-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  font: 700 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bx-nav a {
  position: relative;
  color: var(--bx-ink);
  text-decoration: none;
  padding: 6px 0;
  white-space: nowrap;
}

.bx-nav-group {
  position: relative;
}

.bx-nav-drop {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 228px;
  white-space: nowrap;
  padding: 10px 0 12px;
  background: #efeee9;
  border: 1px solid var(--bx-line);
  display: none;
  z-index: 5;
}

.bx-nav-drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.bx-nav-drop a {
  display: block;
  padding: 8px 16px;
  letter-spacing: 0.12em;
}

.bx-nav-drop a::after {
  display: none;
}

.bx-nav-group:hover .bx-nav-drop,
.bx-nav-group:focus-within .bx-nav-drop {
  display: block;
}

.bx-nav a::after {
  content: "";
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--bx-blue);
  transition: width 0.28s ease;
}

.bx-nav-group > a::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .bx-nav a:hover,
  .bx-nav a:focus-visible {
    color: var(--bx-blue);
  }

  .bx-nav > a:hover::after,
  .bx-nav > a:focus-visible::after {
    width: 16px;
  }
}

.bx-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.bx-header-actions a,
.bx-header-actions a:any-link,
.bx-header-actions a:link,
.bx-header-actions a:visited,
.bx-header-actions a:hover,
.bx-header-actions a:active,
.bx-header-actions a:focus,
.bx-header-actions a:focus-visible,
.bx-header-actions button,
.bx-header-actions button:hover,
.bx-header-actions button:active,
.bx-header-actions button:focus,
.bx-header-actions button:focus-visible {
  color: #0a0a0b !important;
  -webkit-text-fill-color: #0a0a0b !important;
  outline: none;
  box-shadow: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.bx-bag {
  text-decoration: none;
  font: 700 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bx-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  font: 700 22px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.bx-mobile-menu {
  position: fixed;
  top: var(--bx-header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 8px 24px 40px;
  background: #efeee9;
  color: var(--bx-ink);
  overflow: hidden;
  visibility: hidden;
  transform: translateY(-101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.45s;
  pointer-events: none;
}

.bx-mobile-menu.active {
  transform: none;
  overflow-y: auto;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0s;
}

.bx-mobile-list {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.bx-mobile-list li {
  display: block;
  list-style: none;
  list-style-type: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--bx-line);
}

.bx-mobile-list a,
.bx-mobile-list a:link,
.bx-mobile-list a:visited,
.bx-mobile-list a:hover,
.bx-mobile-list a:active,
.bx-mobile-list a:focus {
  display: block;
  width: 100%;
  color: var(--bx-ink);
  text-decoration: none;
  font-size: clamp(18px, 5.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 0;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.bx-mobile-sub a,
.bx-mobile-sub a:link,
.bx-mobile-sub a:visited {
  padding: 8px 0 8px 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(10, 10, 11, 0.62);
}

.bx-mobile-sub {
  border-bottom: 0;
}

body.bx-menu-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .bx-nav {
    display: none;
  }

  .bx-header {
    --bx-header-h: 52px;
  }

  .bx-header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 18px;
  }

  .bx-brand {
    font-size: 12px;
  }

  .bx-brand img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .bx-nav a::after,
  .bx-mobile-menu {
    transition: none;
  }
}
