/* Opmaak van de vlonderconfigurator (galerij, tekening, stappen, pop-ups en totaal), in de stijl van het prototype. */

.vc {
	--vc-ink: #141414;
	--vc-ink-dim: #6b6d65;
	--vc-lijn: #e3e4dd;
	--vc-groen: #007839;
	--vc-groen-licht: #e3f2e9;
	--vc-lime: #c3d600;
	--vc-lime-hover: #aec200;
	--vc-stap: #edf1ed;
	--vc-beige: #f2efe8;
	--vc-rood: #c62828;
	--vc-oranje: #b26a00;
	--vc-r: 8px;
	color: var(--vc-ink);
	box-sizing: border-box;
	line-height: 1.5;
}
.vc *, .vc *::before, .vc *::after { box-sizing: inherit; }
.vc button { font-family: inherit; }
.vc [hidden] { display: none !important; }

/* ---------- Galerij en tekening ---------- */
.vc-galerij__groot {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #eef0e9;
	border-radius: 6px;
	overflow: hidden;
}
.vc-galerij__foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-tekening { position: absolute; inset: 0; width: 100%; height: 100%; }
.vc-kantlijn { stroke: var(--vc-lime); stroke-width: 6; stroke-linecap: round; }
.vc-zijlabel { fill: var(--vc-ink); font-size: 9px; font-weight: 600; font-family: inherit; }
.vc-zijlabel-bg { fill: #fff; opacity: .92; }

.vc-duimen { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.vc-duimen__venster { flex: 1; min-width: 0; overflow: hidden; }
.vc-duimen__rij { display: flex; gap: 8px; transition: transform .3s ease; }
.vc-duim {
	flex: 0 0 calc((100% - 32px) / 5);
	min-width: 0;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 1px solid var(--vc-lijn);
	border-radius: 6px;
	background: none;
	overflow: hidden;
	cursor: pointer;
	opacity: .8;
}
.vc-duim img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-duim:hover { opacity: 1; }
.vc-duim.is-actief { border-color: var(--vc-groen); opacity: 1; }
.vc-duimen__nav {
	width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: none;
	background: var(--vc-lime); color: #000; font-size: 15px; font-weight: 700; line-height: 1;
	cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.vc-duimen__nav:disabled { opacity: .3; cursor: default; }

/* ---------- Productinfo ---------- */
.vc-info { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--vc-lijn); }
.vc-info__titel { font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.vc-info__prijs { color: var(--vc-groen); font-size: 17px; font-weight: 700; }
.vc-info__pm { color: var(--vc-ink-dim); font-size: 12.5px; font-style: italic; margin: 2px 0 10px; }
.vc-info__tekst { font-size: 13px; color: var(--vc-ink-dim); line-height: 1.55; margin-bottom: 10px; }
.vc-info__tekst p { margin: 0 0 4px; padding: 0; }
.vc-info__meer { color: var(--vc-groen); font-weight: 500; text-decoration: none; }
.vc-info__meer:hover { text-decoration: underline; }
.vc-info__specs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.vc-info__specs span { display: inline-flex; align-items: center; gap: 6px; }
.vc-info__specs svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Tabs ---------- */
.vc-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.vc-tab {
	font-size: 13.5px; font-weight: 700; color: var(--vc-ink); background: #fff;
	border: 1px solid var(--vc-lijn); border-radius: 999px; padding: 10px 20px; cursor: pointer;
}
.vc-tab.is-actief { color: #1a1a00; background: var(--vc-lime); border-color: var(--vc-lime); }
.vc-tab:hover:not(.is-actief) { border-color: var(--vc-lime); }

/* ---------- Stappen ---------- */
.vc-stappen { display: flex; flex-direction: column; gap: 12px; }
.vc-stap { background: var(--vc-stap); border-radius: var(--vc-r); overflow: hidden; }
.vc-stap__kop { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; user-select: none; }
.vc-stap__kop:focus-visible { outline: 2px solid var(--vc-groen); outline-offset: -2px; }
.vc-stap__nr {
	width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000;
	display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex-shrink: 0;
}
.vc-stap.is-klaar .vc-stap__nr { background: var(--vc-groen); color: #fff; }
.vc-stap__kop h3 { font-size: 15.5px; flex: 1; margin: 0; padding: 0; line-height: 1.3; }
.vc-stap__pijl { color: var(--vc-ink-dim); font-size: 12px; transition: transform .25s ease; }
.vc-stap.is-open .vc-stap__pijl { transform: rotate(180deg); }
.vc-stap__wrap { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .32s ease; }
.vc-stap.is-open .vc-stap__wrap { grid-template-rows: 1fr; }
.vc-stap__body { overflow: hidden; padding: 0 18px; min-height: 0; transition: padding-bottom .32s ease; }
.vc-stap.is-open .vc-stap__body { padding-bottom: 20px; }
.vc-sub { font-size: 13px; color: var(--vc-ink-dim); margin: -4px 0 16px; line-height: 1.5; }
.vc-notitie { font-size: 12.5px; color: var(--vc-ink-dim); background: var(--vc-beige); border-radius: 6px; padding: 12px 14px; line-height: 1.5; }
.vc-notitie--let { margin-top: 10px; }

/* Kaarten (vorm, lengte) */
.vc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.vc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.vc-kaart {
	border: 1px solid #fff; background: #fff; border-radius: 6px; padding: 10px 8px 12px;
	cursor: pointer; text-align: center; position: relative;
}
.vc-kaart.is-gekozen { border-color: var(--vc-groen); }
.vc-kaart.is-uit { cursor: not-allowed; background: #f3f3f3; border-color: #f3f3f3; }
.vc-kaart.is-uit .vc-kaart__maat, .vc-kaart.is-uit .vc-kaart__prijs { opacity: .5; }
.vc-kaart__ic { height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.vc-kaart__ic svg { width: 44px; height: 44px; }
.vc-kaart__lbl { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.vc-kaart__maat { font-weight: 800; font-size: 22px; height: 64px; display: flex; align-items: center; justify-content: center; }
.vc-kaart__maat span { font-size: 13px; font-weight: 600; margin-left: 4px; }
.vc-kaart__maat--mix { flex-direction: column; font-size: 20px; line-height: 1.15; }
.vc-kaart__maat--mix span { font-size: 11.5px; color: var(--vc-ink-dim); margin: 0; }
.vc-kaart__prijs { font-size: 12px; color: var(--vc-ink-dim); margin-top: -8px; }
.vc-tag {
	position: absolute; top: 6px; right: 6px; background: var(--vc-groen); color: #fff;
	font-size: 9.5px; padding: 2px 6px; border-radius: 10px; font-weight: 600;
}

/* Keuzeregels (radio) */
.vc-lijst { display: flex; flex-direction: column; gap: 10px; }
.vc-optie, .vc-check {
	display: flex; align-items: center; gap: 12px; border: 1px solid #fff; background: #fff;
	border-radius: 6px; padding: 12px 14px; cursor: pointer;
}
.vc-check { align-items: flex-start; margin-bottom: 10px; }
.vc-optie.is-gekozen, .vc-check.is-gekozen { border-color: var(--vc-groen); }
.vc-radio { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--vc-ink-dim); flex-shrink: 0; }
.vc-optie.is-gekozen .vc-radio { border-color: var(--vc-groen); background: var(--vc-groen); }
.vc-check__box { width: 16px; height: 16px; border-radius: 3px; border: 1px solid var(--vc-ink-dim); flex-shrink: 0; margin-top: 2px; }
.vc-check.is-gekozen .vc-check__box { border-color: var(--vc-groen); background: var(--vc-groen); }
.vc-optie__txt { flex: 1; font-size: 13.5px; }
.vc-optie__txt small { display: block; color: var(--vc-ink-dim); font-size: 11.5px; margin-top: 2px; }
.vc-optie__foto { width: 42px; height: 42px; border-radius: 5px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--vc-lijn); }
.vc-patroon { width: 38px; height: 38px; border-radius: 4px; flex-shrink: 0; border: 1px solid var(--vc-lijn); }
.vc-optie.is-nvt, .vc-check.is-uit { background: #f3f3f3; border-color: #f3f3f3; cursor: not-allowed; }
.vc-optie.is-nvt .vc-optie__txt, .vc-optie.is-nvt .vc-radio, .vc-optie.is-nvt .vc-optie__foto,
.vc-check.is-uit .vc-optie__txt, .vc-check.is-uit .vc-check__box { opacity: .5; }
.vc-check.is-uit .vc-optie__foto { filter: grayscale(1); opacity: .5; }
.vc-label {
	display: block; width: fit-content; margin-top: 9px; font-size: 10.5px; font-weight: 700; color: #fff;
	background: var(--vc-groen); padding: 4px 10px; border-radius: 10px;
}
.vc-label--grijs { background: #8a8a8a; margin-top: 6px; padding: 3px 9px; }

/* Info-knop */
.vc-info-btn {
	width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--vc-ink-dim); color: var(--vc-ink-dim);
	background: none; font-size: 10.5px; cursor: pointer; line-height: 1; padding: 0;
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vc-info-btn:hover, .vc-info-btn.is-aan { border-color: var(--vc-groen); color: var(--vc-groen); background: var(--vc-groen-licht); }

/* Chips (lengte onderligger, hoogte drager) */
.vc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 2px 28px; }
.vc-chips__kop { font-size: 12px; font-weight: 600; margin-right: 2px; }
.vc-chip {
	font-size: 12px; font-weight: 600; background: #fff; border: 1px solid #fff; border-radius: 999px;
	padding: 5px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--vc-ink);
}
.vc-chip.is-gekozen { border-color: var(--vc-groen); color: var(--vc-groen); }
.vc-chip:disabled { cursor: not-allowed; opacity: .5; }
.vc-chip__tag { font-size: 9.5px; font-weight: 700; color: #fff; background: var(--vc-groen); padding: 2px 7px; border-radius: 10px; }
.vc-chip__uit { font-size: 10px; font-weight: 500; }

/* Toggles (kanten, geen, lengte tab 2) */
.vc-toggles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vc-toggles--3 { grid-template-columns: repeat(3, 1fr); }
.vc-toggle {
	border: 1px solid #fff; background: #fff; border-radius: 6px; padding: 10px 6px; text-align: center;
	cursor: pointer; font-size: 13px; font-weight: 600; color: var(--vc-ink);
}
.vc-toggle small { display: block; font-size: 11px; font-weight: 500; color: var(--vc-ink-dim); }
.vc-toggle.is-gekozen { border-color: var(--vc-groen); color: var(--vc-groen); }
.vc-toggle:disabled { cursor: not-allowed; opacity: .5; }
.vc-toggle--geen { margin-bottom: 8px; color: var(--vc-ink-dim); }
.vc-toggle--info { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }

/* Maten */
.vc-maten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
.vc-maat { display: flex; flex-direction: column; gap: 5px; }
.vc-maat label { font-size: 12px; color: var(--vc-ink-dim); }
.vc-maat__inp { display: flex; align-items: stretch; background: #fff; border-radius: 6px; overflow: hidden; }
.vc-maat input {
	width: 100%; min-width: 0; border: none; padding: 9px 6px; font-size: 13.5px; font-family: inherit;
	background: transparent; color: var(--vc-ink); text-align: center; -moz-appearance: textfield; margin: 0; box-shadow: none;
}
.vc-maat input::-webkit-outer-spin-button, .vc-maat input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vc-maat__unit { padding: 0 8px; font-size: 12px; color: var(--vc-ink-dim); display: flex; align-items: center; }
.vc-plusmin {
	width: 38px; min-width: 38px; border: none; background: var(--vc-lime); color: #000; font-size: 19px;
	line-height: 1; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.vc-plusmin:hover { background: var(--vc-lime-hover); }

/* Knoppen */
.vc-knop {
	margin-top: 16px; font-size: 13.5px; font-weight: 700; padding: 11px 22px; border-radius: 999px; border: none;
	background: var(--vc-lime); color: #1a1a00; cursor: pointer;
}
.vc-knop:hover:not(:disabled) { background: var(--vc-lime-hover); }
.vc-knop:disabled { opacity: .35; cursor: not-allowed; }
.vc-knop--breed { width: 100%; margin-top: 14px; }

/* Totaal */
.vc-totaal { margin-top: 16px; background: #fff; border: 1px solid var(--vc-lijn); border-radius: var(--vc-r); padding: 20px 22px; }
.vc-totaal h2 { font-size: 16px; margin: 0 0 12px; padding: 0; }
.vc-totaal__rij { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--vc-lijn); }
.vc-totaal__rij b { white-space: nowrap; }
.vc-totaal__n { color: var(--vc-ink-dim); font-size: 11.5px; }
.vc-totaal__let { display: block; color: var(--vc-oranje); font-size: 11.5px; font-weight: 600; }
.vc-totaal__som { border-bottom: none; border-top: 1.5px solid var(--vc-ink); margin-top: 4px; padding-top: 12px; font-weight: 700; font-size: 15px; }
.vc-totaal__leeg { font-size: 11.5px; color: var(--vc-ink-dim); margin-top: 6px; }

/* Tab 2: alleen planken */
.vc-planken { max-width: 520px; }
.vc-planken .vc-toggle { border-color: var(--vc-lijn); }
.vc-planken .vc-toggle.is-gekozen { border-color: var(--vc-groen); }
.vc-veld { font-size: 13.5px; font-weight: 700; margin: 20px 0 8px; display: block; }
.vc-veld--eerst { margin-top: 0; }
.vc-hint { font-size: 12.5px; color: var(--vc-ink-dim); margin: -2px 0 10px; }
.vc-aantal { display: flex; align-items: stretch; border: 1px solid var(--vc-lijn); border-radius: 6px; overflow: hidden; width: 160px; margin: 6px 0 18px; }
.vc-aantal input { width: 100%; min-width: 0; border: none; padding: 10px 6px; font-size: 15px; text-align: center; font-family: inherit; background: transparent; -moz-appearance: textfield; margin: 0; }
.vc-aantal input::-webkit-outer-spin-button, .vc-aantal input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vc-aantal button { width: 42px; border: none; background: var(--vc-lime); color: #000; font-size: 20px; font-weight: 700; cursor: pointer; padding: 0; }
.vc-samenvatting { background: var(--vc-beige); border-radius: 6px; padding: 12px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 4px; }

/* Info-pop-up */
.vc-pop-achter { position: fixed; inset: 0; background: rgba(20, 20, 15, .4); z-index: 99998; }
.vc-pop {
	position: fixed; z-index: 99999; width: 420px; max-width: 88vw; max-height: 80vh; overflow-y: auto;
	top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28); font-size: 14px; color: #25332a; line-height: 1.6;
}
.vc-pop__sluit {
	position: absolute; top: 14px; right: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: none;
	background: var(--vc-lime); color: #1a1a00; font-size: 15px; font-weight: 700; cursor: pointer; line-height: 1;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); padding: 0;
}
.vc-pop__sluit:hover { background: var(--vc-lime-hover); }
.vc-pop__foto { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vc-pop__foto--heel { object-fit: contain; background: #fff; aspect-ratio: 1; }
.vc-pop__body { padding: 20px 26px 24px; }
.vc-pop__body--zonder { padding-top: 56px; }
.vc-pop__titel { font-size: 16px; margin: 0 0 8px; padding: 0; }
.vc-pop__body p { margin: 0 0 10px; padding: 0; }
.vc-pop__body ul { margin: 0 0 10px; padding-left: 20px; }
.vc-pop__link { color: var(--vc-groen); font-weight: 600; text-decoration: none; }
.vc-pop__link:hover { text-decoration: underline; }

/* Voorraadlabels: zelfde classes als de site; deze stijl is een terugval (lage specificiteit) */
:where(.vc) .stock-label {
	display: inline-block; font-size: 10.5px; font-weight: 700; line-height: 1.3; color: #fff;
	padding: 3px 9px; border-radius: 10px; white-space: nowrap;
}
:where(.vc) .stock-green { background: #007839; }
:where(.vc) .stock-orange { background: #e08a00; }
:where(.vc) .stock-red { background: #c62828; }
.vc-kaart .stock-label, .vc-toggle .stock-label { margin-top: 6px; }
.vc-optie__txt .stock-label, .vc-totaal__rij .stock-label, .vc-notitie .stock-label { display: table; margin-top: 6px; }
.vc-chip .stock-label { font-size: 9.5px; padding: 2px 7px; }
.vc-kaart__prijs { margin-top: -8px; }
.vc-samenvatting .stock-label { margin-top: 6px; }

/* Fase-1-weergave en meldingen */
.vc-lengtes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vc-lijn); }
.vc-lengte { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--vc-lijn); }
.vc-lengte__maat { font-weight: 600; }
.vc-voorraad { font-size: .9em; font-weight: 600; }
.vc-voorraad--instock { color: var(--vc-groen); }
.vc-voorraad--onbackorder { color: var(--vc-oranje); }
.vc-voorraad--outofstock { color: var(--vc-rood); }
.vc-melding { padding: 10px 12px; border-radius: 6px; background: var(--vc-groen-licht); font-size: .9em; }
.vc-laden { color: var(--vc-ink-dim); font-size: 13px; }

@media (max-width: 600px) {
	.vc-grid { grid-template-columns: repeat(2, 1fr); }
	.vc-toggles { grid-template-columns: repeat(2, 1fr); }
	.vc-toggles--3 { grid-template-columns: 1fr; }
	.vc-maten { grid-template-columns: 1fr; }
	.vc-chips { margin-left: 0; }
	.vc-totaal { padding: 16px; }
}
