ul,
li {
    list-style-type: none;
}

body {
    margin: 0;
    padding: 0;
    color: #072635;
    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 {
    font-size: .42rem;
    text-align: left;
    font-family: pb;
    text-transform: capitalize;
    margin-bottom: .1rem;
}

.msgH {
    font-size: .2rem;
    font-family: pr;
    line-height: 1.8;
    text-align: left;
    color: #1a1a1a;
}

/* 混凝土泵标题  纸杯机*/
.title1,
.title2 {
    color: #092f42;
    font-size: .42rem;
    text-align: center;
    font-family: pb;
    text-transform: capitalize;
    margin-bottom: .4rem;
}

.title_span {
    margin: 0 .2rem;
}
/* 混凝土泵产品页标题img */
.title_icon1 {
    width: 2rem;
    height: .08rem;
    object-fit: cover;
}

/* 纸杯机产品页标题img */
.title_icon2 {
    width: .4rem;
    height: .3rem;
    object-fit: cover;
}

.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: -49%;
    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;
    margin-left: 2rem;
}

.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: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 19.2rem;
    background-color: #fff;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-radius: 0.08rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pc_has_mega_menu:hover .mega_menu_panel {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.mega_menu_content {
    width: 15rem;
    margin: 0 auto;
    display: flex;
    min-height: 4rem;
    padding: 0.3rem;
}

/* 左侧分类列表 */
.mega_menu_categories {
    width: 40%;
    border-right: 0.01rem solid #e8e8e8;
    padding-right: 0.2rem;
}

.category_item {
    padding: 0.15rem 0.2rem;
    font-size: .2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.04rem;
    margin-bottom: 0.05rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
}

.category_item:hover {
    color: #00134c;
    font-family: pb;
}

.category_item.active {
    color: #00134c;
    font-family: pb;
    background-color: rgba(0, 19, 76, 0.05);
}

.category_item span {
    color: #333;
    font-size: .14rem;
    margin-right: .1rem;
}

.category_item:hover span {
    color: #00134c;
}

.category_item.active span {
    color: #00134c;
    font-weight: bold;
}

/* 中间产品列表 */
.mega_menu_products {
    width: 40%;
    padding: 0 0.3rem;
    border-right: 0.01rem solid #e8e8e8;
}

.product_list {
    display: none;
}

.product_list.active {
    display: block;
}

/* 产品链接包装器 */
.product_item_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product_item {
    padding: 0.12rem 0.2rem;
    font-size: .2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.04rem;
    margin-bottom: 0.05rem;
    text-transform: capitalize;
}

.product_item:hover,
.product_item.active {
    color: #00134c;
    font-family: pb;
}

.product_name {
    display: block;
}

/* 右侧产品图片 */
.mega_menu_image {
    width: 20%;
    height: 3.5rem;
    line-height: 3rem;
    text-align: center;
    padding-left: .2rem;
}

.mega_menu_image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.product_image {
    max-width: 100%;
    max-height: 3.5rem;
    object-fit: cover;
    border-radius: 0.08rem;
}

.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: #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,
.arrow_icon_level2 {
    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,
.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: #da3b2b;
    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: #da3b2b;
}

/* 三级产品列表 */
.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: #da3b2b;
    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: #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;
}

.footer .footer_bottom {
    width: 100%;
    height: .8rem;
    line-height: .8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer_bottomL {
    width: 60%;
    text-align: left;
    font-size: .16rem;
    color: #fff;
    opacity: 0.6;
}

.footer .footer_bottomR {
    width: 40%;
    text-align: right;
    opacity: 0.6;
}

.footer .footer_bottomR img {
    width: 1.5rem;
    height: .45rem;
    margin-top: -.3rem;
}

.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: .26rem;
        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;
    }
}