/*
 * PE Search Tidy: look of the header search dropdown (CommerceKit Ajax Search).
 * Option 2 "two-line rows, gold buttons", chosen by Arthur 29 Nov 2026.
 * Loaded after CommerceKit's ajax-search.css by mu-plugin pe-search-tidy.php (part E).
 * Kept for guests by the RUCSS exclusion in the same mu-plugin (part D).
 */

/* Category and guide rows: plain text flow instead of flex, so the space after
   the highlighted words stays ("Pool Cover Buying Guide", not "Pool CoverBuying Guide"). */
body .commercekit-ajs-post .commercekit-ajs-post-title {
	display: block;
}

/* Highlighted search words: bold, no underline (product rows too). */
body .commercekit-ajs-results span.match-text {
	display: inline;
	text-decoration: none;
	font-weight: 800;
}

/* Row type ("Category", "Guide", "Page"): small grey line under the title. */
body .commercekit-ajs-post .commercekit-ajs-post-title span.post-type {
	display: block;
	margin: 1px 0 0;
	padding: 0;
	font-size: 12px;
	color: #8a8a8a;
	text-transform: none;
}

/* "View all products" and "View all guides and pages" buttons: site gold. */
body .commercekit-ajs-view-all-holder > a {
	background: #de9915;
	color: #fff;
	text-transform: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
}

body .commercekit-ajs-view-all-holder > a:hover,
body .commercekit-ajs-view-all-holder > a:focus {
	background: #c98a10;
	color: #fff;
}

/* "Guides and help" heading above the guide rows: light gold bar. */
body .commercekit-ajs-other-result {
	background: #f7f1e3;
	color: #7a5408;
	text-transform: none;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0;
}
