@charset "utf-8";

/* 더킹모터스 테마 CSS */

/* Bootstrap 4.6.2 CDN */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* 기본 변수 */
:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
    --box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* 기본 리셋 */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 타이포그래피 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1 { font-size: 3.5rem; font-weight: 900; }
.display-2 { font-size: 3rem; font-weight: 800; }
.display-3 { font-size: 2.5rem; font-weight: 700; }
.display-4 { font-size: 2rem; font-weight: 600; }

/* 히어로 섹션 타이틀 크기 조정 */
.tk-hero .hero-main-title {
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .tk-hero .hero-main-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
}

/* 히어로 섹션 이미지 박스 효과 제거 */
.tk-hero .hero-image img {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

/* 두번째 섹션 원형 아이콘 완전한 원으로 만들고 중앙 정렬 */
#solution .feature-icon div,
#solution .feature-highlight .feature-icon div,
#solution .feature-box .feature-icon div,
#solution .feature-highlight .feature-icon > div,
#solution .feature-box .feature-icon > div,
#solution .feature-highlight .feature-icon div[style*="width"],
#solution .feature-box .feature-icon div[style*="width"],
#solution .text-center .feature-icon div,
#solution .text-center .feature-highlight .feature-icon div,
#solution .text-center .feature-box .feature-icon div,
#solution .feature-highlight .feature-icon div[style*="margin: 0 auto"],
#solution .feature-box .feature-icon div[style*="margin: 0 auto"] {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    text-align: center !important;
    float: none !important;
}

#solution .feature-icon i,
#solution .feature-highlight .feature-icon i,
#solution .feature-box .feature-icon i,
#solution .feature-highlight .feature-icon > div > i,
#solution .feature-box .feature-icon > div > i,
#solution .feature-highlight .feature-icon div[style*="width"] i,
#solution .feature-box .feature-icon div[style*="width"] i,
#solution .text-center .feature-icon i,
#solution .text-center .feature-highlight .feature-icon i,
#solution .text-center .feature-box .feature-icon i,
#solution .feature-highlight .feature-icon div[style*="margin: 0 auto"] i,
#solution .feature-box .feature-icon div[style*="margin: 0 auto"] i {
    font-size: 2.5rem !important;
    color: white !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
}

/* 모바일에서 원형 아이콘 크기 조정 */
@media (max-width: 768px) {
    #solution .col-lg-10 .row .col-md-3 .feature-icon div,
    #solution .col-lg-10 .row .col-md-3 .feature-highlight .feature-icon div,
    #solution .col-lg-10 .row .col-md-3 .feature-highlight .feature-icon div[style*="width"],
    #solution .col-lg-10 .row .col-md-3 .text-center .feature-icon div,
    #solution .col-lg-10 .row .col-md-3 .text-center .feature-highlight .feature-icon div,
    #solution .col-lg-10 .row .col-md-3 .feature-highlight .feature-icon div[style*="margin: 0 auto"] {
        width: 60px !important;
        height: 60px !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
    }
    
    .col-lg-10 .row .col-md-3 .feature-icon i,
    .col-lg-10 .row .col-md-3 .feature-highlight .feature-icon i {
        font-size: 2rem !important;
    }
    
    #solution .col-lg-12 .row .col-md-4 .feature-icon div,
    #solution .col-lg-12 .row .col-md-4 .feature-box .feature-icon div,
    #solution .col-lg-12 .row .col-md-4 .feature-box .feature-icon div[style*="width"],
    #solution .col-lg-12 .row .col-md-4 .text-center .feature-icon div,
    #solution .col-lg-12 .row .col-md-4 .text-center .feature-box .feature-icon div,
    #solution .col-lg-12 .row .col-md-4 .feature-box .feature-icon div[style*="margin: 0 auto"] {
        width: 55px !important;
        height: 55px !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
    }
    
    .col-lg-12 .row .col-md-4 .feature-icon i,
    .col-lg-12 .row .col-md-4 .feature-box .feature-icon i {
        font-size: 1.8rem !important;
    }
}

/* 공통 클래스 */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn-custom {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
}

.btn-accent-custom {
    background: var(--gradient-accent);
    color: white;
}

.btn-accent-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
}

/* 헤더 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1030;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.hero-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 서비스 섹션 */
.services {
    background: var(--light-color);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 특징 섹션 */
.features {
    background: white;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

/* 기존 feature-icon 스타일 - 다른 섹션용 */
.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h5 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* 견적 폼 섹션 */
.quote-section {
    background: var(--gradient-primary);
    color: white;
}

.quote-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.quote-form h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* 중고차 할부 상담문의 섹션 label 색상 */
#quote .form-group label,
.tk-form .form-group label,
.quote-section .form-group label {
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

/* tk-form 모바일 최적화 */
@media (max-width: 768px) {
    .tk-form .form-row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    
    .tk-form .form-group {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

/* 푸터 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 30px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
}

.footer p, .footer ul {
    color: #ccc;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #999;
}

/* 반응형 디자인 */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 90vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .quote-form {
        padding: 30px 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* 스크롤 부드럽게 */
html {
    scroll-behavior: smooth;
}

/* 로딩 애니메이션 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* ===== head.php에서 통합된 모바일 최적화 스타일 ===== */

/* 모바일 최적화 추가 스타일 */
@media (max-width: 768px) {
    /* 히어로 섹션 모바일 최적화 */
    .tk-hero {
        min-height: 80vh !important;
        padding: 60px 0 !important;
    }
    
    .tk-hero .hero-content {
        text-align: center !important;
        padding: 20px 0 !important;
    }
    
    .tk-hero .hero-image {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    
    .tk-hero .hero-image img {
        max-width: 100% !important;
        height: auto !important;
        margin-top: 0px !important;
    }
    
    /* 배너 섹션 모바일 최적화 */
    .tk-hero .certification-badges {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    /* 섹션 여백 모바일 최적화 */
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    /* 카드 그리드 모바일 최적화 */
    .tk-car-card {
        margin-bottom: 20px !important;
    }
    
    /* 후기 카드 모바일 최적화 */
    .review-card .row {
        align-items: center !important;
    }
    
    .review-card .col-md-2 {
        margin-bottom: 15px !important;
    }
    
    .review-card .col-md-3 {
        margin-top: 15px !important;
    }
    
    /* 푸터 모바일 최적화 */
    footer .row > div {
        margin-bottom: 30px !important;
    }
    
    /* 하단 고정 버튼 모바일 최적화 */
    .fixed-btn-group {
        justify-content: space-around !important;
    }
    
    .fixed-btn {
        flex: 1 !important;
        margin: 0 5px !important;
    }
    
    /* 배너 텍스트 모바일 최적화 */
    .tk-hero .sparkle-text {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
        text-shadow: 
            -1px -1px 0 #000,
            -1px 1px 0 #000,
            1px -1px 0 #000,
            1px 1px 0 #000,
            0 0 8px rgba(255,215,0,0.8),
            0 0 16px rgba(255,215,0,0.6),
            0 0 24px rgba(255,215,0,0.4) !important;
    }
    
    /* 리뷰 참여자 수 모바일 최적화 */
    .review-banner h3 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }
    
    .review-banner h4 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    /* 견적 폼 제목 모바일 최적화 */
    #quote h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    #quote .lead {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* 견적 버튼 모바일 최적화 */
    #quote .btn-accent {
        font-size: 1.1rem !important;
        padding: 15px !important;
        margin-top: 20px !important;
    }
    
    /* 개인정보 동의 텍스트 모바일 최적화 */
    #quote .custom-control-label,
    #quote .custom-control-label a,
    #quote .custom-control-label span,
    #quote .custom-control-label * {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* 개인정보 동의 텍스트 강제 적용 */
    #quote .custom-control-label:contains("개인정보"),
    #quote .custom-control-label:contains("마케팅") {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    /* 상담문의 하단 안내 텍스트 모바일 최적화 */
    #quote .text-center .small.text-muted,
    #quote .text-muted,
    #quote .small.text-muted,
    #quote p.small.text-muted {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }
    
    /* 히어로 제목 모바일 최적화 */
    .tk-hero .hero-main-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .tk-hero .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    /* 모바일 히어로 섹션 이미지 여백 대폭 축소 */
    .tk-hero .hero-image {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
    
    .tk-hero .hero-image div {
        padding: 0px !important;
        margin: 0px !important;
    }
    
    .tk-hero .hero-image img {
        margin: 0px !important;
        padding: 0px !important;
    }
    
    /* 모바일 히어로 섹션 전체 여백 조정 */
    .tk-hero .min-vh-100 {
        min-height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* 히어로 섹션 인증 배지 크기 및 폰트 확대 */
    .tk-hero .certification-badges .badge {
        padding: 12px 20px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        margin-right: 8px !important;
        margin-bottom: 8px !important;
    }
    
    /* 두 번째 섹션 제목 모바일 최적화 */
    #solution h2.display-4 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    /* 두 번째 섹션 h3 제목 모바일 최적화 */
    #solution h3.font-weight-bold {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
    
    /* 세 번째 섹션 모바일 최적화 */
    /* 허위매물X 침수차량X 배너 */
    .trust-banner-main h2.display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* 전국최대차량 보유 제목 */
    .py-6 h1.display-3 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }
    
    /* 더킹모터스 브랜드 하이라이트 */
    .brand-highlight h2.display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    .brand-highlight .sparkle-text {
        font-size: 3rem !important;
    }
    
    /* 하단 설명 텍스트 */
    .info-text .lead {
        font-size: 1.2rem !important;
        line-height: 1.5 !important;
    }
}

/* PC 히어로 제목 크기 조정 - 인라인 스타일 덮어쓰기 */
@media (min-width: 769px) {
    .tk-hero .hero-main-title,
    .tk-hero h1.display-4.hero-main-title,
    .tk-hero .hero-content h1.hero-main-title,
    .tk-hero .hero-content .display-4.hero-main-title,
    .tk-hero .hero-content h1.display-4.font-weight-bold.mb-4.text-white.hero-main-title {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
    }
}

/* 노란색 강제 적용 */
.tk-hero .hero-accent-text {
    color: #ffd700 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(255,215,0,0.3) !important;
}

/* PC에서도 노란색 강제 적용 */
.hero-accent-text {
    color: #ffd700 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(255,215,0,0.3) !important;
}

.hero-subtitle .hero-accent-text,
.hero-main-title .hero-accent-text {
    color: #ffd700 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(255,215,0,0.3) !important;
}

/* 차종별 가격 안내 섹션 통합 스타일 */
/* 모바일 최적화 (768px 이하) */
@media (max-width: 767.98px) {
    #cars .col-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    #cars .tk-car-card {
        margin-bottom: 10px !important;
    }
    
    #cars .tk-car-card img {
        object-fit: contain !important;
        background-color: #f8f9fa !important;
        height: 140px !important;
    }
    
    #cars .card-body {
        padding: 12px !important;
    }
    
    #cars .card-title {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        margin-bottom: 8px !important;
    }
    
    #cars .text-muted {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        margin-bottom: 8px !important;
    }
    
    #cars .tk-price-info p {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }
    
    #cars .text-accent,
    #cars .tk-monthly-price,
    #cars .text-accent[style*="font-size"],
    #cars .tk-monthly-price[style*="font-size"],
    #cars .tk-price-info .text-accent,
    #cars .tk-price-info .tk-monthly-price {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #dc3545 !important;
        line-height: 1.1 !important;
    }
    
    #cars .badge {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
        border-radius: 8px !important;
    }
    
    #cars .position-absolute {
        margin: 8px !important;
    }
    
    #cars hr {
        margin: 8px 0 !important;
    }
}

/* 태블릿 최적화 (768px-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #cars .col-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    #cars .card-title {
        font-size: 1.1rem !important;
    }
    
    #cars .text-muted {
        font-size: 0.85rem !important;
    }
    
    #cars .tk-price-info p {
        font-size: 0.85rem !important;
    }
    
    #cars .text-accent,
    #cars .tk-monthly-price,
    #cars .text-accent[style*="font-size"],
    #cars .tk-monthly-price[style*="font-size"],
    #cars .tk-price-info .text-accent,
    #cars .tk-price-info .tk-monthly-price {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #dc3545 !important;
    }
}

/* 데스크톱 최적화 (992px 이상) */
@media (min-width: 992px) {
    #cars .card-title {
        font-size: 1.3rem !important;
    }
    
    #cars .text-accent,
    #cars .tk-monthly-price,
    #cars .text-accent[style*="font-size"],
    #cars .tk-monthly-price[style*="font-size"],
    #cars .tk-price-info .text-accent,
    #cars .tk-price-info .tk-monthly-price {
        font-size: 2rem !important;
        font-weight: 700 !important;
        color: #dc3545 !important;
    }
}

/* 구매후기 섹션 모바일 최적화 */
/* 모바일 최적화 (768px 이하) */
@media (max-width: 767.98px) {
    /* 구매후기 섹션 제목 */
    .py-10 h2.display-4 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    /* 고객 평점 텍스트 */
    .rating-info .d-flex span {
        font-size: 1rem !important;
    }
    
    /* 참여자 수 텍스트 */
    .rating-info p {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    /* 리뷰 카드 간격 줄이기 */
    .col-6.mb-3 {
        margin-bottom: 0.5rem !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* 리뷰 카드 */
    .review-card {
        padding: 12px !important;
        margin-bottom: 0 !important;
    }
    
    /* 리뷰 카드 내부 요소 */
    .review-card h6 {
        font-size: 0.8rem !important;
    }
    
    .review-card .stars i {
        font-size: 0.7rem !important;
    }
    
    .review-card .text-muted {
        font-size: 0.7rem !important;
    }
    
    .review-card p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        height: 2.6em !important;
    }
    
    .review-card .btn {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
    }
    
    /* 리뷰 카드 이미지 */
    .review-card img {
        width: 50px !important;
        height: 50px !important;
    }
}

/* 태블릿 최적화 (768px-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .review-card h6 {
        font-size: 0.9rem !important;
    }
    
    .review-card .stars i {
        font-size: 0.8rem !important;
    }
    
    .review-card .text-muted {
        font-size: 0.75rem !important;
    }
    
    .review-card p {
        font-size: 0.8rem !important;
    }
    
    .review-card .btn {
        font-size: 0.75rem !important;
        padding: 7px 14px !important;
    }
    
    .review-card img {
        width: 55px !important;
        height: 55px !important;
    }
}

/* 중고차 할부 상담문의 섹션 모바일 최적화 */
@media (max-width: 767.98px) {
    /* 모바일용 라벨+입력창 한 줄 레이아웃 */
    .tk-form .form-row {
        margin-left: 15px !important;
        margin-right: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .tk-form .form-group {
        margin-bottom: 8px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .tk-form .form-group label {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        margin-bottom: 0 !important;
        margin-right: 10px !important;
        flex: 0 0 25% !important;
        min-width: 60px !important;
    }
    
    .tk-form .form-group input,
    .tk-form .form-group textarea {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        flex: 1 !important;
    }
    
    /* 차종 입력창은 모바일에서도 라벨+입력창 한 줄 */
    .tk-form .form-group.col-12 {
        display: flex !important;
        align-items: center !important;
    }
    
    .tk-form .form-group.col-12 label {
        flex: 0 0 25% !important;
        margin-right: 10px !important;
        margin-bottom: 0 !important;
        display: block !important;
    }
    
    .tk-form .form-group.col-12 input {
        flex: 1 !important;
    }
    
    /* 이름, 연락처는 한 줄에 */
    .tk-form .form-group.col-md-6 {
        display: flex !important;
        align-items: center !important;
    }
    
    .tk-form .form-group.col-md-6 label {
        flex: 0 0 25% !important;
        margin-right: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .tk-form .form-group.col-md-6 input {
        flex: 1 !important;
    }
    
    /* 개인정보 동의 체크박스 간격 줄이기 */
    .tk-form .custom-control {
        margin-bottom: 2px !important;
    }
    
    .tk-form .custom-control-label {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    
    /* 모바일에서 기타 입력 숨기기 */
    .tk-form .form-group:has(textarea) {
        display: none !important;
    }
}
