/* Storefront navigation, shared by desktop and the expandable mobile menu. */
.header { position: relative; }
.header #nav { align-items: center; gap: 8px; }
.header #nav a { white-space: nowrap; }
.header #nav a.nav-reseller {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #0755da;
  border-radius: 8px;
  background: #0755da;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.header #nav a.nav-reseller::after { display: none; }
.header #nav a.nav-reseller:hover {
  background: #003fb3;
  border-color: #003fb3;
  color: #fff;
}
.header #nav a.nav-reseller:focus-visible {
  outline: 3px solid #0755da;
  outline-offset: 3px;
  background: #003fb3;
  color: #fff;
}
@media (min-width: 1181px) and (max-width: 1320px) {
  .header { padding-left: 24px; padding-right: 24px; gap: 16px; }
  .header #nav { font-size: 11px; }
  .home-signature .header #nav a { padding-left: 6px; padding-right: 6px; }
  .header .header-actions > .btn.small { display: none; }
}
@media (max-width: 1180px) {
  .header #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 24px;
    background: #fff;
    box-shadow: 0 15px 20px #0002;
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    font-size: 15px;
  }
  .header #nav.open { display: flex; }
  .header .menu-toggle { display: block; }
  .header .header-actions > .btn { display: none; }
  .header #nav a { display: flex; align-items: center; min-height: 44px; padding: 12px; }
  .header #nav a.nav-reseller { min-height: 44px; }
}
