.tlh-vehicle-shop__inner {
    max-width: 1360px;
    margin: 0 auto;
}

.tlh-vehicle-shop__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tlh-vehicle-shop__header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.tlh-vehicle-shop__header p {
    margin: 0;
    color: #222;
    max-width: 400px;
}

.tlh-vehicle-shop__header-text .finance-image {
    padding-top: 20px;
}

.tlh-vehicle-card__inner-body {
    padding: 20px;
}

.tlh-vehicle-shop__grid {
    position: relative;
}

.tlh-vehicle-shop__sidebar {
    position: relative;
}

.tlh-vehicle-shop__sidebar-inner {
    position: relative;
}

.tlh-vehicle-shop__type-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 4px;
}

.tlh-vehicle-card__finance {
    margin-top: 4px;
    font-size: 14px;
    margin-bottom: 0;
}

.tlh-vehicle-shop__type-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #111;
    font-weight: bold;
    text-decoration: none;
    border-radius: 999px;
    transition: 0.2s ease;
}

.tlh-vehicle-shop__type-nav a:hover,
.tlh-vehicle-shop__type-nav a.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.tlh-vehicle-shop__grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.tlh-vehicle-shop__sidebar {
    position: sticky;
    top: 24px;
}

.tlh-vehicle-filters {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
}

.tlh-vehicle-filters__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.tlh-vehicle-filters__head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
}

.tlh-vehicle-filters__clear {
    padding: 4px 8px;
    border-radius: 3px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    font-weight: bold;
    color: #000;
    font-size: 11px !important;
}

.ui-selectmenu-button.ui-button {
    width: 100% !important;
    padding: 7px 10px !important;
    border: 1px solid #e6e6e6 !important;
    color: #222222 !important;
}

.ui-widget.ui-widget-content {
    border: 1px solid #d4d4d4 !important
}

.ui-selectmenu-button:focus, .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background-color: #f5f5f5 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover, .ui-menu .ui-menu-item-wrapper {
    padding: 5px 12px;
}

.tlh-vehicle-filters__group + .tlh-vehicle-filters__group {
    margin-top: 10px;
}

.tlh-vehicle-filters__group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
}

.tlh-vehicle-filters__group select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
}

.tlh-vehicle-filters__actions {
    margin-top: 30px;
}

.tlh-vehicle-filters__actions button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 4px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.tlh-vehicle-filters__actions button:hover {
    background-color: #000;
}

.tlh-vehicle-shop__results {
    margin-bottom: 20px;
}

.tlh-vehicle-shop__results p {
    margin: 0;
    color: #acacac;
}

.tlh-vehicle-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tlh-vehicle-shop {
    padding: 30px 0 60px 0;
}

.tlh-vehicle-shop-finance {
    text-align: left;
    margin-bottom: 10px;
    max-width: 420px;
    padding: 10px;
    background-color: #fff;
    display: flex;
    gap: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
}
.tlh-vehicle-shop-finance .finance-image-text p {
    margin: 0 !important;
}

.tlh-vehicle-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.tlh-vehicle-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tlh-vehicle-card__badge {
    position: absolute;
    right: 20px;
    top: 20px;
    background: #6FB7E3;
    border: 1px solid #5CA3D0;
    border-radius: 30px;
    padding: 5px 10px;
    color: #103e5a;
    font-weight: bold;
    font-size: 12px;
}

.tlh-vehicle-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-weight: 600;
}

.tlh-vehicle-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.tlh-vehicle-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
}

.tlh-vehicle-card__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    color: #666;
    height: 24px;
}

.tlh-vehicle-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 30px;
    min-height: 60px;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tlh-vehicle-card__title a {
    color: #111;
    text-decoration: none;
}

.tlh-vehicle-card__subtitle {
    margin: 0 0 16px;
    color: #555;
}

.tlh-vehicle-card__meta {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    gap: 8px;
}
.tlh-vehicle-card__meta li:last-child {
    border: 0px solid #fff;
}

.tlh-vehicle-card__meta li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    align-items: flex-start;
    padding-bottom: 1px;
}

.tlh-vehicle-card__meta li span {
    color: #666;
}

.tlh-vehicle-card__footer {
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border-top: 1px solid #e6e6e6;
}

.tlh-vehicle-card__price {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.tlh-vehicle-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 4px;
    margin: 7px 0;
    background: #c22035;
    border: 1px solid #9B0A21;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}
.tlh-vehicle-card__button:hover {
    background-color: #9B0A21;
    border: 1px solid #9B0A21;
    color: #fff;
}

.tlh-vehicle-pagination {
    margin-top: 32px;
}

.tlh-vehicle-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    margin-right: 8px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    font-weight: bold;
    background: #fff;
}

.tlh-vehicle-pagination .page-numbers.current {
    background: #111;
    border-color: #111;
    color: #fff;
    font-weight: bold;
}

.tlh-vehicle-shop__empty {
    padding: 120px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    text-align:center;
    margin: auto;
}
.tlh-vehicle-shop__empty p {
    max-width: 600px;
    margin: auto;
}
.tlh-vehicle-shop__empty h2 {
    margin-top: 0;
    font-size: 30px;
    line-height: 40px;
}
.tlh-vehicle-shop__empty p {
    margin-bottom: 10px;
}

.tlh-vehicle-shop__empty > div > a {
    padding: 4px 8px;
    border-radius: 3px;
    background: #c22034;
    border: 1px solid #b3122c;
    font-weight: bold;
    color: #ffffff;
    font-size: 14px !important;
}

.tlh-vehicle-shop__empty a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1180px) {
    .tlh-vehicle-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .tlh-vehicle-shop__grid {
        grid-template-columns: 1fr;
    }

    .tlh-vehicle-shop__sidebar {
        position: static;
    }
}

#vehicle-sort-button {
    border: 1px solid #e5e5e5 !important;
    background: #fff;
    margin: 0;
    min-width: 200px;
}

@media (max-width: 640px) {
    .tlh-vehicle-shop__results-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .tlh-vehicle-shop__sort {
        margin-left: 0;
    }

    .tlh-vehicle-sort-form {
        align-items: stretch;
    }

    .tlh-vehicle-shop__sort {
        margin: auto !important;
        text-align: center !important;
        margin-bottom: 30px;
    }

    .tlh-vehicle-sort-form select {
        width: 100%;
        min-width: 0;
    }

    .tlh-vehicle-shop {
        padding: 32px 16px;
    }

    .tlh-vehicle-shop__header h1 {
        font-size: 30px;
    }

    .tlh-vehicle-cards {
        grid-template-columns: 1fr;
    }

    .tlh-vehicle-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .tlh-vehicle-card__button {
        width: 100%;
    }

    .tlh-vehicle-shop__type-nav a {
        padding: 5px 12px;
        font-size: 14px;
        height: fit-content;
    }
}
.tlh-vehicle-shop__results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tlh-vehicle-shop__results {
    margin-bottom: 0;
}

.tlh-vehicle-shop__results p {
    margin: 0;
    color: #acacac;
}

.tlh-vehicle-shop__sort {
    margin-left: auto;
}

.tlh-vehicle-sort-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tlh-vehicle-shop__sort-label {
    margin: 0;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

.tlh-vehicle-sort-form select {
    min-width: 220px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    color: #111;
}

.tlh-vehicle-price-slider {
    margin: 12px 4px 16px;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 2px !important;
}

.tlh-vehicle-price-slider.ui-slider {
    position: relative;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: #d9d9d9;
}

.tlh-vehicle-price-slider .ui-slider-range {
    position: absolute;
    height: 100%;
    background: #1f1f1f;
    border-radius: 999px;
}

.tlh-vehicle-price-slider .ui-slider-handle {
    position: absolute;
    top: 50%;
    width: 30px !important;
    height: 30px !important;
    margin-left: -12px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid #444;
    background: #1f1f1f;
    cursor: pointer;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

.tlh-vehicle-price-slider .ui-slider-handle:active,
.tlh-vehicle-price-slider .ui-slider-handle:focus,
.tlh-vehicle-price-slider .ui-slider-handle.ui-state-active,
body .ui-slider-handle.ui-corner-all.ui-state-default{
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

.tlh-vehicle-price-slider .ui-slider-handle, .tlh-vehicle-price-slider .ui-slider-handle:active, .tlh-vehicle-price-slider .ui-slider-handle:focus, .tlh-vehicle-price-slider .ui-slider-handle:hover, .tlh-vehicle-price-slider .ui-state-focus, .tlh-vehicle-price-slider .ui-state-hover {
    outline: none;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    border: 2px solid #444;
    background: #1f1f1f;
}

.tlh-vehicle-price-display {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #222;
}

@media (min-width: 1500px) and (max-width: 1599px) {
    .tlh-used-container main > .container {
        width: 1500px;
    }
    .tlh-used-container .tlh-vehicle-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tlh-vehicle-shop__inner {
        max-width: 100%;
    }
}
@media (min-width: 1600px) and (max-width: 1699px) {
    .tlh-used-container main > .container {
        width: 1600px;
    }
    .tlh-used-container .tlh-vehicle-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .tlh-vehicle-shop__inner {
        max-width: 100%;
    }
}
@media (min-width: 1700px) {
    .tlh-used-container main > .container {
        width: 1700px;
    }
    .tlh-used-container .tlh-vehicle-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .tlh-vehicle-shop__inner {
        max-width: 100%;
    }
}
body .category-small .tlh-vehicle-shop__type-nav a {
    min-height: 25px !important;
    padding: 3px 9px !important;
    font-size: 12px !important;
}
body .category-small {
    padding: 0px 0 20px 0;
    margin: 21px 0;
    border-bottom: 1px solid #e5e5e5;
}