.cat-strip-wrap { position: relative; margin-bottom: 20px; }
.cat-strip {
    display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden;
    white-space: nowrap; padding-bottom: 2px;
    scrollbar-width: none; -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-full);
    border: 1px solid var(--border-color); background: var(--bg-surface);
    color: var(--text-secondary); text-decoration: none;
    font-size: var(--text-sm); font-weight: 700; font-family: var(--font-ar);
    transition: var(--transition-fast); cursor: pointer;
    -webkit-user-select: none; user-select: none;
}
.cat-chip:hover { color: var(--text-primary); border-color: var(--primary); }
.cat-chip.is-active {
    background: var(--primary); border-color: var(--primary); color: #fff;
}
.cat-chip-x {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255,255,255,0.25); font-size: var(--text-xs); line-height: 1;
}
.cat-chip-x:hover { background: rgba(255,255,255,0.45); }
.cat-strip-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 44px;
    pointer-events: none; opacity: 0; transition: opacity .2s;
    background: linear-gradient(var(--deg-to-end), transparent, var(--bg-app));
}
.cat-strip-wrap.has-overflow::after { opacity: 1; }
