/* Minification failed. Returning unminified contents.
(2334,16): run-time error CSS1030: Expected identifier, found '.'
(2334,39): run-time error CSS1031: Expected selector, found ')'
(2334,39): run-time error CSS1025: Expected comma or open brace, found ')'
(2338,16): run-time error CSS1030: Expected identifier, found '.'
(2338,39): run-time error CSS1031: Expected selector, found ')'
(2338,39): run-time error CSS1025: Expected comma or open brace, found ')'
 */
/* Bootstrap dropdown styling for frequency selector */

#ddFrequency .btn-default {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    padding: 8px 12px;
    font-family: Roboto, Poppins, sans-serif;
    color: #010207;
}

#ddFrequency .btn-default:hover,
#ddFrequency .btn-default:focus {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: none;
}

#ddFrequency .dropdown-menu {
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 120px;
}

#ddFrequency .dropdown-menu>li>a {
    padding: 10px 15px;
    color: #010207;
    font-family: Roboto, Poppins, sans-serif;
}

#ddFrequency .dropdown-menu>li>a:hover {
    background: #f5f5f5;
    color: #010207;
}

#ddFrequency .dropdown-menu>li.active>a,
#ddFrequency .dropdown-menu>li.active>a:hover {
    background: #000000;
    color: #fff;
}

#ddFrequency .fa-angle-down {
    margin-left: 8px;
}

/* Bootstrap dropdown styling for filter dropdowns in sidebar */
.filter-dropdown {
    display: block;
    margin-bottom: 15px;
}

.filter-dropdown .btn-default {
    width: 100%;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    padding: 10px 12px;
    font-family: Roboto, Poppins, sans-serif;
    color: #010207;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-dropdown .btn-default:hover,
.filter-dropdown .btn-default:focus {
    background: #f5f5f5;
    border-color: #ccc;
    box-shadow: none;
}

/* Reset button style when dropdown is closed and not hovered */
.filter-dropdown .btn-default:not(:hover):not(:active) {
    background: #fff;
}

/* Ensure focus state is removed when dropdown closes */
.filter-dropdown .btn-default:focus:not(:hover) {
    background: #fff;
    outline: none;
}

.filter-dropdown .dropdown-menu {
    width: 100%;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
}

.filter-dropdown .dropdown-menu>li>a {
    padding: 10px 15px;
    color: #010207;
    font-family: Roboto, Poppins, sans-serif;
    display: block;
}

.filter-dropdown .dropdown-menu>li>a:hover {
    background: #f5f5f5;
    color: #010207;
    text-decoration: none;
}

.filter-dropdown .dropdown-menu>li.active>a,
.filter-dropdown .dropdown-menu>li.active>a:hover {
    background: #000000;
    color: #fff;
}

/* Hide Bootstrap's default caret pseudo-element since we use our own icon */
.filter-dropdown .dropdown-toggle::after {
    display: none;
}

.filter-dropdown .fa-angle-down {
    margin-left: auto;
}

/* Allow dropdown menus to overflow outside the collapse container */
/* Apply to collapsePayment to allow dropdown menus to display above other filters */
#collapsePayment {
    overflow: visible !important;
}

/* Also handle the #filterPayment for dropdown overflow */
#filterPayment {
    overflow: visible !important;
    position: relative;
    z-index: 10;
}

/* Ensure dropdown menu displays above subsequent filter sections */
#filterPayment .dropdown-menu {
    z-index: 1050;
}

#searchContent {
    margin-top: 0 !important;
}




#sideFilter {
    width: 320px;
    float: left;
}

#mainContent {
    margin-left: 360px;
}

.title {
    font-size: 43px;
    line-height: 58px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.subtitle {
    font-size: 30px;
    line-height: 42px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 300;
    letter-spacing: 0;
    color: #747474;
    margin: 0;
}

.result {
    margin-top: 60px;
}

.result .found {
    font-size: 22px;
    line-height: 38px;
    font-weight: 600;
    color: #010207;
    float: left;
}

.result .sort {
    font-size: 22px;
    line-height: 38px;
    font-weight: 300;
    color: #010207;
    text-align: right;
    font-family: Roboto, Poppins, sans-serif;
}

.result .sort strong {
    font-weight: 600;
}

.result .sort .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}

.result .sort .dropdown-menu>li>a,
.result .sort .dropdown-menu>li>a:hover {
    color: #000000;
}

.veh-card {
    border: 2px solid #000000;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

#dvFilterTags {
    margin-top: 10px;
}

#dvFilterTags .tags {
    margin-top: 10px;
    display: inline-block;
    background: #DEE1E3;
    padding: 4px 10px 4px 15px;
    border-radius: 30px;
    margin-right: 4px;
    color: #000000;
    font-family: Roboto, Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

#dvFilterTags .tags span.fa {
    cursor: pointer;
    color: #000000;
}

#results .row {
    margin-left: -8px;
    margin-right: -8px;
}

#results .row [class^="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.veh-card .veh-card-title {
    font-size: 25px;
    line-height: 45px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    background: #ffb71b;
    font-family: Roboto, Poppins, sans-serif;
}

.veh-card.used .veh-card-title {
    background: #ec1a2e;
}

.veh-card.demo .veh-card-title {
    background: #000000;
    color: #fff;
}

.veh-card .veh-card-img {
    min-height: 250px;
    text-align: center;
    font-size: 18px;
    position: relative;
}

.veh-card .veh-card-img img {
    width: 100%;
    /*height: 230px;*/
    object-fit: cover;
}

.var-card-info {
    padding: 25px 25px 20px;
    /*min-height: 325px;*/
}

.var-card-info .veh-year-make {
    color: #010207;
    font-size: 30px;
    line-height: 38px;
    letter-spacing: 1px;
    font-family: Roboto, Poppins, sans-serif;
}

.var-card-info .veh-model {
    color: #010207;
    font-size: 25px;
    line-height: 33px;
    letter-spacing: 1px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.var-card-info .veh-location span,
.var-card-info .veh-price span {
    float: left;
    font-size: 30px;
    line-height: 36px;
    color: #000000;
}

.var-card-info .veh-price span {
    font-size: 24px;
}

.var-card-info .veh-price .price-title {
    font-size: 20px;
    font-weight: 300;
    margin: 0 !important;
}

.var-card-info .veh-price .price-val {
    margin: 0 !important;
    background-color: #ff2f2f;
    color: #ffffff;
    display: inline-block;
    padding: 0 10px;
}

.var-card-info .veh-location div,
.var-card-info .veh-price div {
    margin-left: 34px;
    font-size: 30px;
    line-height: 36px;
    font-family: Roboto, Poppins, sans-serif;
    margin-bottom: 10px;
    color: #010207;
}

.var-card-info .veh-price div {
    margin-bottom: 5px;
}

.veh-card .view-details {
    margin-bottom: 35px;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.btn.btn-outlined {
    border: 2px solid #000000;
    color: #000000;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 6px;
    font-weight: 600;
    padding: 16px 20px;
    background-color: #fff;
}

.btn.btn-outlined:not(.no-hover):hover {
    color: #fff;
    background: #000000;
}

.life-style {
    border-bottom: 2px solid #000000;
}

.life-style label {
    display: block;
}

#ft_lifeStyle {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 20px;
    line-height: 22px;
    font-family: Roboto, Poppins, sans-serif;
    color: #010207;
    height: 56px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

#ft_lifeStyle_arrow {
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 28px;
    font-family: Font Awesome\ 5 Pro;
    color: #010207;
    font-weight: 400;
    z-index: 0;
}

.filter-container {
    border: 2px solid #000000;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.filter-container .header {
    padding: 25px;
    background: #000000;
    color: #F5F5F5;
    font-size: 18px;
    line-height: 24px;
}

.filter-container .header.sm {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-container .header span.fa {
    font-size: 32px;
    line-height: 0;
    margin: -5px 10px 0;
}

.filter-container .body {
    background-color: #F5F5F5;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.filter-container.show .body {
    overflow-y: auto;
}

.filter-container .body .filters {
    padding: 10px 25px 35px;
}

.filter.collapsible {
    border-bottom: 2px solid #000000;
    padding: 15px 0;
}

.filter .filter-collapse {
    margin-left: 20px;
}

.filter .filter-collapse .check-filters {
    margin-top: 10px;
}

.filter .budget {
    color: #010207;
    font-size: 18px;
    line-height: 32px;
    margin-top: 14px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0px 0 10px;
}

#filterPayment .budget {
    font-weight: 400;
    text-transform: none;
}

#filterPayment .title {
    display: flex;
    align-items: center;
}

#filterPayment .leggat-badge {
    margin-left: 20px;
}

.leggat-badge {
    border-radius: 3px;
    font-weight: 300;
}

.number_inputs label {
    color: #010207;
    font-size: 18px;
    line-height: 32px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 400;
    padding: 0;
    margin-bottom: 14px;
}

.number_inputs .sub-label {
    color: #010207;
    font-size: 14px;
    line-height: 16px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 400;
    padding: 0;
    display: block;
}

#sliderValue {
    margin-top: -6px;
}

.filter .budget .budget-slider {
    margin-top: 15px;
    padding: 0 11px;
}

#filterPayment .budget .budget-slider {
    padding: 0 8px;
}

.filter .coll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter .coll .title {
    color: #010207;
    border: none;
    font-size: 18px;
    line-height: 32px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    user-select: none;
}

.filter .coll .filter-icon {
    font-size: 28px;
    color: #010207;
    font-weight: 400;
    transform: rotate(0deg);
}

.filter .coll.collapsed .filter-icon {
    transform: rotate(180deg);
}

.filter .s-filter {
    color: #010207;
    border: none;
    border-bottom: 2px solid #000000;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    background-image: url(/assets/images/leggat/select-arrow.svg);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    font-size: 20px;
    line-height: 26px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 500;
    height: 60px;
    padding-left: 0;
    padding-right: 0;
}

.filter-buttons {
    margin-top: 50px;
}

.filter-buttons button.btn:last-child {
    margin-top: 10px;
}

.results-pagination {
    margin-top: 50px;
}

.results-pagination .pagination {
    display: flex;
    border: none;
}

.results-pagination .pagination .pagination-btn {
    flex: 1;
    display: flex;
    align-items: center;
}

.results-pagination .pagination li.prev-btn {
    margin-right: 30px;
}

.results-pagination .pagination li.next-btn {
    justify-content: flex-end;
}

.results-pagination .pagination>li:not(.pagination-btn) {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color .3s ease-in-out;
}

.results-pagination .pagination>li a {
    font-size: 22px;
    line-height: 29px;
    color: #000000;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 700;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
}

.results-pagination .pagination>li:not(.pagination-btn) a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-pagination .pagination>li.pagination-btn a {
    text-decoration: underline;
}

.results-pagination .pagination>li.disabled a {
    color: #6A6A6A;
    cursor: default;
    pointer-events: none;
}

.results-pagination .pagination>li.pagination-btn:not(.disabled) a {
    font-weight: 700;
}

.results-pagination .pagination>li.active {
    background-color: #000000;
}

.results-pagination .pagination>li.active a {
    background-color: transparent;
    color: #fff;
    font-size: 25px;
    line-height: 33px;
}

.results-pagination .pagination>li>a:hover,
.results-pagination .pagination>li>span:hover {
    color: #000000;
    background-color: transparent;
}

.results-pagination .pagination>li.active>a:hover,
.results-pagination .pagination>li.active>span:hover {
    color: #fff;
    background-color: transparent;
}

.results-pagination .pagination>li:not(.active):not(.disabled):not(.pagination-btn):hover {
    background-color: #DEE1E3;
}

#learMore {
    background: #000000;
    padding: 100px 0;
    margin-top: 110px;
    margin-bottom: 110px;
}

#learMore .btn.btn-outlined {
    font-size: 22px;
    padding: 20px;
}

#learMore .btn.btn-outlined:not(.no-hover):hover {
    border-color: #fff;
}

/*NOUI SLIDER OVERRIDE*/
.budget-slider .noUi-target {
    border: none;
    box-shadow: none;
    height: 9px;
}

.budget-slider .noUi-target {
    height: 5px;
}

.budget-slider .noUi-base,
.noUi-connects {
    background: #DDE0E2;
    border-radius: 10PX;
    width: 99%;
    margin: 0 auto;
}

.budget-slider .noUi-horizontal .noUi-handle {
    width: 25px;
    height: 25px;
    right: -13px;
    top: -8px;
    border-radius: 50%;
    border: 2px solid #253745;
}

.budget-slider .noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    right: -9px;
    top: -7px;
}

.budget-slider .noUi-connect {
    background: #253745;
}

.budget-slider .noUi-handle:after,
.noUi-handle:before {
    display: none;
}

.initial-payment-info {
    font-family: Roboto, Poppins, sans-serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 300;
    color: #010207;
    margin-top: 30px;
}

a.lnk-disclaimer {
    font-weight: 400;
    text-decoration: underline;
    color: #010207 !important;
    white-space: nowrap;
    font-size: 0.9em;
}

/*#badgesBy4{
    display: none;
}*/

.carfax-logo {
    max-width: 200px;
    height: auto;
    margin-top: 15px;
}


#dvTabs {
    margin-bottom: 30px;
}

#dvTabs .nav-tabs {
    border: none;
    display: block;
    border-bottom: 1px solid #ccc;
}

#dvTabs .nav-tabs>li>a {
    font-family: Roboto, Poppins, sans-serif;
    color: #878787;
    font-weight: 300;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: center;
}

#dvTabs .nav-tabs>li.active>a,
.steps .nav-tabs>li.active>a:hover {
    border: none;
    color: #000000;
    font-weight: 500;
}

#dvTabs .nav-tabs>li.active>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
}


.ft_payment_collapse_content {
    padding: 20px 0 10px;
}

.pmnt_sign,
.pmnt_cent {
    font-size: 1em;
    line-height: 1.4em;
}

.pmnt_decimal {
    font-size: 2em;
    line-height: 1em;
}

.pmt_term_details {
    text-align: center;
}

.pmt_frequency {
    font-size: 0.8em;
}

.payments .row {
    margin: 0 -8px;
}

.payments [class^="col"] {
    padding: 0 8px;
}

.pmt_container {
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    background-color: #ffffff;
    color: #010207;
    text-align: center;
    cursor: pointer;
    margin-top: 16px;
    transition: all .2s;
}

.pmt_container.active {
    color: #ec1a2e;
    box-shadow: 0 1px 4px rgba(236, 26, 46, .80);
}

.pmnt_amount {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.disclaimer-text {
    font-size: 18px;
    line-height: 24px;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 300;
    display: block;
    margin-top: 30px;
}

.number_inputs {
    margin-top: 30px;
}

.number_inputs .form-group input.form-control {
    height: 50px;
}

#ft_ddTerms {
    margin-top: 10px;
}

#mdDisclaimer .modal-title {
    color: #fff;
    font-size: 1.5em;
    font-weight: 300;
}

#mdDisclaimer .close {
    color: white;
    font-weight: 300;
}

/* Banner card - matches vehicle card sizing with centered image */
.dv_banner_card {
    /* Ensure banner card container doesn't exceed other cards' height */
    display: flex;
}

.banner_card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    height: 100%;
    width: 100%;
    border: none;
}

.banner_card img {
    width: auto;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: left center;
}

#carfireBanner {
    background-image: url(/assets/images/leggat/srp/srp_sell_or_trade_banner_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 20px 30px 30px;
    margin-bottom: 30px;
    background-color: #000000;
}

#carfireBanner.ev-srp {
    background-image: url(/assets/images/leggat/electric-vehicles/EV_SRP_Banner.jpg);
}

#carfireBanner .btn-teal {
    display: inline-block;
}

#cbTitle {
    font-family: Roboto, Poppins, sans-serif;
    font-size: 44px;
    line-height: 70px;
    color: #ec1a2e;
    font-weight: bold;
}

#cbDesc {
    font-family: Poppins, Roboto, sans-serif;
    font-size: 28px;
    line-height: 33px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
}

#cars {
    display: none;
}

/*NOUI SLIDER OVERRIDE END*/
/*CHECK BOX*/
/* Base for label styling */
.filter-checkbox:not(:checked),
.filter-checkbox:checked {
    position: absolute;
    left: 0;
    opacity: 0.01;
}

.filter-checkbox:not(:checked)+label,
.filter-checkbox:not(:checked)+label,
.filter-checkbox:checked+label,
.filter-checkbox:checked+label {
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    cursor: pointer;
    transition: all .3s;
    color: #010207;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 400;
    font-size: 18px;
    user-select: none;
}

.filter-checkbox:not(:checked)+label,
.filter-checkbox:checked+label {
    padding-left: 30px;
}

input.filter-checkbox {
    height: 20px;
}

/* checkbox aspect */
.filter-checkbox:not(:checked)+label:before,
.filter-checkbox:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    background: #FFF;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 #014A8D20;
    -webkit-transition: all .275s;
    transition: all .275s;
}

/* checked mark aspect */
.filter-checkbox:not(:checked)+label:after,
.filter-checkbox:checked+label:after {
    content: '\f00c';
    position: absolute;
    top: 12px;
    left: 3px;
    font-size: 22px;
    color: #000000;
    line-height: 0;
    font-family: 'Font Awesome 5 Pro';
    -webkit-transition: all .2s;
    transition: all .2s;
    transform-origin: 5px 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .37);
}

/* checked mark aspect changes */
.filter-checkbox:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0) rotate(45deg);
    transform: scale(0) rotate(45deg);
}

.filter-checkbox:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
}

/* Disabled checkbox */
.filter-checkbox:disabled:not(:checked)+label:before,
.filter-checkbox:disabled:checked+label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #e9e9e9;
}

.filter-checkbox:disabled:checked+label:after {
    color: #777;
}

.filter-checkbox:disabled+label {
    color: #aaa;
}


/*CHECK BOX END*/
/*text filter*/

.text-filter {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    width: 100%;
    margin-bottom: 15px;
    align-items: center;
    background: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 8px 0;
}

.icon {
    padding: 10px;
    color: #555;
    min-width: 50px;
    text-align: center;
    font-size: 24px;
}

.input-field {
    width: 100%;
    padding: 10px 10px 10px 0;
    font-size: 24px;
    line-height: 38px;
    height: 50px;
    color: #555;
    border: none;
    font-family: Roboto, Poppins, sans-serif;
    font-weight: 300;
}


/*text filter end*/



.dv-certified-used img {
    width: 100%;
}

.dv-video-tour {
    position: absolute;
    right: 5px;
    bottom: 10px;
}

.btn.btn-outlined.btn-outlined-dark.btn-outlined-border-white.btn-video-tour {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    padding: 5px 8px;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    #ft_lifeStyle {
        width: calc(100% + 22px);
    }

    .life-style {
        overflow: hidden;
    }
}

@media only screen and (min-width: 577px) and (max-width: 1550px) {
    .result .sort .dropdown-menu {
        left: -10px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1450px) {
    #sideFilter {
        width: 270px;
    }

    #mainContent {
        margin-left: 310px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1450px) {
    .var-card-info {
        padding: 15px 20px 20px;
        min-height: 215px;
    }

    .var-card-info .veh-year-make {
        font-size: 22px;
        line-height: 37px;
    }

    .var-card-info .veh-model {
        font-size: 25px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    .var-card-info .veh-location div,
    .var-card-info .veh-price div {
        margin-left: 28px;
        font-size: 22px;
        line-height: 30px;
    }

    .var-card-info .veh-location span,
    .var-card-info .veh-price span {
        font-size: 22px;
        line-height: 30px;
    }

    .var-card-info .veh-price span {
        font-size: 20px;
    }

    .var-card-info .veh-price .price-title {
        font-size: 16px;
        line-height: 30px;
    }

    .veh-card .view-details {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .btn.btn-outlined {
        font-size: 16px;
        line-height: 20px;
        padding: 14px 18px;
    }
}

@media only screen and (max-width: 1250px) {
    #learMore .btn.btn-outlined {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1199px) {
    .var-card-info .veh-year-make {
        font-size: 24px;
        line-height: 40px;
    }

    .var-card-info .veh-model {
        font-size: 25px;
        line-height: 33px;
        margin-bottom: 15px;
    }

    .var-card-info .veh-location span,
    .var-card-info .veh-price span {
        font-size: 24px;
        line-height: 32px;
    }

    .var-card-info .veh-location div,
    .var-card-info .veh-price div {
        margin-left: 32px;
        font-size: 24px;
        line-height: 32px;
    }

    .var-card-info .veh-price span {
        font-size: 20px;
    }

    .var-card-info .veh-price .price-title {
        font-size: 16px;
        line-height: 30px;
    }

    .btn.btn-outlined {
        font-size: 16px;
        line-height: 22px;
    }
}

@media only screen and (max-width: 991px) and (orientation: landscape) {
    .filter-container.show .body {
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }

    .filter-container .body {
        transition: none !important;
    }
}

@media only screen and (max-width: 991px) {
    #searchContent {
        margin-top: 50px;
    }

    #sideFilter {
        width: 100%;
        float: none;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 11;
    }

    .filter-container {
        border-radius: 0;
        border: none;
    }

    .filter-container .header {
        padding: 25px 15px;
    }

    .filter-container .body {
        height: 0;
        transition: all .3s ease;
        overflow: hidden;
    }

    .filter-container .body .filters {
        padding: 0 15px 25px;
    }

    .filter-container.show .body {
        height: 600px;
    }

    .filter-container.show .header {
        background: #ffb71b;
        color: #000000;
        font-weight: 600;
        transition: all .3s ease;
    }

    .filter-container.show .header span {
        transform: rotate(180deg);
    }

    .filter .s-filter,
    .life-style {
        box-shadow: 0 1px 0 #000000;
        border-bottom: 1px solid #9aa1a8;
    }

    .filter.collapsible {
        box-shadow: 0 1px 0 #000000;
        border-bottom: 1px solid #9aa1a8;
    }

    #mainContent {
        margin-left: 0;
    }

    .filter-buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -7px;
        margin-right: -7px;
    }

    .filter-buttons button.btn {
        margin: 0 7px;
    }

    .filter-buttons button.btn:last-child {
        margin-top: 0;
    }

    #learMore {
        padding: 50px 0;
        margin-top: 40px;
        margin-bottom: 50px;
    }

    #learMore .btn.btn-outlined:last-child {
        margin-top: 15px;
    }

    #carfireBanner {
        padding: 10px 20px 20px;
    }

    #cbTitle {
        font-size: 38px;
        line-height: 60px;
    }

    #cbDesc {
        font-size: 24px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 451px) and (max-width: 767px) {
    /*#badgesBy4 {
        display: block;
    }
    #badgesBy3 {
        display: none;
    }*/
}

@media only screen and (max-width: 850px) {
    #cbTitle {
        font-size: 34px;
        line-height: 50px;
    }

    #cbDesc {
        font-size: 20px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 768px) {
    .banner_card {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 767px) {
    #searchContent {
        margin-top: 40px;
    }

    .filter-container.show .body {
        height: 570px;
    }

    .filter-container .header {
        font-size: 16px;
        line-height: 20px;
    }

    .filter-container .header span.fa {
        font-size: 22px;
    }

    .filter.collapsible {
        padding: 12px 0;
    }

    .budget-slider .noUi-horizontal .noUi-handle {
        width: 22px;
        height: 22px;
        right: -11px;
        top: -7px;
    }

    .title {
        font-size: 32px;
        line-height: 34px;
    }

    .subtitle {
        font-size: 22px;
        line-height: 33px;
        margin-top: 10px;
    }

    .result .found,
    .result .sort {
        font-size: 22px;
        line-height: 33px;
    }

    .var-card-info {
        min-height: unset;
    }

    .var-card-info .veh-model {
        font-size: 25px;
        line-height: 33px;
        margin-bottom: 20px;
    }

    .var-card-info .veh-location div,
    .var-card-info .veh-price div {
        font-size: 30px;
        line-height: 36px;
    }

    .var-card-info .veh-location span,
    .var-card-info .veh-price span {
        font-size: 30px;
        line-height: 36px;
    }

    .var-card-info .veh-price span {
        font-size: 24px;
    }

    .var-card-info .veh-price .price-title {
        font-size: 20px;
        line-height: 36px;
    }

    .view-details .btn.btn-outlined {
        font-size: 18px;
        line-height: 20px;
    }

    #mdDisclaimer .modal-title {
        font-size: 1.3em;
    }

    /* Banner card overrides removed to allow JS sizing */
    
    .banner_card > div {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .banner_card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    #carfireBanner,
    #carfireBanner.ev-srp {
        background-image: none;
        padding: 10px 20px 0px;
        text-align: center;
    }

    #cars {
        display: block;
        width: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .filter-container.show .body {
        height: 552px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .filter .s-filter {
        font-size: 14px;
        line-height: 20px;
        height: 56px;
        padding: 14px 0 12px;
    }

    .filter .coll .filter-icon,
    #ft_lifeStyle_arrow {
        font-size: 24px;
    }

    .filter-container .header span.fa {
        font-size: 20px;
        margin: -2px 5px 0;
    }

    .filter-buttons .btn.btn-outlined {
        padding: 14px 18px;
        font-size: 14px;
        line-height: 20px;
    }

    .result {
        margin-top: 30px;
    }

    .result .found {
        float: none;
    }

    .result .sort {
        text-align: left;
    }

    .veh-card .veh-card-title {
        font-size: 20px;
        line-height: 36px;
    }

    .var-card-info {
        padding: 15px;
        padding-bottom: 20px;
    }

    .var-card-info .veh-model {
        margin-bottom: 20px;
    }

    .results-pagination .pagination>li.active a {
        background-color: transparent;
        color: #fff;
        font-size: 16px;
        line-height: 18px;
    }

    .results-pagination .pagination>li:not(.pagination-btn) {
        width: 32px;
        height: 32px;
    }

    .results-pagination .pagination>li a {
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
    }

    .results-pagination {
        margin-top: 30px;
    }

    .veh-card .view-details {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    #learMore .btn.btn-outlined {
        font-size: 16px;
        white-space: normal;
    }

    #cbTitle {
        font-size: 30px;
        line-height: 40px;
    }

    #cbDesc {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 10px;
    }

    #carfireBanner .btn-teal {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    #cbTitle {
        font-size: 26px;
        line-height: 36px;
    }

    #cbDesc {
        font-size: 16px;
        line-height: 24px;
    }

    #carfireBanner .btn-teal {
        padding: 6px 18px;
    }
}

@media only screen and (max-width: 390px) {
    .results-pagination .pagination li.prev-btn {
        margin-right: 10px;
    }

    #cbTitle {
        font-size: 24px;
        line-height: 36px;
    }
}

@media only screen and (max-width: 350px) {
    .filter-container .header {
        font-size: 14px;
    }

    .filter-container .header span.fa {
        font-size: 18px;
        margin: -2px 0px 0;
    }

    .subtitle {
        margin-top: 5px;
    }

    .veh-card .veh-card-title {
        font-size: 18px;
        line-height: 34px;
    }

    .var-card-info .veh-year-make {
        font-size: 18px;
        line-height: 26px;
    }

    .var-card-info .veh-model {
        font-size: 25px;
        line-height: 33px;
        margin-bottom: 10px;
    }

    .veh-card .view-details {
        margin-bottom: 25px;
    }

    .results-pagination .pagination>li a,
    .results-pagination .pagination>li.active a {
        font-size: 12px;
        line-height: 16px;
    }

    .results-pagination .pagination>li:not(.pagination-btn) {
        width: 26px;
        height: 26px;
    }

    .view-details .btn.btn-outlined {
        padding: 14px 16px;
    }

    #learMore {
        padding: 30px 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #cbTitle {
        font-size: 22px;
        line-height: 36px;
    }

    #cbDesc {
        font-size: 15px;
        line-height: 20px;
    }

    #cars {
        margin-top: 10px;
    }
}


@media only screen and (max-width: 320px) {

    .subtitle,
    .result .found,
    .result .sort {
        font-size: 20px;
        line-height: 28px;
    }

    .title {
        font-size: 28px;
        line-height: 33px;
    }

    .var-card-info .veh-model {
        font-size: 25px;
        line-height: 33px;
    }

    .var-card-info .veh-location div,
    .var-card-info .veh-price div {
        font-size: 26px;
        line-height: 32px;
    }

    .var-card-info .veh-location span,
    .var-card-info .veh-price span {
        font-size: 28px;
        line-height: 32px;
    }

    .var-card-info .veh-price span {
        font-size: 24px;
    }

    .var-card-info .veh-price .price-title {
        font-size: 18px;
        line-height: 32px;
    }

    .view-details .btn.btn-outlined {
        font-size: 14px;
        line-height: 20px;
        padding: 14px 20px;
    }
}

/* ===========================================
   LEGGAT-STYLE VEHICLE CARDS
   =========================================== */

/* Card Container */
.veh-card-leggat {
    display: block;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.veh-card-leggat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.veh-card-leggat:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Card Header (New/Used/Demo label) */
.veh-card-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    background: #ffb71b;
    color: #000000;
    text-align: center;
    font-family: Roboto, 'Inter', sans-serif;
}

.veh-card-leggat.used .veh-card-header {
    background: #ec1a2e;
}

.veh-card-leggat.demo .veh-card-header {
    background: #000000;
    color: #ffffff;
}

/* Image Carousel */
.veh-card-carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
}

.veh-card-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    color: #0a2237;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
    padding: 0;
    padding-bottom: 2px;
}

.veh-card-leggat:hover .carousel-arrow {
    opacity: 1;
}

.carousel-prev {
    left: 8px;
}

.carousel-next {
    right: 8px;
}

.carousel-arrow:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: #ffffff;
}

/* Video Tour Button inside carousel */
.veh-card-leggat .dv-video-tour {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
}

.veh-card-leggat .btn-video-tour {
    font-size: 11px;
    padding: 6px 10px;
}

/* CPO and On Order Badges */
.veh-card-leggat .dv-certified-used,
.veh-card-leggat .dv-certified-in-transit {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.veh-card-leggat .certified-used-img,
.veh-card-leggat .certified-in-transit-img {
    max-width: 80px;
    border-radius: 4px;
}

/* Card Info Section */
.veh-card-info {
    padding: 16px;
}

.veh-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a2237;
    line-height: 1.3;
    font-family: Roboto, 'Inter', sans-serif;
}

.veh-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
    font-family: Roboto, 'Inter', sans-serif;
}

/* Pricing Section */
.veh-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.veh-price-sale {
    font-size: 20px;
    font-weight: 600;
    color: #0a2237;
    font-family: Roboto, 'Inter', sans-serif;
}

.veh-price-sale .price-title {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}

.veh-price-sale .price-val {
    background-color: transparent;
    color: #0a2237;
    padding: 0;
    display: inline;
}

.veh-price-msrp {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    font-family: Roboto, 'Inter', sans-serif;
}

.veh-price-msrp-strikethrough {
    text-decoration: line-through;
}

/* Payment Info */
.veh-payment {
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.5;
    font-family: Roboto, 'Inter', sans-serif;
}

.veh-payment .lnk-disclaimer {
    font-size: 12px;
    color: #64748b !important;
    text-decoration: underline;
    cursor: pointer;
}

/* Ensure grid layout for new cards */
#results .row {
    margin-left: -8px;
    margin-right: -8px;
}

#results .row .dv-card {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0;
    margin-left:auto;
    margin-right:auto;
    max-width: 500px;
}

/* Ensure card fills container */
#results .row .dv-card .veh-card-leggat {
    width: 100%;
}

/* Push payment info to bottom */
.veh-card-info {
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.veh-payment {
    margin-top: auto;
}

/* ===========================================
   VEHICLE BADGES (SRP Card Badges)
   =========================================== */

/* Badge Container - fixed height to ensure alignment */
.veh-badge-container {
    min-height: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
    margin-bottom: 6px;
}

/* Base Badge Style */
.veh-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: Roboto, 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
}

/* On Special Badge (New vehicles) - Gold/Yellow theme */
.veh-badge-special {
    background-color: #ffb71b;
    color: #253746;
}

/* Price Drop Badge (Used vehicles) - Red/Urgent theme */
.veh-badge-pricedrop {
    background-color: #ec1a2e;
    color: #ffffff;
}

/* Demo Badge - Dark theme */
.veh-badge-demo {
    background-color: #253746;
    color: #ffffff;
}

/* Lease Badge - Blue theme */
.veh-badge-lease {
    background-color: #1976d2;
    color: #ffffff;
}

/* Hybrid Badge - Green theme */
.veh-badge-hybrid {
    background-color: #4caf50;
    color: #ffffff;
}

/* Electric Badge - Teal/Electric theme */
.veh-badge-electric {
    background-color: #00bcd4;
    color: #ffffff;
}

/* Mobile Responsive - Leggat Cards */
@media (max-width: 991px) {
    .veh-card-carousel {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767px) {
    .veh-card-leggat {
        margin-top: 12px;
    }

    .veh-card-carousel {
        aspect-ratio: 4 / 3;
    }

    /* Mobile: Larger touch target for carousel arrows */
    .carousel-arrow {
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 22px;
        /* Extend touch area beyond visible button */
        padding: 0;
        margin: 0;
    }
    
    /* Extend touch target area using pseudo-element */
    .carousel-arrow::before {
        content: '';
        position: absolute;
        top: -12px;
        bottom: -12px;
        left: -12px;
        right: -12px;
    }
    
    /* Position arrows closer to edges for easier thumb access */
    .carousel-prev {
        left: 4px;
    }
    
    .carousel-next {
        right: 4px;
    }

    .veh-card-info {
        padding: 12px;
    }

    .veh-title {
        font-size: 16px;
    }

    .veh-subtitle {
        font-size: 13px;
    }

    .veh-price-sale {
        font-size: 18px;
    }

    .veh-payment {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .veh-card-header {
        font-size: 11px;
        padding: 6px 12px;
    }

    .veh-card-info {
        padding: 10px;
    }

    .veh-title {
        font-size: 15px;
    }
}

/* Color indicator circle for exterior colour filter */
.color-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    border: 1px solid #888;
    flex-shrink: 0;
}

/* Ensure label is flex container for proper alignment */
#filterExtColour .check label {
    display: flex;
    align-items: center;
}

.color-label-text {
    flex: 1;
}

/* ============================================
   CARVANA-STYLE MODIFICATIONS
   ============================================ */

/* Hide the NEW/USED VEHICLE header bar */
.veh-card-header {
    display: none !important;
}

/* Carvana-style payment display */
.veh-payment {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.payment-amount {
    font-size: 18px;
    font-weight: 600;
    color: #0a2237;
}

.payment-freq {
    font-size: 16px;
    font-weight: 400;
    color: #0a2237;
}

.payment-estimated {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    margin-left: 4px;
}

.payment-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
    cursor: pointer;
    margin-left: 4px;
    transition: background-color 0.2s ease;
    border: none;
    padding: 0;
    line-height: 1;
}

.payment-info-icon:hover {
    background: #d1d5db;
    color: #374151;
}

/* Mobile adjustments for payment display */
@media (max-width: 767px) {
    .payment-amount {
        font-size: 16px;
    }

    .payment-freq {
        font-size: 14px;
    }

    .payment-estimated {
        font-size: 11px;
    }
}

/* Hide separate Payment filter - now integrated into Payment & Price */
#filterPayment {
    display: none !important;
}

/* ========================================
   Carvana-style Make & Model Combined Filter
   ======================================== */

/* Make item container */
.make-item {
    margin-bottom: 8px;
}

/* Make checkbox row */
.make-item .make-check {
    margin-bottom: 0;
}

/* Models container - hidden by default, shown when make is checked */
.models-container {
    max-height: 0;
    overflow: hidden;
    margin-left: 28px;
    padding-left: 12px;
    transition: max-height 0.3s ease, padding 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.models-container.show {
    max-height: 2000px;
    margin-top: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    overflow: visible;
}

/* Models header */
.models-header {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

/* Model checkbox rows */
.models-list .model-check {
    margin-bottom: 4px;
}

.models-list .model-check label {
    font-size: 14px;
}

/* Checkbox styling for make & model */
.make-checkbox+label,
.model-checkbox+label {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hover effect for make items */
.make-item:hover>.make-check {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

/* Visual indicator when make has models selected - use ::before on a sibling element to avoid conflict with checkbox ::after */
.make-item:has(.model-checkbox:checked)>.make-check {
    position: relative;
}

.make-item:has(.model-checkbox:checked)>.make-check::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
}

/* Mobile adjustments for Make & Model filter */
@media (max-width: 991px) {
    .models-container {
        margin-left: 20px;
        padding-left: 10px;
        border-left: none;
    }

    .models-header {
        font-size: 11px;
    }

    .models-list .model-check label {
        font-size: 13px;
    }
}

/* ============================================
   FILTER COUNT STYLING
   ============================================ */
.filter-count {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    margin-left: 4px;
}

.make-check label .filter-count,
.model-check label .filter-count {
    color: #9ca3af;
    font-weight: 400;
}

/* Slightly smaller count on mobile */
@media (max-width: 991px) {
    .filter-count {
        font-size: 12px;
    }
}

/* Compact button style for narrow banner cards */
.banner_card.compact-btn .view-details .btn.btn-outlined {
    text-align: center;
    justify-content: center;
}

.banner_card.compact-btn .view-details .btn.btn-outlined::after {
    display: none !important;
    content: none !important;
}

.banner_card.compact-btn .view-details .btn.btn-outlined i,
.banner_card.compact-btn .view-details .btn.btn-outlined span.fa {
    display: none !important;
}

/* Carfax badge fix for SRP */
.carfax-badge img {
    height: auto !important;
}

/* SEO H1 Title styling - matches old Tadvantage site pattern */
.srp-h1-title {
    font-family: Roboto, Poppins, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #010207;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .srp-h1-title {
        font-size: 20px;
        margin: 0 0 10px 0;
    }
}

@media (max-width: 576px) {
    .srp-h1-title {
        font-size: 18px;
    }
}
/* ============================================
   2026 FILTER UI OVERRIDES
   ============================================ */

/* NOTE: CSS Variables removed for .NET 4 bundling compatibility.
   Values hardcoded:
   Primary: #ec1a2e
   Primary Hover: #3fa8a0
   Bg: #ffffff
   Border: #e5e7eb
   Text: #1f2937
   Text Light: #6b7280
   Chip Bg: #e6f7f5
   Chip Text: #000000
*/

/* ============================================
   SIDEBAR CONTAINER
   ============================================ */
#sideFilter {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.filter-container {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.filter-container .header {
    padding: 16px 20px;
    background: #ffffff;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    border-bottom: 1px solid #e5e7eb;
}

.filter-container .header.sm {
    background: #ffffff;
    color: #1f2937;
}

.filter-container .body {
    background-color: #ffffff;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
}

.filter-container .body .filters {
    padding: 0;
}

/* ============================================
   APPLIED FILTERS SECTION
   ============================================ */
.applied-filters {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.applied-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.applied-filters-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.applied-filters-header .filter-count {
    background: #ec1a2e;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.clear-all-filters {
    color: #ec1a2e;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s ease;
}

.clear-all-filters:hover {
    color: #e00e22;
    text-decoration: underline;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f7f5;
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: #ff99b8;
}

.filter-chip .remove-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(3, 105, 161, 0.2);
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-chip .remove-chip:hover {
    background: rgba(3, 105, 161, 0.4);
}

.filter-chip .remove-chip svg {
    width: 10px;
    height: 10px;
}

/* Hide applied filters when empty */
.applied-filters:empty,
.applied-filters.hidden {
    display: none;
}

/* ============================================
   COLLAPSIBLE FILTER SECTIONS
   ============================================ */
.filter.collapsible {
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

.filter .coll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 20px 20px;
    transition: background-color 0.2s ease;
    min-height: 56px;
}

.filter .coll:hover {
    background-color: #f9fafb;
}

.filter .coll .title {
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    line-height: 1.4;
}

.filter .coll .filter-icon {
    font-size: 14px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.filter .coll.collapsed .filter-icon {
    transform: rotate(180deg);
}

.filter .filter-collapse {
    margin-left: 0;
    padding: 0 20px 16px;
}

.filter .filter-collapse .check-filters {
    margin-top: 0;
    /* Removed max-height and overflow to prevent individual scrollbars */
    max-height: none;
    overflow-y: visible;
    padding-bottom: 2px;
}

/* ============================================
   CUSTOM CHECKBOX STYLING
   ============================================ */
.filter .check {
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.filter .check input[type="checkbox"],
.filter .check input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.filter .check label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #1f2937;
    font-weight: 400;
    line-height: 1.4;
    padding-left: 28px;
    position: relative;
    user-select: none;
    transition: color 0.2s ease;
}

.filter .check label::before {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
}

.filter .check input[type="radio"]+label::before {
    border-radius: 50%;
}

.filter .check label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translateY(-60%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.filter .check input[type="radio"]+label::after {
    width: 8px;
    height: 8px;
    top: 9px;
    border: none;
    border-radius: 50%;
    background: white;
    left: 5px;
    transform: translateY(-50%);
}

.filter .check input:checked+label::before {
    background: #ec1a2e;
    border-color: #ec1a2e;
}

.filter .check input:checked+label::after {
    opacity: 1;
}

.filter .check input:checked+label {
    color: #1f2937;
    font-weight: 500;
}

.filter .check:hover label::before {
    border-color: #ec1a2e;
}

/* ============================================
   BODY STYLE ICONS
   ============================================ */
.filter-bodystyle .check {
    padding: 10px 0;
}

.filter-bodystyle .check label {
    padding-left: 32px;
}

.filter-bodystyle .check .bodystyle-icon {
    width: 40px;
    height: 24px;
    margin-right: 10px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.2s ease;
}

.filter-bodystyle .check input:checked+label .bodystyle-icon,
.filter-bodystyle .check:hover .bodystyle-icon {
    opacity: 1;
    filter: grayscale(0%);
}

/* SVG body style icons inline */
.bodystyle-icon-sedan {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M58 20h-2l-4-8H12l-4 8H6a2 2 0 00-2 2v4h4a4 4 0 108 0h28a4 4 0 108 0h6v-4a2 2 0 00-2-2zM12 26a2 2 0 110-4 2 2 0 010 4zm40 0a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-suv {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M56 16H42l-6-8H14l-4 8H8a4 4 0 00-4 4v6h4a5 5 0 1010 0h22a5 5 0 1010 0h6v-6a4 4 0 00-4-4zM13 28a3 3 0 110-6 3 3 0 010 6zm38 0a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-truck {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M58 18H36V8H10l-4 10H4a2 2 0 00-2 2v6h4a5 5 0 1010 0h28a5 5 0 1010 0h6v-6a2 2 0 00-2-2zM11 28a3 3 0 110-6 3 3 0 010 6zm42 0a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-coupe {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M56 18l-8-8H18l-8 10H6a2 2 0 00-2 2v4h4a4 4 0 108 0h28a4 4 0 108 0h6v-4a2 2 0 00-2-2h-2zM12 26a2 2 0 110-4 2 2 0 010 4zm40 0a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-van {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M56 12H42l-4-6H10a4 4 0 00-4 4v14h4a5 5 0 1010 0h20a5 5 0 1010 0h8a2 2 0 002-2v-8a2 2 0 00-2-2h-2zM15 28a3 3 0 110-6 3 3 0 010 6zm34 0a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-crossover {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M54 16H44l-6-8H16l-6 10H8a3 3 0 00-3 3v5h4a5 5 0 1010 0h22a5 5 0 1010 0h6v-5a3 3 0 00-3-3zM14 28a3 3 0 110-6 3 3 0 010 6zm36 0a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-wagon {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M56 14H48l-4-6H14l-4 8H6a2 2 0 00-2 2v6h4a4 4 0 108 0h28a4 4 0 108 0h6v-8a2 2 0 00-2-2zM12 26a2 2 0 110-4 2 2 0 010 4zm40 0a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-hatchback {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M52 16l-4-6H16l-6 8H8a2 2 0 00-2 2v4h4a4 4 0 108 0h24a4 4 0 108 0h6v-4a2 2 0 00-2-2h-2zM14 26a2 2 0 110-4 2 2 0 010 4zm36 0a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.bodystyle-icon-convertible {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%236b7280' d='M56 18l-8-6H20l-10 8H8a2 2 0 00-2 2v2h4a4 4 0 108 0h28a4 4 0 108 0h6v-2a2 2 0 00-2-2-2 2 0 01-2-2zM14 26a2 2 0 110-4 2 2 0 010 4zm38 0a2 2 0 110-4 2 2 0 010 4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ============================================
   COLOR SWATCHES FOR EXTERIOR/INTERIOR COLOR
   ============================================ */
.filter-color .check {
    padding: 8px 0;
}

.filter-color .check label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    margin-left: auto;
}

/* Common color swatches */
.color-swatch-black {
    background: #1f2937;
}

.color-swatch-white {
    background: #ffffff;
    border-color: #d1d5db;
}

.color-swatch-silver {
    background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
}

.color-swatch-grey,
.color-swatch-gray {
    background: #6b7280;
}

.color-swatch-red {
    background: #dc2626;
}

.color-swatch-blue {
    background: #2563eb;
}

.color-swatch-brown {
    background: #78350f;
}

.color-swatch-green {
    background: #16a34a;
}

.color-swatch-beige {
    background: #d4c4a8;
}

.color-swatch-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.color-swatch-orange {
    background: #ea580c;
}

.color-swatch-yellow {
    background: #facc15;
}

.color-swatch-purple {
    background: #7c3aed;
}

.color-swatch-tan {
    background: #c9a66b;
}

.color-swatch-maroon {
    background: #7f1d1d;
}

.color-swatch-burgundy {
    background: #7f1d1d;
}

.color-swatch-navy {
    background: #1e3a5f;
}

.color-swatch-charcoal {
    background: #374151;
}

/* ============================================
   RANGE SLIDER STYLING
   ============================================ */
.filter .budget {
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    margin-top: 8px;
    padding: 0;
}

.filter .budget .budget-slider {
    margin-top: 12px;
    padding: 0;
}

/* Slider value inputs */
.slider-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.slider-input-group {
    flex: 1;
}

.slider-input-group label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.slider-input-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    text-align: center;
    background-color: #fff;
}

.slider-input-group input:focus {
    outline: none;
    border-color: #ec1a2e;
    box-shadow: 0 0 0 3px rgba(236, 26, 46, 0.1);
}

/* noUiSlider Override for Carvana style */
.budget-slider .noUi-target {
    border: none;
    box-shadow: none;
    background: #e5e7eb;
    height: 4px;
    border-radius: 2px;
}

.budget-slider .noUi-base,
.budget-slider .noUi-connects {
    background: #e5e7eb;
    border-radius: 2px;
}

.budget-slider .noUi-connect {
    background: #ec1a2e;
}

.budget-slider .noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    top: -8px;
    border-radius: 50%;
    border: 2px solid #ec1a2e;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: grab;
}

.budget-slider .noUi-horizontal .noUi-handle:active {
    cursor: grabbing;
    box-shadow: 0 2px 8px rgba(0, 168, 225, 0.3);
}

.budget-slider .noUi-handle:after,
.budget-slider .noUi-handle:before {
    display: none;
}

/* ============================================
   SPECIALS TOGGLE SWITCH
   ============================================ */
.filter-toggle {
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    min-height: 56px;
}

.filter-toggle .toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    font-family: Roboto, Poppins, sans-serif;
    line-height: 1.4;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: all 0.3s ease;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #ec1a2e;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-buttons {
    padding: 16px 20px;
    margin-top: 0;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    gap: 10px;
}

.filter-buttons .btn {
    flex: 1;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.filter-buttons .btn-primary,
.filter-buttons .btn-apply {
    background: #ec1a2e;
    border-color: #ec1a2e;
    color: white;
}

.filter-buttons .btn-primary:hover,
.filter-buttons .btn-apply:hover {
    background: #e00e22;
    border-color: #e00e22;
}

.filter-buttons .btn-outlined,
.filter-buttons .btn-clear {
    background: white;
    border: 1px solid #e5e7eb;
    color: #1f2937;
}

.filter-buttons .btn-outlined:hover,
.filter-buttons .btn-clear:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ============================================
   MILEAGE (KM) FILTER INPUTS
   ============================================ */
.mileage-inputs {
    display: flex;
    gap: 12px;
    padding: 0 0 8px;
}

.mileage-input-group {
    flex: 1;
}

.mileage-input-group label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.mileage-input-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

/* ============================================
   MOBILE FILTER TOGGLE BUTTON
   ============================================ */
.mobile-filter-toggle {
    display: none;
}

@media (max-width: 991px) {
    .search-bar-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .search-bar-wrapper .text-filter {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: #f0f5fa;
        color: #6b7280;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 18px;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s ease;
        position: relative;
    }

    .mobile-filter-toggle:hover {
        background: #e5ebf1;
        color: #1f2937;
    }

    .mobile-filter-toggle i {
        font-size: 18px;
    }

    .mobile-filter-count {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #ec1a2e;
        color: white;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 5px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
        line-height: 1.2;
    }

    .mobile-filter-count.hidden {
        display: none;
    }

    .text-filter .input-field {
        flex: 1;
    }
}

@media (min-width: 992px) {
    .mobile-filter-overlay {
        display: none !important;
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    #sideFilter {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        max-height: none;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background: white;
    }

    #sideFilter.show {
        transform: translateX(0);
    }

    .filter-container {
        border: none;
        border-radius: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
        height: 100%;
    }

    .filter-container .body {
        height: auto !important;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .mobile-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-filter-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile filter header with close */
    .filter-container .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filter-close-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        color: #1f2937;
        font-size: 24px;
    }

    /* Hide sticky header when mobile filter is open */
    body.mobile-filter-open .header,
    body.mobile-filter-open .header--mobile,
    body.mobile-filter-open .header__wrap,
    body.mobile-filter-open .header__banner,
    body.mobile-filter-open .search-bar-wrapper {
        display: none !important;
    }
}

/* Mobile Apply Filters Button Footer */
.mobile-filter-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.btn-apply-filters {
    width: 100%;
    padding: 14px 24px;
    background: #eb0a1e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-apply-filters:hover,
.btn-apply-filters:focus {
    background: #c00818;
}

@media (max-width: 767px) {
    #sideFilter {
        max-width: 100%;
    }
}

/* ============================================
   SEARCH BAR WRAPPER (Carvana-style)
   ============================================ */
.search-bar-wrapper {
    background: #f0f1f3;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: sticky;
    top: 16px;
    z-index: 100;
    transition: all 0.3s ease;
}

.search-bar-wrapper.is-sticky {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    background-color: #e00e22;
    top: 0;
    z-index: 1050;
}

.search-bar-wrapper .text-filter {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 4px 0;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-bar-wrapper .text-filter .icon {
    color: #6b7280;
    font-size: 18px;
    padding: 10px 12px;
    min-width: 44px;
}

.search-bar-wrapper .text-filter .input-field {
    border: none;
    font-size: 16px;
    line-height: 24px;
    height: 40px;
    padding: 8px 12px 8px 0;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.search-bar-wrapper .text-filter .input-field:focus {
    outline: none;
    box-shadow: none;
}

.search-bar-wrapper .text-filter .input-field::placeholder {
    color: #9ca3af;
}

/* ============================================
   PAGINATION (Carvana-style compact)
   ============================================ */
#dvPagination.results-pagination {
    margin-left: 360px;
    margin-top: 40px;
    margin-bottom: 40px;
}

#dvPagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: none;
    flex-wrap: wrap;
}

#dvPagination .pagination>li {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin: 0;
    float: none;
}

#dvPagination .pagination>li.pagination-chevron {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

#dvPagination .pagination>li.pagination-chevron:not(.disabled):hover {
    background: #e5e7eb;
}

#dvPagination .pagination>li.pagination-chevron.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#dvPagination .pagination>li a {
    font-size: 14px;
    line-height: 1;
    color: #1f2937;
    font-weight: 500;
    padding: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border:none;
}

#dvPagination .pagination>li.pagination-chevron a {
    font-size: 16px;
    color: #6b7280;
}

#dvPagination .pagination>li.pagination-chevron a i {
    font-size: 14px;
}

#dvPagination .pagination>li:not(.pagination-chevron):not(.active):not(.disabled):hover {
    background: #f3f4f6;
}

#dvPagination .pagination>li.active {
    background: #ec1a2e;
}

#dvPagination .pagination>li.active a {
    color: #ffffff;
    font-weight: 600;
}

#dvPagination .pagination>li.disabled a {
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

/* Pagination responsive adjustments */
@media (max-width: 991px) {
    #dvPagination.results-pagination {
        margin-left: 0;
    }
}

@media (max-width: 1450px) and (min-width: 992px) {
    #dvPagination.results-pagination {
        margin-left: 310px;
    }
}

/* ============================================
   CUSTOM COLLAPSE (replaces Bootstrap collapse)
   ============================================ */
.filter .filter-collapse {
    display: none;
    overflow: hidden;
}

/* Show content that should be visible by default (has 'in' class or 'collapse-in' class) */
.filter .filter-collapse.in,
.filter .filter-collapse.collapse-in {
    display: block;
}

/* Chevron rotation - matches slideToggle duration (200ms) */
/* When expanded (open): point up. When collapsed (closed): point down */
.filter .coll .filter-icon {
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.filter .coll.collapsed .filter-icon {
    transform: rotate(0deg);
}

/* ============================================
   CARVANA-STYLE COMBINED PAYMENT & PRICE FILTER
   ============================================ */
.filter-subsection {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.filter-subsection:first-child {
    padding-top: 8px;
}

.filter-subsection-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.filter-subsection-desc {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}

.slider-separator {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #9ca3af;
    font-size: 14px;
}

/* Slider container with extra spacing */
.slider-container {
    padding: 16px 0 8px 0;
}

/* Slider range labels (min/max below slider) */
.slider-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #6b7280;
}

.slider-range-min,
.slider-range-max {
    font-weight: 400;
}

/* Single input for payment slider */
.slider-input-single {
    flex: 0 0 auto !important;
}

.slider-input-single input {
    width: 120px !important;
}

/* CTA Sections */
.filter-cta-section {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.filter-cta-section:last-child {
    border-bottom: none;
    padding-bottom: 12px;
}

.filter-cta-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.filter-cta-desc {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Override noUiSlider for Carvana-style larger handles */
.budget-slider .noUi-horizontal .noUi-handle {
    width: 28px;
    height: 28px;
    right: -14px;
    top: -12px;
    border-radius: 50%;
    border: 2px solid #ec1a2e;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: grab;
}

.budget-slider .noUi-horizontal .noUi-handle:active {
    cursor: grabbing;
    box-shadow: 0 2px 10px rgba(0, 168, 225, 0.4);
}

.budget-slider .noUi-horizontal .noUi-handle::before,
.budget-slider .noUi-horizontal .noUi-handle::after {
    display: none;
}

/* Thicker track for visibility */
.budget-slider .noUi-target {
    height: 6px;
    border-radius: 3px;
}

/* Payment slider single handle - connect goes from start */
.payment-slider-single .noUi-connect {
    background: #ec1a2e;
}

/* ============================================
   MOBILE INLINE CONDITION FILTER BUTTONS
   ============================================ */
.mobile-condition-filter {
    display: none;
}

@media (max-width: 991px) {
    .mobile-condition-filter {
        display: flex;
        gap: 8px;
        padding: 10px 0;
        margin-bottom: 5px;
    }

    .mobile-condition-filter .condition-btn {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 20px;
        background: #fff;
        color: #6b7280;
        font-size: 14px;
        font-weight: 500;
        font-family: Roboto, Poppins, sans-serif;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
    }

    .mobile-condition-filter .condition-btn:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    .mobile-condition-filter .condition-btn.active {
        background: #253746;
        border-color: #253746;
        color: #fff;
    }

    .mobile-condition-filter .condition-btn.active:hover {
        background: #1a2830;
        border-color: #1a2830;
    }
}
