.category__cards-wrap {
    padding: 0 16px;
    white-space: nowrap;
}

/*.category__cards {
    display: inline-flex;
    justify-content: flex-start;
}*/

.category__card {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*height: 173px;
    width: 183px;*/
    text-align: center;
    padding: 20px;
    margin: 30px 18px 30px 0;
    color: inherit;
}

.category__card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.category__card .card_name {
    margin: 15px 0 0 0;
    font-size: 15px;
    text-wrap: balance;
    min-height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.category__card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out;
    color: inherit;
    transform: translateY(-5px);
}

.button-arrow {
    z-index: 10;
}

.category__cards .next-btn {
    right: -10px !important;
}

@media (max-width: 600px) {
    .category__cards-wrap {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;  /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
    }

    .category__card {
        padding: 0;
        display: inline-block;
        /* width: auto; */
        width: 135px;
        border: none;
    }
}