.ge-header-product-search {
	position: relative;
	width: 100%;
	min-width: 240px;
	color: #202020;
}

.ge-product-search-form {
	position: relative;
	width: 100%;
	margin: 0;
}

.ge-product-search-form .search-field {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 46px 0 14px;
	border: 1px solid #c8c8c8;
	border-radius: 2px;
	background: #fff;
	color: #202020;
	font: inherit;
	font-size: 14px;
	box-shadow: none;
}

.ge-product-search-form .search-field:focus {
	border-color: #9c171b;
	outline: 2px solid rgba(156, 23, 27, .16);
	outline-offset: 0;
}

.ge-product-search-form .search-field::-webkit-search-cancel-button {
	display: none;
}

.ge-search-clear {
	position: absolute;
	top: 3px;
	right: 5px;
	z-index: 2;
	width: 36px;
	height: 38px;
	min-height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777;
	font: inherit;
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.ge-search-clear:hover,
.ge-search-clear:focus-visible {
	color: #9c171b;
}

.ge-search-suggestions[hidden],
.ge-search-clear[hidden],
.ge-search-categories[hidden] {
	display: none !important;
}

.ge-search-suggestions {
	position: absolute;
	top: calc(100% + 2px);
	left: 50%;
	z-index: 100000;
	display: grid;
	grid-template-columns: minmax(190px, 32%) minmax(0, 1fr);
	width: min(700px, calc(100vw - 24px));
	max-height: min(520px, calc(100vh - 100px));
	transform: translateX(-50%);
	border: 1px solid #c8c8c8;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
	text-align: left;
}

.ge-product-search-form:not(.has-categories) .ge-search-suggestions {
	grid-template-columns: minmax(0, 1fr);
}

.ge-search-categories,
.ge-search-products {
	min-width: 0;
	max-height: min(460px, calc(100vh - 160px));
	overflow-y: auto;
}

.ge-search-categories {
	padding: 12px 0;
	border-right: 1px solid #d5d5d5;
	background: #f5f5f5;
}

.ge-search-products {
	padding: 0;
}

.ge-search-section-title {
	margin: 0;
	padding: 10px 16px 8px;
	color: #555;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.ge-search-category {
	display: block;
	padding: 10px 16px;
	color: #333;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.ge-search-category-path {
	display: block;
}

.ge-search-category:hover,
.ge-search-category:focus-visible {
	background: #e9e9e9;
	color: #9c171b;
}

.ge-search-product {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	min-height: 76px;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	border-bottom: 1px solid #dedede;
	color: #292929;
	text-decoration: none;
}

.ge-search-product:last-child {
	border-bottom: 0;
}

.ge-search-product:hover,
.ge-search-product:focus-visible {
	background: #f7f7f7;
	color: #9c171b;
}

.ge-search-product-image {
	display: block;
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.ge-search-product-details,
.ge-search-product-title,
.ge-search-product-sku {
	display: block;
	min-width: 0;
}

.ge-search-product-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ge-search-product-sku {
	margin-top: 5px;
	color: #666;
	font-size: 11px;
	line-height: 1.3;
}

.ge-search-highlight {
	padding: 0 2px;
	background: #d92327;
	color: #fff;
}

.ge-search-empty {
	margin: 0;
	padding: 20px 16px;
	color: #666;
	font-size: 13px;
}

.ge-search-view-all {
	display: block;
	grid-column: 1 / -1;
	padding: 13px 16px;
	border-top: 1px solid #d5d5d5;
	background: #f7f7f7;
	color: #333;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
}

.ge-search-view-all:hover,
.ge-search-view-all:focus-visible {
	background: #ececec;
	color: #9c171b;
}

@media (max-width: 680px) {
	.ge-search-suggestions {
		grid-template-columns: minmax(0, 1fr);
		width: calc(100vw - 16px);
		max-height: calc(100vh - 90px);
	}

	.ge-search-categories {
		max-height: 130px;
		border-right: 0;
		border-bottom: 1px solid #d5d5d5;
	}

	.ge-search-products {
		max-height: min(330px, calc(100vh - 280px));
	}
}