.jbshp-search { position: relative; width: 100%; max-width: 560px; font-family: inherit; }
.jbshp-search--wide { max-width: 100%; width: 100%; min-width: 280px; }
.jbshp-input-wrap { position: relative; }
.jbshp-input {
	width: 100%;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid #dbeafe;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
	outline: none;
}
.jbshp-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.jbshp-spinner {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid #cbd5e1;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: jbshp-spin .7s linear infinite;
}
.jbshp-results {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	min-width: 100%;
	width: max(100%, 320px);
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(15,23,42,.12);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.jbshp-results-list {
	max-height: 320px;
	overflow: auto;
	padding: 8px;
}
.jbshp-item {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
}
.jbshp-item:hover { background: #f8fafc; }
.jbshp-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: #f1f5f9; }
.jbshp-item-title { font-weight: 700; font-size: 13px; line-height: 1.5; }
.jbshp-item-meta { font-size: 12px; color: #64748b; margin-top: 2px; }
.jbshp-empty { padding: 14px; text-align: center; color: #64748b; font-size: 13px; }
.jbshp-view-all {
	display: block;
	flex-shrink: 0;
	text-align: center;
	padding: 12px 10px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #2563eb;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
}
.jbshp-view-all:hover { background: #eff6ff; }
.jbshp-categories {
	flex-shrink: 0;
	padding: 10px 12px 12px;
	border-top: 1px solid #e2e8f0;
	background: #fff;
}
.jbshp-categories-title {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.jbshp-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.jbshp-cat-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
.jbshp-cat-chip small {
	font-weight: 400;
	color: #94a3b8;
	margin-right: 2px;
}
.jbshp-cat-chip:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}
@keyframes jbshp-spin { to { transform: rotate(360deg); } }
