/*
 * Schil van de Keuzehulp (Klanttools). Kleuren, hoekafronding en positie komen als variabelen uit de
 * instellingen in HQ (achteraan het pakket). Lettertype erft van de site.
 */
#hkh {
	--hkh-primary: #262626;
	--hkh-primary-dark: #000;
	--hkh-accent: #262626;
	--hkh-accent-hover: #000;
	--hkh-text: #222;
	--hkh-muted: #5c5c5c;
	--hkh-line: #dddddd;
	--hkh-soft: #f4f4f5;
	--hkh-select: #f0f0f2;
	--hkh-radius: 4px;
	--hkh-z: 99990;
	font-family: inherit;
	color: var(--hkh-text);
}

#hkh *,
#hkh *::before,
#hkh *::after {
	box-sizing: border-box;
}

/*
 * Stijlen van het thema en de Elementor-kit op knoppen, links en tekst
 * neutraliseren. Alles in de keuzehulp hangt onder #hkh, zodat deze regels
 * en de componenten hieronder altijd zwaarder wegen dan thema-regels als
 * ".elementor-kit-6 button:hover".
 */
#hkh button,
#hkh a,
#hkh select,
#hkh span,
#hkh p,
#hkh ul,
#hkh li,
#hkh img,
#hkh em,
#hkh del,
#hkh ins {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	box-shadow: none;
	background-image: none;
	min-width: 0;
	min-height: 0;
	max-height: none;
	float: none;
	transform: none;
	filter: none;
}
#hkh button {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: inherit;
	text-decoration: none;
	white-space: normal;
	vertical-align: middle;
	outline-offset: 2px;
	-webkit-appearance: none;
	appearance: none;
}
#hkh a {
	color: inherit;
	text-decoration: none;
	border: 0;
}
#hkh select {
	width: auto;
	height: auto;
	line-height: 1.3;
	-webkit-appearance: menulist;
	appearance: auto;
}
#hkh span,
#hkh em {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	background: none;
	margin: 0;
	padding: 0;
	border: 0;
}
#hkh p {
	margin: 0;
	padding: 0;
	color: inherit;
	line-height: 1.45;
}
#hkh ul,
#hkh li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}
#hkh li::before,
#hkh li::after,
#hkh button::after {
	content: none;
}
#hkh img {
	max-width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Knop rechtsonder */
#hkh .hkh-launch {
	position: fixed;
	z-index: var(--hkh-z);
	bottom: var(--hkh-y, 24px);
	right: var(--hkh-x, 24px);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 12px 18px;
	border: 1px solid var(--hkh-accent);
	border-radius: var(--hkh-radius);
	background: var(--hkh-accent);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
	transition: background-color 0.2s ease, color 0.2s ease;
}
#hkh.hkh--left .hkh-launch {
	right: auto;
	left: var(--hkh-x, 24px);
}
@media (hover: hover) {
	#hkh .hkh-launch:hover {
		background: var(--hkh-accent-hover);
		border-color: var(--hkh-accent-hover);
		color: #fff;
	}
}
#hkh .hkh-launch:focus-visible,
#hkh button:focus-visible,
#hkh a:focus-visible,
#hkh select:focus-visible {
	outline: 2px solid var(--hkh-primary);
	outline-offset: 2px;
}
#hkh .hkh-badge {
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	background: #fff;
	color: var(--hkh-text);
}
#hkh.is-open .hkh-launch {
	visibility: hidden;
}

/* Paneel */
#hkh .hkh-backdrop {
	position: fixed;
	inset: 0;
	z-index: calc(var(--hkh-z) + 1);
	background: rgba(0, 0, 0, 0.25);
}
#hkh .hkh-panel {
	position: fixed;
	z-index: calc(var(--hkh-z) + 2);
	bottom: var(--hkh-y, 24px);
	right: var(--hkh-x, 24px);
	width: 400px;
	max-width: calc(100vw - 32px);
	height: min(640px, calc(100vh - 48px));
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hkh-line);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(149, 157, 165, 0.25);
	overflow: hidden;
	animation: hkh-in 0.18s ease-out;
}
#hkh.hkh--left .hkh-panel {
	right: auto;
	left: var(--hkh-x, 24px);
}
#hkh .hkh-panel[hidden],
#hkh .hkh-backdrop[hidden] {
	display: none;
}
@keyframes hkh-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

#hkh .hkh-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 12px 12px 16px;
	border-bottom: 1px solid var(--hkh-line);
}
#hkh .hkh-title {
	flex: 1;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--hkh-text);
}
#hkh .hkh-head button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--hkh-radius);
	background: transparent;
	color: var(--hkh-text);
	cursor: pointer;
}
#hkh .hkh-head button:hover {
	background: var(--hkh-soft);
}
#hkh .hkh-head button[hidden] {
	display: none;
}

#hkh .hkh-progress {
	height: 3px;
	background: var(--hkh-soft);
}
#hkh .hkh-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--hkh-primary);
	transition: width 0.25s ease;
}

#hkh .hkh-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	overscroll-behavior: contain;
}
#hkh .hkh-body.is-loading {
	opacity: 0.55;
	pointer-events: none;
}
#hkh .hkh-foot {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--hkh-line);
}
#hkh .hkh-foot:empty {
	display: none;
}

#hkh .hkh-step {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--hkh-muted);
}
#hkh .hkh-q {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hkh-text);
	outline: none;
}
#hkh .hkh-help {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--hkh-muted);
}

/* Opties */
#hkh .hkh-opts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Maatraster */
#hkh .hkh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	gap: 6px;
}
#hkh .hkh-size {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-height: 52px;
	margin: 0;
	padding: 6px 4px;
	border: 1px solid var(--hkh-line);
	border-radius: var(--hkh-radius);
	background: #fff;
	color: var(--hkh-text);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
#hkh .hkh-size[hidden] {
	display: none;
}
#hkh .hkh-size-label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--hkh-text);
}
#hkh .hkh-size-count {
	font-size: 11px;
	line-height: 1.2;
	color: var(--hkh-muted);
}
@media (hover: hover) {
	#hkh .hkh-size:hover {
		border-color: var(--hkh-primary);
		background: var(--hkh-select);
	}
}
#hkh .hkh-size:active {
	border-color: var(--hkh-primary);
	background: var(--hkh-select);
}
#hkh .hkh-grid + .hkh-opt,
#hkh .hkh-grid ~ .hkh-opt.is-any {
	margin-top: 10px;
}
#hkh .hkh-opt {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid var(--hkh-line);
	border-radius: var(--hkh-radius);
	background: #fff;
	color: var(--hkh-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
@media (hover: hover) {
	#hkh .hkh-opt:hover {
		border-color: var(--hkh-primary);
		background: var(--hkh-select);
	}
}
#hkh .hkh-opt:active {
	border-color: var(--hkh-primary);
	background: var(--hkh-select);
}
#hkh .hkh-opt[hidden] {
	display: none;
}
#hkh .hkh-opt.is-any {
	margin-top: 8px;
}
#hkh .hkh-opt-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
#hkh .hkh-opt-label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hkh-text);
}
#hkh .hkh-opt-sub {
	display: block;
	font-size: 13px;
	line-height: 1.35;
	color: var(--hkh-muted);
}
#hkh .hkh-opt-count {
	min-width: 32px;
	font-size: 13px;
	color: var(--hkh-muted);
	text-align: right;
}

/* Knoppen */
#hkh .hkh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 11px 16px;
	border: 1px solid var(--hkh-primary);
	border-radius: var(--hkh-radius);
	background: var(--hkh-primary);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) {
	#hkh .hkh-btn:hover {
		background: var(--hkh-primary-dark);
		border-color: var(--hkh-primary-dark);
		color: #fff;
	}
}
#hkh .hkh-btn--ghost {
	background: #fff;
	color: var(--hkh-primary);
}
@media (hover: hover) {
	#hkh .hkh-btn--ghost:hover {
		background: var(--hkh-primary);
		border-color: var(--hkh-primary);
		color: #fff;
	}
}
#hkh .hkh-btn--small {
	width: auto;
	padding: 7px 12px;
	font-size: 14px;
}
#hkh .hkh-btn[disabled] {
	opacity: 0.7;
	cursor: default;
	transform: none;
}
#hkh .hkh-btn.is-done,
#hkh .hkh-btn.is-done:hover {
	background: var(--hkh-select);
	color: var(--hkh-primary);
	border-color: var(--hkh-primary);
	opacity: 1;
	transform: none;
}
#hkh .hkh-btn.is-done::before {
	content: "";
	width: 10px;
	height: 6px;
	margin: -3px 8px 0 0;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}
#hkh .hkh-more {
	margin-top: 12px;
}
#hkh .hkh-link {
	display: block;
	margin: 10px 0 0;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--hkh-primary);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
#hkh .hkh-foot .hkh-link {
	margin: 0;
	align-self: center;
}

/* Resultaten */
#hkh .hkh-res-head .hkh-q {
	margin-bottom: 10px;
}
#hkh .hkh-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}
#hkh .hkh-chip {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid var(--hkh-line);
	border-radius: 999px;
	background: var(--hkh-soft);
	color: var(--hkh-text);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
#hkh .hkh-chip:hover {
	border-color: var(--hkh-primary);
}
#hkh .hkh-chip-q {
	color: var(--hkh-muted);
}
#hkh .hkh-chip-x {
	margin-left: 4px;
	font-size: 15px;
	line-height: 1;
	color: var(--hkh-muted);
}
#hkh .hkh-sort {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--hkh-muted);
}
#hkh .hkh-sort select {
	margin: 0;
	padding: 5px 8px;
	border: 1px solid var(--hkh-line);
	border-radius: var(--hkh-radius);
	background: #fff;
	color: var(--hkh-text);
	font: inherit;
	font-size: 13px;
	max-width: 60%;
}
#hkh .hkh-items {
	list-style: none;
	margin: 0;
	padding: 0;
}
#hkh .hkh-item {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--hkh-line);
}
#hkh .hkh-item:last-child {
	border-bottom: 0;
}
#hkh .hkh-item-img {
	flex: 0 0 88px;
	display: block;
	width: 88px;
	height: 88px;
	border: 1px solid var(--hkh-line);
	border-radius: var(--hkh-radius);
	overflow: hidden;
	background: #fff;
}
#hkh .hkh-item-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
#hkh .hkh-item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}
#hkh .hkh-item-brand {
	font-size: 12px;
	color: var(--hkh-muted);
}
#hkh .hkh-item-name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hkh-text);
	text-decoration: none;
}
#hkh .hkh-item-name:hover {
	color: var(--hkh-primary);
	text-decoration: underline;
}
#hkh .hkh-item-size {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--hkh-muted);
}
#hkh .hkh-item-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
#hkh .hkh-item-select {
	width: auto;
	min-width: 0;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 6px 8px;
	border: 1px solid var(--hkh-line);
	border-radius: var(--hkh-radius);
	background: #fff;
	color: var(--hkh-text);
	font-size: 14px;
	line-height: 1.3;
}
#hkh .hkh-item-select.is-missing {
	border-color: #b32d2e;
	box-shadow: 0 0 0 1px #b32d2e;
}
#hkh .hkh-item-select:disabled {
	opacity: 0.7;
}
#hkh .hkh-item-msg {
	margin: 6px 0 0;
	font-size: 13px;
	color: #b32d2e;
}
#hkh .hkh-item-price {
	font-size: 14px;
	color: var(--hkh-text);
	margin-bottom: 4px;
}
#hkh .hkh-item-price del {
	color: var(--hkh-muted);
	margin-right: 4px;
}
#hkh .hkh-item-price ins {
	text-decoration: none;
	color: #c4161c;
}
#hkh .hkh-unit {
	color: var(--hkh-muted);
	font-size: 13px;
}
#hkh .hkh-ask {
	color: var(--hkh-muted);
	font-style: italic;
}
#hkh .hkh-showroom {
	margin: 16px 0 4px;
	padding: 12px 0 0;
	border-top: 1px solid var(--hkh-line);
	color: var(--hkh-text);
	font-size: 14px;
	line-height: 1.45;
}
#hkh .hkh-showroom a {
	color: var(--hkh-primary);
	font-weight: 600;
	text-decoration: underline;
}

#hkh .hkh-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px 10px 16px;
	border-top: 1px solid var(--hkh-line);
	background: var(--hkh-select);
	font-size: 14px;
}
#hkh .hkh-notice span {
	flex: 1;
}
#hkh .hkh-notice-x {
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--hkh-muted);
	font-size: 18px;
	cursor: pointer;
}
#hkh .hkh-msg p {
	margin: 0 0 12px;
}

/* Mobiel: onderblad */
@media (max-width: 600px) {
	#hkh .hkh-launch {
		bottom: var(--hkh-my, 16px);
		right: var(--hkh-mx, 16px);
		left: auto;
		padding: 11px 14px;
		font-size: 14px;
	}
	#hkh.hkh--m-left .hkh-launch {
		right: auto;
		left: var(--hkh-mx, 16px);
	}
	#hkh .hkh-panel,
	#hkh.hkh--left .hkh-panel {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: 88vh;
		max-height: 88dvh;
		border-radius: 12px 12px 0 0;
		border-bottom: 0;
		animation-name: hkh-up;
	}
	#hkh .hkh-body {
		min-height: 200px;
	}
	#hkh .hkh-foot {
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}
	html.hkh-lock,
	html.hkh-lock body {
		overflow: hidden;
	}
	@keyframes hkh-up {
		from {
			transform: translateY(100%);
		}
		to {
			transform: none;
		}
	}
}
@media (min-width: 601px) {
	#hkh .hkh-backdrop {
		background: transparent;
	}
}

@media (prefers-reduced-motion: reduce) {
	#hkh .hkh-panel,
	#hkh .hkh-launch,
	#hkh .hkh-btn,
	#hkh .hkh-opt,
	#hkh .hkh-progress span {
		animation: none !important;
		transition: none !important;
	}
	#hkh .hkh-launch:hover,
	#hkh .hkh-btn:hover {
		transform: none;
	}
}
#hkh .hkh-load {
	padding: 24px 0;
	text-align: center;
	color: var(--hkh-muted);
}

/* Voorraad bij een product (als de shop een voorraadtekst heeft) */
#hkh .hkh-item-stock {
	display: block;
	font-size: 12px;
	color: #c26a00;
}
#hkh .hkh-item-stock.is-good {
	color: #308305;
}

/* Resultaten als raster: twee kaarten naast elkaar met een grote foto */
#hkh .hkh-items--raster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
}
#hkh .hkh-items--raster .hkh-item {
	flex-direction: column;
	gap: 8px;
	padding: 0;
	border-bottom: 0;
	min-width: 0;
}
#hkh .hkh-items--raster .hkh-item-img {
	flex: none;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}
#hkh .hkh-items--raster .hkh-item-img img {
	transition: transform 0.3s ease;
}
@media (hover: hover) {
	#hkh .hkh-items--raster .hkh-item-img:hover {
		border-color: var(--hkh-primary);
	}
	#hkh .hkh-items--raster .hkh-item-img:hover img {
		transform: scale(1.04);
	}
}
#hkh .hkh-items--raster .hkh-item-info {
	flex: 1 1 auto;
	align-items: stretch;
}
#hkh .hkh-items--raster .hkh-item-name {
	font-size: 13px;
	font-weight: 400;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}
#hkh .hkh-items--raster .hkh-item-info > .hkh-btn,
#hkh .hkh-items--raster .hkh-item-buy {
	margin-top: auto;
}
#hkh .hkh-items--raster .hkh-item-info > .hkh-btn {
	width: 100%;
	justify-content: center;
	text-align: center;
}

#hkh{--hkh-primary:#c29742;--hkh-primary-dark:#a87f31;--hkh-accent:#c29742;--hkh-accent-hover:#a87f31;--hkh-text:#212529;--hkh-muted:#6c757d;--hkh-line:#dee2e6;--hkh-soft:#f8f9fa;--hkh-select:#faf5ea;--hkh-radius:6px;--hkh-x:20px;--hkh-y:20px;--hkh-mx:12px;--hkh-my:16px}
#jws-kh{display:none!important}