#vehicle-listing-page {
    --vrf-primary: #5365cf;
    --vrf-primary-dark: #4051bd;
    --vrf-primary-soft: #f1f3ff;
    --vrf-success: #30bb7e;
    --vrf-text: #17191c;
    --vrf-muted: #767c89;
    --vrf-border: #e1e5ed;
    --vrf-surface: #ffffff;
    --vrf-soft-surface: #f7f8fb;
    --vrf-shadow: 0 16px 45px rgba(24, 32, 74, 0.08);
    color: var(--vrf-text);
}

#vehicle-listing-page *,
#vehicle-listing-page *::before,
#vehicle-listing-page *::after {
    box-sizing: border-box;
}

.vehicle-listing-section {
    position: relative;
    overflow: clip;
}

.vehicle-listing-heading {
    margin-bottom: 38px;
}

.vehicle-listing-heading h2 {
    margin-bottom: 14px;
}

.vehicle-listing-heading p {
    max-width: 760px;
    margin: 0;
    color: #626874;
    font-size: 15px;
    line-height: 1.75;
}

.vehicle-page-alert {
    margin: 0 0 28px;
    border-radius: 12px;
}

.vehicle-listing-layout {
    display: grid;
    grid-template-columns: minmax(270px, 305px) minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    width: 100%;
}

.vehicle-filter-desktop-host {
    position: sticky;
    top: 105px;
    min-width: 0;
}

.vehicle-results-column {
    min-width: 0;
    width: 100%;
}

.vrf-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Sidebar                                                                     */
/* -------------------------------------------------------------------------- */

.vrf-sidebar {
    position: relative;
    width: 100%;
    padding: 26px 24px;
    overflow: visible;
    border: 1px solid var(--vrf-border);
    border-radius: 20px;
    background: var(--vrf-surface);
    box-shadow: 0 9px 30px rgba(26, 35, 78, 0.045);
}

.vrf-sidebar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.vrf-sidebar-header h4 {
    margin: 0;
    color: var(--vrf-text);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.vrf-sidebar-subtitle {
    margin: 6px 0 0;
    color: #858b98;
    font-size: 13px;
    line-height: 1.45;
}

.vrf-clear-button {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 1px solid #dce0ea;
    border-radius: 999px;
    background: #ffffff;
    color: #434853;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.vrf-clear-button:hover {
    border-color: var(--vrf-primary);
    background: var(--vrf-primary-soft);
    color: var(--vrf-primary);
}

.vrf-clear-button:focus-visible,
.vehicle-filter-footer-clear:focus-visible,
.vehicle-filter-footer-view:focus-visible,
.vehicle-mobile-filter-trigger:focus-visible,
.vehicle-filter-panel-close:focus-visible,
.vehicle-ajax-error button:focus-visible,
.vehicle-empty-clear:focus-visible {
    outline: 3px solid rgba(83, 101, 207, 0.2);
    outline-offset: 2px;
}

.vrf-status {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    margin: 22px 0 18px;
    padding: 10px 12px;
    border: 1px solid #e1e5f0;
    border-radius: 10px;
    background: #f8f9fe;
    color: #596070;
    font-size: 12px;
    line-height: 1.45;
}

.vrf-status-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border: 3px solid rgba(48, 187, 126, 0.16);
    border-radius: 50%;
    background: var(--vrf-success);
    box-sizing: content-box !important;
}

.vrf-status[data-state="loading"] .vrf-status-dot {
    border-color: rgba(83, 101, 207, 0.16);
    background: var(--vrf-primary);
    animation: vrf-pulse 1s ease-in-out infinite;
}

.vrf-status[data-state="error"] {
    border-color: #f1d5d5;
    background: #fff7f7;
    color: #a53b3b;
}

.vrf-status[data-state="error"] .vrf-status-dot {
    border-color: rgba(220, 76, 76, 0.16);
    background: #dc4c4c;
}

.vrf-status[data-state="empty"] {
    border-color: #eee2c8;
    background: #fffbf2;
    color: #8f6c21;
}

.vrf-status[data-state="empty"] .vrf-status-dot {
    border-color: rgba(218, 165, 53, 0.16);
    background: #daa535;
}

@keyframes vrf-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.86);
    }
}

.vrf-fields,
.vrf-form {
    width: 100%;
}

.vrf-field {
    margin: 0 0 15px;
}

.vrf-select-wrapper,
.vrf-input-wrapper {
    position: relative;
    width: 100%;
}

/* Keep these selects native even when the theme initializes Nice Select. */
#vehicle-listing-page select[data-native-select] + .nice-select {
    display: none !important;
}

#vehicle-listing-page select[data-native-select] {
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#vehicle-listing-page .vrf-select {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 46px 0 16px !important;
    border: 1px solid #dfe3eb !important;
    border-radius: 11px !important;
    outline: none !important;
    background-color: #ffffff !important;
    background-image: linear-gradient(45deg, transparent 50%, #555b66 50%),
        linear-gradient(135deg, #555b66 50%, transparent 50%) !important;
    background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px !important;
    background-repeat: no-repeat !important;
    background-size: 5px 5px, 5px 5px !important;
    color: #30343c !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

#vehicle-listing-page .vrf-select:hover {
    border-color: #c6ccd8 !important;
}

#vehicle-listing-page .vrf-select:focus {
    border-color: var(--vrf-primary) !important;
    box-shadow: 0 0 0 3px rgba(83, 101, 207, 0.12) !important;
}

#vehicle-listing-page .vrf-select:disabled {
    background-color: #f8f9fb !important;
    background-image: linear-gradient(45deg, transparent 50%, #c6cad2 50%),
        linear-gradient(135deg, #c6cad2 50%, transparent 50%) !important;
    color: #a9aeb8 !important;
    cursor: not-allowed !important;
}

.vrf-input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #dfe3eb;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #30343c;
    font-family: inherit;
    font-size: 14px;
    line-height: 52px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vrf-input::placeholder {
    color: #8c919c;
    opacity: 1;
}

.vrf-input:hover {
    border-color: #c6ccd8;
}

.vrf-input:focus {
    border-color: var(--vrf-primary);
    box-shadow: 0 0 0 3px rgba(83, 101, 207, 0.12);
}

/* -------------------------------------------------------------------------- */
/* Dual ranges                                                                 */
/* -------------------------------------------------------------------------- */

.vrf-range-section {
    margin: 4px 0 24px;
    padding: 2px 0 0;
}

.vrf-range-section-last {
    margin-bottom: 2px;
}

.vrf-range-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.vrf-range-title {
    color: #20232a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.vrf-range-values {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #3d424d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

.vrf-dual-range {
    position: relative;
    width: 100%;
    height: 29px;
    margin-top: 2px;
}

.vrf-range-track {
    position: absolute;
    top: 12px;
    right: 5px;
    left: 5px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe3ee;
}

.vrf-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--vrf-primary);
}

.vrf-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 29px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.vrf-range-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.vrf-range-input::-moz-range-track {
    height: 4px;
    background: transparent;
}

.vrf-range-input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -8px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--vrf-primary);
    box-shadow: 0 1px 5px rgba(34, 45, 95, 0.24), 0 0 0 1px rgba(83, 101, 207, 0.1);
    cursor: grab;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.vrf-range-input::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--vrf-primary);
    box-shadow: 0 1px 5px rgba(34, 45, 95, 0.24), 0 0 0 1px rgba(83, 101, 207, 0.1);
    cursor: grab;
    pointer-events: auto;
}

.vrf-range-input:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.06);
}

.vrf-range-input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 1px 5px rgba(34, 45, 95, 0.24), 0 0 0 4px rgba(83, 101, 207, 0.18);
}

.vrf-range-input-min {
    z-index: 3;
}

.vrf-range-input-max {
    z-index: 4;
}

/* -------------------------------------------------------------------------- */
/* Mobile filter button                                                        */
/* -------------------------------------------------------------------------- */

.vehicle-mobile-filter-bar,
.vehicle-mobile-filter-trigger {
    display: none !important;
}

.vehicle-mobile-filter-trigger {
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 13px 11px 15px;
    border: 1px solid #dfe4ef;
    border-radius: 15px;
    background: #ffffff;
    color: var(--vrf-text);
    font: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 39, 78, 0.06);
}

.vehicle-mobile-filter-trigger-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.vehicle-mobile-filter-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--vrf-primary-soft);
    color: var(--vrf-primary);
}

.vehicle-mobile-filter-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vehicle-mobile-filter-trigger-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
    text-align: left;
}

.vehicle-mobile-filter-trigger-copy strong {
    color: #20232a;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.vehicle-mobile-filter-trigger-copy small {
    overflow: hidden;
    color: #858b98;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-filter-count-badge {
    display: inline-flex;
    min-width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--vrf-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.vehicle-filter-count-badge.is-hidden {
    display: none;
}

/* -------------------------------------------------------------------------- */
/* AJAX state and toolbar                                                      */
/* -------------------------------------------------------------------------- */

.vehicle-ajax-error[hidden] {
    display: none !important;
}

.vehicle-ajax-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #f0d2d2;
    border-radius: 11px;
    background: #fff7f7;
    color: #9f3838;
    font-size: 13px;
    line-height: 1.5;
}

.vehicle-ajax-error button {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 0;
    border-radius: 8px;
    background: #a94040;
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.vehicle-results-shell {
    position: relative;
    min-height: 260px;
    scroll-margin-top: 105px;
}

.vehicle-ajax-overlay {
    position: absolute;
    z-index: 30;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 115px;
    background: rgba(255, 255, 255, 0.86);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(1.2px);
}

.vehicle-results-shell.is-loading .vehicle-ajax-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vehicle-results-shell > [data-vrf-results] {
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.vehicle-results-shell.is-loading > [data-vrf-results] {
    opacity: 0.24;
    transform: translateY(2px);
    filter: saturate(0.8);
    pointer-events: none;
    user-select: none;
}

.vehicle-loader-content {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    padding: 10px 16px;
    border: 1px solid #e0e4f2;
    border-radius: 999px;
    background: #ffffff;
    color: #424a5b;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(28, 38, 82, 0.11);
}

.vehicle-loader-spinner {
    width: 21px;
    height: 21px;
    border: 3px solid #dfe3f5;
    border-top-color: var(--vrf-primary);
    border-radius: 50%;
    animation: vrf-spin 0.75s linear infinite;
}

@keyframes vrf-spin {
    to {
        transform: rotate(360deg);
    }
}

.vehicle-result-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 25px;
    padding: 0 0 19px;
    border-bottom: 1px solid #e6e9f0;
}

.vehicle-result-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.vehicle-result-count {
    margin: 0;
    color: #4e5460;
    font-size: 14px;
    line-height: 1.5;
}

.vehicle-active-filter-summary {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--vrf-primary-soft);
    color: var(--vrf-primary-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.vehicle-toolbar-selects {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

#vehicle-listing-page .vehicle-result-select {
    display: block !important;
    width: auto !important;
    min-width: 138px;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 42px 0 14px !important;
    border: 1px solid #dce1ea !important;
    border-radius: 10px !important;
    outline: none !important;
    background-color: #ffffff !important;
    background-image: linear-gradient(45deg, transparent 50%, #555b66 50%),
        linear-gradient(135deg, #555b66 50%, transparent 50%) !important;
    background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px !important;
    background-repeat: no-repeat !important;
    background-size: 5px 5px, 5px 5px !important;
    color: #252932 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: normal !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

#vehicle-listing-page .vehicle-result-select.js-sort-select {
    min-width: 185px;
}

#vehicle-listing-page .vehicle-result-select:focus {
    border-color: var(--vrf-primary) !important;
    box-shadow: 0 0 0 3px rgba(83, 101, 207, 0.12) !important;
}

/* -------------------------------------------------------------------------- */
/* Result cards                                                                */
/* -------------------------------------------------------------------------- */

.vehicle-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.vehicle-grid-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e6ed;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 9px 28px rgba(24, 32, 69, 0.055);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.vehicle-grid-card:hover {
    transform: translateY(-4px);
    border-color: #d4d9e7;
    box-shadow: 0 17px 38px rgba(24, 32, 69, 0.1);
}

.vehicle-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #fafbfc, #f2f4f8);
}

.vehicle-card-badges {
    position: absolute;
    z-index: 3;
    top: 11px;
    right: 11px;
    left: 11px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.vehicle-rental-tags {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.vehicle-card-badge,
.vehicle-card-year {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--vrf-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 5px 13px rgba(57, 72, 167, 0.18);
}

.vehicle-card-badge-success {
    background: #25a96d;
}

.vehicle-card-badge-muted {
    gap: 4px;
    background: rgba(37, 42, 54, 0.74);
    backdrop-filter: blur(5px);
}

.vehicle-card-year {
    flex: 0 0 auto;
    background: #ffffff;
    color: #333946;
    box-shadow: 0 5px 15px rgba(23, 30, 60, 0.12);
}

.vehicle-card-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 38px 14px 14px;
}

.vehicle-card-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.vehicle-grid-card:hover .vehicle-card-image-link img {
    transform: scale(1.035);
}

.vehicle-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 18px 16px;
}

.vehicle-card-category {
    margin: 0 0 6px;
    color: var(--vrf-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.vehicle-card-title {
    margin: 0 0 13px;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.35;
}

.vehicle-card-title a {
    color: #171a21;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vehicle-card-title a:hover {
    color: var(--vrf-primary);
}

.vehicle-card-specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 13px;
    margin-bottom: 18px;
    color: #5e6470;
    font-size: 12px;
    line-height: 1.4;
}

.vehicle-card-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vehicle-card-specs i {
    color: #737a88;
    font-size: 13px;
}

.vehicle-price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
}

.vehicle-price-line strong {
    color: var(--vrf-primary-dark);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.vehicle-price-line span {
    color: #7c828e;
    font-size: 12px;
}

.vehicle-card-footer {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid #eceef3;
    background: #fbfbfd;
}

.vehicle-vendor {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.vehicle-vendor img {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 6px rgba(25, 31, 57, 0.15);
}

.vehicle-vendor span {
    overflow: hidden;
    color: #4f5561;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-book-now {
    display: inline-flex;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 9px;
    background: var(--vrf-primary);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.vehicle-book-now:hover {
    background: var(--vrf-primary-dark);
    transform: translateY(-1px);
}

.vehicle-empty-state {
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 45px 24px;
    border: 1px dashed #d8ddea;
    border-radius: 18px;
    background: #fafbfe;
    text-align: center;
}

.vehicle-empty-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 20px;
    background: var(--vrf-primary-soft);
    color: var(--vrf-primary);
    font-size: 30px;
}

.vehicle-empty-state h4 {
    margin: 0 0 8px;
    color: #20232a;
    font-size: 21px;
}

.vehicle-empty-state p {
    margin: 0 0 19px;
    color: #777e8b;
    font-size: 14px;
}

.vehicle-empty-clear {
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--vrf-primary);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* Pagination                                                                  */
/* -------------------------------------------------------------------------- */

.vehicle-pagination {
    margin-top: 38px;
}

.vehicle-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vehicle-pagination .page-numbers {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    background: #ffffff;
    color: #4a505c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.vehicle-pagination a.page-numbers:hover,
.vehicle-pagination .page-numbers.current {
    border-color: var(--vrf-primary);
    background: var(--vrf-primary);
    color: #ffffff;
}

.vehicle-pagination .page-numbers.disabled {
    color: #b0b5be;
    cursor: not-allowed;
}

/* -------------------------------------------------------------------------- */
/* One mobile offcanvas                                                       */
/* -------------------------------------------------------------------------- */

.vehicle-filter-offcanvas {
    position: fixed;
    z-index: 11050;
    inset: 0;
    visibility: hidden;
    pointer-events: none;
}

.vehicle-filter-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(17, 21, 34, 0.55);
    opacity: 0;
    cursor: default;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
}

.vehicle-filter-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: grid;
    width: min(92vw, 390px);
    max-width: 100%;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 24px 0 60px rgba(12, 18, 42, 0.22);
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.vehicle-filter-offcanvas.is-open {
    visibility: visible;
    pointer-events: auto;
}

.vehicle-filter-offcanvas.is-open .vehicle-filter-backdrop {
    opacity: 1;
}

.vehicle-filter-offcanvas.is-open .vehicle-filter-panel {
    transform: translateX(0);
}

.vehicle-filter-panel-header {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: max(16px, env(safe-area-inset-top)) 18px 15px;
    border-bottom: 1px solid #e8ebf1;
    background: #ffffff;
}

.vehicle-filter-panel-header h3 {
    margin: 0;
    color: #191c23;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.3;
}

.vehicle-filter-panel-header p {
    margin: 3px 0 0;
    color: #858b97;
    font-size: 12px;
    line-height: 1.4;
}

.vehicle-filter-panel-close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    padding: 0 0 3px;
    border: 1px solid #e0e4ec;
    border-radius: 11px;
    background: #f8f9fb;
    color: #343944;
    font: inherit;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.vehicle-filter-panel-body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cdd2df transparent;
}

.vehicle-filter-panel-body .vrf-sidebar {
    padding: 20px 18px 25px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.vehicle-filter-panel-body .vrf-sidebar-header {
    display: none;
}

.vehicle-filter-panel-body .vrf-status {
    margin-top: 0;
}

.vehicle-filter-panel-footer {
    display: grid;
    grid-template-columns: minmax(95px, 0.7fr) minmax(0, 1.6fr);
    gap: 10px;
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e7eaf0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(26, 33, 61, 0.06);
}

.vehicle-filter-footer-clear,
.vehicle-filter-footer-view {
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 11px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.vehicle-filter-footer-clear {
    border: 1px solid #dce1ea;
    background: #ffffff;
    color: #4d535e;
}

.vehicle-filter-footer-view {
    border: 1px solid var(--vrf-primary);
    background: var(--vrf-primary);
    color: #ffffff;
}

body.vrf-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (min-width: 1400px) {
    .vehicle-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .vehicle-listing-layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 24px;
    }

    .vrf-sidebar {
        padding-right: 20px;
        padding-left: 20px;
    }

    .vehicle-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .vehicle-card-footer {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 991px) {
    .vehicle-listing-heading {
        margin-bottom: 26px;
    }

    .vehicle-listing-layout {
        display: block;
    }

    .vehicle-filter-desktop-host {
        display: none;
    }

    .vehicle-mobile-filter-bar {
        display: block !important;
        margin: 0 0 22px;
    }

    .vehicle-mobile-filter-trigger {
        display: flex !important;
    }

    .vehicle-result-toolbar {
        margin-bottom: 22px;
    }

    .vehicle-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vehicle-results-shell {
        scroll-margin-top: 82px;
    }
}

@media (min-width: 992px) {
    .vehicle-filter-desktop-host .vrf-sidebar {
        max-height: calc(100vh - 125px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #cdd2df transparent;
    }

    .vehicle-filter-offcanvas {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .vehicle-listing-heading h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .vehicle-result-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .vehicle-toolbar-selects {
        width: 100%;
    }

    #vehicle-listing-page .vehicle-result-select,
    #vehicle-listing-page .vehicle-result-select.js-sort-select {
        width: 50% !important;
        min-width: 0;
    }

    .vehicle-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .vehicle-card-media {
        aspect-ratio: 16 / 10;
    }

    .vehicle-ajax-overlay {
        padding-top: 92px;
    }
}

@media (max-width: 575px) {
    .vehicle-listing-heading h2 {
        font-size: 25px;
    }

    .vehicle-listing-heading p {
        font-size: 14px;
        line-height: 1.65;
    }

    .vehicle-toolbar-selects {
        align-items: stretch;
        flex-direction: column;
    }

    #vehicle-listing-page .vehicle-result-select,
    #vehicle-listing-page .vehicle-result-select.js-sort-select {
        width: 100% !important;
    }

    .vehicle-result-copy {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-ajax-error {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-card-content {
        padding: 17px 16px 15px;
    }

    .vehicle-card-footer {
        padding: 12px 16px;
    }

    .vrf-range-heading {
        display: block;
    }

    .vrf-range-values {
        justify-content: flex-start;
        margin-top: 5px;
    }

    .vehicle-filter-panel {
        width: min(94vw, 375px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vehicle-grid-card,
    .vehicle-card-image-link img,
    .vehicle-filter-backdrop,
    .vehicle-filter-panel,
    .vehicle-ajax-overlay,
    .vehicle-results-shell > [data-vrf-results] {
        transition: none !important;
    }

    .vehicle-loader-spinner,
    .vrf-status[data-state="loading"] .vrf-status-dot {
        animation-duration: 1.5s;
    }
}


.vehicle-filter-offcanvas
 {
    width: 100% !important;
}


.flat-title {
    border-bottom: 1px solid #EDEDED;
    margin-bottom: 30px;
}
