/*
 * Händler in der Suche (Klasse Mercurino_Haendlersuche) – von Hand gepflegt, eigenständig.
 * Farben: Designwelt v2 (docs/design/startseite.md § 6).
 */

/* ── Live-Vorschläge: Händler-Einträge (Link auf /haendler/…) ───────── */

.ct-search-results a.ct-search-item[href*="/haendler/"] .ct-media-container {
	border: 1px solid rgba(39, 76, 79, 0.14);
	background: #fff;
}

.ct-search-results a.ct-search-item[href*="/haendler/"] .ct-media-container img {
	object-fit: contain;
	padding: 3px;
}

.ct-search-results a.ct-search-item[href*="/haendler/"] .ct-media-container img[src^="data:"] {
	padding: 0;
}

.ct-search-results a.ct-search-item[href*="/haendler/"] .stock-status {
	color: #c4412d;
	font-weight: 650;
}

/* ── Suchergebnisseite: Händler-Leiste über den Produkten ─────────── */

.mrc-hsuche {
	margin: 0 0 32px;
	color: #2f4a4c;
}

.mrc-hsuche__titel {
	margin: 0 0 12px !important;
	color: #456a6d;
	font-size: 13px !important;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mrc-hsuche__liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.mrc-hsuche__liste li {
	margin: 0;
}

.mrc-hsuche__karte {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(39, 76, 79, 0.14);
	border-radius: 16px;
	background: #fff;
	color: #274c4f !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mrc-hsuche__karte:hover,
.mrc-hsuche__karte:focus-visible {
	border-color: #c4412d;
	box-shadow: 0 10px 26px rgba(24, 54, 56, 0.1);
}

.mrc-hsuche__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border: 1px solid rgba(39, 76, 79, 0.12);
	border-radius: 12px;
	background: #fff;
}

.mrc-hsuche__logo img {
	width: 100%;
	height: 100%;
	padding: 4px;
	object-fit: contain;
}

.mrc-hsuche__kuerzel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #274c4f;
	color: #fff;
	font-weight: 700;
}

.mrc-hsuche__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.mrc-hsuche__text strong {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.25;
}

.mrc-hsuche__text small {
	color: #456a6d;
	font-size: 14px;
}

.mrc-hsuche__mehr {
	flex: none;
	color: #c4412d;
	font-size: 14px;
	font-weight: 650;
	white-space: nowrap;
}

/* Kein Produkt, aber ein Händler: Blocksys „Entschuldigung, … nichts gefunden“ passt dann nicht. */
.mrc-hsuche-treffer .hero-section .page-description {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mrc-hsuche__karte {
		transition: none;
	}
}
