.carhub-search-page{
    margin:0;
    background:#f7f9fc;
    color:#101828;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.carhub-search-page *{box-sizing:border-box}

.carhub-search{
    min-height:100vh;
    padding:18px 14px 48px;
}

.carhub-search__shell{
    width:min(100%,760px);
    margin:0 auto;
}

.carhub-search__header{height:48px;display:flex;align-items:center}

.carhub-search__back{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    color:#101828;
    text-decoration:none;
    font-size:30px;
    line-height:1;
}

.carhub-search__hero{position:relative;z-index:10}

.carhub-search__form{
    display:flex;
    box-sizing:border-box;
    width:100%;
    align-items:stretch;
    min-height:58px;
    background:#fff;
    border:1px solid #344054;
    border-radius:11px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(16,24,40,.04);
}

.carhub-search__type{
    display:flex;
    align-items:center;
    border-right:1px solid #e4e7ec;
    padding:0 10px 0 14px;
}

.carhub-search__type select{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    outline:0;
    background:transparent;
    color:#101828;
    font-size:16px;
    font-weight:600;
    padding-right:18px;
    cursor:pointer;
}

.carhub-search__input-wrap{
    display:flex;
    align-items:center;
    flex:1;
    min-width:0;
    padding:0 10px 0 14px;
}

.carhub-search__icon{font-size:25px;color:#667085;margin-right:10px}

.carhub-search__input{
    width:100%;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:#101828!important;
    font-size:16px!important;
    font-weight:500!important;
    padding:0!important;
}

.carhub-search__input::placeholder{color:#98a2b3;opacity:1}

.carhub-search__voice{
    border:0;
    background:transparent;
    cursor:pointer;
    font-size:20px;
    padding:6px;
}

.carhub-search__submit{
    border:0;
    border-left:1px solid #e4e7ec;
    background:#fff;
    color:#2563eb;
    font-weight:700;
    padding:0 18px;
    cursor:pointer;
}

.carhub-search__suggestions{
    position:absolute;
    top:66px;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #e4e7ec;
    border-radius:12px;
    box-shadow:0 18px 45px rgba(16,24,40,.13);
    overflow:hidden;
}

.carhub-search__suggestion-group{padding:8px 0}
.carhub-search__suggestion-title{padding:8px 16px;color:#667085;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.carhub-search__suggestion{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#101828;text-decoration:none}
.carhub-search__suggestion:hover{background:#f8fafc}
.carhub-search__suggestion-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:12px;font-weight:800}
.carhub-search__suggestion-icon img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:inherit;
}
.carhub-search__quick{margin-top:20px}
.carhub-search__quick-section{margin-bottom:28px}
.carhub-search__section-heading{font-size:17px;font-weight:750;margin-bottom:8px}

.carhub-search__list{background:#fff;border-radius:12px;overflow:hidden}

.carhub-search__search-item{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:49px;
    padding:0 2px;
    color:#344054;
    text-decoration:none;
    border-bottom:1px solid #eaecf0;
    font-size:15px;
}

.carhub-search__search-item:last-child{border-bottom:0}
.carhub-search__search-arrow{color:#475467;font-size:17px}
.carhub-search__empty{margin:0;padding:16px 0;color:#98a2b3;font-size:14px}

.carhub-search__results{margin-top:34px}
.carhub-search__results-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}
.carhub-search__eyebrow{display:block;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.14em;margin-bottom:5px}
.carhub-search__results-heading h1{margin:0;font-size:27px;line-height:1.2}
.carhub-search__count{color:#667085;font-size:13px}

.carhub-search__group{margin-bottom:30px}
.carhub-search__group h2{font-size:19px;margin:0 0 12px}
.carhub-search__group-heading{display:flex;align-items:center;justify-content:space-between}
.carhub-search__group-heading span{font-size:13px;color:#667085}

.carhub-search__chips{display:flex;flex-wrap:wrap;gap:9px}
.carhub-search__chip{padding:10px 14px;background:#fff;border:1px solid #d0d5dd;border-radius:999px;color:#344054;text-decoration:none;font-size:14px;font-weight:600}
.carhub-search__chip:hover{border-color:#2563eb;color:#2563eb}

.carhub-search__cars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

.carhub-search-card{display:block;background:#fff;border:1px solid #eaecf0;border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;box-shadow:0 4px 14px rgba(16,24,40,.04)}
.carhub-search-card__image{height:150px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;overflow:hidden}
.carhub-search-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.carhub-search-card__image span{color:#98a2b3}
.carhub-search-card__body{padding:14px}
.carhub-search-card__body h3{font-size:16px;line-height:1.3;margin:0 0 7px}
.carhub-search-card__body p{font-size:14px;font-weight:750;margin:0;color:#101828}

.carhub-search__no-results{display:flex;flex-direction:column;gap:5px;padding:30px;background:#fff;border:1px solid #eaecf0;border-radius:14px;color:#667085}
.carhub-search__no-results strong{color:#101828;font-size:17px}

.carhub-search__pagination{display:flex;justify-content:center;gap:7px;margin-top:22px}
.carhub-search__pagination a{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;text-decoration:none;font-weight:650}
.carhub-search__pagination a.is-active{background:#2563eb;border-color:#2563eb;color:#fff}

.screen-reader-text{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}

@media(max-width:640px){
    .carhub-search{padding:8px 14px 40px}
    .carhub-search__submit{display:none}
    .carhub-search__form{min-height:56px}

    /*
     * Search results remain a compact catalogue grid on mobile.
     * A single full-width card makes long result sets unnecessarily
     * tall and forces users to scroll excessively.
     */
    .carhub-search__cars{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .carhub-search-card__image{
        height:118px;
    }

    .carhub-search-card__body{
        padding:11px;
    }

    .carhub-search-card__body h3{
        font-size:14px;
        line-height:1.3;
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        overflow:hidden;
    }

    .carhub-search-card__body p{
        font-size:12px;
    }

    .carhub-search__results-heading h1{font-size:23px}
}


/* ==========================================================
   Search Results — Pagination Controls
========================================================== */

.carhub-search__pagination{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-wrap:wrap;

    gap:6px;

    margin-top:32px;

}


.carhub-search__pagination a,
.carhub-search__pagination-ellipsis{

    min-width:40px;

    height:40px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    border:1px solid #E2E8F0;

    border-radius:8px;

    background:#FFFFFF;

    color:#334155;

    font-size:14px;

    font-weight:600;

    line-height:1;

    text-decoration:none;

}


.carhub-search__pagination a{

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;

}


.carhub-search__pagination a:hover{

    border-color:#2563EB;

    color:#2563EB;

}


.carhub-search__pagination a.is-active{

    border-color:#2563EB;

    background:#2563EB;

    color:#FFFFFF;

}


.carhub-search__pagination-prev,
.carhub-search__pagination-next{

    padding:0 13px;

}


.carhub-search__pagination-ellipsis{

    border-color:transparent;

    background:transparent;

    color:#94A3B8;

    cursor:default;

}


@media (max-width:768px){

    .carhub-search__pagination{

        gap:4px;

        margin-top:24px;

    }

    .carhub-search__pagination a,
    .carhub-search__pagination-ellipsis{

        min-width:36px;

        height:36px;

        font-size:13px;

    }

}

/* ==========================================================
   Advanced Search Filters
========================================================== */

.carhub-search__filters{

    margin-top:18px;

    background:#ffffff;

    border:1px solid #e4e7ec;

    border-radius:14px;

    box-shadow:
        0 4px 14px rgba(16,24,40,.035);

}


.carhub-search__filters-summary{

    display:flex;

    align-items:center;

    gap:10px;

    min-height:54px;

    padding:0 18px;

    cursor:pointer;

    list-style:none;

    color:#101828;

    font-size:15px;

    font-weight:750;

}


.carhub-search__filters-summary::-webkit-details-marker{

    display:none;

}


.carhub-search__filters-active{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:22px;

    height:22px;

    padding:0 6px;

    border-radius:999px;

    background:#eff6ff;

    color:#2563eb;

    font-size:11px;

    font-weight:800;

}


.carhub-search__filters-chevron{

    margin-left:auto;

    color:#667085;

    font-size:20px;

    line-height:1;

    transition:
        transform .2s ease;

}


.carhub-search__filters[open]
.carhub-search__filters-chevron{

    transform:rotate(45deg);

}


.carhub-search__filters-form{

    padding:0 18px 18px;

    border-top:1px solid #eaecf0;

}


.carhub-search__filter-grid{

    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:16px;

    padding-top:18px;

}


.carhub-search__filter{

    display:flex;

    flex-direction:column;

    gap:7px;

    min-width:0;

}


.carhub-search__filter > span{

    color:#344054;

    font-size:12px;

    font-weight:750;

}


.carhub-search__filter select,
.carhub-search__filter input{

    width:100%;

    min-height:44px;

    padding:0 12px;

    border:1px solid #d0d5dd;

    border-radius:9px;

    outline:none;

    background:#ffffff;

    color:#101828;

    font-family:inherit;

    font-size:13px;

    font-weight:500;

    box-shadow:none;

}


.carhub-search__filter select{

    cursor:pointer;

}


.carhub-search__filter input::placeholder{

    color:#98a2b3;

}


.carhub-search__filter select:focus,
.carhub-search__filter input:focus{

    border-color:#2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37,99,235,.08);

}


.carhub-search__filters-actions{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:12px;

    margin-top:20px;

}


.carhub-search__filters-reset{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:42px;

    padding:0 15px;

    border:1px solid #d0d5dd;

    border-radius:9px;

    background:#ffffff;

    color:#475467;

    font-size:13px;

    font-weight:700;

    text-decoration:none;

}


.carhub-search__filters-reset:hover{

    border-color:#98a2b3;

    color:#101828;

}


.carhub-search__filters-apply{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:42px;

    padding:0 18px;

    border:1px solid #2563eb;

    border-radius:9px;

    background:#2563eb;

    color:#ffffff;

    font-family:inherit;

    font-size:13px;

    font-weight:750;

    cursor:pointer;

}


.carhub-search__filters-apply:hover{

    background:#1d4ed8;

    border-color:#1d4ed8;

}


@media (max-width:900px){

    .carhub-search__filter-grid{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

    }

}


@media (max-width:600px){

    .carhub-search__filter-grid{

        grid-template-columns:1fr;

    }

    .carhub-search__filters-form{

        padding:
            0
            14px
            14px;

    }

    .carhub-search__filters-summary{

        padding:
            0
            14px;

    }

    .carhub-search__filters-actions{

        flex-direction:column-reverse;

        align-items:stretch;

    }

    .carhub-search__filters-reset,
    .carhub-search__filters-apply{

        width:100%;

    }

}

.carhub-search__results-actions{

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;

}

.carhub-search__compare-action{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    min-height:34px;
    padding:0 12px;

    border-radius:8px;

    background:var(--carhub-primary, #2563eb);
    color:#FFFFFF;

    font-size:12px;
    font-weight:700;

    text-decoration:none;

    transition:
        opacity .2s ease,
        transform .2s ease;

}

.carhub-search__compare-action:hover{

    transform:translateY(-1px);

}

.carhub-search__compare-action.is-disabled{

    opacity:.45;

    pointer-events:none;

}

.carhub-search-card{

    position:relative;

}

.carhub-search-card__link{

    display:block;

    color:inherit;

    text-decoration:none;

}

.carhub-search-card__compare{

    display:flex;

    align-items:center;

    gap:7px;

    padding:10px 14px;

    border-top:1px solid #eaecf0;

    background:#f8fafc;

    color:#475467;

    font-size:12px;

    font-weight:700;

    cursor:pointer;

}

.carhub-search-card__compare input{

    width:16px;

    height:16px;

    margin:0;

}

/* ==========================================================
   Compare Search — Selection Workflow
   IMPORTANT:
   These styles are intentionally scoped to
   .carhub-search-page--compare.
   ========================================================== */

.carhub-search-page--compare
.carhub-search__compare-tray {

    margin-top: 18px;

    padding: 16px;

    border: 1px solid #dbe5f0;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    box-shadow:
        0 10px 28px rgba(
            15,
            23,
            42,
            .07
        );
}


.carhub-search-page--compare
.carhub-search__compare-tray-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 12px;
}


.carhub-search-page--compare
.carhub-search__compare-tray-header > div {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.carhub-search-page--compare
.carhub-search__compare-tray-header > div > span {

    color: #2563eb;

    font-size: 8px;

    font-weight: 850;

    letter-spacing: .15em;
}


.carhub-search-page--compare
.carhub-search__compare-tray-header strong {

    color: #0f172a;

    font-size: 15px;

    font-weight: 800;
}


.carhub-search-page--compare
.carhub-search__compare-tray-header > span {

    padding:
        5px
        9px;

    border-radius: 999px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 9px;

    font-weight: 800;
}


.carhub-search-page--compare
.carhub-search__compare-selected {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 8px;
}


.carhub-search-page--compare
.carhub-search__compare-selected-card {

    position: relative;

    min-width: 0;

    padding: 8px;

    border: 1px solid #e5eaf0;

    border-radius: 11px;

    background: #ffffff;
}


.carhub-search-page--compare
.carhub-search__compare-selected-card img {

    display: block;

    width: 100%;

    height: 65px;

    margin-bottom: 7px;

    object-fit: contain;
}


.carhub-search-page--compare
.carhub-search__compare-selected-info {

    min-width: 0;

    padding-right: 15px;
}


.carhub-search-page--compare
.carhub-search__compare-selected-info strong {

    display: block;

    overflow: hidden;

    color: #0f172a;

    font-size: 10px;

    font-weight: 800;

    line-height: 1.25;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.carhub-search-page--compare
.carhub-search__compare-selected-info span {

    display: block;

    margin-top: 3px;

    color: #64748b;

    font-size: 8px;

    font-weight: 650;

    line-height: 1.25;
}


.carhub-search-page--compare
.carhub-search__compare-selected-remove {

    position: absolute;

    top: 6px;

    right: 6px;

    display: grid;

    place-items: center;

    width: 20px;

    height: 20px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #fef2f2;

    color: #dc2626;

    font-size: 14px;

    line-height: 1;

    cursor: pointer;
}


.carhub-search-page--compare
.carhub-search__compare-tray-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 13px;

    padding-top: 13px;

    border-top: 1px solid #e8edf3;
}


.carhub-search-page--compare
.carhub-search__compare-tray-footer p {

    margin: 0;

    color: #64748b;

    font-size: 10px;

    font-weight: 600;
}


.carhub-search-page--compare
.carhub-search__compare-tray
.carhub-search__compare-action {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 115px;

    min-height: 38px;

    padding:
        0
        13px;

    border: 1px solid #2563eb;

    border-radius: 9px;

    background: #ffffff;

    color: #2563eb;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    box-shadow: none;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.carhub-search-page--compare
.carhub-search__compare-tray
.carhub-search__compare-action:hover {

    transform:
        translateY(-1px);

    border-color: #2563eb;

    background: #eff6ff;

    color: #2563eb;
}


.carhub-search-page--compare
.carhub-search__compare-tray
.carhub-search__compare-action.is-disabled {

    opacity: .45;

    pointer-events: none;

    border-color: #cbd5e1;

    background: #ffffff;

    color: #94a3b8;

    box-shadow: none;
}

.carhub-search-page--compare
.carhub-search__hero::before {

    content:
        "COMPARE VEHICLES";

    display: block;

    margin-bottom: 8px;

    color: #2563eb;

    font-size: 9px;

    font-weight: 850;

    letter-spacing: .15em;

}


/* ==========================================================
   Mobile
========================================================== */


@media (max-width: 640px) {

    .carhub-search-page--compare
    .carhub-search__compare-tray {

        margin-top: 14px;

        padding: 12px;

        border-radius: 14px;

    }


    .carhub-search-page--compare
    .carhub-search__compare-selected {

        display: flex;

        gap: 8px;

        overflow-x: auto;

        padding-bottom: 3px;

        scroll-snap-type: x mandatory;

        scrollbar-width: thin;

    }


    .carhub-search-page--compare
    .carhub-search__compare-selected-card {

        flex:
            0 0 108px;

        scroll-snap-align: start;

    }


    .carhub-search-page--compare
    .carhub-search__compare-selected-card img {

        height: 54px;

    }


    .carhub-search-page--compare
    .carhub-search__compare-tray-footer {

        align-items: stretch;

        flex-direction: column;

    }


    .carhub-search-page--compare
    .carhub-search__compare-action {

        width: 100%;

        box-sizing: border-box;

    }

}
/* ==========================================================
   Search — Premium Filter Modal
========================================================== */

.carhub-search__filters-trigger {
    width: 100%;
    min-height: 58px;
    margin-top: 14px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    color: #101828;
    font-size: 16px;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16,24,40,.04);
}

.carhub-search__filters-trigger:hover {
    border-color: #93b4f7;
}

.carhub-search__filters-trigger-icon {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 22px;
    font-weight: 500;
}

.carhub-search__filters-active {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
}

.carhub-search-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.carhub-search-filter-modal.is-open {
    display: block;
}

.carhub-search-filter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.62);
}

.carhub-search-filter-dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 900px);
    max-height: min(88vh, 760px);
    margin: 6vh auto 0;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15,23,42,.28);
}

.carhub-search-filter-dialog__header {
    position: relative;
    padding: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.carhub-search-filter-dialog__header > div > span {
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.carhub-search-filter-dialog__header h2 {
    margin: 5px 0 0;
    color: #101828;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}

.carhub-search-filter-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475467;
    font-size: 22px;
    cursor: pointer;
}

.carhub-search-filter-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 430px;
}

.carhub-search-filter-nav {
    padding: 10px;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
}

.carhub-search-filter-nav button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.carhub-search-filter-nav button.is-active {
    border-left-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
}

.carhub-search-filter-content {
    min-width: 0;
    padding: 22px;
    overflow-y: auto;
}

.carhub-search-filter-panel {
    display: none;
}

.carhub-search-filter-panel.is-active {
    display: block;
}

/* Premium filter buttons used by the header/global search. */
.carhub-search-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 16px;
}

.carhub-search-filter-chip {
    min-height: 48px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.carhub-search-filter-chip:hover,
.carhub-search-filter-chip[aria-expanded="true"] {
    border-color: #93b4f7;
    background: #f8fbff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
}

.carhub-search-filter-chip__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.carhub-search-filter-panel__heading strong,
.carhub-search-filter-panel__heading small {
    display: block;
}

.carhub-search-filter-panel__heading strong {
    color: #172033;
    font-size: 18px;
}

.carhub-search-filter-panel__heading small {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.carhub-search-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-height: 330px;
    margin-top: 18px;
    overflow-y: auto;
    padding-right: 3px;
}

.carhub-search-filter-options button,
.carhub-search-condition-options button {
    min-height: 48px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
}

.carhub-search-filter-options button:hover,
.carhub-search-filter-options button.is-selected,
.carhub-search-condition-options button:hover,
.carhub-search-condition-options button.is-selected {
    border-color: #93b4f7;
    background: #f6f9ff;
    color: #2563eb;
}

.carhub-search-filter-options button small {
    color: #64748b;
    font-size: 12px;
}

.carhub-search-condition-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.carhub-search-condition-options button {
    justify-content: center;
    text-align: center;
}

.carhub-search-budget-card {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    background: #f8fafc;
}

.carhub-search-budget-card__top,
.carhub-search-budget-card__range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.carhub-search-budget-card__top > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.carhub-search-budget-card__top > strong {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.carhub-search-budget-slider {
    width: 100%;
    height: 6px;
    margin: 20px 0 12px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
}

.carhub-search-budget-slider::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

.carhub-search-budget-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

.carhub-search-budget-card__range {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.carhub-search-budget-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.carhub-search-budget-presets button {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #e4eaf2;
    border-radius: 13px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.carhub-search-budget-presets button:hover,
.carhub-search-budget-presets button.is-active {
    border-color: #93b4f7;
    background: #f6f9ff;
    color: #2563eb;
}

.carhub-search-all-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.carhub-search-all-grid label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.carhub-search-all-grid input,
.carhub-search-all-grid select {
    width: 100%;
    height: 44px;
    margin-top: 6px;
    padding: 0 11px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    color: #172033;
}

.carhub-search-filter-dialog__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.carhub-search-filter-dialog__footer a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}

.carhub-search-filter-dialog__footer button {
    min-width: 170px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.carhub-search__suggested {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
}

.carhub-search__suggested strong {
    color: #2563eb;
}

.carhub-search__content-group {
    margin-top: 32px;
}

.carhub-search__content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.carhub-search-content-card {
    display: block;
    overflow: hidden;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16,24,40,.04);
}

.carhub-search-content-card__image {
    height: 150px;
    overflow: hidden;
    background: #f2f4f7;
}

.carhub-search-content-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.carhub-search-content-card__body {
    padding: 14px;
}

.carhub-search-content-card__body small {
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.carhub-search-content-card__body h3 {
    margin: 7px 0;
    font-size: 16px;
    line-height: 1.35;
}

.carhub-search-content-card__body p {
    margin: 0 0 12px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.carhub-search-content-card__body strong {
    font-size: 13px;
}

@media (max-width: 640px) {
    .carhub-search-filter-dialog {
        width: calc(100vw - 28px);
        max-height: 90vh;
        margin: 5vh auto 0;
        border-radius: 20px;
    }

    .carhub-search-filter-layout {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 440px;
    }

    .carhub-search-filter-nav {
        padding: 8px 5px;
    }

    .carhub-search-filter-nav button {
        padding: 10px 8px;
        font-size: 11px;
    }

    .carhub-search-filter-content {
        padding: 16px;
    }

    .carhub-search-condition-options,
    .carhub-search-filter-options,
    .carhub-search-budget-presets,
    .carhub-search-all-grid,
    .carhub-search__content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .carhub-search-filter-dialog__header h2 {
        font-size: 24px;
    }
}

html.carhub-search-filter-open,
body.carhub-search-filter-open {
    overflow: hidden;
}

/* Model names are intentionally normal-weight; counts remain compact. */
.carhub-search-filter-options button[data-search-model-option] {
    font-weight: 400;
}

.carhub-search-filter-options button[data-search-model-option] small {
    flex: 0 0 auto;
    font-weight: 500;
}

@media (max-width: 520px) {
    .carhub-search-filter-chips {
        gap: 7px;
    }

    .carhub-search-filter-chip {
        min-height: 46px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .carhub-search-filter-chip__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}


/* ==========================================================
   Search Content — Compact Editorial Results
   Keeps related news/reviews useful without dominating the
   vehicle results page.
   ========================================================== */
.carhub-search-content-card__image{
    height:112px;
}

.carhub-search-content-card__body{
    padding:11px;
}

.carhub-search-content-card__body h3{
    margin:5px 0 6px;
    font-size:14px;
    line-height:1.3;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

.carhub-search-content-card__body p{
    margin:0 0 9px;
    font-size:12px;
    line-height:1.4;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
}

.carhub-search-content-card__body strong{
    font-size:11px;
}

@media(max-width:640px){
    .carhub-search__content-group{
        margin-top:24px;
    }

    .carhub-search__content-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .carhub-search-content-card__image{
        height:105px;
    }
}


/*
 * Keep the premium search filter dialog centered in the viewport.
 */
.carhub-search-filter-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.carhub-search-filter-modal .carhub-search-filter-dialog {
    margin: 0 !important;
    max-height: calc(100dvh - 24px) !important;
}

@media (max-width: 640px) {
    .carhub-search-filter-modal.is-open {
        padding: 6px !important;
    }

    .carhub-search-filter-modal .carhub-search-filter-dialog {
        width: calc(100vw - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
    }
}


/* ================================================================
   SHARED HOMEPAGE PREMIUM FILTER MODAL
   The search page uses the exact same filter UI as the homepage.
================================================================ */

.carhub-search-page {
    --ch-blue: #2563eb;
    --ch-blue-soft: #eff6ff;
    --ch-border: #e4eaf2;
    --ch-muted: #718096;
    --ch-text: #182235;
}

.carhub-search-page .carhub-home-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.carhub-search-page .carhub-home-filter-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.carhub-search-page .carhub-home-filter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
}

.carhub-search-page .carhub-home-filter-dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 900px);
    max-height: calc(100dvh - 24px);
    margin: 0 !important;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.carhub-search-page .carhub-home-filter-dialog__header {
    position: relative;
    flex: 0 0 auto;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--ch-border);
}

.carhub-search-page .carhub-home-filter-dialog__header span {
    color: var(--ch-blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.carhub-search-page .carhub-home-filter-dialog__header h2 {
    margin: 5px 0 0;
    color: var(--ch-text);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 500;
}

.carhub-search-page .carhub-home-filter-dialog__header button {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.carhub-search-page .carhub-home-filter-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: 460px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.carhub-search-page .carhub-home-filter-nav {
    padding: 12px;
    border-right: 1px solid var(--ch-border);
    background: #f8fafc;
    overflow-y: auto;
}

.carhub-search-page .carhub-home-filter-nav button {
    width: 100%;
    min-height: 42px;
    padding: 11px 12px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    text-align: left;
    color: #64748b;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}

.carhub-search-page .carhub-home-filter-nav button.is-active {
    border-left-color: var(--ch-blue);
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
    font-weight: 700;
}

.carhub-search-page .carhub-home-filter-content {
    padding: 22px;
    overflow-y: auto;
    min-width: 0;
}

.carhub-search-page .home-filter-panel {
    display: none;
}

.carhub-search-page .home-filter-panel.is-active {
    display: block;
}

.carhub-search-page .home-filter-panel__heading strong,
.carhub-search-page .home-filter-panel__heading small {
    display: block;
}

.carhub-search-page .home-filter-panel__heading strong {
    color: var(--ch-text);
    font-size: 18px;
    font-weight: 500;
}

.carhub-search-page .home-filter-panel__heading small {
    margin-top: 3px;
    color: var(--ch-muted);
    font-size: 13px;
    font-weight: 400;
}

.carhub-search-page .home-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    max-height: 330px;
    overflow-y: auto;
}

.carhub-search-page .home-filter-options button {
    min-height: 44px;
    padding: 9px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--ch-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ch-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.carhub-search-page .home-filter-options button:hover,
.carhub-search-page .home-filter-options button.is-selected {
    border-color: #93c5fd;
    color: var(--ch-blue);
}

.carhub-search-page .home-filter-options button small {
    color: var(--ch-muted);
    font-size: 12px;
    font-weight: 400;
}

.carhub-search-page .home-filter-options button[hidden] {
    display: none !important;
}

.carhub-search-page .home-filter-condition-options button.is-selected,
.carhub-search-page .home-filter-options [data-body-option].is-selected,
.carhub-search-page .home-filter-options [data-fuel-option].is-selected {
    background: var(--ch-blue-soft);
    border-color: #93c5fd;
    color: var(--ch-blue);
}

.carhub-search-page .home-budget-slider-card {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--ch-border);
    border-radius: 18px;
    background: #f8fafc;
}

.carhub-search-page .home-budget-slider-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
}

.carhub-search-page .home-budget-slider-card__top strong {
    color: var(--ch-text);
    font-size: 18px;
    font-weight: 700;
}

.carhub-search-page .home-budget-slider {
    width: 100%;
    height: 5px;
    margin: 20px 0 8px;
    appearance: none;
    border-radius: 999px;
    background: #e5e7eb;
}

.carhub-search-page .home-budget-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ch-blue);
    border: 3px solid #fff;
    box-shadow: 0 2px 7px rgba(37, 99, 235, .25);
}

.carhub-search-page .home-budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ch-blue);
    border: 3px solid #fff;
}

.carhub-search-page .home-budget-slider-card__range {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 10px;
}

.carhub-search-page .home-budget-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.carhub-search-page .home-budget-presets button {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--ch-border);
    border-radius: 13px;
    background: #fff;
    color: var(--ch-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.carhub-search-page .home-budget-presets button.is-active {
    border-color: #93c5fd;
    background: var(--ch-blue-soft);
    color: var(--ch-blue);
}

.carhub-search-page .home-all-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

.carhub-search-page .home-all-filter-grid label {
    display: block;
    color: var(--ch-muted);
    font-size: 12px;
    font-weight: 700;
}

.carhub-search-page .home-all-filter-grid input,
.carhub-search-page .home-all-filter-grid select {
    width: 100%;
    height: 44px;
    margin-top: 5px;
    padding: 0 10px;
    border: 1px solid var(--ch-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ch-text);
}

.carhub-search-page .carhub-home-filter-dialog__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--ch-border);
    background: #fff;
    flex: 0 0 auto;
}

.carhub-search-page .carhub-home-filter-dialog__footer a,
.carhub-search-page .carhub-home-filter-dialog__footer button {
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    cursor: pointer;
}

.carhub-search-page .carhub-home-filter-dialog__footer a {
    color: var(--ch-muted);
    text-decoration: none;
}

.carhub-search-page .carhub-home-filter-apply {
    min-width: 170px;
    background: var(--ch-blue);
    color: #fff;
    font-weight: 800;
}

@media (max-width: 640px) {
    .carhub-search-page .carhub-home-filter-modal.is-open {
        padding: 6px !important;
    }

    .carhub-search-page .carhub-home-filter-dialog {
        width: calc(100vw - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
        border-radius: 22px;
    }

    .carhub-search-page .carhub-home-filter-dialog__header {
        padding: 20px 18px 15px;
    }

    .carhub-search-page .carhub-home-filter-dialog__header h2 {
        font-size: 25px;
    }

    .carhub-search-page .carhub-home-filter-layout {
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 420px;
    }

    .carhub-search-page .carhub-home-filter-nav {
        padding: 7px;
    }

    .carhub-search-page .carhub-home-filter-nav button {
        min-height: 40px;
        padding: 10px 7px;
        font-size: 11px;
        font-weight: 500;
    }

    .carhub-search-page .carhub-home-filter-content {
        padding: 15px;
    }

    .carhub-search-page .home-filter-options,
    .carhub-search-page .home-filter-options--grid {
        grid-template-columns: 1fr 1fr;
    }

    .carhub-search-page .home-filter-options button {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .carhub-search-page .home-all-filter-grid {
        grid-template-columns: 1fr;
    }

    .carhub-search-page .home-budget-presets {
        gap: 8px;
    }

    .carhub-search-page .home-budget-presets button {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .carhub-search-page .carhub-home-filter-dialog__footer {
        padding: 12px 14px;
    }

    .carhub-search-page .carhub-home-filter-apply {
        min-width: 128px;
    }
}

/* Shared premium vehicle condition badge for search result cards. */

/* Premium soft-slate condition badge: white text on a restrained dark background. */
.carhub-search-card__image .carhub-vehicle-condition-badge {
    color: #ffffff !important;
    background: rgba(75, 85, 99, .94) !important;
    border-color: rgba(255,255,255,.35) !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.carhub-search-card__image {
    position: relative;
}

.carhub-search-card__image .carhub-vehicle-condition-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
}


/* ==========================================================================
   PREMIUM SEARCH CONDITION DROPDOWN
   ========================================================================== */
.carhub-search__condition {
    position: relative;
    flex: 0 0 170px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e4e7ec;
    background: #fff;
}

.carhub-search__condition-toggle {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px 0 16px;
    border: 0;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.carhub-search__condition-toggle:hover {
    background: #f8faff;
}

.carhub-search__condition-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.8px solid #667085;
    border-bottom: 1.8px solid #667085;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.carhub-search__condition-toggle[aria-expanded="true"] .carhub-search__condition-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.carhub-search__condition-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 8px;
    right: 8px;
    overflow: hidden;
    padding: 6px;
    border: 1px solid #dfe6f1;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 45px rgba(16,24,40,.16);
    backdrop-filter: blur(16px);
}

.carhub-search__condition-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #344054;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.carhub-search__condition-option:hover {
    background: #f3f7ff;
    color: #155eef;
}

.carhub-search__condition-option.is-selected {
    background: #edf4ff;
    color: #155eef;
    font-weight: 750;
}

.carhub-search__condition-check {
    opacity: 0;
    color: #2563eb;
    font-weight: 900;
}

.carhub-search__condition-option.is-selected .carhub-search__condition-check {
    opacity: 1;
}

@media (max-width: 560px) {
    .carhub-search__condition {
        flex-basis: 140px;
    }

    .carhub-search__condition-toggle {
        padding-left: 12px;
        padding-right: 11px;
        font-size: 13px;
    }

    .carhub-search__condition-menu {
        left: 5px;
        right: 5px;
    }
}

/* Keep the condition selector wide enough for one-line premium labels. */
.carhub-search__condition-toggle,
.carhub-search__condition-option {
    white-space: nowrap;
}

@media (max-width: 560px) {
    .carhub-search__condition {
        flex-basis: 140px !important;
    }

    .carhub-search__condition-menu {
        left: 5px;
        right: 5px;
    }
}

/* ==========================================================
   Search condition selector — compact closed control
   Keep the premium option menu wider so all labels remain on
   one line, while reducing only the closed "All" segment.
========================================================== */
@media (max-width: 560px) {
    .carhub-search__condition {
        flex: 0 0 98px !important;
        width: 98px !important;
    }

    .carhub-search__condition-toggle {
        width: 98px !important;
        min-width: 98px !important;
        padding-left: 12px !important;
        padding-right: 10px !important;
        gap: 6px !important;
        overflow: hidden;
    }

    .carhub-search__condition-toggle [data-search-condition-label] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .carhub-search__condition-menu {
        left: 0 !important;
        right: auto !important;
        width: 145px !important;
        min-width: 145px !important;
    }
}



/* ==========================================================
   SEARCH CONDITION SELECTOR — MATCH THE SEARCH BOX CORNERS
   The selector is part of the same black-bordered search box.
   Keep its dropdown popup independently rounded.
   ========================================================== */
.carhub-search__condition {
    border-radius: 10px 0 0 10px;
}

.carhub-search__condition-toggle {
    border: 1px solid #344054 !important;
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    box-sizing: border-box;
}


/* Keep one clean black outer border; prevent theme/select styles from adding a second edge. */
.carhub-search__form {
    border:1px solid #344054 !important;
    border-radius:11px !important;
    box-shadow:0 2px 8px rgba(16,24,40,.04) !important;
}
.carhub-search__type {
    border-top:0 !important;
    border-bottom:0 !important;
    border-left:0 !important;
    border-right:1px solid #e4e7ec !important;
    box-shadow:none !important;
}
.carhub-search__type select {
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    background:transparent !important;
}


/* ==========================================================
   Search Results — Premium Load More
========================================================== */

.carhub-search__load-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:28px;
}

.carhub-search__load-more{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:190px;
    min-height:46px;
    padding:0 20px;
    border:1px solid #2563EB;
    border-radius:11px;
    background:#FFFFFF;
    color:#2563EB;
    font-family:inherit;
    font-size:13px;
    font-weight:800;
    line-height:1;
    cursor:pointer;
    box-shadow:0 5px 16px rgba(37,99,235,.08);
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.carhub-search__load-more:hover{
    background:#FFFFFF;
    color:#2563EB;
    border-color:#2563EB;
    transform:translateY(-1px);
    box-shadow:0 9px 22px rgba(37,99,235,.14);
}

.carhub-search__load-more:disabled{
    cursor:wait;
    opacity:.78;
    transform:none;
}

.carhub-search__load-more-spinner{
    width:14px;
    height:14px;
    border:2px solid currentColor;
    border-right-color:transparent;
    border-radius:50%;
    animation:carhubSearchLoadSpin .7s linear infinite;
}

.carhub-search__load-more-spinner[hidden]{
    display:none;
}

@keyframes carhubSearchLoadSpin{
    to{transform:rotate(360deg)}
}

@media(max-width:640px){
    .carhub-search__load-more-wrap{
        margin-top:24px;
    }

    .carhub-search__load-more{
        width:100%;
        min-height:44px;
    }
}
