/* 公共页头覆盖各页面旧的定高浮动样式，移除大面积蓝色背景。 */
body .header { height: auto; border-bottom: 1px solid #e7edf3; background: #f8fafc; }
body .header .header-con { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1440px; height: auto; min-height: 36px; padding: 8px 32px; background: transparent; color: #64748b; font: 12px/1.5 Arial, sans-serif; }
.header-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
body .header a { color: #45566a; }
body .header .header-whatsapp { display: inline-flex; align-items: center; gap: 6px; }
.header-whatsapp img { width: 18px; height: 18px; border-radius: 50%; }
body .header a:hover { color: #128c7e; }
body .nav { height: auto; background: #fff; border-bottom: 1px solid #e7edf3; }
body .nav .nav-con { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 1440px; height: auto; min-height: 84px; padding: 12px 32px; }
body .nav h1 { float: none; width: 136px; line-height: normal; margin: 0; flex-shrink: 0; }
body .nav h1 img { width: 136px; height: auto; }
body .nav .daohang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; float: none; height: auto; line-height: 40px; margin: 0; flex: 1; }
body .nav .daohang .li, body .nav .daohang .li a { float: none; height: auto; margin: 0; font: bold 13px/40px Arial, sans-serif; color: #253b50; }
body .nav .daohang .li:hover { border-bottom-color: #128c7e; }
body .nav .sousuo { float: none; margin: 0; flex-shrink: 0; border-color: #dbe4ed; background: #f8fafc; }
body .nav .sousuo input { background: transparent; min-width: 0; }
@media (max-width: 800px) {
    body .header .header-con, body .nav .nav-con { padding-left: 20px; padding-right: 20px; }
    body .header .header-caption { display: none; }
    .header-contacts { justify-content: space-between; width: 100%; gap: 8px; }
    body .nav .daohang { flex-basis: 100%; order: 3; gap: 0 14px; }
    body .nav .sousuo { margin-left: auto; }
}
@media (max-width: 380px) { body .header .header-con { font-size: 11px; } }

/* 菜单使用统一的按钮尺寸和当前页状态，分类面板不再被旧 li 的 overflow 裁切。 */
body .site-navigation .daohang { gap: 4px; justify-content: center; }
body .site-navigation .daohang .li { border: 0; overflow: visible; }
body .site-navigation .daohang .li > a, .category-toggle { display: block; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font: bold 12px/40px Arial, sans-serif; white-space: nowrap; }
body .site-navigation .daohang .li > a:hover, .category-toggle:hover, body .site-navigation [aria-current="page"], .category-toggle.is-current, .category-toggle[aria-expanded="true"] { background: #edf7f4; color: #128c7e; }
body .site-navigation .daohang .navigation-categories { position: static; }
.navigation-toggle { display: none; }
body .nav .navigation-search { width: 168px; padding: 0 8px; align-items: center; }
.navigation-search button { border: 0; background: transparent; cursor: pointer; padding: 6px; }
body .nav .navigation-search img { width: 18px; height: 18px; margin: 0; }
body .nav .navigation-search input { width: 100%; height: 34px; margin: 0; padding: 0 6px; border: 0; text-indent: 0; font: 12px Arial, sans-serif; }
.navigation-category-panel { position: absolute; z-index: 1100; top: calc(100% - 6px); left: 32px; right: 32px; padding: 26px; border: 1px solid #dfe8ee; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(25, 61, 72, .14); }
.navigation-category-panel[hidden] { display: none; }
.category-panel-heading { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #e8eef3; font: 12px/1.6 Arial, sans-serif; }
.category-panel-heading > span { letter-spacing: 1px; color: #7a8997; }
.category-panel-heading > a { color: #128c7e; }
.navigation-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.navigation-category-grid h2 { font: bold 15px/1.5 Arial, sans-serif; margin-bottom: 8px; }
.navigation-category-grid h2 a { color: #243b50; }
.navigation-category-grid li a { display: block; padding: 6px 0; color: #65788a; font: 13px/1.5 Arial, sans-serif; }
.navigation-category-grid a:hover { color: #128c7e; }
.site-navigation a:focus-visible, .site-navigation button:focus-visible { outline: 3px solid #80cabb; outline-offset: 2px; }
/* 各页面共用深色页脚，替代亮蓝色背景及定高布局。 */
body .footer { height: auto; background: #193d48; color: #c1d3d9; font: 13px/1.7 Arial, sans-serif; padding: 0; }
body .footer .footer-con { display: block; max-width: 1440px; width: 100%; padding: 32px; margin: 0 auto; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand img { width: 136px; height: 37px; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-links h2 { font-size: 13px; color: #fff; margin-bottom: 10px; }
.footer-links a { display: block; color: #c1d3d9; padding: 3px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #365560; margin-top: 24px; padding-top: 18px; font-size: 11px; }
@media (max-width: 1150px) and (min-width: 801px) {
    body .site-navigation .daohang { order: 3; flex-basis: 100%; justify-content: flex-start; }
    body .nav .navigation-search { margin-left: auto; }
}
@media (max-width: 800px) {
    .navigation-toggle { display: flex; align-items: center; gap: 10px; margin-left: auto; background: #edf7f4; color: #128c7e; padding: 10px 14px; border: 0; border-radius: 7px; font: bold 13px Arial, sans-serif; cursor: pointer; }
    body .site-navigation .daohang { display: none; flex-direction: column; align-items: stretch; order: 4; width: 100%; }
    body .site-navigation.menu-open .daohang { display: flex; }
    body .nav .navigation-search { width: 100%; order: 3; margin: 0; }
    .navigation-category-panel { position: static; padding: 18px; margin-top: 8px; box-shadow: none; }
    .navigation-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .category-panel-heading { flex-direction: column; gap: 8px; }
    body .footer .footer-con { padding: 28px 20px; }
}
@media (max-width: 480px) { .navigation-category-grid { grid-template-columns: minmax(0, 1fr); } }
