@mixin _oHeaderSearch() {
	.o-header__search {
		background-color: oPrivateFoundationGet('o3-color-palette-white-60');
		box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
		position: absolute;
		z-index: $_o-header-z-index;
		width: 100%;
		padding-bottom: $_o-header-padding-y;

		.o-header__container {
			max-width: 840px;
			display: flex;
			flex-direction: column;
			margin: 0 auto;
		}

		&[aria-hidden='false'] {
			display: block;
		}
	}
	.o-header__drawer-search,
	.o-header__search-form {
		.o-forms-input--text input::placeholder {
			color: oPrivateFoundationGet('o3-color-palette-black-60');
		}
	}

	[data-o-header-search] {
		display: none;
	}

	.o-header__search-term {
		@include oPrivateTypographySans($scale: -1);
		box-sizing: border-box;
		height: 32px; // match overridden button height
		vertical-align: middle;
		// normalize
		appearance: none;
		border-style: solid;
		border-color: transparent;
		box-shadow: none;
		border-radius: 0;
		// fill!
		min-width: 50%;
		flex-grow: 1;
		align-items: center;

		.o-forms-input--text.o-forms-input--suffix {
			width: 100%;
			margin-top: 10px;
		}
	}

	.o-header__search-icon {
		@include oPrivateIconsContent($icon-name: 'search', $size: 38, $color: white);

		@include oPrivateGridRespondTo($until: 'S') {
			display: none;
		}
	}

	.o-header__search-submit {
		@include oPrivateButtonsContent(
			$opts: (
				'type': 'primary',
				'size': 'big',
			)
		);
		display: flex;
		gap: 10px;
		align-items: center;
		margin-left: $_o-header-padding-x;
		padding: 0px oPrivateSpacingByName('s6') 0px oPrivateSpacingByName('s4');
		background-position: inherit;

		@include oPrivateGridRespondTo($until: 'S') {
			padding: 0px oPrivateSpacingByName('s4');
		}
	}

	.o-header__search-close {
		@include oPrivateTypographySans($scale: 1);
		text-decoration: underline;
		background: none;
		padding: 0;
		border: 0;
		margin-left: $_o-header-padding-x;

		@include oPrivateGridRespondTo($until: 'S') {
			display: none;
		}
	}
}
