.pk-medion-highlights {
	margin: 32px 0;
	color: #202124;
}

.pk-medion-highlights__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.pk-medion-highlights__header h2 {
	margin: 0;
}

.pk-medion-highlights__all {
	flex: 0 0 auto;
	font-weight: 700;
	text-decoration: none;
}

.pk-medion-highlights__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.pk-medion-highlight-card {
	margin: 0;
	min-width: 0;
	background: #fff;
	border: 1px solid #e4e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(20, 26, 32, .07);
	transition: transform .2s ease, box-shadow .2s ease;
}

.pk-medion-highlight-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 9px 22px rgba(20, 26, 32, .13);
}

.pk-medion-highlight-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px;
	color: inherit;
	text-decoration: none !important;
}

.pk-medion-highlight-card__image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	margin-bottom: 14px;
	background: #f7f8f9;
	border-radius: 8px;
	overflow: hidden;
}

.pk-medion-highlight-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

.pk-medion-highlight-card__placeholder {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .08em;
	color: #8a939d;
}

.pk-medion-highlight-card h3 {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.35;
}

.pk-medion-highlight-card__price {
	margin: auto 0 14px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
	color: #d90012;
}

.pk-medion-highlight-card__original-price {
	margin: auto 0 3px;
	font-size: 14px;
	color: #747b83;
	text-decoration: line-through;
}

.pk-medion-highlight-card__original-price + .pk-medion-highlight-card__price {
	margin-top: 0;
}

.pk-medion-highlight-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin-top: auto;
	padding: 12px 14px;
	border-radius: 7px;
	background: #169b0b;
	color: #fff;
	font-weight: 800;
	text-align: center;
	box-shadow: 0 2px 5px rgba(22, 155, 11, .25);
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pk-medion-highlight-card__link:hover .pk-medion-highlight-card__button {
	background: #128308;
	box-shadow: 0 4px 9px rgba(22, 155, 11, .34);
}

.pk-medion-highlight-card__external-icon {
	flex: 0 0 auto;
	display: block;
}

.pk-medion-highlights__notice,
.pk-medion-highlights__updated {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #626a73;
}

.pk-medion-highlights__updated {
	margin-top: 4px;
}

.pk-medion-highlights--empty {
	padding: 16px 18px;
	background: #f7f8f9;
	border-left: 4px solid #d90012;
}

.pk-medion-highlights--empty p {
	margin: 0;
}

@media (max-width: 820px) {
	.pk-medion-highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.pk-medion-highlights__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.pk-medion-highlights__grid {
		grid-template-columns: 1fr;
	}
}

/* Preis-King Dark Mode */
html[data-theme="dark"] .pk-medion-highlights {
	color: #e2e4ec !important;
}

html[data-theme="dark"] .pk-medion-highlights__header h2,
html[data-theme="dark"] .pk-medion-highlight-card h3 {
	color: #e2e4ec !important;
}

html[data-theme="dark"] .pk-medion-highlights__all {
	color: #80c0ff !important;
}

html[data-theme="dark"] .pk-medion-highlight-card {
	background: #1e2130 !important;
	border-color: #2e3245 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .42) !important;
}

html[data-theme="dark"] .pk-medion-highlight-card:hover {
	box-shadow: 0 9px 22px rgba(0, 0, 0, .58) !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__link,
html[data-theme="dark"] .pk-medion-highlight-card__link:visited {
	color: #e2e4ec !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__image-wrap {
	background: #252838 !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__image {
	filter: none !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__placeholder,
html[data-theme="dark"] .pk-medion-highlight-card__original-price,
html[data-theme="dark"] .pk-medion-highlights__notice,
html[data-theme="dark"] .pk-medion-highlights__updated {
	color: #9aa3b2 !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__price {
	color: #80c0ff !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__button,
html[data-theme="dark"] .pk-medion-highlight-card__link:visited .pk-medion-highlight-card__button {
	background: #169b0b !important;
	color: #ffffff !important;
}

html[data-theme="dark"] .pk-medion-highlight-card__link:hover .pk-medion-highlight-card__button {
	background: #20b513 !important;
}

html[data-theme="dark"] .pk-medion-highlights--empty {
	background: #1e2130 !important;
	border-left-color: #ef5350 !important;
	color: #e2e4ec !important;
}
