.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--white-e9);
	--search-input-icon-bg-hover: var(--red);
	--border-radius: 500px;
	--border: 2px solid var(--gray-54);
	--border-desk: 2px solid var(--white);
}

.headerbox-search-form {
	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 1px 0 0 20px;
	border-radius: 0;
	font-size: var(--text-base);
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	border-top: var(--border);
	border-left: var(--border);
	border-bottom: var(--border);
	border-top-left-radius: var(--border-radius);
    border-bottom-left-radius:var(--border-radius);
	background-color: var(--white-e9);
}

.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: 1.25rem;
	font-weight: var(--font-weight-bold);
	color: var(--sw-text-color);
}

.headerbox-search-form button {
	width: 52px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--gray-100);
	border-top: var(--border);
	border-right: var(--border);
	border-bottom: var(--border);
	border-top-right-radius: var(--border-radius);
    border-bottom-right-radius:var(--border-radius);
}

.headerbox-search-form button:hover {
	background-color: var(--search-input-icon-bg-hover);
}

.headerbox-search-form button i {
	font-size: 1rem;
	color: var(--gray-54);
}


.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: 40px;
		height: 40px;
		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: 378px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] {
		background-color: transparent;
		border-top: var(--border-desk);
		border-left: var(--border-desk);
		border-bottom: var(--border-desk);
		color: var(--white);
	}

	.headerbox-search-form button {
		width: 50px;
		height: 46px;
		padding: 0;
		margin: 0;
		background-color: transparent;
		border-top: var(--border-desk);
		border-right: var(--border-desk);
		border-bottom: var(--border-desk);
	}

	.search-cont .search-button {
		display: block;
	}

	.search-cont .search-button.active {
		margin-left: 6px;
		border: 2px solid var(--white);
		border-radius: 50%;
		height: 46px;
		width: 46px;
	}

	.headerbox-search-form button i {
		color: var(--white);
	}

	.headerbox-search-form input[type="search"]::placeholder {
		color: var(--white);
	}

	.headerbox-search-form input[type="search"]:focus-visible {
		outline: 1px solid var(--white);
		outline-offset: -4px;
	}
}

/* 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);
	}
}