/* 中英切换：由 html[data-site-lang] 控制显示 */
html[data-site-lang="zh"] .lang-en,
html[data-site-lang="zh-CN"] .lang-en {
    display: none !important;
}
html[data-site-lang="en"] .lang-zh {
    display: none !important;
}
html:not([data-site-lang]) .lang-en {
    display: none !important;
}

/* 顶栏导航 .z_header_nav 为 width:100% 的绝对定位层，会挡住后面的语言按钮，必须抬高可点层级 */
.z_header .z_lang_switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 12;
}
.z_header .z_menu_btn {
    position: relative;
    z-index: 13;
}
.z_lang_btn {
    border: 1px solid rgba(49, 112, 48, 0.4);
    background: rgba(255, 255, 255, 0.92);
    color: #317030;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.2;
    font-family: system-ui, "Microsoft YaHei", sans-serif;
}
.z_lang_btn:hover {
    background: #eef6ee;
}
.z_lang_btn.is-active {
    background: #317030;
    color: #fff;
    border-color: #317030;
}
@media (max-width: 980px) {
    .z_header .z_lang_switch {
        margin-left: auto;
        margin-right: 6px;
    }
    .z_lang_btn {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* 全球客户分布：仅放大内部图层，避免整块 transform 导致布局错位 */
@media (min-width: 981px) {
    .z_index_ecology {
        overflow: hidden;
    }
    .z_index_ecology .warp {
        transform: none;
        margin-top: 0;
    }
    .z_index_ecology .slgbox > img {
        width: 72%;
        max-width: none;
    }
}

/* 产品系列点击修复：保证右侧系列导航不被轮播大图遮挡 */
.z_index_pro .z_series_nav {
    position: absolute;
    z-index: 20;
}
.z_index_pro .z_series_nav .item,
.z_index_pro .z_series_nav .item * {
    pointer-events: auto;
}
.z_index_pro .z_series_swiper,
.z_index_pro .z_series_swiper .frbox {
    position: relative;
    z-index: 5;
}
