/* /consult/ — 상담 신청 팝업 */
:root {
    --consult-primary: #ff5e00;
    --consult-primary-soft: #ffb899;
    --consult-text: #111827;
    --consult-muted: #6B7280;
    --consult-line: #E5E7EB;
    --consult-sheet-radius: 20px;
}

html.fpc-consult-lock,
body.fpc-consult-lock {
    overflow: hidden !important;
}

.consult-root {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
}

/* dim */
.consult-dim {
    position: fixed;
    inset: 0;
    z-index: 200000;
    background: rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
}

.consult-dim.is-open {
    opacity: 1;
    visibility: visible;
}

/* popup sheet — 페이드/슬라이드 없이 즉시 표시 */
.consult-sheet {
    position: fixed;
    z-index: 200010;
    left: 50%;
    top: 50%;
    width: min(440px, calc(100vw - 88px));
    height: auto;
    max-height: min(680px, calc(100vh - 48px));
    box-sizing: border-box;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--consult-sheet-radius);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    overflow: visible;
}

.consult-sheet.is-open {
    opacity: 1;
    visibility: visible;
}

.consult-sheet__close {
    position: absolute;
    top: 0;
    right: -44px;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    -webkit-tap-highlight-color: transparent;
}

.consult-sheet__close:hover,
.consult-sheet__close:focus-visible {
    background: #fff;
    color: #111827;
}

.consult-sheet.is-complete .consult-sheet__close,
.consult-sheet.is-cover .consult-sheet__close {
    display: none;
}

.consult-progress {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    padding: 14px 20px 0;
    border-radius: var(--consult-sheet-radius) var(--consult-sheet-radius) 0 0;
    overflow: hidden;
}

.consult-progress__seg {
    flex: 1 1 0;
    height: 3px;
    border-radius: 999px;
    background: #E5E7EB;
}

.consult-progress__seg.is-on {
    background: var(--consult-primary);
}

.consult-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px 24px 12px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C4C4C4 transparent;
}

/* 1스텝 기준 높이 고정 시 — 스크롤바 숨김 */
.consult-sheet.is-height-locked .consult-sheet__body {
    overflow: hidden;
}

.consult-sheet__body::-webkit-scrollbar {
    width: 4px;
}

.consult-sheet__body::-webkit-scrollbar-track {
    background: transparent;
}

.consult-sheet__body::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 999px;
}

.consult-step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.consult-step-label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--consult-primary);
    letter-spacing: normal;
}

.consult-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.consult-steps__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: #fb923c;
    background: #fff7ed;
    line-height: 1;
}

.consult-steps__item.is-current {
    color: #fff;
    background: var(--consult-primary);
}

.consult-steps__item.is-done {
    color: #fff;
    background: var(--consult-primary);
}

.consult-heading {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: normal;
    color: var(--consult-text);
    word-break: keep-all;
}

.consult-panel[hidden] {
    display: none !important;
}

.consult-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consult-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consult-field__label {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--consult-text);
    letter-spacing: normal;
}

.consult-field__input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    background: #fff;
    color: var(--consult-text);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.consult-field__input::placeholder {
    color: #9CA3AF;
}

.consult-field__input:focus {
    border-color: var(--consult-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.consult-field[hidden] {
    display: none !important;
}

/* 커스텀 드롭다운 — 시트 안 스크롤 */
.consult-dd {
    position: relative;
}

.consult-dd__trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 40px 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    background: #fff;
    color: var(--consult-text);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-align: left;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
}

.consult-dd__trigger.is-placeholder {
    color: #9CA3AF;
}

.consult-dd__trigger::after {
    content: "";
    position: absolute;
    top: 26px;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #9CA3AF;
    border-bottom: 2px solid #9CA3AF;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.15s ease;
}

.consult-dd.is-open .consult-dd__trigger {
    border-color: var(--consult-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.consult-dd.is-open .consult-dd__trigger::after {
    transform: translateY(-20%) rotate(-135deg);
}

.consult-dd__list {
    /* absolute 대신 문서 흐름 — 시트 밖으로 안 나감, 목록만 내부 스크롤 */
    position: relative;
    z-index: 2;
    margin: 6px 0 0;
    padding: 6px 0;
    list-style: none;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    scrollbar-width: thin;
    scrollbar-color: #C4C4C4 transparent;
}

.consult-dd__list[hidden] {
    display: none !important;
}

.consult-dd__list::-webkit-scrollbar {
    width: 4px;
}

.consult-dd__list::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 999px;
}

.consult-dd__option {
    padding: 12px 16px;
    color: var(--consult-text);
    font-size: 15px;
    letter-spacing: normal;
    cursor: pointer;
}

.consult-dd__option:hover,
.consult-dd__option:focus {
    background: #F3F4F6;
    outline: none;
}

.consult-dd__option.is-active {
    background: #fff7ed;
    color: var(--consult-primary);
    font-weight: 600;
}

.consult-field__textarea {
    width: 100%;
    min-height: 220px;
    padding: 16px 18px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    background: #F3F4F6;
    color: var(--consult-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.consult-field__textarea::placeholder {
    color: #9CA3AF;
    white-space: pre-line;
}

.consult-field__textarea:focus {
    border-color: var(--consult-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* 개인정보처리방침 동의 — fields gap과 분리, 자체 간격 */
.consult-panel .custom-chk-inp-wrap {
    display: inline-block;
    margin: 16px 0 0;
    padding-bottom: 12px;
}

.consult-panel .custom-chk-inp-wrap .chk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.consult-panel .custom-chk-inp-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.consult-panel .custom-chk-inp-wrap .box {
    width: 20px;
    height: 20px;
    border: 1.5px solid #888;
    border-radius: 4px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    opacity: 0.3;
    flex-shrink: 0;
}

.consult-panel .custom-chk-inp-wrap .txt {
    font-size: 14px;
    color: #111;
    letter-spacing: normal;
}

.consult-panel .custom-chk-inp-wrap .txt .privacy-link {
    text-decoration: underline;
    color: #111;
}

.consult-panel .custom-chk-inp-wrap input:checked + .box {
    background-color: var(--consult-primary);
    border-color: var(--consult-primary);
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.consult-vehicle {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 이용 방식 — 장기렌트/리스 카드 */
.fpc-product-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fpc-product-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.fpc-product-card__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fpc-product-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 118px;
    padding: 16px 10px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fpc-product-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #4b5563;
}

.fpc-product-card__desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    color: #9ca3af;
    word-break: keep-all;
}

.fpc-product-card:hover .fpc-product-card__body {
    background: #fff7ed;
    border-color: #fdba74;
}

.fpc-product-card__input:checked + .fpc-product-card__body {
    background: #fff7ed;
    border-color: #fb923c;
}

.fpc-product-card__input:checked + .fpc-product-card__body .fpc-product-card__title {
    color: var(--consult-primary);
}

.fpc-product-card__input:focus-visible + .fpc-product-card__body {
    box-shadow: 0 0 0 2px rgba(255, 94, 0, 0.25);
}

.consult-choice {
    display: flex;
    flex-direction: column;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.consult-choice__item {
    display: block;
    margin: 0;
    cursor: pointer;
}

.consult-choice__item + .consult-choice__item {
    border-top: 1px solid #E5E7EB;
}

.consult-choice__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.consult-choice__btn {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 16px 18px;
    color: var(--consult-text);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}

.consult-choice__item:hover .consult-choice__btn {
    background: #F9FAFB;
}

.consult-choice__input:checked + .consult-choice__btn {
    background: #fff7ed;
    color: var(--consult-primary);
    font-weight: 600;
}

.consult-choice__input:focus-visible + .consult-choice__btn {
    box-shadow: inset 0 0 0 2px var(--consult-primary);
}

.consult-vehicle__own {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consult-vehicle__own[hidden] {
    display: none !important;
}

.consult-sheet__footer {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #F3F4F6;
    border-radius: 0 0 var(--consult-sheet-radius) var(--consult-sheet-radius);
    overflow: hidden;
}

.consult-close-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    width: 88px;
    min-height: 54px;
    padding: 0 14px;
    border: 0;
    border-radius: 16px;
    background: #F3F4F6;
    color: #9CA3AF;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.consult-close-btn:hover {
    background: #E5E7EB;
    color: #6B7280;
}

.consult-close-btn:active {
    background: #D1D5DB;
    color: #6B7280;
}

.consult-next {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: var(--consult-primary);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: normal;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.consult-next:hover {
    background: #e85500;
}

.consult-next:active {
    background: #cc4400;
}

.consult-sheet.is-complete .consult-progress,
.consult-sheet.is-complete .consult-step-row,
.consult-sheet.is-complete .consult-heading {
    display: none !important;
}

.consult-sheet.is-cover .consult-progress,
.consult-sheet.is-cover .consult-step-row,
.consult-sheet.is-cover .consult-heading,
.consult-sheet.is-cover .consult-sheet__footer {
    display: none !important;
}

.consult-sheet.is-cover .consult-sheet__body {
    padding: 28px 20px 24px;
    overflow: auto;
}

.fpc-consult-cover.landing-quick-start {
    width: 100%;
}

.fpc-consult-cover .landing-quick-start__eyebrow {
    margin-bottom: 10px;
    font-size: 18px;
}

.fpc-consult-cover .landing-quick-start__headline {
    margin-bottom: 4px;
    font-size: 42px;
}

.fpc-consult-cover .landing-quick-start__visual {
    margin-bottom: 16px;
    min-height: 140px;
}

.fpc-consult-cover .landing-quick-start__swiper {
    padding: 12px 0;
    overflow: visible;
}

.fpc-consult-cover .landing-quick-start__card {
    max-width: 118px;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
}

.fpc-consult-cover .landing-quick-start__title {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

@media (max-width: 420px) {
    .fpc-consult-cover .fpc-cover-title-break {
        display: block;
    }
}

.fpc-consult-cover .landing-quick-start__btn--primary {
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1.3;
}

.fpc-consult-cover .landing-quick-start__btn-arrow {
    width: 20px;
    height: 20px;
}

/* step4 — PC 기본정보 / 모바일 요약+카카오 */
.fpc-step4-pc {
    display: block;
}

.fpc-step4-mob {
    display: none;
}

.fpc-review-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.fpc-car-pick-block {
    margin: 0;
}

.fpc-car-pick-block[hidden] {
    display: none !important;
}

.fpc-car-pick__selected-card {
    margin: 0;
}

.fpc-car-pick-change-out {
    display: none;
}

.fpc-review-car-block {
    margin: 0 0 16px;
}

/* 넓은 화면: 차량 변경을 카드 우측 */
@media (min-width: 401px) {
    .fpc-car-pick-block {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 4px 14px 4px 0;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
        box-sizing: border-box;
    }

    .fpc-car-pick-block .fpc-car-pick__selected-card {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .fpc-car-pick-block .fpc-car-pick__change.fpc-car-pick-change-out {
        display: inline-flex;
        align-items: center;
        align-self: center;
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
    }
}

/* Z Flip(~320) 포함 — 차량 변경을 카드 아래 전체 폭 */
@media (max-width: 400px) {
    .fpc-car-pick-block {
        display: flex;
        flex-direction: column;
        gap: 8px;
        border: 0;
        background: transparent;
    }

    .fpc-car-pick-block .fpc-car-pick__selected-card {
        border: 1px solid #e5e7eb;
        border-radius: 14px;
    }

    .fpc-car-pick-block .fpc-car-pick__meta {
        min-width: 0;
    }

    .fpc-car-pick-block .fpc-car-pick__name {
        overflow-wrap: anywhere;
    }

    .fpc-car-pick-block .fpc-car-pick__change.fpc-car-pick-change-out {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 10px 12px;
        border-radius: 10px;
        box-sizing: border-box;
    }
}

.fpc-review-car {
    margin: 0;
}

.fpc-review-list__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.fpc-review-list__item + .fpc-review-list__item {
    border-top: 1px solid #F3F4F6;
}

.fpc-review-list__label {
    flex: 0 0 auto;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.fpc-review-list__value {
    flex: 1 1 auto;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
    word-break: keep-all;
}

.fpc-step4-mob__agree {
    margin-bottom: 14px;
}

.fpc-kakao-cta__icon {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    object-fit: contain;
}

.fpc-kakao-cta__label {
    display: inline-block;
    line-height: 1.2;
}

.consult-next__kakao {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}

.consult-next.is-kakao {
    background: #fee500;
    color: #191919;
    gap: 8px;
    font-weight: 700;
    line-height: 1;
}

.consult-next.is-kakao:hover,
.consult-next.is-kakao:focus-visible,
.consult-next.is-kakao:active {
    background: #f5dc00;
    color: #191919;
}

.consult-next.is-kakao .consult-next__default {
    display: none;
}

.consult-next.is-kakao .consult-next__kakao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.consult-next.is-kakao .consult-next__kakao[hidden] {
    display: inline-flex !important;
    align-items: center;
}

.consult-next.is-kakao .fpc-kakao-cta__icon {
    transform: translateY(1px);
}

.consult-heading__lead {
    display: block;
    margin-bottom: 8px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.consult-heading__title {
    display: block;
    color: #111827;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.25;
}

.consult-heading__sub {
    display: block;
    margin-top: 4px;
    color: #111827;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .fpc-step4-pc {
        display: none !important;
    }

    .fpc-step4-mob {
        display: block !important;
    }

    .consult-heading {
        margin-bottom: 16px;
        font-size: 20px;
        line-height: 1.35;
        letter-spacing: -0.02em;
    }

    .consult-sheet.is-step4-mob .consult-heading__sub {
        margin-top: 2px;
        font-size: 18px;
        font-weight: 600;
    }

    .consult-sheet.is-step4-mob .consult-sheet__footer {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    .consult-sheet.is-step4-mob .consult-close-btn {
        flex: 0 0 20%;
        width: auto;
        min-width: 0;
        padding: 0 8px;
        font-size: 15px;
    }

    .consult-sheet.is-step4-mob .consult-next {
        flex: 1 1 80%;
        width: auto;
        min-width: 0;
        white-space: nowrap;
        font-size: 14px;
        padding: 0 12px;
    }

    .consult-sheet.is-step4-mob .consult-next.is-kakao .fpc-kakao-cta__label {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.consult-sheet.is-complete .consult-sheet__body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.consult-sheet__footer.is-complete .consult-close-btn {
    display: none !important;
}

.consult-sheet__footer.is-complete .consult-next {
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: default;
    pointer-events: none;
}

.consult-sheet__footer.is-complete .consult-next:hover,
.consult-sheet__footer.is-complete .consult-next:active {
    background: var(--consult-primary);
}

.consult-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 8px 8px;
    width: 100%;
}

.consult-complete__icon {
    margin-bottom: 28px;
}

.consult-complete__title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: normal;
    color: var(--consult-text);
    word-break: keep-all;
}

.consult-check {
    width: 72px;
    height: 72px;
    display: block;
    color: var(--consult-primary);
    border-radius: 50%;
    overflow: hidden;
}

.consult-check__bg {
    transform-origin: 50% 50%;
    transform: scale(0);
    opacity: 0;
}

.consult-check__mark {
    stroke: #fff;
    stroke-width: 3.5;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.consult-check.is-animate .consult-check__bg {
    animation: consult-check-bg 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.consult-check.is-animate .consult-check__mark {
    animation: consult-check-mark 0.35s ease-out 0.28s forwards;
}

@keyframes consult-check-bg {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes consult-check-mark {
    to {
        stroke-dashoffset: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .consult-check.is-animate .consult-check__bg {
        animation: none;
        transform: scale(1);
        opacity: 1;
    }

    .consult-check.is-animate .consult-check__mark {
        animation: none;
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .consult-sheet {
        width: min(440px, calc(100vw - 40px));
    }

    .consult-sheet__close {
        top: -44px;
        right: 0;
    }
}

@media (max-width: 560px) {
    .consult-sheet {
        left: 50%;
        right: auto;
        top: 50%;
        bottom: auto;
        width: calc(100vw - 40px);
        height: auto;
        max-height: min(680px, calc(100vh - 48px));
        border-radius: var(--consult-sheet-radius);
        transform: translate(-50%, -50%) scale(1);
    }

    .consult-sheet.is-open {
        transform: translate(-50%, -50%) scale(1);
    }

    .consult-sheet__close {
        top: -44px;
        right: 0;
    }

    .consult-progress {
        padding: 12px 16px 0;
    }

    .consult-sheet__body {
        padding: 14px 20px 10px;
    }

    .consult-step-row {
        margin-bottom: 18px;
    }
}

/* GFA 상담 시트 위에 step2 차량선택 팝업 */
.step2-car-select {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200120;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

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

/* 차량선택 팝업 열림 시 — fpc-consult-lock(overflow-y:auto) 보다 우선해 스크롤 차단 */
html.is-step2-car-select-open,
html.is-step2-car-select-open body,
html.fpc-consult-lock.is-step2-car-select-open,
body.fpc-consult-lock.is-step2-car-select-open {
    overflow: hidden !important;
}

/* 2스텝 — 희망 차종 */
.fpc-car-pick {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fpc-car-pick__btn {
    appearance: none;
    width: 100%;
    height: 90px;
    min-height: 90px;
    padding: 16px 18px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    background: #F3F4F6;
    color: var(--consult-text);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: normal;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.fpc-car-pick__btn:hover {
    background: #F3F4F6;
    border-color: #d1d5db;
}

.fpc-car-pick__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.fpc-car-pick-block[hidden],
.fpc-car-pick__selected[hidden] {
    display: none !important;
}

.fpc-car-pick__thumb-wrap {
    flex: 0 0 auto;
    width: 88px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.fpc-car-pick__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fpc-car-pick__meta {
    flex: 1 1 auto;
    min-width: 0;
}

.fpc-car-pick__brand {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.3;
}

.fpc-car-pick__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    word-break: keep-all;
}

.fpc-car-pick__change {
    flex: 0 0 auto;
    appearance: none;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.fpc-car-pick__change:hover {
    background: #f3f4f6;
    color: #111;
}

.fpc-car-pick.has-car .fpc-car-pick__btn {
    display: none;
}

/* 팝업 바로 위 — 상담 완료 소셜프루프 카드 */
.fpc-social-proof {
    position: fixed;
    z-index: 200015;
    left: 50%;
    width: min(440px, calc(100vw - 24px));
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.fpc-social-proof.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.fpc-social-proof__card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    height: 68px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-sizing: border-box;
}

.fpc-social-proof__thumb-wrap {
    flex: 0 0 64px;
    width: 64px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.fpc-social-proof__thumb {
    display: block;
    width: 64px;
    height: 44px;
    object-fit: contain;
}

.fpc-social-proof__meta {
    flex: 1 1 auto;
    min-width: 0;
}

.fpc-social-proof__title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fpc-social-proof__message {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fpc-social-proof__check {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.fpc-social-proof__check-svg.consult-check {
    width: 28px;
    height: 28px;
}

@media (max-width: 560px) {
    .fpc-social-proof__card {
        min-height: 64px;
        height: 64px;
        padding: 0 12px;
        gap: 10px;
    }

    .fpc-social-proof__thumb-wrap,
    .fpc-social-proof__thumb {
        width: 56px;
        height: 40px;
    }

    .fpc-social-proof__thumb-wrap {
        flex-basis: 56px;
    }

    .fpc-social-proof__title {
        font-size: 13px;
    }

    .fpc-social-proof__message {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .consult-dim,
    .consult-sheet,
    .fpc-social-proof {
        transition: none;
    }
}


/* ===== 할인 UI (gfa 랜딩과 동일 — 가로형 + 뱃지) ===== */
.fpc-car-pick__disc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    box-sizing: border-box;
}

.fpc-car-pick__disc-badge[hidden] {
    display: none !important;
}

.step2-car-select__brand-chevron {
    display: none;
}

.step2-car-select__brand-disc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.step2-car-select__car-thumb-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.step2-car-select__car-thumb-wrap .step2-car-select__car-thumb {
    width: 100%;
    height: 100%;
}

/* 신형 투싼 원본의 넓은 투명 캔버스 여백을 썸네일에서만 보정한다. */
.step2-car-select__car-thumb-wrap .step2-car-select__car-thumb.is-the-all-new-tucson {
    transform: scale(1.45);
    transform-origin: center center;
}

.step2-car-select__car-disc-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(254, 226, 226, 0.96);
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    pointer-events: none;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-disc-badge {
    position: static;
    left: auto;
    bottom: auto;
    background: #fee2e2;
    box-shadow: none;
    font-size: 12px;
    padding: 4px 8px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-disc-badge--inquiry {
    background: #f3f4f6;
    color: #4b5563;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-name {
    font-weight: 700;
    color: #111;
}


.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-grid,
.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-grid.filter-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-btn {
    text-align: left;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-card {
    align-items: stretch;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-card .maker-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-card .maker-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-card .maker-item__label {
    flex: 0 1 auto;
    max-width: none;
    font-size: 0.9375rem;
    text-align: left;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-disc-badge {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    padding: 4px 8px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__brand-chevron svg {
    display: block;
    width: 20px;
    height: 20px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-align: left;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    box-sizing: border-box;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-item.is-selected {
    border-color: #111;
    border-width: 2px;
    padding: 9px 11px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-card {
    width: 92px;
    flex-shrink: 0;
    aspect-ratio: 1.35 / 1;
    padding: 4px;
    border: none;
    border-radius: 8px;
    background: #f9fafb;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-item.is-selected .step2-car-select__car-card {
    border: none;
    padding: 4px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-check {
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-name {
    flex: none;
    min-width: 0;
    margin: 0;
    font-size: 0.9375rem;
    text-align: left;
}

.step2-car-select[data-admin-disc="1"] .step2-car-select__car-disc-badge {
    margin-left: 0;
    flex-shrink: 0;
}

