/* Elementor Popup Button — frontend styles */

.epb-button-wrap {
	width: 100%;
}

.epb-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	border: none;
	background-color: #6C5CE7;
	color: #ffffff;
	font-family: inherit;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
	-webkit-appearance: none;
	appearance: none;
}

.epb-trigger:focus-visible {
	outline: 2px solid #6C5CE7;
	outline-offset: 2px;
}

/* Default size presets (overridden by width/typography/padding controls when set) */
.epb-trigger.epb-size-xs { padding: 6px 14px; font-size: 12px; }
.epb-trigger.epb-size-sm { padding: 9px 18px; font-size: 13px; }
.epb-trigger.epb-size-md { padding: 12px 24px; font-size: 15px; }
.epb-trigger.epb-size-lg { padding: 15px 30px; font-size: 17px; }
.epb-trigger.epb-size-xl { padding: 18px 38px; font-size: 19px; }

.epb-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Popup overlay */
.epb-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.epb-popup-overlay.epb-active {
	display: flex;
}

.epb-popup-box {
	position: relative;
	background: #ffffff;
	width: 560px;
	max-width: 92%;
	max-height: 88vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 40px;
	box-sizing: border-box;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
	animation: epb-pop-in .18s ease;
}

@keyframes epb-pop-in {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.epb-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: #333333;
	padding: 4px;
}

.epb-popup-close:hover {
	color: #6C5CE7;
}

.epb-popup-heading {
	margin: 0 0 10px 0;
}

.epb-popup-subheading {
	margin: 0 0 20px 0;
}

.epb-popup-content {
	line-height: 1.6;
}

.epb-popup-content img {
	max-width: 100%;
	height: auto;
}

/* Prevent body scroll while a popup is open */
body.epb-no-scroll {
	overflow: hidden;
}
