/* Preserves the legacy Full Screen Search plugin's visual contract. */
#full-screen-search,
#full-screen-search button,
#full-screen-search button.close,
#full-screen-search form,
#full-screen-search form div,
#full-screen-search form div input,
#full-screen-search form div input.search {
	background: none;
	border: 0 none;
	border-radius: 0;
	float: none;
	font-size: 100%;
	height: auto;
	letter-spacing: normal;
	list-style: none;
	outline: none;
	position: static;
	text-decoration: none;
	text-indent: 0;
	text-shadow: none;
	text-transform: none;
	width: auto;
	visibility: visible;
	overflow: visible;
	margin: 0;
	padding: 0;
	line-height: 1;
	box-sizing: border-box;
	box-shadow: none;
	-webkit-appearance: none;
	transition: none;
}

#full-screen-search form div input {
	border-radius: 10px;
	height: auto !important;
}

#full-screen-search {
	position: fixed;
	z-index: 999998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(235, 235, 235, 0.95);
	display: none;
}

#full-screen-search.is-open {
	display: block;
}

#full-screen-search form {
	position: relative;
	width: 100%;
	height: 100%;
}

#full-screen-search button.close {
	position: absolute;
	z-index: 999999;
	display: block;
	top: 32px;
	right: 32px;
	width: 26px;
	height: 26px;
	background-image: url("../img/close.svg");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	opacity: 1;
	transition: all 250ms ease-in-out;
}

#full-screen-search button.close:hover {
	filter: invert(100%);
}

#full-screen-search form div:not(.brand-logo-wrapper) {
	position: absolute;
	width: 100%;
	max-width: 700px;
	padding-left: 16px;
	padding-right: 16px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#full-screen-search form div input::placeholder {
	color: #363431;
	opacity: 1;
}

#full-screen-search form div input {
	width: 100%;
	background: #fff url("../img/search.svg") no-repeat calc(100% - 18px) 50% / 20px auto;
	padding: 8px 21px;
	font-size: 20px;
	line-height: 1.5;
}

#full-screen-search input:focus-visible,
#full-screen-search button.close:focus-visible,
#search:focus-visible {
	outline: 3px solid #363431;
	outline-offset: 4px;
}

body.search-overlay-open {
	overflow: hidden;
}
