/* pages/search.css
   Search results and the empty state.

   Part of assets/css/. The load order lives in
   inc/setup.php - add new files there, not with @import. */

.empty-state a { text-decoration: underline; text-underline-offset: 3px; }

/* Page hits on the search results page. A page has no image, system or short
   description, so it gets a plain row rather than a product card. */
.result-list { display: flex; flex-direction: column; }

.result-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.result-item:first-child { border-top: 1px solid var(--line); }

.result-title { font-size: 19px; font-weight: 600; }

.result-title a { color: var(--ink); }

.result-title a:hover { color: var(--red); }

.result-excerpt {
	margin-top: 6px;
	font-size: 15px;
	color: var(--ink-2);
}

.empty-state {
	border: 1px dashed #C6CCDA;
	background: #FAFBFD;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	min-height: 200px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink-2);
	line-height: 1.6;
}
