/* Ace AJAX faceted filters — drill-down UI. */
.ace-af { margin-bottom: 26px; }
.ace-af-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; min-height: 24px; flex-wrap: wrap; }
.ace-af-crumb-item {
    border: 0; background: none; padding: 4px 8px; border-radius: 6px;
    font-size: 13px; font-weight: 600; color: #9f1722; cursor: pointer;
}
.ace-af-crumb-item:hover { background: #faf0f1; }
.ace-af-crumb-item.is-current { color: #16181d; cursor: default; }
.ace-af-crumb-sep { color: #b9bfc7; font-size: 14px; }
.ace-af-levels { display: flex; flex-direction: column; gap: 16px; }
.ace-af-level {
    background: #fff; border: 1px solid #e6e9ec; border-radius: 14px;
    padding: 18px 20px;
}
.ace-af-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6a7078; }
.ace-af-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ace-af-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 999px;
    border: 1px solid #dfe3e8; background: #f7f8f9; color: #23262b;
    font-size: 13.5px; font-weight: 600; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, transform .2s, box-shadow .2s;
}
.ace-af-pill:hover { border-color: #9f1722; color: #9f1722; transform: translateY(-1px); }
.ace-af-pill.is-active {
    background: #9f1722; border-color: #9f1722; color: #fff;
    box-shadow: 0 6px 18px rgba(159,23,34,.25);
}
.ace-af-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
    background: rgba(0,0,0,.08); font-size: 11.5px; font-weight: 700;
}
.ace-af-pill.is-active .ace-af-count { background: rgba(255,255,255,.25); }
.ace-af-status { margin-top: 12px; font-size: 13.5px; color: #6a7078; }
.ace-af-empty { padding: 40px 20px; text-align: center; color: #6a7078; font-size: 15px; }
.ace-af-results { transition: opacity .25s; }

@media (max-width: 640px) {
    .ace-af-level { padding: 14px 16px; }
    .ace-af-pill { padding: 8px 13px; font-size: 13px; }
}
