.headerbox-search-form {
	position: relative;
	--font-family-body: var(--font-body);
	--search-icon: var(--black);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 13px;
	text-indent: 0;
	padding-right: 50px;
	font-family: var(--font-family-body);
	font-weight: var(--font-weight-strong);
	background-color: transparent;
	border-bottom: 2px solid var(--black);
	height: 25px;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 13px;
	color: var(--navy);
	font-weight: var(--font-weight-strong);
}

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; }

.headerbox-search-form button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	color: var(--navy);
	background-color: transparent;
}

.headerbox-search-form button:hover {
	background-color: transparent;
}

.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: 85px;
		height: 85px;
		padding: 0;
		margin: 0;
		font-size: 20px;
	}

	.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: 480px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		background-color: #fff;
		display: flex;
		align-items: center;
		padding: 0 30px;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] {
		height: 40px;
		font-size: 16px;
	}

	.headerbox-search-form input[type="search"]::placeholder {
		font-size: 16px;
	}

	.headerbox-search-form input[type="search"]:focus-visible {
		outline: transparent;
	}

	.headerbox-search-form button {
		height: 100%;
		padding: 0;
		margin: 0;
		right: 30px;
		font-size: 20px;
	}

	.search-cont .search-button {
		display: block;
	}
}