.cellonic-finder {
	--cf-accent: #26957C;
	max-width: 1080px;
	margin: 1.5rem auto;
	padding: 1.5rem;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #fafafa;
	font-family: inherit;
}

.cf-title {
	margin: 0 0 1rem;
	font-size: 1.4rem;
}

.cf-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cf-select {
	flex: 1 1 220px;
	padding: 0.65rem 0.8rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	font: inherit;
}

.cf-select:focus {
	outline: 2px solid var(--cf-accent);
	border-color: var(--cf-accent);
}

.cf-select:disabled {
	opacity: 0.6;
}

.cf-results {
	margin-top: 1.25rem;
}

.cf-loading,
.cf-empty {
	color: #64748b;
	font-size: 0.95rem;
}

.cf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.9rem;
}

.cf-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.cf-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.cf-card__img {
	display: block;
	height: 150px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #fff;
}

.cf-card__img--empty {
	background: #f1f5f9;
}

.cf-card__body {
	padding: 0.6rem 0.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.cf-card__name {
	font-size: 0.85rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cf-card__sku {
	font-size: 0.72rem;
	color: #94a3b8;
}

/* ── Auto-suggest menu (single-input finder on the dark homepage) ── */
.shop-search-row { position: relative; }
.cf-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	margin: 0;
	padding: 6px;
	list-style: none;
	max-height: 340px;
	overflow-y: auto;
	z-index: 80;
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.cf-suggest__item {
	padding: 0.6rem 0.85rem;
	border-radius: 6px;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.3;
	cursor: pointer;
}
.cf-suggest__item:hover,
.cf-suggest__item.is-active {
	background: rgba(38, 149, 124, 0.22);
}
.cf-chip {
	display: inline-block;
	background: rgba(38, 149, 124, 0.2);
	color: #80afa8;
	padding: 2px 10px;
	border-radius: 999px;
	font-weight: 600;
	margin-right: 4px;
}
[data-cellonic-finder-single] .cf-results { margin-top: 1.5rem; }
/* Homepage finder lives below the full-width hero banner. The results are a
   sibling of the banner (not inside the 660px .shop-search box like the products
   page), so constrain + centre them to the same width — otherwise a single card
   floats far-left across a 5-column full-width grid. Mirrors the products page. */
.shop-finder .cf-results { max-width: 660px; margin-left: auto; margin-right: auto; }
.shop-finder .cf-results:not(:empty) { margin-top: 2.25rem; margin-bottom: 3.5rem; }
[data-cellonic-finder-single] .cf-card {
	background: #1a1a1a;
	border-color: rgba(255, 255, 255, 0.08);
	color: #fff;
}
[data-cellonic-finder-single] .cf-card__sku { color: rgba(255, 255, 255, 0.4); }
