/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'HarmonyOS Sans', 'PingFang SC', sans-serif; */
}

/* PC端导航样式 */
.navbar {
    background: #fff;
    /* padding: 0 8%; */
    height: 64px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

}

.logo {
    /* width: 120px; */
    margin-right: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding: 20px 0;
    transition: color 0.3s;
}

/* .nav-link::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5b00;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #ff5b00;
} */

/* .nav-link:hover::after {
    width: 100%;
} */
.toggle_title {
    text-align: center;
}

.toggle_title span {
    display: inline-block;
    font-size: 14px;
    margin: 10px 20px;
    padding-bottom: 10px;
    cursor: pointer;
}

.scale_box {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 30px 0;
}

.scale_item {
    width: 125px;
    text-align: center;
}

.scale_item img {
    width: 81px;
    height: 72px;
}

.scale_item p {
    font-size: 12px;
}

.series-content {
    display: none;
}

.active-series {
    display: block !important;
}

.active-toggle {
    color: #fe5200;
    border-bottom: 2px solid #fe5200;
}

.leardMore {
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-top: 1px solid #ccc;
    font-size: 14px;
    margin-top: 40px;
}

#tdposbox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

/* #tdpos:hover~#tdposbox {
    display: block;
} */

#zizhujibox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

#zizhu:hover~#zizhujibox {
    display: block;
}

#pcchengbox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

#pccheng:hover~#pcchengbox {
    display: block;
}

#chupingbox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

#chuping:hover~#chupingbox {
    display: block;
}

#aichengbox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

#aicheng:hover~#aichengbox {
    display: block;
}

#yitijibox {
    display: none;
    position: absolute;
    top: 60px;
    background: #fff;
    left: 36%;
    transform: translate(-50%);
    width: 100vw;
    margin: 0 auto;
}

#yitiji:hover~#yitijibox {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 140px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px 20px;
    top: 60px;
    left: 106px;
}

.dropdown-content p {
    line-height: 28px;
    cursor: pointer;
}

.series-content {
    display: none;
}

.toggle_title .tottle_1:hover+.series-content {
    display: block;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-nav {
    display: none;
}


.top_box1 {
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.top_box {
    height: 45px;
    /* line-height: 45px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4f4f4f;
}

.select_top {
    font-size: 18px !important;
    color: #000;
}

.select_top1 {
    color: #000;
    border-bottom: 3px solid #ff5b00;
}

.top_left span,
.top_right span {
    min-width: 80px;
    font-size: 16px;
    display: inline-block;
    border-right: 1px solid #4f4f4f;
    text-align: center;
    cursor: pointer;
    padding: 0 20px;
}

.top_right span {
    border-right: none;
    font-size: 14px;
    height: 45px;
    line-height: 45px;
}
.top_left span:first-child{
    padding-left: 0;
}
.top_left span:last-child {
    border-right: none;
    font-size: 16px;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 1px 1px -2px gray;
    z-index: 100;
}
.fixed1 {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
#header-container{
    position: fixed;
    width: 100%;
    z-index: 10000;
}
/* 移动端导航样式 */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 56px;
    }

    .pc-nav {
        width: 100%;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* 移动端侧边菜单 */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 56px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 56px);
        background: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        padding: 20px;
        z-index: 999;
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav-link {
        color: #333!important;
        text-decoration: none;
        font-size: 16px;
        padding: 4px;
        border-radius: 8px;
        transition: background 0.3s;
        text-align: left!important;
    }

    .mobile-nav-link:hover {
        background: #f5f5f5;
    }

    /* 遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }
    .top_box1{
        display: none;
    }
}

/* 主内容区 */
.main-content {
    margin-top: 64px;
    padding: 40px 8%;
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 56px;
        padding: 20px;
    }
}
