@charset "utf-8";
/* ============================================================
   陕西中恒钛航 — 二级页补丁样式  ny-fix.css  v14
   ------------------------------------------------------------
   ★ 上传位置：/css2/ny-fix.css
   ★ 由 css2/base.css 最后 @import，二级页自动生效，无需每个页面单独引

   ── 本文件解决四个问题 ─────────────────────────────────
   【A】主菜单滚动后，带二级子菜单的项下方出现一根线
        根因：header.css 里 .hd-nav .nav .sec 写了
              border-top: 3px solid transparent;  /* 预留边框 */
              max-height: 0; overflow: hidden;
        ★ 关键：overflow:hidden 只裁剪内容，【不裁剪 border】。
          所以这 3px 的边框永远存在，就贴在菜单项下方。
          未 hover 时 transparent 看不出；进入 is-scroll 状态后
          .sec 背景变成白色 .98，透明边框透出白底 → 出现一根线。
       修法：直接把 border-top 归零，改用不占高度的 ::before 画
             展开时的橙色指示条（只在 hover 时出现）。

   【B】三横杠全菜单整体上提
        原 .hd-allmenu-in padding-top 84px、标题下 26px，
        内容重心偏下。改为 56px / 20px，弹层视觉往上收。

   【C】二级页版权区
        ① 通栏：.footer / .ftb 用 full-bleed 跳出限宽父级
        ② 底色统一：.fta 与 .ftb 同色系，只靠一条细线分隔
        ③ 兜底：模板闭合错位导致 .ftb 跑到 .footer 外时同样生效
        （与 zhth-fix.css 的【B】段一致，这里再写一遍是防止
          二级页只引了 ny-fix.css 而没引 zhth-fix.css）

   【D】联系我们页：去掉右上小图后的布局补位
        原 .lx-info 是「信息网格 + 右上厂区实景图」两栏，
        删掉 .lx-photo 后，.lx-grid 改为独占整行三列，
        .lx-tags 与卡片间距重排，避免右侧留大片空白。
   ============================================================ */


/* ============================================================
   【A】菜单下方那根线 —— 归零
   ============================================================ */
.hd-nav .nav .sec {
    border-top: 0 !important;
}
.hd-nav .nav li:hover .sec,
.hd-nav .nav li.sec-open .sec {
    border-top: 0 !important;
}
.zhth-hd.is-scroll .hd-nav .nav .sec {
    border-top: 0 !important;
}
/* 展开时的橙色指示条：改用 ::before，不占高度、不会产生残留线 */
.hd-nav .nav .sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E67E22;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 2;
    pointer-events: none;
}
.hd-nav .nav li:hover .sec::before {
    opacity: 1;
}
/* 手机端抽屉里的子菜单不需要这条线 */
@media screen and (max-width: 768px) {
    .hd-nav .nav .sec::before { display: none !important; }
}


/* ============================================================
   【B】全菜单弹层整体上提
   ============================================================ */
.hd-allmenu-in {
    padding: 56px 20px 32px !important;
}
.hd-am-head {
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
}
.hd-am-head b {
    font-size: 23px !important;
}
.hd-am-head span {
    margin-top: 6px !important;
}
.hd-am-foot {
    margin-top: 20px !important;
    padding-top: 16px !important;
}
/* 关闭按钮同步上移，与标题对齐 */
.hd-allmenu-close {
    top: 18px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 24px !important;
}
@media screen and (max-width: 1024px) {
    .hd-allmenu-in { padding: 50px 16px 28px !important; }
}
@media screen and (max-width: 768px) {
    .hd-allmenu-in { padding: 46px 14px 24px !important; }
    .hd-allmenu-close { top: 12px !important; width: 38px !important; height: 38px !important; }
}


/* ============================================================
   【C】二级页版权区：通栏 + 底色统一
   ============================================================ */
/* C-1 防止 100vw 多出横向滚动条 */
html { overflow-x: clip; }
body { overflow-x: clip; }
@supports not (overflow: clip) {
    html { overflow-x: hidden; }
    body { overflow-x: hidden; }
}

/* C-2 通栏本体 */
.footer {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: 0;
    max-width: none !important;
    float: none !important;
    clear: both;
    display: block;
    background: #0A2540 !important;
}
.footer .fta,
.footer .ftb {
    width: 100% !important;
    max-width: none !important;
}
.footer .fta {
    background: linear-gradient(180deg, #0A2540 0%, #0d2e4f 100%) !important;
    padding: 36px 0 !important;
}
.footer .ftb {
    background: #0A2540 !important;
    border-top: 1px solid rgba(139, 157, 195, .18) !important;
    padding: 14px 0 !important;
    text-align: center;
}
.footer .fta .wp,
.footer .ftb .wp {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.footer .ftb p  { color: #8B9DC3; }
.footer .ftb a  { color: #8B9DC3 !important; text-decoration: none; }
.footer .ftb a:hover { color: #E67E22 !important; }

/* C-3 兜底：.ftb 跑到 .footer 外面（模板闭合错位）时同样通栏
   ★ v16 修正：原来这里把 `body > .link` 也强制成深蓝，
     导致二级页的「友情链接」被刷成版权区底色（本该白底黑字）。
     友情链接是独立白底区块，与版权区无关，必须排除。 */
body > .ftb {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: #0A2540 !important;
    color: #8B9DC3;
    text-align: center;
    padding: 14px 0;
}
/* ★ v16 新增：友情链接统一白底（防止被任何补丁误染深蓝） */
.link {
    background: #ffffff !important;
    border-bottom: 1px solid #eef0f4 !important;
}
.link .link_c span,
.link .link_c a {
    color: #4A5563 !important;
}
.link .link_c a:hover { color: #E67E22 !important; }
/* C-4 联系我们页自带的简易页脚：与整站版权并存时只保留一个，
       这里把它收敛为整站同款深蓝，避免两段版权色系打架 */
.site-footer {
    background: #0A2540 !important;
    color: #8B9DC3 !important;
    text-align: center;
    padding: 16px 20px !important;
}
.site-footer a { color: #8B9DC3 !important; }
.site-footer a:hover { color: #E67E22 !important; }


/* ============================================================
   【D】联系我们：删除右上厂区实景图后的布局补位
   ------------------------------------------------------------
   ★ 需配合 HTML：删除 <div class="lx-photo">…</div> 整段
   ============================================================ */
.lx-info {
    display: block !important;      /* 取消「左信息 + 右图片」两栏 */
}
.lx-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
.lx-item {
    min-height: 74px;
}
.lx-tags {
    margin-top: 16px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
@media screen and (max-width: 1024px) {
    .lx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media screen and (max-width: 600px) {
    .lx-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   【E】旧客服残留清理 + 底部白条兜底（v15）
   ------------------------------------------------------------
   根因：旧客服栏 <div class="client-2"> 原本靠 kefu.css 的
        position:fixed 固定在右侧；改版后 kefu.css 不再加载，
        它变成【流内块元素】掉到页面最底部，撑出一大片空白（白底）
        —— 这就是「页面最下方一条白色带」的来源。
   修法：CSS 强制隐藏 + 父容器底部留白归零（双保险）
   ============================================================ */
.client-2,
#client-2,
.my-kefu-tel,
.my-kefu-pho,
.my-kefu-qq,
.my-kefu-weixin,
.my-kefu-ftop {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
/* footer 所在父容器底部留白归零，避免 footer 下方露出白底 */
/* ★ v17：排除 body —— 移动端客服底栏需要 body 有 52px 底部内边距，
   若把 body 也归零会导致底栏盖住页脚最后一行 */
*:has(> .footer):not(body) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   【F】客服询价弹层定位（v15 · 双保险）
   ------------------------------------------------------------
   .zx-pop / .zx-mask 原样式写在 index-cp.css（只有首页加载）。
   二级页没有该样式 → 弹层变成【流内块元素】掉到页面最底部，
   撑出约 48px 的白色带 —— 这就是「页面最下方白色光条」。
   这里在整站补丁里再写一份，即便内联 style 丢失也能兜住。
   ============================================================ */
.zx-pop {
    position: fixed !important;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(.94);
    z-index: 3000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(10, 37, 64, .28);
    padding: 22px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity .22s ease, transform .22s ease;
}
.zx-pop.show { display: block !important; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.zx-pop .q { width: 186px; height: 186px; margin: 0 auto 12px; padding: 8px;
    border: 1px solid #E6E9EE; border-radius: 8px; }
.zx-pop .q svg { width: 100%; height: 100%; display: block; }
.zx-pop b { display: block; font-size: 15.5px; color: #0A2540; margin-bottom: 4px; }
.zx-pop p { font-size: 12.5px; color: #8B9DC3; margin: 0 0 12px; line-height: 1.7; }
.zx-pop .cl { height: 34px; padding: 0 22px; border: 1px solid #D8DEE6; border-radius: 17px;
    background: #fff; color: #5A6472; font-size: 13px; cursor: pointer; font-family: inherit; }
.zx-pop .cl:hover { border-color: #0A2540; color: #0A2540; }
.zx-mask { position: fixed !important; inset: 0; background: rgba(10, 37, 64, .45);
    z-index: 2999; display: none; }
.zx-mask.show { display: block !important; }

/* ============================================================
   【G】移动端：隐藏页头「全国服务热线」电话区（v17）
   ------------------------------------------------------------
   需求：手机端三横杠前不要显示电话号码与电话图标，
        只保留 Logo + 搜索 + 三横杠，顶部更干净。
   ============================================================ */
@media screen and (max-width: 768px) {
    .hd-tels,
    .hd-tels-lab,
    .hd-tels-num {
        display: none !important;
    }
    /* 电话隐藏后，右侧工具区贴右对齐，Logo 左侧留白保持 */
    .hd-top-right {
        margin-left: auto;
    }
}

/* ============================================================
   【H】移动端：右侧客服侧改为「底部横向平铺条」（v17）
   ------------------------------------------------------------
   PC   ：右侧竖向悬浮（保持原样）
   手机 ：右侧栏隐藏，改为贴底横向条，图标等分铺满屏宽
         （拇指可达、不遮挡内容，是移动端通行做法）
   ============================================================ */
@media screen and (max-width: 768px) {
    /* 右侧竖向栏：整体隐藏 */
    .zh-asst {
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        transform: none !important;
        z-index: 1200;
    }
    .zh-asst-bar {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: 0 -3px 16px rgba(10, 37, 64, .26) !important;
    }
    .zh-asst-bar ul {
        display: flex !important;
        flex-direction: row !important;
    }
    .zh-asst-bar li {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 52px !important;
        border-bottom: 0 !important;
        border-right: 1px solid rgba(255, 255, 255, .10) !important;
    }
    .zh-asst-bar li:last-child { border-right: 0 !important; }
    .zh-asst-bar li span { display: none !important; }
    .zh-asst-bar li svg { width: 21px !important; height: 21px !important; }
    .zh-asst-bar li.mini { height: 52px !important; }
    /* 移动端精简：隐藏次要项，只留 4~5 个高频入口 */
    .zh-asst-bar li.m-hide { display: none !important; }
    .zh-asst-bar li .tip { display: none !important; }
    /* 底部条占位，避免盖住页脚内容 */
    /* ★ 底部条占位：直接给版权区加底部内边距（页脚本身是深蓝通栏，
       加在它下面视觉上无缝，且不受 body 上其它 !important 规则影响） */
    .footer { padding-bottom: 52px !important;
               padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important; }
    /* 弹层改为底部半屏，更贴合拇指操作 */
    .zh-pop {
        right: 0 !important; left: 0 !important; width: auto !important;
        top: auto !important; bottom: 52px !important;
        max-height: 74vh;
        overflow-y: auto;
        transform: translateY(0) scale(.98) !important;
    }
    .zh-pop.show { transform: translateY(0) scale(1) !important; }
    .zh-links { grid-template-columns: 1fr !important; }
}
