.allCategoryIndex2{
    margin: auto;
    position: relative;
    z-index: 1;
    .swiper-slide{
        a,.item{
            display: grid;
            border-right: 1px solid white;
            padding: 0 1rem;
            height: 100%;
            .pic{
                display: grid;
                justify-content: center;
                img{
                    width: 100%;
                    height: 2rem;
                    object-fit: contain;
                }
            }
            .name{
                text-align: center;
                font-size: 1rem;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                font-weight: 700;
                color: $text1;
                margin-top: 1rem;
            }
            &:hover{
                .name{
                    color: $green;
                }
            }
            @media (max-width: 930px) {
                .name{
                    font-size: .8rem;
                    margin-top: .5rem;
                }
            }
        }
        .item{
            background: $green;
            .name{
                color: white;
            }
        }
        &:first-child{
            a{
                border-right: 0;
            }
        }
    }
    .swiper-button-next,.swiper-button-prev{
        padding: .5rem;
        background: white;
        width: 2.5rem;
        height: 2.5rem;
        top: 0;
        bottom: 0;
        margin-top: calc(40px - (var(--swiper-navigation-size)/ 2));
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,.3);
        &:before,&:after{
            font-size: 1rem;
            color: $green;
        }
    }
    .swiper-button-prev{
        right: .5rem !important;
    }
    .swiper-button-next{
        left: .5rem !important;
    }
    @media (max-width: 930px) {
        .swiper-slide{
            a,.item{
                padding: 0 .5rem;
            }
        }
        .swiper-button-next,.swiper-button-prev {
            display: none;
        }
    }
}
