/* Keep the brand icon and wordmark visible together at every header breakpoint. */
.header-main-inner > .logo {
  flex: 0 0 auto !important; width: max-content !important; max-width: calc(100% - 16px) !important;
  min-width: 0 !important; gap: 7px !important; white-space: nowrap !important;
}
.header-main-inner > .logo .logo-icon { width: 38px !important; height: 38px !important; flex: 0 0 38px !important; }
#header .header-main-inner > .logo .logo-text,
#header .header-main-inner > .logo .logo-name {
  flex: 0 0 auto !important; min-width: 0 !important; display: block !important; visibility: visible !important;
  opacity: 1 !important; white-space: nowrap !important;
}
#header .header-main-inner > .logo .logo-name { font-size: 18px !important; line-height: 1 !important; letter-spacing: 0 !important; text-transform: none !important; }
@media (max-width: 390px) {
  #header .header-main-inner { grid-template-columns: 62px minmax(0, 1fr) 62px !important; }
  #header .header-main-inner > .logo { gap: 5px !important; }
  #header .header-main-inner > .logo .logo-icon { width: 29px !important; height: 29px !important; flex-basis: 29px !important; }
  #header .header-main-inner > .logo .logo-name { font-size: 13px !important; }
}

@media (max-width: 390px) {
  #header #searchToggle { transform: translateX(-6px); }
  #header #accountBtn { transform: translateX(6px); }
}

@media (max-width: 390px) {
  #header .header-main-inner .header-btn svg,
  #header .header-main-inner .mobile-menu-btn svg { width: 20px !important; height: 20px !important; }
}
