/* Active-filter chips */
.bt-chips { flex: 0 0 100%; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.bt-chips-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bt-chips-list li { margin: 0; padding: 0; list-style: none; }
.bt-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border: 1px solid var(--bt-border-strong, #c4c0b8); border-radius: 999px; background: var(--bt-surface, #fff); color: var(--bt-text, #17191d); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; transition: border-color 150ms ease, background-color 150ms ease; }
.bt-chip i { font-style: normal; font-size: 18px; line-height: 1; color: var(--bt-text-muted, #6f737c); }
.bt-chip:hover { border-color: var(--bt-text, #17191d); background: var(--bt-surface-soft, #f1efea); }
.bt-chip:focus-visible, .bt-chips-clear:focus-visible { outline: 2px solid var(--bt-focus, #1f2d4d); outline-offset: 2px; }
.bt-chips-clear { font-size: 14px; font-weight: 500; color: var(--bt-brand, #1f2d4d); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; display: inline-flex; align-items: center; }
.bt-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px; border-radius: 999px; background: var(--bt-action, #17191d); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
@media (max-width: 767px) { .bt-chips { margin-top: -4px; } .bt-chip { min-height: 40px; } .bt-chips-clear { min-height: 40px; } }

/* mobile: the filter/sort row and the product grid are explicit grid items (grid-row 1 and 2, legacy rules); put the chips between them */
.bt-chips { grid-column: 1 / -1; grid-row: 2; }
html body .bt-chips + .elementor-element.elementor-widget[data-id] { grid-row: 3 !important; }
html body .bt-chips { align-self: start; }
/* the sidebar's own "Aktif filtreler" widget lists only price/attribute terms (no brand); the chips replace it */
body:has(.bt-chips) .widget_layered_nav_filters, body:has(.bt-chips) .sidebar-widget:has(> .widget_layered_nav_filters) { display: none; }
