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

.xplora-search-form__input {
	order: 1;
	min-width: 0;
	font-size: 16px;
}

.xplora-search-form__input::-webkit-search-decoration,
.xplora-search-form__input::-webkit-search-cancel-button,
.xplora-search-form__input::-webkit-search-results-button,
.xplora-search-form__input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.xplora-search-form__submit {
	order: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.xplora-search-form__cancel {
	order: 2;
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-brand-dark);
	font: inherit;
	font-size: 16px;
	font-weight: var(--type-medium-weight);
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}

.xplora-search-form__cancel-icon {
	display: block;
	width: 18px;
	height: 18px;
	pointer-events: none;
}

.xplora-search-form__submit-label {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.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;
}
