/* Kreative Search dropdown: clean, neutral, inherits the theme font. */
.kcs-panel {
	position: absolute;
	z-index: 999999;
	box-sizing: border-box;
	max-height: min(72vh, 600px);
	overflow-y: auto;
	background: #fff;
	color: #111827;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(17, 24, 39, .12);
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	overscroll-behavior: contain;
}
.kcs-panel[hidden] { display: none; }
.kcs-head {
	padding: 12px 16px 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #9ca3af;
}
.kcs-note { margin: 8px 12px 0; padding: 8px 12px; border-radius: 8px; background: #f3f4f6; color: #374151; font-size: 13px; }
.kcs-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	color: inherit;
	text-decoration: none;
	border-radius: 0;
}
.kcs-item:hover, .kcs-item.is-active, .kcs-cat.is-active, .kcs-all.is-active { background: #f3f4f6; }
.kcs-img { flex: 0 0 48px; width: 48px; height: 48px; display: block; }
.kcs-img img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #f9fafb; }
.kcs-body { flex: 1; min-width: 0; display: block; }
.kcs-title { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kcs-title mark, .kcs-cat mark { background: #e0e7ff; color: #3730a3; font-weight: 600; border-radius: 3px; padding: 0 1px; text-decoration: none; }
.kcs-sub { display: block; margin-top: 2px; font-size: 12px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kcs-side { flex: 0 0 auto; text-align: right; display: block; }
.kcs-price { display: block; font-weight: 600; white-space: nowrap; }
.kcs-stock { display: block; margin-top: 2px; font-size: 12px; white-space: nowrap; }
.kcs-stock.is-in { color: #15803d; }
.kcs-stock.is-out { color: #b91c1c; }
.kcs-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 16px 12px; }
.kcs-cat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #111827; text-decoration: none; font-size: 13px; }
.kcs-cat:hover { background: #f3f4f6; }
.kcs-count { font-size: 12px; color: #9ca3af; }
.kcs-empty { padding: 18px 16px; color: #6b7280; }
.kcs-all { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid #f3f4f6; font-weight: 500; color: #3730a3; text-decoration: none; }
.kcs-arrow { font-style: normal; }
.kcs-search-form, .kreative-search-form { display: flex; gap: 6px; }
.kreative-search-form .kreative-search-input { flex: 1; min-width: 0; }
@media (max-width: 600px) {
	.kcs-panel { border-radius: 12px; }
	.kcs-img, .kcs-img img { width: 40px; height: 40px; flex-basis: 40px; }
	.kcs-item { padding: 8px 12px; }
}
