ul,
li {
    list-style-type: none;
}

body {
    margin: 0;
    padding: 0;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@font-face {
    font-family: pr;
    src: url('../font/Poppins-Regular.ttf');
}

@font-face {
    font-family: pb;
    src: url('../font/Poppins-Bold.ttf');
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    border: 0;
    vertical-align: middle;
}

.imgCss {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titleH,
.titleP {
    font-size: .42rem;
    text-align: center;
    font-family: pb;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.titleP {
    line-height: 2;
}

.msgH {
    font-size: .2rem;
    line-height: 1.8;
    text-align: center;
    color: #666;
    font-family: pr;
}

/* 产品页标题img */
.title_icon {
    width: .4rem;
    height: .3rem;
    object-fit: cover;
}

/* 产品报价按钮 */
.quote_btn {
    width: 43%;
    height: .8rem;
    line-height: .8rem;
    color: #fff;
    font-size: .22rem;
    font-family: pb;
    background: url(../img/quote-icon.png) no-repeat center center;
    background-size: contain;
    position: relative;
    cursor: pointer;
}

.quote_btn>p {
    position: absolute;
    top: 0;
    left: 10%;
}

.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: -52%;
    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: 1.5rem;
    flex: 1;
}

.pc_primary_nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 1.5rem;
}

.pc_nav_item {
    position: relative;
    padding: 0 .3rem;
}

.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: uppercase;

}

.pc_nav_link:hover,
.pc_nav_link.active {
    color: #fff;
    background-color: #ff9408;
}

/* PC端Mega Menu样式 */
.pc_has_mega_menu {
    position: static;
}

.mega_menu_trigger {
    color: #000;
    font-size: .18rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.1rem 0.15rem;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    border-radius: 0.02rem;
    cursor: pointer;
}

.pc_has_mega_menu:hover .mega_menu_trigger {
    color: #ff9408;
    background-color: transparent;
}

.mega_menu_trigger.active {
    color: #fff;
    background-color: #ff9408;
}

.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);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 0.02rem solid #ff9408;
    overflow-y: auto;
    padding: .2rem 0;
}

.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_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: #ff9408;
    text-decoration: none;
}

.pc_header_contact {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.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: #ff9408;
    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: uppercase;
    letter-spacing: 0.01rem;
}

.mobile_nav_menu>ul>li>a:hover,
.mobile_nav_menu>ul>li>a.active {
    color: #ff9408;
}

/* 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: uppercase;
    letter-spacing: 0.01rem;
}

.mobile_nav_menu>ul>li.has_submenu>span.submenu_toggle:hover {
    color: #ff9408;
}

/* 合并箭头样式 */
.arrow_icon,
.arrow_icon_level2 {
    font-size: 0.24rem;
    color: #ff9408;
    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: #ff9408;
    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: #ff9408;
}

/* 三级产品列表 */
.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: #ff9408;
    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;
    }
}
.myform2 {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    width: 5rem;
}

/* 响应式控制：移动端显示移动端导航，隐藏PC导航 */
@media screen and (max-width: 768px) {
    .pc_header {
        display: none;
    }

    .mobile_header {
        display: block;
    }

    .mobile_nav_menu.active {
        display: flex;
    }
    .myform2 {
        width:7rem !important;
    }

}

/* 底部导航 */
.footer {
    width: 100%;
    background-color: #1e2f5d;
}

/* main区域自动填充剩余空间 */
main {
    flex: 1;
}

.footer .footer_content {
    width: 15rem;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    margin-top: -.8rem;
}

.footer .footer_item {
    width: 33%;
}

.footer .footer_item:nth-child(2) {
    text-align: center;
}

.footer .footer_item:nth-child(3) {
    text-align: center;
}

.footer .footerItem_title {
    color: #fff;
    font-size: .26rem;
    font-family: pb;
    margin-bottom: .3rem;
}

.footer .footerItem_title:hover {
    color: #ff9408;
    cursor: pointer;
}

.footer .footerItem_P {
    color: #ABB4D0;
    font-size: .18rem;
    font-family: pr;
    line-height: 1.6;
    margin-bottom: .3rem;
}

.footer .footerItem_W {
    color: #fff;
}

.footer .footer_itemImg {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: cover;
    margin-top: 1.5rem;
}

.footer .footerItem_imgT {
    color: #fff;
    font-size: .22rem;
    font-family: pb;
}

.footer .footerItem_imgP {
    color: #d2d2d2;
    font-size: .14rem;
    font-family: pb;
    margin-bottom: .3rem;
}

.footer_form {
    display: flex;
    gap: 0.1rem;
    align-items: center;
}

.footer_input {
    flex: 1;
    height: .4rem;
    padding: 0 0.2rem;
    border: none;
    border-radius: 0.08rem;
    font-size: 0.16rem;
    font-family: pr;
    color: #333;
    outline: none;
}

.footer_input::placeholder {
    color: #999;
}

.footer_submit_btn {
    padding: .07rem .1rem;
    background-color: #ff9408;
    color: #fff;
    border: none;
    border-radius: 0.08rem;
    font-size: 0.16rem;
    font-weight: 700;
    font-family: pb;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
}

.footer_submit_btn:hover {
    background-color: #e08500;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .footer .footer_content {
        width: 7rem;
        padding: .4rem .2rem .6rem;
        flex-direction: column;
        gap: .4rem;
        margin-top: 0;
    }

    .footer .footer_item {
        width: 100%;
        border: none;
        text-align: center;
    }

    .footer .footer_item:nth-child(2) {
        margin-top: -.5rem;
    }

    .footer .footer_item:nth-child(3) {
        margin-top: -.8rem;
    }

    .footer .footerItem_title {
        display: block;
        font-size: .4rem;
        margin-bottom: .2rem;
    }

    .footer .footerItem_P {
        font-size: .26rem;
        margin-bottom: .2rem;
        font-family: pr;
    }

    .footer .footer_itemImg {
        width: .8rem;
        height: .8rem;
        margin-top: 0;
    }

    .footer .footerItem_imgT {
        font-size: .4rem;
        margin-bottom: .15rem;
    }

    .footer .footerItem_imgP {
        font-size: .26rem;
        margin-bottom: .2rem;
        font-family: pr;
    }

    .footer_form {
        display: flex;
        gap: .15rem;
    }

    .footer_input {
        width: 100%;
        height: .6rem;
        font-size: .26rem;
    }

    .footer_submit_btn {
        font-size: .26rem;
        padding: .08rem .2rem;
    }

    /* 移动端 main 区域添加上边距，避免被固定头部遮挡 */
    main {
        padding-top: 1rem !important;
    }
}