/* SBL Catalog Filter & Pagination — light styling that defers to the theme. */

.sblc__controls,
.catalog__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.sblc__controls .field,
.catalog__controls .field {
	flex: 1 1 12rem;
	min-width: 0;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.35rem;
	background: #fff;
	font: inherit;
	color: inherit;
}

.sblc__status,
.catalog__status {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	opacity: 0.85;
}

.catalog__reset {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.sblc__pagination,
.catalog__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4rem;
	margin: 1.75rem 0 0;
}

.catalog__page {
	min-width: 2.4rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 0.35rem;
	background: #fff;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.catalog__page:hover:not(:disabled) {
	border-color: currentColor;
}

.catalog__page.is-active {
	background: #5e6b4e;
	border-color: #5e6b4e;
	color: #fff;
}

.catalog__page:disabled {
	opacity: 0.4;
	cursor: default;
}

.catalog__ellipsis {
	padding: 0 0.25rem;
	opacity: 0.6;
}

.sblc__empty,
.catalog__empty {
	margin: 1.5rem 0;
	opacity: 0.75;
}

@media (max-width: 640px) {
	.sblc__controls .field,
	.catalog__controls .field {
		flex: 1 1 100%;
	}
}
