/* Trustpilot Reviews Carousel — geen externe afhankelijkheden. */

.tpr {
	--tpr-accent: #00b67a;
	--tpr-slides: var(--tpr-slides-desktop, 3);
	--tpr-gap: 16px;
	--tpr-radius: 4px;
	--tpr-border: #dcdce6;
	--tpr-text: #191919;
	--tpr-muted: #6b6b6b;
	position: relative;
	margin: 0 0 2rem;
	color: var(--tpr-text);
	font-family: inherit;
	box-sizing: border-box;
}

.tpr *,
.tpr *::before,
.tpr *::after {
	box-sizing: inherit;
}

.tpr__heading {
	margin: 0 0 .75rem;
	font-size: 1.5rem;
	line-height: 1.25;
}

/* ---------- Samenvatting ---------- */

.tpr__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .875rem;
	margin-bottom: 1.25rem;
}

.tpr__score {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.tpr__score-value {
	font-weight: 700;
	font-size: .95rem;
}

.tpr__count {
	color: var(--tpr-muted);
	font-size: .875rem;
}

.tpr__brand {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

.tpr__logo {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	line-height: 1;
}

.tpr__logo-star {
	width: 20px;
	height: 20px;
	display: block;
}

.tpr__logo-word {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--tpr-text);
}

/* ---------- Sterren ---------- */

.tpr-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 0;
}

.tpr-stars__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 1px;
}

.tpr-stars__box svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* ---------- Carousel ---------- */

.tpr__stage {
	position: relative;
	display: flex;
	align-items: center;
}

.tpr__viewport {
	overflow: hidden;
	flex: 1 1 auto;
	scroll-behavior: smooth;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.tpr__viewport::-webkit-scrollbar {
	display: none;
}

.tpr__track {
	display: flex;
	gap: var(--tpr-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpr__slide {
	flex: 0 0 calc((100% - (var(--tpr-slides) - 1) * var(--tpr-gap)) / var(--tpr-slides));
	scroll-snap-align: start;
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpr__slide::marker {
	content: "";
}

/* ---------- Kaart ---------- */

.tpr-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--tpr-border);
	border-radius: var(--tpr-radius);
}

.tpr-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-bottom: .75rem;
}

.tpr-card__date {
	color: var(--tpr-muted);
	font-size: .8125rem;
	white-space: nowrap;
}

.tpr-card__title {
	margin: 0 0 .5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.tpr-card__text {
	margin: 0 0 1rem;
	font-size: .9375rem;
	line-height: 1.6;
	flex: 1 1 auto;
}

.tpr-card__more {
	white-space: nowrap;
	color: var(--tpr-accent);
	text-decoration: underline;
}

.tpr-card__foot {
	display: flex;
	align-items: center;
	gap: .625rem;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: .75rem;
	border-top: 1px solid var(--tpr-border);
	font-size: .8125rem;
}

.tpr-card__author {
	font-weight: 700;
}

.tpr-card__verified {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	color: var(--tpr-accent);
}

.tpr-card__verified svg {
	width: 14px;
	height: 14px;
}

/* ---------- Navigatie ---------- */

.tpr__nav {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin: 0 .25rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--tpr-text);
	border: 1px solid var(--tpr-border);
	border-radius: 50%;
	cursor: pointer;
	transition: background .15s ease, opacity .15s ease;
}

.tpr__nav:hover {
	background: #f5f5f7;
}

.tpr__nav[disabled] {
	opacity: .35;
	cursor: default;
}

.tpr__nav svg {
	width: 18px;
	height: 18px;
}

.tpr__dots {
	display: flex;
	justify-content: center;
	gap: .375rem;
	margin-top: 1rem;
}

.tpr__dots:empty {
	display: none;
}

.tpr__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tpr-border);
	cursor: pointer;
}

.tpr__dot[aria-selected="true"] {
	background: var(--tpr-accent);
}

.tpr__footer {
	margin: .875rem 0 0;
	text-align: center;
	font-size: .875rem;
}

.tpr__footer a {
	color: var(--tpr-muted);
}

/* ---------- Responsief ---------- */

@media (max-width: 1024px) {
	.tpr {
		--tpr-slides: 2;
	}
}

@media (max-width: 680px) {
	.tpr {
		--tpr-slides: 1;
	}

	.tpr__nav {
		display: none;
	}
}

/* ---------- Admin-melding ---------- */

.tpr-notice {
	padding: .875rem 1rem;
	border-left: 4px solid #ffce00;
	background: #fff8e1;
	font-size: .9375rem;
}
