/* CERADOS Badmeubel 1.2.0 – configurator. Huisstijl register §7: scherpe hoeken, petrol, Poppins/Inter */
.cbm-app {
	--cbm-petrol: #0F6072;
	--cbm-petrol-donker: #0B4A58;
	--cbm-accent: #058BA7;
	--cbm-beige: #F5F0E9;
	--cbm-grijs: #F3F3F3;
	--cbm-lijn: #E2DDD5;
	--cbm-tekst: #3A3733;
	--cbm-zacht: #6B665F;
	font-family: Inter, sans-serif;
	color: var(--cbm-tekst);
	margin: 0 0 48px;
	box-sizing: border-box;
}
.cbm-app *, .cbm-app *::before, .cbm-app *::after { box-sizing: border-box; border-radius: 0 !important; }
.cbm-app [hidden] { display: none !important; }
.cbm-app p { margin: 0 0 10px; line-height: 1.6; font-size: 16px; }
/* 1.2.1: knoppen los van de themastijl (Hello Elementor zet o.a. white-space: nowrap en een roze hover) */
.cbm-app button {
	white-space: normal; text-transform: none; letter-spacing: normal; text-shadow: none;
	box-shadow: none; transition: border-color .15s, box-shadow .15s, opacity .15s;
	min-width: 0; max-width: 100%; overflow-wrap: break-word; word-break: normal; hyphens: manual;
}
.cbm-app button:hover, .cbm-app button:focus { background-color: #fff; color: var(--cbm-tekst); text-decoration: none; }

.cbm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cbm-petrol); margin-bottom: 6px; }
.cbm-kop { margin-bottom: 24px; max-width: 760px; }
.cbm-h2 { font-family: Poppins, sans-serif; font-weight: 500; font-size: 30px; line-height: 1.2; color: #000; margin: 0 0 10px; }
.cbm-intro { color: #45413C; }

/* Opbouw: desktop foto links (blijft staan), keuzes en samenvatting rechts; mobiel keuzes, foto, samenvatting */
.cbm-config {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-template-areas: "beeld stappen" "beeld samen";
	grid-template-rows: auto 1fr;
	gap: 8px 40px;
	align-items: start;
}
.cbm-stappen { grid-area: stappen; }
.cbm-beeld { grid-area: beeld; position: sticky; top: 140px; }
.cbm-samenvatting { grid-area: samen; scroll-margin-top: 140px; }
.cbm-samenvatting:focus { outline: none; }

/* Stappen */
.cbm-stap { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--cbm-lijn); }
.cbm-stap-kop { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cbm-stap-titel { font-family: Poppins, sans-serif; font-weight: 500; font-size: 18px; color: #000; }
.cbm-stap-waarde { font-size: 15px; color: var(--cbm-zacht); }
.cbm-opties { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.cbm-optie-groep { flex: 0 0 100%; font-size: 13px; font-weight: 600; color: var(--cbm-zacht); margin: 4px 0 -2px; }
.cbm-optie-groep:first-child { margin-top: 0; }

.cbm-app .cbm-optie {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 18px; margin: 0;
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center;
	color: var(--cbm-tekst); background: #fff; border: 1px solid var(--cbm-lijn);
	cursor: pointer; transition: border-color .15s, box-shadow .15s, opacity .15s;
}
.cbm-app .cbm-optie:hover, .cbm-app .cbm-optie:focus { border-color: var(--cbm-petrol); background-color: #fff; color: var(--cbm-tekst); }
.cbm-app .cbm-optie:focus-visible { outline: 2px solid var(--cbm-accent); outline-offset: 2px; }
.cbm-app .cbm-optie.is-gekozen, .cbm-app .cbm-optie.is-gekozen:hover, .cbm-app .cbm-optie.is-gekozen:focus { border-color: var(--cbm-petrol); box-shadow: inset 0 0 0 1px var(--cbm-petrol); color: #000; }
.cbm-app .cbm-optie.is-anders { opacity: .42; }
.cbm-app .cbm-optie.is-anders:hover { opacity: .8; }
.cbm-app .cbm-optie--lang { justify-content: flex-start; text-align: left; font-weight: 500; max-width: 100%; }
.cbm-optie-tekst { min-width: 0; }

/* Stalen */
.cbm-opties--stalen { gap: 12px; }
.cbm-app .cbm-staal { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 112px; min-height: 0; padding: 0; text-align: left; }
.cbm-staal-vlak { display: block; aspect-ratio: 1; background: var(--cbm-grijs); overflow: hidden; }
.cbm-staal-vlak img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cbm-staal-naam { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0; margin: 7px 8px; font-size: 13px; font-weight: 500; line-height: 1.3; max-height: calc(2 * 1.3em); }
.cbm-app .cbm-staal.is-gekozen, .cbm-app .cbm-staal.is-gekozen:hover, .cbm-app .cbm-staal.is-gekozen:focus { box-shadow: inset 0 0 0 2px var(--cbm-petrol); border-color: var(--cbm-petrol); }
.cbm-app .cbm-staal.is-gekozen .cbm-staal-vlak { margin: 2px 2px 0; }

/* Foto */
.cbm-foto { position: relative; aspect-ratio: 4 / 3; background: var(--cbm-grijs); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cbm-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cbm-geen-foto { font-size: 14px; color: var(--cbm-zacht); }
.cbm-label { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; background: #237c38; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.cbm-ook { margin-top: 16px; }
.cbm-ook-kop { font-size: 13px; font-weight: 600; color: var(--cbm-zacht); margin-bottom: 8px; }
.cbm-ook-rij { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cbm-app .cbm-mini { display: block; width: 100%; min-width: 0; padding: 0; margin: 0; background: #fff; border: 1px solid var(--cbm-lijn); cursor: pointer; text-align: left; font: inherit; color: var(--cbm-tekst); overflow: hidden; }
.cbm-app .cbm-mini:hover, .cbm-app .cbm-mini:focus { border-color: var(--cbm-petrol); background: #fff; color: var(--cbm-tekst); }
.cbm-mini-tekst { display: block; margin: 5px 7px; font-size: 12px; line-height: 1.3; height: calc(2 * 1.3em); overflow: hidden; }
.cbm-mini-regel { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbm-mini-maat { position: absolute; left: 4px; top: 4px; padding: 3px 5px; background: #fff; color: #000; font-size: 11px; font-weight: 600; line-height: 1; }

/* Samenvatting */
.cbm-keuze-titel { font-family: Poppins, sans-serif; font-weight: 500; font-size: 26px; color: #000; margin: 0 0 12px; }
.cbm-keuze-lijst { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--cbm-lijn); }
.cbm-keuze-lijst li { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--cbm-lijn); font-size: 15px; }
.cbm-keuze-lijst li > span:last-child { min-width: 0; overflow-wrap: break-word; }
.cbm-keuze-titel { overflow-wrap: break-word; }
.cbm-keuze-label { flex: 0 0 96px; color: var(--cbm-zacht); }
.cbm-app .cbm-noot { font-size: 13px; color: var(--cbm-zacht); margin: 0 0 14px; }
.cbm-keuze-status { font-size: 15px; padding: 10px 12px; background: var(--cbm-grijs); }
.cbm-keuze-status.is-ja { background: #E8F3EC; color: #1E6B34; font-weight: 600; }
.cbm-keuze-tijden { font-size: 15px; }
.cbm-knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.cbm-app .cbm-knop {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 26px;
	font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
	background: var(--cbm-petrol); color: #fff; border: 1px solid var(--cbm-petrol); cursor: pointer;
}
.cbm-app .cbm-knop:hover, .cbm-app .cbm-knop:focus { background: var(--cbm-petrol-donker); border-color: var(--cbm-petrol-donker); color: #fff; }
.cbm-app .cbm-knop--offerte { background: transparent; color: var(--cbm-petrol); }
.cbm-app .cbm-knop--offerte:hover, .cbm-app .cbm-knop--offerte:focus { background: var(--cbm-beige); color: var(--cbm-petrol-donker); border-color: var(--cbm-petrol-donker); }
.cbm-privacy { font-size: 13px !important; color: var(--cbm-zacht); }
.cbm-privacy a { color: var(--cbm-petrol); }

.cbm-leeg { background: var(--cbm-beige); padding: 24px; }

@media (max-width: 1024px) {
	.cbm-config { gap: 8px 28px; }
	.cbm-app .cbm-staal { width: 96px; }
}
@media (max-width: 767px) {
	.cbm-h2 { font-size: 24px; }
	.cbm-config { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stappen" "beeld" "samen"; grid-template-rows: auto; gap: 0; }
	.cbm-beeld { position: static; margin-bottom: 20px; }
	.cbm-stap { padding-bottom: 16px; margin-bottom: 16px; }
	/* Horizontaal schuiven */
	.cbm-opties { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
	.cbm-opties::-webkit-scrollbar { display: none; }
	.cbm-opties > * { flex: 0 0 auto; scroll-snap-align: start; }
	.cbm-opties--wastafel, .cbm-opties--lijst { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
	.cbm-opties--lijst > .cbm-optie { flex: 1 1 100%; }
	.cbm-app .cbm-staal { width: 84px; }
	.cbm-staal-naam { font-size: 12px; padding: 0; margin: 6px; }
	.cbm-app .cbm-optie { min-height: 44px; padding: 9px 14px; }
	.cbm-app .cbm-optie--lang { flex: 1 1 100%; }
	.cbm-ook-rij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cbm-mini-tekst { font-size: 13px; }
	.cbm-app .cbm-knop { width: 100%; }
	.cbm-opties > .cbm-optie-groep { flex: 0 0 100%; }
	.cbm-app .cbm-staal { padding: 0; }
}

/* 1.4.0: icoontjes, uitlegzinnen, regel naar het blok, blok "Net iets anders nodig?" */
.cbm-icoon { display: inline-flex; flex: 0 0 auto; color: var(--cbm-petrol); line-height: 0; }
.cbm-icoon svg { width: 28px; height: 28px; display: block; }
.cbm-app .cbm-optie--icoon { padding-left: 12px; gap: 10px; }
.cbm-app .cbm-stap-uitleg { font-size: 14px; color: var(--cbm-zacht); margin: -6px 0 12px; line-height: 1.5; }
.cbm-app .cbm-naar-anders {
	display: inline; margin: 12px 0 0; padding: 0; background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 14px; color: var(--cbm-petrol); text-align: left; text-decoration: underline; text-underline-offset: 3px;
}
.cbm-app .cbm-naar-anders:hover, .cbm-app .cbm-naar-anders:focus { background: none; color: var(--cbm-petrol-donker); }
.cbm-anders { margin-top: 40px; padding: 28px 32px; background: var(--cbm-beige); scroll-margin-top: 140px; max-width: 100%; }
.cbm-anders:focus { outline: none; }
.cbm-anders-titel { font-family: Poppins, sans-serif; font-weight: 500; font-size: 24px; color: #000; margin: 0 0 10px; }
.cbm-anders-lijst { margin: 0 0 14px; padding-left: 20px; columns: 2; column-gap: 32px; }
.cbm-anders-lijst li { margin: 0 0 4px; font-size: 15px; break-inside: avoid; }
.cbm-anders-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.cbm-app .cbm-anders-link { color: var(--cbm-petrol); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.cbm-app .cbm-anders-link:hover { color: var(--cbm-petrol-donker); }
@media (max-width: 767px) {
	.cbm-anders { margin-top: 28px; padding: 20px 16px; scroll-margin-top: 110px; }
	.cbm-anders-titel { font-size: 21px; }
	.cbm-anders-lijst { columns: 1; }
	.cbm-anders-knoppen { flex-direction: column; align-items: stretch; }
	.cbm-app .cbm-anders-link { text-align: center; padding: 6px 0; }
	.cbm-icoon svg { width: 24px; height: 24px; }
}

/* 1.5.0: leesbaar overzicht van het assortiment (ook zonder JavaScript) */
.cbm-overzicht { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--cbm-lijn); max-width: 980px; }
.cbm-overzicht-titel { font-family: Poppins, sans-serif; font-weight: 500; font-size: 22px; color: #000; margin: 0 0 14px; }
.cbm-overzicht-lijst { margin: 0; padding: 0; }
.cbm-overzicht-lijst > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--cbm-lijn); }
.cbm-overzicht-lijst dt { font-weight: 600; color: #000; font-size: 15px; }
.cbm-overzicht-lijst dd { margin: 0; font-size: 15px; line-height: 1.55; }
.cbm-overzicht-kleuren { margin-top: 16px; }
.cbm-overzicht-kleuren summary { cursor: pointer; font-weight: 600; color: var(--cbm-petrol); font-size: 15px; padding: 6px 0; }
.cbm-overzicht-kleuren summary:focus-visible { outline: 2px solid var(--cbm-accent); outline-offset: 2px; }
.cbm-overzicht-kleuren ul { margin: 8px 0 0; padding-left: 20px; }
.cbm-overzicht-kleuren li { font-size: 14px; line-height: 1.55; margin: 0 0 6px; }
.cbm-hoofdfoto > .cbm-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 767px) {
	.cbm-overzicht { margin-top: 28px; padding-top: 20px; }
	.cbm-overzicht-titel { font-size: 20px; }
	.cbm-overzicht-lijst > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
