/* Productex-specific stability fixes for the shared template header. */

:root {
  --px-header-logo-max-height: 34px;
}

header .navbar-brand img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--px-header-logo-max-height);
}

.navbar.center-logo .navbar-nav .nav-link {
  white-space: nowrap;
}

.navbar.center-logo .navbar-left,
.navbar.center-logo .navbar-right {
  flex: 0 1 35%;
  width: 35%;
}

.header-top-bar .row > .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  text-align: center;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar.center-logo .navbar-nav .nav-link,
  header.sticky .center-logo .navbar-nav .nav-link {
    padding-left: 12px;
    padding-right: 12px;
  }
}
