.bc-filter {
	--bc-orange: var(--bc-filter-accent, #f26522);
	--bc-orange-dark: var(--bc-filter-accent-hover, #d95517);
	--bc-border: #e7ebf0;
	--bc-text: var(--bc-filter-text, #111827);
	--bc-muted: var(--bc-filter-muted, #6b7280);
	--bc-surface: var(--bc-filter-surface, #fff);
	background: var(--bc-surface);
	border: 1px solid var(--bc-border);
	border-radius: var(--bc-filter-radius, 14px);
	box-shadow: 0 8px 28px rgba(17, 24, 39, .07);
	box-sizing: border-box;
	color: var(--bc-text);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	max-width: var(--bc-filter-width, 370px);
	overflow: hidden;
	width: 100%;
}

.bc-filter-shell {
	max-width: var(--bc-filter-width, 370px);
	width: 100%;
}

.bc-filter__mobile-toggle,
.bc-filter__mobile-close,
.bc-filter__backdrop,
.bc-filter__mobile-results {
	display: none;
}

.bc-filter * {
	box-sizing: border-box;
}

.bc-filter__header {
	background: linear-gradient(135deg, #fff7f2 0%, var(--bc-surface) 72%);
	border-bottom: 1px solid var(--bc-border);
	padding: 18px 20px 16px;
	position: relative;
}

.bc-filter__header::before {
	background: var(--bc-orange);
	border-radius: 0 0 4px 0;
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 4px;

}

.bc-filter__eyebrow {
	color: var(--bc-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	margin-bottom: 3px;

}

.bc-filter__heading {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.bc-filter__header p {
	color: var(--bc-muted);
	font-size: 13px;
	margin: 5px 0 0;
}

.bc-filter__active {
	border-bottom: 1px solid var(--bc-border);
	padding: 13px 20px 14px;
}

.bc-filter__active-title {
	color: var(--bc-muted);
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}

.bc-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.bc-filter__chip {
	align-items: center;
	background: #fff7f2;
	border: 1px solid #ffd2bb;
	border-radius: 999px;
	color: var(--bc-text) !important;
	display: inline-flex;
	font-size: 12px;
	gap: 6px;
	line-height: 1.3;
	max-width: 100%;
	padding: 6px 9px 6px 11px;
	text-decoration: none;
}

.bc-filter__chip span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bc-filter__chip span:last-child {
	color: var(--bc-orange);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.bc-filter__chip:hover,
.bc-filter__chip:focus {
	background: #ffeadf;
	border-color: var(--bc-orange);
	color: var(--bc-text) !important;
}

.bc-filter__group {
	border: 0;
	border-bottom: 1px solid var(--bc-border);
	margin: 0;
	padding: 13px 20px 14px;
}

.bc-filter__search {
	align-items: stretch;
	border-bottom: 1px solid var(--bc-border);
	display: flex;
	gap: 7px;
	padding: 14px 20px;
}

.bc-filter__search input {
	background: var(--bc-surface);
	border: 1px solid #dfe4ea;
	border-radius: 8px;
	color: var(--bc-text);
	font: inherit;
	font-size: 13px;
	height: 42px;
	min-width: 0;
	outline: none;
	padding: 8px 11px;
	width: 100%;
}

.bc-filter__search input:focus {
	border-color: var(--bc-orange);
	box-shadow: 0 0 0 3px rgba(242, 101, 34, .12);
}

.bc-filter__search button {
	background: var(--bc-orange);
	border: 1px solid var(--bc-orange);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 12px;
}

.bc-filter__search button:hover,
.bc-filter__search button:focus {
	background: var(--bc-orange-dark);
	border-color: var(--bc-orange-dark);
}

.bc-filter__screen-reader {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.bc-filter__legend {
	color: var(--bc-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 9px;
	padding: 0;
}

.bc-filter__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bc-filter__option {
	align-items: center;
	background: var(--bc-surface);
	border: 1px solid #dfe4ea;
	border-radius: 999px;
	color: var(--bc-text) !important;
	cursor: pointer;
	display: inline-flex;
	gap: 7px;
	justify-content: space-between;
	margin: 0;
	max-width: 100%;
	min-height: 38px;
	padding: 7px 8px 7px 13px;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
	width: 100%;
	text-decoration: none;
}

.bc-filter__option:hover {
	background: #fff7f2;
	border-color: #ffb58f;
	color: var(--bc-text) !important;
	transform: translateY(-1px);
}

.bc-filter__option:last-child {
	margin-bottom: 0;
}

.bc-filter__option input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bc-filter__name {
	line-height: 1.35;
	min-width: 0;
	overflow: hidden;
	overflow-wrap: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
}

.bc-filter__count {
	align-items: center;
	background: #f3f4f6;
	border-radius: 999px;
	color: var(--bc-muted);
	display: inline-flex;
	font-size: 11px;
	height: 24px;
	justify-content: center;
	min-width: 24px;
	padding: 0 7px;
}

.bc-filter__option.is-selected {
	background: var(--bc-orange);
	border-color: var(--bc-orange);
	color: #fff !important;
}

.bc-filter__option.is-selected .bc-filter__count {
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.bc-filter__option:focus-within {
	box-shadow: 0 0 0 3px rgba(242, 101, 34, .2);
	outline: none;
}

.bc-filter__option[hidden] {
	display: none !important;
}

.bc-filter__more {
	background: transparent;
	border: 0;
	color: var(--bc-orange);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	margin-top: 10px;
	padding: 3px 0;
}

.bc-filter__more span {
	color: var(--bc-muted);
	font-size: 11px;
}

.bc-filter__more:hover,
.bc-filter__more:focus {
	color: var(--bc-orange-dark);
}

.bc-filter__actions {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 16px 20px 18px;
}

.bc-filter__submit,
.bc-filter__reset {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font: inherit;
	font-weight: 500;
	justify-content: center;
	min-height: 44px;
	padding: 9px 16px;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
	width: 100%;
	text-decoration: none;
}

.bc-filter__submit {
	background: var(--bc-orange);
	border: 1px solid var(--bc-orange);
	color: #fff;
	cursor: pointer;
}

.bc-filter__submit:hover,
.bc-filter__submit:focus {
	background: var(--bc-orange-dark);
	border-color: var(--bc-orange-dark);
	color: #fff;
	transform: translateY(-1px);
}

.bc-filter__reset {
	background: transparent;
	border: 0;
	color: var(--bc-muted);
	font-size: 13px;
	min-height: 32px;
	padding: 4px 10px;

}

.bc-filter__reset:hover,
.bc-filter__reset:focus {
	color: var(--bc-text);
}

body.bc-filter-is-loading .bc-filter,
body.bc-filter-is-loading .bce-catalog__results,
body.bc-filter-is-loading .elementor-widget-woocommerce-archive-products {
	opacity: .58;
	pointer-events: none;
	transition: opacity .18s ease;
}

@media (max-width: 767px) {
	body.bc-filter-drawer-open {
		overflow: hidden;
	}

	.bc-filter-shell {
		max-width: none;
	}

	.bc-filter__mobile-toggle {
		align-items: center;
		background: var(--bc-filter-accent, #f26522);
		border: 0;
		border-radius: 8px;
		color: #fff;
		cursor: pointer;
		display: flex;
		font: inherit;
		font-weight: 600;
		justify-content: center;
		min-height: 44px;
		padding: 9px 16px;
		width: 100%;
	}

	.bc-filter__mobile-badge {
		align-items: center;
		background: #fff;
		border-radius: 999px;
		color: var(--bc-orange);
		display: inline-flex;
		font-size: 11px;
		height: 22px;
		justify-content: center;
		margin-left: 8px;
		min-width: 22px;
		padding: 0 6px;
	}

	.bc-filter {
		border-radius: var(--bc-filter-radius, 14px) 0 0 var(--bc-filter-radius, 14px);
		bottom: 0;
		height: 100dvh;
		max-width: 360px;
		overflow-y: auto;
		position: fixed;
		right: 0;
		top: 0;
		transform: translateX(105%);
		transition: transform .22s ease;
		width: min(90vw, 360px);
		z-index: 100002;
	}

	.bc-filter-shell.is-open .bc-filter {
		transform: translateX(0);
	}

	.bc-filter__actions {
		background: var(--bc-surface);
		border-top: 1px solid var(--bc-border);
		bottom: 0;
		position: sticky;
		z-index: 4;
	}

	.bc-filter__mobile-results {
		align-items: center;
		background: var(--bc-orange);
		border: 1px solid var(--bc-orange);
		border-radius: 8px;
		color: #fff;
		cursor: pointer;
		display: inline-flex;
		font: inherit;
		font-weight: 600;
		justify-content: center;
		min-height: 44px;
		padding: 9px 16px;
		width: 100%;
	}

	.bc-filter__mobile-close {
		align-items: center;
		background: var(--bc-surface);
		border: 1px solid var(--bc-border);
		border-radius: 50%;
		color: var(--bc-text);
		cursor: pointer;
		display: flex;
		font-size: 22px;
		height: 34px;
		justify-content: center;
		position: absolute;
		right: 14px;
		top: 14px;
		width: 34px;
	}

	.bc-filter__backdrop {
		background: rgba(17, 24, 39, .45);
		border: 0;
		bottom: 0;
		display: block;
		left: 0;
		opacity: 0;
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 0;
		transition: opacity .22s ease;
		z-index: 100001;
	}

	.bc-filter-shell.is-open .bc-filter__backdrop {
		opacity: 1;
		pointer-events: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bc-filter,
	.bc-filter__backdrop,
	.bc-filter__option {
		transition: none;
	}
}
