.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--primary-color-800);
	--seach-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
	
}

.headerbox-search-form input[type="search"] {
	width: calc(100% + 18px);
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-indent: 8px;
    text-transform: uppercase;
    font-family: var(--font-family-body);
    background-color: transparent;
    color: white;
    border-bottom: 2px solid #fff;
    padding-right: 18px;
    position: relative;
	padding-top: 8px;
	font-style: oblique;
}

.headerbox-search-form input[type="search"]:focus {
	outline: none;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
	color: white;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.headerbox-search-form button {
	width: 36px;
	height: 36px;
	font-size: 14px;
	border: 2px solid white;
	border-radius: var(--rounded-circle);
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: transparent;
	left: -18px;
    position: relative;
}

.headerbox-search-form button:hover {
	background-color: transparent;
}

.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: 34px;
		height: 34px;
		padding: 0;
		margin: 0;
		font-size: 14px;
		border: 2px solid #FFF;
		border-radius: var(--rounded-circle);
	}

	.search-cont .search-button:focus {
		outline-color: #FFF;
	}

	.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: calc(100% + -14px);
		top: 0;
		width: 295px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		padding-right: 16px;
		border-bottom: 2px solid #FFF;
	}

	.search-cont .headerbox-search-form input[type="search"] {
		border: none
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
		font-size: 14px;
		border: none;
		left: 0;
	}
	.headerbox-search-form button:focus,
	.headerbox-search-form button:hover {
		outline: none;
	}

	.search-cont .search-button {
		display: block;
	}
}