body {
    background-color: #fff;
}

main {
    padding-top: 92px;
}

/* 响应式导航 */
.header_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo img {
    /* height: 40px; */
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 语言切换 */
/* .language_box {
    position: absolute;
    top: 1rem;
    right: 5%;
    z-index: 100;
} */

.pos_bgc {
    background-image: url(../image/product/bgc1.webp);
    /* background-position: center;
    height: 400px; */
    color: #fff;
}

.pos_bgc1 {
    background-image: url(../image/product/bgc2.webp);
    color: #fff;
}

.pos_bgc2 {
    background-image: url(../image/product/bgc3.webp);
    color: #c4c3c3;
}

.pos_bgc3 {
    background-image: url(../image/product/bgc4.webp);
    color: #fff;
}

.pos_bgc4 {
    background-image: url(../image/product/bgc5.webp);
    color: #cecece;
}

.pos_bgc5 {
    background-image: url(../image/product/bgc2.webp);
    color: #fff;
}

.pos_bgc6 {
    background-image: url(../image/product/bgc2.webp);
    color: #fff;
}

/* 产品展示区 */
.goods_show {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 7rem;
}


.goods_item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
    /* 防止图片溢出 */
    position: relative;
}

.goods_item:hover {
    transform: translateY(-5px);
}

.goods_item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    /* margin-bottom: 1rem; */
    transition: opacity 0.3s ease;
}

.goods_item .image_2 {
    display: none;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    position: absolute;
    top: 30%;
    width: 83%;
}

.nav-buttons button {
    color: #ff5b00;
    font-weight: 700;
    font-size: 22px;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.nav-buttons button:hover {
    background-color: #ddb8a5;
}

/* 圆圈容器样式 */
.circle-container {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 圆圈样式 */
.circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: transform 0.3s ease;
}

.circle.active {
    background-color: #000;
    /* 激活时的颜色 */
    transform: scale(1.2);
    /* 激活时的放大效果 */
}

.goods_no {
    font-size: 22px;
    font-weight: 700;
    margin: 10px;
}

.goods_name {
    font-size: 14px;
    color: #575656;
}

.title_box {
    margin: 2rem 0.5rem;
    /* padding: 0rem 5%; */
}

.sub_title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.title_des {
    font-size: 14px;
    color: #757575;
}

/* 背景区块 */
.pos_bgc,
.pos_bgc1,
.pos_bgc2,
.pos_bgc3,
.pos_bgc4,
.pos_bgc5,
.pos_bgc6 {
    background-size: cover;
    padding: 4rem 0%;
    /* min-height: 400px; */
    display: flex;
    align-items: center;
}

.title_fix {
    background-color: #fff;
    color: #6b6b6b;
    font-size: 14px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    /* position: fixed;
    top: 0; */
    width: 100%;
    z-index: 100;
    position: fixed;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.title_fix .title_item {
    min-width: 120px;
    margin-right: 20px;
    transition: background-color 0.3s ease
}

/* 初始定位 */
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 2px -2px gray;
}

.big_title_p {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 0px;
}

.pos_sub_title {
    font-size: 15px;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .header_box {
        padding: 1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .pos_bgc,
    .pos_bgc1,
    .pos_bgc2,
    .pos_bgc3,
    .pos_bgc4,
    .pos_bgc5,
    .pos_bgc6 {
        min-height: 220px;
        padding: 20px;
    }

    .title_box {
        padding: 20px;
        margin: 0;
    }

    .goods_show {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .goods_item img {
        height: 120px;
    }

    .title_fix {
        display: none;
    }
}

@media (max-width: 480px) {
    .pos_main_width .big_title {
        font-size: 1.8rem;
    }

    .goods_item {
        padding: 1rem;
    }
}