:root {
  --bx-cream: #efeee9;
  --bx-blue: #2442ff;
  --bx-blue-soft: #8ea0ff;
  --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;
  line-height: 0;
}

.bx-brand img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  min-width: 40px;
  min-height: 40px;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
}

.bx-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  font: 700 8px/1 "Courier New", Courier, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

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

@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: 22px;
  }
}

.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 8px/1 "Courier New", Courier, monospace;
  letter-spacing: 0.16em;
  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);
  transform: translateY(-101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.bx-mobile-menu.active {
  transform: none;
  pointer-events: auto;
}

.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;
}

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 img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
}

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