.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--sw-key-color);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
	background-color: var(--gray-100);
	border-radius: var(--rounded-full);

}

.headerbox-search-form input[type="search"] {
	width: 100%;
    margin: 0;
    font-size: var(--text-xs);
    padding-top: 2px;
    text-indent: 18px;
    font-family: var(--font-family-body);
    background-color: transparent;
    color: var(--green);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-xs);
}

.headerbox-search-form input[type="search"]:focus {
	outline-color: var(--green);
}

.headerbox-search-form button {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 31px;
	height: 31px;
	font-size: 11px;
	border-radius: var(--rounded-circle);
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--gray-100);
}

.headerbox-search-form button:hover {
	background-color: var(--search-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 {
		z-index: 10;
		position: relative;
		background-color: #F8F6DC;
		border-radius: var(--rounded-full);
		font-size: var(--text-xs);
		width: 31px;
		height: 31px;
		padding: 0;
		margin: 0;
		color: var(--green);
	}
	.search-cont .search-button.active {
		background-color: var(--green);
		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 .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
		width: 506px;
		height: 100%;
		z-index: 10;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		display: none;
	}

	.search-cont .search-button {
		display: block;
	}
}

/* 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);
	}
}