/**
 * Contextuele sticky keuzehulp-CTA voor apparaat- en probleempagina's.
 * Buiten de documentflow geplaatst, zodat de component geen CLS veroorzaakt.
 */
.wg-sticky-choice-cta {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 2147483000;
	display: flex;
	box-sizing: border-box;
	align-items: stretch;
	width: max-content;
	max-width: calc(100vw - 48px);
	min-height: 64px;
	overflow: hidden;
	border: 1px solid var(--wg-color-border, #e2e7ef);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 16px 46px rgba(23, 32, 51, 0.14), 0 3px 12px rgba(23, 32, 51, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 12px, 0);
	transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms, box-shadow 180ms ease;
	-webkit-tap-highlight-color: transparent;
}

.wg-sticky-choice-cta.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	transition-delay: 0s;
}

.wg-sticky-choice-cta:hover {
	box-shadow: 0 18px 50px rgba(23, 32, 51, 0.17), 0 4px 14px rgba(23, 32, 51, 0.09);
}

.wg-sticky-choice-cta__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 64px;
	padding: 9px 14px 9px 15px;
	color: var(--wg-color-text, #172033);
	font-family: var(--wg-font-family, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	text-decoration: none;
}

.wg-sticky-choice-cta__link:hover,
.wg-sticky-choice-cta__link:focus,
.wg-sticky-choice-cta__link:visited {
	color: var(--wg-color-text, #172033);
	text-decoration: none;
}

.wg-sticky-choice-cta__check {
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #eaf7f0;
	color: var(--wg-color-success, #2f855a);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
}

.wg-sticky-choice-cta__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
	white-space: nowrap;
}

.wg-sticky-choice-cta__copy strong {
	color: var(--wg-color-text, #172033);
	font-size: 14.5px;
	font-weight: 750;
	line-height: 1.2;
}

.wg-sticky-choice-cta__copy span {
	color: var(--wg-color-primary, #3568df);
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1.25;
}

.wg-sticky-choice-cta__arrow {
	flex: 0 0 auto;
	margin-left: 3px;
	color: var(--wg-color-primary, #3568df);
	font-size: 20px;
	line-height: 1;
	transition: transform 180ms ease;
}

.wg-sticky-choice-cta__link:hover .wg-sticky-choice-cta__arrow,
.wg-sticky-choice-cta__link:focus-visible .wg-sticky-choice-cta__arrow {
	transform: translateX(3px);
}

.wg-sticky-choice-cta__close {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	min-height: 64px;
	padding: 0;
	place-items: center;
	border: 0;
	border-left: 1px solid var(--wg-color-border, #e2e7ef);
	border-radius: 0;
	background: #fbfcfe;
	box-shadow: none;
	color: var(--wg-color-text-subtle, #7a8598);
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.wg-sticky-choice-cta__close:hover,
.wg-sticky-choice-cta__close:focus-visible {
	background: var(--wg-color-primary-soft, #eef4ff);
	color: var(--wg-color-primary, #3568df);
}

.wg-sticky-choice-cta__link:focus-visible,
.wg-sticky-choice-cta__close:focus-visible {
	outline: 2px solid var(--wg-color-primary, #3568df);
	outline-offset: -4px;
}

@media (max-width: 782px) {
	.wg-sticky-choice-cta {
		left: 14px;
		right: 14px;
		bottom: calc(18px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		min-height: 68px;
		border-radius: 18px;
		transform: translate3d(0, 14px, 0);
	}

	.wg-sticky-choice-cta.is-visible {
		display: flex;
		transform: translate3d(0, 0, 0);
	}

	.wg-sticky-choice-cta__link {
		flex: 1 1 auto;
		min-height: 68px;
		gap: 12px;
		padding: 9px 12px 9px 14px;
	}

	.wg-sticky-choice-cta__check {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
		font-size: 18px;
	}

	.wg-sticky-choice-cta__copy {
		flex: 1 1 auto;
		white-space: normal;
	}

	.wg-sticky-choice-cta__copy strong {
		font-size: 15px;
	}

	.wg-sticky-choice-cta__copy span {
		font-size: 12.75px;
	}

	.wg-sticky-choice-cta__close {
		flex-basis: 43px;
		width: 43px;
		min-height: 68px;
	}
}

@media (max-width: 359px) {
	.wg-sticky-choice-cta {
		left: 10px;
		right: 10px;
	}

	.wg-sticky-choice-cta__link {
		gap: 9px;
		padding-left: 11px;
	}

	.wg-sticky-choice-cta__check {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}

	.wg-sticky-choice-cta__copy strong {
		font-size: 14px;
	}

	.wg-sticky-choice-cta__copy span {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wg-sticky-choice-cta,
	.wg-sticky-choice-cta__arrow {
		transition: none;
	}
}

/* Smalle telefoons: één rustige, compacte regel per tekstniveau. */
@media (max-width: 430px) {
    .wg-sticky-choice-cta {
        left: 10px;
        right: 10px;
        min-height: 62px;
        border-radius: 16px;
    }

    .wg-sticky-choice-cta__link {
        min-height: 62px;
        gap: 9px;
        padding: 8px 9px 8px 11px;
    }

    .wg-sticky-choice-cta__check {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .wg-sticky-choice-cta__copy {
        gap: 2px;
    }

    .wg-sticky-choice-cta__copy strong {
        font-size: 13px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .wg-sticky-choice-cta__copy span {
        font-size: 11.5px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .wg-sticky-choice-cta__arrow {
        display: none;
    }

    .wg-sticky-choice-cta__close {
        flex-basis: 38px;
        width: 38px;
        min-height: 62px;
        font-size: 18px;
    }
}

@media (max-width: 350px) {
    .wg-sticky-choice-cta__link {
        gap: 7px;
        padding-left: 9px;
        padding-right: 7px;
    }

    .wg-sticky-choice-cta__check {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        font-size: 15px;
    }

    .wg-sticky-choice-cta__copy strong {
        font-size: 12px;
    }

    .wg-sticky-choice-cta__copy span {
        font-size: 10.75px;
    }

    .wg-sticky-choice-cta__close {
        flex-basis: 34px;
        width: 34px;
    }
}
