/* Marketplace filter sidebar — same look as /classified/list */
.main_sidebar { border-right: 0 !important; }
.filter_data { padding: 4px 4px 0; width: 100%; }

/* FILTERS / CLEAR ALL header */
.filter_data .heading-filter { padding: 20px 2px 12px; border-bottom: 1px solid #edeff2; margin-bottom: 6px; }
.filter_data .heading-filter h5 { font-size: 15px; font-weight: 700; letter-spacing: .2px; color: #1c2430; }
.filter_data .heading-filter .text-theme { color: #20427a; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; font-weight: 700; opacity: .85; transition: opacity .15s ease; }
.filter_data .heading-filter .text-theme:hover { opacity: 1; }

/* Section labels: CATEGORIES / CITY / PRICING — small, uppercase, accent tick */
.filter_data #catagory,
.filter_data .heading { font-size: 11px !important; text-transform: uppercase; letter-spacing: .7px; font-weight: 700; color: #98a0ac; margin: 0 0 2px 0 !important; padding-left: 10px; position: relative; }
.filter_data #catagory::before,
.filter_data .heading::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 12px; border-radius: 3px; background: #20427a; }
.filter_data .row.mt-3 { margin-top: 14px !important; align-items: center; }
.filter_data .row.mt-3 .uil-angle-down { color: #98a0ac; cursor: pointer; }

/* Products / Services group label */
.filter_data .mp-cat-type { display: block; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #b3bac4; margin: 8px 0 6px; }

/* Category rows: grey bullet, red bullet + bold navy when selected */
.filter_data #catagory-content { padding: 2px 0 0 !important; }
.filter_data #catagory-content label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 .8rem; cursor: pointer; }
.filter_data #catagory-content label span { position: relative; padding-left: 14px; line-height: 1.5; transition: all .1s; }
.filter_data #catagory-content label span::before { content: ""; position: absolute; left: 0; top: calc(.75em - 4px); width: 8px; height: 8px; border-radius: 50%; background: #9aa5b8; }
.filter_data #catagory-content .fsized_bold { font-weight: 600 !important; display: inline; }
.filter_data #catagory-content label.mp-cat-child { padding-left: 14px; margin-bottom: .55rem; }
.filter_data #catagory-content label.mp-cat-child span { font-size: 13px; color: #4b5563; }
.filter_data #catagory-content label.mp-cat-child span::before { width: 6px; height: 6px; top: calc(.75em - 3px); background: #c5cdda; }
.filter_data #catagory-content label:hover span,
.filter_data #catagory-content label:has(input:checked) span { color: #21437b; font-weight: 800 !important; }
.filter_data #catagory-content label:has(input:checked) span::before { background: #e71551; }

/* City select — rounded control */
.filter_data #city-content { padding: 4px 2px 14px !important; }
.filter_data .select2-container--default .select2-selection--single { height: 40px !important; border: 1px solid #e2e6ec !important; border-radius: 8px !important; display: flex; align-items: center; }
.filter_data .select2-container--default .select2-selection--single .select2-selection__arrow { top: 8px; }

/* Pricing */
.filter_data .mb-5 { margin-bottom: 14px !important; }
.filter_data .price-input .field { height: 32px; }

/* Slim scrollbar */
.sidebar .sidebar_innr::-webkit-scrollbar { width: 5px; }
.sidebar .sidebar_innr::-webkit-scrollbar-button { display: none; }
.sidebar .sidebar_innr::-webkit-scrollbar-track { background: transparent; }
.sidebar .sidebar_innr::-webkit-scrollbar-thumb { background: #c5cdda; border-radius: 10px; }
.sidebar .sidebar_innr::-webkit-scrollbar-thumb:hover { background: #9aa5b8; }
@supports (-moz-appearance: none) {
    .sidebar .sidebar_innr { scrollbar-width: thin; scrollbar-color: #c5cdda transparent; }
}

/* Filtered page title — smaller so several categories don't blow up the h1 */
.mob-head-title .h1 .mp-filter-heading { display: block; max-width: 760px; font-size: 22px; line-height: 1.4; font-weight: 600; color: #1c2430; }
.mob-head-title .h1 .mp-filter-cats { font-weight: 500; color: #20427a; }
@media (max-width: 768px) {
    .mob-head-title .h1 .mp-filter-heading { font-size: 18px; }
}

/* Collapsible parent categories: chevron opens/closes the children */
.filter_data #catagory-content .mp-cat-parent { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 .8rem; }
.filter_data #catagory-content .mp-cat-parent label { flex: 1; margin: 0 !important; }
.filter_data .mp-cat-toggle { border: 0; background: none; padding: 0 2px; line-height: 1; color: #98a0ac; cursor: pointer; }
.filter_data .mp-cat-toggle:hover { color: #20427a; }
.filter_data .mp-cat-toggle i { display: inline-block; font-size: 18px; transition: transform .15s ease; }
.filter_data .mp-cat-toggle.collapsed i { transform: rotate(-90deg); }
.filter_data .mp-cat-children { padding-bottom: 4px; }
