/** -------------------- **/
/** -------------------- **/
/* Product Filter overrides */


/* RWD filter toggle */
@media (max-width: 999px) {
	body.archive .ct-sticky-widgets {display: none;}
}
.swe-product-filter-toggle {
	display: flex;
	gap: 10px;
	background: var(--theme-palette-color-6);
	border-radius: 5px;
	padding: .25em;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	font-family: 'futura-pt';
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 2px solid var(--swe-blue-med);
}
.swe-product-filter-toggle .swe-filter-toggle-icon img {
	display: block;
	max-width: 1.2rem;
}
@media (min-width: 1000px) {
	.swe-product-filter-toggle {display: none;}
}
@media (max-width: 999px) {
	body.archive .ct-sticky-widgets.inactive {
		display: none;
	}
	
	body.archive .ct-sticky-widgets.active {
		display: block;
	}
}


.wcapf-filter {
	--wcapf-filter-base-bottom-margin: 11px;
	border-top: 1px solid #efefef;
	padding-top: 11px;
}
.wcapf-filter h4.wcapf-filter-title {
	font-size: 1em;
}

/* Checkbox lists */
.wcapf-filter .wcapf-list-wrapper.layout-list ul.wcapf-filter-options li.wcapf-filter-option {
	--wcapf-filter-item-vertical-spacing: .55em;
}
span.wcapf-filter-item-label {
	line-height: 1.1em;
}
span.wcapf-nav-item-count {
	font-size: .8em;
	white-space: nowrap;
}

/* Custom Sidebar Filter Callouts buttons (shortcode) */
.ct-sidebar .filter-callouts {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	container-type: inline-size;
}
.ct-sidebar a.filter-callout {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	background-color: #efefef;
	padding: 10px;
	gap: 7px;
	flex-wrap: wrap;
	flex-basis: min-content;
}
.ct-sidebar a.filter-callout:hover {
	background-color: var(--theme-palette-color-6);
}
.ct-sidebar a.filter-callout img {
	height: auto;
	width: auto;
/*	max-height: ;
	max-width: ; /*/
}
@container (max-width: 179.9px) {
	.ct-sidebar a.filter-callout.twelve-ship-filter-callout {
/*		order: 3; */
		flex-basis: 100%;
	}
}
.ct-sidebar a.filter-callout.twelve-ship-filter-callout {
	background-color: var(--color-12ship);
}
.ct-sidebar a.filter-callout.twelve-ship-filter-callout:hover {
	background-color: var(--color-12ship-light);
}
.ct-sidebar a.filter-callout.filter-callout-active {
	border: 2px solid var(--theme-palette-color-2);
	background-color: #efefef;
}
.ct-sidebar a.filter-callout.filter-callout-active.twelve-ship-filter-callout {
	background-color: var(--color-12ship-light);
}
/* price range dollar signs */
.wcapf-filter-471527 .wcapf-range-start,
.wcapf-filter-471527 .wcapf-range-end,
.wcapf-filter-419328 .wcapf-range-start,
.wcapf-filter-419328 .wcapf-range-end, 
.wcapf-filter-471679 .wcapf-range-start,
.wcapf-filter-471679 .wcapf-range-end {
	display: flex;
	align-items: center;
	gap: 4px;
}
.wcapf-filter-471527 .wcapf-range-start::before,
.wcapf-filter-471527 .wcapf-range-end::before,
.wcapf-filter-419328 .wcapf-range-start::before,
.wcapf-filter-419328 .wcapf-range-end::before, 
.wcapf-filter-471679 .wcapf-range-start::before,
.wcapf-filter-471679 .wcapf-range-end::before {
	content: '$';
	font-family: var(--theme-font-family-brand);
	font-weight: 500;
	font-size: .8rem;
}
/* price range input and custom submit button */
.wcapf-range-wrapper .range-values.display-values-as-input_field.justify-between { gap: 5px }
.wcapf-range-wrapper .range-values.display-values-as-input_field.justify-between input[type="number"] {
	padding: 2px;
	text-align: center;
	line-height: 28px;
}
.wcapf-range-wrapper .range-values.display-values-as-input_field.justify-between input[type="number"]::-webkit-outer-spin-button,
.wcapf-range-wrapper .range-values.display-values-as-input_field.justify-between input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.wcapf-range-wrapper .range-values.display-values-as-input_field.justify-between input[type="number"] {
	-moz-appearance: textfield;
}
.wcapf-range-wrapper a.price-submit-button {
	aspect-ratio: 1 / 1;
	padding: 0;
	background-color: var(--theme-palette-color-5);
	color: var(--theme-palette-color-1);
	font-size: 20px;
	line-height: 1;
	min-height: 34px;
}
.wcapf-range-wrapper a.price-submit-button:hover, .wcapf-range-wrapper a.price-submit-button:active {
	background-color: var(--theme-palette-color-2);
	color: #fff;
}

/* Score labels */
.wcapf-filter-meta-product_max_rating .wcapf-range-wrapper .justify-center {gap: 4px;}
.wcapf-filter-meta-product_max_rating .wcapf-range-start,
.wcapf-filter-meta-product_max_rating .wcapf-range-end {gap: 2px;}
.wcapf-filter-meta-product_max_rating .min-value,
.wcapf-filter-meta-product_max_rating .max-value {font-weight: 700;}
.wcapf-filter-meta-product_max_rating .wcapf-range-unit {font-size: .8em;}
.wcapf-filter-meta-product_max_rating .wcapf-range-start .wcapf-range-unit {display: none;}


/* active filter highlight */
.filter-active {}
.filter-active::before {
	content: '•';
	position: absolute;
	left: -15px;
	color: var(--theme-palette-color-2);
}


/* Filter pills */
.wcapf-active-filters-before-shop-loop {
	padding: 0 14px;
	background: var(--theme-palette-color-6);
	border-radius: 8px;
	margin-bottom: 20px;
}
@media (max-width: 999px) {
	.wcapf-active-filters-before-shop-loop {margin-top: -30px;}
}
.wcapf-active-filters-before-shop-loop .wcapf-filter {
	padding: 12px 6px 4px;
	margin-bottom: 0;
}
.wcapf-active-filter-items {
	display: flex;
	gap: 0 8px;
	flex-wrap: wrap;
	align-items: baseline;
}
.wcapf-active-filter-items::before {
	content: 'Active Filters:';
	font-family: 'futura-pt';
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.05em;
}
@media (max-width: 690px) {
	.wcapf-active-filter-items::before {
		flex-basis: 100%;
		text-align: center;
		margin-bottom: .333em;
	}
	.wcapf-active-filter-items {
		justify-content: center;
	}
}
body:not(.rtl) .wcapf-active-filter-items-wrapper .wcapf-active-filter-item {
	margin-right: 0;	
}
body:not(.rtl) .wcapf-active-filters.clear-all-btn-layout-inline .wcapf-active-filter-items .wcapf-active-filter-item.last-item {
	padding-left: 10px;
	margin-right: 0;
}

/* Change the pills to be build with flex rather than calc absolute position of the X buttons */
body:not(.rtl) .wcapf-active-filter-items-wrapper .wcapf-active-filter-item {
	padding: 3px 12px;
	display: inline-flex;
	gap: 8px;
}

body:not(.rtl) .wcapf-active-filter-items-wrapper .wcapf-active-filter-item .wcapf-cross-sign {
	position: relative;
	right: auto;
}

button.wcapf-filter-clear-btn.wcapf-active-filter-item,
button.wcapf-filter-clear-btn.wcapf-active-filter-item:active,
button.wcapf-filter-clear-btn.wcapf-active-filter-item:focus {
	background-color: #fff;
	border: 2px solid var(--theme-palette-color-4);
}
button.wcapf-filter-clear-btn.wcapf-active-filter-item:hover {
	border: 2px solid var(--theme-palette-color-2);
}
button.wcapf-filter-clear-btn.wcapf-active-filter-item span.wcapf-cross-sign {
	font-weight: 700;
	color: var(--theme-palette-color-1);
	opacity: 100;
}
button.wcapf-filter-clear-btn.wcapf-active-filter-item:hover span.wcapf-cross-sign {
	color: var(--theme-palette-color-2);
}

/* Sort */
/* removed for blocksy 2.0.81 update Dec 2024
	form.woocommerce-ordering {
		display: flex;
		align-items: baseline;
		gap: 12px;
	}
	form.woocommerce-ordering::before {
		content: 'Sort:';
	}
*/
.woo-listing-top select.orderby {
	border-radius: 8px;
}

.range-values .ok-button {
	width: 30px;
	border: 0px;
	height: 40px;
	color: var(--theme-palette-color-1);
	font-weight: bold;
	cursor: pointer;
}