/*
 * VDM Natuursteen. Colours and fonts come from the Elementor Global Colors and
 * Global Fonts, so changing them in the kit changes the configurator as well.
 */
:root {
	--vdm-ink: var(--e-global-color-primary, #16181a);
	--vdm-stone: var(--e-global-color-secondary, #56616a);
	--vdm-text: var(--e-global-color-text, #2b2f33);
	--vdm-accent: var(--e-global-color-accent, #e3b324);
	--vdm-paper: var(--e-global-color-vdmpaper, #f3f2ee);
	--vdm-line: var(--e-global-color-vdmline, #dcdad4);
	--vdm-light: var(--e-global-color-vdmlight, #c3c8cb);
	--vdm-white: var(--e-global-color-vdmwhite, #ffffff);
	--vdm-display: var(--e-global-typography-primary-font-family, "Archivo"), system-ui, sans-serif;
	--vdm-body: var(--e-global-typography-text-font-family, "Inter"), system-ui, sans-serif;
	--vdm-radius: 6px;
	--vdm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.vdm-conf,
.vdm-profiles,
.vdm-saws,
.vdm-postcode {
	font-family: var(--vdm-body);
	color: var(--vdm-text);
}

.vdm-small {
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--vdm-stone);
	margin: 0;
}

.vdm-label {
	font-family: var(--vdm-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vdm-stone);
}

.vdm-card {
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	margin: 0;
}

.vdm-card--pad {
	padding: 24px;
}

.vdm-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

/* Buttons */
.vdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--vdm-radius);
	font-family: var(--vdm-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s var(--vdm-ease), background-color 0.2s, box-shadow 0.2s;
}

.vdm-btn:active {
	transform: translateY(1px) scale(0.99);
}

.vdm-btn:disabled {
	opacity: 0.6;
	cursor: progress;
}

.vdm-btn--primary {
	background: var(--vdm-accent);
	color: var(--vdm-ink);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.vdm-btn--primary:hover {
	box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.45);
	transform: translateY(-1px);
}

.vdm-btn--dark {
	background: var(--vdm-ink);
	color: var(--vdm-white);
}

.vdm-btn--block {
	width: 100%;
}

/* Drawings */
.vdm-stone {
	fill: #b9bec2;
	stroke: var(--vdm-ink);
	stroke-width: 1.5;
	stroke-linejoin: round;
	transition: fill 0.4s;
}

/* Granite: the glued-on back edge (lijmvlak). */
.vdm-glue {
	stroke: var(--vdm-ink);
	stroke-width: 1;
}

.vdm-dim line,
.vdm-dim polygon {
	stroke: var(--vdm-stone);
	stroke-width: 1.2;
	fill: var(--vdm-stone);
}

.vdm-dim text,
.vdm-side,
.vdm-angle {
	font-family: var(--vdm-body);
	font-size: 19px;
	fill: var(--vdm-stone);
	text-anchor: middle;
}

.vdm-dim text.v {
	text-anchor: start;
}

.vdm-dim text.v.end {
	text-anchor: end;
}

.vdm-side {
	font-size: 17px;
	text-anchor: start;
	letter-spacing: 0.04em;
}

.vdm-dim--main line,
.vdm-dim--main polygon {
	stroke: var(--vdm-ink);
	fill: var(--vdm-ink);
	stroke-width: 1.6;
}

.vdm-dim--main text {
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 21px;
	fill: var(--vdm-ink);
}

.vdm-frame {
	fill: var(--vdm-line);
}

.vdm-ghost {
	fill: none;
	stroke: var(--vdm-stone);
	stroke-width: 1.2;
	stroke-dasharray: 5 5;
}

.vdm-cut {
	stroke: var(--vdm-accent);
	stroke-width: 4;
	stroke-linecap: round;
}

.vdm-inner {
	font-family: var(--vdm-body);
	font-size: 18px;
	fill: var(--vdm-ink);
}

.vdm-profile-svg,
.vdm-top-svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Configurator layout: steps left, a sticky order panel right. */
.vdm-conf {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (min-width: 1000px) {
	.vdm-conf {
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 56px;
	}

	.vdm-conf__panel {
		position: sticky;
		top: 104px;
	}
}

@media (min-width: 1280px) {
	.vdm-conf {
		grid-template-columns: minmax(0, 1fr) 410px;
		gap: 72px;
	}
}

.vdm-conf__form {
	display: grid;
	gap: 16px;
	margin: 0;
	min-width: 0;
}

/* Progress */
.vdm-progress {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	counter-reset: vdm-progress;
}

.vdm-progress li {
	counter-increment: vdm-progress;
	display: grid;
	gap: 8px;
	font-family: var(--vdm-display);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--vdm-stone);
}

.vdm-progress li::before {
	content: "";
	height: 4px;
	border-radius: 2px;
	background: var(--vdm-line);
	transition: background-color 0.4s var(--vdm-ease);
}

.vdm-progress li.is-done {
	color: var(--vdm-ink);
}

.vdm-progress li.is-done::before {
	background: var(--vdm-ink);
}

/* Step cards */
.vdm-step {
	border: 1px solid var(--vdm-line);
	border-radius: 10px;
	background: var(--vdm-white);
	margin: 0;
	padding: 24px;
	min-width: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 768px) {
	.vdm-step {
		padding: 28px 32px 32px;
	}
}

.vdm-step__title {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	margin: 0 0 4px;
	font-family: var(--vdm-display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--vdm-ink);
}

.vdm-step__title + * {
	clear: both;
}

.vdm-step__nr {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--vdm-accent);
	color: var(--vdm-ink);
	font-size: 0.95rem;
	flex: none;
}

.vdm-step__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* Option cards */
.vdm-options {
	display: grid;
	gap: 10px;
}

.vdm-options--profiles {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
	.vdm-options--profiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.vdm-options--materials {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vdm-option {
	position: relative;
	cursor: pointer;
	display: block;
	min-width: 0;
}

.vdm-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vdm-option__body {
	position: relative;
	display: grid;
	align-content: start;
	gap: 4px;
	height: 100%;
	padding: 14px;
	background: var(--vdm-white);
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.25s var(--vdm-ease), transform 0.25s var(--vdm-ease);
}

.vdm-option:hover .vdm-option__body {
	border-color: var(--vdm-stone);
	transform: translateY(-2px);
}

.vdm-option input:checked + .vdm-option__body {
	border-color: var(--vdm-ink);
	box-shadow: inset 0 0 0 1px var(--vdm-ink), 0 10px 24px -16px rgba(0, 0, 0, 0.5);
}

.vdm-option input:checked + .vdm-option__body::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--vdm-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.vdm-option input:focus-visible + .vdm-option__body {
	outline: 3px solid var(--vdm-accent);
	outline-offset: 2px;
}

.vdm-badge {
	position: absolute;
	top: -9px;
	left: 12px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--vdm-accent);
	font-family: var(--vdm-display);
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--vdm-ink);
}

.vdm-option__icon {
	display: block;
	padding: 6px 0 8px;
}

.vdm-option__icon .vdm-profile-svg {
	height: 44px;
	width: auto;
	max-width: 100%;
}

.vdm-option__name {
	font-family: var(--vdm-display);
	font-weight: 800;
	color: var(--vdm-ink);
	font-size: 1rem;
}

.vdm-option__meta {
	font-size: 0.84rem;
	color: var(--vdm-stone);
}

.vdm-option__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

.vdm-option__note {
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--vdm-text);
	margin-top: 2px;
}

.vdm-conf img.vdm-option__swatch {
	width: 100%;
	height: 88px;
	object-fit: cover;
	border-radius: 5px;
	margin-bottom: 8px;
}

@media (max-width: 599px) {
	.vdm-conf img.vdm-option__swatch {
		height: 64px;
	}

	.vdm-option__note {
		font-size: 0.78rem;
	}
}

/* Cross-section in step 1 */
.vdm-conf__profile {
	margin: 4px 0 0;
	padding: 18px 18px 14px;
	background: var(--vdm-paper);
	border-radius: 8px;
	display: grid;
	gap: 8px;
}

.vdm-conf__profile-svg {
	max-width: 360px;
	width: 100%;
	margin: 0 auto;
}

.vdm-conf__profile-svg[hidden] {
	display: none;
}

@media (max-width: 599px) {
	.vdm-conf__profile-svg {
		max-width: 280px;
	}
}

/* Unit toggle as a small segmented switch */
.vdm-unit {
	display: inline-flex;
	padding: 3px;
	border-radius: 999px;
	background: var(--vdm-paper);
	border: 1px solid var(--vdm-line);
}

.vdm-unit label {
	position: relative;
	cursor: pointer;
}

.vdm-unit input {
	position: absolute;
	opacity: 0;
}

.vdm-unit span {
	display: block;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--vdm-display);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--vdm-stone);
	transition: background-color 0.2s, color 0.2s;
}

.vdm-unit input:checked + span {
	background: var(--vdm-ink);
	color: var(--vdm-white);
}

.vdm-unit input:focus-visible + span {
	outline: 2px solid var(--vdm-accent);
}

/* Rows */
.vdm-rows {
	display: grid;
	gap: 12px;
}

.vdm-row {
	background: var(--vdm-white);
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	padding: 16px;
	transition: border-color 0.2s, box-shadow 0.25s;
	animation: vdm-row-in 0.45s var(--vdm-ease) both;
}

@keyframes vdm-row-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

.vdm-row.is-active {
	border-color: var(--vdm-ink);
	box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.6);
}

.vdm-row.has-error {
	border-color: #b3261e;
}

.vdm-row__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.vdm-row__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--vdm-display);
	font-weight: 800;
	color: var(--vdm-ink);
}

.vdm-row__nr {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: var(--vdm-paper);
	border: 1px solid var(--vdm-line);
	font-size: 0.8rem;
}

.vdm-row.is-valid .vdm-row__nr {
	background: var(--vdm-ink);
	border-color: var(--vdm-ink);
	color: var(--vdm-white);
}

.vdm-row__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 132px;
	gap: 12px 12px;
}

.vdm-field {
	display: grid;
	gap: 6px;
	min-width: 0;
	align-content: start;
}

.vdm-field__label {
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--vdm-text);
}

.vdm-field__hint {
	font-weight: 400;
	color: var(--vdm-stone);
}

@media (max-width: 480px) {
	.vdm-field__hint {
		display: block;
	}
}

.vdm-field--saw {
	grid-column: 1 / -1;
}

body .vdm-field input[type="text"],
body .vdm-field input[type="number"],
body .vdm-postcode input {
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	background: var(--vdm-white);
	font-family: var(--vdm-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--vdm-ink);
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

body .vdm-field input:focus,
body .vdm-postcode input:focus {
	outline: none;
	border-color: var(--vdm-ink);
	box-shadow: 0 0 0 3px rgba(227, 179, 36, 0.35);
}

.vdm-input-unit {
	position: relative;
	display: block;
}

body .vdm-input-unit input {
	padding-right: 48px;
}

.vdm-input-unit span {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--vdm-stone);
	font-weight: 600;
	pointer-events: none;
}

/* Quantity stepper */
.vdm-stepper {
	display: grid;
	grid-template-columns: 38px 1fr 38px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	overflow: clip;
	background: var(--vdm-white);
}

body .vdm-stepper button,
body .vdm-stepper button:hover,
body .vdm-stepper button:focus {
	background: var(--vdm-paper);
	color: var(--vdm-ink);
	border: 0;
	border-radius: 0;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1;
	min-height: 49px;
	cursor: pointer;
}

body .vdm-stepper button:hover {
	background: var(--vdm-line);
}

body .vdm-field .vdm-stepper input[type="number"] {
	border: 0;
	border-radius: 0;
	min-height: 49px;
	padding: 0;
	text-align: center;
	-moz-appearance: textfield;
}

.vdm-stepper input::-webkit-outer-spin-button,
.vdm-stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Saw cut segmented control */
.vdm-seg {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.vdm-seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vdm-seg label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 6px 10px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
	color: var(--vdm-ink);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.vdm-seg label:hover {
	border-color: var(--vdm-stone);
}

.vdm-seg input:checked + label {
	border-color: var(--vdm-ink);
	background: var(--vdm-paper);
	box-shadow: inset 0 0 0 1px var(--vdm-ink);
}

.vdm-seg input:focus-visible + label {
	outline: 3px solid var(--vdm-accent);
	outline-offset: 2px;
}

.vdm-saw-icon {
	position: relative;
	width: 58px;
	height: 16px;
	background: var(--vdm-stone);
}

.vdm-seg input:checked + label .vdm-saw-icon {
	background: var(--vdm-ink);
}

.vdm-saw-icon--verstek-links {
	clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
}

.vdm-saw-icon--verstek-rechts {
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
}

.vdm-row__foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 12px;
	min-height: 1.4em;
}

.vdm-row__error {
	margin: 0;
	font-size: 0.86rem;
	color: #b3261e;
}

.vdm-row__price {
	display: flex;
	gap: 10px;
	align-items: baseline;
	margin: 0 0 0 auto;
	font-size: 0.9rem;
	color: var(--vdm-stone);
	white-space: nowrap;
}

.vdm-row__price strong {
	font-family: var(--vdm-display);
	color: var(--vdm-ink);
	font-size: 1.15rem;
}

/* Top view under the rows */
.vdm-conf__top {
	margin: 0;
	padding: 16px 18px;
	background: var(--vdm-paper);
	border-radius: 8px;
	display: grid;
	gap: 8px;
}

.vdm-conf__top-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.vdm-conf__top .vdm-top-svg {
	max-width: 560px;
	margin: 0 auto;
}

.vdm-maatwerk-note {
	margin: 0;
	font-size: 0.9rem;
	color: var(--vdm-text);
}

.vdm-maatwerk-note a {
	font-weight: 700;
	color: var(--vdm-ink);
	white-space: nowrap;
}

/* Postcode */
.vdm-postcode {
	display: grid;
	gap: 8px;
}

.vdm-postcode__row {
	display: flex;
	gap: 8px;
}

.vdm-postcode__row input {
	flex: 1;
	min-width: 0;
	text-transform: uppercase;
}

.vdm-postcode__row .vdm-btn {
	min-height: 50px;
}

.vdm-postcode__result {
	margin: 0;
	font-size: 0.95rem;
	min-height: 0;
}

.vdm-postcode__result.is-ok strong {
	font-family: var(--vdm-display);
	font-size: 1.1rem;
	color: var(--vdm-ink);
}

.vdm-postcode__result.is-error {
	color: #b3261e;
}

.vdm-postcode__result.is-loading {
	color: var(--vdm-stone);
}

/* Order panel */
.vdm-panel {
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: 12px;
	overflow: clip;
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.45);
}

.vdm-panel__head {
	padding: 20px 22px 0;
	display: grid;
	gap: 4px;
}

.vdm-panel__head .vdm-label {
	margin: 0;
}

.vdm-panel__product {
	margin: 0;
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--vdm-ink);
}

.vdm-panel__product span:last-child {
	display: block;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--vdm-stone);
}

.vdm-panel__visual {
	margin: 12px 22px 0;
	padding: 10px 24px 4px;
	background: var(--vdm-paper);
	border-radius: 8px;
}

.vdm-panel__visual .vdm-profile-svg {
	max-height: 150px;
	margin: 0 auto;
}

.vdm-panel__rows {
	list-style: none;
	margin: 14px 22px 0;
	padding: 0;
	display: grid;
}

.vdm-panel__rows li {
	display: grid;
	grid-template-columns: 24px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--vdm-line);
	font-size: 0.92rem;
	animation: vdm-row-in 0.4s var(--vdm-ease) both;
}

.vdm-panel__rows li.is-empty {
	color: var(--vdm-stone);
}

.vdm-panel__nr {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 5px;
	background: var(--vdm-ink);
	color: var(--vdm-white);
	font-family: var(--vdm-display);
	font-size: 0.75rem;
	font-weight: 700;
}

.vdm-panel__rows li.is-empty .vdm-panel__nr {
	background: var(--vdm-line);
	color: var(--vdm-stone);
}

.vdm-panel__spec {
	display: grid;
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
	line-height: 1.3;
}

.vdm-panel__rows li.is-empty .vdm-panel__spec {
	color: var(--vdm-stone);
	font-weight: 500;
}

.vdm-panel__spec small {
	font-family: var(--vdm-body);
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--vdm-stone);
}

.vdm-panel__price {
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
	font-variant-numeric: tabular-nums;
}

/* Summary */
.vdm-summary {
	padding: 18px 22px 22px;
	display: grid;
	gap: 12px;
}

.vdm-summary__lines {
	margin: 0;
	display: grid;
	gap: 8px;
}

.vdm-summary__lines > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
}

.vdm-summary__lines dt,
.vdm-summary__lines dd {
	margin: 0;
}

.vdm-summary__lines dd {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--vdm-ink);
}

.vdm-summary__total {
	border-top: 1.5px solid var(--vdm-ink);
	padding-top: 12px;
	margin-top: 4px;
	align-items: baseline;
}

.vdm-summary__total dt {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--vdm-ink);
}

.vdm-summary__total dt span {
	font-family: var(--vdm-body);
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--vdm-stone);
}

.vdm-summary__total dd {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

.vdm-summary__excl {
	margin: -6px 0 0;
	text-align: right;
	font-size: 0.82rem;
	color: var(--vdm-stone);
}

.vdm-btn--lg {
	min-height: 58px;
	font-size: 1.08rem;
}

.vdm-conf:not(.has-total) .vdm-summary .vdm-btn {
	opacity: 0.55;
}

.vdm-trust {
	list-style: none;
	margin: 4px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--vdm-line);
	display: grid;
	gap: 10px;
	font-size: 0.86rem;
	line-height: 1.4;
}

.vdm-trust li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.vdm-trust .vdm-icon {
	width: 20px;
	height: 20px;
	color: var(--vdm-ink);
	flex: none;
}

.vdm-trust a {
	font-weight: 700;
	color: var(--vdm-ink);
	white-space: nowrap;
}

.vdm-error {
	margin: 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fbe9e7;
	color: #8c1d18;
	font-size: 0.92rem;
}

.vdm-admin-note {
	padding: 12px;
	background: #fff3cd;
}

/* Phone bar with the total */
.vdm-mbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: var(--vdm-ink);
	color: var(--vdm-white);
	box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, 0.45);
	transform: translateY(110%);
	transition: transform 0.4s var(--vdm-ease);
}

.vdm-mbar.is-visible {
	transform: none;
}

.vdm-mbar__sum {
	display: grid;
	line-height: 1.2;
}

.vdm-mbar__label {
	font-size: 0.78rem;
	color: var(--vdm-light);
}

.vdm-mbar__sum strong {
	font-family: var(--vdm-display);
	font-size: 1.35rem;
	font-weight: 800;
}

.vdm-mbar .vdm-btn {
	min-height: 48px;
	padding: 0 18px;
}

@media (min-width: 1000px) {
	.vdm-mbar {
		display: none;
	}
}

/* [vdm_profielen] */
.vdm-profiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.vdm-profile-card {
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 20px;
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	color: var(--vdm-text);
	text-decoration: none;
	transition: transform 0.35s var(--vdm-ease), box-shadow 0.35s var(--vdm-ease), border-color 0.2s;
}

.vdm-profile-card:hover {
	transform: translateY(-4px);
	border-color: var(--vdm-ink);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
	color: var(--vdm-text);
}

.vdm-profile-card__drawing {
	display: block;
	padding: 6px 0 10px;
}

.vdm-profile-card__drawing .vdm-profile-svg {
	height: 150px;
	width: 100%;
}

.vdm-profile-card__name {
	font-family: var(--vdm-display);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--vdm-ink);
}

.vdm-profile-card__spec {
	font-size: 0.86rem;
	color: var(--vdm-stone);
}

.vdm-profile-card__prices {
	margin: 8px 0 0;
	display: grid;
	gap: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--vdm-line);
}

.vdm-profile-card__prices div {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.vdm-profile-card__prices dt,
.vdm-profile-card__prices dd {
	margin: 0;
	font-size: 0.92rem;
}

.vdm-profile-card__prices dd {
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
}

.vdm-profile-card__prices dd span {
	font-family: var(--vdm-body);
	font-weight: 400;
	color: var(--vdm-stone);
}

.vdm-profile-card__cta {
	margin-top: 8px;
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
}

.vdm-profile-card__cta span {
	display: inline-block;
	transition: transform 0.3s var(--vdm-ease);
}

.vdm-profile-card:hover .vdm-profile-card__cta span {
	transform: translateX(4px);
}

.vdm-profiles__note {
	margin-top: 14px;
}

/* [vdm_verstek_uitleg] */
.vdm-saws {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.vdm-saw {
	margin: 0;
	padding: 18px;
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	display: grid;
	gap: 12px;
}

.vdm-saw figcaption {
	display: grid;
	gap: 4px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.vdm-saw strong {
	font-family: var(--vdm-display);
	font-size: 1.1rem;
	color: var(--vdm-ink);
}

/* Cart and checkout details */
.vdm-per {
	font-size: 0.8em;
	color: var(--vdm-stone);
}

.vdm-order-levertijd {
	padding: 14px 16px;
	background: var(--vdm-paper);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
}

/* ------------------------------------------------------------------
 * Page helpers used by the Elementor templates (class names set on
 * containers and widgets).
 * ---------------------------------------------------------------- */

/* Reveal on load and scroll. The resting state is visible; the script only
   adds .vdm-pre to elements below the fold and removes it again. */
.vdm-reveal.vdm-pre {
	opacity: 0;
	transform: translateY(24px);
}

.vdm-reveal {
	transition: opacity 0.8s var(--vdm-ease), transform 0.8s var(--vdm-ease);
}

@media (prefers-reduced-motion: reduce) {
	.vdm-reveal,
	.vdm-reveal.vdm-pre {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Strip with facts under the hero */
.vdm-marquee {
	overflow: hidden;
	white-space: nowrap;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.vdm-marquee__track {
	display: inline-flex;
	gap: 48px;
	padding-right: 48px;
	animation: vdm-marquee 38s linear infinite;
}

.vdm-marquee__track span {
	display: inline-flex;
	align-items: center;
	gap: 48px;
	font-family: var(--vdm-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--vdm-white);
}

.vdm-marquee__track span::after {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--vdm-accent);
	transform: rotate(45deg);
}

@keyframes vdm-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vdm-marquee__track {
		animation: none;
	}
}

/* Numbered steps */
.vdm-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	counter-reset: vdm-step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vdm-steps li {
	counter-increment: vdm-step;
	padding: 24px;
	border-top: 2px solid var(--vdm-ink);
	background: var(--vdm-white);
	display: grid;
	gap: 8px;
	align-content: start;
}

.vdm-steps li::before {
	content: counter(vdm-step, decimal-leading-zero);
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--vdm-accent);
}

.vdm-steps h3 {
	margin: 0;
	font-family: var(--vdm-display);
	font-size: 1.15rem;
	color: var(--vdm-ink);
}

.vdm-steps p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
}

/* FAQ with native details */
.vdm-faq {
	display: grid;
	border-top: 1px solid var(--vdm-line);
}

.vdm-faq details {
	border-bottom: 1px solid var(--vdm-line);
}

.vdm-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 40px 20px 0;
	position: relative;
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 1.08rem;
	color: var(--vdm-ink);
}

.vdm-faq summary::-webkit-details-marker {
	display: none;
}

.vdm-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	transition: transform 0.3s var(--vdm-ease);
}

.vdm-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.vdm-faq details p {
	margin: 0 0 20px;
	max-width: 70ch;
	line-height: 1.6;
}

/* Photo with a technical annotation (hero) */
.vdm-annotated {
	position: relative;
}

.vdm-annotated img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--vdm-radius);
}

.vdm-tag {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: var(--vdm-white);
	border-radius: 999px;
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--vdm-ink);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
	white-space: nowrap;
}

.vdm-tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--vdm-accent);
	box-shadow: 0 0 0 4px rgba(227, 179, 36, 0.3);
}

/* WooCommerce details in the Astra cart/checkout */
.wc-block-components-product-details,
.woocommerce-cart .variation {
	font-size: 0.9rem;
}

/* [vdm_logo] */
.vdm-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--vdm-ink);
	line-height: 1;
}

.vdm-logo--light {
	color: var(--vdm-white);
}

.vdm-logo__mark {
	width: 46px;
	height: 23px;
	fill: currentColor;
	flex: none;
}

.vdm-logo__mark polygon {
	fill: var(--vdm-accent);
}

.vdm-logo__text {
	display: grid;
	gap: 3px;
}

.vdm-logo__vdm {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.45rem;
	letter-spacing: 0.02em;
}

.vdm-logo__sub {
	font-family: var(--vdm-display);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.8;
}

/* ------------------------------------------------------------------
 * Page layer: header, hero, sections, footer
 * ---------------------------------------------------------------- */
body {
	-webkit-font-smoothing: antialiased;
}

.vdm-header {
	border-bottom: 1px solid var(--vdm-line);
}

.vdm-header .elementor-nav-menu--main .elementor-item {
	padding-top: 10px;
	padding-bottom: 10px;
}

.vdm-maatwerk-bel p {
	margin: 0;
}

.vdm-header-cta .elementor-button {
	padding: 14px 20px;
	white-space: nowrap;
}

/* Hero */
.vdm-hero {
	overflow: clip;
}

.vdm-hero h1 {
	text-wrap: balance;
}

.vdm-hero-facts {
	list-style: none;
	margin: 18px 0 0;
	padding: 20px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	gap: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vdm-hero-facts li {
	display: grid;
	gap: 4px;
}

.vdm-hero-facts strong {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--vdm-white);
}

.vdm-hero-facts span {
	font-size: 0.86rem;
	color: var(--vdm-light);
}

@media (max-width: 640px) {
	.vdm-hero-facts {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}
}

.vdm-hero-photo img {
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	animation: vdm-hero-in 1.1s var(--vdm-ease) both;
}

.vdm-hero-photo .vdm-tag {
	animation: vdm-hero-in 0.9s var(--vdm-ease) 0.45s both;
}

@keyframes vdm-hero-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vdm-hero-photo img,
	.vdm-hero-photo .vdm-tag {
		animation: none;
	}
}

.vdm-hero .elementor-widget-heading,
.vdm-hero .elementor-widget-text-editor,
.vdm-hero .elementor-widget-button {
	animation: vdm-hero-in 0.8s var(--vdm-ease) both;
}

.vdm-hero .elementor-widget-heading:nth-child(2) {
	animation-delay: 0.08s;
}

.vdm-hero .elementor-widget-text-editor {
	animation-delay: 0.16s;
}

.vdm-marquee-band .elementor-widget-shortcode {
	width: 100%;
}

/* Section headings */
.vdm-sectielabel {
	margin-bottom: -4px;
}

.vdm-sectie .elementor-widget-heading h2 {
	text-wrap: balance;
}

/* Materials */
.vdm-materiaal {
	background: var(--vdm-paper);
	border-radius: var(--vdm-radius);
	padding: 16px 16px 26px;
}

.vdm-materiaal-foto img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 4px;
	transition: transform 0.9s var(--vdm-ease);
}

.vdm-materiaal:hover .vdm-materiaal-foto img {
	transform: scale(1.02);
}

.vdm-materiaal .elementor-widget-heading,
.vdm-materiaal .elementor-widget-text-editor {
	padding: 0 8px;
}

.vdm-materiaal-prijs {
	margin: 0;
	font-size: 0.95rem;
}

.vdm-materiaal-prijs strong {
	font-family: var(--vdm-display);
	font-size: 1.15rem;
	color: var(--vdm-ink);
}

/* Maatwerk band */
.vdm-maatwerk .vdm-btn {
	min-height: 58px;
	padding: 0 28px;
	font-size: 1.1rem;
	text-decoration: none;
	white-space: nowrap;
}

.vdm-maatwerk .vdm-btn::before {
	content: "Bel";
}

@media (max-width: 1024px) {
	.vdm-maatwerk .vdm-maatwerk-bel {
		align-self: flex-start;
	}
}

/* Photo about */
.vdm-over-foto img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--vdm-radius);
}

/* Contact */
.vdm-contact p {
	margin: 0 0 14px;
}

.vdm-contact .vdm-label {
	margin-bottom: 4px;
}

.vdm-contact__big a {
	font-family: var(--vdm-display);
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--vdm-ink);
	text-decoration: none;
}

/* Footer */
.vdm-footer a {
	color: var(--vdm-white);
	text-decoration: none;
}

/* The e-mail address is one long word: it breaks after the @ (a <wbr> in the
   footer) instead of running into the next column. */
.vdm-footer p {
	overflow-wrap: break-word;
}

.vdm-footer a:hover {
	color: var(--vdm-accent);
}

.vdm-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.vdm-footer-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 24px;
	font-size: 0.86rem;
}

.vdm-footer-legal p {
	margin: 0;
}

/* Product page */
.vdm-product-top .woocommerce-breadcrumb {
	font-size: 0.88rem;
	margin: 0;
}

.vdm-product-top .product_title {
	margin: 0;
}

.vdm-hide {
	display: none;
}

/* Kit link colours are .elementor-kit-N a; these need to win on dark and yellow blocks. */
body .vdm-footer a,
body a.vdm-logo--light {
	color: var(--vdm-white);
}

body .vdm-footer a:hover {
	color: var(--vdm-accent);
}

body a.vdm-logo--dark {
	color: var(--vdm-ink);
}

body a.vdm-btn--dark,
body a.vdm-btn--dark:hover {
	color: var(--vdm-white);
}

body a.vdm-btn--primary {
	color: var(--vdm-ink);
}

.vdm-header .elementor-nav-menu {
	flex-wrap: nowrap;
}

.vdm-header .elementor-menu-cart__toggle .elementor-button {
	background: transparent;
	color: var(--vdm-ink);
	padding: 8px;
	border: 0;
}

.vdm-header .elementor-menu-cart__toggle .elementor-button-icon {
	font-size: 22px;
}

/* The marquee track is wider than the screen; without min-width 0 the flex
   parents grow to its width and the page scrolls sideways on phones. */
.vdm-marquee-band,
.vdm-marquee-band > .e-con-inner,
.vdm-marquee-band .elementor-widget-shortcode,
.vdm-marquee-band .elementor-shortcode {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.vdm-gallery-col {
	min-width: 0;
	overflow: hidden;
}

/* The kit styles every <button>; these are the configurator's own. */
body .vdm-conf .vdm-add-row,
body .vdm-conf .vdm-add-row:hover,
body .vdm-conf .vdm-add-row:focus {
	background: transparent;
	color: var(--vdm-ink);
	border: 1.5px dashed var(--vdm-stone);
	box-shadow: none;
}

body .vdm-conf .vdm-add-row:hover {
	border-style: solid;
	border-color: var(--vdm-ink);
}

body .vdm-conf .vdm-row__remove,
body .vdm-conf .vdm-row__remove:hover {
	background: transparent;
	color: var(--vdm-stone);
	border: 0;
	padding: 4px 0;
	font-family: var(--vdm-body);
	font-weight: 400;
}

body button.vdm-btn--dark,
body button.vdm-btn--dark:hover,
body button.vdm-btn--dark:focus {
	background: var(--vdm-ink);
	color: var(--vdm-white);
	border: 0;
}

body button.vdm-btn--primary,
body button.vdm-btn--primary:focus {
	background: var(--vdm-accent);
	color: var(--vdm-ink);
	border: 0;
}

body button.vdm-btn--primary:hover {
	background: var(--vdm-accent);
	color: var(--vdm-ink);
}

/* WooCommerce buttons in cart and checkout follow the shop's button style. */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order,
body .woocommerce button.button.alt,
body .woocommerce a.button.alt {
	background: var(--vdm-accent);
	color: var(--vdm-ink);
	font-family: var(--vdm-display);
	font-weight: 700;
	border-radius: var(--vdm-radius);
}

body.woocommerce-checkout #place_order:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce a.button.alt:hover {
	background: var(--vdm-ink);
	color: var(--vdm-white);
}

/* Product page: the Elementor template runs edge to edge, like the other pages. */
body.single-product .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.single-product .site-content > .ast-container > .elementor {
	width: 100%;
}

/* ==================================================================
 * Round 2: motion, sticky storytelling, hero price check
 * ================================================================ */

/* Word-by-word headings */
.vdm-w {
	display: inline-block;
	overflow: clip;
	vertical-align: top;
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.vdm-w__in {
	display: inline-block;
}

.vdm-split.vdm-pre .vdm-w__in {
	transform: translateY(105%);
}

.vdm-split.vdm-in .vdm-w__in {
	animation: vdm-word 0.9s var(--vdm-ease) calc(var(--w) * 55ms) both;
}

@keyframes vdm-word {
	from {
		transform: translateY(105%);
	}
}

.vdm-reveal.vdm-in {
	transition-delay: 0.05s;
}

@media (prefers-reduced-motion: reduce) {
	.vdm-split .vdm-w__in {
		animation: none !important;
		transform: none !important;
	}
}

/* Cursor */
.vdm-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	width: 0;
	height: 0;
}

.vdm-cursor span {
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 999px;
	background: var(--vdm-accent);
	mix-blend-mode: multiply;
	font-family: var(--vdm-display);
	font-size: 0;
	font-weight: 700;
	color: var(--vdm-ink);
	white-space: nowrap;
	transition: width 0.3s var(--vdm-ease), height 0.3s var(--vdm-ease), margin 0.3s var(--vdm-ease), opacity 0.2s;
}

.vdm-cursor.is-hover span {
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	opacity: 0.55;
}

.vdm-cursor.has-label span {
	width: auto;
	height: 36px;
	margin: -18px 0 0 16px;
	padding: 0 14px;
	font-size: 0.82rem;
	opacity: 1;
	mix-blend-mode: normal;
}

.vdm-cursor.is-hidden span {
	opacity: 0;
}

/* Header: top bar and glass on scroll */
.vdm-topbar p {
	margin: 0;
}

.vdm-topbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 28px;
	font-size: 0.82rem;
	color: var(--vdm-light);
}

.vdm-topbar li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vdm-topbar li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--vdm-accent);
	transform: rotate(45deg);
}

body .vdm-topbar a {
	color: var(--vdm-white);
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 767px) {
	.vdm-topbar li:not(:first-child) {
		display: none;
	}
}

body .vdm-header {
	transition: background-color 0.3s, box-shadow 0.3s;
}

body .vdm-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.86) !important;
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.5);
}

/* Hero with the price check */
.vdm-hero2 {
	position: relative;
}

.vdm-hero2__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
	border-radius: 12px;
	animation: vdm-hero-in 1.1s var(--vdm-ease) both;
}

@media (max-width: 1024px) {
	.vdm-hero2__media img {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

/* Price check card */
.vdm-quick {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 22px;
	background: var(--vdm-white);
	border-radius: 12px;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
	color: var(--vdm-text);
	animation: vdm-hero-in 0.9s var(--vdm-ease) 0.3s both;
}

.vdm-quick__title {
	margin: 0;
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--vdm-ink);
}

.vdm-quick__group {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.vdm-chip {
	position: relative;
	cursor: pointer;
}

.vdm-chip input {
	position: absolute;
	opacity: 0;
}

.vdm-chip span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 6px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 0.86rem;
	color: var(--vdm-ink);
	text-align: center;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.vdm-chip input:checked + span {
	background: var(--vdm-ink);
	border-color: var(--vdm-ink);
	color: var(--vdm-white);
}

.vdm-chip input:focus-visible + span {
	outline: 3px solid var(--vdm-accent);
	outline-offset: 2px;
}

.vdm-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex: none;
	background: #b9bec2;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.vdm-quick__length {
	display: grid;
	gap: 6px;
}

body .vdm-quick input[type="text"] {
	width: 100%;
	min-height: 52px;
	padding: 0 48px 0 14px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 8px;
	font-family: var(--vdm-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--vdm-ink);
	background: var(--vdm-white);
}

body .vdm-quick input[type="text"]:focus {
	outline: none;
	border-color: var(--vdm-ink);
	box-shadow: 0 0 0 3px rgba(227, 179, 36, 0.35);
}

.vdm-quick__result {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--vdm-paper);
}

.vdm-quick__price {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 1.9rem;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--vdm-ink);
	font-variant-numeric: tabular-nums;
}

.vdm-quick__result .vdm-small {
	text-align: right;
}

.vdm-quick.is-error .vdm-quick__price {
	font-size: 1.1rem;
	color: #b3261e;
}

/* Link with arrow */
body a.vdm-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--vdm-accent);
	padding-bottom: 2px;
}

a.vdm-link-arrow span {
	transition: transform 0.3s var(--vdm-ease);
}

a.vdm-link-arrow:hover span {
	transform: translateX(5px);
}

/* Stacking mitre cards */
.vdm-vstack {
	display: grid;
	gap: 24px;
}

.vdm-vstack__card {
	position: sticky;
	top: calc(120px + var(--i) * 24px);
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 48px;
	align-items: center;
	min-height: 380px;
	padding: 40px;
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: 14px;
	box-shadow: 0 -20px 40px -30px rgba(0, 0, 0, 0.35);
}

.vdm-vstack__card:nth-child(2) {
	background: #fbfaf7;
}

.vdm-vstack__card:nth-child(3) {
	background: var(--vdm-paper);
}

.vdm-vstack__text {
	display: grid;
	gap: 10px;
}

.vdm-vstack__text p {
	margin: 0;
}

.vdm-vstack__nr {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--vdm-accent);
}

.vdm-vstack__text h3 {
	margin: 0;
	font-family: var(--vdm-display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--vdm-ink);
}

.vdm-vstack__lead {
	font-family: var(--vdm-display);
	font-weight: 700;
	color: var(--vdm-ink);
}

@media (max-width: 767px) {
	.vdm-vstack__card {
		grid-template-columns: 1fr;
		gap: 20px;
		min-height: 0;
		padding: 24px;
		top: calc(84px + var(--i) * 14px);
	}

	.vdm-vstack__text h3 {
		font-size: 1.5rem;
	}

	.vdm-vstack__nr {
		font-size: 1.8rem;
	}
}

/* Sticky column helper for Elementor containers (class on the container) */
@media (min-width: 1025px) {
	.vdm-sticky-col {
		position: sticky !important;
		top: 130px;
		align-self: flex-start;
	}
}

/* Ring map */
.vdm-ringwrap {
	margin: 0;
	display: grid;
	gap: 10px;
	justify-items: center;
}

.vdm-ringmap {
	width: 100%;
	max-width: 480px;
	height: auto;
	overflow: visible;
}

.vdm-ring {
	fill: none;
	stroke: var(--vdm-stone);
	stroke-width: 1.2;
	stroke-dasharray: 4 6;
	opacity: 0.55;
}

.vdm-ring--min {
	fill: rgba(227, 179, 36, 0.18);
	stroke: var(--vdm-accent);
	stroke-width: 2;
	stroke-dasharray: none;
	opacity: 1;
}

.vdm-ring__label rect {
	fill: var(--vdm-white);
	stroke: var(--vdm-line);
}

.vdm-ring__label text {
	text-anchor: middle;
	font-family: var(--vdm-display);
}

.vdm-ring__label .km {
	font-size: 12px;
	fill: var(--vdm-stone);
	font-weight: 600;
}

.vdm-ring__label .eur {
	font-size: 15px;
	fill: var(--vdm-ink);
	font-weight: 800;
}

.vdm-ring__center {
	fill: var(--vdm-ink);
	stroke: var(--vdm-accent);
	stroke-width: 4;
}

.vdm-ring__city {
	text-anchor: middle;
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: 16px;
	fill: var(--vdm-ink);
}

/* Big numbers under the hero */
.vdm-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.vdm-facts li {
	padding: 28px 24px;
	border-left: 1px solid var(--vdm-line);
	display: grid;
	gap: 6px;
}

.vdm-facts li:first-child {
	border-left: 0;
	padding-left: 0;
}

.vdm-facts strong {
	font-family: var(--vdm-display);
	font-weight: 800;
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--vdm-ink);
}

.vdm-facts span {
	font-size: 0.92rem;
	color: var(--vdm-stone);
}

@media (max-width: 767px) {
	.vdm-facts {
		grid-template-columns: 1fr 1fr;
	}

	.vdm-facts li {
		padding: 18px 14px;
		border-left: 0;
		border-top: 1px solid var(--vdm-line);
	}

	.vdm-facts li:nth-child(odd) {
		padding-left: 0;
	}
}

.vdm-hero2__media {
	position: relative;
}

.vdm-hero2__card {
	position: absolute;
	left: -48px;
	bottom: -40px;
	width: min(380px, 80%);
}

@media (max-width: 1024px) {
	.vdm-hero2__card {
		position: relative;
		left: auto;
		bottom: auto;
		width: auto;
		margin: -64px 12px 0;
	}
}

.vdm-hero2 .elementor-widget-heading h1 {
	max-width: 11ch;
}

.vdm-steps--list {
	grid-template-columns: 1fr;
	gap: 14px;
}

.vdm-steps--list li {
	grid-template-columns: 72px 1fr;
	column-gap: 20px;
	align-items: start;
	padding: 28px;
	border: 1px solid var(--vdm-line);
	border-radius: 12px;
}

.vdm-steps--list li::before {
	grid-row: span 2;
}

.vdm-feiten {
	border-bottom: 1px solid var(--vdm-line);
}

@media (min-width: 1025px) {
	.vdm-steps--list li {
		min-height: 190px;
		align-content: center;
	}
}

@media (min-width: 1000px) {
	/* On desktop the order panel shows the cross-section. */
	.vdm-conf__profile {
		display: none;
	}
}

.vdm-ring__label rect {
	fill: var(--vdm-white);
	stroke: var(--vdm-line);
}

.vdm-ring__label text {
	font-size: 13px;
	font-weight: 700;
	fill: var(--vdm-ink);
}

.vdm-ring__label .km {
	font-weight: 500;
	fill: var(--vdm-stone);
}

.vdm-ring__label--min rect {
	fill: var(--vdm-ink);
	stroke: var(--vdm-ink);
}

.vdm-ring__label--min text,
.vdm-ring__label--min .km {
	fill: var(--vdm-white);
}

/* Repeated after the desktop rules for materials, which would otherwise win. */

.vdm-ring__label text.km {
	text-anchor: start;
}

.vdm-ring__label text.eur {
	text-anchor: end;
	font-size: 13px;
}

.vdm-ring__label--min text.km,
.vdm-ring__label--min text.eur {
	fill: var(--vdm-white);
}

/* ------------------------------------------------------------------
   v1.1 (feedback Wiljan, 06-10-2026)
   ------------------------------------------------------------------ */

.vdm-dot {
	background-size: cover;
	background-position: center;
}

/* Hero price check: three materials */
.vdm-quick__group--3 {
	grid-template-columns: repeat(3, 1fr);
}

.vdm-chip--material span {
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 420px) {
	.vdm-quick__group--3 {
		grid-template-columns: 1fr;
	}

	.vdm-chip--material span {
		justify-content: flex-start;
		text-align: left;
	}
}

/* Configurator: three materials */
@media (min-width: 640px) {
	.vdm-options--materials {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.vdm-options--materials {
		grid-template-columns: 1fr;
	}

	.vdm-option--material .vdm-option__body {
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 12px;
		padding-right: 40px;
	}

	.vdm-conf .vdm-option--material img.vdm-option__swatch {
		grid-row: span 2;
		width: 88px;
		height: 72px;
		margin: 0;
	}
}

/* [vdm_profielen_rij] */
.vdm-plist {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.vdm-plist__card {
	display: grid;
	grid-template-rows: auto auto auto 1fr auto auto;
	gap: 10px;
	padding: 20px;
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: 12px;
	min-width: 0;
}

.vdm-plist__fig {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	padding: 8px 4px;
	background: var(--vdm-paper);
	border-radius: 8px;
}

.vdm-plist__fig .vdm-profile-svg {
	max-height: 100%;
}

.vdm-plist__count {
	margin: 4px 0 0;
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--vdm-stone);
}

.vdm-plist__card h3 {
	margin: 0;
	font-family: var(--vdm-display);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--vdm-ink);
}

.vdm-plist__spec {
	margin: 0;
	font-size: 0.95rem;
}

.vdm-plist__prices,
.vdm-mlist__prices {
	margin: 4px 0;
	border-top: 1px solid var(--vdm-line);
}

.vdm-plist__prices div,
.vdm-mlist__prices div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--vdm-line);
}

.vdm-plist__prices dt,
.vdm-plist__prices dd,
.vdm-mlist__prices dt,
.vdm-mlist__prices dd {
	margin: 0;
}

.vdm-plist__prices dt {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.86rem;
	line-height: 1.3;
}

.vdm-plist__prices dd,
.vdm-mlist__prices dd {
	font-family: var(--vdm-display);
	font-weight: 800;
	color: var(--vdm-ink);
	white-space: nowrap;
}

.vdm-plist__prices dd span,
.vdm-mlist__prices dd span {
	font-family: var(--vdm-body);
	font-weight: 400;
	font-size: 0.82rem;
	color: var(--vdm-stone);
}

.vdm-plist .vdm-link-arrow {
	justify-self: start;
}

.vdm-plist__note {
	margin-top: 16px;
}

@media (max-width: 1199px) {
	.vdm-plist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* [vdm_materialen] */
.vdm-mlist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.vdm-mlist__item {
	display: grid;
	grid-template-rows: auto 1fr;
	background: var(--vdm-paper);
	border: 1px solid var(--vdm-line);
	border-radius: 12px;
	overflow: clip;
	min-width: 0;
}

.vdm-mlist__photo {
	aspect-ratio: 3 / 2;
	overflow: clip;
}

body .vdm-mlist__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.vdm-mlist__body {
	display: grid;
	grid-template-rows: auto auto 1fr auto auto;
	gap: 10px;
	padding: 20px 20px 24px;
}

.vdm-mlist__colour {
	margin: 0;
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--vdm-stone);
}

.vdm-mlist__item h3 {
	margin: 0;
	font-family: var(--vdm-display);
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--vdm-ink);
}

.vdm-mlist__note {
	margin: 0;
	line-height: 1.6;
}

.vdm-mlist__price {
	margin: 0;
}

.vdm-mlist__price strong {
	font-family: var(--vdm-display);
	font-size: 1.2rem;
	color: var(--vdm-ink);
}

.vdm-mlist .vdm-link-arrow {
	justify-self: start;
}

/* Materialen page: one wide row per material */
.vdm-mlist--full {
	grid-template-columns: 1fr;
	gap: 24px;
}

.vdm-mlist--full .vdm-mlist__item {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	grid-template-rows: none;
	background: var(--vdm-white);
}

.vdm-mlist--full .vdm-mlist__photo {
	aspect-ratio: auto;
	min-height: 100%;
}

.vdm-mlist--full .vdm-mlist__body {
	grid-template-rows: none;
	align-content: center;
	padding: 40px;
}

.vdm-mlist--full .vdm-mlist__item h3 {
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.vdm-mlist--full .vdm-mlist__note {
	font-size: 1.05rem;
	max-width: 46ch;
}

.vdm-mlist--full .vdm-mlist__prices {
	max-width: 440px;
}

@media (min-width: 1000px) {
	.vdm-mlist--full .vdm-mlist__item:nth-child(even) .vdm-mlist__photo {
		order: 2;
	}
}

@media (max-width: 999px) {
	.vdm-mlist--full .vdm-mlist__item {
		grid-template-columns: 1fr;
	}

	.vdm-mlist--full .vdm-mlist__photo {
		aspect-ratio: 3 / 2;
	}

	.vdm-mlist--full .vdm-mlist__body {
		padding: 24px 20px;
	}
}

/* Phones: profile and material cards become a swipe row */
@media (max-width: 767px) {
	.vdm-plist,
	.vdm-mlist:not(.vdm-mlist--full) {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin: 0 -16px;
		padding: 0 16px 8px;
		scrollbar-width: none;
	}

	.vdm-plist::-webkit-scrollbar,
	.vdm-mlist::-webkit-scrollbar {
		display: none;
	}

	.vdm-plist__card,
	.vdm-mlist:not(.vdm-mlist--full) .vdm-mlist__item {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}
}

/* Cart: the profile cross-section as the line image */
.vdm-cart-thumb {
	display: grid;
	place-items: center;
	width: 96px;
	aspect-ratio: 4 / 3;
	padding: 6px;
	background: var(--vdm-paper);
	border-radius: 6px;
}

.vdm-cart-thumb .vdm-profile-svg {
	width: 100%;
	height: auto;
}

.vdm-cart-thumb--swatch {
	padding: 0;
	overflow: clip;
	grid-template-columns: repeat(3, 1fr);
}

.vdm-cart-thumb--swatch i {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.woocommerce-cart table.cart .product-thumbnail {
	min-width: 112px;
}

@media (max-width: 768px) {
	.woocommerce-cart table.cart .product-thumbnail {
		display: block;
	}

	.woocommerce-cart table.cart .product-thumbnail::before {
		display: none;
	}
}

/* Checkout: payment before production */
.vdm-pay-first {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-left: 3px solid var(--vdm-accent);
	background: var(--vdm-paper);
	color: var(--vdm-ink);
	font-size: 0.95rem;
}

/* [vdm_monsters] */
.vdm-samples {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.vdm-sample {
	display: grid;
	grid-template-rows: auto auto 1fr;
	background: var(--vdm-white);
	border: 1px solid var(--vdm-line);
	border-radius: 12px;
	overflow: clip;
	min-width: 0;
}

.vdm-sample__photo {
	aspect-ratio: 3 / 2;
	overflow: clip;
}

body .vdm-sample__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.vdm-sample__visual {
	display: grid;
	place-items: center;
	padding: 24px 32px;
	background: var(--vdm-paper);
	border-bottom: 1px solid var(--vdm-line);
	min-height: 230px;
}

.vdm-sample__svg {
	width: 100%;
	max-width: 360px;
}

.vdm-sample__svg[hidden] {
	display: none;
}

.vdm-sample__visual--colours {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 24px;
	align-items: start;
}

.vdm-sample__visual--colours figure {
	margin: 0;
	display: grid;
	gap: 8px;
}

body .vdm-sample__visual--colours img {
	display: block;
	width: 100%;
	aspect-ratio: 95 / 55;
	height: auto;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.6);
}

.vdm-sample__visual--colours figcaption {
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--vdm-stone);
}

.vdm-sample__body {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 24px;
}

.vdm-sample__body > p {
	margin: 0;
}

.vdm-sample__kicker {
	font-family: var(--vdm-display);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--vdm-stone);
}

.vdm-sample h3 {
	margin: 0;
	font-family: var(--vdm-display);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--vdm-ink);
}

.vdm-sample__buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--vdm-line);
}

.vdm-sample__price {
	margin: 0;
}

.vdm-sample__price strong {
	font-family: var(--vdm-display);
	font-size: 1.5rem;
	color: var(--vdm-ink);
}

@media (max-width: 899px) {
	.vdm-samples {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 599px) {
	.vdm-sample__visual {
		min-height: 0;
		padding: 16px;
	}

	.vdm-sample__body {
		padding: 20px 16px;
	}

	.vdm-sample__buy .vdm-btn {
		width: 100%;
	}
}

/* 1025 to 1199 px: the menu needs the room of the header button; "Raamdorpels"
   in the menu goes to the same configurator. */
@media (min-width: 1025px) and (max-width: 1199px) {
	body .elementor-widget.vdm-header-cta {
		display: none;
	}
}
