.category-tabs-wrapper {
    overflow: hidden;
    position: relative;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 4px 4px;
    /*padding: 4px;*/
    scroll-behavior: smooth;
}
.category-tabs::-webkit-scrollbar { display: none; }

.category-tabs .tab-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #fff;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.category-tabs .tab-item:hover {
    border-color: #BD0E6A;
    color: #BD0E6A;
}

.category-tabs .tab-item.active {
    border: 2px solid #BD0E6A;
    box-shadow: 1px 2px 2px rgba(189, 14, 106, 0.3) !important;
}

.category-tabs .tab-item img {
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.category-tabs .tab-item h6 {
    display: inline-block;
    margin: 0;
    margin-left: 0.5rem;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

/* Drag-скролл визуал */
.category-tabs.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.category-tabs:not(.is-dragging) {
    cursor: grab;
}

@media (max-width: 767px) {
    .category-tabs {
        padding-top: 0;
    }
}
