/* Shared category navigation, layered onto the captured site stylesheet. */
html body .nav-solutions-panel { background: #fff; }

.nav-categories { align-self: stretch; align-items: center; display: flex; position: relative; }
.nav-categories-trigger {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  border: 0; padding: 0; background: transparent; color: inherit;
  font: inherit; font-weight: inherit;
}
.nav-categories-trigger svg { width: 14px; height: 14px; transition: transform .18s; }
.nav-categories-panel {
  z-index: 100; opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid #dce5eb; border-radius: 22px;
  width: min(440px, calc(100vw - 48px)); padding: 16px;
  display: block; position: absolute; top: calc(100% - 1px); left: 50%;
  transform: translate(-50%, 9px);
  transition: opacity .16s, transform .18s, visibility .16s;
  box-shadow: 0 24px 60px #1226422e;
}
.nav-categories-panel::before { content: ""; height: 14px; position: absolute; bottom: 100%; left: 0; right: 0; }
.nav-categories:is(:hover, :focus-within) .nav-categories-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-categories:is(:hover, :focus-within) .nav-categories-trigger svg { transform: rotate(180deg); }
.nav-categories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nav-categories-grid > a {
  color: #263d5b; background: #f8fbfc; border: 1px solid #e2eaf0;
  border-radius: 12px; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 50px; padding: 10px 12px;
  font-size: 12px; font-weight: 750; line-height: 1.3;
  transition: border-color .16s, background .16s, color .16s;
}
.desktop-nav .nav-categories-panel a::after { display: none; }
.nav-categories-grid > a svg { width: 14px; height: 14px; color: #ff884d; flex: none; transition: transform .16s; }
.nav-categories-grid > a:is(:hover, :focus-visible) { color: #152f53; background: #fff7f3; border-color: #f66f5e8c; }
.nav-categories-grid > a:is(:hover, :focus-visible) svg { transform: translateX(3px); }
.nav-categories-trigger:focus-visible, .nav-categories-grid > a:focus-visible {
  outline: 3px solid #2a9bb8; outline-offset: 3px;
}
.mobile-categories-group { border-bottom: 1px solid #e7edf1; padding-bottom: 8px; }
.mobile-categories-heading { display: block; padding: 10px 8px 6px; font-weight: 750; }
.mobile-categories-links { display: grid; gap: 1px; padding: 0 8px 3px 16px; }
.mobile-menu nav .mobile-categories-links a {
  color: #607087; padding: 5px 8px 5px 13px; font-size: 12px;
  font-weight: 650; line-height: 1.35; position: relative;
}
.mobile-menu nav .mobile-categories-links a::before {
  content: ""; background: #ff884d; border-radius: 50%; width: 4px; height: 4px;
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
}
@media (max-width: 1080px) {
  html body .header-inner { grid-template-columns: 1fr auto; }
  html body .desktop-nav, html body .header-inner > .button { display: none; }
  html body .mobile-menu { display: block; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-categories-panel, .nav-categories-trigger svg,
  .nav-categories-grid > a, .nav-categories-grid > a svg { transition: none; }
}
