/* BH-maatcalculators (plan van aanpak 24-11-2026). Lettertype en grootte erven van de
   pagina; kleuren van de site: grijstinten, en #63182F als accent: knoppen, lijnen, balk, pijlen,
   vinkjes (30-11, keuze Welby). Foutmeldingen blijven rood. */

.lho-maatcalc,
.lho-mc-uitklap {
	box-sizing: border-box;
	max-width: 760px;
	margin: 14px 0 22px;
	line-height: 1.6;
}
.lho-maatcalc *,
.lho-mc-uitklap * { box-sizing: border-box; }
.lho-maatcalc {
	text-align: left;
	padding: 18px 22px 22px;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
}
.lho-maatcalc h2 { margin: 0 0 8px; }
.lho-maatcalc h3 { margin: 0 0 8px; font-size: 1.35em; }
.lho-maatcalc h4 { margin: 14px 0 6px; }
.lho-maatcalc p { margin: 6px 0 12px; }
.lho-maatcalc [hidden] { display: none !important; }

.lho-maatcalc form {
	background: #fff;
	border: 1px solid #e0e0e0;
	padding: 16px 18px;
}
.lho-maatcalc label { display: block; font-weight: bold; margin-top: 14px; }
.lho-maatcalc .lho-mc-titel { margin-top: 0; }
.lho-maatcalc small { display: block; margin: 3px 0 7px; color: #4e4e4e; }
.lho-maatcalc input[type="text"],
.lho-maatcalc input[inputmode] {
	font: inherit;
	font-size: 1.15em;
	width: 8em;
	max-width: 100%;
	padding: 7px 10px;
	border: 1px solid #767676;
	background: #fff;
}
.lho-maatcalc #lho-huidig-maat { text-transform: uppercase; }
.lho-maatcalc select {
	display: block;
	font: inherit;
	width: 100%;
	padding: 8px;
	margin: 4px 0 6px;
	border: 1px solid #767676;
	background: #fff;
	color: inherit;
}
.lho-maatcalc input[type="radio"],
.lho-maatcalc input[type="checkbox"] { accent-color: #63182F; margin: 0; flex: 0 0 auto; }

.lho-maatcalc fieldset { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
.lho-maatcalc fieldset[data-missing] { border-left: 3px solid #b00000; padding-left: 10px; }
.lho-maatcalc [aria-invalid="true"] { border-color: #b00000; box-shadow: 0 0 0 1px #b00000; }
.lho-maatcalc legend { font-weight: bold; padding: 0; margin-bottom: 6px; }
.lho-maatcalc fieldset > label,
.lho-mc-keuzes label {
	display: flex;
	align-items: baseline;
	gap: 9px;
	font-weight: normal;
	margin: 5px 0;
	cursor: pointer;
}
.lho-mc-keuzes { display: grid; gap: 4px; }
.lho-mc-keuzes label { background: #f5f5f5; padding: 10px 12px; margin: 0; line-height: 1.4; }
.lho-maatcalc fieldset > select { margin-top: 0; }
@media screen and (min-width: 700px) {
	.lho-mc-keuzes { grid-template-columns: 1fr 1fr; }
}
.lho-mc-keuzes label:has(:checked) { background: #ebebeb; box-shadow: inset 3px 0 #63182F; }

.lho-maatcalc button {
	display: inline-block;
	margin-top: 18px;
	padding: 9px 18px;
	font: inherit;
	font-weight: bold;
	color: #fff;
	background: #63182F;
	border: 1px solid #63182F;
	min-height: 44px;
	cursor: pointer;
}
.lho-maatcalc button:hover,
.lho-maatcalc button:focus { background: #4a1223; }
.lho-maatcalc button:focus-visible,
a.lho-mc-knop:focus-visible,
.lho-mc-sluit:focus-visible { outline: 3px solid #63182F; outline-offset: 2px; }
/* Rekenknop van gemeten maten en borstvorm op een eigen regel (stond vast aan "cm"). */
.lho-maatcalc form > button[type="submit"] { display: block; }

.lho-mc-fout { color: #b00000; font-weight: bold; background: #fff0f0; padding: 9px 12px; margin: 6px 0 10px; }

.lho-mc-uitkomst {
	margin-top: 16px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-left: 4px solid #63182F;
}
.lho-mc-uitkomst:focus { outline: none; }
.lho-mc-uitkomst:focus-visible { outline: 2px solid #4e4e4e; outline-offset: 2px; }
.lho-mc-uitkomst ul { margin: 6px 0 10px; padding-left: 20px; }
.lho-mc-uitkomst li { margin: 4px 0; }
.lho-mc-bandadvies { color: #4e4e4e; }
.lho-mc-knoppen { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0 6px; }
.lho-mc-knoppen p { flex-basis: 100%; margin: 0; }
a.lho-mc-knop,
a.lho-mc-knop:visited {
	display: inline-block;
	padding: 9px 16px;
	font-weight: bold;
	color: #fff;
	background: #63182F;
	border: 1px solid #63182F;
	min-height: 44px;
	text-decoration: none;
}
a.lho-mc-knop:hover,
a.lho-mc-knop:focus { background: #4a1223; color: #fff; text-decoration: none; }
.lho-mc-zuster { color: #4e4e4e; }
.lho-mc-vervolg { margin: 8px 0 0; }
/* Disclaimer onder elke uitkomst, in kleine letters (2-12, verzoek klant). */
.lho-mc-disclaimer { margin: 12px 0 0; font-size: 0.85em; line-height: 1.4; color: #555; }

.lho-mc-uitklap > summary {
	cursor: pointer;
	font-weight: bold;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e0e0e0;
}
.lho-mc-uitklap[open] > summary { border-bottom: 0; }
.lho-mc-uitklap > .lho-maatcalc { margin: 0; }

.lho-mc-faq { max-width: 760px; margin: 10px 0 24px; }
.lho-mc-faq details { padding: 10px 0; border-bottom: 1px solid #e0e0e0; }
.lho-mc-faq summary { font-weight: bold; cursor: pointer; }
.lho-mc-faq details p { margin: 8px 0; }

.lho-mc-contact { margin-top: 18px; }
.lho-mc-link { display: inline-block; margin: 4px 0; }

/* Twee wegen bovenaan de meetpagina (30-11): grote knoppen als banner. */
.lho-mc-routes { display: grid; gap: 12px; margin: 32px 0 40px; }
@media screen and (min-width: 900px) { .lho-mc-routes { grid-template-columns: 1fr 1fr; gap: 16px; } }
.lho-mc-routes .lho-mc-routeskop { grid-column: 1 / -1; margin: 0; font-weight: bold; font-size: 1.15em; }
.lho-mc-routes a,
.lho-mc-routes a:visited {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 112px;
	padding: 20px 76px 20px 22px;
	background: #fff;
	border: 1px solid #ccc;
	border-left: 6px solid #63182F;
	color: #1d1d1d;
	text-decoration: none;
	line-height: 1.35;
	transition: border-color .15s, box-shadow .15s;
}
/* Chevron in een rondje (SVG); vult zich bij hover, wordt een vinkje na de keuze. */
.lho-mc-routes a::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 38px;
	height: 38px;
	margin-top: -19px;
	box-sizing: border-box;
	border: 1.5px solid #63182F;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2363182F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
	transition: background-color .15s, transform .15s;
}
.lho-mc-routes a:hover,
.lho-mc-routes a:focus-visible { background: #fff; border-color: #63182F; box-shadow: inset 0 0 0 1px #63182F; color: #1d1d1d; text-decoration: none; }
.lho-mc-routes a:hover::after,
.lho-mc-routes a:focus-visible::after { background: #63182F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px 22px no-repeat; transform: translateX(3px); }
.lho-mc-routes a:focus-visible { outline: 3px solid #63182F; outline-offset: 3px; }
.lho-mc-routes strong { display: block; font-weight: bold; font-size: 1.3em; margin-bottom: 4px; }
.lho-mc-routes span { color: #4e4e4e; }
/* Na de keuze: compacter; de gekozen krijgt een accentrand rondom en een vinkje. */
.lho-mc-kiezen:has([aria-current]) a { min-height: 0; }
.lho-mc-routes a[aria-current] { border-color: #63182F; box-shadow: inset 0 0 0 1px #63182F; }
.lho-mc-routes a[aria-current]::after { background: #63182F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 22px 22px no-repeat; transform: none; }
/* Keuze met afbeelding (meetlint): beeld links, tekst ernaast, verticaal gecentreerd. */
.lho-mc-routes a.lho-mc-route-beeld { flex-direction: row; justify-content: flex-start; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; padding-left: 14px; }
.lho-mc-route-beeld img { display: block; flex: 0 0 auto; width: 140px; height: 140px; }
.lho-mc-routes span.lho-mc-routetekst { display: block; color: inherit; }
.lho-mc-routes .lho-mc-routetekst > span { display: block; color: #4e4e4e; }
@media screen and (max-width: 599px) { .lho-mc-route-beeld img { width: 96px; height: 96px; } }
.lho-mc-uitklap.lho-mc-gekozen > summary { display: none; }
.lho-mc-uitklap.lho-mc-gekozen { border: 0; }

/* Stappen (30-11): teller met balk, één stap tegelijk, Vorige / Volgende. */
.lho-mc-voortgang { margin: 12px 0 4px; }
.lho-mc-teller { margin: 0 0 6px; font-weight: bold; color: #4e4e4e; }
.lho-mc-balk { height: 4px; background: #e0e0e0; }
.lho-mc-balk span { display: block; height: 100%; width: 0; background: #63182F; transition: width .2s; }
.lho-maatcalc .lho-mc-stapkop { font-size: 1.15em; margin: 14px 0 0; }
.lho-maatcalc .lho-mc-stapkop:focus { outline: none; }
.lho-maatcalc .lho-mc-stap > label:first-of-type { margin-top: 10px; }
.lho-mc-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.lho-maatcalc .lho-mc-nav button { margin-top: 0; }
.lho-maatcalc .lho-mc-nav button[type="submit"],
.lho-maatcalc .lho-mc-volgende { margin-left: auto; }
.lho-maatcalc button.lho-mc-vorige,
.lho-maatcalc button.lho-mc-aanpassen {
	color: #1d1d1d;
	background: #fff;
	border: 1px solid #767676;
	font-weight: normal;
}
.lho-maatcalc button.lho-mc-vorige:hover,
.lho-maatcalc button.lho-mc-vorige:focus,
.lho-maatcalc button.lho-mc-aanpassen:hover,
.lho-maatcalc button.lho-mc-aanpassen:focus { background: #f5f5f5; }
.lho-maatcalc button.lho-mc-aanpassen { margin-top: 10px; }
.lho-mc-knoppen button.lho-mc-knop { margin-top: 0; }

/* Brede tabel in de paginatekst: horizontaal scrollen in plaats van de hele pagina uitzoomen. */
.lho-mc-tabelrol { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Pop-up op de productpagina en bij het maatfilter. */
html.lho-mc-open { overflow: hidden; }
.lho-mc-dialoog {
	box-sizing: border-box;
	width: 640px;
	max-width: calc(100% - 32px);
	max-height: calc(100% - 32px);
	padding: 0;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.6;
	text-align: left;
}
.lho-mc-dialoog[open] { display: flex; flex-direction: column; }
.lho-mc-dialoog::backdrop { background: rgba(0, 0, 0, .5); }
.lho-mc-dialoogbalk {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 18px;
	border-bottom: 1px solid #e0e0e0;
	flex: 0 0 auto;
}
.lho-mc-dialoogbalk h2 { margin: 0; font-size: 1.2em; }
.lho-mc-dialoogbalk h2:focus { outline: none; }
.lho-mc-sluit {
	font: inherit;
	font-size: 1.8em;
	line-height: 1;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1d1d1d;
	cursor: pointer;
}
.lho-mc-sluit:hover,
.lho-mc-sluit:focus { background: #f5f5f5; }
.lho-mc-dialooginhoud { overflow-y: auto; padding: 0; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.lho-mc-dialoog .lho-maatcalc,
.lho-mc-dialoog .lho-mc-uitklap { max-width: none; margin: 0; border: 0; }
/* In de pop-up: geen kader in een kader, antwoorden onder elkaar (venster is smal). */
.lho-mc-dialoog .lho-maatcalc form { border: 0; padding: 0; background: transparent; }
.lho-mc-dialoog .lho-mc-keuzes { grid-template-columns: 1fr; }
/* Keuzescherm in de pop-up (30-11): de twee keuzes compact onder elkaar. */
.lho-mc-routes[hidden], .lho-mc-terug[hidden] { display: none; }
.lho-mc-dialoog .lho-mc-routes { grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 18px 18px 8px; }
.lho-mc-dialoog .lho-mc-routes .lho-mc-routeskop { font-size: 1.05em; }
.lho-mc-dialoog .lho-mc-routes a.lho-mc-route-beeld { min-height: 0; gap: 14px; padding: 10px 64px 10px 10px; }
.lho-mc-dialoog .lho-mc-routes a::after { right: 14px; }
.lho-mc-dialoog .lho-mc-route-beeld img { width: 72px; height: 72px; }
.lho-mc-dialoog .lho-mc-routes strong { font-size: 1.1em; margin-bottom: 2px; }
/* Maatadviesregel bovenaan de pop-up (2-12, voorbeeld klant): roze blok met icoon en pijl. */
.lho-mc-adviesregel[hidden] { display: none; }
.lho-mc-adviesregel { margin: 18px 18px 0; }
.lho-mc-adviesregel a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 44px 10px 14px; background: #fbeef1; border: 1px solid #f0d3da; border-radius: 4px; color: #63182F; font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
.lho-mc-adviesregel a svg { flex: none; }
.lho-mc-adviesregel a::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border: solid #63182F; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.lho-mc-adviesregel a:hover { background: #f8e3e8; }
.lho-mc-adviesregel a:focus-visible { outline: 3px solid #63182F; outline-offset: 2px; }
.lho-mc-terug { font: inherit; font-weight: bold; margin: 0; padding: 12px 18px 4px; min-height: 44px; border: 0; background: transparent; color: #63182F; cursor: pointer; text-align: left; }
.lho-mc-terug:hover { text-decoration: underline; }
.lho-mc-terug:focus-visible { outline: 3px solid #63182F; outline-offset: -3px; }
/* Maatadvies van het product (beheer7) als eigen scherm in de pop-up op de productpagina. */
.lho-mc-dialoog-enkel .lho-mc-advies > h2 { display: none; }
.lho-mc-adviestekst { padding: 4px 18px 16px; overflow-wrap: anywhere; }
/* Bh in confectiematen (2-12): pop-up met alleen het maatadvies. */
.lho-mc-advies-alleen .lho-mc-adviestekst { padding-top: 16px; }
.lho-mc-adviestekst table { display: block; max-width: 100%; overflow-x: auto; }
.lho-mc-adviestekst img { max-width: 100%; height: auto; }
.lho-mc-adviestekst p { margin: 6px 0 10px; }
/* Pop-up op de meetpagina: één calculator, de kop staat al in de balk. */
.lho-mc-dialoog-enkel .lho-maatcalc > h2 { display: none; }
.lho-mc-dialoog-enkel .lho-mc-uitklap { border: 0; }
.lho-mc-dialoog-enkel { height: min(760px, calc(100% - 32px)); }
/* Vaste hoogte: het grijze vlak loopt door tot onderaan (geen wit gat onder korte stappen). */
.lho-mc-dialoog-enkel .lho-mc-dialooginhoud { background: #f5f5f5; }

@media (prefers-reduced-motion: reduce) {
	.lho-mc-routes a, .lho-mc-routes a::after, .lho-mc-balk span { transition: none; }
	.lho-mc-routes a:hover::after, .lho-mc-routes a:focus-visible::after { transform: none; }
}

@media screen and (max-width: 600px) {
	.lho-maatcalc { padding: 14px 12px 16px; }
	.lho-maatcalc form { padding: 12px; }
	.lho-mc-uitkomst { padding: 12px; }
	a.lho-mc-knop,
	.lho-mc-knoppen button.lho-mc-knop { display: block; width: 100%; text-align: center; }
	.lho-mc-dialoog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; }
	/* iOS/Android: de werkbalk van de browser mag de onderkant niet afdekken. */
	@supports (height: 100dvh) { .lho-mc-dialoog { height: 100dvh; max-height: 100dvh; } }
}
