@font-face { font-family: 'PretendardLocal'; src: url('../fonts/PretendardVariable.woff2') format('woff2-variations'), url('../fonts/PretendardVariable.woff2') format('woff2'); font-weight: 45 920; font-display: swap; }
.est, .est button, .est input, .est select, .est textarea { font-family: Pretendard, PretendardLocal, 'Noto Sans KR', dotum, sans-serif; }
/* 비대면 간편견적 (CRM 일반신용 차량 검색 구성 / 홈페이지 갈색 톤) */
.est { --c1: #6c460c; --c1d: #4f3208; --line: #e6e3dc; --bg: #f7f3ea; --mute: #8b8372; padding: 48px 0 100px; background: #fff; }
.est .newcar02__inner { max-width: 1250px; margin: 0 auto; }
.est [hidden] { display: none !important; }
.est button { font-family: inherit; cursor: pointer; }
.est :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.est :where(h2, h3, h4, p) { margin: 0; }
.est-none, .est-empty, .est-hint { color: var(--mute); font-size: 16px; }
.est-empty { text-align: center; padding: 60px 0; }

/* 단계바 (화살표형) */
.est-steps { display: flex; margin-bottom: 32px; }
.est-steps li { position: relative; flex: 1; height: 60px; display: flex; align-items: center; justify-content: center; background: #eeeae2; color: #a29a88; font-size: 17px; font-weight: 600; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%); margin-left: -10px; }
.est-steps li:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); border-radius: 8px 0 0 8px; }
.est-steps li:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%); border-radius: 0 8px 8px 0; }
.est-steps li span { margin-right: 10px; font-weight: 800; }
.est-steps li button { width: 100%; height: 100%; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; padding: 0; cursor: default; }
.est-steps li.is-on { background: var(--c1); color: #fff; }
.est-steps li.is-back button { cursor: pointer; }
.est-steps li.is-back:hover { filter: brightness(0.96); }

/* 1단계 : 탭 + 브랜드 */
.est-pick { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 40px; background: #fff; }
.est-market { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.est-market button { height: 60px; border: 0; background: #fff; color: #888; font-size: 18px; font-weight: 600; }
.est-market button + button { border-left: 1px solid var(--line); }
.est-market button.is-on { color: var(--c1); box-shadow: inset 0 0 0 1px var(--c1); }
.est-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding: 24px 12px 26px; }
.est-brands li { width: 198px; display: flex; justify-content: center; }
.est-brands button { width: 100%; max-width: 150px; height: 110px; border: 1px solid transparent; border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 16px; color: #333; }
.est-brands button img { width: auto; max-width: 92px; max-height: 40px; object-fit: contain; }
.est-brands button.is-on { border-color: var(--c1); font-weight: 700; color: var(--c1); }

/* 1단계 : 차량 목록 */
.est-list__head { text-align: center; padding: 20px 0; border: 1px solid var(--line); border-radius: 8px 8px 0 0; font-size: 20px; font-weight: 700; color: var(--c1); background: #fff; }
.est-list__body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; padding: 32px 30px 40px; background: #fff; }
.est-hint { padding: 6px 4px; }
.est-count { font-size: 15px; color: var(--mute); padding: 0 2px 20px; }
.est-models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.est-models button { position: relative; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px 24px; text-align: left; display: block; transition: border-color .15s; }
.est-models button:hover { border-color: var(--c1); }
.est-model-logo { position: absolute; top: 16px; right: 18px; width: auto; max-width: 44px; max-height: 24px; object-fit: contain; }
.est-model-img { display: flex; align-items: center; justify-content: center; height: 150px; margin-bottom: 18px; }
.est-model-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.est-models strong { display: block; font-size: 18px; font-weight: 700; color: #222; }
.est-models em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: var(--mute); }

/* 2단계 */
.est-back { display: block; margin: 0 auto 24px; background: none; border: 0; padding: 6px 14px; font-size: 15px; color: #555; }
.est-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.est-hero__img { text-align: center; }
.est-hero__img img { max-width: 100%; max-height: 300px; object-fit: contain; }
.est-title { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; }
.est-title img { height: 28px; max-width: 48px; object-fit: contain; }
.est-title h2 { font-size: 28px; font-weight: 700; color: #222; }
.est-spec { font-size: 14px; color: var(--mute); line-height: 1.6; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.est-colorhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.est-colorhead h4 { font-size: 16px; font-weight: 700; color: #333; }
.est-colorhead span { font-size: 13px; color: var(--mute); }
.est-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.est-colors button { width: 38px; height: 38px; border-radius: 8px; border: 1px solid #d5cdb9; padding: 0; }
.est-colors button.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c1); }

.est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.est-h { font-size: 18px; font-weight: 700; color: #222; margin: 0 0 16px; }
.est-left .est-h + .est-dd + .est-h { margin-top: 44px; }

/* 세부모델 드롭다운 */
.est-dd { position: relative; }
.est-dd__btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; font-size: 14px; color: #333; }
.est-dd__btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.est-dd__btn b { font-weight: 500; font-size: 13px; color: var(--mute); }
.est-dd__btn i { width: 8px; height: 8px; border-right: 1.5px solid #888; border-bottom: 1.5px solid #888; transform: rotate(45deg); margin: -4px 2px 0; }
.est-dd.is-open .est-dd__btn { border-color: var(--c1); }
.est-dd__panel { margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; max-height: 360px; overflow: auto; box-shadow: 0 8px 24px rgba(60, 40, 5, .1); }
.est-dd__group p { padding: 12px 20px; background: var(--bg); font-size: 13px; font-weight: 700; color: var(--c1); }
.est-dd__group button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 15px 20px; border: 0; border-top: 1px solid #f1ecde; background: #fff; text-align: left; font-size: 14px; color: #333; }
.est-dd__group button b { font-weight: 500; color: var(--mute); white-space: nowrap; }
.est-dd__group button:hover { background: #fbf8f0; }

/* 이용조건 */
.est-cond h4 { font-size: 14px; font-weight: 700; color: #333; margin: 24px 0 10px; }
.est-cond h4:first-child { margin-top: 0; }
.est-seg { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.est-seg button { height: 50px; border: 0; background: #fff; font-size: 14px; color: #666; }
.est-seg button + button { border-left: 1px solid var(--line); }
.est-seg button.is-on { color: var(--c1); font-weight: 700; box-shadow: inset 0 0 0 1px var(--c1); }

/* 옵션 + 요약 */
.est-options { display: flex; flex-direction: column; gap: 10px; }
.est-options li.est-none { padding: 4px 2px; }
.est-options label { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; cursor: pointer; background: #fff; }
.est-options label span { flex: 1; color: #333; line-height: 1.45; }
.est-options label b { font-weight: 500; font-size: 13px; color: var(--mute); white-space: nowrap; }
.est-options input { width: 17px; height: 17px; accent-color: var(--c1); flex: none; margin: 0; }
.est-rule { margin-top: 14px; padding: 13px 16px; border-radius: 10px; background: #fff6e3; color: #8a5a00; font-size: 13px; line-height: 1.6; }
.est-sum { margin-top: 36px; padding: 32px 30px; border-radius: 16px; background: var(--bg); }
.est-sum h4 { font-size: 15px; font-weight: 700; color: #333; margin: 0 0 12px; }
.est-sum__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #555; padding-bottom: 24px; }
.est-sum__row b { font-size: 22px; color: var(--c1); }
.est-sum__line { font-size: 13.5px; color: #555; line-height: 1.6; }
.est-sum__list { margin: 10px 0 0 !important; }
.est-sum__list li { font-size: 13.5px; color: #555; padding-left: 14px; position: relative; line-height: 1.8; }
.est-sum__list li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #888; }
.est-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; padding-top: 24px; border-top: 1px solid #ddd3bb; font-size: 15px; font-weight: 700; color: #333; }
.est-sum__total b { font-size: 28px; color: var(--c1); }
.est-next { display: block; width: 100%; margin-top: 26px; padding: 17px; border: 0; border-radius: 30px; background: var(--c1); color: #fff; font-size: 16px; font-weight: 700; }
.est-next:hover { background: var(--c1d); }
.est-sum__note { margin-top: 16px; font-size: 12.5px; color: var(--mute); line-height: 1.6; }

/* 3단계 */
.est-final-wrap { max-width: 720px; margin: 0 auto; }
.est-final { margin: 0 0 10px; border-top: 1px solid var(--c1); }
.est-final > div { display: flex; gap: 20px; padding: 18px 6px; border-bottom: 1px solid #efe9d9; font-size: 15px; }
.est-final dt { flex: 0 0 160px; color: var(--mute); margin: 0; }
.est-final dd { margin: 0; color: #222; font-weight: 600; word-break: keep-all; }

@media (max-width: 1000px) {
	.est { padding: 28px 0 80px; }
	.est-models { grid-template-columns: repeat(3, 1fr); }
	.est-brands li { width: 16.66%; min-width: 120px; }
	.est-hero, .est-grid { gap: 36px; }
}
@media (max-width: 768px) {
	.est { padding: 22px 0 60px; }
	.est-steps { margin-bottom: 22px; }
	.est-steps li { font-size: 12.5px; height: 46px; padding: 0 10px 0 16px; }
	.est-steps li span { display: none; }
	.est-brands { padding: 18px 8px 20px; gap: 6px 0; }
	.est-brands li { width: 33.33%; }
	.est-brands button { max-width: 104px; height: 88px; font-size: 14px; }
	.est-market button, .est-list__head { font-size: 16px; }
	.est-market button { height: 50px; }
	.est-list__body { padding: 20px 14px 24px; }
	.est-models { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.est-hero, .est-grid { display: block; }
	.est-hero { padding-bottom: 30px; margin-bottom: 30px; }
	.est-hero__img { margin-bottom: 22px; }
	.est-right { margin-top: 36px; }
	.est-final dt { flex-basis: 100px; }
}

/* ---- 3단계: 견적서 (CRM 입력 화면 구성, 우리 톤) ---- */
.est-final-wrap { max-width: 860px; }
.est-doc { background: #fff; border: 1px solid #ead9bf; border-radius: 20px; padding: 30px 32px 32px; }
.est-doc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.est-doc__brand strong { display: block; font-size: 22px; letter-spacing: 3px; color: var(--c1); line-height: 1.1; }
.est-doc__brand span { font-size: 13px; color: var(--mute); }
.est-doc__meta { margin: 0; font-size: 13px; }
.est-doc__meta > div { display: flex; gap: 14px; justify-content: space-between; padding: 2px 0; }
.est-doc__meta dt { color: var(--mute); margin: 0; }
.est-doc__meta dd { margin: 0; color: #222; font-weight: 600; }
.est-doc__ok { display: flex; align-items: center; gap: 10px; padding: 14px 18px; margin-bottom: 22px; background: #f9f4e8; border: 1px solid #ead9bf; border-radius: 12px; color: var(--c1); font-size: 15px; font-weight: 600; }
.est-doc__ok i { font-style: normal; font-size: 16px; font-weight: 700; }
.est-doc__label { margin: 22px 0 10px; font-size: 13px; font-weight: 700; color: #b9833f; letter-spacing: .5px; }
.est-doc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.est-doc__span { grid-column: 1 / -1; }
.est-doc__card { background: #fffdf9; border: 1px solid #ead9bf; border-left: 4px solid #e3c79c; border-radius: 14px; padding: 14px 16px 16px; }
.est-doc__lb { font-size: 14px; font-weight: 700; color: #3a2a10; margin-bottom: 10px; }
.est-doc__v { padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; color: #222; line-height: 1.5; word-break: keep-all; min-height: 48px; box-sizing: border-box; display: flex; align-items: center; }
.est-doc__card--car { display: flex; align-items: center; gap: 24px; padding: 18px 20px; }
.est-doc__img { flex: 0 0 210px; }
.est-doc__img img { display: block; width: 100%; height: auto; }
.est-doc__carinfo span { font-size: 14px; color: #b9833f; font-weight: 700; }
.est-doc__carinfo h4 { margin: 4px 0 8px; font-size: 26px; font-weight: 700; color: #222; }
.est-doc__carinfo p { margin: 0; font-size: 15px; color: #555; line-height: 1.5; word-break: keep-all; }
.est-doc__opts { list-style: none; margin: 0; padding: 0; width: 100%; }
.est-doc__opts li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 15px; }
.est-doc__opts li + li { border-top: 1px dashed #e6dcc6; }
.est-doc__opts b { white-space: nowrap; color: var(--c1); font-weight: 700; }
.est-doc__total { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; background: #f9f4e8; border-left-color: var(--c1); padding: 20px 24px; }
.est-doc__total .est-doc__lb { margin: 0; font-size: 16px; }
.est-doc__sum { font-size: 32px; font-weight: 700; color: var(--c1); }
.est-doc__sum em { font-style: normal; font-size: 17px; margin-left: 4px; font-weight: 600; }
.est-doc__guide { margin: 18px 0 14px; text-align: center; color: var(--mute); font-size: 14px; line-height: 1.6; }
@media (max-width: 768px) {
	.est-doc { padding: 20px 16px 22px; border-radius: 16px; }
	.est-doc__head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.est-doc__grid { grid-template-columns: 1fr; }
	.est-doc__card--car { flex-direction: column; text-align: center; }
	.est-doc__img { flex-basis: auto; width: 70%; }
	.est-doc__sum { font-size: 24px; }
}
#estApply { padding: 24px 20px; font-size: 21px; letter-spacing: -.3px; border-radius: 40px; box-shadow: 0 8px 20px rgba(108,70,12,.25); }
@media (max-width: 768px) { #estApply { padding: 20px 16px; font-size: 18px; } }

/* 간편견적 신청 팝업 */
.counseling-modal.is-est .counseling-modal__bg { background: rgba(30,20,8,.55); }
.counseling-modal.is-est .counseling-modal__inner { width: 560px; max-width: calc(100% - 32px); }
.counseling-modal.is-est .counseling-modal__close { top: 26px; right: 26px; z-index: 2; }
.counseling-modal.is-est .counseling-modal__close svg path { fill: #222; }
.counseling-modal.is-est .fixed-banner-form { padding: 36px 36px 34px; border-radius: 22px; background: #fff; font-family: 'Pretendard','PretendardLocal',sans-serif; }
.counseling-modal.is-est .fixed-banner-form > h5 { margin: 0 0 26px; padding: 0; background: none; color: #111; font-size: 24px; font-weight: 700; text-align: center; }
.counseling-modal.is-est .fixed-banner-form-list { display: block; }
.counseling-modal.is-est .fixed-banner-form-list li { margin: 0 0 12px; }
.counseling-modal.is-est .fixed-banner-form-list input { width: 100%; box-sizing: border-box; height: 54px; padding: 0 18px; border: 1px solid #ddd6c8; border-radius: 10px; background: #fff; font-size: 16px; }
.counseling-modal.is-est .fixed-banner-form-list input:focus { outline: none; border-color: #6c460c; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap { margin-top: 22px; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > h5 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > h5 { flex: 0 0 100%; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > div { flex: 1; position: relative; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap input { position: absolute; opacity: 0; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap label { display: block; padding: 14px 0; text-align: center; background: #f6f3ec; border: 1px solid transparent; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap input:checked + label { background: #fff; border-color: #6c460c; color: #6c460c; }
.counseling-modal.is-est .fixed-banner-form_agree-wrap { margin-top: 22px; font-size: 15px; }
.counseling-modal.is-est .fixed-banner-form__btn { display: block; width: 100%; height: 58px; margin-top: 22px; border: 0; border-radius: 10px; background: #6c460c; color: #fff; font-size: 18px; font-weight: 700; }
.counseling-modal.is-est .fixed-banner-form__btn:hover { background: #4f3208; }
.counseling-modal.is-est .fixed-banner-form { padding: 0; }
.counseling-modal.is-est .fixed-banner-form__inner { padding: 8px 36px 34px; gap: 0; }
.counseling-modal.is-est .fixed-banner-form.fixed-banner-form > h5 { display: block; padding: 0; margin: 0; background: none; color: #111; text-align: center; font-size: 24px; padding: 34px 0 24px; }
.counseling-modal.is-est .fixed-banner-form-list > li > input { min-width: 0; font-size: 16px; color: #222; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > div { display: block; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > div > label { width: 100%; box-sizing: border-box; color: #333; font-size: 16px; line-height: 1.4; }
.counseling-modal.is-est .fixed-banner-form__radie-wrap > div > input:checked + label { color: #6c460c; }
.counseling-modal.is-est .fixed-banner-form_agree-wrap > label,
.counseling-modal.is-est .fixed-banner-form_agree-wrap > a.openPolicyPop { font-size: 14px; color: #555; }
.counseling-modal.is-est .fixed-banner-form_agree-wrap input { width: 18px; height: 18px; accent-color: #6c460c; }
.counseling-modal.is-est .fixed-banner-form__btn { background: #6c460c; color: #fff; border: 0; height: 58px; font-size: 18px; margin-top: 24px; align-self: auto; }
