/* Full-width results; filters use a bottom sheet at every screen size. */
html.classifieds-page .cf-results-layout{display:block;grid-template-columns:minmax(0,1fr)}
html.classifieds-page .cf-results-content{width:100%;min-width:0}
html.classifieds-page .cf-results-filter-btn,html.classifieds-page #cf-form.classified-search>.cf-filter-toggle{display:inline-flex!important;align-items:center;justify-content:center}
body.cf-sheet-open{overflow:hidden}
html.classifieds-page [data-cf-filter-backdrop]{position:fixed;inset:0;z-index:10030;background:#0b182b80;backdrop-filter:blur(5px)}
html.classifieds-page #cf-filter-panel{position:fixed;z-index:10031!important;inset:auto auto 0 50%;display:flex;flex-direction:column;width:min(900px,100%);height:auto;min-height:0;max-height:88dvh;padding:26px 28px max(20px,env(safe-area-inset-bottom));border:1px solid #dfe8ec;border-bottom:0;border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -20px 80px #0b182b26;transform:translate(-50%,105%);visibility:hidden;transition:transform .28s ease,visibility 0s linear .28s;overflow:hidden;isolation:isolate}
html.classifieds-page #cf-filter-panel.open{transform:translate(-50%,0);visibility:visible;transition-delay:0s}
html.classifieds-page #cf-filter-panel::before{content:"";display:block;flex:none;width:48px;height:5px;margin:0 auto 16px;border-radius:999px;background:#d6e1e5}
html.classifieds-page #cf-filter-panel .cf-filter-head{flex:none;padding:0 0 18px}
html.classifieds-page #cf-filter-panel .cf-filter-close{display:grid;flex:none}
html.classifieds-page #cf-filter-panel .cf-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;min-height:0;max-height:none;margin:0;padding:20px 4px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9c5c2 transparent}
html.classifieds-page #cf-filter-panel .cf-filter-group{min-width:0;margin:0;padding:0;border:0}
html.classifieds-page #cf-filter-panel .cf-location-group{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html.classifieds-page #cf-filter-panel .cf-location-group>.cf-filter-group-head{grid-column:1/-1;margin:0}
html.classifieds-page #cf-filter-panel .cf-filter-fields>label{grid-column:1/-1}
html.classifieds-page #cf-filter-panel .cf-filter-actions{position:static;flex:none;display:grid;grid-template-columns:1fr 2fr;gap:12px;margin:0;padding:18px 0 0;background:inherit}
html.classifieds-page #cf-filter-panel .cf-filter-actions button{min-height:48px}
html.dark.classifieds-page #cf-filter-panel{background:#122337;border-color:#2b4155;box-shadow:0 -20px 80px #0005}
html.dark.classifieds-page #cf-filter-panel::before{background:#3e576b}
@media(min-width:1024px){html.classifieds-page #cf-grid.classified-grid:not(.list-view){grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
@media(min-width:701px) and (max-width:1023px){html.classifieds-page #cf-grid.classified-grid:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html.classifieds-page #cf-filter-panel{padding:16px 16px max(16px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;max-height:90dvh}html.classifieds-page #cf-filter-panel .cf-filter-fields{grid-template-columns:1fr;gap:16px;margin-left:-16px;padding:16px 4px 16px 20px}html.classifieds-page #cf-filter-panel .cf-location-group{grid-template-columns:1fr}html.classifieds-page #cf-filter-panel .cf-filter-actions{padding-top:14px}}
@media(prefers-reduced-motion:reduce){html.classifieds-page #cf-filter-panel,html.classifieds-page [data-cf-filter-backdrop]{transition:none}}
