/* 딜레이 사이드 팝업 (PC: 우측 풀 높이 슬라이드인 / 모바일: 하단 슬라이드업) */

.vz-delay-popup {
	position: fixed;
	z-index: 2147483641;
	background: #ffffff;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
	display: none;
	overflow: hidden;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* PC: 우측 끝에 풀 높이로 부착, 슬라이드인 */
@media (min-width: 769px) {
	.vz-delay-popup {
		top: 0;
		bottom: 0;
		right: -440px;
		width: 420px;
		height: 100vh;
		transform: none;
		transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
		border-radius: 0;
		display: flex;
		flex-direction: column;
	}
	.vz-delay-popup.is-visible {
		right: 0;
	}
}

/* 모바일: 하단에 부착, 슬라이드업 */
@media (max-width: 768px) {
	.vz-delay-popup {
		bottom: -100%;
		left: 0;
		right: 0;
		width: 100%;
		max-height: 85vh;
		transition: bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
		border-radius: 16px 16px 0 0;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
		display: flex;
		flex-direction: column;
	}
	.vz-delay-popup.is-visible {
		bottom: 0;
	}
}

.vz-delay-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: none;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: #1a1a1a;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.vz-delay-popup__close:hover {
	background: #ffffff;
	transform: scale(1.05);
}

.vz-delay-popup__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 56px 32px 24px;
	min-height: 0;
}

.vz-delay-popup__title {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 800;
	color: #111111;
	line-height: 1.25;
	letter-spacing: -0.02em;
	word-break: keep-all;
}

.vz-delay-popup__sub {
	margin: 0 0 24px;
	font-size: 15px;
	color: #555555;
	line-height: 1.6;
	word-break: keep-all;
}

.vz-delay-popup__image-wrap {
	margin: 0 -32px 28px;
	background: #f4f4f4;
}

.vz-delay-popup__image {
	width: 100%;
	display: block;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.vz-delay-popup__btn-wrap {
	flex: 0 0 auto;
	width: 100%;
}

.vz-delay-popup__btn {
	display: block;
	width: 100%;
	padding: 18px 24px;
	background: #111111;
	color: #ffffff;
	text-decoration: none;
	border-radius: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	transition: background 0.2s;
	cursor: pointer;
	box-sizing: border-box;
}
.vz-delay-popup__btn:hover,
.vz-delay-popup__btn:focus {
	background: #333333;
	color: #ffffff;
	text-decoration: none;
}

@media (max-width: 768px) {
	.vz-delay-popup__body {
		padding: 48px 24px 24px;
	}
	.vz-delay-popup__title {
		font-size: 22px;
	}
	.vz-delay-popup__sub {
		font-size: 14px;
	}
	.vz-delay-popup__image-wrap {
		margin: 0 -24px 22px;
	}
	.vz-delay-popup__image {
		max-height: 300px;
	}
	.vz-delay-popup__btn {
		padding: 16px 20px;
		font-size: 15px;
	}
}
