.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: #fff;
	--seach-input-icon-bg: var(--navy);
	--seach-input-icon-bg-hover: var(--navy);

	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 7px 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 30px;
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	border-radius: 5px;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--seach-input-icon-bg);
}

.headerbox-search-form button:hover {
	background-color: var(--seach-input-icon-bg-hover);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
		margin: 13px 0 0 15px;
	}

	.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;
	}

	.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;
	}
	.headerbox-search-form button span {
		display: none;
	}

	.search-cont .search-button {
		display: block;
	}

	.headerbox-search-form input[type="search"] {
		border-radius: 0px;
	}
}