.wephar-hotline-popup {
	--wephar-hotline-popup-width: 796px;
	--wephar-hotline-popup-height: 318px;
	--wephar-hotline-popup-radius: 16px;

	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wephar-hotline-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.wephar-hotline-popup-open {
	overflow: hidden;
}

.wephar-hotline-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.wephar-hotline-popup__dialog {
	position: relative;
	display: flex;
	width: min(100%, var(--wephar-hotline-popup-width));
	height: min(var(--wephar-hotline-popup-height), calc(100vh - 48px));
	background: #fff;
	border-radius: var(--wephar-hotline-popup-radius);
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.25s ease;
}

.wephar-hotline-popup.is-open .wephar-hotline-popup__dialog {
	transform: translateY(0) scale(1);
}

.wephar-hotline-popup__content {
	flex: 0 0 65%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 32px 40px;
	text-align: center;
}

.wephar-hotline-popup__title {
	margin: 0;
	color: #1e293b;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.wephar-hotline-popup__description {
	margin: 0;
	max-width: 22rem;
	color: #64748b;
	font-size: 0.875rem;
	line-height: 1.5;
}

.wephar-hotline-popup__hotline-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 220px;
	padding: 14px 28px;
	border: 1px solid #b8efe2;
	border-radius: 12px;
	background: rgba(232, 252, 246, 0.65);
}

.wephar-hotline-popup__hotline-label {
	color: #334155;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.wephar-hotline-popup__number-link {
	text-decoration: none;
}

.wephar-hotline-popup__number {
	display: inline-block;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	background: linear-gradient(270deg, #17e4a1 5.97%, #006ffa 93.16%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.wephar-hotline-popup__media {
	position: relative;
	flex: 0 0 35%;
	height: 100%;
}

.wephar-hotline-popup__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.wephar-hotline-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wephar-hotline-popup__close:hover,
.wephar-hotline-popup__close:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	outline: none;
}

@media (max-width: 767px) {
	.wephar-hotline-popup {
		display: none;
	}
}
