/* CommerceKit ajax-search.css (shop sidebar scope) */
#secondary .widget_product_search.commercekit-ajs-active,
#secondary .widget_search.commercekit-ajs-active {
	overflow: visible;
}

#secondary .commercekit-ajs-results {
	position: absolute;
	overflow-y: auto;
	min-height: 280px;
	overflow-x: hidden;
	z-index: 100;
	max-width: 100%;
	left: 0 !important;
	right: 0;
	width: 100% !important;
}

#secondary .commercekit-ajs-suggestions {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #fff;
	border: 1px solid #d6d6d6;
}

#secondary .commercekit-ajs-suggestions > .autocomplete-suggestion {
	box-sizing: border-box;
	cursor: pointer;
	border-bottom: 1px solid #d6d6d6;
	background: 0 0;
	display: flex;
	transition: 0.2s all;
}

#secondary .commercekit-ajs-suggestions > .autocomplete-suggestion:hover,
#secondary .commercekit-ajs-suggestions > .autocomplete-suggestion.active {
	background-color: #f8f8f8;
}

#secondary .commercekit-ajs-suggestions > .autocomplete-no-suggestion {
	line-height: 40px;
	text-align: center;
	font-size: 13px;
}

#secondary .commercekit-ajs-view-all-holder {
	width: calc(100% + 2px);
	z-index: 9999;
}

#secondary .commercekit-ajs-view-all-holder > a {
	display: block;
	height: 40px;
	line-height: 40px;
	background: #373636;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.02em;
}

#secondary .commercekit-ajs-view-all-holder > a:hover {
	color: #fff;
}

#secondary .autocomplete-suggestion a {
	display: flex;
	padding: 10px;
	transition: 0.2s all;
	width: 100%;
	color: #323232;
}

#secondary .commercekit-ajs-product .commercekit-ajs-product-image {
	display: inline-flex;
	max-width: 60px;
	flex-shrink: 0;
	align-self: start;
}

#secondary .commercekit-ajs-product .commercekit-ajs-product-image img {
	padding: 5px 5px 5px 0;
	margin: 0;
}

#secondary .commercekit-ajs-product-desc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 0 10px;
}

#secondary .commercekit-ajs-product-title {
	font-size: 13px;
	line-height: 1.4;
	font-weight: bold;
}

#secondary .commercekit-ajs-product-price {
	font-size: 13px;
}

#secondary .commercekit-ajs-product-price,
#secondary .commercekit-ajs-product-price ins {
	color: #de9915;
	font-weight: 600;
}

#secondary .commercekit-ajs-product-price del {
	margin-right: 5px;
	color: #999;
	font-weight: 400;
}

#secondary .commercekit-ajs-results span.match-text {
	text-decoration: underline;
	display: contents;
}

#secondary .commercekit-ajs-results span.product-short-desc {
	color: #323232;
	display: block;
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 20px;
	overflow: hidden;
	font-weight: normal;
}

#secondary .commercekit-ajs-product-out-of-stock {
	font-size: 10px;
	font-weight: normal;
	color: #333;
	display: inline-flex;
	background: #f2f2f2;
	align-self: baseline;
	padding: 1px 6px;
	border-radius: 4px;
	margin-top: 3px;
}

#secondary .autocomplete-suggestion:has(+ .commercekit-ajs-view-all-holder) {
	border-bottom: 0;
}

#secondary input.commercekit-ajax-search.hq-ajs-loading {
	opacity: 0.55;
}

body.left-woocommerce-sidebar #secondary .widget_search .wp-block-search__button {
	display: none !important;
}
