.tlvt-comparison {
	--tlvt-border: #dfe4e7;
	--tlvt-soft: #f5f6f6;
	--tlvt-highlight: #fff8ea;
	display: grid;
	grid-template-columns: minmax(138px, 0.72fr) repeat(var(--tlvt-products), minmax(178px, 1fr));
	grid-auto-flow: dense;
	width: 100%;
	margin: 24px 0;
	border: 1px solid var(--tlvt-border);
	border-radius: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-color: var(--tlvt-primary) #e8edef;
	scrollbar-width: thin;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 40, 80, 0.08);
	font-family: inherit;
	color: #12242d;
}

.tlvt-comparison::-webkit-scrollbar {
	height: 10px;
}

.tlvt-comparison::-webkit-scrollbar-track {
	background: #e8edef;
}

.tlvt-comparison::-webkit-scrollbar-thumb {
	border: 2px solid #e8edef;
	border-radius: 999px;
	background: var(--tlvt-primary);
}

.tlvt-criterion-heading,
.tlvt-criterion-label,
.tlvt-product-head,
.tlvt-value {
	box-sizing: border-box;
	border-right: 1px solid var(--tlvt-border);
	border-bottom: 1px solid var(--tlvt-border);
}

.tlvt-criterion-heading,
.tlvt-criterion-label {
	grid-column: 1;
	grid-row: var(--tlvt-row);
}

.tlvt-criterion-heading {
	display: flex;
	align-items: flex-start;
	min-height: 270px;
	padding: 25px 18px;
	background: var(--tlvt-primary);
	color: #fff;
	font-weight: 800;
}

.tlvt-criterion-label {
	display: flex;
	align-items: center;
	min-height: 58px;
	padding: 13px 16px;
	background: var(--tlvt-soft);
	font-size: 14px;
	font-weight: 700;
}

.tlvt-product {
	display: contents;
}

.tlvt-product-head,
.tlvt-value {
	grid-column: var(--tlvt-column);
	grid-row: var(--tlvt-row);
}

.tlvt-product-head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 270px;
	padding: 22px 14px 18px;
	text-align: center;
}

.tlvt-product.is-highlighted > .tlvt-product-head,
.tlvt-product.is-highlighted > .tlvt-value {
	background: var(--tlvt-highlight);
}

.tlvt-product.is-highlighted > .tlvt-product-head {
	box-shadow: inset 0 5px 0 #f18461;
}

.tlvt-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 142px;
	margin-bottom: 12px;
	padding: 8px;
	border: 1px solid var(--tlvt-border);
	border-radius: 12px;
	background: #fff;
}

.tlvt-product-image,
.tlvt-image-link img {
	width: auto !important;
	max-width: 100% !important;
	height: 126px !important;
	object-fit: contain;
}

.tlvt-product-title {
	margin: 0 0 9px;
	color: var(--tlvt-primary);
	font-size: 16px;
	line-height: 1.28;
	font-weight: 800;
}

.tlvt-award {
	position: absolute;
	top: 30px;
	left: 24px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: calc(100% - 48px);
	min-height: 26px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #eaf2ef;
	box-shadow: 0 3px 10px rgba(0, 40, 80, 0.15);
	color: var(--tlvt-primary);
	font-size: 11px;
	line-height: 1.2;
	font-weight: 800;
}

.tlvt-product.is-highlighted .tlvt-award {
	background: var(--tlvt-primary);
	color: #fff;
}

.tlvt-value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 13px 14px;
	background: #fff;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.tlvt-criterion-label:nth-of-type(even),
.tlvt-value:nth-of-type(even) {
	background-color: #fafafa;
}

.tlvt-mobile-label {
	display: none;
}

.tlvt-result-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 11px;
	border-radius: 999px;
	background: #e7f3eb;
	color: #125c32;
	font-size: 12px;
	line-height: 1;
	font-weight: 800;
}

.tlvt-result-gut {
	background: #eaf2ef;
	color: #275d4b;
}

.tlvt-result-befriedigend,
.tlvt-result-ausreichend {
	background: #fff1cc;
	color: #725400;
}

.tlvt-result-mangelhaft,
.tlvt-result-ungenugend {
	background: #fde8e7;
	color: #8a1f17;
}

.tlvt-yes {
	color: #16733c;
	font-weight: 700;
}

.tlvt-no {
	color: #a42820;
	font-weight: 700;
}

.tlvt-empty {
	color: #7a858b;
}

.tlvt-current-price,
.tlvt-current-price a {
	color: var(--tlvt-primary);
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
}

.tlvt-current-price a:hover,
.tlvt-current-price a:focus {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tlvt-actions {
	min-height: 92px;
}

.tlvt-action-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: 100%;
}

.tlvt-affiliate-button {
	position: relative;
	width: 100%;
}

.tlvt-affiliate-button-label {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 13px;
	color: #fff;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 800;
	pointer-events: none;
}

.tlvt-affiliate-button a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	width: 100%;
	padding: 9px 13px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--tlvt-primary) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

.tlvt-affiliate-button a:hover,
.tlvt-affiliate-button a:focus {
	filter: brightness(1.16);
}

.tlvt-test-link {
	color: var(--tlvt-primary);
	font-size: 12px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.tlvt-missing-integration {
	font-size: 12px;
	color: #a42820;
}

.tlvt-message {
	padding: 12px 15px;
	border-left: 4px solid #dba617;
	background: #fff8e5;
}

@media (min-width: 1025px) {
	.tlvt-comparison > :nth-last-child(-n + 2),
	.tlvt-comparison .tlvt-actions {
		border-bottom: 0;
	}

	.tlvt-product:last-child > * {
		border-right: 0;
	}
}

@media (max-width: 1024px) {
	.tlvt-comparison {
		display: block;
		border: 0;
		border-radius: 0;
		overflow: visible;
		background: transparent;
		box-shadow: none;
	}

	.tlvt-criterion-heading,
	.tlvt-criterion-label {
		display: none;
	}

	.tlvt-product {
		display: block;
		margin-bottom: 20px;
		border: 1px solid var(--tlvt-border);
		border-radius: 16px;
		overflow: hidden;
		background: #fff;
		box-shadow: 0 9px 25px rgba(0, 40, 80, 0.08);
	}

	.tlvt-product-head,
	.tlvt-value {
		border-right: 0;
	}

	.tlvt-product-head {
		min-height: 0;
		padding: 20px 20px 16px;
	}

	.tlvt-image-link {
		max-width: 250px;
		height: 170px;
	}

	.tlvt-product-image,
	.tlvt-image-link img {
		height: 150px !important;
	}

	.tlvt-value {
		display: grid;
		grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
		gap: 14px;
		min-height: 0;
		padding: 13px 17px;
		text-align: left;
	}

	.tlvt-product > .tlvt-value:nth-child(odd) {
		background: #f7f8f8;
	}

	.tlvt-mobile-label {
		display: block;
		font-size: 13px;
		font-weight: 750;
		color: var(--tlvt-primary);
	}

	.tlvt-value-content {
		text-align: right;
	}

	.tlvt-actions {
		align-items: center;
		border-bottom: 0;
	}

	.tlvt-action-links {
		align-items: stretch;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tlvt-comparison *,
	.tlvt-comparison *::before,
	.tlvt-comparison *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
