/* ==========================================================================
   上海一恒 · 艾科仪器 页头配色（全站统一）
   雾蓝底 #e8f0f9 / 深色文字 / 品牌蓝 #1761d5 点缀
   ========================================================================== */

/* 顶栏：深钢蓝底 + 浅色文字 */
.topbar {
  background: #2f5f88;
  border-bottom: 1px solid #27506f;
  color: #d6e4f0;
}
.topbar a { color: #fff; }
.topbar a:hover { color: #bfe3ff; }

/* 页头：雾蓝底 + 深色字 */
.site-header {
  background: #e8f0f9;
  border-bottom: 1px solid #d2e0ee;
  box-shadow: 0 8px 24px rgba(23,97,213,.06);
}

/* 内页 body 带 site-interior，需要同优先级覆盖站点通用白底规则 */
.site-interior .topbar {
  background: #2f5f88 !important;
  border-bottom-color: #27506f;
  color: #d6e4f0;
}
.site-interior .site-header {
  background: #e8f0f9 !important;
  border-bottom-color: #d2e0ee;
  box-shadow: 0 8px 24px rgba(23,97,213,.06);
}

/* 面包屑并入页面底色，避免页头/面包屑/正文形成多条近似色带 */
.site-interior .breadcrumb-section {
  background: #f5f8fc !important;
  border-bottom: 0;
}

/* Logo：保留品牌蓝标记，字标回到深墨色 */
.site-header .aike-logo-lockup svg { fill: #1761d5 !important; }
.site-header .aike-logo-lockup > span { color: #182b43 !important; }
.site-header .aike-logo-lockup > span > span:last-child { color: #7f93a7 !important; }
.site-header .brand-caption {
  color: #7a8fa3;
  border-left-color: #cfddec;
}
.site-header .brand-caption small { color: #93a5b6; }

/* 导航 */
.navigation > a,
.nav-products > summary { color: #3a5065; }
.navigation > a:hover,
.navigation > a.active,
.nav-products > summary:hover,
.nav-products[open] > summary { color: #1761d5; }
.navigation .active:after { background: #1761d5; }
.nav-products > summary:after { border-color: currentColor; }

/* 页头搜索框：白底，与雾蓝页头分层 */
.header-product-search {
  border-color: #cdddec;
  background: #fff;
}
.header-product-search input[type=search] { color: #182b43; }
.header-product-search input[type=search]::placeholder { color: #93a6b8; }
.header-product-search button { color: #1761d5; }
.header-product-search button:hover { background: #eaf2fb; }

/* 手机端菜单按钮 */
.menu-toggle {
  background: #fff;
  border-color: #cdddec;
  color: #33485c;
}

/* 手机端展开的导航面板：白底深字，保持清爽 */
@media (max-width: 800px) {
  .navigation {
    background: #fff;
    border-top: 1px solid #d8e4f0;
    box-shadow: 0 20px 40px rgba(23,97,213,.12);
  }
  .navigation > a,
  .nav-products > summary { color: #3a5065; }
  .navigation > a.active,
  .navigation > a:hover,
  .nav-products[open] > summary { color: #1761d5; }
  .navigation .active:after { background: #1761d5; }
}

/* 窄屏下隐藏页头搜索，保证菜单按钮可见（正文搜索区仍保留） */
@media (max-width: 540px) {
  .header-product-search { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
}
