.jdw-mobile-search {
	--jdw-mobile-search-toggle-color: #172842;
	--jdw-mobile-search-toggle-hover-color: #00d2f7;
	--jdw-mobile-search-close-color: #ffffff;
	--jdw-mobile-search-gradient-start: #313b45;
	--jdw-mobile-search-gradient-end: #3393b8;
	--jdw-mobile-search-overlay-opacity: 0.98;
	--jdw-mobile-search-form-text: #ffffff;
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 100%;
	line-height: 0;
	text-align: right;
	vertical-align: middle;
	z-index: 99999;
}

.jdw-mobile-search *,
.jdw-mobile-search *::before,
.jdw-mobile-search *::after {
	box-sizing: inherit;
}

.elementor-widget-jdw-mobile-search > .elementor-widget-container {
	margin: 0;
	line-height: 0;
}

.jdw-mobile-search__inner {
	position: relative;
	display: inline-flex;
	width: auto;
	line-height: 0;
	vertical-align: top;
}

.jdw-mobile-search__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 23px;
	height: 23px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--jdw-mobile-search-toggle-color) !important;
	font: inherit;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: top;
	cursor: pointer;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
}

.jdw-mobile-search__toggle:hover,
.jdw-mobile-search__toggle:focus,
.jdw-mobile-search__toggle:active {
	border-color: transparent !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--jdw-mobile-search-toggle-hover-color);
	outline: 0;
	box-shadow: none !important;
}

.jdw-mobile-search__toggle::before,
.jdw-mobile-search__toggle::after {
	display: none !important;
	content: none !important;
}

.jdw-mobile-search__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	line-height: 0;
}

.jdw-mobile-search__icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: var(--jdw-mobile-search-toggle-color);
	transition: fill 0.3s ease-in-out;
}

.jdw-mobile-search__icon svg * {
	fill: var(--jdw-mobile-search-toggle-color);
}

.jdw-mobile-search__toggle:hover .jdw-mobile-search__icon svg,
.jdw-mobile-search__toggle:focus .jdw-mobile-search__icon svg,
.jdw-mobile-search__toggle:hover .jdw-mobile-search__icon svg *,
.jdw-mobile-search__toggle:focus .jdw-mobile-search__icon svg * {
	fill: var(--jdw-mobile-search-toggle-hover-color);
}

.jdw-mobile-search__text {
	position: relative;
	top: 0;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

.jdw-mobile-search__background {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 113%;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86), visibility 0.5s ease;
	z-index: 99990;
}

.jdw-mobile-search__background::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: var(--jdw-mobile-search-overlay-opacity);
	background: linear-gradient(to bottom, var(--jdw-mobile-search-gradient-start) 0%, var(--jdw-mobile-search-gradient-end) 100%);
}

.jdw-mobile-search__panel {
	visibility: hidden;
	position: fixed;
	top: 0;
	right: 0;
	left: auto;
	display: block;
	width: 100%;
	height: 1px;
	overflow: hidden;
	opacity: 1;
	color: var(--jdw-mobile-search-form-text);
	text-align: center;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86), visibility 0.5s ease;
	pointer-events: auto;
	z-index: 99991;
}

.jdw-mobile-search__panel[aria-hidden="false"],
.jdw-mobile-search.is-open .jdw-mobile-search__panel {
	padding-top: 70px;
}

.jdw-mobile-search__panel-inner {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto !important;
	background: transparent;
	box-shadow: none;
}

.jdw-mobile-search__close {
	position: fixed;
	top: 4px;
	right: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--jdw-mobile-search-close-color);
	cursor: pointer;
	box-shadow: none !important;
	z-index: 1000;
	appearance: none;
	-webkit-appearance: none;
}

.jdw-mobile-search__close:hover,
.jdw-mobile-search__close:focus,
.jdw-mobile-search__close:active {
	border-color: transparent !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	outline: 0;
	box-shadow: none !important;
}

.jdw-mobile-search__close-icon {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
}

.jdw-mobile-search__close-icon::before,
.jdw-mobile-search__close-icon::after {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	width: 22px;
	height: 2px;
	background: currentColor;
	transform-origin: center;
}

.jdw-mobile-search__close-icon::before {
	transform: rotate(45deg);
}

.jdw-mobile-search__close-icon::after {
	transform: rotate(-45deg);
}

.jdw-mobile-search__form {
	position: relative;
	margin: 0 0 30px;
	padding: 0;
	background: transparent;
	pointer-events: auto;
}

.jdw-mobile-search__field {
	position: relative;
	display: block;
	width: auto;
	min-height: 0 !important;
	margin: 0 5% !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--jdw-mobile-search-form-text);
	text-align: center;
}

.jdw-mobile-search__field::before,
.jdw-mobile-search__field::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
	background: var(--jdw-mobile-search-form-text);
	opacity: 0.2;
}

.jdw-mobile-search__field::after {
	opacity: 0.8;
	transform: scaleX(0);
	transition: transform 0.5s ease 0.8s;
}

.jdw-mobile-search__label {
	position: static;
	display: inline;
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
	overflow: visible;
	clip: auto;
	border: 0;
	color: var(--jdw-mobile-search-form-text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 21px;
	text-align: center;
	white-space: normal;
	opacity: 0.8;
}

.jdw-mobile-search__input {
	position: static;
	z-index: auto;
	display: block;
	width: 100% !important;
	min-width: 0;
	height: 40px !important;
	min-height: 0 !important;
	margin: 8px 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--jdw-mobile-search-form-text) !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 26px !important;
	font-weight: 700 !important;
	line-height: 36px !important;
	text-align: center !important;
	box-shadow: none !important;
	outline: 0;
	appearance: none;
	-webkit-appearance: none;
}

.jdw-mobile-search__input::placeholder {
	color: var(--jdw-mobile-search-form-text) !important;
	opacity: 0.45 !important;
}

.jdw-mobile-search__input:focus {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: 0;
}

.jdw-mobile-search__submit {
	position: absolute;
	display: none !important;
	z-index: -1;
	width: 1px;
	height: 1px;
	min-height: 0 !important;
	margin: 0;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	color: transparent !important;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.jdw-mobile-search__submit:hover,
.jdw-mobile-search__submit:focus {
	background: transparent;
	color: transparent;
	outline: 0;
	box-shadow: none;
}

.jdw-mobile-search.is-open .jdw-mobile-search__background {
	visibility: visible;
	transform: translate3d(0, 0, 0);
}

.jdw-mobile-search.is-open .jdw-mobile-search__panel {
	visibility: visible;
	height: 113%;
	transform: translate3d(0, 0, 0);
}

.jdw-mobile-search.is-open .jdw-mobile-search__field::after {
	transform: scaleX(1);
}

body.jdw-mobile-search-open {
	overflow: hidden;
}
