
main .banner .swiper-pagination-banner{
    position: absolute;
}
main .banner .swiper-slide img{
    width: 100%;
}

main .products{
    margin-top: 1.2rem;
    padding: 1rem 0;
    background-color: #F9F9F9;
}
main .products .top{
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: space-between;
    margin-left: -20px;
    margin-right: -20px;
}
main .products .top .box{
    padding-left: 20px;
    padding-right: 20px;
}
main .products .top .box .cart{
    cursor: pointer;
    position: relative;
}
main .products .top .box .cart .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(48, 48, 48,.15);
}
main .products .top .box .cart p{
    position: absolute;
    width: 100%;
    height: .56rem;
    background-color: rgba(48, 48, 48,0.7);
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
main .products .top .box.active .cart p{
    background-color: #C30D23;
}

main .products .top_phone{
    position: relative;
    margin-bottom: 0.4rem;
}
main .products .top_phone input{
    padding: 0 .2rem;
}
main .products .top_phone svg{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

}
main .products .top_phone ul{
    width: 100%;
    padding: 10px;
}
main .products .top_phone ul li{
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 3px #30303020;
    border-radius: 5px;
}
main .products .top_phone ul li a{
    width: 100%;
    display: block;
    text-align: center;
}


main .products .btm .swiper{
    position: relative;
    display: none;
}
main .products .btm .swiper.active{
    display: block;
}
main .products .btm .cart .img{
    overflow: hidden;
    position: relative;
}
main .products .btm .cart .img img{
    width: 100%;
}
main .products .btm .cart .img .mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(27, 26, 26,0.15);
    opacity: 0;
    transition: all 0.5s;
}
main .products .btm .cart:hover .img .mask{
    opacity: 1;
}
main .products .btm .cart .txt{
    flex-direction: column;
    text-align: center;
   padding: 0.2rem 0.3rem;
   background-color: #fff;
}
main .products .btm .cart .txt p{
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
main .products .btm .cart .txt span{
    color: #616161;
    display: block;
    margin-bottom: 20px;
}
main .products .btm .cart .txt p.btn{
    width: 100%;
    background-color: #303030;
    color: #fff;
    line-height: 40px;
}
main .products .btm .cart:hover .txt p.btn{
    background-color: #C30D23;
}

.products .swiper-button-next, .products .swiper-button-prev{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #303030;
}
.products .swiper-button-next::after, .products .swiper-button-prev::after{
    font-size: 14px;
    color: #fff;
}
.products .swiper-button-next{
    right: -24px;
}
.products .swiper-button-prev{
    left: -24px;
}

main .about{
    padding: 1.2rem 0;
}
main .about .content{
    display: flex;
    justify-content: space-between;
}
main .about .content .left{
    max-width: 720px;
    width: 100%;
    margin-right: 0.6rem;
}
main .about .content .left h2{
    margin-bottom: 0.4rem;
}
main .about .content .left p{
    line-height: 24px;
}
main .about .content .left a{
    margin-top: 0.6rem;
}
main .about .content .right{
    max-width: 740px;
    width: 100%;
    height: 415px;
    position: relative;
}
main .about .content .right iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

main .articles .swiper-articles{
    padding: 0.3rem;
    padding-bottom: .6rem;
}
main .articles .title h2{
    text-align: center;

}
.articles .cart{
    box-shadow: 0px 2px 10px 1px rgba(48, 48, 48, 0.1);
}
.articles .cart .btm{
    padding: 0.3rem 0.4rem;

}
.articles .cart .btm h3{
    font-size: 0.24rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
.articles .cart .btm p{
    color: #616161;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
.articles .cart .btm span{
    display: flex;
    background-color: #fff;
    border: 1px solid #C30D23;
    color: #C30D23;
    transition: all .5s;
}
.articles .cart:hover .btm span{
    background-color: #C30D23;
    color: #fff;
}
.articles .cart .btm span svg .a{
    stroke:#C30D23;
}
.articles .cart:hover .btm span svg .a{
    stroke:#fff;
}
.articles .cart .btm span svg{
    margin-left: 10px;
}

main .youtube{
    padding: 1rem 0;
    padding-top: 0.6rem;
    margin-bottom: 1.2rem;
    background-color: #FFFBFB;
}
main .youtube .title h2{
    text-align: center;
}
/* main .youtube .swiper-slide{
    cursor: pointer;
}
main .youtube .swiper-slide p{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: .48rem;
    line-height: .48rem;
    padding: 0 10px;
    text-align: center;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(rgba(48, 48, 48,0.3),rgba(48, 48, 48,0.7));;
}
main .youtube .swiper-slide .player{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

} */
main .youtube .swiper-youtube{
    padding: 10px;
}
main .youtube .swiper-slide .cart{
    box-shadow: 0px 2px 10px 1px rgba(48, 48, 48, 0.1);
}
main .youtube .swiper-slide .cart .img{
    position: relative;
}
main .youtube .swiper-slide .cart .img .player{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
main .youtube .swiper-slide .cart .btm{
    padding: 0.3rem 0.4rem;

}
main .youtube .swiper-slide .cart .btm h3{
    font-size: 0.24rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
main .youtube .swiper-slide .cart .btm p{
    color: #616161;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
main .youtube .swiper-slide .cart .btm span{
    display: flex;
    background-color: #fff;
    border: 1px solid #C30D23;
    color: #C30D23;
    transition: all .5s;
}
main .youtube .swiper-slide .cart:hover .btm span{
    background-color: #C30D23;
    color: #fff;
}
main .youtube .swiper-slide .cart .btm span svg .a{
    stroke:#C30D23;
}
main .youtube .swiper-slide .cart:hover .btm span svg .a{
    stroke:#fff;
}
main .youtube .swiper-slide .cart .btm span svg{
    margin-left: 10px;
}


main .contact{
    background: #f9f9f9;
    padding: 0.48rem 0;


}
main .contact .content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
main .contact .content .left{
    max-width: 480px;
    width: 100%;
}
main .contact .content .left h3 a{
    font-family: 'Arial-Bold';
    font-size: 24px;
    margin-bottom: 16px;
}


main .contact .content .right{
    display: flex;
    align-items: center;
}
main .contact .content .right h3{
    margin-right: 30px;
    font-family: 'Arial-Bold';
    font-size: 24px;
}
main .contact .content .right ul{
    display: flex;
    flex-wrap: wrap;
}
main .contact .content .right ul li{
    width: 60px;
    height: 60px;
    border: 1px solid #EAEAEA;
    margin-right: 12px;
}
main .contact .content .right form{
    display: flex;
    align-items: center;
}
main .contact .content .right form input{
    height: 60px;
    width: 350px;
    margin-right: 20px;
    padding: 0 20px;
    border: 1px solid #DFDFDF;
    color: #999;
    background-color: #FFFBFB;
}
main .contact .content .right form button{
    height: 60px;
    width: 60px;
    background-color: #C30D23;
    cursor: pointer;
}


@media (max-width:1279px) {
    main .contact .content{
        flex-direction: column;
        align-items: flex-start;
    }
    main .contact .content .left{
        margin-bottom: 30px;
    }


}

@media (max-width:1023px) {
    .products .swiper-button-next{
        right: -10px;
    }
    .products .swiper-button-prev{
        left: -10px;
    }
    .products .swiper-button-next, .products .swiper-button-prev{
        width: 36px;
        height: 36px;
    }
}
@media (max-width:767px) {
    main .about .content .left{
        margin-right: 0;
    }
    main .about .content .right{
        margin-bottom: 30px;
        height: 300px;
    }
    main .contact .content .right h3{
        margin-bottom: 0.2rem;
    }
    main .contact .content .right ul li{
        margin-bottom: 12px;
        width: 36px;
        height: 36px;
    }
    main .articles .swiper-articles{
        padding-bottom: 30px;
    }

    .articles .cart .btm h3{
        font-size: 0.32rem;
    }
    main .contact .content .right{
        flex-direction: column;
        align-items: flex-start;
    }
    main .banner .swiper-slide img{
        width: 100%;
        height: 210px;
        object-fit: cover;
    }
    main .youtube .swiper-slide .cart .btm h3{
        font-size: 0.32rem;
    }
    main .contact .content .right form{
        flex-direction: column;
        align-items: flex-start;
    }
    main .contact .content .right form input{
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 0.28rem;
    }
    main .contact .content .right form button{
        width: 100%;
    }
    main .contact .content .right .share{
        margin-top: 30px;
    }
}





