/* VD Vlag Configurator – huisstijl Vlag Direct. Alles is gescoped op .vdvc zodat de rest van de site niet verandert. */
.vdvc {
	--vdvc-primary: #5c84a5;
	--vdvc-primary-hover: #537795;
	--vdvc-light: #84b1d5;
	--vdvc-grey: #eff3f6;
	--vdvc-line: #cedae4;
	--vdvc-text: #313131;
	--vdvc-error: #c0392b;
	color: var(--vdvc-text);
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	max-width: 1100px;
	margin: 0 auto;
}
.vdvc *, .vdvc *::before, .vdvc *::after { box-sizing: border-box; }

.vdvc .vdvc-step,
.vdvc .vdvc-summary {
	background: #fff;
	border: 1px solid var(--vdvc-line);
	border-radius: 16px;
	padding: 24px;
	margin: 0 0 16px;
}
.vdvc .vdvc-step-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-family: "Varela Round", "Open Sans", sans-serif;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--vdvc-text);
}
.vdvc .vdvc-num {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--vdvc-primary);
	color: #fff;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Stap 1: vlagtypes */
.vdvc .vdvc-types {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.vdvc .vdvc-type {
	cursor: pointer;
	border: 2px solid var(--vdvc-line);
	border-radius: 12px;
	padding: 10px 10px 12px;
	background: #fff;
	text-align: center;
	transition: border-color .2s, box-shadow .2s;
	outline: none;
}
.vdvc .vdvc-type:hover,
.vdvc .vdvc-type:focus-visible { border-color: var(--vdvc-light); }
.vdvc .vdvc-type.is-active {
	border-color: var(--vdvc-primary);
	box-shadow: 0 0 0 3px rgba(92, 132, 165, .18);
}
.vdvc .vdvc-type-img {
	background: var(--vdvc-grey);
	border-radius: 8px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 8px;
}
.vdvc .vdvc-type-img img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.vdvc .vdvc-type-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.vdvc .vdvc-type-price { font-size: 13px; color: var(--vdvc-primary); }

/* Velden */
.vdvc .vdvc-attrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.vdvc .vdvc-field { margin: 0 0 12px; }
.vdvc .vdvc-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 4px;
	letter-spacing: 0;
	width: auto;
}
.vdvc .vdvc-select { position: relative; display: block; }
.vdvc .vdvc-select::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--vdvc-text);
	border-bottom: 2px solid var(--vdvc-text);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.vdvc select,
.vdvc input[type="text"],
.vdvc input[type="email"],
.vdvc input[type="tel"],
.vdvc input[type="number"],
.vdvc textarea {
	width: 100%;
	background: var(--vdvc-grey);
	border: 1px solid transparent;
	border-radius: 30px !important;
	padding: 12px 20px;
	min-height: 48px;
	font: inherit;
	font-weight: 600;
	color: var(--vdvc-text);
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}
.vdvc select { padding-right: 44px; cursor: pointer; }
.vdvc textarea { border-radius: 16px !important; min-height: 110px; font-weight: 400; }
.vdvc select:focus,
.vdvc input:focus,
.vdvc textarea:focus { border-color: var(--vdvc-primary); outline: none; }

/* Aantal */
.vdvc .vdvc-qty { display: inline-flex; align-items: center; gap: 8px; }
.vdvc .vdvc-qty-btn {
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50% !important;
	background: var(--vdvc-grey) !important;
	color: var(--vdvc-text) !important;
	font-size: 22px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}
.vdvc .vdvc-qty-btn:hover { background: var(--vdvc-line) !important; }
.vdvc input.vdvc-qty-input { width: 90px; text-align: center; padding: 12px 8px; -moz-appearance: textfield; }
.vdvc input.vdvc-qty-input::-webkit-outer-spin-button,
.vdvc input.vdvc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Upload */
.vdvc .vdvc-file { display: none !important; }
.vdvc .vdvc-drop {
	position: relative;
	border: 2px dashed var(--vdvc-light);
	border-radius: 12px;
	background: var(--vdvc-grey);
	padding: 28px 16px;
	text-align: center;
	cursor: pointer;
	transition: background .2s, border-color .2s;
	outline: none;
	overflow: hidden;
}
.vdvc .vdvc-drop:hover,
.vdvc .vdvc-drop:focus-visible,
.vdvc .vdvc-drop.is-over { border-color: var(--vdvc-primary); background: #e6edf3; }
.vdvc .vdvc-drop-text strong { color: var(--vdvc-primary); }
.vdvc .vdvc-drop-sub { font-size: 12px; color: #6b7a87; margin-top: 4px; }
.vdvc .vdvc-bar { display: none; height: 6px; background: #fff; border-radius: 3px; margin-top: 14px; overflow: hidden; }
.vdvc .vdvc-drop.is-uploading { cursor: progress; }
.vdvc .vdvc-drop.is-uploading .vdvc-bar { display: block; }
.vdvc .vdvc-bar-fill { height: 100%; width: 0; background: var(--vdvc-primary); transition: width .2s; }
.vdvc .vdvc-chip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--vdvc-grey);
	border-radius: 30px;
	padding: 10px 10px 10px 20px;
	font-weight: 600;
	word-break: break-all;
}
.vdvc .vdvc-chip-remove {
	border: 0;
	background: #fff !important;
	color: var(--vdvc-text) !important;
	padding: 6px 16px;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}

/* Samenvatting */
.vdvc .vdvc-summary { background: var(--vdvc-grey); border-color: var(--vdvc-grey); }
.vdvc .vdvc-sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--vdvc-line); }
.vdvc .vdvc-sum-line span:last-child { text-align: right; font-weight: 600; }
.vdvc .vdvc-sum-line.is-total { border-bottom: 0; font-size: 18px; padding-top: 10px; }
.vdvc .vdvc-sum-line.is-total span:last-child { color: var(--vdvc-primary); font-weight: 700; }
.vdvc .vdvc-quote { margin-top: 16px; }
.vdvc .vdvc-quote-intro { margin: 0 0 12px; }
.vdvc .vdvc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.vdvc .vdvc-btn {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-top: 16px;
	border: 0;
	border-radius: 60px !important;
	background: var(--vdvc-primary) !important;
	color: #fff !important;
	font-family: "Varela Round", "Open Sans", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	padding: 12px 35px;
	cursor: pointer;
	transition: background .2s, opacity .2s;
}
.vdvc .vdvc-btn:hover { background: var(--vdvc-primary-hover) !important; }
.vdvc .vdvc-btn.is-muted { opacity: .6; }
.vdvc .vdvc-btn:disabled { opacity: .6; cursor: wait; }

.vdvc .vdvc-hint { font-size: 13px; color: #6b7a87; margin: 8px 0 0; }
.vdvc .vdvc-error { color: var(--vdvc-error); font-weight: 600; margin: 8px 0 0; }
.vdvc .vdvc-error:empty { display: none; }
.vdvc .vdvc-done:empty { display: none; }
.vdvc .vdvc-done {
	background: #fff;
	border-left: 4px solid var(--vdvc-primary);
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 16px;
	font-weight: 600;
}
.vdvc.vdvc-sent .vdvc-step,
.vdvc.vdvc-sent .vdvc-quote,
.vdvc.vdvc-sent .vdvc-btn,
.vdvc.vdvc-sent .vdvc-sum-lines { display: none; }

@media (max-width: 600px) {
	.vdvc .vdvc-step, .vdvc .vdvc-summary { padding: 18px; }
	.vdvc .vdvc-types { grid-template-columns: repeat(2, 1fr); }
}

/* Meerdere bestanden */
.vdvc .vdvc-files { display: flex; flex-direction: column; gap: 8px; }
.vdvc .vdvc-files:not(:empty) { margin-bottom: 8px; }
.vdvc .vdvc-drop.is-compact { padding: 14px 16px; border-style: dashed; background: #fff; }
.vdvc .vdvc-bar-label { display: none; font-size: 13px; margin-top: 10px; word-break: break-all; }
.vdvc .vdvc-drop.is-uploading .vdvc-bar-label { display: block; }

/* Stap 5: extra's (voet, stokkenset) */
.vdvc .vdvc-extra-group + .vdvc-extra-group { margin-top: 20px; }
.vdvc .vdvc-extra-title { font-weight: 700; margin: 0 0 8px; }
.vdvc .vdvc-extra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.vdvc .vdvc-extra {
	cursor: pointer; border: 2px solid var(--vdvc-line); border-radius: 12px; padding: 8px 8px 10px;
	background: #fff; text-align: center; outline: none; transition: border-color .2s, box-shadow .2s;
}
.vdvc .vdvc-extra:hover, .vdvc .vdvc-extra:focus-visible { border-color: var(--vdvc-light); }
.vdvc .vdvc-extra.is-active { border-color: var(--vdvc-primary); box-shadow: 0 0 0 3px rgba(92, 132, 165, .18); }
.vdvc .vdvc-extra-img {
	background: var(--vdvc-grey); border-radius: 8px; aspect-ratio: 1; display: flex; align-items: center;
	justify-content: center; overflow: hidden; margin-bottom: 6px;
}
.vdvc .vdvc-extra-img img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.vdvc .vdvc-extra-img.is-none span { font-size: 34px; color: var(--vdvc-primary); line-height: 1; }
.vdvc .vdvc-extra-name { font-weight: 700; font-size: 13px; line-height: 1.3; }
.vdvc .vdvc-extra-price { font-size: 12px; color: var(--vdvc-primary); }
@media (max-width: 600px) { .vdvc .vdvc-extra-grid { grid-template-columns: repeat(2, 1fr); } }
