/* Shaw-Style Live Search — base styling. Adjust colors/fonts to match your theme. */


.search-results-wrap {
	margin-top: 25px;
}

.search-results-outer {
	position: relative;
}

.search-count {
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
}

/* Scrollable results panel, matching the reference site's fixed-height
   list with a visible scrollbar. Adjust max-height to taste. */
.search-results-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 360px;
	overflow-y: auto;
	padding-right: 14px; /* room for the scrollbar so text doesn't hug it */
}

/* Custom scrollbar (WebKit browsers) */
.search-results-list::-webkit-scrollbar {
	width: 6px;
}
.search-results-list::-webkit-scrollbar-track {
	background: #eee;
}
.search-results-list::-webkit-scrollbar-thumb {
	background: #333;
	border-radius: 3px;
}

/* Firefox */
.search-results-list {
	scrollbar-width: thin;
	scrollbar-color: #333 #eee;
}

.search-result-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 16px 20px;
	background: #f7f7f7;
	border-left: 4px solid #d4a017; /* accent color */
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.search-result-item:hover {
	background: #efefef;
}

.search-result-item .sri-thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	flex-shrink: 0;
}

.search-result-item .sri-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.search-result-item .sri-title {
	font-size: 17px;
	font-weight: 500;
	color: #222;
}

.search-result-item .sri-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	font-size: 13px;
	color: #555;
}

.search-result-item .sri-meta-item strong {
	font-weight: 600;
	color: #333;
}

.search-result-item .sri-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

.search-result-item .sri-badge {
	display: inline-block;
	padding: 3px 10px;
	background: #dfe6e5;
	color: #333;
	font-size: 12px;
	border-radius: 2px;
}

.search-result-item .sri-price {
	font-size: 13px;
	color: #777;
}

.search-view-more-wrap {
	margin-top: 16px;
}

.search-view-more {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #222;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.search-view-more:hover {
	border-bottom-color: #222;
}

.search-loading,
.search-error {
	font-size: 14px;
	color: #999;
}
