/*
 * سازگاری ظاهری با نوار دسته‌های قالب (fixdl_v2)
 * هدف: قرار گرفتن آیکون دقیقاً در کنار و هم‌ترازِ عمودی عنوان دسته.
 * !important برای غلبه بر استایل قالب (که آیکون را بالای تیتر می‌چیند).
 *
 * غیرفعال‌سازی: add_filter( 'sibmac_home_theme_compat_css', '__return_false' );
 */

.software-filter-sublist .software-filter-option.is-ancestor-active {
    color: var(--color-brand, #3279b4) !important;
}

.software-filter-sublist .software-filter-option.is-ancestor-active::before {
    border-color: var(--color-brand, #3279b4) !important;
    color: var(--color-brand, #3279b4) !important;
}

.software-category-filter .software-filter-expand.is-ancestor-active,
.software-category-filter .software-filter-expand.is-ancestor-active:is(:hover, :focus, :active) {
    color: var(--color-brand, #3279b4) !important;
    border-color: var(--color-brand, #3279b4) !important;
}

.categories-list .category-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.categories-list .category-item .cat-icon {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: 0;
}
