/* Scoped to the catalogue panel; existing theme and sidebar stay in place. */
.sx-filters { clear: both; margin: 24px 0; padding: 0; text-align: left; color: #292329; font-size: 15px; line-height: 1.5; }
.sx-filters *, .sx-filters *::before, .sx-filters *::after { box-sizing: border-box; }
.sx-filters-details { border: 1px solid #dfcbd4; border-radius: 10px; background: #fff9fc; overflow: hidden; }
.sx-filters summary { padding: 15px 18px; cursor: pointer; font-size: 17px; font-weight: 700; color: #5b2140; min-height: 52px; }
.sx-filters summary > span { float: right; font-size: 22px; line-height: 1; }
.sx-filters details[open] summary > span { transform: rotate(45deg); }
.sx-filters-body { padding: 0 18px 18px; }
.sx-filters-intro { margin: 0 0 14px; font-size: 14px; color: #594b54; }
.sx-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.sx-filters .sx-filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.sx-filters legend, .sx-filters .sx-filter-select-label { display: block; float: none; width: auto; border: 0; padding: 0; margin: 0 0 7px; font-size: 15px; font-weight: 700; color: #292329; line-height: 1.5; }
.sx-filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sx-filter-range label { display: block; margin: 0; min-width: 0; font-size: 12px; font-weight: 400; }
.sx-filter-range label > span:first-child { display: block; margin-bottom: 4px; }
.sx-filter-input { position: relative; display: block; }
.sx-filters input[type="text"], .sx-filters select { display: block; width: 100%; min-width: 0; max-width: 100%; height: 46px; min-height: 46px; padding: 9px 32px 9px 10px; border: 1px solid #a6959e; border-radius: 6px; color: #292329; background: #fff; font-family: inherit; font-size: 16px; line-height: normal; box-shadow: none; }
.sx-filter-input > span { position: absolute; right: 10px; top: 12px; font-size: 13px; pointer-events: none; }
.sx-filters select { margin-top: 26px; padding-right: 20px; appearance: auto; -webkit-appearance: menulist; }
.sx-filter-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.sx-filters .sx-filter-actions button { float: none; height: auto; min-height: 46px; padding: 12px 20px; border: 1px solid #98124e; border-radius: 6px; background: #98124e; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; text-transform: none; }
.sx-filters .sx-filter-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #6b1941; text-decoration: underline; }
.sx-filters button:hover { background: #75103d; }
.sx-filters :focus-visible { outline: 3px solid #185c94; outline-offset: 3px; }
.sx-filters [aria-invalid="true"] { border-color: #ab1728; }
.sx-filters .sx-filter-error { margin: 14px 0 0; color: #921327; font-weight: 600; }
.sx-filters [hidden] { display: none !important; }
.sx-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sx-filter-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 12px; background: #f7e9f0; border: 1px solid #dfcbd4; border-radius: 20px; color: #5b2140; font-size: 13px; text-decoration: none; }
.sx-filter-chips a span { font-size: 20px; }
@media (max-width: 600px) {
  .sx-filters { margin: 18px 0; }
  .sx-filter-grid { grid-template-columns: 1fr; gap: 16px; }
  .sx-filters select { margin-top: 0; }
  .sx-filters-body { padding: 0 14px 16px; }
  .sx-filters .sx-filter-actions button { width: 100%; }
  .sx-filter-actions { gap: 4px; }
  .sx-filter-actions a { justify-content: center; width: 100%; }
}
