/* =========================================
   FEATURES CHIPS ROW
   ========================================= */
   
   .pov-chips-row .chips-arrow.visible:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}



/* ── Pagination ── */
.pov-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 0 16px;
    flex-wrap: wrap;
}

.pov-pagination-wrap button {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s;
}

.pov-pagination-wrap button:hover:not(:disabled) {
    background: #0D585F;
    color: #fff;
    border-color: #0D585F;
}

.pov-pagination-wrap button.active {
    background: #0D585F;
    color: #fff;
    border-color: #0D585F;
}

.pov-pagination-wrap button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pov-chips-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
}

.pov-chips-row .chips-arrow {
    flex-shrink: 0;
    height: 100%;
    border-radius: 7px;
    border: 1px solid #00000066;
    background: #fff;
    font-size: 20px;
    color: #374151;
    cursor: pointer;
    display: none; /* hidden by default, shown by JS when overflow */
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 12px;
    line-height: 1;
}

.pov-chips-row .chips-arrow:hover {
    border-color: #0D585F;
    color: #0D585F;
}

.pov-chips-row .chips-arrow.visible {
    display: flex;
}

.pov-features-chips-track-wrap {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.pov-features-chips-track {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.pov-feature-chip {
    flex-shrink: 0;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    cursor: default;
    user-select: none;
}


/* =========================================
   PRE OWNED VEHICLES — MAIN LAYOUT
   ========================================= */

.p--owned-archive-wrap-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.p--owned-archive-wrap-main .p--owned-archive-wrap {
    width: 75%;
    min-width: 0;
}

/* =========================================
   SIDEBAR
   ========================================= */

.pov-filter-sidebar {
    width: 25%;
    border: 1px solid #00000066;
    border-radius: 12px;
    padding: 28px;
    position: sticky;
    top: 20px;
    flex-shrink: 0;
}

.pov-filter-sidebar .pov-filter-accordion {
    padding: 0;
    border-bottom: 1px solid #F3F4F6;
}

.pov-filter-sidebar .pov-filter-accordion:last-child {
    border-bottom: none;
}

.pov-filter-sidebar .pov-filter-accordion .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    border-bottom: none;
}

.pov-filter-sidebar .pov-filter-accordion .filter-header h4 {
    margin: 0;
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    color: #0D585F;
    font-weight: 600;
}

.pov-filter-sidebar .pov-filter-accordion .filter-body {
    display: none;
    padding-bottom: 20px;
}

/* Chevron rotation */
.accordion-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pov-filter-accordion.active .accordion-chevron {
    transform: rotate(180deg);
}

/* Make search */
.make-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
    outline: none;
    color: #374151;
}

.make-search:focus {
    border-color: #0D585F;
}

/* Make list */
.make-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.make-list li {
    margin-bottom: 20px;
}

.make-list li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-top: 10px;
    color: #0D585F;
    font-weight: 500;
    cursor: pointer;
}

.make-list li label input[type="checkbox"] {
    accent-color: #0D585F;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Year range */
.year-range {
    display: flex;
    gap: 10px;
}

.year-range input {
    width: 50%;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    color: #374151;
}

.year-range input:focus {
    border-color: #0D585F;
}

/* Mileage Range — pill/toggle style */
.mileage-range-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mileage-item {
    cursor: pointer;
}

.mileage-item input {
    display: none;
}

.mileage-item span {
    display: inline-block;
    padding: 6px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mileage-item input:checked + span {
    background: #0D585F;
    border-color: #0D585F;
    color: #fff;
}

/* Fuel list */
.fuel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fuel-list li {
    margin-bottom: 10px;
}

.fuel-list li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.fuel-list li label input[type="checkbox"] {
    accent-color: #0D585F;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Color swatch */
.color-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    cursor: pointer;
    position: relative;
}

.color-swatch input {
    display: none;
}

.color-box {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid #ddd;
    display: block;
    transition: border-color 0.2s;
}

.color-swatch input:checked + .color-box {
    border: 3px solid #0D585F;
    box-shadow: 0 0 0 2px #fff inset;
}

/* Body style */
.body-style-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.body-style-item {
    position: relative;
    cursor: pointer;
}

.body-style-item input {
    display: none;
}

.body-style-box {
    padding: 8px 16px;
    border: 1.5px solid #0D585F;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #0D585F;
    font-weight: 500;
    transition: all 0.2s ease;
}

.body-style-box img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.body-style-item input:checked + .body-style-box {
    background: #0D585F;
    color: #fff;
}

/* Price range */
.price-range-wrapper {
    padding: 10px 0 5px;
}

.range-inputs {
    position: relative;
    height: 30px;
}

.range-inputs input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.range-inputs input[type="range"]::-webkit-slider-runnable-track {
    background: #E5E7EB;
    height: 4px;
    border-radius: 2px;
}

.range-inputs input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0D585F;
    cursor: pointer;
    -webkit-appearance: none;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    margin-top: -7px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Body type */
.body-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.body-type-item {
    cursor: pointer;
    display: inline-block;
}

.body-type-box {
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 60px;
}

.body-type-item.active .body-type-box {
    border-color: #0D585F;
    background: #EEF8F7;
}

.body-type-box img {
    width: 36px;
    height: 24px;
    object-fit: contain;
}

.body-type-box span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

.body-type-item.active .body-type-box span {
    color: #0D585F;
}

/* Features list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0D585F #F3F4F6;
}

.feature-list li {
    margin-bottom: 10px;
}

.feature-list li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.feature-list li label input[type="checkbox"] {
    accent-color: #0D585F;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* =========================================
   ACTIVE FILTERS TAG BAR
   ========================================= */

.pov-active-filters-bar {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    min-height: 36px;
}

.pov-active-filters-bar:empty {
    display: none;
}

.pov-active-filters-bar .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #00000066;
    border-radius: 50px;
    padding: 5px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #374151;
    font-weight: 400;
    white-space: nowrap;
}

.pov-active-filters-bar .filter-tag .remove-tag {
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #9CA3AF;
    font-weight: 400;
    transition: color 0.2s;
    margin-left: 2px;
}

.pov-active-filters-bar .filter-tag .remove-tag:hover {
    color: #374151;
}

.pov-active-filters-bar .clear-all-btn {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #2563EB;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 4px;
}

/* =========================================
   COUNT + SORT TOP BAR
   ========================================= */

.pov-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vehicle-count {
    font-family: 'Archivo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.pov-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.pov-sort-wrapper label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6B7280;
    white-space: nowrap;
}

.pov-sort-select {
    padding: 8px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    background: #fff;
    outline: none;
    cursor: pointer;
    min-width: 160px;
}

.pov-sort-select:focus {
    border-color: #0D585F;
}

/* =========================================
   VEHICLE GRID
   ========================================= */

.p--owned-archive-wrap .p--owned--main {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.p--owned-archive-wrap .p--owned-wrap {
    width: calc(33.333% - 16px);
}

/* =========================================
   VEHICLE CARD
   ========================================= */

.p--owned-wrap .p--owned-vehicle {
    border-radius: 20px;
    border: 1.5px solid #F3F4F6;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.p--owned-wrap .p--owned-vehicle:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* Card Header / Gallery */
.p--owned-vehicle .vehicle--header {
    position: relative;
    flex-shrink: 0;
}

.p--owned-vehicle .vehicle--header .gallery--imgs .gallery-item {
    width: 100%;
    overflow: hidden;
}

.p--owned-vehicle .vehicle--header .gallery--imgs .gallery-item img {
    width: 100%;
    height: 298px;
    object-fit: contain;
    display: block;
}

/* Owl Nav */
.p--owned-vehicle .vehicle--header .gallery--imgs .owl-nav {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.p--owned-vehicle .vehicle--header .gallery--imgs .owl-nav button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff !important;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
}

.p--owned-vehicle .vehicle--header .gallery--imgs .owl-nav button img {
    width: 8px;
    height: 8px;
}

/* Slide counter */
.p--owned-vehicle .vehicle--header .slider-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.92);
    border-radius: 50px;
    padding: 3px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    z-index: 2;
}

/* Card Content */
.p--owned-vehicle .vehicle--content {
    padding: 16px 18px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p--owned-vehicle .vehicle--content .descrition {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 4px;
    line-height: 1.4;
}

.p--owned-vehicle .vehicle--content .title {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    color: #0D585F;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Stock / VIN */
.p--owned-vehicle .vehicle--content .impt--details {
    margin-bottom: 0;
}

.p--owned-vehicle .vehicle--content .impt--details .icon--detail {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
}

.p--owned-vehicle .vehicle--content .impt--details .icon--detail:last-child {
    margin-top: 0;
    margin-bottom: 0;
}

.p--owned-vehicle .vehicle--content .impt--details .icon--detail .icon--wrap {
    width: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.p--owned-vehicle .vehicle--content .impt--details .icon--detail .icon--wrap img {
    width: 14px;
    height: auto;
}

.p--owned-vehicle .vehicle--content .impt--details .icon--detail p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
    margin: 0;
}

/* Tabs */
.vehicle-tabs {
    margin-top: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-tabs .tabs-nav {
    display: flex;
    border-bottom: 2px solid #F3F4F6;
    margin-bottom: 0;
}

.vehicle-tabs .tab-btn {
    background: none;
    border: none;
    outline: none;
    width: 50%;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s;
}

.vehicle-tabs .tab-btn.active {
    color: #0D585F;
    border-bottom-color: #0D585F;
}

.vehicle-tabs .tabs-content .tab-pane {
    display: none;
    padding-top: 16px;
}

.vehicle-tabs .tabs-content .tab-pane.active {
    display: block;
}

/* Pricing tab */
.details--wrap .icons--wrapper .icon--detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.details--wrap .icons--wrapper .icon--detail .icon--wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.details--wrap .icons--wrapper .icon--detail .icon--wrap img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.details--wrap .icons--wrapper .icon--detail .icon--wrap p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    font-weight: 400;
}

.details--wrap .icons--wrapper .icon--detail p.msrp {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    font-weight: 600;
    margin: 0;
}

.details--wrap .icons--wrapper .icon--detail:first-child p.msrp {
    text-decoration: line-through;
    color: #9CA3AF;
}

.details--wrap .icons--wrapper .icon--detail:nth-child(2) p.msrp {
    color: #DC2626;
    font-weight: 600;
}

.details--wrap .icons--wrapper .icon--detail:last-child .icon--wrap p {
    color: #0D585F;
    font-weight: 600;
}

.details--wrap .icons--wrapper .icon--detail:last-child p.msrp {
    color: #0D585F;
    font-weight: 700;
    font-size: 15px;
}

.discount--wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid #F3F4F6;
}

.discount--wrap .icon--detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.discount--wrap .icon--detail .icon--wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount--wrap .icon--detail .icon--wrap img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.discount--wrap .icon--detail .icon--wrap p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    font-weight: 600;
    margin: 0;
}

.discount--wrap .icon--detail p.msrp {
    color: #16A34A;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.offers--text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    background: #F9FAFB;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 14px;
    border: 1px solid #E5E7EB;
}

/* Details tab */
.vehicle--depth {
    margin-bottom: 14px;
}

.vehicle--depth .icon--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vehicle--depth .icon--wrap .icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
}

.vehicle--depth .icon--wrap .icon img {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vehicle--depth .icon--wrap p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    margin: 0;
}

.details--vehicle {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid #F3F4F6;
}

.details--vehicle .icon--wrap .icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    font-weight: 600;
    margin-bottom: 12px;
}

.details--vehicle .icon--wrap .icon p {
    margin: 0;
}

.details--vehicle .key-features-image img {
    width: 100%;
    border-radius: 8px;
}

/* =========================================
   VEHICLE BUTTONS
   ========================================= */

.vehicle--btns {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vehicle--btns .notched-btn-gradient {
    border-radius: 8px;
    overflow: hidden;
}

.vehicle--btns .notched-btn-gradient:first-child {
    background: linear-gradient(135deg, #0D585F, #0a4449);
}

.vehicle--btns .notched-btn-gradient:first-child a {
    display: block;
    text-align: center;
    padding: 13px 20px;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.vehicle--btns .notched-btn-gradient:last-child {
    background: transparent;
    border: 1.5px solid #0D585F;
    border-radius: 8px;
}

.vehicle--btns .notched-btn-gradient:last-child a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    color: #0D585F !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

/* =========================================
   PAGINATION
   ========================================= */

.pov-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.pov-pagination button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pov-pagination button:hover:not(:disabled) {
    border-color: #0D585F;
    color: #0D585F;
}

.pov-pagination button.active {
    background: #0D585F;
    border-color: #0D585F;
    color: #fff;
    font-weight: 700;
}

.pov-pagination button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


@media (max-width: 1400px) {

    .p--owned-archive-wrap-main {
        gap: 20px;
    }

    .pov-filter-sidebar {
        width: 28%;
        padding: 20px;
    }

    .p--owned-archive-wrap-main .p--owned-archive-wrap {
        width: 72%;
    }

    .pov-filter-sidebar .pov-filter-accordion .filter-header h4 {
        font-size: 17px;
    }

    .make-list li label {
        font-size: 15px;
    }

    .vehicle-count {
        font-size: 20px;
    }

    .p--owned-archive-wrap .p--owned-wrap {
        width: calc(50% - 12px);
    }
}

/* ── 1200px and below ── */
@media (max-width: 1200px) {

    .pov-filter-sidebar {
        width: 30%;
        padding: 18px;
    }

    .p--owned-archive-wrap-main .p--owned-archive-wrap {
        width: 70%;
    }

    .p--owned-vehicle .vehicle--header .gallery--imgs .gallery-item img {
        height: 240px;
    }

    .pov-feature-chip {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ── 1024px and below — stack sidebar on top ── */
@media (max-width: 1024px) {

    .p--owned-archive-wrap-main {
        flex-direction: column;
        gap: 24px;
    }

    .pov-filter-sidebar {
        width: 100%;
        position: static;          /* un-stick sidebar when stacked */
        box-sizing: border-box;
        padding: 20px;
    }

    .p--owned-archive-wrap-main .p--owned-archive-wrap {
        width: 100%;
    }

    /* Keep 2-column grid on tablets */
    .p--owned-archive-wrap .p--owned-wrap {
        width: calc(50% - 12px);
    }

    /* Show all accordions collapsed by default on mobile
       (JS already handles open/close; this just ensures layout) */
    .pov-filter-sidebar .pov-filter-accordion .filter-body {
        display: none;
    }

    .vehicle-count {
        font-size: 18px;
    }

    .pov-top-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ── 768px and below ── */
@media (max-width: 768px) {

    .p--owned-archive-wrap-main {
        gap: 20px;
    }

    .pov-filter-sidebar {
        padding: 16px;
    }

    .pov-filter-sidebar .pov-filter-accordion .filter-header h4 {
        font-size: 16px;
    }

    /* Single column cards on small tablets / large phones */
    .p--owned-archive-wrap .p--owned-wrap {
        width: 100%;
    }

    .p--owned-vehicle .vehicle--header .gallery--imgs .gallery-item img {
        height: 220px;
    }

    .pov-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pov-sort-wrapper {
        width: 100%;
    }

    .pov-sort-select {
        flex: 1;
        min-width: unset;
    }

    .vehicle-count {
        font-size: 17px;
    }

    /* Chips row — let it scroll on small screens */
    .pov-chips-row {
        gap: 8px;
    }

    .pov-feature-chip {
        padding: 8px 14px;
        font-size: 12px;
        gap: 7px;
    }

    /* Pricing / details tab text tweaks */
    .details--wrap .icons--wrapper .icon--detail .icon--wrap p,
    .details--wrap .icons--wrapper .icon--detail p.msrp {
        font-size: 13px;
    }

    /* Active filter tags */
    .pov-active-filters-bar .filter-tag {
        font-size: 13px;
        padding: 4px 10px;
    }

    /* Pagination */
    .pov-pagination {
        gap: 4px;
    }

    .pov-pagination button {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* Body type grid tighter */
    .body-type-list {
        gap: 8px;
    }

    .body-type-box {
        padding: 10px 12px;
        min-width: 50px;
    }

    .body-type-box img {
        width: 30px;
        height: 20px;
    }
}

/* ── 480px and below ── */
@media (max-width: 480px) {

    .pov-filter-sidebar {
        padding: 14px;
        border-radius: 10px;
    }

    .pov-filter-sidebar .pov-filter-accordion .filter-header {
        padding: 14px 0;
    }

    .pov-filter-sidebar .pov-filter-accordion .filter-header h4 {
        font-size: 15px;
    }

    .make-list li label {
        font-size: 14px;
    }

    .p--owned-vehicle .vehicle--header .gallery--imgs .gallery-item img {
        height: 200px;
    }

    .p--owned-vehicle .vehicle--content {
        padding: 14px 14px 20px;
    }

    .p--owned-vehicle .vehicle--content .title {
        font-size: 15px;
    }

    .vehicle-tabs .tab-btn {
        font-size: 13px;
        padding: 9px 0;
    }

    .vehicle--btns .notched-btn-gradient:first-child a,
    .vehicle--btns .notched-btn-gradient:last-child a {
        font-size: 14px;
        padding: 11px 16px;
    }

    .discount--wrap .icon--detail p.msrp {
        font-size: 15px;
    }

    .vehicle-count {
        font-size: 16px;
    }

    .pov-chips-row {
        gap: 6px;
    }

    .pov-feature-chip {
        padding: 7px 12px;
        font-size: 11px;
    }

    /* Year range stacks vertically on very small screens */
    .year-range {
        flex-direction: column;
        gap: 8px;
    }

    .year-range input {
        width: 100%;
    }

    /* Mileage pills wrap better */
    .mileage-range-list {
        gap: 6px;
    }

    .mileage-item span {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Body style wraps */
    .body-style-list {
        gap: 8px;
    }

    .body-style-box {
        padding: 7px 12px;
        font-size: 12px;
    }

    /* Color swatches a bit smaller */
    .color-box {
        width: 26px;
        height: 26px;
    }

    /* Price values font */
    .price-values {
        font-size: 12px;
    }

    /* Pagination even tighter */
    .pov-pagination button {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 6px;
    }
}