@media screen and (min-width: 769px) {
    html {
        font-size: 2.61vw;
    }
}

body {
    background-color: rgba(244, 244, 244, 1);
    margin: 0;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl {
    padding-left: 0.24rem;
    box-sizing: border-box;
}

.home {
    box-sizing: border-box;
    padding-top: 3.94rem;

    .top {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 999;
        left: 0;

        .nav {
            width: 100%;
            height: 1.42rem;
            box-sizing: border-box;
            background: #FFFFFF;
            border: 1px solid #C7C7C7;


            .box {
                width: 11.2rem;
                height: 100%;
                justify-content: space-between;

                >p {
                    font-family: Arial;
                    font-weight: 400;
                    height: 100%;
                    font-size: 0.36rem;
                    color: #333333;
                    line-height: 400%;
                    cursor: pointer;

                }

                .activeNav {
                    color: #F24F1D;
                    position: relative;
                    margin: 0;

                    &::after {
                        content: "";
                        height: 0.06rem;
                        background: #F24F1D;
                        position: absolute;
                        border-radius: 1px;
                        width: 100%;
                        bottom: 0;
                        left: 0;
                    }
                }
            }

        }

        >header {
            width: 100%;
            height: 2.52rem;
            background: #F24F1D;


            .h-c {
                width: 20.2rem;
                justify-content: space-between;

                >img {
                    width: 6.52rem;
                }

                .user-login {
                    >img {
                        width: 0.88rem;
                        margin-right: 0.52rem;
                    }

                    >div {
                        width: 4.36rem;
                        height: 0.86rem;
                        background: #FFFFFF;
                        border-radius: 0.08rem;
                        font-family: Arial;
                        font-weight: bold;
                        font-size: 0.32rem;
                        color: #333333;
                        line-height: 0.86rem;
                        text-align: center;
                        cursor: pointer;
                    }
                }
            }
        }
    }

}

.score {
    width: 1.54rem;
    height: 0.52rem;
    background: #1BB451;
    border-radius: 0.18rem;
    font-family: Arial;
    font-weight: bold;
    font-size: 0.32rem;
    text-align: center;
    color: #FFFFFF;

    >img {
        width: 0.34rem;
        margin-left: 0.1rem;
        margin-top: -.05rem;
    }

}

.footer {
    width: 100%;
    background: #E4E4E4;
    margin: 1.9rem auto 0;
    padding: 0.68rem 0 0.86rem 0;
    box-sizing: border-box;

    .content {
        width: 25.8rem;
        margin: 0 auto 0;

        box-sizing: border-box;

        .logo {
            width: 5.12rem;
        }

        .footer-descn {
            font-family: Arial;
            font-weight: 400;
            font-size: 0.24rem;
            color: #333333;
            line-height: 0.6rem;
            margin-top: 0.4rem;
            align-items: start;

            .title {
                font-family: Arial;
                font-weight: bold;
                font-size: 0.36rem;
                color: #333333;
            }

            >.type:nth-child(1) {
                margin-right: 2.24rem;
            }

            >.type:nth-child(2) {
                margin-right: 1.96rem;
                width: max-content;
            }

            >.type:nth-child(3) {
                /* margin-right: 1.72rem; */

                .text {
                    margin-top: 0.82rem;
                }
            }

            .text {
                margin-top: 0.3rem;
                font-family: Arial;
                font-weight: 400;
                font-size: 0.28rem;
                color: #333333;
                line-height: 0.7rem;
            }

            .email {
                width: 12rem;
                height: 1.2rem;
                background: #ffffff;
                align-items: center;
                justify-content: space-between;
                padding-right: 0.12rem;
                box-sizing: border-box;
                margin-top: 0.28rem;

                input {
                    border: none;
                    width: 60%;
                    padding-left: 0.28rem;
                    height: 94%;
                    outline: none;
                    font-family: Arial;
                    font-weight: 400;
                    font-size: 0.24rem;
                    color: #2b2b2b;
                    box-sizing: border-box;
                    line-height: 0.6rem;
                }

                >div {
                    width: 3.2rem;
                    height: 1rem;
                    text-align: center;
                    color: #FFFFFF;
                    cursor: pointer;
                    line-height: 1rem;
                    background: #000000;
                }
            }

            .rule {
                margin-top: 0.36rem;
                display: flex;

                input {
                    width: 0.36rem;
                    height: 0.36rem;
                    background: #ffffff;
                    border: 1px solid #2b2b2b;
                    margin-right: 0.18rem;
                }
            }
        }

        .footer-bottom {
            width: 7.96rem;
            font-family: Arial;
            font-weight: 400;
            font-size: 0.28rem;
            line-height: 2;
            color: #333333;
            text-align: center;
            margin: 1.6rem auto 0;
        }
    }
}

.active {
    box-shadow: 0rem 0.06rem 0.2rem 0rem rgba(40, 164, 110, 0.58);
    border: 0.04rem solid #28a46e;
}

.swiper-box {
    width: 24rem;
    position: relative;
    margin: 0.84rem auto 0;
    padding: 0 0.74rem;
    box-sizing: border-box;

    .swiper-button-prev,
    .swiper-button-next {
        &::after {
            content: "";
        }

        >img {
            width: 0.64rem;
        }
    }

    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }
}

.slideImg {
    width: 100%;
}

.content {
    box-sizing: border-box;

    .center {
        align-items: start;
        position: relative;
        box-sizing: border-box;


        .left {
            padding-top: 3.2rem;
            left: 0;
            top: 0;
            width: 3.46rem;
            margin-right: 0.78rem;

            .title {
                font-family: Arial;
                font-weight: bold;
                font-size: 0.28rem;
                color: #000000;
                line-height: 0.48rem;
            }

            .text {
                font-family: Arial;
                font-weight: 400;
                font-size: 0.24rem;
                color: #000000;
                margin-top: 0.3rem;
                line-height: 2;

                >p {
                    cursor: pointer;
                }
            }

            .price {
                >p {
                    margin-top: 0.86rem;
                }

                .interval {

                    justify-content: space-between;
                    color: #56091c;
                    font-size: 0.24rem;
                    margin-top: 0.32rem;

                    >p {

                        justify-content: space-between;
                        width: 1.6rem;
                        height: 0.48rem;
                        /* border: 0.02rem solid rgba($color: #000000, $alpha: 0.2); */
                        font-family: Arial;
                        font-weight: 400;

                        color: #000000;
                        padding: 0 0.1rem;
                        box-sizing: border-box;
                    }

                    >span {
                        display: inline-block;
                        width: 0.1rem;
                        height: 0.02rem;
                        background: #56091c;
                        margin: 0 0.08rem;
                    }
                }
            }

            .line {
                width: 3.44rem;
                height: 0.02rem;
                background: #56091c;
                margin: 0.44rem auto 0;
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    width: 0.24rem;
                    height: 0.24rem;
                    background: #ffffff;
                    top: 50%;
                    transform: translateY(-50%);
                    border-radius: 50%;
                    left: 0;
                    border: 1px solid #000000;
                }

                &::before {
                    content: "";
                    position: absolute;
                    width: 0.24rem;
                    height: 0.24rem;
                    background: #ffffff;
                    top: 50%;
                    right: 0;
                    transform: translateY(-50%);
                    border-radius: 50%;
                    border: 1px solid #000000;
                }
            }
        }
    }

    .goods-box {
        width: 22.2rem;
        margin: 0rem auto 0;
        box-sizing: border-box;
        padding-top: 0.82rem;

        .st {
            font-family: Arial;
            font-weight: 400;
            font-size: 0.44rem;
            color: #333333;
            width: 100%;
            line-height: 0.48rem;
            text-align: center;
            margin: 0;
            padding-bottom: 0.38rem;
            border-bottom: 2px solid rgba(212, 212, 212, 1);
            box-sizing: border-box;
            /* border-bottom: 1px solid rgba($color: #000000, $alpha: 0.2); */
        }

        .list {
            width: 100%;
            margin: 0.46rem auto 0;
            box-sizing: border-box;
            flex-wrap: wrap;
            justify-content: space-between;

            .list-item {
                width: 5.02rem;
                background: #ffffff;
                border-radius: 0.2rem;
                box-sizing: border-box;
                padding-bottom: 0.66rem;
                margin-top: 0.34rem;
                cursor: pointer;
                margin-right: 0.68rem;
                position: relative;
                padding: 0.2rem 0.2rem;

                >img {
                    width: 4.64rem;
                }

                .descn {
                    width: 100%;
                    margin-top: 0.2rem;
                    line-height: 1;
                    padding-left: 0.18rem;
                    box-sizing: border-box;

                    .tip {
                        font-family: Arial;
                        font-weight: 400;
                        font-size: 0.24rem;
                        color: #000000;
                        line-height: 0.48rem;
                        opacity: 0.5;
                    }

                    .title {
                        font-family: Arial;
                        font-weight: bold;
                        font-size: 0.28rem;
                        color: #000000;
                        line-height: 1;
                        height: .8rem;
                        margin-top: 0.16rem;
                    }

                    .money {
                        justify-content: space-around;
                        margin-top: 0.26rem;

                        >p {
                            font-family: Arial;
                            font-weight: 400;
                            font-size: 0.4rem;
                            color: #F24F1D;
                            line-height: 0.6rem;
                        }


                    }
                }
            }

            >.list-item:nth-child(n + 4) {
                margin-right: 0rem;
            }

            .list-item2:hover {
                box-shadow: 0rem 0.06rem 0.2rem 0rem rgba(40, 164, 110, 0.58);
                border-radius: 0.2rem;
                border: 0.04rem solid #28a46e;
            }
        }
    }

    .bar {
        width: 100%;
        margin: 1.94rem auto 0;
    }

    .logo {
        width: 22rem;
        margin: 0 auto 0.34rem;
        justify-content: start;
        font-family: Arial;
        font-weight: bold;
        font-size: 0.32rem;
        color: #2b2b2b;
        line-height: 0;

        >img {
            width: 1.28rem;
            margin-right: 0.32rem;
        }
    }
}

@media screen and (max-width: 768px) {
    .home {
        padding-top: 5.94rem;

        .top {
            >header {
                height: 3rem;
                .h-c{
                    .user-login{
                        >img{
                            width: 1rem;
                        }
                        >div{
                            width: 4.6rem;
                            height: 1rem;
                            line-height: 1rem;
                            font-size: .4rem;
                        }
                    }
                }
            }

            .nav {
                height: 2.42rem;

                .box {
                    width: 80%;

                    >p {
                        font-family: Arial;
                        font-weight: 400;
                        height: 100%;
                        font-size: 0.6rem;
                        color: #333333;
                        line-height: 400%;
                        cursor: pointer;
                    }
                }
            }
        }


    }

    .content {
        .center {
            width: 100%;

            .left {
                display: none;
            }
        }

        .goods-box {
            width: 100%;

            .st {
                font-size: 1rem;
                line-height: 1
            }

            .list {
                width: 100%;
                justify-content: space-around;

                .list-item {
                    width: 45%;
                    text-align: center;
                    padding: .5rem;
                    margin: .5rem 0;

                    >img {
                        width: 5.64rem;
                    }

                    .descn {

                        /* text-align: left; */
                        .title {
                            margin: 0.3rem 0 0 0;
                            font-size: 0.6rem;
                            height: 1rem;

                        }

                        .score {
                            margin: .7rem auto 0;
                            width: 2.5rem;
                            height: .8rem;
                            font-size: .6rem;
                            align-items: center;

                            >img {
                                width: .5rem;
                            }

                        }

                        .money {
                            width: 80%;
                            margin: 0.6rem auto 0;

                            >p {
                                font-size: 0.8rem;
                            }
                        }
                    }
                }
            }
        }
    }

    .footer {
        width: 100%;
        margin: 0rem auto 0;
        padding: 2.68rem 0 0.86rem 0;
        box-sizing: border-box;

        .content {
            width: 22.8rem;
            margin: 0 auto 0;

            box-sizing: border-box;
            padding-left: 1rem;

            .logo {
                width: 80%;
            }

            .footer-descn {
                font-family: Arial;
                font-weight: 400;
                font-size: 0.9rem;
                display: block;
                line-height: 1.5rem;
                margin-top: 0.4rem;

                .title {
                    font-size: 1rem;
                    font-weight: 600;
                }

                >.type {
                    margin-top: 1.2rem;
                }

                >.type:nth-child(1) {
                    margin-right: 1.72rem;
                }

                >.type:nth-child(2) {
                    margin-right: 1rem;
                }

                >.type:nth-child(3) {
                    margin-right: 1.72rem;

                    .text {
                        margin-top: 1.22rem;
                        line-height: 1rem;

                    }
                }

                .text {
                    margin-top: 1rem;
                    font-size: .5rem;
                }

                .email {
                    width: 90%;
                    height: 2rem;
                    align-items: center;
                    justify-content: space-between;
                    padding-right: 0.32rem;
                    box-sizing: border-box;
                    margin-top: 0.4rem;

                    input {
                        border: none;
                        width: 60%;
                        padding-left: 0.48rem;
                        height: 94%;
                        outline: none;
                        font-family: Arial;
                        font-weight: 400;
                        font-size: 0.6rem;
                        color: #2b2b2b;
                        line-height: 0.6rem;
                    }

                    >div {
                        height: 1rem;
                        padding: 0 0.6rem;
                        text-align: center;
                        line-height: center;
                        font-size: 0.6rem;
                        line-height: 1rem;
                    }
                }

                .rule {
                    margin-top: 0.36rem;
                    display: flex;
                    font-size: 0.6rem;
                    line-height: 1.3;

                    input {
                        width: 0.76rem;
                        height: 0.76rem;
                        background: #ffffff;
                        border: 1px solid #2b2b2b;
                        margin-right: 0.18rem;
                    }
                }
            }

            .footer-bottom {
                width: 18.96rem;
                font-family: Arial;
                font-weight: 400;
                font-size: 0.68rem;
                line-height: 2;
                text-align: center;
                margin: 1.6rem auto 0;
            }
        }
    }

    .swiper-box {
        width: 95%;
    }
}

.toast-2 {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2002;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    box-sizing: content-box;
    width: 88px;
    max-width: 70%;
    min-height: 88px;
    padding: 16px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    white-space: pre-wrap;
    text-align: center;
    word-break: break-all;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
}

.toast--html-2,
.toast--text-2 {
    width: fit-content;
    min-width: 96px;
    min-height: 0;
    padding: 8px 12px;
}

.toast--text-2 .toast__text-2 {
    margin-top: 0;
}