.eri-form {
	position: relative;
}

.eri-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 1000;
	min-width: 300px;
	max-height: 70vh;
	overflow-y: auto;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	text-align: left;
}

.eri-results[hidden] {
	display: none;
}

.eri-results ul {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.eri-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	color: #000;
	text-decoration: none;
}

.eri-item:hover,
.eri-item.is-active {
	background: rgba(213, 0, 156, 0.06);
}

.eri-item img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.eri-item__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.eri-item__name {
	font-size: 14px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.eri-item__name mark {
	padding: 0;
	color: #D5009C;
	font-weight: 600;
	background: none;
}

.eri-item__price {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 600;
}

.eri-item__price del {
	margin-right: 4px;
	font-weight: 400;
	opacity: 0.5;
}

.eri-item__price ins {
	text-decoration: none;
}

.eri-empty {
	margin: 0;
	padding: 14px;
	font-size: 14px;
	opacity: 0.7;
}

.eri-all {
	display: block;
	padding: 10px 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #D5009C;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.eri-all:hover {
	background: rgba(213, 0, 156, 0.06);
}
