.search-cont {
	display: none;
}

.panel-header .mobile-nav .search-cont {
	display: block;
}

@media screen and (min-width: 64em) {
	.search-cont {
		display: block;
	}
}

.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--blue-1f);
	--seach-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
	margin-bottom: var(--space-1);
}


@media screen and (min-width: 64em) {
	.headerbox-search-form {
		margin-bottom: 0;
	}
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base);
	font-family: var(--font-family-body);
	background: var(--blue-1f);
	color: var(--gray-100);
}

.headerbox-search-form input[type="search" i]::-webkit-search-cancel-button {
	display: none;
}

.headerbox-search-form input[type="search"]:is(input, button, select, textarea):focus {
	outline: solid 1px var(--blue-b5);
	outline-offset: -1px;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 13px;
}

@media screen and (min-width: 40em) {
	.headerbox-search-form input[type="search"],
	.headerbox-search-form input[type="search"]::placeholder {
		font-size: var(--text-sm);
	}

	.headerbox-search-form input[type="search"] {
		padding: var(--space-4);
		background-color: var(--blue-20);
	}
}

.headerbox-search-form button {
	width: 24px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--seach-input-icon-bg);
	font-size: var(--text-sm);
}

.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 {
		padding: 0;
		margin-left: var(--space-5);
	}

	.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;
		width: 100%;
		min-width: 648px;
		height: 40px;
	}

	.search-cont.active .headerbox-search-form,
	.search-cont.active button,
	.search-cont.active .search-button.active {
		height: 40px;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 32px;
		background-color: var(--blue-20);
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button {
		display: block;
	}

	.search-cont .search-button.active {
		height: 32px;
		width: 32px;
		background-color: var(--primary-color-100);
		margin-left: 0;
	}

}