.xplora-search-form {
	position: relative;
}

.xplora-search-form__suggestions {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	background: var(--color-white);
	border: 1px solid var(--color-accent-light);
	border-radius: 16px;
	box-shadow: var(--shadow-panel);
	overflow: hidden;
	z-index: 20;
}

.xplora-search-form__suggestions[hidden] {
	display: none;
}

.xplora-search-form__suggestion {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--color-dark);
	background: var(--color-white);
	border-bottom: 1px solid var(--color-accent-light);
}

.xplora-search-form__suggestion:last-child {
	border-bottom: 0;
}

.xplora-search-form__suggestion:hover,
.xplora-search-form__suggestion:focus-visible {
	text-decoration: none;
	background: var(--color-light);
	color: var(--color-dark);
}

.xplora-search-form__suggestion-thumb {
	flex: 0 0 52px;
	inline-size: 52px;
	block-size: 52px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-light);
}

.xplora-search-form__suggestion-image {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}

.xplora-search-form__suggestion-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.xplora-search-form__suggestion-category {
	font-size: var(--type-aux-size);
	font-weight: var(--type-aux-weight);
	line-height: 1.25;
	color: var(--color-brand-dark);
}

.xplora-search-form__suggestion-title {
	font-size: var(--type-body-size);
	font-weight: var(--type-body-weight);
	line-height: 1.3;
	color: inherit;
}

.xplora-search-form__suggestion-title,
.xplora-search-form__suggestion-category {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
