/* Shared product catalog header, footer and domain logos. */
:root { --heading: #1f3042; }
.utility-bar {
  height: 31px;
  color: #718395;
  border-bottom: 1px solid #e6edf2;
  background: #fbfcfd;
  font-size: 11px;
}
.utility-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-links {
  display: flex;
  gap: 24px;
}
.utility-links a:hover {
  color: var(--cyan);
}
.site-header {
  background: white;
}
.brand-row {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 5px;
}
.brand-mark svg {
  width: 22px;
}
.brand-name {
  margin-left: 10px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 800;
}
.brand-tagline {
  margin-left: 14px;
  padding-left: 14px;
  color: #8493a0;
  border-left: 1px solid var(--line);
  font-size: 11px;
}
.search {
  width: 410px;
  height: 42px;
  margin-left: auto;
  display: flex;
  align-items: center;
  border: 1px solid #dce6ee;
  border-radius: 22px;
  overflow: hidden;
  background: #f8fafc;
}
.search > svg {
  width: 17px;
  margin-left: 16px;
  color: #9aabba;
}
.search input {
  min-width: 0;
  flex: 1;
  padding: 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
}
.search button {
  align-self: stretch;
  width: 78px;
  border: 0;
  color: #17283a;
  background: var(--orange);
  font-weight: 700;
}
.menu-button {
  display: none;
}
.main-nav {
  border-block: 1px solid #e6edf2;
  background: white;
}
.nav-inner {
  height: 50px;
  display: flex;
  align-items: stretch;
  gap: 39px;
}
.nav-inner a {
  position: relative;
  display: grid;
  place-items: center;
  color: #33485b;
  font-weight: 700;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--blue);
}
.nav-inner a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--orange);
}
.site-footer {
  padding: 38px 0;
  color: #bdcad4;
  background: var(--footer);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.footer-brand {
  color: white;
}
.footer-brand .brand-mark {
  background: var(--blue);
}
.footer-grid > div > p {
  margin: 7px 0 0;
  color: #8192a0;
  font-size: 11px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 21px;
  font-size: 12px;
}
.footer-links a:hover {
  color: white;
}
.copyright {
  margin: 0;
  color: #778b9c;
  font-size: 10px;
  text-align: right;
}

/* Keep domain logos proportional, with a light surface in the dark footer. */
.brand {
  min-width: 0;
  text-decoration: none;
}
.brand .site-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}
.brand .brand-name {
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.footer-brand {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  background: #fff;
}
.footer-brand .site-logo {
  height: 38px;
  max-width: 180px;
}
.footer-brand .brand-name {
  color: var(--heading);
  font-size: 20px;
}
@media (max-width: 760px) {
  .brand .site-logo {
    height: 38px;
    max-width: 180px;
  }
  .footer-brand {
    padding: 8px 12px;
  }
  .footer-brand .site-logo {
    height: 32px;
    max-width: 160px;
  }
}

@media (max-width: 760px) {
  .utility-bar, .search { display: none; }
  .brand-row { height: 66px; }
  .brand-name { font-size: 20px; }
  .menu-button {
    margin-left: auto; width: 40px; height: 40px;
    display: grid; place-items: center;
    color: var(--heading); border: 1px solid var(--line); background: white;
  }
  .main-nav {
    position: absolute; z-index: 20; top: 66px; right: 0; left: 0;
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .nav-inner { width: 100%; height: auto; display: grid; gap: 0; }
  .nav-inner a { min-height: 47px; border-top: 1px solid #edf2f5; }
  .nav-inner a.active::after {
    top: 10px; right: auto; bottom: 10px; left: 0; width: 3px; height: auto;
  }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  .copyright { text-align: center; }
}
