.db-search-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(1, 19, 64, 0.16), 0 2px 8px rgba(1, 19, 64, 0.08);
	max-height: min(60vh, 480px);
	overflow-y: auto;
	z-index: 9999;
	padding: 8px 0;
	text-align: left;
}

.db-search-group + .db-search-group {
	border-top: 1px solid #eef0f4;
	margin-top: 4px;
	padding-top: 4px;
}

.db-search-group-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a90a0;
	padding: 10px 18px 6px;
}

.db-search-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.db-search-row:hover,
.db-search-row.is-active {
	background: rgba(254, 201, 23, 0.14);
}

.db-search-row-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	color: #011340;
	background: #f0f1f3;
	border-radius: 8px;
}

.db-search-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	background: #f0f1f3;
}

.db-search-row-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.db-search-row-title {
	font-size: 14.5px;
	font-weight: 600;
	color: #011340;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.db-search-row-title mark {
	background: #fec917;
	color: #011340;
	padding: 0 1px;
	border-radius: 2px;
}

.db-search-row-meta {
	font-size: 12.5px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.db-search-row-meta .amount {
	color: #011340;
	font-weight: 600;
}

.db-search-stars {
	color: #fec917;
	font-size: 12px;
	letter-spacing: 1px;
}

.db-search-rating-count {
	color: #9aa0ac;
}

.db-search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 4px 18px 10px;
}

.db-search-chip {
	display: inline-flex;
	align-items: center;
	background: #f0f1f3;
	border-radius: 100px;
	overflow: hidden;
}

.db-search-chip button {
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	color: #011340;
	padding: 6px 10px;
}

.db-search-chip-remove {
	color: #9aa0ac;
	font-size: 15px;
	padding-left: 0 !important;
	padding-right: 10px !important;
	line-height: 1;
}

.db-search-chip-remove:hover {
	color: #011340;
}

.db-search-empty {
	padding: 12px 18px;
	font-size: 13.5px;
	color: #6b7280;
}

.db-search-see-all {
	display: block;
	text-align: center;
	margin: 6px 12px 2px;
	padding: 10px;
	border-radius: 10px;
	background: #011340;
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
}

.db-search-see-all:hover {
	background: #0b2158;
}

@media (max-width: 782px) {
	.db-search-panel {
		max-height: min(70vh, 420px);
	}

	.db-search-row-title {
		font-size: 14px;
	}
}
