.bepro-panel,
.bepro-panel * {
	box-sizing: border-box;
}

.bepro-panel {
	--bepro-accent: #00a7c4;
	--bepro-heading: #171b21;
	--bepro-border: #e1e5e9;
	--bepro-text: #262a2f;
	width: 100%;
	background: #fff;
	border: 1px solid var(--bepro-border);
	border-radius: 4px;
	overflow: hidden;
}

.bepro-panel__title {
	padding: 18px 20px;
	background: var(--bepro-heading);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.bepro-category-list {
	margin: 0;
	padding: 10px 14px;
	list-style: none;
}

.bepro-category-list__item {
	margin: 0;
	padding: 0;
}

.bepro-category-list__item + .bepro-category-list__item {
	border-top: 1px solid var(--bepro-border);
}

.bepro-category-button {
	appearance: none;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 8px;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--bepro-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.bepro-category-button:hover,
.bepro-category-button:focus-visible,
.bepro-category-button.is-active {
	color: var(--bepro-accent);
}

.bepro-category-button:focus-visible,
.bepro-filter-option input:focus-visible + .bepro-filter-option__box,
.bepro-filter-reset:focus-visible,
.bepro-loop-pagination__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bepro-category-button.is-active {
	font-weight: 700;
}

.bepro-category-button__icon,
.bepro-category-button__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}

.bepro-category-button__icon svg,
.bepro-category-button__arrow svg {
	display: block;
	width: 1em;
	height: 1em;
}

.bepro-category-button__label {
	min-width: 0;
}

.bepro-category-button__arrow {
	font-size: 16px;
}

.bepro-term-count {
	margin-left: 0.35em;
	opacity: 0.7;
	font-size: 0.85em;
}

.bepro-filter__body {
	padding: 18px 20px 20px;
}

.bepro-filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.bepro-filter-group + .bepro-filter-group {
	margin-top: 22px;
}

.bepro-filter-group__title {
	display: block;
	width: 100%;
	margin: 0 0 11px;
	padding: 0;
	color: var(--bepro-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.bepro-filter-options {
	display: grid;
	gap: 9px;
}

.bepro-filter-option {
	position: relative;
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #4a5057;
	font-size: 14px;
	line-height: 1.35;
	cursor: pointer;
}

.bepro-filter-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bepro-filter-option__box {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
	background: #fff;
	border: 1px solid #cfd5da;
	border-radius: 2px;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.bepro-filter-option input:checked + .bepro-filter-option__box {
	background: var(--bepro-accent);
	border-color: var(--bepro-accent);
}

.bepro-filter-option input:checked + .bepro-filter-option__box::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bepro-filter-reset {
	appearance: none;
	margin: 20px 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--bepro-accent);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bepro-is-loading {
	position: relative;
}

.bepro-is-loading::after {
	content: '';
	position: absolute;
	z-index: 20;
	inset: 0;
	background: rgba(255, 255, 255, 0.62);
	cursor: progress;
}

.bepro-is-loading::before {
	content: '';
	position: absolute;
	z-index: 21;
	left: 50%;
	top: 120px;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 3px solid rgba(0, 167, 196, 0.22);
	border-top-color: var(--bepro-accent, #00a7c4);
	border-radius: 50%;
	animation: bepro-loop-spin 0.7s linear infinite;
}

@keyframes bepro-loop-spin {
	to {
		transform: rotate(360deg);
	}
}

.bepro-loop-no-results {
	grid-column: 1 / -1;
	width: 100%;
	padding: 32px 20px;
	background: #fff;
	border: 1px solid var(--bepro-border, #e1e5e9);
	border-radius: 4px;
	text-align: center;
}

.bepro-loop-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 24px;
}

.bepro-loop-pagination__button {
	appearance: none;
	min-width: 38px;
	min-height: 38px;
	padding: 7px 11px;
	background: #fff;
	border: 1px solid #dce1e5;
	border-radius: 3px;
	color: #272c32;
	font: inherit;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

.bepro-loop-pagination__button:hover,
.bepro-loop-pagination__button.is-current {
	background: var(--bepro-accent, #00a7c4);
	border-color: var(--bepro-accent, #00a7c4);
	color: #fff;
}

.bepro-loop-pagination__button.is-current {
	cursor: default;
}

.bepro-loop-pagination__ellipsis {
	padding: 0 3px;
}

.bepro-screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.bepro-editor-message {
	padding: 12px;
	background: #fff4d7;
	border: 1px solid #e8c66f;
	color: #5b4715;
}

@media (prefers-reduced-motion: reduce) {
	.bepro-category-button,
	.bepro-filter-option__box {
		transition: none;
	}

	.bepro-is-loading::before {
		animation-duration: 1.4s;
	}
}
