.oz-search-launch {
	display: flex;
	align-items: center;
}

.oz-search-launch .oz-search-open,
.oz-search-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e8eef6;
	border-radius: 12px;
	background: #fff;
	color: #1b2433;
	cursor: pointer;
}

.oz-search-launch .oz-search-open img {
	display: block;
	width: 22px;
	height: 22px;
}

.oz-search-open:hover,
.oz-search-close:hover {
	color: #1f4fa3;
	border-color: #1f4fa3;
}

.oz-search-popup {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(27, 36, 51, .45);
}

.oz-search-popup[hidden] {
	display: none;
}

.oz-search-panel {
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	height: 85vh;
	max-height: 85vh;
	overflow: hidden;
	padding: 18px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(27, 36, 51, .16);
}

.oz-search-form {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.oz-search-close {
	margin-right: auto;
}

.oz-search-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.oz-search-form input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e8eef6;
	border-radius: 12px;
	font: inherit;
}

.oz-search-results {
	display: grid;
	align-content: start;
	gap: 10px;
	flex: 1;
	min-height: 0;
	margin-top: 14px;
	overflow: auto;
}

@media (max-width: 781px) {
	.oz-search-popup {
		padding: 0;
		align-items: stretch;
	}

	.oz-search-panel {
		width: 100%;
		height: 100%;
		max-height: none;
		border-radius: 0;
	}
}

.oz-search-card {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px;
	border-radius: 12px;
	color: #1b2433;
	text-decoration: none;
}

.oz-search-card:hover {
	background: #f4f7fb;
}

.oz-search-card img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
}

.oz-search-card span {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.oz-search-card small {
	color: #5b6573;
}

.oz-search-empty {
	margin: 0;
	color: #5b6573;
}
