.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--purple);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
	height: 44px;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-base);
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	border: solid 1px #ddd;
}

.headerbox-search-form input[type="search"]:focus-visible,
.headerbox-search-form button[type="submit"]:focus-visible {
	outline-offset: -3px;
}

.headerbox-search-form input[type="search"]:focus-visible {
	outline: 1px solid var(--sw-focus-color);
}

.headerbox-search-form button[type="submit"]:focus-visible {
	outline: 1px solid var(--sw-light-focus-color);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	width: 60px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--white);
}

.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 {
		width: 80px;
		height: 80px;
		border-left: solid 1px #454545;
		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: 100%;
		top: 0;
		width: 500px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		background-color: var(--black);
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] {
		background-color: var(--black);
		border: solid 1px #454545;
		border-top: none;
		border-bottom: none;
		color: var(--white);
		font-weight: 600;
		text-indent: 20px;
	}

	.headerbox-search-form button {
		width: 80px;
		height: 100%;
		padding: 0;
		margin: 0;
		background-color: var(--black);
	}

	.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);
	}
}