/**
 * MCO Products v3 – nachgebaut im Look der bisherigen Live-Produktsuche:
 * ein großes Suchfeld, markenfarbige Anbieter-Chips, klare Hinweiszeile.
 */

.mco-p3-wrap {
	--mco-accent: #f0a020;
	--mco-text: #0f172a;
	--mco-muted: #64748b;
	--mco-border: #e5e9f2;
	--mco-radius: 16px;

	max-width: 1140px;
	margin: 0 auto;
}

.mco-p3-search {
	display: flex;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--mco-border);
	border-radius: var(--mco-radius-lg, 20px);
	box-shadow: 0 20px 50px rgba(15, 23, 42, .10);
	padding: 12px;
}

.mco-p3-input {
	flex: 1;
	border: 1px solid var(--mco-border);
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 16px;
	background: #fbfbfd;
}

.mco-p3-submit {
	border: 0;
	border-radius: 12px;
	background: #111111;
	color: #fff;
	font-weight: 800;
	padding: 0 30px;
	cursor: pointer;
	font-size: 15px;
}

.mco-p3-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 2px 8px;
}

.mco-p3-chip {
	background: #fff;
	border: 1.5px solid;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	transition: transform .1s ease;
}

.mco-p3-chip.is-active {
	box-shadow: inset 0 0 0 1.5px currentColor;
	transform: translateY(-1px);
}

.mco-p3-hint {
	color: var(--mco-muted);
	font-size: 13px;
	margin: 0 2px 20px;
}

.mco-p3-status {
	color: var(--mco-muted);
	font-size: 14px;
	margin-bottom: 10px;
	min-height: 20px;
}

.mco-p3-results {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.mco-p3-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--mco-border);
	border-radius: var(--mco-radius);
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
	display: flex;
	flex-direction: column;
}

.mco-p3-card.is-cheapest { border-color: var(--mco-accent); box-shadow: 0 10px 28px rgba(240,160,32,.18); }

.mco-p3-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--mco-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	border-radius: 999px;
	padding: 6px 10px;
	z-index: 2;
}

.mco-p3-card-img {
	height: 150px;
	background: #f6f7fb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mco-p3-card-img img { max-width: 85%; max-height: 120px; object-fit: contain; }

.mco-p3-card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.mco-p3-card-provider {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--mco-muted);
	font-weight: 800;
}

.mco-p3-card-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mco-p3-card-price { font-size: 20px; font-weight: 900; margin-top: auto; }

.mco-p3-card-btn {
	display: block;
	text-align: center;
	background: #111111;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 10px;
	padding: 10px;
	font-weight: 800;
	margin-top: 6px;
}

@media (max-width: 640px) {
	.mco-p3-search { flex-direction: column; }
	.mco-p3-results { grid-template-columns: repeat(2, 1fr); }
}
