/* 차품딜 기본 스타일 — 운영서버(차품딜.com) 동일 레드 테마 */

:root {
    --chadil-red: #e20313;
    --chadil-red-border: #ff6f79;
    --chadil-gray: #939393;
    --chadil-money: #cd1b1b;
    --chadil-list-accent-bg: rgba(226, 3, 19, 0.08);
    --chadil-list-accent-border: #ff6f79;
}

body,
body.site-chadil {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* 차량목록 필터 스킨 — 상단 차종 탭·차량검색 버튼만 차품딜 레드, 나머지 기본색 */
.car-list-page {
    --clf-brand: #333;
    --clf-accent: #0080c8;
    --clf-danger: #e53935;
    --clf-topline-bg: var(--chadil-red);
    --clf-topline-sub-bg: color-mix(in srgb, var(--chadil-red) 84%, #ffffff);
    --clf-topline-sub-border: color-mix(in srgb, var(--chadil-red) 72%, #ffffff);
    --clf-tab-active-text: color-mix(in srgb, var(--chadil-red) 88%, #000000);
    --clf-tab-sub-active-bg: color-mix(in srgb, var(--chadil-red) 12%, #ffffff);
    --clf-submit-bg: var(--chadil-red);
    --clf-submit-text: #fff;
    --clf-mobile-submit-bg: var(--chadil-red);
    --clf-mobile-submit-text: #fff;
}

/* ---- PC / 모바일 헤더 분기 ---- */
.epc-header-pc {
    display: block;
}

.epc-header-mo {
    display: none;
}

@media screen and (max-width: 999px) {
    body.epc-layout-responsive {
        overflow-x: hidden;
    }

    body.epc-layout-responsive .epc-header-pc {
        display: none;
    }

    body.epc-layout-responsive .epc-header-mo {
        display: block;
    }
}

body.epc-layout-responsive .epc-header-mo {
    width: 100%;
    background: #fff;
    border-bottom: 3px solid var(--chadil-red-border);
}

body.epc-layout-responsive .epc-mo-top {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    box-sizing: border-box;
    overflow: hidden;
}

body.epc-layout-responsive .epc-mo-logo {
    float: left;
    line-height: 0;
}

body.epc-layout-responsive .epc-mo-logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
}

body.epc-layout-responsive .epc-mo-tel {
    float: right;
    line-height: 0;
    margin-top: 4px;
}

body.epc-layout-responsive .epc-mo-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    line-height: 0;
    -webkit-overflow-scrolling: touch;
    background: var(--chadil-red);
    border-top: 3px solid var(--chadil-red-border);
}

body.epc-layout-responsive .epc-mo-nav-item {
    display: inline-block;
    vertical-align: top;
    line-height: 0;
}

body.epc-layout-responsive .epc-mo-nav-item img {
    display: block;
    width: 117px;
    height: 38px;
    border: 0;
}

/* ── PC 헤더 (운영서버 1000px 고정) ── */
.chadil-header-pc {
    width: 100%;
    min-width: 1000px;
    background: #fff;
}

.chadil-header-top {
    width: 1000px;
    margin: 0 auto;
}

.chadil-header-util-wrap {
    width: 1000px;
    height: 30px;
    line-height: 30px;
    text-align: right;
    font-size: 13px;
}

.chadil-util-link,
.chadil-util-sep,
.chadil-header-util-wrap .epc-util-link,
.chadil-header-util-wrap .epc-util-sep {
    color: #000;
    text-decoration: none;
}

.chadil-header-logo-wrap {
    width: 1000px;
    height: 120px;
    line-height: 0;
}

.chadil-header-logo-wrap img {
    display: block;
    width: 1000px;
    height: auto;
    border: 0;
}

.chadil-header-nav-wrap {
    width: 100%;
    min-width: 1000px;
    background: var(--chadil-red);
    border-top: 3px solid var(--chadil-red-border);
    border-bottom: 3px solid var(--chadil-red-border);
    clear: both;
    padding: 0;
}

.chadil-header-nav {
    width: 1001px;
    margin: 0 auto;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.chadil-header-nav::after {
    content: '';
    display: table;
    clear: both;
}

.chadil-header-nav .chadil-nav-item {
    float: left;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.chadil-header-nav .chadil-nav-img {
    display: block;
    width: 143px;
    height: 50px;
    border: 0;
}

.epc-util-link { color: #000; text-decoration: none; }
.epc-util-sep { color: #999; margin: 0; }

/* 차품딜 메인·푸터 (1000px PC 고정) */

.epc-page-shell {
    position: relative;
    min-width: 1000px;
}

.epc-home-pc,
.epc-bottom-pc {
    display: block;
}

@media screen and (max-width: 999px) {
    body.epc-layout-responsive .epc-home-pc,
    body.epc-layout-responsive .epc-bottom-pc {
        display: none;
    }
}

body.epc-has-bottom-bar {
    padding-bottom: 62px;
}

.chadil-home-wrap {
    width: 1000px;
    margin: 0 auto;
    position: relative;
    clear: both;
}

.chadil-home-pc::after {
    content: '';
    display: table;
    clear: both;
}

/* ── 상담 + 배너 ── */
.chadil-row-hero {
    width: 1000px;
    height: 430px;
    margin-top: 10px;
    overflow: hidden;
    clear: both;
}

.chadil-hero-counsel {
    float: left;
    width: 250px;
    background: var(--chadil-gray);
    padding: 20px 16px;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
}

.chadil-counsel-title {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.08rem;
    margin: 0 0 10px;
    line-height: 1.15;
    font-family: inherit;
}

.chadil-counsel-desc {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.06rem;
    margin: 0 0 10px;
    line-height: 1.4;
    font-family: inherit;
}

.chadil-counsel-form-wrap {
    border: 1px solid var(--chadil-red);
    padding: 8px 18px;
    border-radius: 10px;
    background: #fff;
    width: 180px;
    margin: 0 auto;
    text-align: center;
    box-sizing: content-box;
}

.chadil-home-counsel {
    margin: 0;
    padding: 0;
}

.chadil-home-counsel .chadil-counsel-field {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.chadil-home-counsel .chadil-counsel-field:last-of-type {
    margin-bottom: 0;
}

.chadil-home-counsel input[type="text"] {
    display: block;
    width: 100%;
    padding: 11px;
    margin: 0;
    border: 1px solid #d9d9d9;
    background: #f7f7f7;
    font-family: inherit;
    font-size: 13px;
    box-sizing: border-box;
    outline: 0;
    color: #000;
    position: relative;
    top: -3px;
}

.chadil-home-counsel input[type="text"]::placeholder {
    color: #000;
}

.chadil-home-counsel input[type="checkbox"] {
    display: none;
}

.chadil-home-counsel .chadil-policy-label {
    display: inline-block;
    position: relative;
    width: 100%;
    text-align: left;
    line-height: 1.7em;
    padding-left: 20px;
    font-family: inherit;
    font-size: 12px;
    color: #474747;
    margin: 8px 0 0;
    cursor: pointer;
    letter-spacing: -0.04rem;
    box-sizing: border-box;
}

.chadil-home-counsel .chadil-policy-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #aaa;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.8);
}

.chadil-home-counsel input[type="checkbox"]:checked + .chadil-policy-label::before {
    background: var(--chadil-red);
    color: #fff;
    content: "✓";
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.chadil-home-counsel .chadil-policy-label button[data-epc-privacy-tooltip] {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--chadil-red);
    font: inherit;
    cursor: help;
    text-decoration: underline;
}

.chadil-home-counsel .chadil-counsel-submit-wrap {
    margin-top: 18px;
    text-align: center;
}

.chadil-home-counsel .chadil-counsel-submit {
    display: inline-block;
    width: auto;
    min-width: 91px;
    height: 42px;
    padding: 0 34px;
    background: var(--chadil-red);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    line-height: 42px;
    cursor: pointer;
    white-space: nowrap;
}

.chadil-hero-banner {
    float: left;
    width: 740px;
    margin-left: 10px;
    height: 430px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.chadil-slideshow {
    width: 740px;
    height: 430px;
    position: relative;
    overflow: hidden;
}

.chadil-slideshow img,
.chadil-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 740px;
    height: auto;
    max-width: none;
    border: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.chadil-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.chadil-slide-dots {
    position: absolute;
    top: 10px;
    right: 40px;
    z-index: 2;
}

.chadil-slide-dots span {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 4px;
    font-size: 50px;
    line-height: 16px;
    color: #ddd;
    cursor: pointer;
}

.chadil-slide-dots span.is-active {
    color: #ec0000;
}

/* ── 하단 배너 영역 (뷰포트 전체 너비 배경) ── */
.chadil-bottom-banner {
    width: 100%;
    min-width: 1000px;
    background: #f5f5f5;
    padding: 10px 0;
    margin: 10px 0;
    clear: both;
    box-sizing: border-box;
}

.chadil-bottom-banner + .chadil-home-wrap {
    clear: both;
}

.chadil-bottom-banner-inner {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    clear: both;
}

.chadil-bottom-counsel-btns {
    float: left;
    width: 250px;
    height: 330px;
}

.chadil-bottom-counsel-btns a {
    display: block;
}

.chadil-bottom-counsel-btns a + a {
    margin-top: 10px;
}

.chadil-video-block {
    float: left;
    width: 500px;
    height: 330px;
    margin-left: 10px;
}

.chadil-video-player {
    width: 500px;
    height: 277px;
    background-color: #000;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.chadil-video-player video,
.chadil-video-player iframe {
    display: block;
    width: 500px;
    height: 275px;
    background: #000;
}

.chadil-video-tabs {
    margin-top: 10px;
    display: flex;
    gap: 7px;
}

.chadil-vtab {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    opacity: 0.65;
}

.chadil-vtab.is-on {
    opacity: 1;
}

.chadil-sns-block {
    float: right;
    width: 230px;
    height: 330px;
    text-align: right;
}

.chadil-sns-block a {
    display: inline-block;
    margin-bottom: 6px;
}

/* ── 후기 갤러리 (운영 photo_list — 5열 × 10장) ── */
.chadil-review-section {
    margin-top: 10px;
    clear: both;
}

.chadil-review-grid-wrap {
    margin-top: 10px;
    padding-bottom: 2px;
}

.chadil-coviewlist {
    list-style: none;
    margin: 0;
    padding: 10px 0 0;
    display: grid;
    grid-template-columns: repeat(5, 192px);
    gap: 10px;
    width: 1000px;
    box-sizing: border-box;
}

.chadil-coviewlist-item {
    margin: 0;
    padding: 0;
}

.chadil-coviewlist-link {
    display: block;
    line-height: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chadil-coviewlist-link:hover {
    border-color: var(--chadil-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chadil-coviewlist img {
    display: block;
    width: 192px;
    height: 145px;
    object-fit: cover;
    border: 0;
}

.chadil-review-noimg {
    display: block;
    width: 192px;
    height: 145px;
    background: #f3f3f3;
}

/* ── 매물 카드 ── */
.chadil-listcar {
    clear: both;
    margin-bottom: 10px;
}

.chadil-car-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 234px);
    gap: 12px;
    width: 1000px;
}

.chadil-car-card {
    margin: 0;
    padding: 0;
}

.chadil-car-card-link {
    display: block;
    width: 100%;
    min-height: 340px;
    height: auto;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--chadil-red-border);
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(226, 3, 19, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chadil-car-card-link:hover {
    border-color: var(--chadil-red);
    box-shadow: 0 6px 16px rgba(226, 3, 19, 0.16);
}

.chadil-car-card-thumb {
    position: relative;
    width: 100%;
    height: 176px;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.chadil-car-card-thumb img {
    display: block;
    width: 100%;
    height: 176px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.chadil-car-card-link:hover .chadil-car-card-thumb img {
    transform: scale(1.1);
}

.chadil-car-card-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 176px;
    color: #aaa;
    font-size: 12px;
    background: #f3f3f3;
}

.chadil-car-card-body {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.chadil-car-card-title {
    margin: 8px auto 0;
    padding: 0 10px 6px;
    width: 210px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #555;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 0;
    box-sizing: border-box;
}

.chadil-car-card-link:hover .chadil-car-card-title {
    color: var(--chadil-red);
}

.chadil-car-card-spec {
    width: 210px;
    margin: 0 auto;
    padding: 4px 0 12px;
    display: block;
    box-sizing: border-box;
}

.chadil-car-card-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 22px;
    min-height: 22px;
    box-sizing: border-box;
}

.chadil-car-card-spec-row dt {
    margin: 0;
    color: #888;
    font-weight: 400;
    flex-shrink: 0;
}

.chadil-car-card-spec-row dd {
    margin: 0;
    color: #999;
    font-weight: 700;
    text-align: right;
}

.chadil-car-card-spec-row:last-child dd {
    color: var(--chadil-red);
}

.chadil-car-card-spec-row--money {
    margin-top: 0;
    border: 0;
    background: transparent;
}

.chadil-car-card-spec-row--money dt {
    color: var(--chadil-red);
    font-weight: 600;
}

.chadil-car-card-spec-row--money dd {
    color: var(--chadil-money);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.chadil-car-card-spec-row--price {
    background: transparent;
}

.chadil-car-card-spec-row--price dd {
    color: var(--chadil-red);
    font-weight: 800;
}

.chadil-car-section {
    margin-top: 20px;
    clear: both;
}

.chadil-car-section > a {
    display: block;
    line-height: 0;
    margin-bottom:10px;
}

.chadil-car-section .chadil-listcar {
    margin-top: 0;
}

/* 메인 홈 — 4열 균등 gap (목록 페이지는 .car-list-page 규칙 유지) */
.chadil-home-wrap .chadil-car-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 1000px;
}

/* /cars 목록 페이지 — 메인과 동일 카드, 그리드만 유동 폭 */
.car-list-page .chadil-listcar {
    width: 100%;
}

.car-list-page .chadil-car-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.car-list-page .chadil-car-card-link {
    width: 100%;
    height: auto;
    min-height: 340px;
    border-radius: 12px;
}

.car-list-page .chadil-car-card-thumb {
    height: auto;
}

.car-list-page .chadil-car-card-thumb img,
.car-list-page .chadil-car-card-noimg {
    width: 100%;
    height: auto;
    aspect-ratio: 234 / 180;
}

.car-list-page .chadil-car-card-thumb img {
    height: 100%;
}

.chadil-car-placeholder {
    text-align: center;
    padding: 40px 0;
    color: #888;
}

/* ── 스마트 서치 (탭 바 + 신규 chadil 카드 그리드) ── */
.chadil-smart-search {
    margin-top: 20px;
    clear: both;
    width: 1000px;
}

.chadil-smart-search .chadil-listcar {
    margin-bottom: 10px;
}

.chadil-smart-search .chadil-car-grid {
    width: 1000px;
}

.chadil-smart-search-bar {
    position: relative;
    z-index: 3;
    width: 1000px;
    height: 60px;
    line-height: 0;
}

.chadil-smart-search-bar img {
    display: block;
    width: 1000px;
    height: 60px;
    pointer-events: none;
}

.chadil-smart-search-hitlayer {
    position: absolute;
    inset: 0;
}

.chadil-smart-search-hit {
    position: absolute;
    top: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.chadil-smart-search-panels {
    position: relative;
    z-index: 1;
    clear: both;
    overflow: hidden;
    width: 1000px;
    padding-top: 10px;
}

.chadil-smart-search-panel {
    display: none;
}

.chadil-smart-search-panel.is-on {
    display: block;
}

.chadil-smart-search .listcar * {
    box-sizing: border-box;
}

.chadil-smart-search .listcar {
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
}

.chadil-smart-search .listcar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.chadil-smart-search .listcar ul li {
    float: left;
    margin-right: 21.3px;
    margin-bottom: 20px;
}

.chadil-smart-search .listcar ul li:nth-child(4n) {
    margin-right: 0;
}

.chadil-smart-search .listcar .carso {
    width: 234px;
    height: 340px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.chadil-smart-search .listcar .carso .img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    line-height: 0;
    background: #f3f3f3;
}

.chadil-smart-search .listcar .carso .carso-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    color: #aaa;
    font-size: 12px;
}

.chadil-smart-search .listcar .carso img {
    display: block;
    width: 234px;
    height: 180px;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
}

.chadil-smart-search .listcar .carso:hover {
    box-shadow: 5px 5px 5px #d4d4d4;
}

.chadil-smart-search .listcar .carso:hover img {
    transform: scale(1.1);
}

.chadil-smart-search .listcar .carso .text {
    width: 100%;
    height: auto;
    margin-top: 5px;
}

.chadil-smart-search .listcar .text > div {
    width: 210px;
    margin: 0 auto;
    padding: 3px 0 8px;
    border-bottom: 2px solid #e4e4e4;
    font-size: 14px;
    font-weight: 700;
    color: #777;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.chadil-smart-search .listcar .carso .homecarinfo {
    width: 210px;
    margin: 0 auto;
    padding: 10px 0 0;
    overflow: hidden;
    list-style: none;
}

.chadil-smart-search .listcar .homecarinfo li {
    float: none;
    width: 100%;
    margin: 0;
    overflow: hidden;
    line-height: 22px;
    font-size: 12px;
}

.chadil-smart-search .listcar .homecarinfo li dt {
    float: left;
    margin: 0;
    color: #888;
    font-weight: 400;
}

.chadil-smart-search .listcar .homecarinfo li dd {
    float: right;
    margin: 0;
    color: #999;
    font-weight: 700;
    text-align: right;
}

.chadil-smart-search .listcar .homecarinfo .money dd {
    font-size: 14px;
    color: var(--chadil-money);
    font-weight: 700;
}

.chadil-smart-search .listcar .homecarinfo li:last-child dd {
    color: var(--chadil-red);
}

.chadil-smart-search .chadil-car-placeholder {
    padding: 40px 0;
}

/* ── 하단 고정 상담바 (운영 bottomcounsel / fhc) ── */
.chadil-bottom-counsel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    z-index: 9999;
    background: var(--chadil-gray);
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.chadil-bottom-cs-bg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 894px;
    height: 62px;
    margin-left: -603px;
    pointer-events: none;
}

.chadil-bottom-cs-inner {
    width: 1000px;
    height: 62px;
    margin: 0 auto;
    position: relative;
}

.chadil-bottom-cs-fields {
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
}

.chadil-bottom-cs-field {
    position: absolute;
    top: 10px;
}

.chadil-bottom-cs-field--name {
    left: 248px;
}

.chadil-bottom-cs-field--tel {
    left: 535px;
}

.chadil-bottom-cs-field--btn {
    top: 10px;
    right: 0;
}

.chadil-bottom-cs-name,
.chadil-bottom-cs-tel {
    display: block;
    width: 190px;
    height: 42px;
    border: 0;
    padding: 0 10px;
    font-size: 13px;
    line-height: 42px;
    color: #666;
    background: #fff;
    box-sizing: border-box;
}

.chadil-bottom-cs-btn {
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.chadil-bottom-cs-btn img {
    display: block;
    width: 202px;
    height: 42px;
}

/* ── 푸터 ── */
.chadil-footer-wrap {
    clear: both;
    width: 100%;
    padding: 20px 0 30px;
    background: #fff;
    border-top: 2px solid #f1f1f1;
}

.chadil-footer-links ul {
    width: 1000px;
    margin: 0 auto 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.chadil-footer-links li {
    display: inline;
}

.chadil-footer-links a {
    color: #605051;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    padding: 0 20px;
}

.chadil-footer-info {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.chadil-footer-logo {
    flex-shrink: 0;
}

.chadil-footer-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.chadil-dealer-network {
    width: 1000px;
    margin: 20px auto 0;
}

.chadil-dealer-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 8px;
}

.chadil-dealer-scroll {
    height: 60px;
    overflow-y: scroll;
    border: 1px solid #f1f1f1;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
}

/* 차품딜 서브페이지 (상담신청·소개) */

.epc-subpage-shell {
    overflow-x: hidden;
}

/* 서브페이지(상담·소개·커뮤니티): 좌우 플로팅 숨김 */
.epc-subpage-minimal .epc-side-left,
.epc-subpage-minimal .epc-side-right {
    display: none !important;
}

body.epc-subpage-minimal:not(.epc-has-bottom-bar) {
    padding-bottom: 0;
}

.epc-subpage {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* —— 고객상담신청 —— */
.epc-counsel-hero {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    line-height: 0;
    overflow: hidden;
    background: #e20313;
}

.epc-counsel-hero-img {
    display: block;
    width: 1920px;
    max-width: none;
    height: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}

.epc-counsel-hero-tabs {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.epc-counsel-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0 20px;
    height: 56px;
    border-radius: 8px;
    background: #888;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: background-color 0.15s ease;
}

.epc-counsel-tab.is-on {
    background: #e20313;
}

.epc-counsel-tab:not(.is-on):hover {
    background: #6f6f6f;
}

.epc-counsel-body {
    width: 100%;
    max-width: 724px;
    margin: 0 auto;
    padding: 24px 12px 48px;
    box-sizing: border-box;
}

.epc-counsel-form-box {
    padding: 28px 24px;
    border-radius: 8px;
    border: 1px solid #979797;
    background: #fcfcfc;
    margin-bottom: 24px;
}

.epc-counsel-field {
    margin-bottom: 8px;
}

.epc-counsel-field input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    background: #fff;
}

.epc-counsel-field input::placeholder {
    color: #9e9e9e;
}

.epc-counsel-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

.epc-counsel-policy [data-epc-privacy-tooltip] {
    margin: 0 2px;
    vertical-align: baseline;
}

.epc-counsel-policy input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.epc-counsel-submit {
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 8px;
    background: #e20313;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
}

.epc-counsel-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.epc-counsel-banners img {
    display: block;
    width: 100%;
    max-width: 724px;
    height: auto;
    margin: 0 auto 12px;
}

/* —— 게시판·소개 상단 배너 (1920px 원본, 화면 중앙) —— */
.epc-community-top-banner {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    overflow: hidden;
    background: #fff;
}

.epc-community-banner-img {
    display: block;
    width: 1920px;
    max-width: none;
    height: auto;
    margin: 0 auto;
    transform: none;
}

.epc-community-layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 0 56px;
    max-width: 1000px;
    margin: 0 auto;
}

.epc-community-side {
    flex: 0 0 186px;
    padding-top: 4px;
}

.epc-community-side-head {
    margin: 0 0 18px;
    padding: 0 6px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    color: var(--chadil-red);
    letter-spacing: 0.02em;
}

.epc-community-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.epc-community-menu li {
    margin-bottom: 8px;
}

.epc-community-menu li:last-child {
    margin-bottom: 0;
}

.epc-community-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #c8c8c8;
    border-radius: 50px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #666;
    text-align: center;
    text-decoration: none;
    letter-spacing: -0.03em;
    box-sizing: border-box;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.epc-community-menu a:hover {
    color: var(--chadil-red);
    border-color: var(--chadil-red-border);
    box-shadow: 0 2px 8px rgba(226, 3, 19, 0.12);
}

.epc-community-menu li.is-on a {
    color: var(--chadil-red);
    border-color: var(--chadil-red);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(226, 3, 19, 0.14);
}

.epc-community-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-top: 2px;
    box-sizing: border-box;
}

.epc-community-skin {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.epc-community-title {
    margin: 0 0 22px;
    padding: 0 0 14px 2px;
    border-bottom: 2px solid var(--chadil-red);
    font-size: 22px;
    font-weight: 700;
    color: #1a2b3c;
    letter-spacing: -0.03em;
    position: relative;
}

.epc-community-title::after {
    content: '';
    position: absolute;
    left: 2px;
    bottom: -2px;
    width: 48px;
    height: 2px;
    background: var(--chadil-red-border);
}

/* —— 개인정보처리방침 · 이용약관 —— */
.epc-legal-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 28px 16px 48px;
    box-sizing: border-box;
}

.epc-legal-title {
    margin: 0 0 20px;
    padding: 0 0 14px 2px;
    border-bottom: 2px solid var(--chadil-red);
    font-size: 22px;
    font-weight: 700;
    color: #1a2b3c;
    letter-spacing: -0.03em;
}

.epc-legal-body-wrap {
    border: 1px solid var(--chadil-list-accent-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(226, 3, 19, 0.06);
    overflow: hidden;
}

.epc-legal-body {
    padding: 24px 28px 32px;
    font-size: 14px;
    line-height: 1.75;
    color: #2c3e50;
    word-break: break-word;
    white-space: normal;
}

.site-legal-html p {
    margin: 0 0 1em;
}

.site-legal-html p:last-child {
    margin-bottom: 0;
}

.site-legal-html h1,
.site-legal-html h2,
.site-legal-html h3,
.site-legal-html h4 {
    margin: 1.25em 0 0.6em;
    line-height: 1.4;
    color: #1a2b3c;
}

.site-legal-html ul,
.site-legal-html ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.site-legal-html li {
    margin-bottom: 0.35em;
}

.epc-legal-body img {
    max-width: 100%;
    height: auto;
    white-space: normal;
}

.epc-legal-empty {
    margin: 0;
    padding: 48px 24px;
    text-align: center;
    font-size: 15px;
    color: #64748b;
}

.epc-layout-mobile .epc-legal-page {
    padding: 20px 12px 36px;
}

.epc-layout-mobile .epc-legal-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.epc-layout-mobile .epc-legal-body {
    padding: 18px 16px 24px;
    font-size: 13px;
}

/* —— 차품딜 소개 —— */
.epc-intro-body {
    overflow: hidden;
    background: #fff;
}

.epc-intro-body img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .epc-counsel-hero {
        display: flex;
        flex-direction: column;
        position: static;
        overflow: visible;
        background: #ececec;
    }

    .epc-counsel-hero-tabs {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        order: 1;
        width: 100%;
        padding: 12px 12px 10px;
        box-sizing: border-box;
        gap: 8px;
        z-index: auto;
        background: #ececec;
    }

    .epc-counsel-tab {
        min-width: 0;
        flex: 1;
        font-size: 16px;
        height: 48px;
        padding: 0 10px;
    }

    .epc-counsel-tab.is-on {
        background: #e20313;
    }

    .epc-counsel-tab:not(.is-on) {
        background: #888;
    }

    .epc-counsel-hero-img {
        order: 2;
        width: 100%;
        min-width: 0;
        margin: 0;
        transform: none;
        background: #fff;
    }

    .epc-community-top-banner {
        left: auto;
        right: auto;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .epc-community-banner-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .epc-community-layout {
        flex-direction: column;
        gap: 20px;
        padding: 20px 12px 36px;
    }

    .epc-community-side {
        flex: none;
        width: 100%;
        padding-top: 0;
    }

    .epc-community-side-head {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .epc-community-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .epc-community-menu li {
        margin: 0;
        flex: 1 1 calc(50% - 4px);
    }

    .epc-community-menu a {
        min-height: 40px;
        padding: 0 10px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .epc-community-main {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

}

/* —— 고객상담 (운영 counsel/regist 동일) —— */
.epc-subpage.chadil-counsel-page {
    width: 100%;
    max-width: none;
}

.chadil-counsel-page {
    width: 100%;
    max-width: none;
}

.chadil-counsel-page .chadil-counsel-hero {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fbfbfb;
    text-align: center;
    padding: 14px 0 0;
    box-sizing: border-box;
}

.chadil-counsel-page .chadil-counsel-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 40px;
}

.chadil-counsel-page .chadil-counsel-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 355px;
    max-width: calc(50% - 10px);
    height: 64px;
    border: 0;
    border-radius: 12px;
    background: #646464;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: background-color 0.15s ease;
}

.chadil-counsel-page .chadil-counsel-tab.is-on {
    background: var(--chadil-red);
}

.chadil-counsel-page .chadil-counsel-car {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.chadil-counsel-page .chadil-counsel-headline {
    margin: 40px 0 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.96px;
    color: var(--chadil-red);
}

.chadil-counsel-page .chadil-counsel-subline {
    margin: 10px 0 0;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.75px;
    color: #000;
}

.chadil-counsel-page .chadil-counsel-counters {
    list-style: none;
    margin: 16px auto 0;
    padding: 0 12px 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.chadil-counsel-page .chadil-counsel-counter {
    width: 350px;
    max-width: 100%;
    padding: 18px 0 19px;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    background: #fff;
    box-sizing: border-box;
}

.chadil-counsel-page .chadil-counsel-counter-label {
    margin: 15px 0 9px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #000;
}

.chadil-counsel-page .chadil-counsel-counter-value {
    margin: 9px 0 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.84px;
    color: #000;
}

.chadil-counsel-page .chadil-counsel-counter-value span {
    font-size: 37px;
    letter-spacing: -1.11px;
    color: var(--chadil-red);
}

.chadil-counsel-page .chadil-counsel-body {
    width: 724px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;
}

.chadil-counsel-page .chadil-counsel-form-box {
    margin: 40px 8px;
    padding: 34px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    background: #fcfcfc;
    box-sizing: border-box;
}

.chadil-counsel-page .chadil-counsel-field {
    margin-bottom: 8px;
}

.chadil-counsel-page .chadil-counsel-field input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 11px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    background: #fff;
}

.chadil-counsel-page .chadil-counsel-field input::placeholder {
    color: #9e9e9e;
}

.chadil-counsel-page .chadil-counsel-policy {
    margin: 12px 0 20px;
    font-size: 14px;
    color: #000;
    text-align: left;
}

.chadil-counsel-page .chadil-counsel-policy input[type="checkbox"] {
    display: none;
}

.chadil-counsel-page .chadil-counsel-policy label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
}

.chadil-counsel-page .chadil-counsel-policy label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 1px solid #d8d8d8;
    background: #fff;
    box-sizing: border-box;
}

.chadil-counsel-page .chadil-counsel-policy input[type="checkbox"]:checked + input[type="hidden"] + label::before,
.chadil-counsel-page .chadil-counsel-policy input[type="checkbox"]:checked + label::before {
    content: '✓';
    color: var(--chadil-red);
    font-size: 14px;
    line-height: 14px;
    text-align: center;
}

.chadil-counsel-page .chadil-counsel-policy button[data-epc-privacy-tooltip] {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--chadil-red);
    font: inherit;
    cursor: help;
    text-decoration: underline;
}

.chadil-counsel-page .chadil-counsel-submit {
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 6px;
    background: var(--chadil-red);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.78px;
    cursor: pointer;
}

.chadil-counsel-page .chadil-counsel-footer-img {
    display: block;
    width: 100%;
    max-width: 724px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .chadil-counsel-page .chadil-counsel-tab {
        width: auto;
        flex: 1;
        font-size: 18px;
        height: 52px;
    }

    .chadil-counsel-page .chadil-counsel-headline {
        font-size: 24px;
        padding: 0 12px;
    }

    .chadil-counsel-page .chadil-counsel-subline {
        font-size: 18px;
        padding: 0 12px;
    }

    .chadil-counsel-page .chadil-counsel-counter {
        width: 100%;
    }
}

/* —— 커뮤니티 게시판 (simplebbs / jindam_simplebbs) —— */
body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list {
    margin: 0 auto;
    padding: 0 0 24px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list table {
    width: 100%;
    max-width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list caption {
    display: none;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead th {
    height: 32px;
    padding: 0 8px;
    border-top: 1px solid #d2d2d2;
    border-bottom: 2px solid var(--chadil-red);
    background: #fafafa;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-align: center;
    vertical-align: middle;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead .side1 {
    border-left: 1px solid #d2d2d2;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead .side2 {
    border-right: 1px solid #d2d2d2;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list tbody td {
    text-align: center;
    color: #888;
    font-size: 12px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: middle;
    padding: 8px 6px;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list tbody tr {
    height: 80px;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead th:nth-child(1),
body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .jd-simplebbs-col-no {
    width: 50px;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead th:nth-child(3),
body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .name {
    width: 72px;
    font-size: 12px;
    color: #888;
    word-break: keep-all;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list thead th:nth-child(4),
body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list tbody td:last-child {
    width: 132px;
    max-width: 132px;
    font-size: 11px;
    line-height: 1.35;
    color: #888;
    white-space: normal;
    word-break: keep-all;
    overflow: hidden;
    box-sizing: border-box;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .jd-simplebbs-col-no {
    font-size: 12px;
    color: #777;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .sbj {
    text-align: left;
    padding: 8px 10px;
    overflow: hidden;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .sbj::after {
    content: '';
    display: table;
    clear: both;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .jd-simplebbs-thumb {
    float: left;
    width: 100px;
    height: 75px;
    margin: 0 12px 0 0;
    line-height: 0;
    background: #f5f5f5;
    overflow: hidden;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .jd-simplebbs-thumb img {
    display: block;
    width: 100px;
    height: 75px;
    object-fit: cover;
    object-position: center;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .sbj > a {
    display: inline;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.45;
    word-break: keep-all;
    vertical-align: middle;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbslist.jd-simplebbs-list .sbj > a:hover {
    color: var(--chadil-red);
    text-decoration: underline;
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-empty {
    padding: 48px 0;
    text-align: center;
    color: #888;
    font-size: 14px;
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging {
    margin-top: 20px;
    text-align: center;
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate a,
body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate strong {
    display: inline-block;
    min-width: 28px;
    height: 28px;
    margin: 0 2px;
    padding: 0 8px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 12px;
    line-height: 26px;
    color: #555;
    text-decoration: none;
    vertical-align: middle;
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate strong {
    background: var(--chadil-red);
    border-color: var(--chadil-red);
    color: #fff;
    font-weight: 700;
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate a:hover {
    border-color: var(--chadil-red);
    color: var(--chadil-red);
}

body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate .pre,
body.site-chadil .epc-community-skin--jindam_simplebbs .jd-simplebbs-paging .paginate .next {
    padding: 0 10px;
}

/* simplebbs 상세 */
body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view {
    text-align: left;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .subject h1 {
    margin: 0;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #eee;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .info {
    padding: 10px 24px;
    font-size: 12px;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .content {
    padding: 24px;
    font-size: 14px;
    line-height: 1.75;
    color: #333;
    word-break: break-word;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .content img {
    max-width: 100%;
    height: auto;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .bottom {
    padding: 16px 24px 24px;
    text-align: center;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .btn00 a {
    display: inline-block;
    min-width: 100px;
    padding: 10px 20px;
    border: 1px solid var(--chadil-red);
    border-radius: 6px;
    color: var(--chadil-red);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.site-chadil .epc-community-skin--jindam_simplebbs #bbsview.jd-simplebbs-view .btn00 a:hover {
    background: var(--chadil-red);
    color: #fff;
}

/* 파복회/회파중 고객후기 페이징 (pabokhoe_album) */
.epc-community-skin--pabokhoe_album {
    --pbs-accent: var(--epc-site-main, var(--clf-brand, #147dc2));
    --pbs-accent-soft: var(--epc-site-main-light, color-mix(in srgb, var(--pbs-accent) 10%, #fff));
}

body.site-simwooin88 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #30b7f3;
    --pbs-accent-soft: #e8f7fe;
}

body.site-simwooin21 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #147dc2;
    --pbs-accent-soft: #e8f3fa;
}

body.site-simwooin91 .epc-community-skin--pabokhoe_album {
    --pbs-accent: var(--epc-site-main, #ef7000);
    --pbs-accent-soft: #fff3e6;
}

body.site-simwooin24 .epc-community-skin--pabokhoe_album {
    --pbs-accent: #5470ff;
    --pbs-accent-soft: #eef1ff;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 24px 0 8px;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nums {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #444;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num:hover,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav:not(.is-disabled):hover {
    border-color: var(--pbs-accent, #30b7f3);
    color: var(--pbs-accent, #30b7f3);
    background: var(--pbs-accent-soft, #e8f7fe);
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__num.is-current {
    border-color: var(--pbs-accent, #30b7f3);
    background: var(--pbs-accent, #30b7f3);
    color: #fff;
    font-weight: 700;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 34px;
    color: #999;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav--prev,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav--next {
    min-width: 52px;
    font-size: 13px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging__nav.is-disabled {
    border-color: #ececec;
    background: #f7f7f7;
    color: #c4c4c4;
    cursor: default;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo {
    gap: 4px;
    margin: 16px 0 6px;
    padding: 0 8px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__num,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 13px;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav--prev,
.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nav--next {
    min-width: 36px;
    font-size: 18px;
    font-weight: 700;
}

.epc-community-skin--pabokhoe_album .pabokhoe-bbs-paging--mo .pabokhoe-bbs-paging__nums {
    gap: 3px;
}

/* 고객후기 상세 — 본문 이미지·표 넘침 방지 */
.epc-community-skin--pabokhoe_album .sw21-bbs-view {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content {
    line-height: 1.7;
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: hidden;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content img,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content table,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content iframe,
.epc-community-skin--pabokhoe_album .sw21-bbs-view-content video {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

.epc-community-skin--pabokhoe_album .sw21-bbs-view-content table {
    display: block;
    overflow-x: auto;
}

