:root {
  --navy: #102d6f;
  --blue: #214dbc;
  --sky: #4f79d2;
  --red: #dc5a38;
  --ink: #24344f;
  --muted: #5d6b7d;
  --line: #c8d0dc;
  --pale: #edf1f7;
}

.site-shell { overflow: hidden; }
.site-header { grid-template-rows: 76px 46px; }
.logo-brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; height: 62px; }
.brand-symbol,
.brand-wordmark-image { position: relative; display: block !important; flex: none; overflow: hidden; }
.brand-symbol { width: 70px; height: 48px; }
.brand-symbol img { position: absolute; top: 0; left: -31px; display: block; width: 130px; max-width: none; height: auto; }
.brand-wordmark-image { width: 150px; height: 44px; }
.brand-wordmark-image img { position: absolute; top: -64px; left: 0; display: block; width: 150px; max-width: none; height: auto; }
.logo-brand-footer {
  width: max-content;
  height: auto;
  max-width: 100%;
  padding: 0;
  background: #fff;
  box-shadow: none;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
.product-card[hidden] { display: none !important; }
.product-grid.is-filtered { grid-template-columns: repeat(auto-fit,minmax(min(100%,480px),1fr)); gap: 16px; border: 0; background: transparent; }
.product-grid.is-filtered .product-card { border: 1px solid var(--line); }
.language-switch { gap: 7px; padding: 0 6px !important; border-right: 0 !important; }
.language-switch button {
  min-width: 34px;
  padding: 5px 7px;
  border: 0;
  color: #c7d5e4;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.language-switch button:hover,
.language-switch button.active { color: #102d6f; background: #fff; }
.language-switch i { color: rgba(255,255,255,.32); font-style: normal; }
.hero { background-image: linear-gradient(90deg,rgba(9,30,82,.97),rgba(24,57,135,.84) 47%,rgba(11,38,96,.35)),url('images/hero-lab-v2.jpg'); }
.page-hero { background: linear-gradient(100deg,#102d6f,#214dbc); }
.main-nav a:hover,.main-nav a.active { background: #dc5a38; }
body[data-language="en"] .hero h1 { max-width: 780px; font-size: clamp(38px,4.2vw,63px); }
body[data-language="en"] .page-hero h1 { letter-spacing: -.02em; }

@media (max-width: 720px) {
  .site-header { grid-template-rows: 72px; }
  .logo-brand { gap: 9px; height: 60px; }
  .brand-symbol { width: 56px; height: 39px; }
  .brand-symbol img { left: -25px; width: 104px; }
  .brand-wordmark-image { width: 125px; height: 37px; }
  .brand-wordmark-image img { top: -53px; width: 125px; }
  .main-nav { top: 106px; }
  .language-switch { display: flex !important; }
  body[data-language="zh"] .hero h1 { font-size: 32px; line-height: 1.16; }
}

@media (max-width: 380px) {
  .brand-wordmark-image { width: 108px; }
  .brand-wordmark-image img { top: -46px; width: 108px; }
  .brand-symbol { width: 49px; height: 34px; }
  .brand-symbol img { left: -22px; width: 91px; }
  .logo-brand { gap: 7px; }
  body[data-language="zh"] .hero h1 { font-size: 30px; }
}
