:root {
	--offerte-popup-bg: rgba(8, 16, 36, 0.78);

	--offerte-popup-panel: linear-gradient(
		145deg,
		#fffaf2 0%,
		#ffffff 40%,
		#edf4ff 100%
	);

	--offerte-popup-accent: #1F4421;
	--offerte-popup-accent-dark: #16371a;

	--offerte-popup-ink: #0b1a2b;        /* donkerder = beter contrast */
	--offerte-popup-muted: #3f4f66;      /* minder licht → beter leesbaar */

	--offerte-popup-border: rgba(19, 34, 56, 0.14); /* iets zichtbaarder */
	--offerte-popup-shadow: 0 32px 80px rgba(7, 18, 38, 0.30);

	--offerte-popup-radius: 28px;
}


body.offerte-popup-open {
	overflow: hidden;
}

button[data-offerte-popup-target="offerte-aanvraag"] {
	background-color: #1F4421 !important;
	color: #A4E75F !important;
	padding: var(--theme-font-button_padding) !important;
    border-radius: 8px !important;
}



button[data-offerte-popup-target="offerte-aanvraag"].full-width {
	width: 100%;
}

.offerte-popup-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 40px;
	border: 0;
	border-radius: 50px;
	font: inherit;
	font-weight: 700;
	line-height: 1.1;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.offerte-popup-trigger:hover,
.offerte-popup-trigger:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
	background: #1F4421;
}

.offerte-popup-trigger--primary {
	color: #A4E75F;
	background: #1F4421;
}

.offerte-popup-trigger--secondary {
	color: var(--offerte-popup-ink);
	background: #fff;
	box-shadow: 0 12px 30px rgba(19, 34, 56, 0.1);
}

.offerte-popup[hidden] {
	display: none;
}

.offerte-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	padding: 24px;
}

.offerte-popup__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(255, 177, 92, 0.22), transparent 28%),
		linear-gradient(180deg, rgba(11, 24, 48, 0.4), var(--offerte-popup-bg));
	backdrop-filter: blur(5px);
}

.offerte-popup__dialog {
	position: relative;
	display: grid;
	width: min(100%, 720px);
	max-height: min(90vh);
	margin: 20px auto;
	overflow: auto;
	border: 1px solid var(--offerte-popup-border);
	border-radius: var(--offerte-popup-radius);
	background: var(--offerte-popup-panel);
	box-shadow: var(--offerte-popup-shadow);
	animation: offerte-popup-rise 220ms ease-out;
	color: var(--offerte-popup-ink);
}

.offerte-popup-modal--wide {
	width: min(100%, 860px);
}

.offerte-popup__hero {
	padding: 34px 34px 16px;
}

.offerte-popup__eyebrow {
	margin: 0 0 8px;
	color: #1F4421;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.offerte-popup__title {
	margin: 0;
	color: var(--offerte-popup-ink);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1;
}

.offerte-popup__subtitle {
	max-width: 46ch;
	margin: 14px 0 0;
	color: var(--offerte-popup-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.offerte-popup__body {
	padding: 0 34px 34px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-col {
  flex: 1;
  min-width: 0;
}

.form-row.full {
  display: block;
}

.form-row input {
  width: 100%;
  box-sizing: border-box;
}


.offerte-popup__form {
	padding: 24px;
	border: 1px solid rgba(19, 34, 56, 0.08);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.offerte-popup__close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: rgba(19, 34, 56, 0.08);
	color: var(--offerte-popup-ink);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.offerte-popup__close span {
	height: 26px;
}

.offerte-popup__close:hover,
.offerte-popup__close:focus-visible {
	background: rgba(19, 34, 56, 0.14);
}

.offerte-popup__status {
	margin-bottom: 18px;
	padding: 16px 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, #ddfce9 0%, #f2fff7 100%);
	color: #13592f;
}

.offerte-popup .wpcf7 form .contactgrid {
	display:flex;
	padding:10px;
}

span.wpcf7-list-item { 
	display: block; 
	margin: 5px 0px;
}


.offerte-popup .wpcf7 form {
	display: grid;
	gap: 14px;
}

.offerte-popup .wpcf7 p {
	margin: 0;
}

.offerte-popup .wpcf7 label {
	
}

.offerte-popup .wpcf7-form-control-wrap {
	display: block;
}

label > input[type="checkbox"]:before {
	border:1px solid var(--offerte-popup-ink) !important;
}

.offerte-popup .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.offerte-popup .wpcf7 select,
.offerte-popup .wpcf7 textarea {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--offerte-popup-ink);
	border-radius: 16px;
	background: #fff;
	color: var(--offerte-popup-ink);
	font: inherit;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.offerte-popup .wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.offerte-popup .wpcf7 input:focus,
.offerte-popup .wpcf7 select:focus,
.offerte-popup .wpcf7 textarea:focus {
	border-color: rgba(239, 108, 47, 0.7);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(239, 108, 47, 0.12);
}

.offerte-popup .wpcf7 input[type="submit"] {
	min-width: 220px;
	padding: 1rem 1.35rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--offerte-popup-accent-dark), var(--offerte-popup-accent));
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.offerte-popup .wpcf7-spinner {
	display: block;
	margin-top: 12px;
}

.offerte-popup .wpcf7-not-valid-tip,
.offerte-popup .wpcf7 form .wpcf7-response-output {
	margin: 8px 0 0;
	color: #b42318;
	font-size: 0.95rem;
	font-weight: 600;
}

.offerte-popup .wpcf7-not-valid {
	border-color: rgba(180, 35, 24, 0.7) !important;
	box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1) !important;
}

@keyframes offerte-popup-rise {
	from {
		transform: translateY(20px) scale(0.98);
		opacity: 0;
	}

	to {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
}

@media (max-width: 767px) {
	.offerte-popup {
		padding: 12px;
	}

	.offerte-popup__dialog {
		max-height: 94vh;
		border-radius: 22px;
	}

	.offerte-popup__hero,
	.offerte-popup__body {
		padding-left: 20px;
		padding-right: 20px;
	}

	.offerte-popup__hero {
		padding-top: 24px;
	}

	.offerte-popup__body {
		padding-bottom: 20px;
	}

	.offerte-popup__form {
		padding: 18px;
		border-radius: 18px;
	}

	.offerte-popup .wpcf7 input[type="submit"] {
		width: 100%;
	}
}
