/* ============================================================
   K3 중고차 시세 — Main CSS
   Theme: K3 중고차 시세 (k3car)
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   1. CSS 변수 (Custom Properties)
   ============================================================ */
:root {
    --primary:  #1B4F8A;
    --accent:   #F26F21;
    --bg:       #F4F6F9;
    --white:    #fff;
    --text:     #212529;
    --subtext:  #6C757D;
    --border:   #E2E6EA;
    --shadow:   0 2px 12px rgba(0, 0, 0, .08);
    --radius:   8px;
    --radius-lg: 12px;
    --transition: .2s ease;
}

/* ============================================================
   2. Reset / Normalize
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', '애플 SD 산돌고딕 Neo',
                 -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

/* ============================================================
   3. 레이아웃 — 컨테이너
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   4. 헤더 (site-header)
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.3px;
    white-space: nowrap;
}

.site-logo span {
    color: var(--accent);
}

.header-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-contact a {
    color: var(--white);
    transition: opacity var(--transition);
}

.header-contact a:hover {
    opacity: .8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    transition: color var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--white);
}

/* ============================================================
   5. 히어로 섹션 (.hero-section)
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #1B4F8A 0%, #0d3362 100%);
    padding: 40px 0;
    color: var(--white);
}

.hero-section h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.answer-first {
    font-size: 16px;
    line-height: 1.7;
    opacity: .9;
    max-width: 680px;
}

.quick-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 10px 16px;
    backdrop-filter: blur(4px);
}

.stat-item__label {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 2px;
}

.stat-item__value {
    font-size: 18px;
    font-weight: 700;
}

/* ============================================================
   6. 섹션 공통
   ============================================================ */
.section {
    padding: 48px 0;
}

.section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.section--white {
    background: var(--white);
}

.section--gray {
    background: var(--bg);
}

.section-intro {
    font-size: 15px;
    color: var(--subtext);
    margin-top: -16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ============================================================
   7. 시세표 섹션 (.price-table-section)
   ============================================================ */
.price-table-section {
    background: var(--white);
    padding: 48px 0;
}

.price-table-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    background: var(--white);
}

.price-table th {
    background: var(--primary);
    color: var(--white);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.price-table th:first-child {
    text-align: left;
    border-radius: var(--radius) 0 0 0;
}

.price-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.price-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    text-align: center;
    transition: background var(--transition);
}

.price-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background: #f0f4ff;
}

.price-table .price-min {
    color: var(--primary);
    font-weight: 600;
}

.price-table .price-max {
    color: var(--accent);
    font-weight: 600;
}

.price-table .price-avg {
    font-weight: 700;
    color: var(--text);
}

.update-note {
    text-align: right;
    font-size: 12px;
    color: var(--subtext);
    margin-top: 8px;
}

/* ============================================================
   8. 필터 바 (.filter-bar)
   ============================================================ */
.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    align-items: center;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-bar select {
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.filter-bar select:focus {
    outline: none;
    border-color: var(--primary);
}

.sort-label {
    font-size: 14px;
    color: var(--subtext);
    white-space: nowrap;
}

.filter-result-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--subtext);
    white-space: nowrap;
}

/* ============================================================
   9. 차량 그리드 (.car-grid)
   ============================================================ */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================================
   10. 차량 카드 (.car-card)
   ============================================================ */
.car-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.car-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.car-card__img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 3:2 비율 */
    background: #eef0f3;
}

.car-card__img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.car-card:hover .car-card__img-wrap img {
    transform: scale(1.04);
}

.car-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: .3px;
}

.car-card__badge--accent {
    background: var(--accent);
}

.car-card__body {
    padding: 16px;
}

.car-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-card__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    letter-spacing: -.3px;
}

.car-card__specs {
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.car-card__specs li {
    font-size: 13px;
    color: var(--subtext);
    display: flex;
    align-items: center;
    gap: 4px;
}

.car-card__specs li + li::before {
    content: "•";
    color: var(--border);
}

.car-card__update {
    font-size: 11px;
    color: var(--border);
    margin-top: 10px;
    text-align: right;
}

/* ============================================================
   11. 페이지네이션 (.pagination)
   ============================================================ */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    padding: 0 8px;
    font-family: inherit;
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
}

.page-btn:not(.active):hover {
    background: #f0f4ff;
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.page-btn--prev,
.page-btn--next {
    font-size: 18px;
    font-weight: 700;
}

/* ============================================================
   12. FAQ 섹션 (.faq-section)
   ============================================================ */
.faq-section {
    background: var(--white);
    padding: 48px 0;
}

.faq-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.faq-list {
    max-width: 820px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

h3.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

h3.faq-question::before {
    content: "Q";
    flex-shrink: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.faq-answer {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    padding-left: 34px;
}

/* ============================================================
   13. 푸터 (.site-footer)
   ============================================================ */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .7);
    padding: 40px 0 24px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-col {
    flex: 1 1 260px;
}

.footer-brand {
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-brand span {
    color: var(--accent);
}

.footer-tagline {
    font-size: 13px;
    opacity: .7;
    margin-bottom: 12px;
}

.footer-info {
    font-size: 13px;
    line-height: 1.8;
}

.footer-info a {
    color: rgba(255, 255, 255, .7);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.footer-info a:hover {
    color: var(--white);
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 24px;
    padding-top: 16px;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, .45);
    line-height: 1.7;
}

/* ============================================================
   14. 차량 상세 페이지 (.car-detail)
   ============================================================ */

/* 히어로 영역 */
.detail-hero {
    background: var(--white);
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.detail-breadcrumb {
    font-size: 13px;
    color: var(--subtext);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.detail-breadcrumb a {
    color: var(--subtext);
    transition: color var(--transition);
}

.detail-breadcrumb a:hover {
    color: var(--primary);
}

.detail-breadcrumb .sep {
    color: var(--border);
    font-size: 11px;
}

.detail-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    letter-spacing: -.3px;
}

.detail-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin: 8px 0;
    letter-spacing: -.5px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--subtext);
    margin-top: 8px;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 바디 레이아웃 */
.detail-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 32px 0 48px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-side {
    position: sticky;
    top: 76px; /* header height + gap */
}

/* ============================================================
   15. 갤러리 (.gallery)
   ============================================================ */
.gallery {
    margin-bottom: 24px;
}

.gallery-main {
    position: relative;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 10px;
}

.gallery-main-img {
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: contain;
    background: #111;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .5);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    z-index: 5;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, .75);
}

.gallery-nav-prev {
    left: 12px;
}

.gallery-nav-next {
    right: 12px;
}

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .45);
    padding: 2px 8px;
    border-radius: 20px;
    z-index: 5;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    scroll-snap-align: start;
    transition: border-color var(--transition), opacity var(--transition);
    opacity: .7;
}

.gallery-thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   16. 스펙 테이블 (.spec-table)
   ============================================================ */
.spec-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.spec-table-wrap h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th {
    text-align: left;
    width: 35%;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--subtext);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    background: #fafbfc;
}

.spec-table td {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   17. 사이드 박스 (상세 페이지 우측)
   ============================================================ */
.side-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.side-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.side-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -.3px;
}

.side-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.side-spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.side-spec-row__label {
    color: var(--subtext);
}

.side-spec-row__value {
    font-weight: 600;
    color: var(--text);
}

.btn-contact {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: background var(--transition);
    letter-spacing: -.2px;
}

.btn-contact:hover {
    background: #153e6e;
    color: var(--white);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--subtext);
    transition: color var(--transition);
    margin-bottom: 16px;
}

.btn-back:hover {
    color: var(--primary);
}

/* ============================================================
   18. 뱃지 / 레이블 공통
   ============================================================ */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .3px;
}

.badge--primary {
    background: var(--primary);
    color: var(--white);
}

.badge--accent {
    background: var(--accent);
    color: var(--white);
}

.badge--gray {
    background: #e9ecef;
    color: var(--subtext);
}

/* ============================================================
   19. 알림 / 빈 상태
   ============================================================ */
.notice {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.notice--info {
    background: #e8f0fe;
    color: #1a4f8a;
    border-left: 4px solid var(--primary);
}

.notice--warn {
    background: #fff3e0;
    color: #8a4a00;
    border-left: 4px solid var(--accent);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--subtext);
}

.empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state__text {
    font-size: 16px;
}

/* ============================================================
   20. 로딩 스피너
   ============================================================ */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

/* ============================================================
   21. 스킵 네비게이션 (접근성)
   ============================================================ */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    font-size: 14px;
    z-index: 9999;
    transition: top .2s;
}

.skip-nav:focus {
    top: 0;
}

/* ============================================================
   22. 반응형 — 태블릿 (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .detail-body {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }
}

/* ============================================================
   23. 반응형 — 태블릿 (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* 헤더 */
    .header-nav {
        display: none;
    }

    .header-contact {
        font-size: 13px;
    }

    /* 히어로 */
    .hero-section h1 {
        font-size: 20px;
    }

    .answer-first {
        font-size: 15px;
    }

    /* 그리드 */
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* 상세 페이지 레이아웃 */
    .detail-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-side {
        position: static;
        order: -1; /* 모바일에서 사이드를 위로 올림 */
    }

    .detail-title {
        font-size: 20px;
    }

    .detail-price {
        font-size: 28px;
    }

    /* 갤러리 */
    .gallery-main-img {
        max-height: 280px;
    }

    /* 필터 바 */
    .filter-bar {
        padding: 12px 16px;
        gap: 8px;
    }

    .filter-bar select {
        font-size: 13px;
    }

    .filter-result-count {
        width: 100%;
        margin-left: 0;
        text-align: right;
    }

    /* 시세표 */
    .price-table th,
    .price-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* FAQ */
    h3.faq-question {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 14px;
        padding-left: 0;
    }

    h3.faq-question::before {
        display: none;
    }

    /* 섹션 */
    .section {
        padding: 36px 0;
    }
}

/* ============================================================
   24. 반응형 — 모바일 (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

    /* 히어로 */
    .quick-stats {
        flex-direction: column;
        gap: 8px;
    }

    .stat-item {
        padding: 8px 14px;
    }

    .stat-item__value {
        font-size: 16px;
    }

    /* 그리드 → 1열 */
    .car-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* 카드 compact */
    .car-card__body {
        padding: 12px;
    }

    .car-card__title {
        font-size: 14px;
    }

    .car-card__price {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .car-card__specs li {
        font-size: 12px;
    }

    /* 헤더 */
    .site-logo {
        font-size: 17px;
    }

    .header-contact {
        font-size: 12px;
        gap: 10px;
    }

    /* 히어로 */
    .hero-section {
        padding: 28px 0;
    }

    .hero-section h1 {
        font-size: 18px;
    }

    .answer-first {
        font-size: 14px;
    }

    /* 컨테이너 패딩 */
    .container {
        padding: 0 14px;
    }

    /* 상세 */
    .detail-title {
        font-size: 17px;
    }

    .detail-price {
        font-size: 24px;
    }

    .side-price {
        font-size: 26px;
    }

    /* 갤러리 */
    .gallery-main-img {
        max-height: 220px;
    }

    .gallery-thumb {
        width: 64px;
        height: 48px;
    }

    /* 페이지네이션 */
    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* 필터 바 */
    .filter-bar {
        padding: 10px 14px;
    }

    .filter-bar select {
        height: 36px;
        font-size: 13px;
    }

    /* 스펙 테이블 */
    .spec-table th,
    .spec-table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .spec-table-wrap {
        padding: 16px;
    }

    /* FAQ */
    .faq-item {
        padding: 16px 0;
    }

    h3.faq-question {
        font-size: 14px;
    }

    /* 푸터 */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col {
        flex: none;
    }

    /* 섹션 */
    .section {
        padding: 28px 0;
    }

    .section h2,
    .price-table-section h2,
    .faq-section h2 {
        font-size: 19px;
    }
}

/* ============================================================
   25. 유틸리티 클래스
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-subtext { color: var(--subtext); }
.fw-700       { font-weight: 700; }
.mt-8         { margin-top: 8px; }
.mt-16        { margin-top: 16px; }
.mt-24        { margin-top: 24px; }
.mb-8         { margin-bottom: 8px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.d-none  { display: none !important; }
.d-flex  { display: flex !important; }
.d-block { display: block !important; }
