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;
    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');
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.imgCss {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titleH {
    font-size: .42rem;
    text-align: center;
    font-family: pb;
    text-transform: capitalize;
    margin-bottom: .2rem;
}

.msgH {
    font-size: .2rem;
    font-family: pr;
    line-height: 1.8;
    text-align: center;
    color: #333;
}

.notJump {
    color: #ddd !important;
}

.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;
}

.pc_logo {
    width: auto;
    height: .4rem;
}

.pc_logo img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

/* 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;
}

.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: .1rem .2rem;
    border-radius: .4rem;
    text-transform: uppercase;
    border: .01rem solid transparent;
}

.pc_nav_link:hover,
.pc_nav_link.active {
    color: #00134c;
    border: .01rem solid #00134c;
    border-radius: .4rem;
}

/* PC端Mega Menu样式 */
.pc_has_mega_menu {
    position: static;
}

.mega_menu_trigger {
    color: #000;
    font-size: .18rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: .1rem .2rem;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    border-radius: .4rem;
    cursor: pointer;
    border: .01rem solid transparent;
}

.pc_has_mega_menu:hover .mega_menu_trigger {
    color: #00134c;
    background-color: transparent;
    border: .01rem solid #00134c;
    border-radius: .4rem;
}

/* Products悬浮状态样式 */
.pc_has_mega_menu:hover .mega_menu_trigger,
.mega_menu_trigger:hover {
    color: #00134c;
    border: .01rem solid #00134c;
    border-radius: .4rem;
}

/* Products激活状态样式 - 与其他导航项保持一致 */
.pc_has_mega_menu.active .mega_menu_trigger,
.mega_menu_trigger.active {
    color: #00134c;
    border: .01rem solid #00134c;
    border-radius: .4rem;
}

/* PC端 Mega Menu 面板样式 */
.mega_menu_panel {
    position: fixed;
    top: 0.9rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pc_has_mega_menu:hover .mega_menu_panel {
    opacity: 1;
    visibility: visible;
}

.mega_menu_content {
    width: 100%;
    max-width: 19.2rem;
    margin: 0 auto;
    padding: 0.35rem 0;
}

.product_card_list {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product_card_list li {
    text-align: center;
    flex-shrink: 0;
}

.product_card_list li a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.product_card_list li a:hover {
    color: #00134c;
}

.product_card_img {
    width: 2.5rem;
    height: 2rem;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product_card_name {
    display: block;
    width: 2.5rem;
    line-height: .3rem;
    margin-top: 0.2rem;
    font-size: .18rem;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.product_card_list li a:hover .product_card_name {
    color: #00134c;
}

.pc_header_contact {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    flex-direction: column;
}

.pc_contact_phone,
.pc_contact_email {
    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: .25rem;
    height: .25rem;
}

.pc_contact_email>img {
    width: .3rem;
    height: .3rem;
    object-fit: cover;
    margin-left: -.02rem;
}

/* 移动端头部导航样式 */
.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: #da3b2b;
    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: #da3b2b;
}

/* yd二级菜单样式 */
.mobile_nav_menu>ul>li.has_submenu {
    position: relative;
}

/* 二级菜单包装器 - 包含链接和箭头 */
.submenu_wrapper {
    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;
}

.submenu_link {
    flex: 1;
    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;
}

.submenu_link:hover,
.submenu_link.active {
    color: #da3b2b;
}

.arrow_icon {
    font-size: 0.24rem;
    color: #da3b2b;
    transition: transform 0.3s ease;
    font-weight: 300;
    cursor: pointer;
    padding: .1rem .4rem;
}

.mobile_nav_menu>ul>li.has_submenu.active .arrow_icon {
    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: pb;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.submenu li a:hover {
    color: #da3b2b;
    padding-left: 0.25rem;
}




/* 响应式控制：PC端显示PC导航，隐藏移动端导航 */
@media screen and (min-width: 769px) {
    .pc_header {
        display: block;
    }

    .mobile_header {
        display: none;
    }
    .top6 {
        margin-top: -.6rem;
    }
}

/* 响应式控制：移动端显示移动端导航，隐藏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: #212429;
}

/* main区域自动填充剩余空间 */
main {
    flex: 1;
}

.footer .footer_content {
    width: 15rem;
    margin: 0 auto;
    position: relative;
}

.footer .footer_top {
    width: 100%;
    height: 1.3rem;
    line-height: 1.3rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.02rem solid #383a3f;
}

.footer .footer_topL {
    width: 60%;
    height: 100%;
    font-size: .3rem;
    color: #fff;
    font-family: pb;
    text-align: left;
}

.footer .footer_topR {
    width: 28%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer_topR a {
    color: #fff;
    font-size: .18rem;
    font-family: pb;
}

.footer .footer_middle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: .4rem 0;
    border-bottom: 0.02rem solid #383a3f;
}

.footer .footer_middleL {
    width: 50%;
}

.footer .footer_middleT {
    color: #fff;
    font-size: .3rem;
    font-family: pb;
}

.footer .footer_middleL_ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: .4rem;
}

.footer .footer_middleL_ul a {
    width: 50%;
    color: #fff;
    opacity: 0.8;
    font-size: .18rem;
    font-family: pr;
    margin-bottom: .2rem;
}

.footer .footer_middleR {
    width: 50%;
}

.footer .footer_middleR_ul {
    width: 100%;
    margin-top: .4rem;
}

.footer .footer_middleR_li {
    width: 90%;
    line-height: 0.42rem;
    font-size: .18rem;
    font-family: pr;
    text-align: left;
    color: #fff;
    opacity: 0.8;
}

.footer .footer_middleR_li img {
    width: .2rem;
    height: .2rem;
    margin-right: .1rem;
    display: inline-block;
}

.footer .footer_bottom {
    width: 100%;
    height: .8rem;
    line-height: .8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer_bottomL {
    font-size: .16rem;
    color: #fff;
    opacity: 0.6;
}

.footer .footer_bottomR {
    opacity: 0.6;
}

.footer .footer_bottomR img {
    width: 1.5rem;
    height: .45rem;
    object-fit: contain;
}

.footer .footer_btn {
    width: .6rem;
    height: .6rem;
    position: absolute;
    right: 0;
    bottom: 36%;
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    /* 移动端 main 区域添加上边距，避免被固定头部遮挡 */
    main {
        padding-top: 1rem !important;
    }

    .footer {
        background: #333;
    }

    .footer .footer_content {
        width: 7rem;
        margin: 0 auto;
    }

    .footer .footer_top {
        width: 100%;
        height: 1.5rem;
        line-height: 1.5rem;
        border-bottom: 0.02rem solid #666;
    }

    .footer .footer_topL {
        width: 100%;
        height: 100%;
        font-size: .36rem;
        color: #fff;
        font-family: pb;
        text-align: left;
    }

    .footer .footer_topR {
        display: none;
    }

    .footer .footer_middle {
        width: 100%;
        padding: .4rem 0;
        border-bottom: 0.02rem solid #666;
    }

    .footer .footer_middleL {
        display: none;
    }

    .footer .footer_middleR {
        width: 100%;
    }

    .footer .footer_middleT {
        color: #fff;
        font-size: .36rem;
        font-family: pb;
    }

    .footer .footer_middleR_ul {
        width: 100%;
        margin-top: .4rem;
    }

    .footer .footer_middleR_li {
        width: 100%;
        font-size: .26rem;
        line-height: 2;
        font-family: pr;
        text-align: left;
        color: #fff;
        opacity: 0.8;
        margin-bottom: .2rem;
    }

    .footer .footer_middleR_li img {
        width: .3rem;
        height: .3rem;
        margin-right: .1rem;
    }

    .footer .footer_btn {
        display: none;
    }

    .footer .footer_bottom {
        width: 100%;
        height: 1.3rem;
        line-height: 1.3rem;
    }

    .footer .footer_bottomL {
        width: 100%;
        text-align: center;
        font-size: .26rem;
        color: #fff;
        opacity: 0.6;
        line-height: 1.8;
    }

    .footer .footer_bottomR {
        display: none;
    }
}