.materials-site, .keyuan-site {
  --product-header-height: var(--mat-header-height, var(--ky-header-height));
  --product-bar-height: 3.25rem;
}
.product-category-bar {
  position: sticky;
  top: var(--product-header-height);
  z-index: 14;
  background: #fff;
  box-shadow: 0 1px #d6e2eb;
}
.product-category-bar [data-product-strip] {
  display: flex;
  height: var(--product-bar-height);
  gap: clamp(20px, 3vw, 46px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.product-category-bar [data-product-strip] a {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 3px 1px 0;
  border-bottom: 3px solid transparent;
  color: #344f65;
  font-size: 16px;
  white-space: nowrap;
}
.product-category-bar [data-product-strip] a[aria-current] {
  border-color: currentColor;
  color: #0e5e9d;
  font-weight: 650;
}
.product-category-bar [data-product-strip] a:hover { color: #0e5e9d; }
.product-category-bar [data-product-strip] a:focus-visible {
  outline: 2px solid #0e5e9d;
  outline-offset: -2px;
}
html:has(.product-category-bar) { scroll-padding-top: 0; }
.product-category-bar + #catalog {
  scroll-margin-top: calc(var(--product-header-height) + var(--product-bar-height));
}
.product-category-bar ~ section[id]:not(#catalog),
.product-category-bar ~ section [id] {
  scroll-margin-top: calc(var(--product-header-height) + var(--product-bar-height) + 6px);
}
@media (max-width: 840px) {
  .materials-site, .keyuan-site { --product-bar-height: 3rem; }
  .product-category-bar [data-product-strip] { gap: 18px; }
  .product-category-bar [data-product-strip] a { font-size: 15px; }
}
