/* ==========================================================================
   header_footer.css
   说明：本文件提取自原网站 template/pc/skin/css/style.css
   内容：header.htm 与 footer.htm 所用到的全部样式
        （基础布局/重置样式、Header 导航、Footer、浮动客服、弹出层、
          语言切换，以及所有相关的 @media 响应式查询）
   原始样式代码未做任何修改，仅按区块归类整理。
   提取日期：2026-09-02
   ========================================================================== */


/* ==========================================================================
   一、基础样式 / 重置样式（header 与 footer 共用）
   ========================================================================== */
@font-face {
    font-family: 'HarmonyOS Sans';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url('../fonts/harmonyos_sans.woff') format('woff');
}
body{
    font-family:"'Microsoft YaHei'",Helvetica Neue,sans-serif,Arial;height: 100%;position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input[type="text"] {-webkit-appearance:none;}
textarea {-webkit-appearance:none;}
h1,h2,h3,h4,h5,h6,figure {font-weight:400;}
::-webkit-selection {color:#fff;background:#179B92;}
::-moz-selection {color:#fff;background:#179B92;}
::selection {color:#fff;background:#179B92;}
.text-lowercase {text-transform:lowercase;}
.text-uppercase,.initialism {text-transform:uppercase;}
.text-capitalize {text-transform:capitalize;}
a {color:#6E6E6E;text-decoration:none}
a:focus,a:hover {color:#179B92;transition:none}
a.text-gray:hover{color:#6E6E6E}
p{margin:0}
dl,dd,ul,li {margin:0;padding:0;list-style:none}


/* ==========================================================================
   二、基础布局：.container（header/footer 通用容器）
   ========================================================================== */
.container {
      width: 100%;
    padding: 0 clamp(20px, 5vw, 120px);
    margin: 0 auto;
}
.container::after {
    content: "";
    display: table;
    clear: both;
}
/* 手机端样式 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
        max-width: 100%;
    }
}


/* ==========================================================================
   三、Header 导航样式
   ========================================================================== */
/*导航*/
.header-container{
    position: relative;
    z-index: 1;
    background: #ffffff;
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
}
.header-logo{

    justify-content: center; /* 使 header 内容居中 */
    position: relative;
    z-index: 1;

}
.header-logo img{
    width: clamp(260px, 22vw, 400px);
    margin-top: 16px;
}
/* 顶部工具栏 */
.header-topbar {
    background: #ffffff;
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    position: relative; z-index: 3;
}
.header-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    height: 100%;
}
.topbar-right {
    gap: 10px;
}
@media (max-width: 768px) {
    .header-topbar {
        display: none;
    }
}

/* 400 电话（顶栏 teal 胶囊） */
.call-button {
    display: inline-flex;
    align-items: center;
}
.call-button a{
    height: 34px;
    line-height: 34px;
    color: #ffffff;
    font-size: 14px;
    background: #179B92;
    text-align: left;
    width: auto;
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    border-radius: 17px;
    transition: all 0.3s ease;
    border: 1px solid #179B92;
    padding: 0 18px 0 14px;
    text-decoration: none;
    white-space: nowrap;
}
.call-button a em {
    font-size: 20px;
    margin-right: 14px;
    font-style: normal;
}
.call-button span {
    display: inline-block;
    line-height: 34px;
}
.call-button a:hover{
    color: #179B92;
    background: #ffffff;
    border-color: #179B92;
}
/*导航*/
nav {
    /*background: #333;*/
    padding: 0 20px;
    /*font-family: 'HarmonyOS Sans', sans-serif;*/
    font-variation-settings: 'wght' 400; /* 变量字体控制字重 */
    font-size: 18px;
    position: relative; /* 确保 header 内的元素定位正确 */
    z-index: 1; /* 确保 header 在 banner 之下 */
    margin: auto;
}
.header-container nav{
        margin-left: 40px;
    margin-right: 0;
}
/* 让内页 container / 首页 nav 紧跟 logo，不要居中在右侧大空间里 */

.nav-menu {
    display: flex;
    flex-wrap: nowrap;        /* 新增，强制不换行 */
    min-width: 0;            /* 新增，允许 flex 子项正确收缩 */
    list-style: none;
    justify-content: space-around;
    height: 66px;
}

.nav-item {
    position: relative;
    padding: 0 clamp(16px, 2vw, 40px);
}
.nav-item .nav-z {
    display: block;
    color:  #4A4A4A;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
     font-size: clamp(13px, 0.85vw, 18px);
}
.nav-item .nav-z:hover{
    color: #000000; /* 字体颜色变为纯黑 */
    font-weight:500; /* 字体加粗 */
    background-size: 200% 100%;
    background-position: 100% 0;
}
.nav-item .nav-z::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #179B92;
    transition: width 0.5s ease, left 0.5s ease;
}
.nav-item .active::before {
    content: '';
    position: absolute;
    /*left: 50%;*/
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #179B92;
    transition: width 0.5s ease, left 0.5s ease;
}
.nav-item .nav-z:hover::after {
    width: 100%;
    left: 0;
}

/* 新增下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%; /* 将下拉菜单相对于父元素居中 */
    transform: translateX(-50%); /* 通过 transform 微调位置 */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 240px;

}
.nav-item:nth-child(5):hover .dropdown-menu{
    display: none;
}
.nav-item:hover .dropdown-menu {
    display: block;
}


.dropdown-menu a {
    display: block;
    padding: 15px 0;
    color: #4A4A4A;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 15px;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: #F9F9F9;
    color: #179B92;
    font-weight: 500;
}

/* 三级菜单：二级栏目 hover 展开产品详情页 */
/* 有二级栏目时，隐藏一级栏目直接产品，只显示二级栏目 */
.dropdown-menu:has(.has-sub) > li:not(.has-sub) {
    display: none;
}
.dropdown-menu li.has-sub {
    position: relative;
}
.dropdown-menu li.has-sub > a {
    position: relative;
    padding-right: 30px;
}
.dropdown-menu .sub-dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.dropdown-menu li.has-sub:hover > .sub-dropdown-menu {
    display: block;
}
.dropdown-menu .sub-dropdown-menu a {
    padding: 12px 20px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}
/* 有子栏目的二级项右侧加箭头 */
.dropdown-menu li.has-sub > a::after {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
}



/* 手机端样式 */
.m_header{
    display: none;
}
.sjj_nav{
    display: none;
}
@media (max-width: 768px) {
    .header-container {
        display: none;
    }
    .m_header{display: block;height:50px;overflow:hidden;background:#fff;position:fixed;z-index:10;width:100%;}
    .m_logo{padding:10px;float:left;height:50px;}
    .m_logo img{margin:auto;max-height:25px;width: 150px;}}
.m_lange{
    float: left;
    margin-left: 60px;
    margin-top:10px
}
.m_nav{width:50px;float:right;position:relative;cursor:pointer;height:30px;margin-top:15px}
.m_nav span{display:block;background:#179B92;width:30px;height:2px;position:absolute;left:10px;transition:all ease 0.35s}
.m_nav span:nth-of-type(1){top:0px}
.m_nav span:nth-of-type(2){top:10px}
.m_nav span:nth-of-type(3){top:20px}
.m_nav_se span:nth-of-type(1){top:10px;transform:rotate(45deg)}
.m_nav_se span:nth-of-type(2){width:0}
.m_nav_se span:nth-of-type(3){top:10px;transform:rotate(-45deg)}
.sjj_nav{display: block; position:fixed;z-index:9;background:rgb(0 150 136 / 95%);width:100%;height:calc(100% - 104px);font-size:14px;line-height:40px;top:-100%;left:0;overflow:auto;overflow-x:hidden;transition:top ease 0.35s;}
.nav_show{top:50px}
.sjj_nav ul li i{position:absolute;top:5px;right:0px;border-left:1px #ddd solid;height:30px;padding:0px 7px 0 7px;}
.sjj_nav ul li i svg{transform:rotate(-90deg);transition:all ease 0.35s}
.sjj_nav ul li .sjj_nav_i_se svg{transform:rotate(0deg)}
.sjj_nav ul li{border-top:1px #ddd solid;margin-left:20px;position:relative;line-height:40px;font-size:14px}
.sjj_nav ul li:nth-child(4) i,.sjj_nav ul li:nth-child(5) i{
    display: none;
}
.sjj_nav>ul >li:last-child{border-bottom:1px #ddd solid;}
.sjj_nav ul li ul{display:none}
.sjj_nav ul li a{color:#ffffff;}
.sjj_nav ul li ul li a{color:#ffffff;display:block;text-align:left;}
.sjj_nav ul li i svg{width:20px;height:20px;fill:#ffffff;}
.sjj_nav ul li .sjj_nav_i_se svg{fill:#ffffff;}
.sjj_nav ul li ul li>ul{margin-left:10px}
/* 手机端：有二级栏目时隐藏一级直接产品（只匹配二级 ul，不影响顶级 ul） */
.sjj_nav > ul > li > ul:has(.has-sub) > li:not(.has-sub) {
    display: none;
}
/* 手机端三级菜单默认折叠（覆盖 ul li ul 的 display:none 即可，展开靠 JS slideToggle） */
.sjj_nav .has-sub > a {
    position: relative;
    padding-right: 30px;
}
.sjj_nav .has-sub > a::after {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #fff;
}


/* ==========================================================================
   四、Footer 样式
   ========================================================================== */
/*footer*/
footer {
    background-color: #f8f9fa;
    padding-top: 40px;
    /* margin-top: 60px; */
    /*border-top: 1px solid #e9ecef;*/
    width: 100%;
    min-width: 1200px;
}

footer h5 {
    color: #179B92;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #6E6E6E;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #179B92;
    text-decoration: underline;
}

footer .container {
    max-width: 1200px;
    padding: 0;
}

footer .row {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
}
footer .row .col-md-6{
    width: 40%;
}
footer .row .col-md-6:nth-child(3){
    text-align: right;
}
footer .row p{
    color: #6E6E6E;
    font-size: 14px;
}
footer .row i{
    /*color: #6E6E6E;*/
    padding-right: 10px;
}
footer .col-md-3 {
    max-width: 23%;
}
.translated-to-en footer .col-md-3 {
    max-width: 33%;
}
footer .footer-er{
}
footer .footer-er h5{
    text-align: center;
    color: #179B92;
    font-size: 26px;
    font-weight: 500;
    padding-bottom: 50px;
    padding-top: 50px;
}
footer .footer-er .footer-r{
    display: flex;
    justify-content: space-evenly;
}
footer .footer-er .footer-r img{
    width: 150px;
    height: 150px;
}
footer .footer-er .footer-r p{
    text-align: center;
    font-size: 14px;
    padding-top: 10px;
}
footer .text-center{
    width: 100%;
    margin: auto;
    background: #2e2e2e;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
footer .text-center p{
    color: #ffffff;
    font-size: 16px;
}
footer .text-center a{
    color: #ffffff;
}
.mobile-footer{
    display: none;
}
@media (max-width: 768px) {
    footer{
        min-width: 100%;
    }
    footer .row {
        flex-direction: column;
    }
    footer .container {
        max-width: 100%;
    }
    footer .row:nth-child(1){
        display: none;
    }
    /*.footer-er{*/
    /*    display: none;*/
    /*}*/
    footer .footer-er .footer-r {
        display: flex;
        justify-content: space-around;
    }
    footer .footer-er .footer-r img {
        width: 150px;
        height: 150px;
    }
    footer .row .col-md-6{
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    footer .row .col-md-6:nth-child(3) {
        text-align:left;
    }
    footer .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    footer .text-center {
        padding-bottom: 80px;
    }
    footer .text-center p {
        color: #ffffff;
        font-size: 14px;
    }
    /* 移动端底部导航栏样式 */
    .mobile-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .footer-item {
        flex: 1;
        text-align: center;
    }

    .footer-item a {
        text-decoration: none;
        color: #4A4A4A;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-item a i {
        font-size: 24px;
        color: #179B92;
    }

    .footer-item a span {
        font-size: 12px;
        margin-top: 5px;
        color: #179B92;
    }

    /* 选中状态样式 */
    .footer-item a.active {
        color: #179B92;
    }

    /* 响应式调整 */
    @media (max-width: 320px) {
        .footer-item a i {
            font-size: 20px;
        }

        .footer-item a span {
            font-size: 10px;
        }
    }
}


/* ==========================================================================
   五、浮动客服样式
   ========================================================================== */
/*客服*/
.floating_ck{position:fixed;right:20px;top:30%;z-index: 2;}
.floating_ck dl dd{
    position:relative;
    width:70px;
    height:70px;
    background-color: #179B92;
    text-align:center;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center 30%;
    cursor: pointer;
    margin-bottom: 10px;
}
.floating_ck dl dd:hover{
    /*background-color:#e40231;*/
}
.floating_ck dl dd:hover .floating_left{display:block;}
.consult{background-image:url(../images/ico-tel.png);
    background-size: 25px 25px;
}
.words{background-image:url(../images/ico-cy.png);
    background-size: 25px 25px;
}
.quote{
    background-image:url(../images/ico-kf.png);
    background-size: 25px 25px;
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #179B92;
    text-align: center;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center 30%;
    cursor: pointer;
    margin-bottom: 10px;
    display: block;
}
.quote span {
    color: #fff;
    line-height: 105px;
    font-size: 12px;
}
.qrcord{background-image:url(../images/ico-sys.png);
    background-size: 25px 25px;}
.return{background-image:url(../images/ico-top.png);
    background-size: 25px 25px;}
.floating_ck dd span{
    color:#fff;
    line-height: 105px;
    font-size: 12px;
}
.floating_ck dd .clos{
    color:#fff;
    line-height: 120px;
    font-size: 12px;
}
.floating_left{
    position:absolute;
    left:-300px;
    top:0;
    width:280px;
    height:80px;
    background: #ffffff;
    border-radius: 10px;
    /*background-color:#0000cc;*/
    z-index: 999999;
    display:none;
}
.floating_left a{color:#000;line-height:80px;}
/*.floating_ck dd a{color:#fff;display:block;padding-top:54px;}*/
.floating_ewm{height:260px;top:-180px;}
.floating_ewm img{
    width: 150px;
    margin-top: 30px;
}
.floating_ewm p{color:#4A4A4A;margin-top:5px;}
.floating_ewm .qrcord_p01{font-size:14px;line-height:20px;}
/*.floating_tel {background: #179B92; }*/
.floating_tel p{color: #4A4A4A;text-align: left;font-size: 16px;margin-top: 10px; margin-left: 20px;}
.floating_tel a{color: #4A4A4A;text-align: left;font-size: 26px; line-height: 40px;font-weight:600;
    display: block;
    width: 100%;
    margin-left: 20px;
}
/* 手机端样式 */
@media (max-width: 768px) {
    .floating_ck{
        display: none;
    }
}


/* ==========================================================================
   六、弹出层样式（含表单元素 label/input/textarea/button）
   ========================================================================== */
/*弹出层*/
.popup-overlay {
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    /*background-color:white;*/
    background: url("../images/popup-overlay.jpg") no-repeat;
    width: 1200px;
    height: 725px;
    padding:20px;
    z-index:1000;
    border-radius: 10px;
}
.popup-overlay .popup-hide{
    float: right;
    font-size: 24px;
    color: #179B92;
    cursor: pointer;
}
.popup-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}
.popup-container .popup-l{
    padding-left: 5%;
    padding-top: 8%;
}
.popup-container .popup-l h1{
    font-size: 36px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 2px;
}
.popup-container .popup-l p{
    font-size: 14px;
    color: #0C0C0C;
    padding-top: 20px;
}
.popup-container .popup-r{
    width: 50%;
    padding-top: 8%;
    padding-right: 5%;
}
label {
    display: inline-block;
    margin-top: 40px;
    width: 100px; /* 设置 label 的宽度 */
    font-size: 14px;
}
input[type="text"],
select,
textarea {
    width: calc(100% - 110px); /* 调整 input 的宽度，使其与 label 平行 */
    padding: 10px;
    margin-top: 5px;
    /*border-radius: 5px;*/
    border: none; /* 去掉边框 */
    background-color: transparent; /* 去掉底色 */
    outline: none; /* 去掉聚焦时的外边框 */
    border-bottom: #3F3F3F 1px solid;
}
textarea{
    margin-top: 40px;
}
button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 60px;
    background-color: #179B92;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}
button:hover {
    background-color: #179B92;
}


/* ==========================================================================
   七、语言切换样式（顶栏内 .lange / .f_na）及 #translate
   ========================================================================== */
#translate{
    display: none;
}
/*语言切换（顶栏内）*/
.lange {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    font-size: 14px;
}
.lange .tit {
    display: flex;
    align-items: center;
    color: #179B92;
    cursor: pointer;
    height: 100%;
    padding: 0 14px;
    gap: 8px;
}
.lange .tit:hover {
    color: #137e77;
    background: rgba(23, 155, 146, 0.06);
}
.lange .tit span {
    margin: 0;
}
.lange .tit i,
.lange .tit b {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lange .tit i img,
.lange .tit b img,
.lange .tit i svg,
.lange .tit b svg {
    width: 100%;
    float: left;
}
.lange .tit i img:nth-child(2),
.lange .tit b img:nth-child(2),
.lange .tit i svg:nth-child(2),
.lange .tit b svg:nth-child(2) {
    display: none;
}
.lange .tit i img path,
.lange .tit b img path,
.lange .tit i svg path,
.lange .tit b svg path {
    fill: #179b92;
}
.lange .tit:hover i svg path,
.lange .tit:hover b svg path {
    fill: #179b92;
}
.lange .tit i {
    width: 16px;
    flex-shrink: 0;
}
.lange .tit b {
    width: 10px;
    flex-shrink: 0;
}
.lange:hover .f_na {
    display: block;
}
.lange .f_na {
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 140px;
    padding: 8px 12px;
    background-color: #179b92;
    z-index: 888;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 10px;
    display: none;
    line-height: 1.4;
}
.lange .f_na a {
    line-height: 36px;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    font-size: 14px;
    white-space: nowrap;
    color: #ffffff;
    text-overflow: ellipsis;
    overflow: hidden;
}
.lange .f_na a:last-child {
    border-bottom: none;
}
.lange .f_na a:hover {
    color: #ffffff;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .lange .f_na {
        left: auto;
        right: 0;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        width: 120px;
    }
    .lange .f_na a {
        font-size: 12px;
        line-height: 32px;
    }
}
