/* 파복회(simwooin21) 매물 목록 — listimg + searchcarbox (polished) */

/* 사이트 메인색(.car-list-page --clf-brand / --epc-site-main) → 파복회 스킨 자동 연동 */
.pabokhoe-list-page.car-list-page,
.car-list-page--filter-pabokhoe.car-list-page {
    --pb-brand: var(--epc-site-main, var(--clf-brand, #147dc2));
    --pb-brand-dark: var(--epc-site-main-dark, color-mix(in srgb, var(--pb-brand) 78%, #000));
    --pb-brand-light: var(--epc-site-main-light, color-mix(in srgb, var(--pb-brand) 10%, #fff));
    --pb-accent: var(--clf-accent, var(--pb-brand));
    --pb-text: #2c3136;
    --pb-muted: #8b939a;
    --pb-border: #e4e9ee;
    --pb-bg: #f6f8fa;
    --pb-radius: 10px;
    --pb-shadow: 0 2px 16px color-mix(in srgb, var(--pb-brand) 10%, transparent);
    --pb-shadow-hover: 0 8px 28px color-mix(in srgb, var(--pb-brand) 16%, transparent);
}

body.site-simwooin21 {
    --pb-brand: #147dc2;
    --pb-brand-dark: #0f6aa8;
    --pb-brand-light: #e8f4fc;
    --pb-accent: #5470ff;
    --pb-text: #2c3136;
    --pb-muted: #8b939a;
    --pb-border: #e4e9ee;
    --pb-bg: #f6f8fa;
    --pb-radius: 10px;
    --pb-shadow: 0 2px 16px rgba(20, 60, 90, 0.07);
    --pb-shadow-hover: 0 8px 28px rgba(20, 60, 90, 0.12);
}

/* ── 페이지 레이아웃 ── */

.pabokhoe-list-page.car-list-page,
.car-list-page--filter-pabokhoe.car-list-page {
    width: 1200px;
    max-width: 100%;
    margin: 50px auto 72px;
    padding: 0 16px;
    box-sizing: border-box;
}

@media screen and (min-width: 1000px) {
    .epc-subpage-shell > .pabokhoe-list-page.car-list-page,
    .epc-subpage-shell > .car-list-page--filter-pabokhoe.car-list-page {
        margin-top: 50px;
    }
}

.pabokhoe-list-page .car-list-filter-wrap,
.car-list-page--filter-pabokhoe .car-list-filter-wrap {
    margin-bottom: 32px;
}

/* ── 정렬 ── */

.sw21-car-order {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 2px;
    margin-bottom: 22px;
    padding: 0 2px;
    font-family: 'Noto Sans KR', sans-serif;
}

.sw21-car-order a {
    color: var(--pb-muted);
    font-size: 14px;
    text-decoration: none;
    padding: 4px 2px;
    letter-spacing: -0.02em;
    transition: color 0.15s ease;
}

.sw21-car-order a:hover {
    color: var(--pb-brand);
}

.sw21-car-order a.on {
    color: var(--pb-brand);
    font-weight: 700;
}

/* ── 정렬·페이징 (공통 partial — car_list_sort_bar.php 등) ── */

.car-list-page--filter-pabokhoe .car-list-sort,
.pabokhoe-list-page .car-list-sort {
    margin: 0 0 22px;
    padding: 0 2px;
    background: transparent;
    box-shadow: none;
}

.car-list-page--filter-pabokhoe .car-list-sort ul,
.pabokhoe-list-page .car-list-sort ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 10px;
}

.car-list-page--filter-pabokhoe .car-list-sort li a,
.pabokhoe-list-page .car-list-sort li a {
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1.4;
    padding: 4px 2px;
    border: 0;
    color: var(--pb-muted);
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.15s ease;
}

.car-list-page--filter-pabokhoe .car-list-sort li a:hover,
.pabokhoe-list-page .car-list-sort li a:hover {
    color: var(--pb-brand);
}

.car-list-page--filter-pabokhoe .car-list-sort li a.is-on,
.pabokhoe-list-page .car-list-sort li a.is-on {
    color: var(--pb-brand);
    background: transparent;
    font-weight: 700;
}

.car-list-page--filter-pabokhoe .car-list-pagination,
.pabokhoe-list-page .car-list-pagination {
    clear: both;
    width: 100%;
    margin-top: 28px;
    padding-top: 0;
    text-align: center;
}

.car-list-page--filter-pabokhoe .car-list-pagination a,
.car-list-page--filter-pabokhoe .car-list-pagination span,
.pabokhoe-list-page .car-list-pagination a,
.pabokhoe-list-page .car-list-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 3px;
    padding: 0 10px;
    border: 1px solid var(--pb-border);
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.car-list-page--filter-pabokhoe .car-list-pagination a:hover,
.pabokhoe-list-page .car-list-pagination a:hover {
    background: var(--pb-brand-light);
    border-color: color-mix(in srgb, var(--pb-brand) 25%, var(--pb-border));
    color: var(--pb-brand);
}

.car-list-page--filter-pabokhoe .car-list-pagination span.is-current,
.pabokhoe-list-page .car-list-pagination span.is-current {
    background: var(--pb-brand);
    border-color: var(--pb-brand);
    color: #fff;
    font-weight: 700;
}

.car-list-page--filter-pabokhoe .car-list-empty,
.pabokhoe-list-page .car-list-empty {
    text-align: center;
    color: var(--pb-brand);
    padding: 36px 20px;
    border: 1px dashed #b8d4e8;
    border-radius: var(--pb-radius);
    background: var(--pb-brand-light);
    margin: 24px 0;
    font-size: 15px;
}

/* ── 매물 카드 그리드 ── */

.sw21-listcar {
    box-sizing: border-box;
}

.sw21-listcar .listimg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.sw21-listcar .listimg::after {
    display: none;
}

.sw21-listcar .listimg > li {
    float: none;
    width: auto;
    margin: 0;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--pb-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sw21-listcar .listimg > li:hover {
    transform: translateY(-3px);
    border-color: #c5dceb;
    box-shadow: var(--pb-shadow-hover);
}

.sw21-car-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sw21-listcar .listimg li .img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--pb-bg);
    position: relative;
}

.sw21-listcar .listimg li .img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

.sw21-listcar .listimg li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sw21-listcar .listimg li:hover .img img {
    transform: scale(1.06);
}

.sw21-listcar .listimg li .car1 {
    width: 100%;
    padding: 14px 14px 10px;
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--pb-text);
    letter-spacing: -0.04em;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
    box-sizing: border-box;
}

.sw21-listcar .listimg li .car2 {
    font-weight: 700;
    color: #444;
}

.sw21-listcar .listimg li .txt {
    width: 100%;
    box-sizing: border-box;
}

.sw21-listcar .txt-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    padding: 0 14px 12px;
}

.sw21-listcar .carlist__float {
    width: auto;
    float: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.03em;
}

.sw21-listcar .carlist__float--left {
    float: none;
    padding: 0;
    text-align: left;
}

.sw21-listcar .carlist__float--right {
    float: none;
    padding: 0;
    text-align: right;
}

.sw21-listcar .meta-label {
    display: block;
    color: var(--pb-muted);
    font-size: 11px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.sw21-listcar .meta-value {
    display: block;
    color: var(--pb-text);
    font-weight: 500;
    white-space: nowrap;
}

.sw21-listcar .carlist__float--left:first-child .meta-value {
    color: var(--pb-brand);
    font-size: 15px;
    font-weight: 700;
}

.sw21-listcar .carlist__float--price .meta-value {
    color: var(--pb-brand);
    font-size: 15px;
    font-weight: 700;
}

.sw21-listcar--lease .carlist__float--left:first-child .meta-value {
    color: var(--pb-text);
    font-size: inherit;
    font-weight: 500;
}

.sw21-listcar--lease .carlist__float--spacer {
    visibility: hidden;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.sw21-listcar .clearfix {
    display: none;
}

.sw21-listcar .installment-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 10px 12px;
    background: var(--pb-brand-light);
    border-top: 1px solid #d6eaf5;
}

.sw21-listcar .installment-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: var(--pb-muted);
    flex-shrink: 0;
    padding-top: 2px;
}

.sw21-listcar .installment-value {
    color: var(--pb-accent);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-align: right;
    line-height: 1.35;
    word-break: keep-all;
}

.sw21-listcar .installment-unit {
    display: block;
    color: #5c6670;
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
}

.sw21-listcar--lease .installment-row--lease {
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
}

.sw21-listcar--lease .installment-row--lease .installment-label {
    font-size: 14px;
    color: #333;
    padding-top: 0;
}

.sw21-listcar--lease .installment-value--lease {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.sw21-listcar--lease .installment-value--lease .installment-unit {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    margin-top: 0;
    margin-left: 1px;
}

/* ── 페이징 ── */

.sw21-car-paging,
#pagingdiv.sw21-car-paging {
    clear: both;
    width: 100%;
    padding-top: 28px;
    text-align: center;
}

.sw21-car-paging a,
.sw21-car-paging strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 3px;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sw21-car-paging a:hover {
    background: var(--pb-brand-light);
    color: var(--pb-brand);
}

.sw21-car-paging strong {
    background: var(--pb-brand);
    color: #fff;
    font-weight: 700;
}

/* ── 빈 목록 ── */

.sw21-car-empty,
#nonelist.sw21-car-empty {
    text-align: center;
    color: var(--pb-brand);
    padding: 36px 20px;
    border: 1px dashed #b8d4e8;
    border-radius: var(--pb-radius);
    background: var(--pb-brand-light);
    margin: 24px 0;
    font-size: 15px;
}

/* ══════════════════════════════════════
   필터 박스
   ══════════════════════════════════════ */

.pb-filter-wrap .pb-filter-q-global {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.pb-filter-wrap select {
    box-shadow: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

#chk_box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--pb-border);
    border-radius: 12px;
    overflow: visible;
    background: #fff;
    box-shadow: var(--pb-shadow);
}

#chk_box * {
    box-sizing: border-box;
}

/* 시장 탭 */

#chk_box .cb {
    width: 100%;
    margin: 0;
    background: var(--pb-bg);
    border-bottom: 1px solid var(--pb-border);
}

#chk_box .cb ul {
    list-style: none;
    margin: 0;
    padding: 8px 8px 0;
    display: flex;
    width: 100%;
    gap: 4px;
}

#chk_box .cb li {
    flex: 1 1 0;
}

#chk_box .pb-market-tab {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #5a6570;
    padding: 12px 6px;
    text-align: center;
    font-weight: 700;
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

#chk_box .pb-market-tab:hover {
    color: var(--pb-brand);
    background: color-mix(in srgb, var(--pb-brand) 8%, transparent);
}

#chk_box .pb-market-tab.is-on {
    color: #fff;
    background: var(--pb-brand);
    box-shadow: 0 -2px 8px color-mix(in srgb, var(--pb-brand) 30%, transparent);
}

/* 차종 아이콘 */

#cartypes {
    width: 100%;
    background: #fff;
    text-align: center;
}

#cartypes ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 12px 8px 18px;
    border-bottom: 0;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: end;
    justify-items: center;
    gap: 4px 2px;
}

#cartypes .pb-cartype-title {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0 0 10px;
}

#cartypes .pb-cartype-title h6 {
    font-weight: 800;
    font-size: 14px;
    color: var(--pb-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

#cartypes li:not(.pb-cartype-title) {
    flex: 0 0 auto;
}

.pb-cartype-btn {
    border: 0;
    background: transparent;
    padding: 4px 6px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.pb-cartype-btn:hover {
    opacity: 1;
    background: var(--pb-bg);
    transform: translateY(-1px);
}

.pb-cartype-btn.is-on {
    opacity: 1;
    background: var(--pb-brand-light);
}

.pb-cartype-btn img {
    display: block;
    height: auto;
    max-height: 88px;
    width: 100%;
    max-width: 96px;
    object-fit: contain;
}

.pb-cartype-btn .pb-cartype-img-on {
    display: none;
}

.pb-cartype-btn.is-on .pb-cartype-img-off {
    display: none;
}

.pb-cartype-btn.is-on .pb-cartype-img-on {
    display: block;
}

/* 실차 사진 차종 (site img/car_find*.png — 신한M kimsy1899 동일) */
.pb-filter-wrap--photo-cartypes #cartypes .pb-cartype-title {
    display: none;
}

.pb-filter-wrap--photo-cartypes #cartypes ul {
    align-items: start;
    padding: 12px 8px 14px;
}

.pb-cartype-btn--shm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 117px;
    padding: 6px 4px 8px;
    min-width: 0;
    box-sizing: border-box;
    opacity: 1;
}

.pb-cartype-btn--shm:hover {
    opacity: 1;
}

.pb-cartype-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 117px;
    height: 84px;
    flex-shrink: 0;
    position: relative;
}

.pb-cartype-btn--shm .pb-cartype-visual img,
.pb-cartype-btn--photo .pb-cartype-visual img {
    display: block;
    width: 117px;
    max-width: none;
    height: 84px;
    max-height: none;
    object-fit: contain;
}

.pb-cartype-btn--photo .pb-cartype-img-on {
    position: absolute;
    inset: 0;
    margin: auto;
}

.pb-cartype-all-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 2px solid var(--pb-brand);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: var(--pb-brand);
    letter-spacing: 0.04em;
    line-height: 1;
    box-sizing: border-box;
}

.pb-cartype-btn--all.is-on .pb-cartype-all-badge {
    background: var(--pb-brand);
    color: #fff;
}

.pb-cartype-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #555;
    white-space: nowrap;
}

.pb-cartype-btn--shm.is-on .pb-cartype-label {
    color: var(--pb-brand);
    font-weight: 700;
}

/* 캐스케이드 5열 */

.carmodel {
    background: #fff;
    padding: 0 20px 16px;
    clear: both;
}

.pb-outline-shell {
    border: 1px solid var(--pb-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.carmodel .outline {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    border-radius: 0;
}

.carmodel .outline th {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 11px 8px;
    border: 0;
    border-right: 1px solid var(--pb-border);
    background: var(--pb-bg);
    color: #4a5560;
    letter-spacing: -0.02em;
}

.carmodel .outline th:last-child {
    border-right: 0;
}

.carmodel .outline td {
    width: 20%;
    vertical-align: top;
    border: 0;
    border-right: 1px solid var(--pb-border);
    background: #fff;
}

.carmodel .outline td:last-child {
    border-right: 0;
}

.carmodel .carinfo1,
.carmodel .carinfos,
.carmodel .carinfo2,
.carmodel .carinfo3,
.carmodel .carinfo4 {
    height: 188px;
    padding: 6px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c5d0d8 transparent;
}

.carmodel .carinfo1::-webkit-scrollbar,
.carmodel .carinfos::-webkit-scrollbar,
.carmodel .carinfo2::-webkit-scrollbar,
.carmodel .carinfo3::-webkit-scrollbar,
.carmodel .carinfo4::-webkit-scrollbar {
    width: 5px;
}

.carmodel .carinfo1::-webkit-scrollbar-thumb,
.carmodel .carinfos::-webkit-scrollbar-thumb,
.carmodel .carinfo2::-webkit-scrollbar-thumb,
.carmodel .carinfo3::-webkit-scrollbar-thumb,
.carmodel .carinfo4::-webkit-scrollbar-thumb {
    background: #c5d0d8;
    border-radius: 4px;
}

.carmodel ul {
    list-style: none;
    margin: 0;
    padding: 0 4px;
}

.carmodel .car-list-filter-pick {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-size: 13px;
    line-height: 1.35;
    min-height: 28px;
    padding: 5px 10px;
    text-align: left;
    color: #5c6670;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    letter-spacing: -0.02em;
}

.carmodel .car-list-filter-pick:hover {
    color: var(--pb-brand);
    background: var(--pb-brand-light);
}

.carmodel .car-list-filter-pick.is-on {
    color: #fff;
    background: var(--pb-brand);
    font-weight: 600;
}

.selhelp {
    padding: 48px 12px 0;
    color: #a0a8b0;
    line-height: 1.55;
    font-size: 13px;
    margin: 0;
    text-align: center;
}

/* 하단 조건 테이블 */

.pb-carlisttable-wrap {
    padding: 0 20px 20px;
}

.carlisttable {
    width: 100%;
    margin: 0;
    background: #fff;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid var(--pb-border);
    border-radius: 8px;
    table-layout: fixed;
    overflow: hidden;
}

.carlisttable td,
.carlisttable th {
    border: 0;
    border-right: 1px solid var(--pb-border);
    border-bottom: 1px solid var(--pb-border);
}

.carlisttable tr > :last-child {
    border-right: 0;
}

.carlisttable tr:last-child > th,
.carlisttable tr:last-child > td {
    border-bottom: 0;
}

.carlisttable .left {
    width: 110px;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    background: var(--pb-bg);
    color: #4a5560;
    vertical-align: middle;
}

.carlisttable .right {
    padding: 10px 16px;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

.carlisttable .selectst,
.carlisttable .pb-select {
    color: #444;
    padding: 0 30px 0 12px;
    height: 34px;
    border: 1px solid var(--pb-border);
    border-radius: 6px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238b939a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat calc(100% - 10px) 50%;
    min-width: 130px;
    font-size: 13px;
    transition: border-color 0.15s ease;
}

.carlisttable .selectst:focus,
.carlisttable .pb-select:focus {
    outline: none;
    border-color: var(--pb-brand);
}

.carlisttable .pb-select--range {
    min-width: 118px;
}

.carlisttable .pb-range-sep {
    display: inline-block;
    margin: 0 10px;
    color: var(--pb-muted);
    font-size: 13px;
}

.carlisttable .pb-keyword {
    color: #333;
    padding: 0 12px;
    height: 34px;
    border: 1px solid var(--pb-border);
    border-radius: 6px;
    width: 100%;
    max-width: 480px;
    font-size: 13px;
    transition: border-color 0.15s ease;
}

.carlisttable .pb-keyword:focus {
    outline: none;
    border-color: var(--pb-brand);
}

.pb-mission-cell {
    vertical-align: middle;
}

.pb-mission-cell .pb-mission-label {
    margin-right: 12px;
}

.pb-mission-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #4a5560;
    cursor: pointer;
    margin: 0;
}

.pb-mission-label input[type='radio'] {
    accent-color: var(--pb-brand);
    margin: 0;
}

.searchbtn {
    width: 140px;
    text-align: center;
    vertical-align: middle;
    background: var(--pb-bg);
    border-bottom: 0;
}

.searchbtn button {
    width: 120px;
    font-size: 15px;
    font-weight: 700;
    height: 48px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--pb-brand) 82%, #fff) 0%, var(--pb-brand) 100%);
    cursor: pointer;
    font-family: 'NanumSquare', 'Noto Sans KR', sans-serif;
    letter-spacing: -0.02em;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--pb-brand) 35%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.searchbtn button:hover {
    background: linear-gradient(180deg, color-mix(in srgb, var(--pb-brand) 82%, #fff) 0%, var(--pb-brand-dark) 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--pb-brand) 40%, transparent);
}

/* 모바일 필터 — 서버에서 UA 기준 분기 렌더 */

.pb-filter-mo {
    display: block;
    padding: 16px;
    background: var(--pb-bg);
    border-radius: 12px;
    border: 1px solid var(--pb-border);
}

.pb-filter-mo .car-list-filter-mo-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--pb-text);
}

@media (max-width: 999px) {
    .pb-filter-mo .car-list-filter-mo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .pb-filter-mo .car-list-filter-mo-field {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--pb-border);
        border-radius: 8px;
        font-size: 14px;
    }

    .pb-filter-mo .car-list-filter-mo-market,
    .pb-filter-mo .car-list-filter-mo-kind {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    .pb-filter-mo .car-list-filter-mo-chip {
        padding: 7px 12px;
        border: 1px solid var(--pb-border);
        border-radius: 20px;
        background: #fff;
        font-size: 12px;
        cursor: pointer;
    }

    .pb-filter-mo .car-list-filter-mo-chip.is-on {
        background: var(--pb-brand);
        border-color: var(--pb-brand);
        color: #fff;
        font-weight: 700;
    }

    .pb-filter-mo .car-list-filter-mo-submit {
        width: 100%;
        padding: 13px;
        background: var(--pb-brand);
        color: #fff;
        border: 0;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    .pabokhoe-list-page.car-list-page,
    .car-list-page--filter-pabokhoe.car-list-page {
        width: 100%;
        margin: 16px auto 40px;
        padding: 0 12px;
    }

    .sw21-listcar .listimg {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sw21-listcar .listimg li .img {
        height: 140px;
    }

    .sw21-listcar .listimg li .car1 {
        font-size: 14px;
        padding: 10px 10px 8px;
    }

    .sw21-listcar .txt-inner {
        padding: 0 10px 8px;
    }

    .sw21-listcar .carlist__float {
        font-size: 11px;
    }

    .sw21-listcar .installment-row {
        padding: 8px 10px;
    }

    .sw21-listcar .installment-value {
        font-size: 13px;
    }

    .sw21-car-order {
        justify-content: center;
    }

    .sw21-car-order a {
        font-size: 12px;
    }

    .car-list-page--filter-pabokhoe .car-list-sort,
    .pabokhoe-list-page .car-list-sort {
        display: none;
    }
}
