.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--primary-color-800);
	--search-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
}

.headerbox-search-form input[type='search'] {
	width: 100%;
	height: 100%;
	margin: 0;
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	min-height: 40px;
	font-size: var(--text-xl-1);
	color: var(--gray);
	letter-spacing: 0.032em;
}

.headerbox-search-form input[type='search']::placeholder {
	color: #888686db;
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: #fff;
	font-size: var(--text-lg);
}

.headerbox-search-form button i {
	color: var(--gray);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont .search-button {
		width: 49px;
		height: 49px;
		padding: 0;
		margin: 0;
		display: block;
		background-image: url(/includes/public/assets/shared/shell/search.png);
		background-size: contain;
		z-index: 1;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: block;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 100%;
		top: 0;
		width: 240px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
		font-size: var(--text-2xl-1);
		background: transparent;
	}

	.headerbox-search-form button i {
		color: #fff;
	}
}

/* Hamburger Header styles */
.panel-header.hamburger .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.panel-header.hamburger .search-cont .headerbox-search-form input[type='search'] {
	height: unset;
}

.panel-header.hamburger .nav .search-cont .search-button {
	display: none;
}

@media (min-width: 64em) {
	.panel-header.hamburger .search-cont .headerbox-search-form {
		width: 100%;
	}

	.panel-header.hamburger .nav .search-cont .headerbox-search-form button {
		width: var(--space-12);
	}

	.search-cont .headerbox-search-form {
		height: 50px;
		position: relative;
		top: unset;
		right: unset;
		width: 490px;
		margin-bottom: var(--space-3);
	}
	.search-cont .headerbox-search-form:after {
		content: '';
		position: absolute;
		left: 0;
		bottom: -1px;
		height: 2px;
		width: 100%;
		background: #fff;
	}
}
