/**
 * banner styles
 **/
.banner{
    height: auto;
}
.banner .banner-content{
    position: absolute;
    top: 50%;
    left: var(--wp);
    transform: translateY(-50%);
    width: 669px;
    max-width: 50%;
}
.banner .banner-content .banner-title{
    font-weight: bold;
    font-size: 50px;
    color: #333333;
}
.banner .banner-content .banner-desc{
    font-size: 16px;
    color: #333333;
    margin-top: 30px;
}
.banner .banner-prev,
.banner .banner-next{
    width: 60px;
    height: 60px;
}
.banner .banner-prev{
    left: 30px;
}
.banner .banner-next{
    right: 30px;
}
.banner .banner-prev::after,
.banner .banner-next::after{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/prev-active.webp);
    background-size: 100% 100%;
}
.banner .banner-next::after{
    background-image: url(../images/next-active.webp);
}
.banner .banner-prev.swiper-button-disabled::after{
    background-image: url(../images/prev.webp);
}
.banner .banner-next.swiper-button-disabled::after{
    background-image: url(../images/next.webp);
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .banner .banner-content .banner-title{
        font-size: 40px;
    }
    .banner .banner-content .banner-desc{
        font-size: 16px;
        margin-top: 20px;
    }
    .banner .banner-prev,
    .banner .banner-next{
        width: 50px;
        height: 50px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .banner .banner-content .banner-title{
        font-size: 30px;
    }
    .banner .banner-content .banner-desc{
        font-size: 14px;
        margin-top: 10px;
    }
    .banner .banner-prev,
    .banner .banner-next{
        width: 40px;
        height: 40px;
    }
}
@media only screen and (max-width: 768px) {
    .banner .banner-content{
        background: rgba(0, 0, 0, 0.2);
        max-width: 100%;
        height: 100%;
        padding: 0;
        left: 0;
        top: 50%;
    }
    .banner .banner-content .banner-title{
        max-width: 80%;
        font-size: 18px;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .banner .banner-content .banner-desc{
        display: none;
    }
    .banner .banner-prev,
    .banner .banner-next{
        width: 30px;
        height: 30px;
    }
}


/**
 * hot products styles
 **/
.product{
    padding: var(--wpt) var(--wp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.product .product-category{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    margin-top: 40px;
    background: #F0F0F0;
}
.product .product-category .product-category-item{
    width: 33.33%;
    text-align: center;
    line-height: 76px;
    cursor: pointer;
}
.product .product-category .product-category-item.active{
    background: #FFFFFF;
    border-top: 4px solid #3ABD71;
}

.product-list{
    padding: 30px 30px 50px;
    background: #FFFFFF;
}
.product-item{
    display: none;
}
.product-item.active{
    display: flex;
}
.product-item .product-item-content{
    width: 24%;
    margin-right: 1.33%;
}
.product-item .product-item-content:last-child{
    margin-right: 0;
}
.product-item .product-item-image{
    width: 100%;
    border: 1px solid #DBDBDB;
}
.product-item .product-item-image img{
    width: 100%;
    transition: all 0.3s ease-in-out;
}
.product-item .product-item-title{
    font-weight: bold;
    font-size: 20px;
    color: #000000;
    text-align: center;
    margin-top: 20px;
}
.product-item .product-item-intro{
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin-top: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.product-item .product-item-more{
    font-size: 16px;
    color: #999999;
    line-height: 20px;
    text-align: center;
    margin-top: 30px;
}
.product-item .product-item-more a{
    color: #999999;
}
.product-item .product-item-content:hover .product-item-image img{
    transform: scale(1.05);
}
.product-item .product-item-content:hover .product-item-more a{
    color: #3ABD71;
}
@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .product .product-category{
        margin-top: 30px;
    }
    .product .product-category .product-category-item{
        line-height: 66px;
    }
    .product-list{
        padding: 25px 25px 40px;
    }
    .product-item .product-item-title{
        font-size: 18px;
        margin-top: 15px;
    }
    .product-item .product-item-intro{
        font-size: 14px;
        margin-top: 15px;
    }
    .product-item .product-item-more{
        font-size: 14px;
        margin-top: 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .product .product-category{
        margin-top: 20px;
    }
    .product .product-category .product-category-item{
        line-height: 56px;
    }
    .product-list{
        padding: 20px 20px 30px;
    }
    .product-item .product-item-title{
        font-size: 16px;
        margin-top: 10px;
    }
    .product-item .product-item-intro{
        font-size: 12px;
        margin-top: 10px;
    }
    .product-item .product-item-more{
        font-size: 12px;
        margin-top: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .product .product-category{
        margin-top: 10px;
    }
    .product .product-category .product-category-item{
        line-height: 40px;
        font-size: 12px;
    }
    .product-list{
        padding: 20px 20px 30px;
    }
    .product-item .product-item-content{
        width: 49%;
        margin-right: 2%;
    }
    .product-item .product-item-content:nth-child(2n){
        margin-right: 0;
    }
    .product-item .product-item-title{
        font-size: 16px;
        margin-top: 10px;
    }
    .product-item .product-item-intro{
        display: none;
    }
    .product-item .product-item-more{
        font-size: 12px;
        margin-top: 10px;
    }
}


/**
 * service styles
 **/
.service{
    padding-left: var(--wp);
    background: #F7F7F7;
    display: flex;
    justify-content: space-between;
}
.service .service-content{
    width: 70%;
    padding: var(--wpt) 0;
}
.service .service-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service .service-list .service-item{
    width: 49%;
    position: relative;
    display: flex;
    margin-top: 60px;
}
.service .service-list .service-item .service-item-img{
    width: 60px;
    height: 60px;
}
.service .service-list .service-item .service-item-content{
    margin-left: 20px;
}
.service .service-list .service-item .service-item-title{
    font-size: 20px;
}
.service .service-list .service-item .service-item-desc{
    font-size: 16px;
    flex: 1;
    margin-top: 20px;
}
.service .service-list .service-item .service-item-bottom{
    margin-top: 50px;
    display: flex;
}
.service .service-image{
    width: 25%;
}
.service .service-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .service .service-list .service-item{
        margin-top: 50px;
    }
    .service .service-list .service-item .service-item-img{
        width: 50px;
        height: 50px;
    }
    .service .service-list .service-item .service-item-content{
        margin-left: 16px;
    }
    .service .service-list .service-item .service-item-title{
        font-size: 18px;
    }
    .service .service-list .service-item .service-item-desc{
        font-size: 14px;
        margin-top: 15px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .service .service-list .service-item{
        margin-top: 30px;
    }
    .service .service-list .service-item .service-item-img{
        width: 40px;
        height: 40px;
    }
    .service .service-list .service-item .service-item-content{
        margin-left: 12px;
    }
    .service .service-list .service-item .service-item-title{
        font-size: 16px;
    }
    .service .service-list .service-item .service-item-desc{
        font-size: 12px;
        margin-top: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .service {
        padding-right: var(--wp);
    }
    .service .service-content{
        width: 100%;
    }
    .service .service-image{
        display: none;
    }
    .service .service-list .service-item{
        margin-top: 20px;
        width: 100%;
    }
    .service .service-list .service-item .service-item-img{
        width: 40px;
        height: 40px;
    }
    .service .service-list .service-item .service-item-content{
        margin-left: 12px;
    }
    .service .service-list .service-item .service-item-title{
        font-size: 16px;
    }
    .service .service-list .service-item .service-item-desc{
        font-size: 12px;
        margin-top: 10px;
    }
}


.customized{
    padding: var(--wpt) var(--wp);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.customized .customized-title{
    font-weight: bold;
    font-size: 20px;
    color: #000000;
}
.customized .customized-content{
    font-size: 16px;
    color: #666666;
    margin-top: 40px;
}
.customized .customized-btn{
    width: 300px;
    height: 60px;
    background: #3ABD71;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 60px;
    text-align: center;
}
.customized .customized-btn a{
    display: block;
    color: #FFFFFF;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .customized .customized-content{
        font-size: 14px;
    }
    .customized .customized-title{
        font-size: 18px;
    }
    .customized .customized-content{
        margin-top: 20px;
    }
    .customized .customized-btn{
        width: 260px;
        height: 50px;
        font-size: 14px;
        line-height: 50px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .customized .customized-content{
        font-size: 12px;
    }
    .customized .customized-title{
        font-size: 16px;
    }
    .customized .customized-content{
        margin-top: 10px;
    }
    .customized .customized-btn{
        width: 220px;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 768px) {
    .customized .customized-content{
        font-size: 12px;
    }
    .customized .customized-title{
        font-size: 16px;
    }
    .customized .customized-content{
        margin-top: 10px;
    }
    .customized .customized-btn{
        width: 180px;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
    }
}


.line{
    width: var(--bw);
    height: 1px;
    background: #DBDBDB;
    margin: 0 auto;
}

/**
 * about styles
 **/
.about{
    padding: var(--wpt) var(--wp);
    position: relative;
}
.about .about-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.about .about-left{
    width: 44%;
}
.about .about-left .title-wrap{
    justify-content: flex-start;
}
.about .company-title{
    font-size: 24px;
    color: #000000;
    margin-top: 60px;
}
.about .company-content{
    font-size: 16px;
    color: #666666;
    margin-top: 20px;
}
.about .company-more{
    width: 180px;
    height: 46px;
    border: 1px solid #DBDBDB;
    font-size: 16px;
    color: #666666;
    line-height: 44px;
    text-align: center;
    margin-top: 60px;
}
.about .company-more a{
    display: block;
    color: #666666;
}
.about .company-more:hover{
    border-color: var(--c);
}
.about .company-more:hover a{
    color: var(--c);
}
.about .about-right{
    width: 53.75%;
}
.about .about-right img{
    width: 100%;
}
.about-list{
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}
.about-list .about-item{
    display: flex;
    align-items: center;
}
.about-list .about-item .about-item-icon{
    width: 114px;
    height: 114px;
}
.about-list .about-item .about-item-content{
    margin-left: -10px;
}
.about-list .about-item .about-item-content .about-item-num{
    padding-left: 30px;
    font-weight: bold;
    font-size: 80px;
    color: #000000;
    line-height: 89px;
    display: flex;
    align-items: center;
    z-index: -1;
    position: relative;
}
.about-list .about-item .about-item-content .about-item-num .about-item-unit{
    font-size: 16px;
    margin-left: 10px;
}
.about-list .about-item .about-item-content .about-item-num .about-item-desc{
    font-size: 16px;
    margin-left: 10px;
    margin-top: 40px;
    line-height: 24px;
}
.about-list .about-item .about-item-content .about-item-num::after{
    content: "";
    width: 95%;
    height: 10px;
    background: #3ABD71;
    position: absolute;
    z-index: -2;
    left: 0;
    bottom: 3px;
}
.about-list .about-item .about-item-content .about-item-name{
    font-weight: bold;
    font-size: 18px;
    color: #000000;
    padding-left: 30px;
}
.about .about-left-bg{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -10;
}
.about .about-right-bg{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -10;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .about .company-title{
        margin-top: 40px;
        font-size: 22px;
    }
    .about .company-content{
        font-size: 14px;
        margin-top: 15px;
    }
    .about .company-more{
        width: 160px;
        height: 42px;
        line-height: 40px;
        margin-top: 40px;
        font-size: 14px;
    }
    .about-list{
        margin-top: 80px;
    }
    .about-list .about-item .about-item-icon{
        width: 96px;
        height: 96px;
    }
    .about-list .about-item .about-item-content .about-item-num{
        padding-left: 20px;
        font-size: 60px;
        line-height: 70px;
    }
    .about-list .about-item .about-item-content .about-item-name{
        font-size: 16px;
        padding-left: 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .about .company-title{
        margin-top: 20px;
        font-size: 20px;
    }
    .about .company-content{
        font-size: 12px;
        margin-top: 10px;
    }
    .about .company-more{
        width: 140px;
        height: 38px;
        line-height: 36px;
        margin-top: 20px;
        font-size: 12px;
    }
    .about-list{
        margin-top: 40px;
    }
    .about-list .about-item .about-item-icon{
        width: 60px;
        height: 60px;
    }
    .about-list .about-item .about-item-content .about-item-num{
        padding-left: 15px;
        font-size: 40px;
        line-height: 46px;
    }
    .about-list .about-item .about-item-content .about-item-num .about-item-desc{
        font-size: 14px;
        margin-top: 30px;
    }
    .about-list .about-item .about-item-content .about-item-name{
        font-size: 14px;
        padding-left: 15px;
    }
}
@media only screen and (max-width: 768px) {
    .about .company-title{
        margin-top: 20px;
        font-size: 20px;
    }
    .about .about-left{
        width: 100%;
    }
    .about .about-right{
        display: none;
    }
    .about .company-content{
        font-size: 12px;
        margin-top: 10px;
    }
    .about .company-more{
        width: 120px;
        height: 34px;
        line-height: 32px;
        margin-top: 20px;
        font-size: 12px;
    }
    .about-list{
        margin-top: 20px;
    }
    .about-list .about-item .about-item-icon{
        width: 40px;
        height: 40px;
    }
    .about-list .about-item .about-item-content .about-item-num{
        padding-left: 12px;
        font-size: 24px;
        line-height: 36px;
    }
    .about-list .about-item .about-item-content .about-item-num .about-item-desc{
        font-size: 12px;
        margin-top: 20px;
    }
    .about-list .about-item .about-item-content .about-item-num::after{
        height: 6px;
    }
    .about-list .about-item .about-item-content .about-item-name{
        font-size: 12px;
        padding-left: 12px;
    }
}


.factory{
    padding: var(--wpt) var(--wp);
    background: #F7F7F7;
}
.factory .factory-list{
    margin-top: 60px;
    display: grid;
    /* 24 列，每列等宽，方便精细控制跨度 */
    grid-template-columns: repeat(24, 1fr);
    /* 3 行：前两行各占约 30% 高度，第三行占 40% */
    grid-template-rows: 30% 30% 40%;
    gap: 20px;               /* 图片间隙 */
    padding: 4px;           /* 外边框 */
    /* 让整体高度自适应，保持 3:2 左右的比例 */
    aspect-ratio: 2 / 1;
}
.factory .factory-list .factory-item {
    overflow: hidden;
    display: flex;
}
.factory .factory-list .factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 填满并裁剪，不变形 */
    display: block;
}
.factory .factory-list .factory-item.item-1 {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
}
.factory .factory-list .factory-item.item-2 {
    grid-column: 1 / 7;
    grid-row: 2 / 3;
}
.factory .factory-list .factory-item.item-3 {
    grid-column: 7 / 25;
    grid-row: 1 / 3;
}
.factory .factory-list .factory-item.item-4 {
    grid-column: 1 / 9;
    grid-row: 3 / 4;
}
.factory .factory-list .factory-item.item-5 {
    grid-column: 9 / 19;
    grid-row: 3 / 4;
}
.factory .factory-list .factory-item.item-6 {
    grid-column: 19 / 25;
    grid-row: 3 / 4;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .factory .factory-list{
        margin-top: 40px;
        gap: 15px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .factory .factory-list{
        margin-top: 20px;
        gap: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .factory .factory-list{
        margin-top: 20px;
        gap: 5px;
    }
}



/**
 * news styles
 **/
.news{
    padding: var(--wpt) var(--wp);
}
.news .title-wrap{
    justify-content: flex-start;
}
.news .news-desc{
    font-size: 16px;
    color: #666666;
    margin-left: 60px;
}
.news-list{
    display: flex;
    margin-top: 60px;
}
.news-list .news-item{
    width: 32%;
    margin-right: 2%;
    border: 1px solid #DBDBDB;
}
.news-list .news-item:last-child{
    margin-right: 0;
}
.news-list .news-item .news-item-img{
    width: 100%;
    aspect-ratio: 460 / 360;
    overflow: hidden;
}
.news-list .news-item .news-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-in-out;
}
.news-list .news-item .news-item-content{
    padding: 20px;
}
.news-list .news-item .news-item-title{
    font-weight: bold;
    font-size: 18px;
    color: #000000;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list .news-item .news-item-date{
    font-size: 16px;
    color: var(--c);
}
.news-list .news-item .news-item-desc{
    font-size: 16px;
    color: #666666;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
}
.news-list .news-item .news-item-line{
    width: 100%;
    height: 1px;
    background: #DBDBDB;
    margin: 20px 0;
}
.news-list .news-item:hover .news-item-img img{
    transform: scale(1.1);
}
.news-list .news-item:hover .news-item-title{
    color: var(--c);
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .news .news-desc{
        font-size: 14px;
    }
    .news-list .news-item .news-item-content{
        padding: 15px;
    }
    .news-list .news-item .news-item-title{
        font-size: 16px;
    }
    .news-list .news-item .news-item-date,
    .news-list .news-item .news-item-desc{
        margin-top: 6px;
        font-size: 14px;
    }
    .news-list .news-item .news-item-line{
        margin: 10px 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .news-list{
        margin-top: 40px;
    }
    .news .news-desc{
        font-size: 14px;
    }
    .news-list .news-item .news-item-content{
        padding: 10px;
    }
    .news-list .news-item .news-item-title{
        font-size: 14px;
    }
    .news-list .news-item .news-item-date,
    .news-list .news-item .news-item-desc{
        margin-top: 2px;
        font-size: 12px;
    }
    .news-list .news-item .news-item-line{
        margin: 5px 0;
    }
}
@media only screen and (max-width: 768px) {
    .news-list{
        flex-wrap: wrap;
        margin-top: 20px;
    }
    .news-list .news-item{
        margin-top: 10px;
        width: 100%;
    }
    .news .news-desc{
        font-size: 14px;
    }
    .news-list .news-item .news-item-content{
        padding: 10px;
    }
    .news-list .news-item .news-item-title{
        font-size: 14px;
    }
    .news-list .news-item .news-item-date,
    .news-list .news-item .news-item-desc{
        margin-top: 2px;
        font-size: 12px;
    }
    .news-list .news-item .news-item-line{
        margin: 5px 0;
    }
}





/**
 * quote styles
 **/
.quote{
    padding: 0 var(--wp) var(--wpt);
    background: #F8F8F8;
}
.quote .quote-title{
    font-weight: bold;
    font-size: 26px;
    color: var(--c);
}
.quote .quote-line{
    width: 100%;
    height: 4px;
    background: var(--c);
    margin-top: 10px;
}
.quote .quote-desc{
    font-size: 16px;
    color: #666666;
    margin-top: 40px;
}
.quote .quote-form{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.quote .quote-form .quote-item{
    width: 32%;
    margin-top: 20px;
}
.quote .quote-form .quote-item .quote-item-title{
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
}
.quote .quote-form .quote-item .quote-item-title span{
    color: var(--c);
}
.quote .quote-form .quote-item .quote-item-input{
    width: 100%;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    font-size: 16px;
    outline: none;
    padding-left: 14px;
    background: transparent;
}
.quote .quote-form .quote-content{
    width: 100%;
}
.quote .quote-form .quote-content .quote-item-content{
    width: 100%;
    height: 300px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    outline: none;
    resize: none;
    padding: 10px 14px;
    font-size: 16px;
    background: transparent;
}
.quote .quote-form .quote-item .quote-item-input::placeholder,
.quote .quote-form .quote-item .quote-item-content::placeholder{
    color: #999999;
}
.quote .quote-form .quote-btn {
    width: 100%;
    margin-top: 14px;
}

@media only screen and (min-width: 1000px) and (max-width: 1400px) {
    .quote .quote-title{
        font-size: 22px;
    }
    .quote .quote-line{
        margin-top: 8px;
    }
    .quote .quote-desc{
        font-size: 15px;
        margin-top: 30px;
    }
    .quote .quote-form{
        margin-top: 10px;
    }
    .quote .quote-form .quote-item{
        margin-top: 10px;
    }
    .quote .quote-form .quote-item .quote-item-title{
        font-size: 15px;
        margin-bottom: 8px;
    }
    .quote .quote-form .quote-item .quote-item-input{
        font-size: 15px;
    }
    .quote .quote-form .quote-content .quote-item-content{
        height: 240px;
        font-size: 15px;
    }
    .quote .quote-form .quote-btn{
        margin-top: 10px;
    }
}
@media only screen and (max-width: 1000px) {
    .quote .quote-title{
        font-size: 18px;
    }
    .quote .quote-line{
        margin-top: 6px;
    }
    .quote .quote-desc{
        font-size: 14px;
        margin-top: 20px;
    }
    .quote .quote-form{
        margin-top: 0;
    }
    .quote .quote-form .quote-item{
        margin-top: 10px;
    }
    .quote .quote-form .quote-item .quote-item-title{
        font-size: 14px;
        margin-bottom: 6px;
    }
    .quote .quote-form .quote-item .quote-item-input{
        font-size: 14px;
    }
    .quote .quote-form .quote-content .quote-item-content{
        height: 200px;
        font-size: 14px;
    }
    .quote .quote-form .quote-btn{
        margin-top: 6px;
    }
}
@media only screen and (max-width: 768px) {
    .quote{
        padding: 0 10px 40px;
    }
    .quote .quote-form .quote-item{
        width: 100%;
    }
    .quote .quote-form .quote-item .quote-item-input{
        font-size: 12px;
        padding-left: 5px;
    }
}