/* Vavoom Experience — 체험단 코드 버튼 + 신청 창. 글꼴은 사이트 테마를 그대로 받는다(font-family 지정 안 함). */

.vexp-wrap {
	margin: 0;
	width: 100%;
	text-align: center;
}

.vexp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 53px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: #18293d;
	color: #fff;
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -0.3px;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.vexp-btn:hover {
	background: #223754;
}

.vexp-btn.is-off,
.vexp-btn:disabled {
	background: #ebebeb;
	color: #8a8f98;
	cursor: default;
}

.vexp-period {
	margin: 8px 0 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.4;
}

/* ---------- 창 ---------- */

html.vexp-lock,
html.vexp-lock body {
	overflow: hidden;
}

.vexp-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	background: rgba(17, 24, 39, 0.5);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.vexp-modal.is-in {
	opacity: 1;
}

.vexp-modal *,
.vexp-modal *::before,
.vexp-modal *::after {
	box-sizing: border-box;
}

.vexp-panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	border-radius: 16px;
	background: #fff;
	color: #18293d;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transform: translateY(12px);
	transition: transform 0.2s ease;
}

.vexp-modal.is-in .vexp-panel {
	transform: none;
}

.vexp-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 20px 14px;
	border-bottom: 1px solid #ebebeb;
}

.vexp-head-text {
	flex: 1;
	min-width: 0;
}

.vexp-eyebrow {
	margin: 0 0 4px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
}

.vexp-modal h2#vexp-title {
	margin: 0 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.5px !important;
}

.vexp-title {
	margin: 0;
	color: #18293d;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.5px;
	word-break: keep-all;
}

.vexp-sub {
	margin: 6px 0 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.45;
}

.vexp-x {
	flex: none;
	width: 36px;
	height: 36px;
	margin: -6px -8px 0 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #18293d;
	font-size: 0;
	cursor: pointer;
	position: relative;
}

.vexp-x::before,
.vexp-x::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.vexp-x::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.vexp-x::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.vexp-x:hover {
	background: #f7f7f7;
}

.vexp-body {
	flex: 1;
	padding: 18px 20px 4px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.vexp-foot {
	padding: 12px 20px 20px;
	border-top: 1px solid #ebebeb;
	background: #fff;
}

/* 신청자 정보 */
.vexp-me {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: 11px;
	background: #f7f7f7;
}

.vexp-me-title {
	margin: 0 0 8px;
	color: #18293d;
	font-size: 15px;
	font-weight: 700;
}

.vexp-me dl {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 6px 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}

.vexp-me dt {
	margin: 0;
	color: #6b7280;
}

.vexp-me dd {
	margin: 0;
	font-size: 15px;
	color: #18293d;
	font-weight: 600;
	word-break: break-all;
}

.vexp-me-note {
	margin: 10px 0 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.45;
}

.vexp-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #e3e9f1;
	color: #18293d;
	font-size: 11.5px;
	font-weight: 600;
	vertical-align: 1px;
}

/* 질문 */
.vexp-q {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.vexp-q-label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: #18293d;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	word-break: keep-all;
}

.vexp-req {
	margin-left: 3px;
	color: #ed2e1b;
}

.vexp-q-help {
	margin: -4px 0 8px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.45;
}

.vexp-modal input[type="text"],
.vexp-modal textarea {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #ced4da;
	border-radius: 11px;
	background: #fff;
	color: #18293d;
	font: inherit;
	font-size: 16px; /* 16px 미만이면 아이폰이 입력칸을 누를 때 화면을 확대한다 */
	line-height: 1.5;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.vexp-modal textarea {
	height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.vexp-modal input[type="text"]:focus,
.vexp-modal textarea:focus {
	border-color: #18293d;
	outline: none;
}

.vexp-count {
	margin: 4px 2px 0;
	color: #9ca3af;
	font-size: 14px;
	text-align: right;
}

.vexp-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vexp-opt {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.vexp-opt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.vexp-opt span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #ced4da;
	border-radius: 10px;
	background: #fff;
	color: #18293d;
	font-size: 15px;
	line-height: 1.35;
	word-break: keep-all;
}

.vexp-opt input:checked + span {
	border-color: #18293d;
	background: #18293d;
	color: #fff;
	font-weight: 600;
}

.vexp-opt input:focus-visible + span {
	outline: 2px solid #18293d;
	outline-offset: 2px;
}

.vexp-q.is-error input[type="text"],
.vexp-q.is-error textarea,
.vexp-q.is-error .vexp-opt span {
	border-color: #ed2e1b;
}

.vexp-err {
	margin: 6px 2px 0;
	color: #ed2e1b;
	font-size: 14px;
	line-height: 1.4;
}

/* 개인정보 안내 */
.vexp-consent {
	margin: 4px 0 16px;
}

.vexp-consent-text {
	margin: 0 0 10px;
	padding: 12px 14px;
	max-height: 160px;
	overflow-y: auto;
	border: 1px solid #ebebeb;
	border-radius: 11px;
	background: #f7f7f7;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.6;
	white-space: pre-line;
	word-break: keep-all;
}

.vexp-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	color: #18293d;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
}

.vexp-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #18293d;
}

.vexp-consent.is-error .vexp-check {
	color: #ed2e1b;
}

/* 버튼 */
.vexp-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 53px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: #18293d;
	color: #fff;
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -0.3px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	text-decoration: none;
}

/* 링크 버튼(로그인·회원가입·마이페이지) — Breakdance 전역 `.breakdance a { color: 링크색 }` 이 같은 우선순위로 뒤에 와서
   글자색을 남색(배경과 같은 색)으로 덮던 것(1.0.4) → 창 안에서만 !important 로 고정. */
.vexp-modal a.vexp-submit,
.vexp-modal a.vexp-submit:hover,
.vexp-modal a.vexp-submit:focus,
.vexp-modal a.vexp-submit:visited {
	color: #fff !important;
	text-decoration: none !important;
}

.vexp-modal a.vexp-submit.is-line,
.vexp-modal a.vexp-submit.is-line:hover,
.vexp-modal a.vexp-submit.is-line:focus,
.vexp-modal a.vexp-submit.is-line:visited {
	color: #18293d !important;
}

.vexp-submit:disabled {
	background: #9aa3ae;
	cursor: default;
}

.vexp-submit.is-line,
a.vexp-submit.is-line {
	border: 1px solid #ced4da;
	background: #fff;
	color: #18293d;
}

.vexp-row-btns {
	display: flex;
	gap: 8px;
}

.vexp-row-btns > * {
	flex: 1;
}

.vexp-form-err {
	margin: 0 0 10px;
	color: #ed2e1b;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

/* 상태 안내(로그인·마감·완료) */
.vexp-state {
	padding: 18px 4px 22px;
	text-align: center;
}

.vexp-state-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #f7f7f7;
	color: #18293d;
}

.vexp-state-icon.is-done {
	background: #18293d;
	color: #fff;
}

.vexp-state-icon svg {
	width: 26px;
	height: 26px;
}

.vexp-state-title {
	margin: 0 0 6px;
	color: #18293d;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	word-break: keep-all;
}

.vexp-state-text {
	margin: 0;
	color: #4b5563;
	font-size: 15px;
	line-height: 1.55;
	word-break: keep-all;
}

.vexp-loading {
	padding: 40px 0;
	text-align: center;
}

.vexp-spin {
	display: inline-block;
	width: 28px;
	height: 28px;
	border: 3px solid #ebebeb;
	border-top-color: #18293d;
	border-radius: 50%;
	animation: vexp-spin 0.8s linear infinite;
}

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

/* PC — 본문 칸 안 바닥 시트(보증 수리 안내 팝업과 같은 자리·크기) */
@media (min-width: 641px) {
	.vexp-modal {
		right: auto;
		left: var(--va-left, 0px);
		width: var(--va-main-width, 100%);
		align-items: flex-end;
		padding: 0;
	}

	.vexp-panel {
		max-width: none;
		height: 95%;
		max-height: none;
		border-radius: 16px 16px 0 0;
		box-shadow: none;
		transform: translateY(100%);
		transition: transform 0.24s ease;
	}

	.vexp-body {
		display: flex;
		flex-direction: column;
	}

	.vexp-body > * {
		flex-shrink: 0;
	}

	.vexp-body > .vexp-state,
	.vexp-body > .vexp-loading {
		margin-top: auto;
		margin-bottom: auto;
	}
}

/* 휴대폰 — 아래에서 올라오는 시트 */
@media (max-width: 640px) {
	.vexp-modal {
		align-items: flex-end;
		padding: 0;
	}

	.vexp-panel {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		transition: transform 0.24s ease;
	}

	.vexp-foot {
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	}

	.vexp-head {
		padding: 18px 16px 12px;
	}

	.vexp-body {
		padding: 16px 16px 4px;
	}

	.vexp-foot {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vexp-modal,
	.vexp-panel {
		transition: none;
	}
}
