
search {
	width: min(1380px, 100%);
	position: fixed;
	top: 10%; left: 50%;
	transform: translate(-50%, -25px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	box-shadow: 0 0 40px -20px rgba(0, 0, 0, 0.5);
	background: #fff;
	border: var(--border);
	opacity: 0;
	z-index: 20;
}

search.is-open {
	opacity: 1;
	transform: translate(-50%, 0);
}

search input {
	font-size: 18px;
	font-weight: 600;
	width: 100%;
	padding: 15px 20px;
	border: unset;
}

search ul {
	width: 100%;
	max-height: calc(90dvh - 100px);
	overflow-y: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
	gap: 15px;
	list-style: none;
}

search ul.active {
	padding: 15px;
	border-top: var(--border);
}

search li {
	/*padding: 15px;
	border: var(--border);
	cursor: pointer;*/
}

search li:hover {
	background: #f0f0f0;
}

section[data-type="backdrop"] {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	transition: opacity 0.25s ease;
	opacity: 0;
	z-index: 10;
}

section[data-type="backdrop"].is-open {
	opacity: 1;
}
