.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--blue-66);
	--search-input-icon-bg: transparent;
}

.headerbox-search-form {
	display: flex;
	gap: 15px;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 34px;
	margin: 0;
	border-radius: 0;
	font-family: var(--font-family-body);
	font-size: var(--text-sm);
	font-weight: 400;
	line-height: var(--leading-none);
	letter-spacing: var(--tracking-normal);
	color: var(--black);
	text-indent: var(--space-3);
	background: var(--white-fd);
	padding: 0;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-family: var(--font-family-body);
	font-size: var(--text-sm);
	font-weight: 400;
	line-height: var(--leading-none);
	letter-spacing: var(--tracking-normal);
	color: rgba(0, 0, 0, 0.40);
	text-indent: var(--space-3);
}

.headerbox-search-form button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 34px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	font-size: var(--text-2xl);
	background-color: var(--search-input-icon-bg);
}

.headerbox-search-form button i { color: var(--blue-66); }

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media (hover: hover) {
	.headerbox-search-form button:hover { background-color: transparent; }
}

@media screen and (min-width: 64em) {
	.search-cont { position: relative; }

	.search-cont .search-button {
		width: 24px;
		height: 24px;
		padding: 0;
		margin: 0;
		transition: background 300ms ease-out;
	}

	.search-cont .search-button.active { background: var(--white-fd); }

	.search-cont .search-button .close {
		display: none;
		opacity: 0;
		pointer-events: none;
		transition: opacity 300ms ease-out;
	}

	.search-cont.active .search-button .open {
		display: none;
		opacity: 0;
		pointer-events: none;
		transition: opacity 300ms ease-out;
	}

	.search-cont.active .search-button .close {
		display: block;
		color: var(--gray-14);
		font-size: 1.1875rem;
		background: var(--white-fd);
		opacity: 1;
	}

	.search-cont .headerbox-search-form {
		flex-direction: row-reverse;
		gap: var(--space-1);
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 100%;
		top: 0;
		width: 300px;
		height: 100%;
		z-index: 25;
		transition: opacity 300ms ease-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
		background: var(--white-fd);
	}

	.headerbox-search-form button {
		width: 24px;
		height: 24px;
		padding: 0;
		margin: 0;
	}

	.headerbox-search-form button i {
		font-size: var(--text-base);
		color: var(--gray-14);
	}

	.search-cont .search-button { display: block; }

	.headerbox-search-form input[type="search"] {
		height: 24px;
		text-indent: 0;
	}

	.headerbox-search-form input[type="search"]::placeholder { text-indent: 0; }
}

/* Hamburger Header styles */
.dropdown-nav-container .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.dropdown-nav-container .search-cont .headerbox-search-form input[type="search"] { height: unset; }

.dropdown-nav-container .nav .search-cont .search-button { display: none; }

@media (min-width: 64em) {
	.dropdown-nav-container .search-cont .headerbox-search-form { width: 100%; }

	.dropdown-nav-container .nav .search-cont .headerbox-search-form button { width: var(--space-12); }
}