/* 使用新的 CSS 类前缀 'wpkj' */
.wpkj-categories-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0;
    cursor: grab;
    user-select: none;
}

.wpkj-categories-wrapper::-webkit-scrollbar {
    display: none;
}

.wpkj-categories-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wpkj-category-item {
    flex: 0 0 calc(100% / 6 - 15px);
    min-width: 150px;
    text-align: center;
    box-sizing: border-box;
}

.wpkj-category-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wpkj-category-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 5px;
    object-fit: cover;
}

.wpkj-categories-wrapper.dragging {
    cursor: grabbing;
}
