.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--sw-key-color);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
	flex-direction: column;
	gap: 33px;

	h3 {
		letter-spacing: 3.9px;
		font-size: 1.875rem;
		color: #fff;
		font-family: var(--font-display);
		margin-bottom: var(--space-12);
	}
}

.headerbox-search-form input[type='search'] {
	width: 100%;
	height: 40px;
	margin: 0 0 35px;
	border-radius: 0;
	font-size: var(--text-lg);
	font-family: var(--font-family-body);
	letter-spacing: 0.36px;
	color: #91b5be;
	background: transparent;
	border-bottom: 2px solid;
	padding-bottom: 17px;
}

.headerbox-search-form button {
	width: 103px;
	height: 43px;
	margin: 0;
	flex-shrink: 0;
	background-color: transparent;
	color: #fff;
	border: 1px solid;
	border-radius: 2em;
	font-family: var(--font-body);
	font-weight: 100;
	font-size: 0.875rem;
	letter-spacing: var(--tracking-wider);
	margin-left: auto;
}

.headerbox-search-form button:hover {
	background-color: transparent;
	color: #fff;
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

.search-cont .headerbox-search-form {
	/* opacity: 0; */
	position: absolute;
	top: 0;
	transition: opacity 200ms ease-in-out;
	background: var(--blue-dark);
	height: 382px;
	width: 100%;
	right: 0;
	z-index: 0;
	padding-inline: 20px;
	display: block;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	pointer-events: none;
	padding-top: 131px;
}
.search-cont .search-button {
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
}

.search-cont .search-button .close {
	display: none;
}

.search-cont.active .search-button .open {
	display: none;
}

.search-cont.active .search-button .close {
	display: block;
}
@media screen and (min-width: 64em) {
	.search-cont .headerbox-search-form {
		opacity: 0;
		display: flex;
		height: 374px;
		width: 100%;
		padding-inline: 200px;
		padding-top: 172px;
		gap: 0px 24px;

		h3 {
			flex-basis: 100%;
			font-size: 2.1875rem;
			margin-bottom: 0;
		}
	}
	.headerbox-search-form button {
		width: 103px;
		height: 43px;
		padding: 0;
		margin: 0;
		flex-basis: 103px;
		display: block;
	}
	.headerbox-search-form input[type='search'] {
		padding-bottom: 14px;
		height: 41px;
		flex-basis: calc(100% - 147px);
		margin-top: -14px;
		margin-bottom: 0;
	}
}

.search-cont.active .headerbox-search-form {
	opacity: 1;
	pointer-events: all;
}

.search-cont .search-button {
	display: block;

	i {
		font-weight: 100;
		scale: -1 1;
		font-size: 1.3rem;
	}
}

/* Hamburger Header styles */
.dropdown-nav-container .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.dropdown-nav-container .search-cont .headerbox-search-form input[type='search'] {
	height: unset;
}

.dropdown-nav-container .nav .search-cont .search-button {
	display: none;
}

@media (min-width: 64em) {
	.dropdown-nav-container .search-cont .headerbox-search-form {
		width: 100%;
	}

	.dropdown-nav-container .nav .search-cont .headerbox-search-form button {
		width: var(--space-12);
	}
}
