/* Shared RealtyPress search sidebar; activated only where the sidebar renders. */
body.lre-search-filters { --lre-sticky-offset: 0px; --lre-title-height: 0px; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-panel { background: #242424; border: 1px solid #242424; border-radius: 10px; color: #fff; margin-bottom: 20px; overflow: hidden; scroll-margin-top: calc(var(--lre-sticky-offset) + var(--lre-title-height) + 16px); }
body.lre-search-filters .bootstrap-realtypress .lre-filter-panel > summary { padding: 16px 18px; font-size: 18px; line-height: 1.35; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; color: #fff; }
body.lre-search-filters .lre-filter-panel > summary::-webkit-details-marker, body.lre-search-filters .lre-more-filters > summary::-webkit-details-marker { display: none; }
body.lre-search-filters .lre-filter-mobile-title { display: none; }
body.lre-search-filters .lre-filter-active-count { font-size: 12px; background: #fff; color: #242424; padding: 2px 6px; border-radius: 12px; }
body.lre-search-filters .lre-filter-active-count:empty { display: none; }
body.lre-search-filters .lre-filter-chevron { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
body.lre-search-filters .lre-filter-panel[open] .lre-filter-chevron { transform: rotate(225deg); }
body.lre-search-filters .bootstrap-realtypress .lre-neighbourhood-filters { padding: 0 18px 18px; margin: 0; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-scope { color: #d1d1d1; font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-field { margin: 0 0 12px; }
body.lre-search-filters .lre-filter-fixed { padding: 12px; border: 1px solid #555; border-radius: 6px; color: #fff; overflow-wrap: anywhere; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-preset-note { color: #d1d1d1; font-size: 12px; line-height: 1.5; margin: 0 0 8px; }
body.lre-search-filters .bootstrap-realtypress .lre-neighbourhood-filters label { display: block; margin: 0 0 7px; color: #fff; font-size: 14px; line-height: 1.4; font-weight: 600; }
body.lre-search-filters .lre-currency { font-size: 11px; font-weight: 400; color: #d1d1d1; margin-left: 4px; }
body.lre-search-filters .bootstrap-realtypress .lre-neighbourhood-filters input:not([type=hidden]):not([type=checkbox]),
body.lre-search-filters .bootstrap-realtypress .lre-neighbourhood-filters select { display: block; width: 100%; min-width: 0; height: 46px; padding: 10px 12px; border: 1px solid #d8d8d8 !important; border-radius: 6px !important; background-color: #fff !important; color: #242424 !important; font: inherit; font-size: 16px; box-shadow: none !important; text-shadow: none !important; }
body.lre-search-filters .lre-neighbourhood-filters input::placeholder { color: #666; opacity: 1; }
body.lre-search-filters .lre-filter-price-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-error { color: #ffb7b7; font-size: 13px; margin: 8px 0 16px; }
body.lre-search-filters .lre-filter-error:empty { display: none; }
body.lre-search-filters .lre-more-filters { border-top: 1px solid #555; margin-top: 4px; }
body.lre-search-filters .lre-more-filters > summary { min-height: 48px; padding: 14px 0; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
body.lre-search-filters .lre-more-icon { font-size: 22px; line-height: 1; }
body.lre-search-filters .lre-more-filters[open] .lre-more-icon { transform: rotate(45deg); }
body.lre-search-filters .bootstrap-realtypress .lre-neighbourhood-filters .lre-filter-check { display: flex; align-items: center; min-height: 44px; gap: 9px; font-weight: 400; margin-bottom: 2px; }
body.lre-search-filters .lre-filter-check input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: #d1a334; }
body.lre-search-filters .bootstrap-realtypress .lre-apply-filters { width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid #d5a62c; border-radius: 6px; background: #d5a62c; color: #171717; padding: 12px 10px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-shadow: none !important; box-shadow: none !important; filter: none !important; backdrop-filter: none !important; }
body.lre-search-filters .bootstrap-realtypress .lre-apply-filters:hover { background: #e2b63e; }
body.lre-search-filters .bootstrap-realtypress .lre-apply-filters:disabled { opacity: .75; cursor: wait; }
body.lre-search-filters .bootstrap-realtypress .lre-clear-filters { display: block; text-align: center; padding: 12px 4px; min-height: 44px; color: #eee; font-size: 14px; text-decoration: underline; }
body.lre-search-filters .lre-filter-panel :focus-visible, body.lre-search-filters .lre-applied-filters :focus-visible, body.lre-search-filters .lre-mobile-reopen:focus-visible { outline: 3px solid #d5a62c; outline-offset: 3px; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-feedback, body.lre-search-filters .bootstrap-realtypress .lre-filter-draft { font-size: 13px; color: #eee; margin: 0; line-height: 1.5; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-draft:not(:empty) { padding: 6px 0; color: #f1d383; }
body.lre-search-filters .lre-applied-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
body.lre-search-filters .lre-applied-filters:empty { display: none; }
body.lre-search-filters .bootstrap-realtypress .lre-filter-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid #aaa; border-radius: 22px; padding: 8px 14px; background: #fff; color: #242424; font: inherit; font-size: 14px; text-shadow: none; box-shadow: none; cursor: pointer; }
body.lre-search-filters .lre-filter-chip:hover { background: #f4f0e5; }
body.lre-search-filters .lre-sticky-title { display: none; }
body.lre-search-filters .lre-mobile-reopen { display: none; }
body.lre-search-filters .lre-redundant-contact { display: none !important; }
@media (min-width: 1024px) {
    body.lre-search-filters .lre-sticky-title.is-visible { position: fixed; top: var(--lre-sticky-offset); left: 0; right: 0; z-index: 90; display: flex; align-items: center; height: 56px; padding: 0 max(24px, calc((100vw - 1366px) / 2)); background: #242424; color: #fff; border-bottom: 2px solid #d5a62c; font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.3; }
    body.lre-search-filters .bootstrap-realtypress .lre-filter-sidebar.can-stick { position: sticky; top: calc(var(--lre-sticky-offset) + var(--lre-title-height) + 16px); align-self: start; }
    body.lre-search-filters .lre-filter-row { display: flex; align-items: flex-start; }
    body.lre-search-filters .lre-filter-row::before, body.lre-search-filters .lre-filter-row::after { display: none; }
}
@media (max-width: 1023px) {
    body.lre-search-filters .lre-filter-row > .lre-filter-sidebar, body.lre-search-filters .lre-filter-row > .col-property-result { width: 100%; float: none; }
    body.lre-search-filters .lre-filter-desktop-title { display: none; }
    body.lre-search-filters .lre-filter-mobile-title { display: inline; }
    body.lre-search-filters .bootstrap-realtypress .lre-filter-panel > summary { min-height: 52px; font-size: 16px; padding: 14px 18px; }
    body.lre-search-filters .bootstrap-realtypress .rps-result-count { display: inline-block; max-width: 100%; font-size: 15px; line-height: 1.5; padding: 8px 12px; }
    body.lre-search-filters .lre-mobile-reopen.is-visible { display: block; position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 90; min-height: 48px; padding: 12px 24px; border: 1px solid #d5a62c; border-radius: 25px; background: #242424; color: #fff; font-size: 16px; font-weight: 600; text-shadow: none; box-shadow: 0 3px 12px #0003; }
}
@media (prefers-reduced-motion: reduce) { body.lre-search-filters .rps-search-spinner { animation: none; } }
