.epe-trigger-wrap {
	margin: 10px 0;
	text-align: left; /* overridden inline by the widget's alignment control */
	line-height: 0;   /* prevents extra vertical whitespace/box around the button */
}

.epe-open-btn,
a.epe-open-btn {
	all: unset;              /* strip any inherited theme/browser button styling */
	box-sizing: border-box;
	display: inline-block;
	background: #2A378B;
	color: #fff;
	border: none;
	outline: none;
	box-shadow: none;
	padding: 12px 26px;
	font-size: 15px;
	font-family: inherit;
	line-height: normal;
	border-radius: 6px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	transition: opacity .15s ease;
}
.epe-open-btn:hover,
.epe-open-btn:focus,
.epe-open-btn:active,
a.epe-open-btn:hover,
a.epe-open-btn:focus,
a.epe-open-btn:active {
	opacity: .9;
	color: #fff;
	outline: none;
	box-shadow: none;
}
.epe-open-btn span { pointer-events: none; }

.epe-popup-logo-wrap { text-align: center; margin-bottom: 18px; }
.epe-popup-logo { max-width: 100%; height: auto; }

.epe-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.epe-popup-box {
	background: #fff;
	width: 100%;
	max-width: 380px;
	border-radius: 10px;
	padding: 28px 26px 24px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.25);
	animation: epe-pop-in .18s ease;
}

@keyframes epe-pop-in {
	from { transform: scale(.95); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

.epe-popup-title {
	text-align: center;
	color: #2A378B;
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 700;
}

.epe-field-row { margin-bottom: 14px; }

.epe-field-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #333;
}

.epe-input,
.epe-field-row textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.epe-field-row textarea { min-height: 80px; resize: vertical; }

.epe-submit-btn {
	width: 100%;
	background: #2A378B;
	color: #fff;
	border: none;
	padding: 12px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 6px;
}

.epe-close-btn {
	width: 100%;
	background: #e0533d;
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 10px;
}

.epe-form-message {
	text-align: center;
	padding: 8px;
	border-radius: 6px;
	margin-bottom: 10px;
	font-size: 14px;
}
.epe-form-message.success { background: #e6f4ea; color: #1e7e34; }
.epe-form-message.error   { background: #fdecea; color: #c0392b; }

.epe-submit-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* --- WooCommerce single-product "Enquire Now" button (auto-injected) --- */
.epe-product-enquire { margin: 20px 0 8px; }
.epe-product-btn, a.epe-product-btn {
	background: #2A378B !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .4px;
	text-transform: uppercase;
	padding: 15px 40px !important;
	border-radius: 40px !important;
}
.epe-product-btn:hover, a.epe-product-btn:hover { opacity: .88 !important; color:#fff !important; }

/* --- top-right close icon (replaces bottom Cancel button) --- */
.epe-popup-box { position: relative; }
.epe-close-x {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 34px;
	text-align: center;
	color: #999;
	cursor: pointer;
	border-radius: 50%;
	transition: color .15s, background .15s;
	z-index: 3;
}
.epe-close-x:hover { color: #111; background: #f2f2f2; }
/* submit button: perfectly centered text, full width */
.epe-submit-btn, .epe-popup-box button.epe-submit-btn {
	display: flex !important;
	align-items: center;
	justify-content: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 13px 20px !important;
	text-align: center !important;
	text-transform: uppercase;
	letter-spacing: .5px;
}
