/* banner */
.banner-bg {
    width: 100%;
    height: 600px;
    background-position: 50%;
    background-image: url(../images/home-banner-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.banner-bg .banner {
    width: 946px;
}
.el-carousel--horizontal {
    overflow-x: hidden;
}
.el-carousel {
    position: relative;
}
.el-carousel__container {
    position: relative;
    height: 300px;
}
.el-carousel__item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    overflow: hidden;
    z-index: 0;
}
.banner-bg .banner {
    width: 946px;
}
/* bd */
.banner-bg .shortcut-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 26px;
}
.banner-bg .shortcut-wrap .shortcut {
    width: 386px;
    height: 108px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    padding: 30px 20px;
}
.banner-bg .shortcut-wrap .shortcut .icon {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    display: inline-block;
}
.banner-bg .shortcut-wrap .shortcut .content .name {
    font-size: 18px;
    margin-right: 6px;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
}
.banner-bg .shortcut-wrap .shortcut .content .desc {
    font-size: 13px;
    margin-right: 6px;
    color: #9a9a9a;
}
.banner-bg .shortcut-wrap .purchase:hover .name {
    color: #fed18b;
}
.banner-bg .shortcut-wrap .settle:hover .name {
    color: #7cded8;
}
.banner-bg .shortcut-wrap .precursor-record:hover .name {
    color: #6581fe;
}
.swiper-pagination-bullet{
    background: #7cded8 !important;
}
.swiper-pagination-bullet-active {
    background: #30c58f;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 20px !important;
}

/* 1 */
.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.productnameH3{
    font-size: 12px;
    background: #c30000;
    color: #fff;
    border-radius: 4px;
    display: block;
    width: 45px;
    text-align: center;
    float: left;
    margin-right: 5px;
}
.home-discount {
    height: 580px;
    background-image: url(../images/yanxuan-bg.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.relative {
    position: relative;
}
.home-discount .header {
    position: relative;
}
.home-discount .title-bg {
    background: url(../images/yanxuan-title-bg.png) 50% no-repeat;
    background-size: cover;
    width: 230px;
    height: 95px;
    position: absolute;
    left: 483px;
    top: 70px;
}
.home-discount .title-container {
    margin: 0 auto;
}
.home-discount .model-title {
    padding-top: 85px;
    font-weight: 600;
    font-size: 30px;
    color: #fff;
    text-align: center;
}
.home-discount .model-sub-title {
    padding-top: 7px;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.home-discount .discount-list {
    margin-top: 40px;
    margin-bottom: 16px;
}
.home-discount .discount-list .discount-item {
    float: left;
    width: 32%;
    height: 131px;
    border: 1px solid #f2f2f2;
    box-sizing: border-box;
    border-radius: 4px;
    position: relative;
    padding: 20px;
    margin-bottom: 24px;
    vertical-align: top;
    margin: 0 5px 10px;
    background: #fff;
}
.home-discount .discount-list .discount-item:hover{
    background: #eaf8f5f0;
    transform: translateY(-2px);
}
.home-discount .discount-list .discount-item .block {
    display: flex;
    width: 100%;
    height: 100%;
}
.home-discount .discount-list .discount-item .chemical {
    width: 100px;
    height: 90px;
}
.home-discount .discount-list .discount-item .block .product-info {
    width: 200px;
    padding-left: 16px;
}
.home-discount .discount-list .discount-item .product-info .product-name {
    width: 210px;
    color: #000;
    height: 20px;
    line-height: 18px;
}
.home-discount .discount-list .discount-item .product-info .cas {
    color: #999;
    margin-top: 15px;
    text-align: left;
    font-size: 13px;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ex-price {
    font-size: 14px;
    margin-top: 13px;
    line-height: 30px;
}
.ex-price .num {
    font-size: 25px;
    color: #F10C09;
    font-weight: 700;
}
.num {
    font-family: PingFangSC-Regular-num;
}


/* 2 */
.news-model {
    height: 475px;
    overflow: hidden;
    background: #fff;
}
.news-model .title-bg {
    background: url(../images/news-title-bg.png) 50% no-repeat;
    background-size: cover;
    width: 45px;
    height: 45px;
    position: absolute;
    left: 494px;
    top: 85px;
}
.news-model .model-title {
    padding-top: 85px;
    font-weight: 600;
    font-size: 30px;
    color: #333;
    text-align: center;
}
.news-model .content {
    margin-top: 57px;
}
.news-model .news-model {
    width: 377px;
    margin-right: 2%;
    margin-top: 5%;
    height: 155px;
    background: #fff;
    border: 1px solid #f2f2f2;
    box-sizing: border-box;
    box-shadow: 0 4px 20px hsl(0deg 0% 60% / 20%);
    cursor: pointer;
}
.news-model .news-model:nth-child(3){
    margin-right: 0;
}
.news-model .news-model .news-content {
    padding: 25px;
    height:155px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
}
.news-model .news-model .news-title {
    font-size: 14px;
    line-height: 32px;
    color: #333;
}
.news-model .model-list {
    font-size: 0;
    margin-left: 87px;
}
.news-model .model-list .category .category-item {
    display: inline-block;
    margin-right: 17px;
    width: 94px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: hsla(0,0%,78%,.3);
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.news-model .model-list .category .category-item.active {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(90.72deg, #007aff 47.47%, #0559ad 97.98%);
}
.news-model .model-list .news-list {
    width: 660px;
    margin-top: 54px;
}
.news-model .model-list .news-list .news-item {
    display: block;
    margin-top: 23px;
    font-size: 16px;
    color: #666;
}
.news-model .model-list .news-list .news-item:hover{
    transform: translateY(-2px);
}
.news-model .news-model:hover {
    transform: translateY(-2px);
}