.s-scroll-category {
    width: 100%;
    padding: 24px 20px 0 20px;
}

    .s-scroll-category .scroll-c-container {
        min-width: 335px;
        width: 1500px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .s-scroll-category .scroll-c-category {
        position: relative;
    }

        .s-scroll-category .scroll-c-category #category-right-scroll-arrow,
        .s-scroll-category .scroll-c-category #category-left-scroll-arrow {
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            justify-content: center;
            align-items: center;
            top: 50%;
            visibility: hidden;
            transform: translateY(-50%);
            transition-duration: 0.2s;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            cursor: pointer;
        }

            .s-scroll-category .scroll-c-category #category-right-scroll-arrow img,
            .s-scroll-category .scroll-c-category #category-left-scroll-arrow img {
                width: 10px;
                height: 10px;
            }

        .s-scroll-category .scroll-c-category #category-right-scroll-arrow {
            right: -6px;
            transition-property: right;
        }

        .s-scroll-category .scroll-c-category #category-left-scroll-arrow {
            left: -6px;
            transition-property: left;
        }

    .s-scroll-category .scroll-c-title {
        font-size: 20px;
        font-weight: 400;
    }

    .s-scroll-category .scroll-c-content {
        margin-top: 8px;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        width: 100%;
        scroll-behavior: smooth;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
    }

        .s-scroll-category .scroll-c-content::-webkit-scrollbar {
            display: none;
            /* Safari 和 Chrome */
        }

        .s-scroll-category .scroll-c-content .slider-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
            cursor: pointer;
        }

            .s-scroll-category .scroll-c-content .slider-wrap .category-image {
                width: 100px;
                height: 100px;
                padding: 10px;
                background: #fff;
                border-radius: 50%;
            }

                .s-scroll-category .scroll-c-content .slider-wrap .category-image img {
                    border-radius: 50%;
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }

                .s-scroll-category .scroll-c-content .slider-wrap .category-image:hover {
                    border: 2px solid #fe3954;
                }

            .s-scroll-category .scroll-c-content .slider-wrap .category-text {
                width: 100px;
                margin-top: 12px;
                font-size: 18px;
                font-weight: 400;
                line-height: 26px;
                text-align: center;
                word-break: auto-phrase;
                white-space: normal;
            }
/* 375px - 1500px 之间线性变化 */
@media screen and (min-width: 375px) and (max-width: 1500px) {
    .s-scroll-category .scroll-c-content .slider-wrap {
        --image-size: calc(100px + (160 - 100) * ((100vw - 375px) / (1500 - 310)));
    }

        .s-scroll-category .scroll-c-content .slider-wrap .category-image {
            width: var(--image-size);
            height: var(--image-size);
        }
}
/* 1500px 以上固定最大宽度 */
@media screen and (min-width: 1500px) {
    .s-scroll-category .scroll-c-container {
        width: 1500px;
    }

    .s-scroll-category .scroll-c-content .slider-wrap .category-image {
        width: 160px;
        height: 160px;
    }
}

@media screen and (min-width: 1560px) {
    .s-scroll-category {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .s-scroll-category #category-right-scroll-arrow {
            right: -48px !important;
        }

        .s-scroll-category #category-left-scroll-arrow {
            left: -48px !important;
        }
}

@media screen and (min-width: 1500px) {
    .scroll-c-title {
        font-size: 36px !important;
    }
}
