.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--primary-color-800);
	--seach-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base);
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
}

.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: transparent;
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.search-cont .search-button {
		position: relative;
		width: 40px;
		height: 40px;
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button .open {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		opacity: 1;
		pointer-events: all;
		transition: transform 0.4s ease, opacity 0.4s ease;
	}

	.search-cont.active .search-button .open {
		opacity: 0;
		pointer-events: none;
		transform: translate(-50%, -300%);
	}

	.search-cont .search-button .close {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -300%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.4s ease, opacity 0.4s ease;
	}

	.search-cont.active .search-button .close {
		opacity: 1;
		pointer-events: all;
		transform: translate(-50%, -50%);
	}

	.search-cont .search-button .close {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		pointer-events: none;
		gap: 4px;
	}

	.search-cont .search-button .close .icon {
		width: 16px;
	}

	.search-cont .search-button .close .text {
		color: var(--gray-dark);
		font-family: var(--pitch);
		font-size: 20px;
		line-height: 1;
	}

	.search-cont .headerbox-search-form {
		pointer-events: none;
		position: absolute;
		left: 0;
		top: calc(-100% - 179px);
		width: 100%;
		height: 179px;
		z-index: 25;
		transition: top 400ms ease-in-out;
		background-color: var(--peach-alt-1);
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: -1;
	}

	body.blue .search-cont .headerbox-search-form {
		background-color: var(--blue-light);
	}

	.search-cont.active .headerbox-search-form {
		pointer-events: all;
		top: 100%;
	}

	.search-cont .headerbox-search-form input[type="search"] {
		width: 410px;
		height: 40px;
		color: var(--gray);
		background-color: transparent;
		font-family: var(--pitch);
		font-size: 20px;
	}

	.search-cont .headerbox-search-form input[type="search"]::placeholder {
		color: var(--gray);
		font-family: var(--pitch);
		font-size: 20px;
		text-transform: uppercase;
	}

	.headerbox-search-form button {
		position: relative;
		width: 40px;
		height: 40px;
		padding: 0;
		margin: 0;
		border: none;
		background-color: transparent;
	}

	.search-cont .headerbox-search-form button:after {
		content: "";
		position: absolute;
		bottom: 0;
		right: 0;
		width: 450px;
		height: 2px;
		background-color: var(--gray);
		pointer-events: none;
	}

	.headerbox-search-form button i {
		color: var(--gray);
	}

	.search-cont .search-button {
		display: block;
	}
}