.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--primary-color-300);
	--seach-input-icon-bg-hover: var(--primary-color-300);

	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-sm);
	padding: 4px 0;
	font-family: var(--font-family-body);
	background-color: var(--primary-color-300);
	border-bottom: solid 2px var(--yellow-de);
	color: var(--gray-100);
	font-weight: 600;
	letter-spacing: 0.1em;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-sm);
	color: var(--gray-100);
	font-weight: 600;
}

.headerbox-search-form button {
	width: 20px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	font-size: 14px;
	color: var(--yellow-de);
	background-color: var(--seach-input-icon-bg);
}

.headerbox-search-form button i {
	color: var(--yellow-de);
}

.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);
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
		height: 40px;
	}

	.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: -28px;
		top: -24px;
		height: 64px;
		width: 784px;
		z-index: 20;
		transition: opacity 200ms ease-in-out;
		padding-right: 60px;
		padding-left: 30px;
		background-color: var(--cream-fb);
		border-radius: 10px;
		gap: 3px;
	}

	.headerbox-search-form input[type="search"] {
		background-color: var(--cream-fb);
		height: 52%;
		width: 585px;
		align-self: center;
		font-size: var(--text-lg);
		color: var(--green-5e);
		border-bottom: solid 1px var(--green-5e);
	}

	.headerbox-search-form input[type="search"]::placeholder {
		color: var(--green-5e);
		font-size: var(--text-lg);
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
		color: var(--orange-d7);
		background-color: var(--cream-fb);
	}

	.headerbox-search-form button i {
		color: var(--orange-d7);
	}

	.headerbox-search-form button:hover {
		background-color: var(--cream-fb);
	}

	.search-cont .search-button {
		display: block;
		z-index: 20;
		font-size: 24px;
	}

	.search-cont .search-button .text {
		display: none;
	}

	.search-cont.active .search-button .text {
		display: inline-block;
	}

	.search-cont.active .search-button {
		position: absolute;
		display: flex;
		align-items: center;
		width: 62px;
		right: 15px;
		top: -12px;
		text-transform: uppercase;
		font-weight: 800;
		font-size: 14px;
		color: var(--orange-d7);
		font-family: var(--font-body);
	}

	.search-cont.active .search-button i {
		margin-right: 4px;
	}
}