.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--white);
	--seach-input-icon-bg: var(--blue);
	--seach-input-icon-bg-hover: var(--blue);

	display: flex;
	gap: var(--space-3);
}

.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);
	padding: var(--space-2);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form input[type="search" i]::-webkit-search-cancel-button {
	display: none;
}

.headerbox-search-form button {
	width: 34px;
    height: 34px;
    align-self: center;
	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);
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont .search-button {
		width: 32px;
		height: 32px;
		padding: 0;
		margin: 0;
		background-color: var(--blue);
		color: var(--white);
	}

	.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.active {
		z-index: 12;
		width: 100vw;
		height: 43.5vh;
		position: absolute;
		right: 0;
		top: 0;
		background-color: var(--blue);
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.search-cont .search-button.active {
		position: absolute;
		top: 10px;
		right: 44px;
		color: var(--blue);
		background-color: var(--white);
	}

	.search-cont.active .headerbox-search-form {
		border-bottom: solid 3px var(--white);
		transform: translateY(17px);
	}

	.search-cont.active .headerbox-search-form input[type="search"] {
		background-color: var(--blue);
		padding-left: 0;
		font-family: var(--font-body);
		font-size: 18px;
		color: var(--white);
		letter-spacing: 0.05em;
	}

	

	.search-cont.active .headerbox-search-form input[type="search"]::placeholder {
		font-family: var(--font-body);
		font-size: 18px;
		letter-spacing: 0.05em;
	}

	.search-cont .headerbox-search-form input[type="search"]:focus {
		outline-color: var(--white);
		outline-offset: -2px;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		width: 60%;
		max-width: 665px;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.search-cont.active .headerbox-search-form button {
		font-size: 25px;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button {
		display: block;
	}
}