body.cf-live-search-open {
	overflow: hidden;
}

body.cf-live-search-open .elementor-3733,
body.cf-live-search-open .elementor-location-popup.search-popup,
body.cf-live-search-open .dialog-type-lightbox.search-popup {
	display: none !important;
}

.cf-live-search {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10vh 16px 24px;
	font-family: Roboto, Helvetica, Arial, sans-serif;
	color: #1c1c1c;
}

.cf-live-search[hidden] {
	display: none;
}

.cf-live-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 20, 14, 0.55);
}

.cf-live-search__dialog {
	position: relative;
	width: min(640px, 100%);
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(16, 20, 14, 0.28);
	overflow: hidden;
}

.cf-live-search__bar {
	padding: 18px 18px 10px;
	border-bottom: 1px solid #ece8df;
}

.cf-live-search__title {
	margin: 0 0 10px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.cf-live-search__field {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 4px 6px;
	border-bottom: 2px solid #3bb77e;
}

.cf-live-search__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	color: #363636;
}

.cf-live-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 1.05rem;
	line-height: 1.4;
	padding: 8px 0;
	color: #1c1c1c;
}

.cf-live-search__input::placeholder {
	color: #8a8a8a;
}

.cf-live-search__close {
	border: 0;
	background: transparent;
	color: #363636;
	font-size: 28px;
	line-height: 1;
	padding: 0 4px;
	cursor: pointer;
}

.cf-live-search__close:hover,
.cf-live-search__close:focus {
	color: #1c1c1c;
}

.cf-live-search__status {
	padding: 10px 18px 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #5f5a52;
}

.cf-live-search__results {
	overflow: auto;
	padding: 8px 10px 6px;
}

.cf-live-search__empty {
	margin: 8px 8px 16px;
	color: #5f5a52;
	font-size: 0.95rem;
}

.cf-live-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 12px;
	text-decoration: none !important;
	color: inherit;
}

.cf-live-search__item:hover,
.cf-live-search__item:focus,
.cf-live-search__item.is-active {
	background: #f6f4ef;
	color: inherit;
}

.cf-live-search__thumb {
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	object-fit: cover;
	border-radius: 10px;
	background: #e6e2d8;
}

.cf-live-search__thumb--empty {
	display: block;
}

.cf-live-search__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cf-live-search__name {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.cf-live-search__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
}

.cf-live-search__price {
	color: #1c1c1c;
	font-weight: 600;
}

.cf-live-search__stock {
	color: #2f9a68;
	font-weight: 600;
}

.cf-live-search__stock.is-out {
	color: #8a8a8a;
}

.cf-live-search__badge {
	color: #5f5a52;
}

.cf-live-search__more {
	padding: 4px 18px 16px;
}

.cf-live-search__all {
	display: inline-block;
	color: #2f9a68;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none !important;
}

.cf-live-search__all:hover,
.cf-live-search__all:focus {
	color: #247a52;
	text-decoration: underline !important;
}

@media (max-width: 680px) {
	.cf-live-search {
		padding: 0;
		align-items: stretch;
	}

	.cf-live-search__dialog {
		width: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.cf-live-search__bar {
		padding: 16px 14px 8px;
	}
}
