.jlm-smart-filters-active {
	--jlm-accent: #f4b400;
	--jlm-accent-soft: #fff8df;
	--jlm-ink: #161b22;
	--jlm-muted: #667085;
	--jlm-line: #e8eaed;
	--jlm-surface: #fff;
}

.jlm-smart-filters-active .jlm-filter-panel .sidebar-inner {
	background: var(--jlm-surface);
	border: 1px solid var(--jlm-line);
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(22, 27, 34, 0.06);
	padding: 18px;
}

.jlm-smart-filters-active .jlm-filter-panel .widget {
	border-bottom: 1px solid var(--jlm-line);
	margin: 0;
	padding: 18px 0;
}

.jlm-smart-filters-active .jlm-filter-panel .widget:last-of-type {
	border-bottom: 0;
}

.jlm-smart-filters-active .jlm-filter-panel .widget-title {
	color: var(--jlm-ink);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 12px;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item {
	align-items: center;
	border-radius: 9px;
	display: flex;
	justify-content: space-between;
	margin: 2px 0;
	min-height: 42px;
	padding: 0 9px;
	transition: background-color 140ms ease, color 140ms ease;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item:hover {
	background: #f7f8fa;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item > a {
	color: #263349;
	display: inline-flex;
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	padding: 9px 0;
	text-decoration: none;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item .count {
	background: #edf0f4;
	border-radius: 999px;
	color: #4a5870;
	font-size: 13px;
	font-weight: 800;
	line-height: 26px;
	min-width: 34px;
	padding: 0 8px;
	text-align: center;
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item.chosen,
.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item--chosen {
	background: var(--jlm-accent-soft);
	box-shadow: inset 3px 0 0 var(--jlm-accent);
}

.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item.chosen > a,
.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item--chosen > a {
	color: var(--jlm-ink);
	font-weight: 750;
}

.jlm-smart-filters-active .jlm-option-hidden {
	display: none !important;
}

.jlm-smart-filters-active .wc-layered-nav-term:has(.jlm-alias-term) {
	display: none !important;
}

.jlm-smart-filters-active .jlm-show-more {
	align-items: center;
	background: transparent;
	border: 0;
	color: #765800;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: space-between;
	margin-top: 8px;
	padding: 8px 9px;
	text-align: left;
	width: 100%;
}

.jlm-smart-filters-active .jlm-show-more:hover,
.jlm-smart-filters-active .jlm-show-more:focus-visible {
	background: var(--jlm-accent-soft);
	border-radius: 8px;
	outline: none;
}

.jlm-smart-filters-active .jlm-active-filters {
	background: #f8f9fb;
	border: 1px solid var(--jlm-line);
	border-radius: 12px;
	margin: 0 0 6px;
	padding: 12px;
}

.jlm-smart-filters-active .jlm-active-filters__heading {
	align-items: center;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-bottom: 9px;
}

.jlm-smart-filters-active .jlm-clear-all {
	color: #8a2c1f;
	font-size: 11px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jlm-smart-filters-active .jlm-active-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.jlm-smart-filters-active .jlm-filter-chip {
	align-items: center;
	background: var(--jlm-ink);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 650;
	gap: 7px;
	line-height: 28px;
	padding: 0 10px;
}

.jlm-smart-filters-active .jlm-filter-chip:hover,
.jlm-smart-filters-active .jlm-filter-chip:focus-visible {
	background: #2d3540;
	color: #fff;
}

.jlm-smart-filters-active .jlm-filter-count {
	align-items: center;
	background: var(--jlm-accent);
	border-radius: 999px;
	color: #151515;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	margin-left: auto;
	min-width: 22px;
	padding: 0 6px;
}

.jlm-smart-filters-active .jlm-mobile-footer {
	display: none;
}

@media (max-width: 991.98px) {
	.jlm-smart-filters-active:not(.jlm-filter-drawer-open) .secondary-column.filtered-sidebar {
		transform: translate3d(-100%, 0, 0) !important;
		transition: transform 260ms ease !important;
	}

	.jlm-smart-filters-active.jlm-filter-drawer-open .secondary-column.filtered-sidebar {
		opacity: 1 !important;
		transform: translate3d(0, 0, 0) !important;
		transition: transform 260ms ease !important;
		visibility: visible !important;
	}

	.jlm-smart-filters-active .filter-button.hide-above-992 a {
		align-items: center;
		background: var(--jlm-ink);
		border-radius: 10px;
		color: #fff;
		display: flex;
		font-size: 14px;
		font-weight: 750;
		gap: 8px;
		min-height: 44px;
		padding: 0 14px;
	}

	.jlm-smart-filters-active .jlm-filter-panel .sidebar-inner {
		border: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 14px 16px 0;
	}

	.jlm-smart-filters-active .jlm-filter-panel .sidebar-mobile-header {
		align-items: center;
		border-bottom: 1px solid var(--jlm-line);
		display: flex;
		justify-content: space-between;
		margin: -14px -16px 14px;
		min-height: 58px;
		padding: 0 16px;
	}

	.jlm-smart-filters-active .jlm-filter-panel .sidebar-mobile-header .entry-title {
		font-size: 17px;
		font-weight: 800;
		margin: 0;
	}

	.jlm-smart-filters-active .jlm-filter-panel .sidebar-mobile-header .site-close a {
		align-items: center;
		border-radius: 8px;
		color: var(--jlm-ink);
		display: inline-flex;
		height: 36px;
		justify-content: center;
		text-decoration: none;
		width: 36px;
	}

	.jlm-smart-filters-active .jlm-filter-panel .woocommerce-widget-layered-nav-list__item {
		min-height: 48px;
	}

	.jlm-smart-filters-active .jlm-mobile-footer {
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid var(--jlm-line);
		bottom: 0;
		display: block;
		margin: 10px -16px 0;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		position: sticky;
		z-index: 5;
	}

	.jlm-smart-filters-active .jlm-mobile-apply {
		background: var(--jlm-accent);
		border: 0;
		border-radius: 10px;
		color: #151515;
		cursor: pointer;
		font-size: 14px;
		font-weight: 800;
		min-height: 48px;
		padding: 0 16px;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jlm-smart-filters-active .jlm-filter-panel * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
