.slider-container, .slider-container1 {
    position: relative;
    width: 100%;
    margin: auto;
    height: 285px;
}

.slider, .slider1 {
    display: flex;
    height: 285px;
    overflow-x: hidden;
    transition: slideAnimation 6s linear infinite;
}

.slider img {
    width: 100%;
    height: 285px;
    object-fit: cover;
}

.slider1 img {
    width: 100%;
    height: 285px;
    object-fit: cover;
}


@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / N));
    }
}

.counter, .counter1 {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    text-align: center;
    border-radius: 100px;
    background: rgba(255, 255, 255, .5);
    height: 20px;
    color: #fff;
    font-size: 14px;
    z-index: 1;
}

.ellipsis-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box::after {
    content: '';
    width: 187px;
}

.sort:nth-child(n) {
    margin-bottom: 12px;
}

.scrollable {
    overflow: auto;
    scrollbar-width: none;
}

.right_box::-webkit-scrollbar {
    display: none;
}

/* 针对Firefox */
.right_box {
    scrollbar-width: none;
}

/* 针对IE和Edge */
.right_box {
    -ms-overflow-style: none;
}

.scrollable::-webkit-scrollbar {
    display: none;
}

.big_box {
    width: 1290px;
    margin: 0 auto
}

@media screen and (max-width: 1000px) {
    .left_box {
        display: none;
    }
    .big_box {
        width: 100%;
    }
}


.screen_width {
    width: 420px;
}

/* CSS样式，可以根据需要进行修改 */
.popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    z-index: 100;
    animation: slideAnimation 0.5s ease-in-out;
}

@keyframes slideAnimation {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
}

.active {
    background: #fff !important;
    color: #191919 !important;
}
