.csw-search-ac {
	position: fixed;
	z-index: 999999;
	display: block;
	overflow-y: auto;
	max-height: min(68vh, 620px);
	background: #fff;
	border: 1px solid #d9d9d9;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.csw-search-ac[hidden] {
	display: none;
}

.csw-search-ac.is-loading {
	opacity: 0.8;
}

.csw-search-ac__title {
	padding: 8px 12px;
	background: #ececec;
	color: #222;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.csw-search-ac__row,
.csw-search-ac__product {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-bottom: 1px solid #f0f0f0;
	text-decoration: none;
	color: #242424;
	background: #fff;
}

.csw-search-ac__row:hover,
.csw-search-ac__product:hover {
	background: #f8f8f8;
}

.csw-search-ac__value-wrap {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.csw-search-ac__value {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.csw-search-ac__hint {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8e8e8e;
}

.csw-search-ac__count {
	margin-left: auto;
	font-size: 15px;
	font-weight: 500;
	color: #666;
}

.csw-search-ac__product {
	align-items: flex-start;
	justify-content: flex-start;
}

.csw-search-ac__product-image {
	width: 42px;
	height: 56px;
	object-fit: contain;
	flex: 0 0 auto;
	background: #fafafa;
}

.csw-search-ac__product-image.is-empty {
	opacity: 0;
}

.csw-search-ac__product-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.csw-search-ac__product-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: normal;
}

.csw-search-ac__product-sku {
	font-size: 15px;
	line-height: 1.1;
	text-transform: uppercase;
	color: #2f2f2f;
}

@media (max-width: 640px) {
	.csw-search-ac {
		max-height: 55vh;
	}

	.csw-search-ac__value,
	.csw-search-ac__product-name,
	.csw-search-ac__product-sku {
		font-size: 14px;
	}
}
