.tmpc-category-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tmpc-category-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    flex: 1;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tmpc-category-viewport::-webkit-scrollbar {
    display: none;
}

.tmpc-category-list {
    display: flex;
    gap: 16px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.tmpc-category-item {
    flex: 0 0 auto;
    width: 10%;
    scroll-snap-align: start;
}

.tmpc-category-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 8px;
}

.tmpc-category-item img {
    aspect-ratio: 1 / 1;
    background-position: center center !important;
    background-size: contain !important;
    background-color: var(--e-global-color-facbf2f);
    border-radius: 100% 100% 100% 100% !important;
    max-width: 118px !important;
    width: 100%;
}

.tmpc-category-item span {
    display: block;
    text-align: center;
    color: black;
    line-height: 20px;
    font-size: 16px;
    margin-bottom: 1px;
}

button.tmpc-slider-arrow {
    position: absolute;
    top: 59px;
    transform: translateY(-50%);
    z-index: 10;
    border: none !important;
    background-color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 1;

    user-select: none;
    color: black !important;
}

button.tmpc-slider-arrow i {
    font-size: 24px;
}

.tmpc-slider-arrow:hover {
    background-color: black !important;
    color: white !important;
}

button.tmpc-slider-arrow.tmpc-prev {
    display: none;
}

.tmpc-prev {
    left: 0;
}

.tmpc-next {
    right: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .tmpc-category-viewport {
        margin: 0px 10px;
    }

    .tmpc-category-item {
        width: 20%;
    }

    .tmpc-category-item img {
        min-width: 70px;
        width: 78%;
    }

    .tmpc-category-item span {
        font-size: 12px;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }

    button.tmpc-slider-arrow i {
        font-size: 16px;
    }

    button.tmpc-slider-arrow {
        width: 30px;
        height: 30px;
        margin: 0px 10px;
        top: 40px
    }
}