/* ECBC Product Filters */
.ecbf-filters { font-family: inherit; max-width: 100%; }
.ecbf-filters * { box-sizing: border-box; }

.ecbf-heading { font-size: 15px; color: #111; margin: 0 0 20px; padding: 0 4px; }

/* ===== Category list ===== */
.ecbf-cats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.ecbf-cat {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px; border-left: 3px solid transparent; border-radius: 8px;
	font-size: 15px; font-weight: 600; color: #111; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.ecbf-cat input { position: absolute; opacity: 0; pointer-events: none; }
.ecbf-cat:hover { background: #f3f6f9; }
.ecbf-cat.is-active { background: #e8f3fd; color: #0b84d8; border-left-color: #0b84d8; }
.ecbf-count {
	min-width: 24px; padding: 2px 8px; border-radius: 999px; text-align: center;
	background: #eef1f5; color: #6b7280; font-size: 11px; font-weight: 700; line-height: 18px;
}
.ecbf-cat.is-active .ecbf-count { background: #0b84d8; color: #fff; }

/* ===== Dropdown groups ===== */
.ecbf-group {
	background: #fff; border: 1px solid #e3e6ea; border-radius: 8px;
	margin-bottom: 10px; overflow: hidden;
}
.ecbf-head {
	position: relative; display: flex; align-items: center; gap: 8px;
	width: 100%; height: 48px; padding: 0 40px 0 16px; margin: 0;
	background: #fff; border: 0; text-align: left; cursor: pointer;
	font-family: inherit; font-size: 14px; font-weight: 600; color: #111; line-height: 20px;
}
.ecbf-head:hover, .ecbf-head:focus { background: #fff; color: #111; outline: none; }
.ecbf-badge {
	font-style: normal; background: #0b84d8; color: #fff; border-radius: 999px;
	font-size: 11px; font-weight: 700; padding: 0 7px; line-height: 18px;
}
.ecbf-arrow {
	position: absolute; top: 17px; right: 18px; width: 8px; height: 8px;
	border-right: 2px solid #6b7280; border-bottom: 2px solid #6b7280;
	transform: rotate(45deg); transition: transform .2s, top .2s;
}
.ecbf-group.is-open .ecbf-arrow { top: 21px; transform: rotate(-135deg); }

.ecbf-body { display: none; border-top: 1px solid #f0f2f4; }
.ecbf-group.is-open .ecbf-body { display: block; }

.ecbf-opt {
	display: flex; align-items: center; gap: 10px; padding: 10px 16px;
	font-size: 14px; font-weight: 500; color: #374151; cursor: pointer;
	border-top: 1px solid #f0f2f4;
}
.ecbf-opt:first-child { border-top: 0; }
.ecbf-opt:hover { background: #f3f6f9; }
.ecbf-opt input { accent-color: #0b84d8; margin: 0; }
.ecbf-opt span:nth-of-type(1) { flex: 1; }

/* ===== Buttons ===== */
.ecbf-actions { display: flex; gap: 10px; margin-top: 14px; }
.ecbf-apply, .ecbf-clear {
	flex: 1; text-align: center; padding: 12px 16px; border-radius: 8px;
	font-family: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.ecbf-apply { background: #0b84d8; color: #fff; border: 1px solid #0b84d8; }
.ecbf-apply:hover { background: #0a72ba; }
.ecbf-clear { background: #fff; color: #0b84d8; border: 1px solid #e3e6ea; }
.ecbf-clear:hover { background: #e8f3fd; }

.ecbf-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }

/* ===== Theme button styles ko override karo ===== */
.ecbf-filters button.ecbf-head,
.ecbf-filters button.ecbf-head:hover,
.ecbf-filters button.ecbf-head:focus,
.ecbf-filters button.ecbf-head:active {
	background: #fff !important; color: #111 !important; border: 0 !important;
	box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
	border-radius: 0 !important;
}
.ecbf-filters button.ecbf-head .ecbf-arrow { border-color: #6b7280 !important; }
.ecbf-body { max-height: 280px; overflow-y: auto; }
.ecbf-filters .ecbf-group:not(.is-open) .ecbf-body { display: none !important; }
