.eh-search-inline,
.eh-search-overlay__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.45rem 0.45rem 0.45rem 0.45rem;
	background: var(--eh-background);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
	width: 100%;
}

.eh-search-inline input,
.eh-search-overlay__form input {
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--eh-text);
}

.eh-search-inline input:focus,
.eh-search-overlay__form input:focus {
	outline: 0;
}

.eh-search-inline button,
.eh-search-overlay__form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 1rem;
	border-radius: 999px;
	background: var(--eh-primary);
	color: #fff;
}

.eh-panel {
	position: fixed;
	inset: 0;
	z-index: var(--eh-z-panel);
	display: grid;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--eh-transition-slow);
}

.eh-panel.is-open {
	opacity: 1;
	pointer-events: auto;
}

.eh-panel__backdrop {
	position: absolute;
	inset: 0;
	background: var(--eh-panel-backdrop);
}

.eh-panel__content {
	position: relative;
	background: var(--eh-background);
	box-shadow: var(--eh-shadow);
}

.eh-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--eh-border);
}

.eh-panel__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.eh-panel__content--search {
	width: min(720px, calc(100vw - 1rem));
	max-width: 100%;
	margin: 6rem auto auto;
	border-radius: var(--eh-radius-lg);
	overflow: hidden;
}

.eh-search-overlay__body {
	padding: 1.25rem;
}

.eh-search-overlay__provider .dgwt-wcas-search-wrapp {
	margin: 0;
}

.eh-search-overlay__note {
	margin: 1rem 0 0;
	color: var(--eh-text-muted);
}

@media (max-width: 767px) {
	.eh-panel__content--search {
		width: calc(100vw - 1rem);
		margin-top: 4.5rem;
		border-radius: 1.25rem;
	}
}
