.header,
.header-inner,
.mobile-header {
  max-width: 100vw;
  box-sizing: border-box;
}
.logo {
  flex-shrink: 0;
  min-width: 0;
}
.header {
  width: 100%;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  height: 65px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
}
.logo {
  display: block;
  height: 35px;
  width: auto;
  position: relative;
  border-radius: 4px;
}
.logo-image,
.logo img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.logo-placeholder {
  height: 100%;
  min-width: 120px;
  background: #D7D7D7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
}
.mobile-header {
  display: none;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--c-bg);
  justify-content: flex-start;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
}
.mobile-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 32px;
}
.mobile-logo .logo-image {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.mobile-logo .logo-placeholder {
  height: 32px;
  padding: 0 16px;
  background: var(--c-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  .mobile-header {
    display: none !important;
  }
  .desktop-nav {
    display: flex;
    width: 100%;
  }
  .header {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
@media only screen and (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
  .mobile-header {
    display: flex !important;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
  }
}
@media only screen and (max-width: 320px) {
  .mobile-logo {
    height: 28px;
  }
  .mobile-logo .logo-image {
    height: 28px;
    max-width: 130px;
  }
  .mobile-logo .logo-placeholder {
    height: 28px;
    font-size: 13px;
    padding: 0 12px;
  }
}
