/* Categories Filter */
.categories-filter {
    padding: 16px;
    overflow: hidden;
}

.categories-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-slider::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.category-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid transparent;
}

.category-item.active .category-image {
    border-color: #000;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    margin-top: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-align: center;
}

/* Category Info */
.category-info {
    margin-top: 24px;
}

.category-title {
    font-family: 'Figtree', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #dd0000;
}

.category-description {
    margin-top: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1e1c1f;
}

/* Tags Slider */
.tags-slider {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tags-slider::-webkit-scrollbar {
    display: none;
}

.tag-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #1e1c1f;
    border-radius: 10px;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1e1c1f;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.tag-item.active {
    background: #1e1c1f;
    color: #fff;
}

/* ===========================================
   Desktop - Categories
   =========================================== */
@media (min-width: 1024px) {
    .categories-slider {
        gap: 24px;
        justify-content: flex-start;
    }

    .category-image {
        width: 140px;
        height: 140px;
    }

    .category-name {
        margin-top: 12px;
        font-size: 16px;
    }

    .category-info {
        margin-top: 32px;
        text-align: left;
    }

    .tags-slider {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .tag-item {
        padding: 10px 20px;
        font-size: 15px;
    }
}
