@charset "utf-8";
/* 사업영역 문의 오버레이 — Figma 01_Components "08 Overlay · Contact Experts"(Drawer_Form 560px) · "09 Overlay · 견적 문의"(Quote/Modal 720px)
   마크업: kr/include/business_templates/inquiry_overlay.php, 동작: js/wz_inquiry.js */
.wzq {
	--wzq-yellow: #ffbc15; --wzq-navy: #15233d; --wzq-black: #000; --wzq-strong: #333; --wzq-body: #555; --wzq-muted: #9aa0a6; --wzq-line: #e1e4ec;
	position: fixed; inset: 0; z-index: 10050; font-family: "Pretendard", var(--font-family2), sans-serif; letter-spacing: -0.02em; color: var(--wzq-body);
}
.wzq[hidden], .wzq [hidden] { display: none !important; }
.wzq * { box-sizing: border-box; }
.wzq-dim { position: absolute; inset: 0; background: rgba(8, 13, 26, .55); opacity: 0; transition: opacity .25s ease; }
.wzq.is-open .wzq-dim { opacity: 1; }
html.wzq-lock, html.wzq-lock body { overflow: hidden; }

/* 패널 — 오른쪽에서 열림 */
.wzq-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 560px; max-width: 100%; background: #fff; box-shadow: -16px 0 24px rgba(13, 20, 38, .3);
	overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .3s ease; }
.wzq.is-open .wzq-drawer { transform: none; }
.wzq-drawer .wzq-form { display: flex; flex-direction: column; gap: 22px; min-height: 100%; padding: 48px 40px 40px; }

/* 견적 창 — 가운데 */
.wzq-modal { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; overscroll-behavior: contain; pointer-events: none; }
.wzq-modal .wzq-form { position: relative; display: flex; flex-direction: column; gap: 20px; width: 720px; max-width: 100%; margin: auto 0; padding: 40px 48px; border-radius: 16px; background: #fff;
	pointer-events: auto; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.wzq.is-open .wzq-modal .wzq-form { opacity: 1; transform: none; }

/* 머리 */
.wzq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wzq-head.is-center { align-items: center; }
.wzq-head-txt { display: flex; flex-direction: column; gap: 8px; }
.wzq-eyebrow { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wzq-yellow); }
.wzq-tit { margin: 0; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--wzq-black); word-break: keep-all; }
.wzq-close { flex: none; display: block; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.wzq-close.is-sm { width: 24px; height: 24px; }
.wzq-close img { display: block; width: 100%; height: 100%; }
.wzq-desc { margin: 0; font-size: 16px; line-height: 26px; color: var(--wzq-body); word-break: keep-all; }

/* 견적 창 배너(선택한 모델·솔루션) */
.wzq-product { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px 16px; border-radius: 12px;
	background: #0d1426 center / cover no-repeat; color: #fff; text-align: center; overflow: hidden; }
.wzq-product::before { content: ""; position: absolute; inset: 0; background: rgba(8, 13, 26, .55); }
.wzq-product > * { position: relative; }
.wzq-product-name { font-size: 24px; font-weight: 700; line-height: 34px; word-break: keep-all; }
.wzq-product-sub { font-size: 14px; line-height: 22px; word-break: keep-all; }
.wzq-product-sub:empty { display: none; }

/* 입력 칸 — .wzq 를 붙여 사이트 기본 리셋(default.css input[type=text]…{border-radius:0; padding:0})보다 우선 */
.wzq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wzq-fields.is-quote { gap: 16px; }
.wzq-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.wzq-field.is-wide { grid-column: 1 / -1; }
.wzq-label { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wzq-strong); }
.wzq .wzq-input { display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--wzq-line); border-radius: 8px; background: #fff;
	font: inherit; font-size: 16px; line-height: 26px; letter-spacing: inherit; color: var(--wzq-black); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s; }
.wzq-input::placeholder { color: var(--wzq-muted); opacity: 1; }
.wzq .wzq-input:focus { border-color: var(--wzq-navy); }
.wzq .wzq-input.is-invalid { border-color: #e5484d; }
.wzq .wzq-textarea { height: 104px; padding-top: 14px; padding-bottom: 14px; resize: vertical; }
.wzq-select { position: relative; display: block; }
.wzq .wzq-select .wzq-input { padding-right: 48px; cursor: pointer; }
.wzq-select .wzq-input:invalid, .wzq-select .wzq-input.is-empty { color: var(--wzq-muted); }
.wzq-select img { position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; margin-top: -10px; pointer-events: none; }

/* 동의 */
.wzq-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; padding-top: 4px; }
.wzq-check { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 22px; color: var(--wzq-body); cursor: pointer; }
.wzq-check.is-full { flex-basis: 100%; }
.wzq-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wzq-box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--wzq-line); border-radius: 4px; background: #fff center / 12px no-repeat; transition: background-color .15s, border-color .15s; }
.wzq-check input:checked + .wzq-box { border-color: var(--wzq-navy); background-color: var(--wzq-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wzq-check input:focus-visible + .wzq-box { outline: 2px solid var(--wzq-yellow); outline-offset: 2px; }
.wzq-check.is-invalid .wzq-box { border-color: #e5484d; }
.wzq-privacy { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wzq-navy); text-decoration: none; }
.wzq-privacy:hover { text-decoration: underline; }

/* 버튼·안내 */
.wzq-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; padding: 0 24px; border: 0; border-radius: 100px; background: var(--wzq-yellow);
	font: inherit; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: inherit; color: var(--wzq-navy); cursor: pointer; transition: filter .15s; }
.wzq-submit.is-lg { height: 60px; }
.wzq-submit:hover { filter: brightness(.96); }
.wzq-submit[disabled] { opacity: .6; cursor: progress; }
.wzq-error { margin: -8px 0 0; font-size: 14px; line-height: 22px; color: #e5484d; }
.wzq-note { margin: 0; font-size: 14px; line-height: 22px; color: var(--wzq-muted); word-break: keep-all; }
.wzq-info { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wzq-info li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22px; color: var(--wzq-muted); }
.wzq-info img, .wzq-brochure img { flex: none; display: block; }
.wzq-brochure { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 16px; font-weight: 600; line-height: 22px; color: var(--wzq-navy); text-decoration: none; }
.wzq-brochure:hover { text-decoration: underline; }

/* 접수 완료 */
.wzq-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; flex: 1; padding: 48px 0; text-align: center; }
.wzq-done-tit { margin: 0; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--wzq-black); }
.wzq-done .wzq-submit { max-width: 320px; margin-top: 16px; }

/* 모바일: 패널은 아래에서 올라오는 전체 화면 시트, 견적 창은 화면 가득 */
@media (max-width: 800px) {
	.wzq-drawer { top: auto; height: 100%; width: 100%; transform: translateY(100%); box-shadow: none; }
	.wzq-drawer .wzq-form { gap: 18px; padding: 28px 20px 32px; }
	.wzq-modal { padding: 0; pointer-events: auto; -webkit-overflow-scrolling: touch; } /* 모바일은 창이 화면 가득이라 바깥 클릭 영역이 없음 — pointer-events:none 이면 iOS에서 창 스크롤이 안 됨 */
	.wzq-modal .wzq-form { width: 100%; min-height: 100%; margin: 0; padding: 28px 20px 32px; border-radius: 0; gap: 18px; }
	.wzq-fields, .wzq-fields.is-quote { grid-template-columns: 1fr; gap: 14px; }
	.wzq-fields.is-quote { grid-template-columns: 1fr 1fr; gap: 14px 12px; } /* 견적 문의는 모바일에서도 2단(회사명·이름 / 부서·연락처 / 이메일·수량), 시기·문의 내용은 전체 폭 */
	.wzq-tit { font-size: 22px; line-height: 30px; }
	.wzq-product-name { font-size: 20px; line-height: 28px; }
	.wzq-submit { font-size: 18px; }
}
