.nrps-live-form {
	position: relative;
	overflow: visible !important;
}

/* The theme's expandable header search clips content below the input. */
.nr-header-search-popover.is-open {
	overflow: visible !important;
}

.nrps-results[hidden] {
	display: none !important;
}

.nrps-results {
	position: absolute;
	z-index: 99999;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	min-width: min(100%, 320px);
	max-height: min(68vh, 620px);
	overflow-y: auto;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	box-shadow: 0 14px 34px rgba(19, 38, 63, .16);
	color: #1a1a1a;
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	-webkit-overflow-scrolling: touch;
}

.nrps-result,
.nrps-category-result,
.nrps-show-all {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	color: #1a1a1a;
	text-decoration: none;
}

.nrps-result {
	align-items: center;
	gap: 14px;
	min-height: 92px;
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
}

.nrps-result:hover,
.nrps-result[aria-selected="true"],
.nrps-category-result:hover,
.nrps-category-result[aria-selected="true"],
.nrps-show-all:hover,
.nrps-show-all[aria-selected="true"] {
	background: #f5f5f5;
	color: #0061ae;
}

.nrps-result:focus-visible,
.nrps-category-result:focus-visible,
.nrps-show-all:focus-visible {
	outline: 2px solid #1565c0;
	outline-offset: -2px;
}

.nrps-result__image {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	object-fit: contain;
	background: #fff;
	border-radius: 4px;
}

.nrps-result__copy {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.nrps-result__kicker,
.nrps-results__heading {
	color: #0061ae;
	font-family: Oswald, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .025em;
	line-height: 1.35;
	text-transform: uppercase;
}

.nrps-result__title {
	margin-top: 2px;
	color: #252a32;
	font-family: Oswald, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.nrps-result__price {
	margin-top: 5px;
	color: #252a32;
	font-size: 13px;
	font-weight: 600;
}

.nrps-results__heading {
	padding: 12px 14px 6px;
}

.nrps-category-result {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 14px;
}

.nrps-category-result__count {
	color: #6b7280;
	font-size: 12px;
}

.nrps-show-all {
	justify-content: center;
	padding: 13px 14px;
	border-top: 1px solid #eee;
	color: #0061ae;
	font-weight: 700;
}

.nrps-message {
	padding: 18px 16px;
	color: #6b7280;
	text-align: center;
}

.nrps-message--loading::before {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	border: 2px solid #cdcdcd;
	border-top-color: #0061ae;
	border-radius: 50%;
	content: "";
	vertical-align: -2px;
	animation: nrps-spin .7s linear infinite;
}

@keyframes nrps-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	.nrps-results {
		left: 0;
		right: 0;
		max-height: min(70vh, 520px);
	}

	.nrps-result {
		min-height: 82px;
		padding: 8px 11px;
	}

	.nrps-result__image {
		flex-basis: 62px;
		width: 62px;
		height: 62px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nrps-message--loading::before { animation: none; }
}
