/* Pro Finish – Email Cart */

/* ── Trigger-knop ─────────────────────────────────────────────────────────── */

.pf-email-trigger {
	display: block;
	width: 100%;
	margin-top: 0.75em;
	padding: 0;
	background: none;
	border: none;
	color: #1a1a1a;
	font-size: 0.85em;
	text-align: center;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.15s;
}

.pf-email-trigger:hover {
	opacity: 0.65;
}

/* ── Modal overlay ────────────────────────────────────────────────────────── */

.pf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 1rem;
	box-sizing: border-box;
}

.pf-modal-overlay[hidden] {
	display: none;
}

body.pf-modal-open {
	overflow: hidden;
}

/* ── Modal venster ────────────────────────────────────────────────────────── */

.pf-modal {
	position: relative;
	background: #fff;
	border-radius: 6px;
	padding: 2rem;
	width: 100%;
	max-width: 440px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.pf-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	transition: color 0.15s;
}

.pf-modal__close:hover {
	color: #1a1a1a;
}

.pf-modal__title {
	margin: 0 0 0.4em;
	font-size: 1.15em;
}

.pf-modal__desc {
	margin: 0 0 1.25em;
	color: #666;
	font-size: 0.9em;
	line-height: 1.55;
}

/* ── Formulierveld ────────────────────────────────────────────────────────── */

.pf-modal__field {
	margin-bottom: 1em;
}

.pf-modal__field label {
	display: block;
	margin-bottom: 0.35em;
	font-size: 0.9em;
	font-weight: 600;
}

.pf-modal__field input[type="email"] {
	width: 100%;
	padding: 0.65em 0.8em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.pf-modal__field input[type="email"]:focus {
	border-color: #1a1a1a;
	outline: none;
}

/* ── Verstuurknop erft stijl van het thema via de WooCommerce-classes ─────── */

.pf-modal__submit {
	width: 100%;
}

.pf-modal .pf-modal__privacy {
	margin: 1.5em 0 0;
	font-size: 11px !important;
	color: #bbb !important;
	line-height: 1.5;
	text-align: center;
}

.pf-modal .pf-modal__privacy-icon {
	display: inline;
	width: 11px;
	height: 11px;
	color: #ccc;
	vertical-align: middle;
	position: relative;
	top: -1px;
	margin-right: 2px;
}

.pf-modal .pf-modal__privacy a {
	color: #bbb !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ── Feedback-berichten ───────────────────────────────────────────────────── */

#pf-email-cart-msg {
	margin-top: 0.85em;
	padding: 0.65em 0.85em;
	border-radius: 3px;
	font-size: 0.88em;
	line-height: 1.5;
	display: none;
}

#pf-email-cart-msg:not(:empty) {
	display: block;
}

#pf-email-cart-msg.pf-email-cart__msg--success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#pf-email-cart-msg.pf-email-cart__msg--error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
