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;
}

.titleH {
    font-size: .42rem;
    text-align: center;
    font-family: pb;
    margin-bottom: .2rem;
    color: #313f52;
}

.msgH {
    font-size: .2rem;
    font-family: pr;
    line-height: 1.8;
    text-align: center;
    color: #191919;
}

.mgb2 {
    margin-bottom: .2rem;
}

.notLink {
    color: #ddd !important;
    cursor: default;
}

.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: 16rem;
    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: 16%;
    width: 2rem;
    height: .6rem;
}

.pc_logo img {
    width: 100%;
    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: 2rem;
}

.pc_nav_item {
    position: relative;
    padding: 0 .25rem;
}

.pc_nav_link {
    color: #000;
    font-size: .2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    padding: .1rem .2rem;
    border-radius: .4rem;
    border: .01rem solid transparent;
}

.pc_nav_link:hover,
.pc_nav_link.active {
    color: #f6b80b;
    border: .01rem solid #f6b80b;
    border-radius: .4rem;
}

/* PC端Mega Menu样式 */
.pc_has_mega_menu {
    position: static;
}

.mega_menu_trigger {
    color: #000;
    font-size: .2rem;
    font-weight: 600;
    padding: .1rem .2rem;
    transition: all 0.3s ease;
    font-family: pr;
    display: block;
    border-radius: .4rem;
    cursor: pointer;
    border: .01rem solid transparent;
    text-decoration: none;
}

.pc_has_mega_menu:hover .mega_menu_trigger {
    color: #f6b80b;
    border: .01rem solid #f6b80b;
    border-radius: .4rem;
}

.mega_menu_trigger.active {
    color: #f6b80b;
    border: .01rem solid #f6b80b;
    border-radius: .4rem;
}

.mega_menu_panel {
    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 #f6b80b;
    overflow-y: auto;
    padding: .2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.pc_has_mega_menu:hover .mega_menu_panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 内容区域居中显示 */
.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;
    /* height: 3.6rem; */
    height: 4rem;
    overflow-y: auto;
}

/* 每行最后一列移除右边框 */
.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: 1rem;
    height: .75rem;
    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: #f6b80b;
    text-decoration: none;
}

.pc_header_contact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .4rem;
}

.pc_contact_img {
    display: block;
    width: .5rem;
    height: .5rem;
    object-fit: contain;
    cursor: pointer;
}

.pc_contact_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* 移动端头部导航样式 */
.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: .2rem .25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile_logo {
    width: 3rem;
    height: .8rem;
    cursor: pointer;
    line-height: .1rem;
}

.mobile_menu_toggle {
    width: .6rem;
    height: .6rem;
    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: #f6b80b;
    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: #f6b80b;
}

/* 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;
    text-decoration: none;
}

.submenu_link:hover,
.submenu_link.active {
    color: #f6b80b;
}

/* 合并箭头样式 */
.arrow_icon,
.arrow_icon_level2 {
    font-size: 0.24rem;
    color: #f6b80b;
    transition: transform 0.3s ease;
    font-weight: 300;
    cursor: pointer;
    padding: .1rem .4rem;
}

.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: #f6b80b;
    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: #f6b80b;
}

/* 三级产品列表 */
.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: #f6b80b;
    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: #1f262f;
}

/* main区域自动填充剩余空间 */
main {
    flex: 1;
}

.footer .footer_content {
    width: 15rem;
    margin: 0 auto;
    padding: .6rem 0 .4rem;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 0.8fr;
    gap: .2rem;
}

.footer .footer_content .titleH,
.footer .footer_content .msgH {
    color: #fff;
}

.footer .footer_content .titleH {
    font-size: .3rem;
    text-align: left;
}

.footer .footer_content .notLink,
.footer .footer_content .notLink:hover {
    color: #fff;
    opacity: .5;
    cursor: default;
}

.footer .footer_box1 .box1_img {
    display: block;
    width: 3.1rem;
    height: .95rem;
    object-fit: contain;
    margin-bottom: .4rem;
}

.footer .footer_box1 .box1_item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .2rem;
    margin-bottom: .2rem;
}

.footer .footer_box1 .box1_item1 {
    cursor: pointer;
}

.footer .footer_box1 .box1_item .msgH {
    transition: color 0.3s ease;
}

.footer .footer_box1 .box1_item img {
    width: .3rem;
    height: .3rem;
    object-fit: contain;
}

.footer .footer_box1 .box1_item1 .msgH:hover {
    color: #f6b80b;
}

.footer .footer_box2 a,
.footer .footer_box3 a {
    display: block;
    text-align: left;
    transition: color 0.3s ease;
}

.footer .footer_box2 a:hover,
.footer .footer_box3 a:hover {
    color: #f6b80b;
}

.footer .box4_img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    margin-bottom: .4rem;
}

.footer .box4_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer .footer_box5 {
    display: none;
}


@media screen and (max-width: 768px) {

    /* 移动端 main 区域添加上边距，避免被固定头部遮挡 */
    main {
        padding-top: 1rem !important;
    }

    .footer .footer_content {
        width: 7rem;
        margin: 0 auto;
        padding: .6rem .2rem .4rem;
        display: block;
    }

    .footer .footer_box2,
    .footer .footer_box3,
    .footer .footer_box4 {
        display: none;
    }

    .footer .footer_content .msgH {
        font-size: .26rem;
    }

    .footer .footer_content .titleH {
        font-size: .36rem;
        text-align: left;
    }

    .footer .footer_box5 {
        display: block;
    }

    .footer .footer_box5 .box5_form {
        margin-top: .3rem;
    }

    .footer .footer_box5 .box5_item {
        display: flex;
        align-items: center;
        padding: .1rem .2rem;
        margin-bottom: .2rem;
        background: #fff;
        border: 1px solid #e5eaf2;
        border-radius: .1rem;
    }

    .footer .footer_box5 .box5_item img {
        width: .3rem;
        height: .3rem;
        margin-right: .16rem;
        flex-shrink: 0;
        object-fit: contain;
    }

    .footer .footer_box5 .box5_item input {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0;
        border: none;
        outline: none;
        background: transparent;
        font-family: pr;
        font-size: .3rem;
        color: #333;
    }

    .footer .footer_box5 .box5_textarea {
        height: 1.7rem;
        align-items: flex-start;
        padding: .18rem .2rem;
        border-radius: .16rem;
    }

    .footer .footer_box5 .box5_textarea img {
        margin-top: .05rem;
    }

    .footer .footer_box5 .box5_textarea textarea {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0;
        border: none;
        outline: none;
        resize: none;
        background: transparent;
        font-family: pr;
        font-size: .26rem;
        line-height: 1.5;
        color: #333;
    }

    .footer .footer_box5 .box5_item input::placeholder,
    .footer .footer_box5 .box5_item textarea::placeholder {
        font-family: pr;
        font-size: .26rem;
        color: #999;
    }

    .footer .footer_box5 .box5_submit {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: .3rem auto 0;
        padding: .2rem;
        background: #f6b80b;
        border-radius: .1rem;
        font-family: pb;
        font-size: .3rem;
        color: #fff;
        cursor: pointer;
    }






}