.tnd-ls-wrap {
	position: relative;
	width: 100%;
	max-width: 420px;
	font-family: inherit;
}

.tnd-ls-form {
	display: flex;
	align-items: center;
	background: #f5f5f5;
	border-radius: 30px;
	padding: 6px 8px 6px 18px;
	transition: box-shadow 0.2s ease;
}

.tnd-ls-form:focus-within {
	box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.25);
}

.tnd-ls-input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	font-size: 14px;
	padding: 8px 4px;
	color: #333;
}

.tnd-ls-submit {
	border: none;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2e7d32;
	padding: 6px;
}

.tnd-ls-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	max-height: 420px;
	overflow-y: auto;
	z-index: 9999;
}

.tnd-ls-list {
	list-style: none;
	margin: 0;
	padding: 6px 0;
}

.tnd-ls-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.tnd-ls-item a:hover {
	background: #f7f7f7;
}

.tnd-ls-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	background: #f0f0f0;
}

.tnd-ls-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tnd-ls-title {
	font-size: 13.5px;
	font-weight: 500;
	color: #222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tnd-ls-cat {
	font-size: 11px;
	color: #888;
}

.tnd-ls-price {
	font-size: 13px;
	font-weight: 600;
	color: #2e7d32;
}

.tnd-ls-price del {
	color: #999;
	font-weight: 400;
	margin-right: 4px;
}

.tnd-ls-badge {
	display: inline-block;
	font-size: 10px;
	color: #c0392b;
	margin-top: 2px;
}

.tnd-ls-oos .tnd-ls-thumb {
	opacity: 0.5;
}

.tnd-ls-empty {
	padding: 16px;
	text-align: center;
	font-size: 13px;
	color: #888;
}

.tnd-ls-viewall {
	display: block;
	text-align: center;
	padding: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #2e7d32;
	border-top: 1px solid #eee;
	text-decoration: none;
}

.tnd-ls-loading .tnd-ls-form {
	opacity: 0.85;
}

/* Mobile icon-only toggle */
@media (max-width: 768px) {
	.tnd-ls-icon-mobile .tnd-ls-form {
		width: 42px;
		padding: 6px;
		overflow: hidden;
		transition: width 0.25s ease;
	}

	.tnd-ls-icon-mobile .tnd-ls-input {
		width: 0;
		padding: 0;
		opacity: 0;
	}

	.tnd-ls-icon-mobile.tnd-ls-open .tnd-ls-form {
		width: 100%;
	}

	.tnd-ls-icon-mobile.tnd-ls-open .tnd-ls-input {
		width: auto;
		padding: 8px 4px;
		opacity: 1;
	}
}
