.main-bg {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

.topban-words {
    padding: 0 0.3rem;
}

.main-body {
    width: 100%;
}

.top-list-placeholder {
    width: 100%;
    height: 0.8rem !important;
}

/* 容器样式 */
.prr-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    width: 100%;
    height: 6rem;
    /* 固定宽度750px */
    margin: 0 auto;
    overflow: hidden;
    background-color: #f6f6f6;
}

/* 轮播图容器 */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 6rem;
    display: flex;
    /* 使用flex布局实现滑动效果 */
    transition: transform 500ms ease-in-out;
    /* 滑动过渡动画 */
}

/* 轮播项样式 */
.carousel-item {
    min-width: 100%;
    /* 每个轮播项占满容器宽度 */
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片描述文字 */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.carousel-caption p {
    font-size: 1rem;
}

/* 移除箭头按钮 */
.carousel-btn {
    display: none;
}

/* 计数指示器样式 */
.counter-container {
    position: absolute;
    width: 1.3rem;
    height: 0.48rem;
    bottom: 0.3rem;
    left: 50%;
    margin-left: -0.65rem;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.24rem;

    img {
        width: 0.3rem;
        height: 0.3rem;
        display: inline-block;
        vertical-align: middle;
        margin-right: 0.02rem;
    }

    span {
        color: white;
        font-size: 0.24rem;
        font-weight: 500;
        display: inline-block;
        vertical-align: middle;
        line-height: 0.3rem;
        position: relative;
        top: 0.02rem;
        margin-left: 0.08rem;
    }
}

.counter-indicator:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.pro-data {
    width: 100%;
    height: 2.5rem;
    padding: 0 0.3rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;

    .pro-title {
        margin-bottom: 0.16rem;

        p {
            color: #000;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            font-size: 0.28rem;
            font-weight: bold;
            line-height: 0.4rem;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .pro-price {
        width: calc(100% + 0.6rem);
        position: relative;
        left: -0.3rem;
        background-color: #f9f9f9;
        padding: 0 0.3rem;
        display: flex;
        align-items: center;

        p {
            font-size: 0.26rem;
            color: #333;
            margin-top: 0.16rem;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
        }

        span {
            font-size: 0.42rem;
            font-weight: bold;
            color: #e70012;
            margin-right: 0.08rem;
            display: inline-block;
            vertical-align: sub;

            i {
                font-style: normal;
            }
        }

        h3 {
            font-size: 0.28rem;
            color: #333;
            font-weight: normal;
            display: inline-block;
            vertical-align: sub;
        }
    }
}

.core-three {
    padding: 0 0.3rem;
    width: 100%;
    height: 1.2rem;
    margin-bottom: 0.3rem;

    ul {
        width: 100%;
        height: 100%;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;

        li {
            width: 2.2rem;
            height: 1.2rem;

            a {
                width: 100%;
                height: 100%;
                position: relative;
                display: block;

                img {
                    width: 2.2rem;
                    height: 100%;
                    border-radius: 4px;
                }

                p {
                    font-size: 0.26rem;
                    /* font-weight: bold; */
                    color: #fff;
                    position: absolute;
                    /* 子元素绝对定位 */
                    /* 水平居中：left 50% 配合 translateX(-50%) */
                    left: 50%;
                    /* 垂直居中：top 50% 配合 translateY(-50%) */
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }

        }
    }
}

.gs-body {
    width: 100%;
    /* background: url(../img/gs-bg.png) no-repeat center 100% / 100% 100%; */
    background-image: url('../img/gs-bg.png');
    background-repeat: no-repeat;
    background-position: top;
    /* 置顶显示 */
    background-size: 100% auto;
    /* 宽度充满容器，高度自适应 */
    /* 顶部内边距等于背景图高度，避免内容覆盖 */
    padding: 0.4rem 0.3rem;

    .gs-container {
        .gs-name {
            p {
                font-size: 0.3rem;
                color: #333;
                text-decoration: underline;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        img {
            height: 0.3rem;
            margin-top: 0.12rem;
            margin-bottom: 0.16rem;
        }

        .arth {
            margin-bottom: 0.24rem;

            p {
                display: inline-block;
                vertical-align: middle;
                font-size: 0.24rem;
                margin-right: 0.2rem;
            }

            span {
                display: inline-block;
                vertical-align: middle;
                font-size: 0.3rem;
            }
        }

        .gs-ys {
            position: relative;
            left: -0.3rem;
            width: calc(100% + 0.6rem);
            padding-bottom: 0.3rem;
            background: linear-gradient(to bottom, #ECF5F9, #fff);

            ul {
                padding: 0 0.3rem;

                li {
                    i {
                        display: inline-block;
                        vertical-align: text-top;
                        width: 0.12rem;
                        height: 0.12rem;
                        margin-right: 0.12rem;
                        background: url(../img/fk.png) no-repeat center 100% / 100% 100%;
                    }

                    p {
                        font-size: 0.24rem;
                        display: inline-block;
                        vertical-align: middle;
                        line-height: 0.42rem;
                    }
                }
            }
        }

        .two-btn {
            width: 100%;
            height: 0.72rem;
            display: flex;
            justify-content: space-between;
            background-color: #fff;

            .btn-lt {
                width: 3.3rem;
                height: 0.72rem;
                border: 1px solid #000;
                border-radius: 0.36rem;
                text-align: center;
                line-height: 0.72rem;
                font-size: 0.28rem;

                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    color: #333;
                }
            }

            .btn-rt {
                width: 3.3rem;
                height: 0.72rem;
                border: 1px solid #000;
                border-radius: 0.36rem;
                text-align: center;
                line-height: 0.72rem;
                font-size: 0.28rem;

                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    color: #333;
                }
            }
        }
    }
}

.gd-line {
    width: 100%;
    height: 0.2rem;
    background-color: #F6F6F6;
    margin-bottom: 0.3rem;
}

.pp-ders {
    width: 100%;
    padding: 0.3rem;
    padding-top: 0;

    .pp-data {
        width: 100%;
        margin-top: 0.3rem;
        margin-bottom: 0.3rem;

        /* ul {
            width: 100%;
            height: 100%;
            list-style: none;
            border: 1px solid #ddd;

            li {
                width: 100%;
                height: 0.7rem;
                display: flex;

                .pd-lt {
                    width: 50%;
                    height: 0.7rem;
                    background-color: #F4F4F4;
                    border: 1px solid #ddd;
                    border-top: 0;
                    border-left: 0;
                    padding: 0 0.2rem;

                    p {
                        font-size: 0.26rem;
                        line-height: 0.7rem;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: #333;
                    }
                }

                .pd-rt {
                    width: 50%;
                    height: 0.7rem;
                    border: 1px solid #eee;
                    border-left: 0;
                    border-right: 0;
                    padding: 0 0.2rem;

                    p {
                        font-size: 0.26rem;
                        line-height: 0.7rem;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: #333;
                    }
                }
            }
        } */

        table {
            border-collapse: collapse;
            width: 100%;
        }

        th,
        td {
            border: 1px solid #ccc;
            text-align: left;
            height: 0.7rem;
            padding: 0.2rem;
            width: 50%;

            p {
                font-size: 0.26rem;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
                font-weight: normal;
            }

        }

        th {
            background-color: #f2f2f2;
        }
    }
}

.nomal-title {
    width: 100%;
    height: 0.34rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    i {
        display: inline-block;
        vertical-align: middle;
        width: 0.04rem;
        height: 0.24rem;
        background-color: #e70012;
        margin-right: 0.16rem;
    }

    p {
        font-size: 0.3rem;
        color: #000;
        display: inline-block;
        vertical-align: middle;
        line-height: 0.34rem;
    }

    span {
        display: block;
        width: 0.24rem;
        height: 0.24rem;
        background: url(../img/jt.png) no-repeat center 100% / 100% 100%;
    }
}

.tj-gd {
    width: 100%;
    padding: 0 0.3rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #eee;
}

.product-list {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 0.3rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;

    /* 滚动条整体样式 */
    &::-webkit-scrollbar {
        height: 0.1rem;
        /* 滚动条宽度 */
        border-radius: 0.05rem;
    }

    /* 滚动条轨道（灰色） */
    &::-webkit-scrollbar-track {
        background-color: #E4E6E6;
    }

    /* 滚动条滑块（红色） */
    &::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 0.05rem;
    }

    ul {
        width: 100%;
        height: 100%;
        position: relative;
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        padding: 0;

        li {
            width: 1.7rem;
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 0.1rem;

            a {
                text-decoration: none;

                img {
                    width: 1.7rem;
                    height: 1.7rem;
                    background-color: #fff;
                    border-radius: 4px;
                    border: 1px solid #eee;
                }

                p {
                    text-align: center;
                    font-size: 0.22rem;
                    line-height: 0.35rem;
                    font-weight: normal;
                    color: #000;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }

        }
    }
}

.oth-pro {
    width: 100%;

    .nomal-title {
        margin-bottom: 0.3rem;
    }
}

.nr-list {
    width: 100%;
    background-color: #f6f6f6;
    padding: 0.3rem 0.3rem 1.5rem 0.3rem;

    ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        li {
            width: 3.4rem;
            position: relative;
            margin-bottom: 0.1rem;
            background-color: #fff;
            border: 1px solid #eee;
            border-radius: 4px;

            .pro-name {
                padding: 0 0.2rem;
                margin-bottom: 0.3rem;
                margin-top: 0.1rem;

                p {
                    font-size: 0.28rem;
                    color: #333;
                    line-height: 0.3rem;
                    margin-top: 0.1rem;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 0.36rem;
                }
            }

            .pro-xx {
                width: 100%;
                padding: 0 0.2rem;
                display: flex;
                justify-content: space-between;

                p {
                    font-size: 0.28rem;
                    color: #E70012;
                    line-height: 0.3rem;
                    margin-top: 0.1rem;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 0.36rem;
                    max-width: 1rem;
                }

                span {
                    font-size: 0.24rem;
                    color: #999;
                    line-height: 0.3rem;
                    margin-top: 0.1rem;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 0.36rem;
                    max-width: calc(100% - 1.2rem);
                }
            }

            a {
                width: 100%;
                height: 100%;
                display: block;
            }

            .nr-lt {
                height: 100%;
                margin-right: 0.2rem;
            }

            img {
                width: 3.3rem;
                height: 3.3rem;
                border-radius: 4px;
                object-fit: contain;
                background-color: #fff;
                border-bottom: 1px solid #eee;
                padding: 0.2rem;
            }
        }
    }
}

.fixed-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.2rem;
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.3rem;

    .btn-lft {
        width: 3.3rem;
        height: 0.84rem;
        border-radius: 0.42rem;
        border: 1px solid #000;
        text-align: center;

        p {
            font-size: 0.28rem;
            line-height: 0.84rem;
            color: #000;
        }
    }

    .btn-rft {
        width: 3.3rem;
        height: 0.84rem;
        border-radius: 0.42rem;
        background-color: #E70012;
        text-align: center;

        p {
            font-size: 0.28rem;
            line-height: 0.84rem;
            color: #fff;
        }
    }
}

.nrl-mid {
    p {
        font-size: 0.26rem;
        line-height: 0.4rem;
        color: #333;
    }

    img {
        max-width: 100%;
        height: auto;
        margin-top: 0.2rem;
    }
}