.rp-header-v2 .rp-header-v2__search-results.rp-header-v2__search-results--v2 {
	overflow-x: hidden;
	padding: 0;
}

.rp-header-v2 .rp-header-search-v2 {
	color: var(--rp-header-v2-dark);
	min-width: 0;
}

.rp-header-v2 .rp-header-search-v2__layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	min-width: 0;
}

.rp-header-v2 .rp-header-search-v2__layout--products-only {
	grid-template-columns: minmax(0, 1fr);
}

.rp-header-v2 .rp-header-search-v2__suggestions {
	background: #fafafa;
	min-width: 0;
	padding: 28px 24px;
	position: relative;
}

.rp-header-v2 .rp-header-search-v2__suggestions::after {
	background: linear-gradient(
		to bottom,
		transparent,
		var(--rp-header-v2-border) 16%,
		var(--rp-header-v2-border) 84%,
		transparent
	);
	border-radius: 999px;
	bottom: 15%;
	content: '';
	position: absolute;
	right: -1px;
	top: 15%;
	width: 2px;
}

.rp-header-v2 .rp-header-search-v2__suggestion-section + .rp-header-search-v2__suggestion-section {
	margin-top: 28px;
}

.rp-header-v2 .rp-header-search-v2__title {
	color: #898989;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.rp-header-v2 .rp-header-search-v2__link-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rp-header-v2 .rp-header-search-v2__suggestion-link {
	align-items: center;
	border-radius: 7px;
	color: var(--rp-header-v2-dark);
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	line-height: 1.25;
	padding: 6px 9px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rp-header-v2 .rp-header-search-v2__suggestion-thumb {
	align-items: center;
	background: #fff;
	border: 1px solid var(--rp-header-v2-border);
	border-radius: 6px;
	display: flex;
	flex: none;
	height: 34px;
	justify-content: center;
	overflow: hidden;
	width: 34px;
}

.rp-header-v2 .rp-header-search-v2__suggestion-thumb img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.rp-header-v2 .rp-header-search-v2__suggestion-thumb--brand {
	background: #fff;
	padding: 3px;
}

.rp-header-v2 .rp-header-search-v2__suggestion-text {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	min-width: 0;
	overflow: hidden;
	white-space: normal;
}

.rp-header-v2 .rp-header-search-v2__suggestion-link:hover,
.rp-header-v2 .rp-header-search-v2__suggestion-link:focus-visible {
	background: #fff;
	color: var(--rp-header-v2-pink-dark);
	outline: none;
	transform: translateX(2px);
}

.rp-header-v2 .rp-header-search-v2__products {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 28px;
}

.rp-header-v2 .rp-header-search-v2__product-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-header-v2 .rp-header-search-v2__product {
	background: #fff;
	border: 1px solid var(--rp-header-v2-border);
	border-radius: 10px;
	color: var(--rp-header-v2-dark);
	display: grid;
	gap: 7px 12px;
	grid-template-columns: 100px minmax(0, 1fr);
	grid-template-rows: minmax(54px, auto) auto;
	min-height: 150px;
	padding: 12px;
	position: relative;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rp-header-v2 .rp-header-search-v2__product-badge {
	height: 30px;
	left: 8px;
	position: absolute;
	top: 8px;
	width: 30px;
	z-index: 2;
}

.rp-header-v2 .rp-header-search-v2__product-badge--eco {
	left: 42px;
}

.rp-header-v2 .rp-header-search-v2__product:hover,
.rp-header-v2 .rp-header-search-v2__product:focus-visible {
	border-color: #3d3b3c;
	box-shadow: 0 8px 20px rgb(0 0 0 / 8%);
	outline: none;
	transform: translateY(-2px);
}

.rp-header-v2 .rp-header-search-v2__product-image {
	align-items: center;
	background: #f7f7f7;
	border-radius: 8px;
	display: flex;
	grid-row: 1 / span 2;
	height: 112px;
	justify-content: center;
	overflow: hidden;
	width: 100px;
}

.rp-header-v2 .rp-header-search-v2__product-image img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.rp-header-v2 .rp-header-search-v2__product-copy {
	align-self: start;
	display: block;
	min-width: 0;
}

.rp-header-v2 .rp-header-search-v2__product-name {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
}

.rp-header-v2 .rp-header-search-v2__product-description {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--rp-header-v2-muted);
	display: -webkit-box;
	font-size: 12px;
	line-height: 1.3;
	margin-top: 5px;
	overflow: hidden;
}

.rp-header-v2 .rp-header-search-v2__product-price {
	align-self: end;
	color: var(--rp-header-v2-pink-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.rp-header-v2 .rp-header-search-v2__empty {
	align-items: center;
	color: var(--rp-header-v2-muted);
	display: flex;
	flex: 1;
	font-size: 14px;
	justify-content: center;
	min-height: 140px;
	padding: 20px;
	text-align: center;
}

.rp-header-v2 .rp-header-search-v2__all-results {
	align-items: center;
	align-self: flex-start;
	background: var(--rp-header-v2-dark);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	margin-top: 20px;
	min-height: 42px;
	padding: 10px 20px;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.rp-header-v2 .rp-header-search-v2__all-results:hover,
.rp-header-v2 .rp-header-search-v2__all-results:focus-visible {
	background: var(--rp-header-v2-dark);
	color: #fff;
	outline: none;
	transform: translateY(-1px);
}

@media (min-width: 981px) {
	.rp-header-v2 .rp-header-v2__search-results.rp-header-v2__search-results--v2 {
		left: 50%;
		max-height: min(88vh, 900px);
		right: auto;
		transform: translateX(-50%);
		width: min(1280px, calc(100vw - 40px));
	}
}

@media (max-width: 980px) {
	.rp-header-v2 .rp-header-v2__search-results.rp-header-v2__search-results--v2 {
		left: 20px;
		max-height: calc(100vh - 140px);
		overscroll-behavior: contain;
		right: 20px;
	}

	.rp-header-v2 .rp-header-search-v2__layout {
		display: block;
	}

	.rp-header-v2 .rp-header-search-v2__suggestions {
		padding: 24px 20px;
	}

	.rp-header-v2 .rp-header-search-v2__suggestions::after {
		display: none;
	}

	.rp-header-v2 .rp-header-search-v2__suggestion-section + .rp-header-search-v2__suggestion-section {
		border-top: 1px solid var(--rp-header-v2-border);
		margin-top: 20px;
		padding-top: 20px;
	}

	.rp-header-v2 .rp-header-search-v2__link-list {
		display: grid;
		gap: 4px 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rp-header-v2 .rp-header-search-v2__products {
		padding: 24px 20px 28px;
	}

	.rp-header-v2 .rp-header-search-v2__product-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rp-header-v2 .rp-header-search-v2__product {
		grid-template-columns: 90px minmax(0, 1fr) auto;
		grid-template-rows: auto;
		min-height: 112px;
	}

	.rp-header-v2 .rp-header-search-v2__product-image {
		grid-row: auto;
		height: 90px;
	}

	.rp-header-v2 .rp-header-search-v2__product-copy {
		align-self: center;
	}

	.rp-header-v2 .rp-header-search-v2__product-price {
		align-self: center;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	.rp-header-v2 .rp-header-v2__search-results.rp-header-v2__search-results--v2 {
		left: 12px;
		max-height: calc(100vh - 148px);
		max-height: calc(100dvh - 148px);
		right: 12px;
	}

	.rp-header-v2 .rp-header-search-v2__link-list {
		display: flex;
	}

	.rp-header-v2 .rp-header-search-v2__product {
		gap: 7px 10px;
		grid-template-columns: 84px minmax(0, 1fr);
		grid-template-rows: minmax(43px, auto) auto;
		padding: 10px;
	}

	.rp-header-v2 .rp-header-search-v2__product-image {
		grid-row: 1 / span 2;
		height: 84px;
		width: 84px;
	}

	.rp-header-v2 .rp-header-search-v2__product-price {
		align-self: end;
		white-space: normal;
	}

	.rp-header-v2 .rp-header-search-v2__all-results {
		align-self: stretch;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rp-header-v2 .rp-header-search-v2__suggestion-link,
	.rp-header-v2 .rp-header-search-v2__product,
	.rp-header-v2 .rp-header-search-v2__all-results {
		transition: none;
	}
}
