/**
 * Filter Active Button
 *
 * Elements with the class `igcs-filter-btn` are hidden by default.
 * They become visible only when the JS snippet detects a `filter_*`
 * query parameter and adds `has-active-filters` to <html>.
 *
 * Usage in Avada Builder:
 *   - Open the button / element settings
 *   - In the "CSS Class" field add:  igcs-filter-btn
 */

/* Hidden by default on every page */
.igcs-filter-btn {
    display: none !important;
}

/* Revealed when at least one filter_* URL param is present */
html.has-active-filters .igcs-filter-btn {
    display: inline-flex !important;
}
