/* Brochure lightbox – woningenoverzicht */

html.cds-brochure-lightbox-open {
	overflow: hidden;
}

.cds-brochure-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.cds-brochure-lightbox[hidden] {
	display: none !important;
}

.cds-brochure-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.cds-brochure-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	max-height: min(92vh, 720px);
	overflow: auto;
	padding: 2rem 1.75rem 1.75rem;
	background: var(--background, #fff);
	border-radius: 4px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.cds-brochure-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 40px;
	height: 40px;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--muted-foreground, #666);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.cds-brochure-lightbox__close:hover {
	color: var(--foreground, #111);
}

.cds-brochure-lightbox__label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary, #7a1f2e);
}

.cds-brochure-lightbox__label-line {
	display: block;
	width: 32px;
	height: 1px;
	background: currentColor;
}

.cds-brochure-lightbox__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	line-height: 1.25;
	color: var(--foreground, #111);
}

.cds-brochure-lightbox__text {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--muted-foreground, #666);
}

.cds-brochure-lightbox__note {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--muted-foreground, #666);
}

/* GF in brochure lightbox */
.cds-brochure-lightbox__form .gform_wrapper,
.cds-brochure-lightbox #gform_wrapper_4 {
	margin: 0 !important;
}

.cds-brochure-lightbox__form .gform_heading,
.cds-brochure-lightbox__form .gform_description,
.cds-brochure-lightbox__form .gform_required_legend,
.cds-brochure-lightbox #gform_wrapper_4 .gform_heading,
.cds-brochure-lightbox #gform_wrapper_4 .gform_description,
.cds-brochure-lightbox #gform_wrapper_4 .gform_required_legend {
	display: none !important;
}

.cds-brochure-lightbox__form .gform_fields,
.cds-brochure-lightbox #gform_wrapper_4 .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 1rem !important;
}

@media (min-width: 480px) {
	.cds-brochure-lightbox__form .gform_fields,
	.cds-brochure-lightbox #gform_wrapper_4 .gform_fields {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

.cds-brochure-lightbox__form .gfield,
.cds-brochure-lightbox #gform_wrapper_4 .gfield {
	margin: 0 !important;
	padding: 0 !important;
}

.cds-brochure-lightbox__form .gfield--width-half,
.cds-brochure-lightbox__form .gfield--width-full,
.cds-brochure-lightbox #gform_wrapper_4 .gfield--width-half,
.cds-brochure-lightbox #gform_wrapper_4 .gfield--width-full {
	grid-column: auto !important;
	width: 100% !important;
	max-width: none !important;
}

.cds-brochure-lightbox__form .gfield_label,
.cds-brochure-lightbox__form .gform-field-label,
.cds-brochure-lightbox #gform_wrapper_4 .gfield_label,
.cds-brochure-lightbox #gform_wrapper_4 .gform-field-label {
	display: block !important;
	margin: 0 0 0.375rem !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	color: var(--foreground) !important;
}

.cds-brochure-lightbox__form input[type='text'],
.cds-brochure-lightbox__form input[type='email'],
.cds-brochure-lightbox__form input[type='tel'],
.cds-brochure-lightbox__form textarea,
.cds-brochure-lightbox__form select,
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container input[type='text'],
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container input[type='email'],
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container input[type='tel'],
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container textarea,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework .gfield input.large,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework .gfield input.medium,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework .gfield input.small {
	width: 100% !important;
	padding: 0.625rem 0 !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: var(--foreground) !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid var(--border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.cds-brochure-lightbox__form input::placeholder,
.cds-brochure-lightbox__form textarea::placeholder,
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container input::placeholder,
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container textarea::placeholder {
	color: var(--muted-foreground) !important;
	opacity: 1 !important;
}

.cds-brochure-lightbox__form input:focus,
.cds-brochure-lightbox__form textarea:focus,
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container input:focus,
.cds-brochure-lightbox #gform_wrapper_4 .ginput_container textarea:focus {
	border-bottom-color: var(--foreground) !important;
	outline: none !important;
	box-shadow: none !important;
}

.cds-brochure-lightbox__form .gform_footer,
.cds-brochure-lightbox #gform_wrapper_4 .gform_footer {
	width: 100% !important;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
}

.cds-brochure-lightbox__form input[type='submit'],
.cds-brochure-lightbox__form .gform_button,
.cds-brochure-lightbox__form .gform-button,
.cds-brochure-lightbox #gform_wrapper_4 .gform_button,
.cds-brochure-lightbox #gform_wrapper_4 .gform-button,
.cds-brochure-lightbox #gform_wrapper_4 button.gform-button--width-full,
.cds-brochure-lightbox #gform_wrapper_4 input[type='submit'],
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework button[type='submit'].gform_button,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework input[type='submit'].gform-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 10px 20px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: 0.05em !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	color: var(--primary-foreground) !important;
	background: var(--primary) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
}

.cds-brochure-lightbox__form input[type='submit']:hover,
.cds-brochure-lightbox__form .gform_button:hover,
.cds-brochure-lightbox__form .gform-button:hover,
.cds-brochure-lightbox #gform_wrapper_4 .gform_button:hover,
.cds-brochure-lightbox #gform_wrapper_4 .gform-button:hover,
.cds-brochure-lightbox #gform_wrapper_4 button.gform-button--width-full:hover,
.cds-brochure-lightbox #gform_wrapper_4 input[type='submit']:hover,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework button[type='submit'].gform_button:hover,
.cds-brochure-lightbox #gform_wrapper_4.gform-theme--framework input[type='submit'].gform-button:hover {
	color: var(--primary-foreground) !important;
	background: var(--bordeaux-hover) !important;
	background-image: none !important;
}

.cds-brochure-lightbox__form .gform_button svg,
.cds-brochure-lightbox #gform_wrapper_4 .gform_button svg {
	display: block !important;
	flex-shrink: 0 !important;
	stroke: currentColor !important;
}

.cds-brochure-lightbox__form .gform_confirmation_message,
.cds-brochure-lightbox #gform_wrapper_4 .gform_confirmation_message {
	padding: 0.5rem 0 !important;
	font-size: 0.9375rem !important;
	line-height: 1.5 !important;
}
