@font-face {
	font-family: 'MS PGothic';
	src: url('../fonts/ms-pgothic-regular.ttf') format('truetype');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

h1:focus {
	outline: none;
}

.velux-blue {
	background-color: rgb(217, 225, 224);
}

.velux-beige {
	background-color: rgb(235, 230, 222);
}

.border-velux-blue {
	border-color: rgb(217, 225, 224) !important;
}

/* ===== Compact Appbar ===== */
.appbar-compact {
	min-height: 40px !important;
	height: 40px !important;
}

	.appbar-compact .mud-toolbar {
		min-height: 40px !important;
		height: 40px !important;
		padding: 0 8px;
	}

.appbar-logo {
	height: 30px;
	filter: brightness(0) invert(1);
	pointer-events: none;
}

.appbar-menu-btn {
	padding: 4px !important;
	margin-left: 8px !important;
}

@media (max-width: 600px) {
	.appbar-compact {
		min-height: 36px !important;
		height: 36px !important;
	}

		.appbar-compact .mud-toolbar {
			min-height: 36px !important;
			height: 36px !important;
			padding: 0 4px;
		}

	.appbar-logo {
		height: 18px;
	}

	.mud-main-content {
		padding-top: var(--mud-appbar-height) !important;
	}

		.mud-main-content .mt-4 {
			margin-top: 0 !important;
		}
}

.whatsapp-fab {
	position: fixed;
	right: 26px;
	bottom: 60px;
	z-index: 1200;
}

/* Language selector — fixed bottom-right */
.lang-fab {
	position: fixed;
	bottom: 12px;
	right: 12px;
	z-index: 1200;
}

@media (max-width: 600px) {
	.whatsapp-fab {
		position: static;
		display: flex;
		justify-content: center;
		align-items:center;
		gap: 12px;
		padding: 8px 0;
		color: #fff;
		z-index: 1;
	}

	.lang-fab {
		position: static;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 12px;
		padding: 8px 0;
		background: var(--mud-palette-appbar-background, #594ae2);
		color: #fff;
		z-index: 1;
	}

		.lang-fab .footer-logo {
			display: block;
			height: 20px;
			filter: brightness(0) invert(1);
		}
}

@media (min-width: 601px) {
	.lang-fab .footer-logo {
		display: none;
	}
}

/* ===== MudBlazor layout offsets (no contact bar) ===== */
.mud-container--gutters {
	padding-right: 4px !important;
}

.mud-appbar.mud-appbar-fixed-top {
	top: 0 !important;
}

.mud-drawer {
	margin-top: 0 !important;
	height: calc(100vh - var(--mud-appbar-height)) !important;
}

.mud-main-content {
	padding-top: var(--mud-appbar-height) !important;
	padding-bottom: 120px !important;
}

/* ===== Cart pill button ===== */
.cart-pill {
	text-transform: none !important;
	min-width: unset !important;
	padding: 2px 10px 2px 6px !important;
	font-weight: 700;
	font-size: 0.8rem;
	border-radius: 20px !important;
	line-height: 1.4;
}

/* ===== Splash / Loading Screen ===== */
.splash-screen {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #1E3A55 0%, #14283C 100%);
	z-index: 9999;
}

.splash-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	margin-top: -5rem;
}

.splash-logo {
	width: 380px;
	animation: splashFadeIn 1s ease-out;
	filter: brightness(0) invert(1);
	margin-left: 2%;
	margin-right: 2%;
}

.splash-loader {
	display: flex;
	align-items: center;
	justify-content: center;
}

.splash-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid rgba(255, 255, 255, 0.25);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: splashSpin 0.8s linear infinite;
}

.splash-text {
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-size: 1.1rem;
	font-weight: 300;
	letter-spacing: 0.5px;
	text-align: center;
	min-height: 1.6em;
	transition: opacity 0.4s ease;
}

@keyframes splashSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes splashFadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* ===== End Splash Screen ===== */

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

	#blazor-error-ui .dismiss {
		cursor: pointer;
		position: absolute;
		right: 0.75rem;
		top: 0.5rem;
	}

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	padding: 1rem 1rem 1rem 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred."
	}

@media print {
	.no-print {
		display: none;
	}

	.print-container {
		width: 100%;
	}

	.page-break {
		page-break-after: always;
		break-after: page;
	}
}

.mud-input-control {
	margin-top: 10px;
}

/* ===== Configurator card grid ===== */

/* Equal-height cards: grid items stretch, cards fill height */
.configurator-grid.mud-grid {
	display: flex;
	flex-wrap: wrap;
}

.configurator-grid > .mud-grid-item {
	display: flex;
}

/* ===== Expanding panels — accessoire group products ===== */
.panels {
	display: flex;
	gap: 8px;
	height: clamp(400px, 65vh, 600px);
	padding: 4px 0;
}

.panels__item {
	position: relative;
	flex: 1;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	background: rgb(235, 230, 222);
	transition: flex 0.5s cubic-bezier(.4, 0, .2, 1), filter 0.4s ease;
}

.panels:hover .panels__item {
	flex: 0.6;
	filter: brightness(0.85);
}

	.panels:hover .panels__item:hover {
		flex: 3;
		filter: brightness(1);
	}

.panels__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
}

.panels__item:hover img {
	transform: scale(1.05);
}

.panels__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 40%, transparent 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 20px 12px;
	pointer-events: none;
}

.panels__label {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6);
	letter-spacing: 0.3px;
	line-height: 1.3;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	transition: font-size 0.4s ease;
}

.panels__item:hover .panels__label {
	font-size: 1.4rem;
}

.panels__check {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255,255,255,0.92);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.25);
	z-index: 1;
}

.panels__item--selected {
	outline: 3px solid var(--mud-palette-primary);
	outline-offset: -3px;
}

	.panels__item--selected::after {
		content: '';
		position: absolute;
		inset: 0;
		border-radius: 16px;
		box-shadow: inset 0 0 0 3px var(--mud-palette-primary);
		pointer-events: none;
	}

@media (max-width: 960px) {
	.panels {
		height: clamp(300px, 50vh, 450px);
	}
}

@media (max-width: 600px) {
	.panels {
		flex-direction: column;
		height: auto;
		gap: 8px;
	}

	.panels__item {
		flex: none !important;
		height: 120px;
		filter: brightness(1) !important;
	}

		.panels__item:hover img {
			transform: none;
		}

	.panels__label {
		font-size: 1.1rem;
		white-space: normal;
	}
}
/* ===== End Expanding panels ===== */

/* ===== Category cards — category selection ===== */
.category-hero {
	text-align: center;
	padding: 16px 0 0;
}

.category-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
}

.category-card {
	position: relative;
	display: flex;
	width: calc((100% - 48px) / 3);
	min-width: 380px;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	background: rgb(235, 230, 222);
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s ease;
}

	.category-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 12px 32px rgba(0,0,0,0.14);
	}

.category-card--selected {
	outline: 3px solid var(--mud-palette-primary);
	outline-offset: -3px;
	box-shadow: 0 4px 20px rgba(var(--mud-palette-primary-rgb, 33,150,243), 0.25);
}

.category-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgb(235, 230, 222);
}

	.category-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		transition: transform 0.5s cubic-bezier(.4,0,.2,1);
	}

.category-card:hover .category-card__image img {
	transform: scale(1.06);
}

.category-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
}

.category-card__check {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255,255,255,0.95);
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	z-index: 1;
}

.category-card__body {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 12px;
	flex: 1;
}

.category-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--mud-palette-text-primary);
	line-height: 1.3;
}

.category-card__desc {
	font-size: 0.85rem;
	color: var(--mud-palette-text-secondary);
	margin-top: 4px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.category-card__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 16px 14px;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-card__action {
	opacity: 1;
	transform: translateX(0);
}

/* Tablet */
@media (max-width: 960px) {
	.category-card {
		width: calc((100% - 24px) / 2);
		min-width: 280px;
	}

	.category-cards {
		gap: 16px;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.category-cards {
		gap: 12px;
	}

	.category-card {
		width: 100%;
		min-width: 0;
		flex-direction: row;
		align-items: stretch;
	}

	.category-card__image {
		width: 120px;
		min-height: 100px;
		aspect-ratio: auto;
		flex-shrink: 0;
	}

	.category-card__body {
		padding: 12px 14px;
		justify-content: center;
	}

	.category-card__action {
		opacity: 1;
		transform: none;
		padding: 12px 12px 12px 0;
		align-self: center;
	}

	.category-card:hover {
		transform: none;
	}
}
/* ===== End Category cards ===== */

.configurator-grid > .mud-grid-item > .mud-card {
	display: flex;
	flex-direction: column;
	width: 100%;
}

	.configurator-grid > .mud-grid-item > .mud-card > .mud-card-content {
		flex: 1;
		display: flex;
		flex-direction: column;
	}

/* 5 items per row on large screens (lg ≥ 1280px) */
@media (min-width: 1280px) {
	.configurator-grid > .mud-grid-item {
		flex: 0 0 20%;
		max-width: 20%;
	}
}

/* Image area */
.configurator-card-img {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	height: 380px;
}

/* Square image container — keeps photos fully visible without cropping */
.configurator-card-img-square {
	height: auto;
	aspect-ratio: 1 / 1;
}

/* Compact image for identification plates — shorter on mobile */
.configurator-card-img-compact {
	height: auto;
	aspect-ratio: 3 / 2;
}

/* Larger image for window category cards (step 0) */
.configurator-card-img-lg {
	height: auto;
	width: 100%;
	aspect-ratio: 4 / 3;
}

/* Smaller image for accessoire types & products */
.configurator-card-img-sm {
	height: auto;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.configurator-card-img img {
	transition-property: transform;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: 1s;
}

.configurator-card-img:hover img {
	transform: scale(1.05);
}

/* Description text — multiline, subtle color */
.configurator-card-desc {
	margin-top: 8px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(0,0,0,0.55);
	white-space: pre-line;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Card rounding — all configurator cards */
.configurator-grid > .mud-grid-item > .mud-card {
	border-radius: 16px;
	overflow: hidden;
}

/* ===== End Configurator card grid ===== */

/* ===== Welcome hero ===== */
.welcome-hero {
	padding: 80px 0 100px;
	min-height: 480px;
	margin-top: 80px;
}

.welcome-hero-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
	display: flex;
	align-items: center;
	gap: 64px;
}

.welcome-hero-text {
	flex: 1;
	min-width: 0;
}

.welcome-greeting {
	font-weight: 700 !important;
	margin-bottom: 8px !important;
}

.welcome-heading {
	font-weight: 600 !important;
	margin-bottom: 16px !important;
	line-height: 1.3 !important;
}

.welcome-desc {
	color: rgba(0,0,0,0.55);
	line-height: 1.7 !important;
	max-width: 560px;
}

.welcome-hero-image {
	flex: 0 0 45%;
	max-width: 45%;
}

	.welcome-hero-image img {
		width: 100%;
		height: auto;
		border-radius: 16px;
		object-fit: cover;
		max-height: 480px;
	}

@media (max-width: 960px) {
	.welcome-hero-inner {
		flex-direction: column;
		padding: 0 24px;
		gap: 40px;
	}

	.welcome-hero-image {
		flex: none;
		max-width: 100%;
		width: 100%;
	}

	.welcome-hero {
		padding: 48px 0 64px;
	}
}
/* ===== End Welcome hero ===== */

/* ===== Contact page hero ===== */
.contact-hero-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.contact-hero-image {
	flex: 0 0 38%;
	max-width: 38%;
	position: sticky;
	top: 100px;
}

	.contact-hero-image img {
		width: 100%;
		height: auto;
		border-radius: 16px;
		object-fit: cover;
		max-height: 560px;
	}

.contact-hero-form {
	flex: 1;
	min-width: 0;
}

	.contact-hero-form .mud-input-control {
		margin-top: 4px;
	}

@media (max-width: 960px) {
	.contact-hero-inner {
		flex-direction: column;
		padding: 0 16px;
		gap: 24px;
	}

	.contact-hero-image {
		flex: none;
		max-width: 100%;
		width: 100%;
		position: static;
	}
}
/* ===== End Contact page hero ===== */


/* ===== Niet-productie (App:Environment, bv. "Test" op test.dakraamonline.be) =====
   Kopbalk in paars i.p.v. Velux-blauw met gele waarschuwingsstrepen eronder, plus een strook bovenaan de pagina.
   html[data-env] wint van :root (MudBlazor-thema). */
html[data-env] {
	--mud-palette-appbar-background: #4a1d6e;
	--mud-palette-secondary: #4a1d6e;
	--mud-palette-secondary-rgb: 74, 29, 110;
}

html[data-env] .mud-appbar {
	background:
		repeating-linear-gradient(-45deg, #f5b800 0 8px, #2b0f42 8px 16px) bottom / 100% 4px no-repeat,
		#4a1d6e !important;
}

.env-banner {
	position: sticky;
	top: var(--mud-appbar-height);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 16px;
	background: #fff4cc;
	border-bottom: 1px solid #f5b800;
	color: #3a2a00;
	font-size: 0.8rem;
	line-height: 1.25;
	text-align: center;
}

	.env-banner .mud-icon-root {
		flex: none;
		color: #4a1d6e;
	}

	.env-banner b {
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #4a1d6e;
	}

/* Laadscherm van de testomgeving: paars i.p.v. rood. */
html[data-env] .splash-screen {
	background: linear-gradient(135deg, #1e1e1e 0%, #4a1d6e 100%);
}

/* ===== Korting op een offerte: berekende prijs doorstreept, prijs na korting in het groen ===== */
.price-struck {
	text-decoration: line-through;
	color: var(--mud-palette-text-secondary) !important;
}

.discount-amount {
	color: #2e7d32 !important;
}

/* ---------- Telefoonnummer / e-mailadres (PhoneLink, EmailLink): klik = keuzevenster (ContactDialog) ---------- */

.vc-contact-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    gap: 4px;
    max-width: 100%;
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--mud-palette-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vc-contact-link > span {
    min-width: 0;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 140ms ease-out;
}

.vc-contact-link:hover > span { text-decoration-color: currentColor; }
.vc-contact-link:focus-visible { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; border-radius: 4px; }

.vc-contact-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.vc-contact-head > div { display: flex; flex-direction: column; }
.vc-contact-head span { color: var(--mud-palette-text-secondary); overflow-wrap: anywhere; }

.vc-contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vc-contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 76px;
    padding: 10px 6px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: var(--mud-palette-surface);
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms ease-out, transform 120ms ease-out;
}

.vc-contact-option .mud-icon-root { color: var(--mud-palette-primary); }
.vc-contact-option:active { transform: scale(0.97); }
.vc-contact-option:focus-visible { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

@media (hover: hover) {
    .vc-contact-option:hover { background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent); }
}

/* ── Afspraken (dealdetail, agenda) ── */
.deal-detail-appointment {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 3px solid var(--mud-palette-info);
    border-radius: 6px;
    background: var(--mud-palette-surface);
    color: inherit;
    font: inherit;
    font-size: .85rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.deal-detail-appointment:hover { background: color-mix(in srgb, var(--mud-palette-info) 6%, var(--mud-palette-surface)); }
.deal-detail-appointment-past { border-left-color: var(--mud-palette-lines-default); opacity: .75; }

.agenda-day { margin-bottom: 16px; }

.agenda-day-title {
    font-weight: 700;
    font-size: .9rem;
    padding: 4px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    margin-bottom: 6px;
    text-transform: capitalize;
}

.agenda-day-today .agenda-day-title { color: var(--mud-palette-primary); }

.agenda-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: start;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--mud-palette-info);
    border-radius: 6px;
    background: var(--mud-palette-surface);
    margin-bottom: 6px;
}

.agenda-item-past { border-left-color: var(--mud-palette-lines-default); opacity: .8; }
.agenda-item-conflict { border-left-color: var(--mud-palette-warning); }
.agenda-item-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.agenda-item-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: .875rem; }

@media (max-width: 599px) {
    .agenda-item { grid-template-columns: minmax(0, 1fr) auto; }
    .agenda-item-time { grid-column: 1 / -1; }
}

.agenda-sync-url {
    display: flex;
    gap: 6px;
    align-items: center;
}

.agenda-sync-url input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    background: var(--mud-palette-background-gray);
    color: inherit;
    font: inherit;
    font-size: .8rem;
}

.agenda-sync-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: .875rem; }

/* ── Agenda: week- en maandweergave ── */
.agenda-period { font-weight: 600; }
.agenda-scroll { overflow-x: auto; padding-bottom: 4px; }

.agenda-week {
    display: grid;
    grid-template-columns: 52px repeat(7, minmax(96px, 1fr));
    min-width: 760px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    overflow: hidden;
}

.agenda-week-corner,
.agenda-week-dayhead {
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding: 6px 4px;
}

.agenda-week-dayhead {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
    text-transform: capitalize;
    border-left: 1px solid var(--mud-palette-lines-default);
}

.agenda-week-dayhead b { font-size: 1.1rem; color: var(--mud-palette-text-primary); line-height: 1.3; }

.agenda-week-dayhead.agenda-today b {
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agenda-week-hours { position: relative; }

.agenda-week-hours span {
    position: absolute;
    right: 6px;
    transform: translateY(-50%);
    font-size: .7rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.agenda-week-hours span:first-child { transform: none; }

.agenda-week-col {
    position: relative;
    border-left: 1px solid var(--mud-palette-lines-default);
    cursor: copy;
    /* uurlijnen + stippellijn op het halfuur */
    background-image:
        linear-gradient(to bottom, var(--mud-palette-lines-default) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--mud-palette-lines-default) 50%, transparent) 1px, transparent 1px);
    background-size: 100% var(--agenda-hour), 100% calc(var(--agenda-hour) / 2);
}

.agenda-weekend { background-color: color-mix(in srgb, var(--mud-palette-background-gray) 70%, transparent); }

.agenda-now {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--mud-palette-error);
    pointer-events: none;
    z-index: 2;
}

.agenda-now::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mud-palette-error);
}

.agenda-event {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 2px 5px;
    border: 0;
    border-left: 3px solid var(--mud-palette-info);
    border-radius: 4px;
    background: color-mix(in srgb, var(--mud-palette-info) 16%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: .72rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    z-index: 1;
}

.agenda-event:hover { background: color-mix(in srgb, var(--mud-palette-info) 26%, var(--mud-palette-surface)); }
.agenda-event-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.agenda-event-title, .agenda-event-sub { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-event-sub { color: var(--mud-palette-text-secondary); }

.agenda-event.agenda-conflict, .agenda-chip.agenda-conflict {
    border-left-color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 18%, var(--mud-palette-surface));
}

.agenda-event.agenda-past, .agenda-chip.agenda-past {
    border-left-color: var(--mud-palette-text-disabled);
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

.agenda-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(96px, 1fr));
    min-width: 700px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    overflow: hidden;
}

.agenda-month-head {
    padding: 6px;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
    color: var(--mud-palette-text-secondary);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.agenda-month-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 104px;
    padding: 4px;
    border-left: 1px solid var(--mud-palette-lines-default);
    border-top: 1px solid var(--mud-palette-lines-default);
    cursor: copy;
    min-width: 0;
}

.agenda-month-cell:nth-child(7n + 1) { border-left: 0; }
.agenda-month-cell:hover { background-color: color-mix(in srgb, var(--mud-palette-primary) 4%, transparent); }
.agenda-outside .agenda-month-date { color: var(--mud-palette-text-disabled); }

.agenda-month-date {
    align-self: flex-end;
    font-size: .8rem;
    font-weight: 600;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agenda-month-date.agenda-today {
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.agenda-chip {
    display: block;
    width: 100%;
    padding: 1px 5px;
    border: 0;
    border-left: 3px solid var(--mud-palette-info);
    border-radius: 3px;
    background: color-mix(in srgb, var(--mud-palette-info) 14%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: .72rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.agenda-more {
    align-self: flex-start;
    border: 0;
    background: none;
    padding: 0 4px;
    font: inherit;
    font-size: .72rem;
    font-weight: 600;
    color: var(--mud-palette-primary);
    text-align: left;
    cursor: pointer;
}

/* ===== Ons advies ("Ons advies", "Meest gekozen", …) ===== */
.advice-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: var(--advice-color, #2E7D32);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	user-select: none;
}

.advice-badge .advice-badge__star { font-size: 0.95rem; }
.advice-badge .advice-badge__info { font-size: 1rem; opacity: 0.9; margin-left: 2px; }
.advice-badge--clickable { cursor: help; }
.advice-badge--clickable:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Maatrooster: kleiner, gecentreerd bovenaan de cel */
.advice-badge--compact {
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	padding: 1px 6px 1px 5px;
	gap: 2px;
	font-size: 0.62rem;
}
.advice-badge--compact .advice-badge__star { font-size: 0.7rem; }
.advice-badge--compact .advice-badge__info { font-size: 0.75rem; margin-left: 1px; }

/* Kaartje met advies: rand in de kleur van het label (de gekozen kaart houdt haar eigen rand) */
.configurator-card--advice:not(.mud-border-primary) {
	box-shadow: 0 0 0 2px var(--advice-color), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.mud-popover.advice-popover {
	max-width: min(340px, calc(100vw - 32px)) !important;
	padding: 12px 16px 14px;
	border-top: 4px solid var(--advice-color, #2E7D32);
	border-radius: 8px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}
.advice-popover__title {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	color: var(--advice-color, #2E7D32);
	font-weight: 700;
	font-size: 0.95rem;
}
.advice-popover__body { font-size: 0.875rem; line-height: 1.5; }
.advice-popover__body p { margin: 0 0 0.5em; }
.advice-popover__body p:last-child { margin-bottom: 0; }
.advice-popover__body ul, .advice-popover__body ol { margin: 0.25em 0 0.5em; padding-left: 1.25rem; }
.advice-popover__body a { color: var(--advice-color, #2E7D32); text-decoration: underline; }

/* Beheer: klein label in tabellen */
.advice-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px 2px 6px;
	border-radius: 999px;
	background: var(--advice-color, #2E7D32);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}
.advice-label-swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

/* WYSIWYG-editor (Quill) */
.rich-text-editor__label { display: block; margin-bottom: 4px; color: var(--mud-palette-text-secondary); }
.rich-text-editor .ql-toolbar.ql-snow { border-radius: 4px 4px 0 0; border-color: var(--mud-palette-lines-inputs); }
.rich-text-editor .ql-container.ql-snow { border-radius: 0 0 4px 4px; border-color: var(--mud-palette-lines-inputs); font-family: inherit; font-size: 0.9rem; }
.rich-text-editor .ql-editor { min-height: 110px; }

/* ===== Prijsindicatie: klein chipje rechtsboven op een optie ===== */
.price-hint {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	cursor: help;
	user-select: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.price-hint--more { background: #FFE8CC; color: #9A4A00; border-color: #F2C28A; }
.price-hint--less { background: #E8F5E9; color: #1B5E20; border-color: #B9DDBB; }
.price-hint--same { background: #F3F3F3; color: #555; border-color: #DDD; }
.price-hint--base { background: #E8F5E9; color: #1B5E20; border-color: #B9DDBB; font-weight: 600; }
/* Driehoekje omhoog (duurder) of omlaag (goedkoper), in de kleur van het chipje.
   Twee driehoekjes (price-hint--large) = veel duurder/goedkoper. Samen 5 niveaus: ▲▲ ▲ ≈ ▼ ▼▼ */
.price-hint__arrows { display: inline-flex; gap: 1px; margin-right: 4px; }
.price-hint__arrow {
	display: inline-block;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}
.price-hint--more .price-hint__arrow { border-bottom: 5px solid currentColor; }
.price-hint--less .price-hint__arrow { border-top: 5px solid currentColor; }
.price-hint--compact .price-hint__arrows { margin-right: 3px; }
.price-hint--compact .price-hint__arrow { border-left-width: 3px; border-right-width: 3px; }
.price-hint--compact.price-hint--more .price-hint__arrow { border-bottom-width: 4px; }
.price-hint--compact.price-hint--less .price-hint__arrow { border-top-width: 4px; }
/* "≈" enkel op gsm (op een breed scherm staat "± zelfde prijs" er voluit) */
.price-hint__icon { display: none; }

/* Gsm: enkel het pijltje (of ≈); bedrag of procent staan in de uitleg bij tikken */
@media (max-width: 599.98px) {
	.price-hint:not(.price-hint--static):not(.price-hint--base) .price-hint__value { display: none; }
	.price-hint:not(.price-hint--static) .price-hint__arrows { margin-right: 0; }
	.price-hint__icon { display: inline; font-weight: 700; }
	.price-hint:not(.price-hint--compact):not(.price-hint--base) { padding: 3px 7px; }
}
.price-hint:focus-visible { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

/* In de beheerinstellingen: gewoon in de tekst */
.price-hint--static { position: static; box-shadow: none; cursor: default; }

/* Maatrooster: kleiner, gecentreerd onderaan in de cel (bovenaan staat eventueel het advies) */
.price-hint--compact {
	top: auto;
	bottom: 5px;
	right: 50%;
	transform: translateX(50%);
	padding: 0 5px;
	font-size: 0.62rem;
}

/* Legende onder de opties */
.price-hint-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 14px;
	font-size: 0.78rem;
	color: #555;
}
.price-hint-legend__intro { font-weight: 600; }
.price-hint-legend__item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.price-hint-legend__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	padding: 2px 6px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	line-height: 1.3;
}
.price-hint-legend__chip .price-hint__arrows { margin-right: 0; }
.price-hint-legend__help { flex-basis: 100%; color: #777; font-style: italic; }
/* Tik-uitleg enkel op touch, hover-uitleg enkel met muis */
.price-hint-legend__help--touch { display: none; }
@media (hover: none) {
	.price-hint-legend__help--touch { display: block; }
	.price-hint-legend__help--pointer { display: none; }
}

.mud-popover.price-hint-popover { --advice-color: #455A64; }
.price-hint-example {
	margin: 0 0 0.6em;
	padding: 8px 10px;
	border-radius: 6px;
	background: #F5F7F8;
	font-size: 0.82rem;
}
.price-hint-example__calc {
	margin-top: 4px;
	font-variant-numeric: tabular-nums;
	color: #333;
}
.price-hint-example__note { margin-top: 2px; font-size: 0.72rem; color: #777; }
.advice-popover__body p.price-hint-note { font-size: 0.78rem; color: #666; margin-bottom: 0.25em; }
