.starlight-shop-toolbar {
	clear: both;
	margin: 0 0 24px;
	padding: 14px;
	background: #2a2a2a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #fff;
}

#main.site-main {
	padding-bottom: 40px;
}

.woocommerce-products-header .page-description .woocommerce-product-search,
.woocommerce-products-header .page-description .berocket_single_filter_widget {
	display: none !important;
}

.starlight-shop-toolbar__row,
.starlight-shop-toolbar__controls,
.starlight-shop-toolbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.starlight-shop-toolbar__row {
	justify-content: space-between;
}

.starlight-shop-toolbar__actions {
	margin-left: auto;
}

.starlight-shop-toolbar__filter-toggle,
.starlight-shop-product-search button {
	min-height: 42px;
	padding: 8px 16px;
	border: 0;
	border-radius: 4px;
	background: #f05025;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.starlight-shop-toolbar__filter-toggle[aria-expanded="true"] {
	background: #d9431d;
}

.starlight-shop-toolbar__result-count .woocommerce-result-count,
.starlight-shop-toolbar__actions .woocommerce-ordering {
	float: none;
	margin: 0;
}

.starlight-shop-toolbar__actions .orderby {
	min-height: 42px;
	margin: 0;
	border-radius: 4px;
}

.starlight-shop-product-search {
	display: flex;
	min-width: min(360px, 36vw);
}

.starlight-shop-product-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #ced4da;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	background: #fff;
	color: #222;
}

.starlight-shop-product-search button {
	border-radius: 0 4px 4px 0;
	font-size: 20px;
	line-height: 1;
}

.starlight-shop-toolbar__filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.starlight-shop-toolbar__filters[hidden] {
	display: none;
}

.starlight-shop-toolbar__filters .bapf_sfilter {
	margin: 0;
}

.starlight-shop-toolbar__filters .bapf_sfilter.bapf_button_berocket .bapf_button {
	border-radius: 4px !important;
	font-size: 0.8rem;
}

.starlight-shop-toolbar__filters .bapf_sfilter ul li {
	margin-top: 10px !important;
}

.starlight-shop-toolbar__filters .bapf_hascolarr {
	margin: 0;
}

.starlight-shop-toolbar__filters .bapf_body {
	padding: 15px;
	transition: max-height 0.3s ease-out;
}

.starlight-shop-toolbar__filters .bapf_colaps_togl {
	padding: 15px;
	background-color: #1c1c1c;
}

.starlight-shop-toolbar__filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a:focus,
.starlight-shop-toolbar__filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a:hover {
	border-color: #ddd;
	color: #ddd;
}

.starlight-shop-toolbar__filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area a,
.starlight-shop-toolbar__filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a,
.starlight-shop-toolbar__filters .bapf-sfa-grey-rounded .berocket_aapf_widget_selected_area li a::before {
	color: #f90;
}

.starlight-shop-toolbar__filters .bapf_ckbox_sqchck input[type="checkbox"]:checked::after {
	border-right: 2px solid #f90;
	border-bottom: 2px solid #f90;
}

.starlight-shop-toolbar__filters .irs--flat .irs-bar,
.starlight-shop-toolbar__filters .irs--flat .irs-from,
.starlight-shop-toolbar__filters .irs--flat .irs-single,
.starlight-shop-toolbar__filters .irs--flat .irs-to,
.starlight-shop-toolbar__filters .irs--round .irs-handle,
.starlight-shop-toolbar__filters .irs--round .irs-from,
.starlight-shop-toolbar__filters .irs--round .irs-bar,
.starlight-shop-toolbar__filters .irs--round .irs-to,
.starlight-shop-toolbar__filters .irs--round .irs-single {
	background-color: #f05025 !important;
}

.starlight-shop-toolbar__filters .irs--round .irs-handle {
	border: 4px solid #f05025 !important;
}

.starlight-shop-toolbar__filters .irs--round .irs-from::before,
.starlight-shop-toolbar__filters .irs--round .irs-to::before,
.starlight-shop-toolbar__filters .irs--round .irs-single::before {
	border-top-color: #f05025 !important;
}

.woocommerce nav.woocommerce-pagination ul li {
	margin-top: 4px !important;
}

@media (max-width: 900px) {
	.starlight-shop-toolbar__row,
	.starlight-shop-toolbar__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.starlight-shop-toolbar__controls {
		justify-content: space-between;
	}

	.starlight-shop-toolbar__actions {
		width: 100%;
		margin-left: 0;
	}

	.starlight-shop-product-search {
		width: 100%;
		min-width: 0;
	}

	.starlight-shop-toolbar__filters {
		grid-template-columns: 1fr;
	}
}
