/* G2U compact header logo — CSS only, no artwork replacement.
   Scoped to the main header; order/product graphics and footer stay unchanged. */
.topbar .topbar-in > a.logo,
.topbar .topbar-in > .logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 8px !important;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
/* The existing icon is the accent, not larger than the G2U wordmark. */
.topbar .topbar-in > .logo > .logo-mark {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: visible;
}
.topbar .topbar-in > .logo > .logo-mark > svg,
.topbar .topbar-in > .logo > .logo-mark > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Supports a standalone icon image and a second wordmark image too. */
.topbar .topbar-in > .logo > img:first-child:not(:only-child) {
  display: block;
  height: 31px !important;
  width: auto !important;
  max-width: 36px;
  object-fit: contain;
  flex: none;
}
.topbar .topbar-in > .logo > img:nth-child(2) {
  display: block;
  height: 35px !important;
  width: auto !important;
  max-width: 150px;
  object-fit: contain;
  flex: none;
}
/* Text wordmark fallback, retaining its own current typography/colors. */
.topbar .topbar-in > .logo > span:not(.logo-mark) {
  display: inline-block;
  line-height: 1;
}
@media (max-width: 767px) {
  .topbar .topbar-in > .logo { gap: 6px !important; }
  .topbar .topbar-in > .logo > .logo-mark {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px;
  }
  .topbar .topbar-in > .logo > img:first-child:not(:only-child) {
    height: 27px !important;
    max-width: 32px;
  }
  .topbar .topbar-in > .logo > img:nth-child(2) {
    height: 31px !important;
    max-width: 128px;
  }
}
