@charset "utf-8";

.estimate-step1 {

    box-sizing: border-box;
}

.cm-step-wrap {}

.cm-step-wrap .sec-title {
    margin-bottom: 60px;
    text-align: center;
}

.cm-step-wrap .sec-title h2 {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
}

/* step bar */
.cm-step-wrap .stepbar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.cm-step-wrap .step {
    flex: 1;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cm-step-wrap .step.on {
    background: #0b2c5f;
}

.cm-step-wrap .step .num {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: #e5e7eb;
    color: #555;
}

.cm-step-wrap .step.on .num {
    background: #fff;
    color: #0b2c5f;
}

.cm-step-wrap .step .txt {
    font-size: 15px;
    color: #666;
}

.cm-step-wrap .step.on .txt {
    color: #fff;
    font-weight: 600;
}

.step-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 0;
}

.step-fixed-bar .inner {
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7); /* 🔥 투명도 */
    border-radius: 0;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* flex */
.step-fixed-bar .inner .dflx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 좌측 */
.step-fixed-bar .left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.step-fixed-bar .left .df {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.step-fixed-bar .car-info-stack {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-fixed-bar .car-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.step-fixed-bar .car-name {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
}

.step-fixed-bar .car-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
}

.step-fixed-bar .trim-name {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.9375rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.step-fixed-bar .car-price {
    flex-shrink: 0;
    margin-left: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

/* 가격 */
.step-fixed-bar .price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-fixed-bar .price-wrap .label {
    padding: 4px 8px;
    background: #f1f1f1;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #666;
}

.step-fixed-bar .price-wrap .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
}

/* 버튼 */
.step-fixed-bar .btns-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.step-fixed-bar .btns-wrap .btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    background: #1e63e9;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.3;
    box-sizing: border-box;
}

.step-fixed-bar .btns-wrap .btns-kakao-talk {
    background: #fee500;
    color: #191919;
    padding-left: 28px;
    padding-right: 28px;
    min-width: 11.5em;
}

.step-fixed-bar .btns-wrap .btn-kakao-ico {
    display: block;
    width: 20px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

@media (min-width: 769px) {
    .step-fixed-bar .inner .dflx-item {
        display: grid;
        /* 좌측(차명/트림+가격) | 우측(버튼 영역) — 버튼 추가 여유 */
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 4px;
        align-items: center;
    }

    .step-fixed-bar .left,
    .step-fixed-bar .left .df,
    .step-fixed-bar .car-info-stack {
        display: contents;
    }

    .step-fixed-bar .car-name-row {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .step-fixed-bar .brand-logo {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .step-fixed-bar .brand-logo img {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    /* 트림 + 가격을 좌측에 붙임 (가격이 버튼 옆으로 밀리지 않음) */
    .step-fixed-bar .car-meta-row {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        min-width: 0;
        max-width: 100%;
    }

    .step-fixed-bar .trim-name {
        flex: 0 1 auto;
        min-width: 0;
    }

    .step-fixed-bar .car-price {
        flex-shrink: 0;
        align-self: center;
    }

    .step-fixed-bar .btns-wrap {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* type tab — 세그먼트 토글 (국산차 / 수입차) */
.estimate-step1 .type-tab {
    display: flex;
    gap: 0;
    background: #f1f1f1;
    border: 0;
    border-radius: 999px;
    padding: 4px;
    overflow: visible;
    margin-bottom: 40px;
}

.estimate-step1 .type-tab .tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: #777;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, font-weight 0.2s;
}

.estimate-step1 .type-tab .tab.on {
    background: #fff;
    color: var(--primary, #1A1D4A);
    font-weight: 700;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* section */
.estimate-step1 .brand-sec {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
}

/* step1: #step1-unified-ajax 는 래퍼만 — 박스 스타일 없음 */
.estimate-step1 #step1-unified-ajax {
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}

/* step1: 섹션별 독립 카드 */
.estimate-step1 .sec-car,
.estimate-step1 .sec-fast,
.estimate-step1 .sec-budget,
.estimate-step1 .sec-review {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    background: #fff;
}

.estimate-step1 .sec-review .review-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 헤더 고정 영역 가림 방지 */
.estimate-step1 #step1-brand-sec {
    scroll-margin-top: 120px;
}

.estimate-step1 .sec-ttl {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* brand list */
.estimate-step1 .brand-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.estimate-step1 .brand-list li {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.estimate-step1 .brand-list li.on {
    border: 2px solid #0b2c6d;
    box-shadow: 0 0 0 1px rgba(11, 44, 109, 0.1);
}

.estimate-step1 .brand-list li img {}

.estimate-step1 .brand-list li .name {
    font-weight: 600;
    color: #111;
}


/* 브랜드 선택 리스트 항목 (step1) — 카드 내 .brand-wrapper 와 충돌 방지 */
.estimate-step1 .brand-list .brand-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-height: 100px;
}

.estimate-step1 .brand-list .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    flex-shrink: 0;
}

.estimate-step1 .brand-list .brand-logo img,
.estimate-step1 .brand-list .brand-logo .brand-logo-img {
    display: block;
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.estimate-step1 .brand-list .brand-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    text-align: center;
}

/* 로고만 보이게 할 때: .estimate-step1 .brand-list .brand-name { display: none; } */

/* car list — 차량선택(.sec-car): 즉시출고(.fast-list-wrap .car)와 동일 시각 스타일 (마크업 불변, CSS만) */
.estimate-step1 .sec-car .car-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.estimate-step1 .sec-car .car {
    position: relative;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: 0.2s;
}

.estimate-step1 .sec-car .car .car-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.estimate-step1 .sec-car .car:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.estimate-step1 .sec-car .car .thumb {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f9f9f9;
}

.estimate-step1 .sec-car .car .thumb .thumb-brand-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.estimate-step1 .sec-car .car .thumb .thumb-brand-logo .brand-logo--thumb {
    position: static;
    width: 100%;
    height: 100%;
}

.estimate-step1 .sec-car .car .thumb .car-thumb-img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

/* step1 관리자 인라인 순서 (썸네일 우측 상단) */
.estimate-step1 .sec-car .car .car-admin-sort {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: auto;
}

.estimate-step1 .sec-car .car .car-sort-btn {
    min-width: 48px;
    height: 34px;
    text-align: center;
    padding: 0 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background 0.15s, opacity 0.15s;
}

.estimate-step1 .sec-car .car .car-sort-btn:hover:not(:disabled) {
    background: #fff;
    border-color: var(--primary, #1A1D4A);
    color: var(--primary, #1A1D4A);
}

.estimate-step1 .sec-car .car .car-sort-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .estimate-step1 .sec-car .car .car-admin-sort {
        top: 4px;
        right: 4px;
        gap: 3px;
    }

    .estimate-step1 .sec-car .car .thumb .thumb-brand-logo {
        top: 8px;
        left: 8px;
        width: 32px;
        height: 32px;
        padding: 5px;
        border-radius: 6px;
    }
}

.estimate-step1 .sec-car .car .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
}

.estimate-step1 .sec-car .car .info .name-df {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    width: 100%;
}

.estimate-step1 .sec-car .car .info .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.estimate-step1 .sec-car .car .brand-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #333;
}

.estimate-step1 .sec-car .car .price {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #666;
    display: block;
}

.estimate-step1 .sec-car .car .price .price-label {
    margin-right: 0.25em;
}

.estimate-step1 .sec-car .car .price .price-value {
    white-space: nowrap;
}

.estimate-step1 .fast-list-wrap {
    padding: 0;
}

/* responsive — .sec-car 그리드는 .fast-list-wrap .car-list 와 동일 단계 */
@media (max-width: 1024px) {
    .estimate-step1 .brand-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .estimate-step1 .sec-car .car-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sub-container .sub-inner.sub-inner--step1 {
        padding: 60px 12px;
    }

    .estimate-step1 .brand-sec {
        padding: 0;
        border: none;
        border-radius: 0;
    }

    .estimate-step1 .brand-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .estimate-step1 .sec-car {
        padding: 0;
        border: none;
        border-radius: 0;
    }

    .estimate-step1 .sec-car .car-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .estimate-step1 .sec-car .car .info {
        gap: 8px;
        padding: 8px;
    }

    .estimate-step1 .sec-car .car .thumb {
        height: 130px;
    }
}

@media (max-width: 450px) {
    .estimate-step1 .sec-car .car .brand-name {
        font-size: 14px;
        font-weight: 500;
    }
}

.estimate-step2 .car-summary {
    padding: 80px 20px;
    margin-top: 120px;
}

.estimate-step2 .car-summary .inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.estimate-step2 .car-image {
    flex: 1;
    position: sticky;
    top: 140px;
    align-self: flex-start;
}

.estimate-step2 .car-image .img-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f9f9f9;
}

.badge-special {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4f;
    color: #fff;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 2;
}

.estimate-step2 .car-image img {
    width: 100%;
    max-width: 520px;
    display: block;
}

.estimate-step2 .car-info {
    flex: 1;
    min-width: 0;
}

.estimate-step2 .title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.estimate-step2 .car-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    min-width: 0;
}

.estimate-step2 .btn-catalog {
    padding: 8px 18px;
    background: #0b2c63;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

.estimate-step2 .car-new-price {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.estimate-step2 .car-new-price-ttl {
    font-weight: 600;
    color: #333;
    margin-right: 6px;
}

.estimate-step2 .car-summary-desc {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #666;
}

.estimate-step2 .color-select {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed #eee;
}

.estimate-step2 .color-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.estimate-step2 .current-color {
    color: #888;
}


.estimate-step2 .color {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    cursor: pointer;
    border: 1.5px solid transparent;
}

.estimate-step2 .color.on {
    border-color: #0b2c63;
}

.estimate-step2 .sec-head {
    background: #0b2c63;
    color: #fff;
    padding: 16px 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.estimate-step2 .sec-head.sec-head-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    color: #111;
    padding: 0 0 14px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.estimate-step2 .sec-head.sec-head-plain {
    background: transparent;
    color: #111;
    padding: 0 0 14px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.estimate-step2 .sec-head-count .sec-head-title {
    flex: 1 1 auto;
    min-width: 0;
}

.estimate-step2 .sec-head-count .sec-head-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.estimate-step2 .sec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 80px;
}

/* 세부모델 · 트림 · 옵션 — 선택 목록 공통 (카드 분리 + gap, 선택 시 체크·파란 테두리) */
.estimate-step2 .model-item-list,
.estimate-step2 .step-trim-list,
.estimate-step2 .sec-option .option-list {
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.estimate-step2 .model-item.on .model-btn::before,
.estimate-step2 .step-trim-item.on::before,
.estimate-step2 .sec-option .option-item label:has(input:checked)::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e63e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.estimate-step2 .model-item {
    border: 1.5px solid #d1d5db;
    border-radius: 16px;
    overflow: visible;
    background: #fff;
}

.estimate-step2 .model-item.on {
    border-color: #1e63e9;
    background: #fff;
}

.estimate-step2 .model-btn {
    width: 100%;
    padding: 14px 16px;
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.estimate-step2 .model-item.on .model-btn {
    color: #1e63e9;
}

.estimate-step2 .model-btn:hover {
    background: transparent;
}

.estimate-step2 .model-btn:focus {
    outline: 2px solid #1e63e9;
    outline-offset: 2px;
}

.estimate-step2 .trim-list.trim-list-hidden {
    display: none !important;
}

.estimate-step2 .trim-step-body {
    margin-top: 0;
}

.estimate-step2 .trim-step-empty {
    color: #888;
    text-align: center;
    padding: 48px 16px;
    border: 1.5px dashed #d1d5db;
    border-radius: 6px;
    font-size: 15px;
}

.estimate-step2 .step-trim-list {
    list-style: none;
    margin: 0;
    display: none;
}

.estimate-step2 .step-trim-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1.5px solid #d1d5db;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    background: #fff;
}

.estimate-step2 .step-trim-item > span:last-child {
    margin-left: auto;
    flex-shrink: 0;
}

.estimate-step2 .step-trim-item:hover {
    background: transparent;
}

.estimate-step2 .step-trim-item.on {
    border-color: #1e63e9;
    background: #fff;
    color: #1e63e9;
    box-shadow: none;
}

.estimate-step2 .trim {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.estimate-step2 .trim.on {
    background: #f9f9f9;
}

.estimate-step2 .sec-option .option-body {
    margin-top: 16px;
}

.estimate-step2 .sec-option .option-empty {
    color: #888;
    text-align: center;
    padding: 80px 0;
}

.estimate-step2 .sec-option .option-list {
    display: none;
}

.estimate-step2 .sec-option .option-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

.estimate-step2 .sec-option .option-item input {
    display: none;
}

.estimate-step2 .sec-option .option-item .label {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.estimate-step2 .sec-option .option-item .price {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.estimate-step2 .sec-option .option-item input:checked ~ * {
    pointer-events: none;
}

.estimate-step2 .sec-option .option-item input:checked {
    display: none;
}

.estimate-step2 .sec-option .option-item label:has(input:checked) {
    border-color: #1e63e9;
    background: #fff;
}

.estimate-step2 .sec-option .option-item label:has(input:checked) .label,
.estimate-step2 .sec-option .option-item label:has(input:checked) .price {
    color: #1e63e9;
}

.estimate-step2 .cond-block-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.estimate-step2 .sec-condition .cond-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.estimate-step2 .sec-condition .cond-title {
    font-size: 15px;
    font-weight: 600;
}

.estimate-step2 .sec-condition .cond-title.add-inp {
    margin-bottom: 16px;
}

.estimate-step2 .sec-condition .inp-block {
    min-width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
}

.estimate-step2 .sec-condition [data-deposit-block],
.estimate-step2 .sec-condition [data-prepay-block] {
    display: none;
}

.estimate-step2 .sec-condition .btn-group {
    display: grid;
    gap: 12px;
}

/* 컬럼 수 제어 */
.estimate-step2 .sec-condition .btn-group.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.estimate-step2 .sec-condition .btn-group.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.estimate-step2 .sec-condition .btn-group.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.estimate-step2 .sec-condition .btn-group.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.estimate-step2 .sec-condition input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* 기본 버튼 */
.estimate-step2 .sec-condition .btns {
    padding: 14px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

/* 체크된 라디오 = 선택 상태 */
.estimate-step2 .sec-condition .btns input[type="radio"]:checked + span {
    color: #0b2f6b;
    font-weight: 600;
}

.estimate-step2 .sec-condition .btns:has(input[type="radio"]:checked) {
    border-width: 1.5px;
    border-color: #0b2f6b;
}


/* =========================
   04. 최종 견적
========================= */

/*
.estimate-step2 .sec-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
*/

.estimate-step2 .sec-summary .summary-box {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.estimate-step2 .sec-summary dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    column-gap: 24px;
    font-size: 14px;
}

.estimate-step2 .sec-summary dt {
    color: #666;
}

.estimate-step2 .sec-summary dd {
    text-align: right;
    font-weight: 600;
}

.estimate-step2 .sec-summary .price-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.estimate-step2 .sec-summary .price-block .row,
.estimate-step2 .sec-summary .price-block .total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimate-step2 .sec-summary .price-block .row span {
    color: #666;
}

.estimate-step2 .sec-summary .price-block .total {
    padding-top: 16px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    font-weight: 700;
}

.estimate-step2 .sec-summary .price-head {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 14px;
}

.estimate-step2 .sec-summary .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estimate-step2 .sec-summary .price-name {
    color: #666;
    font-size: 15px;
}

.estimate-step2 .sec-summary .price-value {
    font-size: 18px;
    font-weight: 700;
}


.estimate-step2 .sec-summary .cta-btns {
    margin-top: 16px;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.estimate-step2 .sec-summary .btn-submit {
    margin-top: 0;
    flex: 1 1 0;
    min-width: 0;
    padding: 16px 12px;
    background: #1e63e9;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.3;
    box-sizing: border-box;
}

.estimate-step2 .sec-summary .btn-submit.btn-kakao-talk {
    flex: 1.15 1 0;
    background: #fee500;
    color: #191919;
}

.estimate-step2 .sec-summary .btn-kakao-ico,
.step-fixed-bar .btns-wrap .btn-kakao-ico {
    display: none;
    width: 20px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.estimate-step2 .btn-kakao-estimate__label-mobile,
.step-fixed-bar .btn-kakao-estimate__label-mobile {
    display: none;
}

.estimate-step2 .btn-kakao-estimate__label-default,
.step-fixed-bar .btn-kakao-estimate__label-default {
    display: inline;
}

.estimate-step2 .sec-summary .detail {
    padding-left: 16px;
    border-left: 2px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimate-step2 .sec-summary .detail div {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.estimate-step2 .color-swiper-wrap {
    width: 100%;
}

.estimate-step2 .colorSwiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 12px;
}

.estimate-step2 .colorSwiper .swiper-wrapper {
    width: auto;
}

.estimate-step2 .colorSwiper .swiper-slide {
    width: calc((100% - 80px) / 7);
    margin-right: 16px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid #eee;
}

.estimate-step2 .colorSwiper .swiper-slide:last-child {
    margin-right: 0;
}

.estimate-step2 .colorSwiper .color-list .color {
    position: relative;
}

.estimate-step2 .colorSwiper .color-list .color.on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #111;
}

.estimate-step2 .sec-grid > * {
    min-width: 0;
}




@media (max-width:850px) {
    .cm-step-wrap .stepbar {
        flex-direction: column;
    }

    .cm-step-wrap .step {
        width: 100%;
    }
}

@media (max-width:550px) {
    .estimate-step1 .sec-fast,
    .estimate-step1 .sec-budget,
    .estimate-step1 .sec-review {
        padding: 20px;
    }

    .cm-step-wrap .sec-title h2 {
        font-size: 24px;
    }

}

@media (max-width:1200px) {
    .estimate-step2 .car-summary .inner {
        flex-direction: column;
        padding: 40px 0;
        align-items: flex-start;
    }

    .estimate-step2 .car-image {
        position: static;
        top: auto;
        align-self: stretch;
    }

    .estimate-step2 .sec-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .estimate-step2 .car-info {
        width: 100%;
        flex: 0 0 100%;
    }
}

@media (max-width:1280px) {
    .step-fixed-bar .inner {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}


@media (max-width:768px) {
    .cm-step-wrap .stepbar {
        display: none;
    }

    .estimate-step2 .car-image .img-wrap {
        height: 160px;
        padding: 4px;
    }

    .estimate-step2 .car-image img {
        max-width: 320px;
        max-height: 160px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .estimate-step2 .car-name {
        font-size: 18px;
    }

    .estimate-step2 .title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }


    .estimate-step2 .car-summary {
        padding: 0 20px;
        margin-top: 100px;
    }

    .step-fixed-bar .inner {
        padding: 14px 20px;
    }

    .step-fixed-bar .inner .dflx-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .step-fixed-bar .left {
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
    }

    .step-fixed-bar .left .df {
        width: 100%;
        min-width: 0;
        gap: 0;
        align-items: flex-start;
    }

    .step-fixed-bar .car-info-stack {
        width: 100%;
        gap: 6px;
    }

    .step-fixed-bar .car-name-row {
        width: 100%;
        gap: 6px;
    }

    .step-fixed-bar .car-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
    }

    .step-fixed-bar .car-meta-row {
        width: 100%;
        gap: 8px;
        justify-content: flex-start;
    }

    .step-fixed-bar .trim-name {
        flex: 0 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }

    .step-fixed-bar .car-price {
        flex-shrink: 0;
        font-size: 16px;
    }

    .step-fixed-bar .btns-wrap {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    .step-fixed-bar .btns-wrap .btns {
        flex: 1 1 0;
        min-width: 0;
        padding: 14px 10px;
        font-size: 15px;
        white-space: normal;
    }

    .step-fixed-bar .btns-wrap .btns-kakao-talk {
        flex: 1.35 1 0;
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* ≤768: 카카오 CTA (아이콘 + 문구 + 노란색) */
    .step-fixed-bar .btns-wrap .btns.btn-kakao-estimate,
    .estimate-step2 .sec-summary .btn-submit.btn-kakao-estimate {
        background: #fee500;
        color: #191919;
        gap: 8px;
    }

    .step-fixed-bar .btns-wrap .btn-kakao-estimate .btn-kakao-ico,
    .estimate-step2 .sec-summary .btn-kakao-estimate .btn-kakao-ico {
        display: block;
    }

    .step-fixed-bar .btn-kakao-estimate__label-default,
    .estimate-step2 .btn-kakao-estimate__label-default {
        display: none;
    }

    .step-fixed-bar .btn-kakao-estimate__label-mobile,
    .estimate-step2 .btn-kakao-estimate__label-mobile {
        display: inline;
    }

    .estimate-step2 .sec-summary .cta-btns {
        gap: 8px;
    }

    .estimate-step2 .sec-summary .btn-submit {
        padding: 14px 8px;
        font-size: 14px;
    }

    .estimate-step2 .sec-summary .btn-kakao-ico,
    .step-fixed-bar .btns-wrap .btn-kakao-ico {
        width: 18px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .estimate-step1 .sec-ttl {
        font-size: 14px;
    }

}

@media (max-width: 500px) {
    .estimate-step2 .sec-condition .btn-group.cols-4 .btns {
        font-size: 15px;
    }

    .estimate-step2 .sec-condition .btn-group.cols-4 .btns span {
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .estimate-step2 .sec-condition .btn-group {
        gap: 4px;
    }

    .estimate-step2 .sec-model .model-btn,
    .estimate-step2 .sec-trim .step-trim-item,
    .estimate-step2 .sec-trim .trim-step-empty,
    .estimate-step2 .sec-option .option-item .label,
    .estimate-step2 .sec-option .option-item .price,
    .estimate-step2 .sec-option .option-empty {
        font-size: 14px;
    }

    .estimate-step2 .sec-condition .btn-group.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .estimate-step2 .sec-condition .btn-group.cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .estimate-step2 .sec-condition .btn-group.cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .estimate-step2 .sec-condition .btn-group:not(.cols-4) .btns {
        min-width: 0;
        padding: 12px 6px;
        font-size: 13px;
    }

    .estimate-step2 .sec-condition .btn-group.cols-4 .btns {
        min-width: 0;
        padding: 12px 6px;
        font-size: 15px;
    }

    .estimate-step2 .sec-condition .btn-group.cols-4 .btns span,
    .estimate-step2 .sec-condition .btns span {
        white-space: nowrap;
        letter-spacing: -0.03em;
    }
}

/* step2 — 차량변경 선택 패널
   html/body overflow hidden 은 .car-image(sticky) 페인트가 깨져
   좌측 썸네일이 사라지므로 사용하지 않음. 스크롤 잠금은 JS. */
.step2-car-select__panel,
.step2-car-select__body {
    overscroll-behavior: contain;
}

.step2-car-select {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10040;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.step2-car-select.is-open {
    display: flex;
}

.step2-car-select__dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.step2-car-select__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.step2-car-select__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 16px;
}

.step2-car-select__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.step2-car-select__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #666;
    line-height: 0;
    cursor: pointer;
}

.step2-car-select__close svg {
    display: block;
    width: 24px;
    height: 24px;
}

.step2-car-select__close:hover {
    background: #f3f4f6;
}

.step2-car-select__tabs {
    display: flex;
    align-items: stretch;
    gap: 4px;
    width: calc(100% - 48px);
    margin: 0 24px 20px;
    padding: 4px;
    background: #ececec;
    border-radius: 12px;
    box-sizing: border-box;
}

.step2-car-select__tab {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #888;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.step2-car-select__tab.is-active {
    background: #fff;
    color: var(--primary, #1A1D4A);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.step2-car-select__tab:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.step2-car-select__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 24px;
    scrollbar-width: auto;
}

.step2-car-select__body::-webkit-scrollbar {
    width: 5px;
}

.step2-car-select__body::-webkit-scrollbar-track {
    background: #ddd;
}

.step2-car-select__body::-webkit-scrollbar-thumb {
    background: #666;
}

.step2-car-select__section + .step2-car-select__section {
    margin-top: 28px;
}

.step2-car-select__section-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.step2-car-select__brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 12px;
}

.step2-car-select__brand-grid.filter-wrap {
    display: grid;
    flex-direction: unset;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
}

.step2-car-select__brand-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.step2-car-select__brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 10px 8px 8px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ececec;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step2-car-select__brand-btn:hover .step2-car-select__brand-card,
.step2-car-select__brand-btn:focus-visible .step2-car-select__brand-card {
    border-color: #d9d9d9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step2-car-select__brand-card .maker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

.step2-car-select__brand-card .maker-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.02em;
    overflow: hidden;
    flex-shrink: 0;
}

.step2-car-select__brand-card .maker-item__icon--img {
    padding: 6px;
}

.step2-car-select__brand-card .maker-item__icon--img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.step2-car-select__brand-card .maker-item__icon--text {
    font-size: 10px;
    font-weight: 600;
    padding: 4px;
    text-align: center;
    line-height: 1.2;
    word-break: keep-all;
}

.step2-car-select__brand-card .maker-item__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    max-width: 88px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step2-car-select__pane[hidden] {
    display: none !important;
}

.step2-car-select__car-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.step2-car-select__car-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.step2-car-select__car-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.step2-car-select__car-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step2-car-select__car-brand-label {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.step2-car-select__car-loading,
.step2-car-select__car-empty {
    margin: 0;
    padding: 48px 0;
    text-align: center;
    font-size: 0.9375rem;
    color: #888;
}

.step2-car-select__car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
}

.step2-car-select__car-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.step2-car-select__car-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step2-car-select__car-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step2-car-select__car-check {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #111;
    color: #fff;
}

.step2-car-select__car-check svg {
    display: block;
    width: 12px;
    height: 9px;
}

.step2-car-select__car-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    line-height: 1.35;
    word-break: keep-all;
}

.step2-car-select__car-item.is-selected .step2-car-select__car-card {
    border: 2px solid #111;
    padding: 9px;
}

.step2-car-select__car-item.is-selected .step2-car-select__car-check {
    display: inline-flex;
}

.step2-car-select__car-item.is-selected .step2-car-select__car-name {
    font-weight: 700;
    color: #111;
}

.step2-car-select__foot {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    box-sizing: border-box;
}

.step2-car-select__foot[hidden] {
    display: none !important;
}

.step2-car-select__reset-btn,
.step2-car-select__confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    font-family: inherit;
}

.step2-car-select__reset-btn {
    flex: 0 0 108px;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
}

.step2-car-select__reset-btn:hover {
    background: #f8f8f8;
}

.step2-car-select__reset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step2-car-select__confirm-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 18px;
    border: none;
    background: #111;
    color: #fff;
}

.step2-car-select__confirm-btn:hover:not(:disabled) {
    background: #222;
}

.step2-car-select__confirm-btn:disabled {
    background: #d1d5db;
    color: #fff;
    cursor: not-allowed;
}

.estimate-step2 .car-image__change-btn {
    position: absolute;
    right: 17px;
    bottom: 17px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
}

.estimate-step2 .car-image__change-btn:hover {
    border-color: #bbb;
    color: #333;
    box-shadow: 0 3px 11px rgba(0, 0, 0, 0.08);
}

.estimate-step2 .car-image__change-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.estimate-step2 .car-image__change-btn-icon svg {
    width: 14px;
    height: 8px;
}

@media (max-width: 768px) {
    .step2-car-select {
        padding: 24px 20px;
        align-items: center;
    }

    .step2-car-select__panel {
        width: min(440px, calc(100vw - 40px));
        max-width: calc(100vw - 40px);
        height: min(680px, calc(100vh - 48px));
        max-height: min(680px, calc(100vh - 48px));
        border-radius: 20px;
    }

    .step2-car-select__head {
        padding: 12px 14px 8px;
    }

    .step2-car-select__title {
        font-size: 1.05rem;
    }

    .step2-car-select__close {
        width: 32px;
        height: 32px;
    }

    .step2-car-select__close svg {
        width: 20px;
        height: 20px;
    }

    .step2-car-select__tabs {
        width: calc(100% - 28px);
        margin: 0 14px 10px;
        padding: 3px;
        border-radius: 10px;
    }

    .step2-car-select__tab {
        min-height: 38px;
        font-size: 0.8125rem;
        border-radius: 8px;
    }

    .step2-car-select__body {
        padding: 0 14px 12px;
    }

    .step2-car-select__section-title {
        margin-bottom: 8px;
        font-size: 0.8125rem;
    }

    .step2-car-select__section + .step2-car-select__section {
        margin-top: 14px;
    }

    .step2-car-select__brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
    }

    .step2-car-select__brand-card {
        padding: 6px 4px 4px;
        border-radius: 10px;
    }

    .step2-car-select__car-head {
        margin-bottom: 10px;
    }

    .step2-car-select__car-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 6px;
    }

    .step2-car-select__car-card {
        padding: 8px 6px 6px;
        border-radius: 10px;
    }

    .step2-car-select__car-name {
        font-size: 0.75rem;
        line-height: 1.25;
    }

    .step2-car-select__foot {
        padding: 10px 14px 12px;
        gap: 8px;
    }

    .step2-car-select__reset-btn {
        flex: 0 0 auto;
        min-width: 102px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .step2-car-select__confirm-btn {
        min-height: 44px;
        font-size: 0.875rem;
    }

    .estimate-step2 .car-image__change-btn {
        right: 14px;
        bottom: 14px;
        padding: 10px 17px;
        font-size: 18px;
    }

    .estimate-step2 .car-image__change-btn-icon svg {
        width: 13px;
        height: 8px;
    }
}

@media (max-width: 380px) {
    .step2-car-select__brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
    }
}
