@font-face {
    font-family: pr;
    font-display: swap;
    src: url('../font/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: pb;
    font-display: swap;
    src: url('../font/Poppins-Bold.ttf') format('truetype');
}

ul,
ol {
    list-style: none;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    border: 0;
    display: block;
    max-width: 100%;
    height: auto;
}

.imgCss {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titleH {
    font-size: .42rem;
    font-family: pb;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: .2rem;
    line-height: 1.6;
    color: #000;
}

.msgH {
    font-size: .2rem;
    line-height: 1.8;
    text-align: center;
    color: #333;
    font-family: pr;
}

.main_content {
    width: 100%;
    padding: .92rem 0 .6rem;
}

/* PC端头部导航样式 */
.pc_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.pc_header_container {
    max-width: 14rem;
    margin: 0 auto;
    padding: 0 0.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: .9rem;
    position: relative;
}

.pc_logo {
    position: absolute;
    left: 0.2rem;
    top: 25%;
    width: auto;
    height: .4rem;
}

.pc_logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* pc一级导航菜单 */
.pc_nav_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
}

.pc_primary_nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 2.2rem;
}

.pc_nav_item {
    position: relative;
    padding: 0 .2rem;
}

.pc_nav_link {
    color: #000;
    font-size: .18rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    padding: 0.1rem 0.15rem;
    border-radius: 0.02rem;
    text-transform: capitalize;
}

.pc_nav_link:hover,
.pc_nav_link.active {
    color: #fff;
    background-color: #1364f7;
}

/* PC端Mega Menu样式 */
.pc_has_mega_menu {
    position: static;
}

.mega_menu_trigger {
    color: #000;
    font-size: .18rem;
    font-weight: 500;
    text-transform: capitalize;
    padding: 0.1rem 0.15rem;
    transition: all 0.3s ease;
    font-family: pr;
    border-radius: 0.02rem;
    cursor: pointer;
}

.pc_has_mega_menu:hover .mega_menu_trigger,
.mega_menu_trigger.active {
    color: #fff;
    background-color: #1361fe;
}

.pc_mega_menu {
    position: fixed;
    top: .9rem;
    left: 0;
    width: 100%;
    background: #f5f8fa;
    box-shadow: 0 0.05rem 0.2rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 0.02rem solid #1361fe;
    overflow-y: auto;
    padding: .2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.pc_has_mega_menu:hover .pc_mega_menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 内容区域居中显示，最大宽度14rem */
.mega_menu_container {
    max-width: 15rem;
    margin: 0 auto;
    padding: 0 0.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mega_menu_column {
    padding: .3rem .2rem;
    position: relative;
    border-right: 1px solid #d0d0d0;
}

/* 每行最后一列移除右边框 */
.mega_menu_column:nth-child(3n) {
    border-right: none;
}

/* 第二行及以后的列添加上边框 */
.mega_menu_column:nth-child(n+4) {
    border-top: 1px solid #d0d0d0;
}

/* 图标和产品列表的容器 - 并排显示，基线对齐 */
.mega_menu_item {
    display: flex;
    align-items: flex-start;
    gap: 0.2rem;
    width: 100%;
}

.mega_menu_icon {
    width: .6rem;
    height: .63rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .2rem;
}

.mega_menu_column:last-child .mega_menu_icon {
    width: .8rem;
    height: 1rem;
    margin-top: -.12rem;
}

.mega_menu_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 产品列表区域 */
.mega_menu_content {
    flex: 1;
}

/* 标题左对齐 */
.mega_menu_title {
    font-size: .2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.2rem;
    font-family: pb;
    line-height: 1.4;
    text-align: center;
}

.mega_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mega_menu_list li a {
    color: #666;
    font-size: .18rem;
    padding: 0;
    display: block;
    transition: all 0.3s ease;
    font-family: pr;
    text-align: center;
    text-transform: none;
    line-height: 1.6;
}

.mega_menu_list li a:hover {
    color: #1361fe;
    text-decoration: none;
}

/* 没有上线产品样式 */
.notOnlineA {
    color: #ddd !important;
}

.pc_header_contact {
    height: .6rem;
    line-height: .3rem;
}

.pc_contact_phone {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    color: #000;
    font-size: 0.16rem;
    font-weight: 600;
    font-family: pb;
}

.pc_contact_phone>img {
    width: .28rem;
    height: .28rem;
}

/* 移动端头部导航样式 */
.mobile_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: none;
    z-index: 1000;
    display: none;
    border-bottom: 1px solid #e0e0e0;
}

.mobile_header_container {
    min-height: 1rem;
    padding: 0.15rem 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile_logo {
    width: auto;
    height: .6rem;
    cursor: pointer;
    line-height: .1rem;
}

.mobile_menu_toggle {
    width: .5rem;
    height: .5rem;
    cursor: pointer;
    line-height: .1rem;
}

/* 移动端导航菜单（全屏占满） */
.mobile_nav_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    padding: 0.8rem 0.5rem 0.4rem;
    transition: right 0.3s ease;
    box-shadow: none;
    display: none;
    overflow-y: auto;
    z-index: 1001;
}

.mobile_nav_menu.active {
    right: 0;
    display: flex;
}

.mobile_nav_close {
    position: absolute;
    top: 0.3rem;
    right: 0.35rem;
    width: 0.6rem;
    height: 0.6rem;
    font-size: 0.5rem;
    line-height: 0.6rem;
    text-align: center;
    color: #1361fe;
    cursor: pointer;

}

.mobile_nav_menu ul {
    width: 100%;
}

.mobile_nav_menu>ul>li {
    width: 100%;
    border-bottom: 0.01rem solid #e8e8e8;
    padding: .4rem 0;
}

.mobile_nav_menu>ul>li>a {
    color: #000;
    font-size: .3rem;
    font-weight: 600;
    padding: 0;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    text-transform: capitalize;
    letter-spacing: 0.01rem;
}

.mobile_nav_menu>ul>li>a:hover,
.mobile_nav_menu>ul>li>a.active {
    color: #1361fe;
}

/* yd二级菜单样式 */
.mobile_nav_menu>ul>li.has_submenu {
    position: relative;
}

.mobile_nav_menu>ul>li.has_submenu>span.submenu_toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0;
    cursor: pointer;
    color: #000;
    font-size: .3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: pr;
    text-transform: capitalize;
    letter-spacing: 0.01rem;
}

.mobile_nav_menu>ul>li.has_submenu>span.submenu_toggle:hover {
    color: #1361fe;
}

/* 合并箭头样式 */
.arrow_icon,
.arrow_icon_level2 {
    font-size: 0.24rem;
    color: #1361fe;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.mobile_nav_menu>ul>li.has_submenu.active .arrow_icon,
.has_submenu_level2.active .arrow_icon_level2 {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.mobile_nav_menu>ul>li.has_submenu.active .submenu {
    max-height: 20rem;
}

.submenu li {
    border-bottom: 0.01rem solid #e8e8e8;
    padding: 0.18rem 0;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    color: #333;
    font-size: .26rem;
    padding: 0.2rem 0 0.1rem 0.4rem;
    display: block;
    font-family: pr;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.submenu li a:hover {
    color: #1361fe;
    padding-left: 0.25rem;
}

/* 三级菜单 - 产品分类 */
.has_submenu_level2 {
    position: relative;
    margin-top: .1rem;
}

.submenu_toggle_level2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0 0.15rem;
    cursor: pointer;
    color: #333;
    font-size: .28rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: pr;
    text-transform: none;
    letter-spacing: 0;
}

.submenu_toggle_level2:hover,
.has_submenu_level2.active .submenu_toggle_level2 {
    color: #1361fe;
}

/* 三级产品列表 */
.submenu_level2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    margin-top: 0.1rem;
}

.has_submenu_level2.active .submenu_level2 {
    max-height: 10rem;
}

.submenu_level2 li {
    border-bottom: 0.01rem solid #e8e8e8;
    padding: 0;
}

.submenu_level2 li:last-child {
    border-bottom: none;
}

.submenu_level2 li a {
    color: #444;
    font-size: .26rem;
    padding: .2rem 0 .2rem .4rem;
    display: block;
    font-family: pr;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.submenu_level2 li a:hover {
    color: #1361fe;
    padding-left: 1.1rem;
    background-color: rgba(255, 148, 8, 0.05);
}


/* 响应式控制：PC端显示PC导航，隐藏移动端导航 */
@media screen and (min-width: 769px) {
    .pc_header {
        display: block;
    }

    .mobile_header {
        display: none;
    }
}

/* 响应式控制：移动端显示移动端导航，隐藏PC导航 */
@media screen and (max-width: 768px) {
    .pc_header {
        display: none;
    }

    .mobile_header {
        display: block;
    }

    .mobile_nav_menu.active {
        display: flex;
    }


}

/* 底部导航 */

.footer {
    width: 100%;
    background-color: #0c2c69;
}

/* main区域自动填充剩余空间 */
main {
    flex: 1;
}

footer .footer_C {
    width: 17rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer .footer_B {
    background: #0c2c69;
    font-family: pr;
    font-size: .18rem;
    padding: .2rem;
    clear: both;
    text-align: center;
    color: #fff;
    opacity: .9;
    border-top: .01rem solid rgba(255, 255, 255, .5);
    margin: 0 .4rem;
}

footer h4 {
    color: #fff;
    font-size: .3rem;
    font-family: pb;
    margin-bottom: .2rem;
}

footer .footer_item1 {
    width: 32%;
    padding-top: .6rem;
}

footer .footer_item1 h4 {
    margin-left: 1.8rem;
}

footer .footer_ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: .2rem;
}

footer .footer_ul p {
    width: 50%;
    text-align: left;
    margin-bottom: .3rem;
}

footer .footer_ul p a,
footer .item2_ULli a {
    color: #fff;
    opacity: .9;
    font-size: .18rem;
    line-height: 1.8;
    display: block;
}

footer .footer_item2 {
    width: 25%;
    padding: .6rem .6rem 0 0;
}

footer .footer_item2 p {
    font-size: .18rem;
    color: #ddd;
    line-height: .24rem;
    font-family: pr;
}

footer .item2_UL {
    padding-top: .2rem;
}

footer .item2_ULli {
    display: flex;
    align-items: flex-start;
}

footer .item2_ULli a {
    margin-bottom: .2rem;
    cursor: default;
}

footer .item2_ULli img {
    width: .25rem;
    height: .25rem;
    object-fit: contain;
    margin: .06rem .08rem 0 0;
}

footer .footer_item3 h4 {
    color: #0c2c69;
    text-align: center;
}

footer .footer_item3 {
    width: 25%;
    background: #fff;
    padding: .3rem .28rem;
    margin: .4rem auto;
    border-radius: .2rem;
}

footer .footer_form_item {
    width: 100%;
    height: .45rem;
    margin-bottom: .07rem;
    display: flex;
    align-items: center;
    border: .01rem solid #e5eaf2;
    border-radius: .5rem;
    box-sizing: border-box;
    background: rgb(255, 255, 255);
}

footer .footer_form_item_textarea {
    height: auto;
    align-items: flex-start;
    border-radius: .1rem;
}

footer .footer_form_icon {
    width: .18rem;
    height: .18rem;
    margin: 0 .08rem 0 .16rem;
    object-fit: contain;
    flex-shrink: 0;
}

footer .footer_form_item_textarea .footer_form_icon {
    margin-top: .19rem;
}

footer .footer_item3 input,
footer .footer_item3 textarea {
    width: 100%;
    font-family: pr;
    resize: none;
    color: rgb(34, 34, 34);
    font-size: .16rem;
    background: transparent;
    padding: 0 .16rem 0 0;
    box-sizing: border-box;
    display: block;
    border: none;
    outline: none;
}

footer .footer_item3 input {
    height: .45rem;
    line-height: .48rem;
}

footer .footer_item3 textarea {
    min-height: .95rem;
    padding: .16rem .16rem .16rem 0;
}

footer .footer_item3 button {
    width: 2rem;
    height: .45rem;
    line-height: .45rem;
    margin: .2rem auto 0;
    font-family: pr;
    font-weight: 500;
    color: #fff;
    background-color: #1361fe;
    font-size: .18rem;
    text-align: center;
    cursor: pointer;
    border-radius: .5rem;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    display: block;
}

footer .footer_item3 button:hover {
    opacity: 0.9;
}

footer .footer_item4 {
    flex: 1;
    padding: .6rem 0 0 .6rem;
}

footer .footer_item4 .footer_item4Ul {
    width: 100%;
    padding: .2rem 0;
}

footer .footer_item4 .footer_item4Ul a {
    display: block;
    color: #fff;
    opacity: .9;
    font-size: .18rem;
    line-height: 1.8;
    margin-bottom: .3rem;
}

@media screen and (max-width: 768px) {
    footer h4 {
        font-size: .4rem;
    }

    footer .footer_C {
        width: 7rem;
        margin: auto;
        display: block;
    }

    footer .footer_B {
        font-size: .26rem;
        margin: 0 .4rem;
    }

    footer .footer_item1,
    footer .footer_item4 {
        display: none;
    }

    footer .footer_item2 {
        width: 100%;
        padding-top: .6rem;
    }

    footer .item2_ULli {
        display: flex;
        align-items: flex-start;
    }

    footer .item2_UL {
        margin-top: .2rem;
    }

    footer .item2_ULli P,
    footer .item2_ULli a {
        font-size: .3rem;
        margin: .08rem 0;
        color: #fff;
        opacity: .9;
        display: block;
    }

    footer .item2_ULli img {
        width: .4rem;
        height: .4rem;
        object-fit: contain;
        margin: .18rem .1rem 0 0;
    }

    footer .footer_item3 {
        width: 100%;
        background: #fff;
        padding: .38rem .28rem .5rem;
        margin: .3rem 0;
    }

    footer .footer_form_item {
        height: .7rem;
        margin-bottom: .2rem;
    }

    footer .footer_form_item_textarea {
        height: auto;
    }

    footer .footer_form_icon {
        width: .35rem;
        height: .35rem;
        margin: 0 .14rem 0 .2rem;
    }

    footer .footer_form_item_textarea .footer_form_icon {
        margin-top: .2rem;
    }

    footer .footer_item3 input,
    footer .footer_item3 textarea {
        font-size: .3rem;
    }

    footer .footer_item3 input {
        height: .7rem;
        line-height: .7rem;
    }

    footer .footer_item3 textarea {
        min-height: 1.5rem;
        padding: .18rem .2rem .18rem 0;
    }

    footer .footer_item3 button {
        width: 4rem;
        margin: auto;
        margin-top: .4rem;
        height: .8rem;
        line-height: .45rem;
        font-size: .3rem;
    }

    /* 移动端 main 区域添加上边距，避免被固定头部遮挡 */
    main {
        padding-top: 1rem !important;
    }
}