:root {
    --font24: clamp(12px, calc(11px + 0.67vw), 24px);
    --font16: clamp(14px, calc(11.7px + 0.22vw), 16px);
}

.cases_42 .w1440 {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.cases_42 .battery-pack-customization-box4 {
    background-color: #f3f8fc;
    width:100%;
    overflow: hidden;
    padding-top: clamp(calc(50 / 16 * 16px), calc((50 / 16 * 16px) + ((140 - 50) * ((100vw - 1024 / 16 * 16px) / (1920 - 1024)))), calc(140 / 16 * 16px));
    padding-bottom: clamp(calc(50 / 16 * 16px), calc((50 / 16 * 16px) + ((60 - 50) * ((100vw - 1024 / 16 * 16px) / (1920 - 1024)))), calc(60 / 16 * 16px));
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide {
    overflow: visible;
    width: 70.8%;
    margin: auto;
    margin-top: clamp(calc(38 / 2 * 1px), calc(38 / 1920 * 100 * 1vw), 38px);
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper-slide {
    height: auto;
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper-slide::before {
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--site-color);
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper-slide.swiper-slide-active::before {
    opacity: 1;
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper_box .slide-btn {
    margin-top: clamp(calc(220 / 2 * 1px), calc(220 / 1920 * 100 * 1vw), 220px);
    top: 0;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper_box .slide-btn:hover {
    background-color: var(--site-color);
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper_box .slide-btn.swiper-button-prev {
    left: 20px;
}

.cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper_box .slide-btn.swiper-button-next {
    right: 20px;
}

.cases_42 .battery-pack-customization-box4 .img {
    overflow: hidden;
    border-radius: 20px;
    max-width: 100%;
}

.cases_42 .battery-pack-customization-box4 .text-box {
    padding-left: clamp(calc(20 / 2 * 1px), calc(20 / 1920 * 100 * 1vw), 20px);
    padding-right: clamp(calc(20 / 2 * 1px), calc(20 / 1920 * 100 * 1vw), 20px);
    padding: 0 20px;
    padding-top: clamp(calc(35 / 2 * 1px), calc(35 / 1920 * 100 * 1vw), 35px);
    padding-bottom: clamp(calc(55 / 2 * 1px), calc(55 / 1920 * 100 * 1vw), 55px);
}

.cases_42 .battery-pack-customization-box4 .text-box .name {
    font-size: var(--font24);
    color: #333333;
    line-height: 1.4;
}

.cases_42 .battery-pack-customization-box4 .text-box .text-container {
    max-width: 59%;
    min-width: 600px;
}

.cases_42 .battery-pack-customization-box4 .line {
    width: 100%;
    height: 1px;
    background-color: #d6dfea;
    margin-top: -1px;
}

.cases_42:not(.cases_42--marquee) .battery-pack-customization-box4 .slide-box {
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

/* Marquee branch: the track leaves the 1440px content column and spans the viewport. */
.cases_42--marquee .battery-pack-customization-box4 .slide-box {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.cases_42--marquee .battery-pack-customization-box4 .battery-pack-customization-slide {
    width: 100%;
    max-width: none;
    margin-top: clamp(calc(38 / 2 * 1px), calc(38 / 1920 * 100 * 1vw), 38px);
    overflow: hidden;
}

.cases_42--marquee .cases42-marquee-viewport {
    position: relative;
    overflow: hidden;
}

.cases_42--marquee .cases42-marquee-track,
.cases_42--marquee .cases42-marquee-viewport .str_move {
    display: inline-flex;
    align-items: stretch;
    width: max-content;
    min-width: max-content;
    gap: 20px;
    white-space: normal;
}

.cases_42--marquee .cases42-card {
    position: relative;
    flex: 0 0 min(70.8vw, 1019.52px);
    width: min(70.8vw, 1019.52px);
    height: auto;
}

.cases_42--marquee .cases42-marquee-track > .cases42-card:last-child {
    margin-right: 20px;
}

.cases_42--marquee .cases42-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--site-color);
    opacity: 1;
}

.cases_42--marquee .cases42-card .ani {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.cases_42--marquee .cases42-card .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases_42--marquee .cases42-card .img {
    width: 100%;
    height: 380px;
}

.cases_42--marquee .battery-pack-customization-box4 .line {
    position: relative;
    z-index: 1;
}

.cases_42--marquee .swiper-pagination,
.cases_42--marquee .swiper_box {
    display: none !important;
}

@media (max-width:990px) {
    .cases_42:not(.cases_42--marquee) .battery-pack-customization-box4 .slide-box {
        padding-right: 20px;
        padding-left: 20px;
        box-sizing: border-box;
    }

    .cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide {
        width: 90%;
    }

    .cases_42--marquee .battery-pack-customization-box4 .battery-pack-customization-slide {
        width: 100%;
    }

    .cases_42 .battery-pack-customization-box4 .battery-pack-customization-slide .swiper_box .slide-btn {
        display: none;
    }

    .cases_42 .battery-pack-customization-box4 .img {
        border-radius: 10px;
    }

    .cases_42 .battery-pack-customization-box4 .text-box {
        padding: 20px 0;
    }

    .cases_42 .battery-pack-customization-box4 .text-box .text-container {
        max-width: 100%;
        min-width: auto;
    }

    .cases_42--marquee .cases42-card {
        flex-basis: min(678px, calc(100vw - 40px));
        width: min(678px, calc(100vw - 40px));
    }

    .cases_42--marquee .cases42-card .img {
        height: auto;
    }

    .cases_42--marquee .cases42-marquee-track,
    .cases_42--marquee .cases42-marquee-viewport .str_move {
        gap: 20px;
    }
}

.cases_42 .swiper {
    position: relative;
    overflow: hidden;
}

.cases_42 .swiper .swiper-slide .ani {
    display: none;
}

.cases_42 .swiper .swiper-slide.swiper-slide-active .ani {
    display: block;
}

.cases_42 .swiper .swiper-pagination {
    bottom: 0;
    opacity: 0;
}
.cases_42 .page-title{
    text-align: center;
}
.cases_42 .swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 4px;
    background-color: #d6d6d6;
    border-radius: 0;
    opacity: 1;
    margin: 0 2px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.cases_42 .swiper_box .swiper-button-prev,
.cases_42 .swiper_box .swiper-button-next {
    width: 2.71vw;
    height: 2.71vw;
    background-color: white;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    color: #000;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    min-width: 35px;
    min-height: 35px;
}

.cases_42 .swiper_box .swiper-button-prev:after,
.cases_42 .swiper_box .swiper-button-next:after {
    font-size: 12px;
    font-weight: bold;
}

.cases_42 .swiper_box .swiper-button-prev:hover,
.cases_42 .swiper_box .swiper-button-next:hover {
    background-color: var(--site-color);
    color: #fff;
    border-color: var(--site-color);
}

@media (max-width:1024px) {
    .cases_42 .swiper_box .swiper-button-prev,
    .cases_42 .swiper_box .swiper-button-next {
        border-radius: 10px;
    }
}

.cases_42 .swiper-button-prev,
.cases_42 .swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    left: 10px;
    right: auto;
    background-size: 12px 12px;
}

.cases_42 .swiper-button-next,
.cases_42 .swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    right: 10px;
    left: auto;
    background-size: 12px 12px;
}
.cases_42 .text-container p{
    color: #666666;
    line-height: 1.6;
    font-size: var(--font16);
}
@media (max-width:990px) {


    .w1440
 {
        padding: 0 20px;
    }
}
@media (max-width:768px) {
    :root {
        --font24: 16px;
        --font16: 13px;
    }
}
.cases_42 .page-title .index_title h2{
	font-size: inherit;
    color: inherit;
    line-height: inherit;
    font-weight: inherit;
}
