/* Listing Filter – every class is prefixed with "lf-" to avoid clashes with Elementor and the theme. */

.lf-wrap {
	--lf-accent: #e8731a;
	--lf-accent-soft: #fdf3ea;
	--lf-text: #1b1b1b;
	--lf-muted: #8d8d8d;
	--lf-line: #ece8e2;
	--lf-radius: 10px;
	box-sizing: border-box;
	width: 100%;
	color: var(--lf-text);
	font-size: 15px;
	line-height: 1.4;
}

.lf-wrap *,
.lf-wrap *::before,
.lf-wrap *::after {
	box-sizing: border-box;
}

.lf-wrap .lf-form {
	margin: 0;
	padding: 6px 22px 10px;
	background: #fff;
	border-radius: 16px;
}

.lf-wrap .lf-group {
	padding: 22px 0 14px;
	border-bottom: 1px solid var(--lf-line);
}

.lf-wrap .lf-group:first-of-type {
	padding-top: 18px;
}

.lf-wrap .lf-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	color: var(--lf-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.lf-wrap .lf-heading__bar {
	display: inline-block;
	flex: 0 0 auto;
	width: 16px;
	height: 3px;
	border-radius: 2px;
	background: var(--lf-accent);
}

.lf-wrap .lf-options {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lf-wrap .lf-item {
	margin: 0 0 2px;
	padding: 0;
	list-style: none;
}

.lf-wrap .lf-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--lf-radius);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.lf-wrap .lf-option:hover {
	background: #faf7f3;
}

.lf-wrap .lf-option.is-selected {
	background: var(--lf-accent-soft);
	font-weight: 600;
}

/* The native radio stays in the DOM (keyboard + screen readers) but is visually replaced. */
.lf-wrap .lf-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.lf-wrap .lf-dot {
	position: relative;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 2px solid #cfcfcf;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.15s ease;
}

.lf-wrap .lf-input:checked + .lf-dot {
	border-color: var(--lf-accent);
}

.lf-wrap .lf-input:checked + .lf-dot::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--lf-accent);
}

.lf-wrap .lf-input:focus-visible + .lf-dot {
	outline: 2px solid var(--lf-accent);
	outline-offset: 3px;
}

.lf-wrap .lf-label {
	flex: 1 1 auto;
	min-width: 0;
}

.lf-wrap .lf-count {
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--lf-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 400;
}

.lf-wrap .lf-option.is-empty .lf-label,
.lf-wrap .lf-option.is-empty .lf-count {
	color: #b5b5b5;
}

.lf-wrap .lf-actions {
	padding: 16px 0 12px;
}

.lf-wrap .lf-reset {
	display: block;
	padding: 11px 14px;
	border: 1px solid var(--lf-accent);
	border-radius: var(--lf-radius);
	color: var(--lf-accent);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.lf-wrap .lf-reset:hover {
	background: var(--lf-accent);
	color: #fff;
}

.lf-wrap .lf-reset.is-disabled {
	border-color: var(--lf-line);
	color: #b5b5b5;
	pointer-events: none;
}

.lf-wrap .lf-submit {
	width: 100%;
	margin-bottom: 10px;
	padding: 11px 14px;
	border: 0;
	border-radius: var(--lf-radius);
	background: var(--lf-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.lf-wrap .lf-option,
.lf-wrap .lf-toggle,
.lf-wrap .lf-reset {
	-webkit-tap-highlight-color: transparent;
}

.lf-wrap .lf-toggle:focus-visible,
.lf-wrap .lf-reset:focus-visible {
	outline: 2px solid var(--lf-accent);
	outline-offset: 2px;
}

/* Mobile toggle: hidden on desktop. */
.lf-wrap .lf-toggle {
	display: none;
}

@media (max-width: 767px) {
	.lf-wrap .lf-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		margin: 0 0 10px;
		padding: 13px 16px;
		border: 1px solid var(--lf-accent);
		border-radius: var(--lf-radius);
		background: #fff;
		color: var(--lf-accent);
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}

	.lf-wrap .lf-toggle__badge {
		min-width: 22px;
		padding: 1px 7px;
		border-radius: 11px;
		background: var(--lf-accent);
		color: #fff;
		font-size: 13px;
		text-align: center;
	}

	.lf-wrap .lf-form {
		display: none;
	}

	.lf-wrap.is-open .lf-form {
		display: block;
	}
}

/* Tablet: a little tighter. */
@media (min-width: 768px) and (max-width: 1024px) {
	.lf-wrap .lf-form {
		padding: 4px 14px 8px;
	}

	.lf-wrap .lf-option {
		padding: 9px 10px;
	}
}

.lf-wrap .lf-notice { margin: 0 0 12px; padding: 8px 10px; background: #fff4e5; border-left: 3px solid #e8731a; font-size: 13px; }
