/* Shared header: keep category navigation within its own scrollable row. */
.site-header .header-inner {
  flex-wrap: wrap;
  height: auto;
  min-width: 0;
  padding-top: 12px;
  padding-bottom: 10px;
  gap: 10px 16px;
}
.site-header .site-logo {
  min-width: 0;
  max-width: 100%;
}
.site-header .site-logo small {
  white-space: normal;
  overflow-wrap: anywhere;
}
.site-header .header-search {
  min-width: 0;
}
.site-header .header-search input {
  min-width: 0;
  width: 100%;
}
.site-header .header-nav {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}
.site-header .header-nav a {
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .site-header .header-search {
    order: 2;
    flex: 0 0 100%;
    max-width: none;
  }
}
