.oem-nav {
  min-width: 0;
}

.oem-nav-trigger {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.oem-nav-trigger > img {
  flex: none;
  transition: transform .15s;
}

.oem-nav-trigger[aria-expanded=true] > img {
  transform: rotate(180deg);
}

body:has(#private-label) .site-header:not(.scrolled) .oem-nav-trigger > img {
  filter: invert(1);
}

.oem-nav-panel {
  position: fixed;
  z-index: 2;
  top: var(--oem-nav-top, 100px);
  left: 50%;
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100svh - var(--oem-nav-top, 100px) - 16px);
  overflow: auto;
  white-space: normal;
  padding: 24px;
  transform: translateX(-50%);
  border: 1px solid #dce8e4;
  border-radius: 12px;
  color: #111827;
  background: #fff;
  box-shadow: 0 20px 60px #11182726;
  font-weight: 400;
}

.oem-nav-panel[hidden] {
  display: none;
}

.oem-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #dce8e4;
}

.oem-nav-heading strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.oem-nav-heading p,
.oem-nav-column span {
  margin: 6px 0 0;
  color: #526477;
  font-size: 12px;
  line-height: 1.5;
}

.oem-nav-heading a {
  flex: none;
  white-space: nowrap;
  color: #087178;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
}

.oem-nav-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.oem-nav-label {
  margin: 0 0 8px;
  color: #516273;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.oem-nav-column a {
  display: block;
  margin-bottom: 2px;
  padding: 9px 10px;
  border-radius: 6px;
}

.oem-nav-column strong {
  font-size: 13px;
  line-height: 1.35;
}

.oem-nav-column span {
  display: block;
  margin-top: 4px;
}

.oem-nav-column a:hover {
  color: #087178;
  background: #eef4f2;
}

.oem-nav-trigger:focus-visible,
.oem-nav a:focus-visible {
  outline: 2px solid #087178;
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .oem-nav-trigger {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 6px;
    background: #ffffff0f;
  }

  .oem-nav-trigger > img {
    filter: invert(1);
  }

  .nav.open:has(.oem-nav-trigger[aria-expanded=true]) {
    width: min(100vw, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .oem-nav-panel {
    position: static;
    width: 100%;
    max-height: none;
    padding: 16px;
    margin-top: 8px;
    transform: none;
    box-shadow: none;
  }

  .oem-nav-heading {
    display: block;
  }

  .oem-nav-panel .oem-nav-heading a {
    display: block;
    padding: 8px 0 0;
    color: #087178;
    background: transparent;
  }

  .oem-nav-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .oem-nav-panel .oem-nav-column a {
    padding: 8px;
    color: #111827;
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oem-nav-trigger > img { transition: none; }
}
