/* 文字动画 */
.font-scroll-warp {
    overflow: hidden;
    position: absolute;
    height: 60px;
    width: 100%;
    top: 45%;
    left: 0;

}

@keyframes font-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



.font-scroll-warp .font-scroll-content {
    width: 0px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    color: var(--theme);
    transition: width 0.5s linear;
}

.font-scroll-warp .font-scroll-content:before {
    content: '【';
    background-color: transparent;
    font-size: 4rem;
    position: absolute;
    top: 4px;
    left: 0;
    transform: translateX(-100%);
}

.font-scroll-warp .font-scroll-content:after {
    content: '】';
    font-size: 4rem;
    position: absolute;
    background-color: transparent;
    right: 0;
    top: 4px;
    transform: translateX(100%);
}

.font-scroll-warp ul {
    height: 60px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.font-scroll-warp ul li {
    width: auto;
    list-style: none;
    position: absolute;
    top: 0;
    white-space: nowrap;
    margin: 0 auto;
    transform: translateX(-50%);
    left: 50%;
    color: var(--white);
    opacity: 0;
}

.option-warp {
    height: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;

}

.m-option-warp {
    display: none;
    width: 86%;
    margin-left: 7%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.m-option-warp .option-content {
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--primary-dark);
    color: #fff;
}

.m-option-warp .option-content i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* .option-warp:after {
    content: '';
    display: block;
    height: 4.2rem;
    width: 100%;
    background-color: var(--white);
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: height 0.5s linear;
} */

/* .option-warp.clearBg:after {
    height: 145px;
} */

.option-warp .option-content {
    position: relative;
    width: 76.875rem;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    z-index: 2;
}

.option-warp .option-content .option-panel {
    /* height: 3.125rem; */
    /* background-color: var(--theme); */
    /* transform: translateY(-2.125rem); */
    position: relative;
    transition: all 0.2s linear;

}

.option-warp .option-content .panel-warp {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.option-warp .option-content .panel-warp:hover .minH {
    padding: 3.625rem 2.5rem 0;
}

.option-warp .option-content .panel-top {
    height: 0px;
    width: 100%;
    background-color: var(--white);
    transition: height 0.5s linear;
    overflow: hidden;
}

.option-warp .option-content .panel-top img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.panel-warp.clearBg .panel-content {
    padding: 3.625rem 2.5rem 0 !important;
}

.panel-warp .panel-content {
    height: 25rem;
    padding: 3.625rem 2.5rem 0;
    box-sizing: border-box;
    color: var(--white);
    background-color: var(--primary);
    position: relative;
    transition: height 0.5s linear;
}

.panel-warp .panel-content.minH {
    height: 7.5rem;
    overflow: hidden;
    padding: 0 2.5rem;

}

.panel-warp .panel-content .panel-title {
    transition: height 0.5s linear;
}

.panel-warp .panel-content .panel-title>p.hidden {
    visibility: hidden;
    height: 0px;
    overflow: hidden;
    transition: all 0.35s linear;
}

.panel-warp .panel-content .panel-title.hidden {
    height: 0px;
    overflow: hidden;
}

.panel-warp .panel-content ul {
    /* padding-left: 2em; */
}

.panel-warp .panel-content .panel-bottom.hidden {
    height: 0px;
    overflow: hidden;
}

.panel-warp .panel-content .panel-deal {
    position: absolute;
    left: 32px;
    bottom: -132px;
    transition: bottom 1s linear;
    display: flex;
}

.panel-warp .panel-content .panel-deal a {
    width: 10.625rem;
    height: 3.375rem;
    background-color: var(--primary-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    font-size: 1.125rem;
}

.panel-warp.clearBg .panel-content,
.panel-warp:hover .panel-content {
    height: 30rem;
}

.panel-warp.clearBg .panel-content .panel-title>p,
.panel-warp:hover .panel-content .panel-title>p {
    visibility: visible;
    height: 1.25rem;
}

.panel-warp.clearBg .panel-content .panel-title h2>i,
.panel-warp:hover .panel-content .panel-title h2>i {
    visibility: hidden;
}

.panel-warp.clearBg .panel-content .panel-bottom,
.panel-warp:hover .panel-content .panel-bottom {
    height: 240px;
}

.panel-warp.clearBg .panel-content .panel-deal,
.panel-warp:hover .panel-content .panel-deal {
    bottom: 0;
}



.option-warp.clearBg .option-content .panel-top {
    height: 21.875rem;
}

.option-warp .panel-bottom .list-unstyled .list-unstyled-item {
    display: flex;
    align-items: center;
}

.option-warp .panel-bottom .list-unstyled .list-unstyled-item::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
    background-color: white;
    margin-right: 0.5rem;
}

.option-warp .panel-bottom .list-unstyled .list-unstyled-item a:hover {
    color: white !important;
    /* font-weight: bold; */
}

.bannerSwiper {
    width: 100%;
    height: 100%;
}



#carouselNewProductIndicators {
    width: calc(100% + 4.6rem);
    margin-left: -2.3rem;
    transform: translateY(-2.3rem);
}

#carouselNewProductIndicators .carousel-item {
    padding: 2.3rem;
}

#carouselNewProductIndicators .carousel-indicators {
    bottom: -2.5rem;
}

#carouselNewProductIndicators .carousel-indicators li {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 100%;
    background-color: var(--grey);
    border: 3px solid transparent;
    margin: 0 0.375rem;
}

#carouselNewProductIndicators .carousel-indicators li.active {
    background-color: transparent;
    border-color: var(--primary-dark);
}

.new-product-item {
    display: flex;
    height: 31.25rem;
    opacity: 1;
    background: var(--light);
    box-shadow: 0px 0px 1.5625rem 0px rgba(0, 0, 0, 0.1608);
    padding: 3.5rem 2.5rem;
}

.new-product-item .img-warp2 {
    width: 44rem;
    flex-shrink: 0;
}


.application-card {
    width: 100%;
    /* max-width: 33.125rem; */
    height: 45rem;
    background: #F7F7F7;
    border: none;
    display: flex;
    flex-direction: column;
}

.application-card .img-warp2 {
    width: 100%;
    height: 28.125rem;
    flex-shrink: 0;
    transition: height 0.5s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-card .img-warp2 img {
    margin: auto;
}


.application-card .card-body {
    padding: 4rem 1.5rem 0;

}

.application-card .card-body .card-title {
    font-size: 1.5rem;
    font-weight: Medium;
    color: black;
    /* 超出2行展示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.application-card .card-body .card-text {
    font-size: 1rem;
    font-weight: Medium;
    color: var(--grey);
    height: 0;
    overflow: hidden;
    /* 超出4行展示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: height 0.5s linear;
}

.application-card:hover .card-body a {
    transition: all 0.5s linear;
}

.application-card:hover .img-warp2 {
    height: 21.25rem;
}

.application-card:hover .card-body .card-text {
    height: 7rem;
}

.application-card:hover .card-body a {
    padding-top: 4rem;
}

.swiper.mySwiper {
    padding-bottom: 3.5rem;
    overflow: visible !important;
}

.mySwiper .swiper-pagination {
    bottom: 0;
    left: 0;
    display: flex;
}

.mySwiper .swiper-pagination span {
    display: inline-block;
    width: 3.125rem;
    height: 0.25rem;
    background-color: var(--grey);
    margin: 0 1.25rem 0 0 !important;
    border-radius: 0;
    transition: all 0.3s linear;
}

.mySwiper .swiper-pagination span.swiper-pagination-bullet-active {
    background-color: var(--primary-dark);
    width: 6.875rem;
}

.news-warp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
}

.new-card {
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.1608);
    border-radius: 5px;
    overflow: hidden;
    border: none;
    height: 37.5rem;
}

.new-card .img-warp2 {
    height: 20.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-card .img-warp2 img {
    transition: all 0.3s linear;
}

.new-card .card-body {
    padding: 1.5625rem;
}

.new-card .card-body a i {
    opacity: 0;
    transition: all 0.3s linear;
}

.new-card:hover .img-warp2 img {
    transform: scale(1.1);
}

.new-card:hover a i {
    opacity: 1;
    transform: translateX(0.5rem);
}

.new-view-more {
    width: 15.625rem;
    height: 3.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    border-width: 2px;
}



.banner-warp {
    display: block;
    max-height: 100vw;
    height: 58.5rem;
}

.recommond-swiper-warp {
    width: calc(100% + 4rem);
    position: relative;
    transform: translateX(-2rem);
    box-sizing: border-box;
}

.recommond-swiper-warp .new-product-item {
    display: flex;
    margin: 2rem;
}

.recommond-swiper-pagination {
    text-align: center;
    margin-top: 2rem;
}

.recommond-swiper-pagination .swiper-pagination-bullet {
    border: 3px solid #fff;
    box-sizing: unset;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #999;
    opacity: 1;
    transition: all 0.2s linear;
}

.recommond-swiper-pagination .swiper-pagination-bullet-active {
    border-color: var(--primary-dark);
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .option-warp {
        display: none;
    }

    .m-option-warp {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    #carouselNewProductIndicators {
        width: calc(100% + 3.6rem);
        margin-left: -1.8rem;
        transform: translateY(-1.8rem);
    }

    .new-product-item {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .news-warp .img-warp2,
    .new-product-item .img-warp2 {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
    }

    .news-warp .img-warp2 img,
    .new-product-item .img-warp2 img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .news-warp {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.875rem;
    }

    .new-card {
        height: 39.5rem;
    }
}