.ct-ls {
	--ct-ls-ink: #0a0a0a;
	--ct-ls-muted: #6b6b6b;
	--ct-ls-line: #e4e0d9;
	--ct-ls-paper: #ffffff;
	--ct-ls-warm: #faf7f2;
	--ct-ls-orange: #f8ae4c;
	--ct-ls-blue: #2c4a96;
	position: absolute;
	z-index: 10050;
	display: none;
	overflow: auto;
	max-height: min(70vh, 560px);
	padding: 8px 0 10px;
	border: 1px solid var(--ct-ls-line);
	border-radius: 6px;
	background: var(--ct-ls-paper);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
	color: var(--ct-ls-ink);
	text-align: left;
}

.ct-ls.is-open {
	display: block;
}

.ct-ls__status,
.ct-ls__fallback {
	padding: 10px 14px 6px;
	color: var(--ct-ls-muted);
	font-size: 13px;
	line-height: 1.4;
}

.ct-ls__group + .ct-ls__group {
	margin-top: 6px;
	border-top: 1px solid var(--ct-ls-line);
	padding-top: 6px;
}

.ct-ls__group-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 14px 4px;
}

.ct-ls__group-title {
	margin: 0;
	color: var(--ct-ls-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ct-ls__see-all {
	color: var(--ct-ls-blue);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.ct-ls__see-all:hover {
	text-decoration: underline;
}

.ct-ls__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ct-ls__hit {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 7px 14px;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.ct-ls__hit:hover,
.ct-ls__hit.is-active {
	background: var(--ct-ls-warm);
}

.ct-ls__img {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	object-fit: contain;
	border: 1px solid var(--ct-ls-line);
	border-radius: 4px;
	background: #fff;
}

.ct-ls__body {
	min-width: 0;
	flex: 1 1 auto;
}

.ct-ls__name {
	display: block;
	overflow: hidden;
	color: var(--ct-ls-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ct-ls__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
	color: var(--ct-ls-muted);
	font-size: 12px;
}

.ct-ls__price {
	color: var(--ct-ls-ink);
	font-weight: 700;
}

.ct-ls__stock.is-out {
	color: #a33;
}

.ct-ls__footer {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	padding: 10px 14px 2px;
	border-top: 1px solid var(--ct-ls-line);
}

.ct-ls__submit {
	border: 0;
	background: var(--ct-ls-orange);
	border-radius: 4px;
	color: var(--ct-ls-ink);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 12px;
}

.ct-ls__hint {
	align-self: center;
	color: var(--ct-ls-muted);
	font-size: 12px;
}

@media (max-width: 640px) {
	.ct-ls {
		max-height: min(60vh, 480px);
	}

	.ct-ls__name {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
}
