.scpf-container {
	background: #fff;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-family: inherit;
}

.scpf-filter-group {
	margin-bottom: 22px;
}

.scpf-title {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	margin: 0 0 12px 0;
}

/* Bezwarunkowe ukrycie domyślnej paginacji motywu (zarówno na górze jak i na dole) */
.woocommerce-pagination,
.woocommerce-pagination--without-numbers,
.storefront-sorting .woocommerce-pagination {
	display: none !important;
}

/* SUWAK CENOWY */
.scpf-price-box {
	position: relative;
}

.scpf-dual-slider-container {
	position: relative;
	width: 100%;
	height: 24px;
	margin: 15px 0 10px 0;
	display: flex;
	align-items: center;
}

.scpf-slider-track {
	position: absolute;
	height: 4px;
	width: 100%;
	background-color: #e2e8f0;
	border-radius: 2px;
	z-index: 1;
}

.scpf-dual-slider-container input[type="range"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: absolute;
	pointer-events: none;
	width: 100%;
	height: 100%;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	margin: 0;
	padding: 0;
	z-index: 2;
}

.scpf-dual-slider-container input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #000;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
	cursor: pointer;
	transition: transform 0.1s ease;
}

.scpf-dual-slider-container input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.scpf-dual-slider-container input[type="range"]::-moz-range-thumb {
	pointer-events: all;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #000;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
	cursor: pointer;
}

.scpf-price-inputs-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.scpf-price-inputs-row input[type="number"] {
	width: 80px;
	height: 38px;
	border: 1px solid #ccc;
	border-radius: 6px;
	text-align: center;
	font-size: 14px;
	color: #222;
	background: #fff;
	-moz-appearance: textfield;
}

.scpf-price-inputs-row input[type="number"]::-webkit-outer-spin-button,
.scpf-price-inputs-row input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.scpf-price-dash {
	color: #555;
	font-weight: bold;
}

.scpf-currency {
	color: #5d717d;
	font-size: 14px;
}

/* MARKI */
.scpf-checkbox-list {
	max-height: 210px;
	overflow-y: auto;
	padding-right: 5px;
}

.scpf-checkbox-list::-webkit-scrollbar {
	width: 5px;
}
.scpf-checkbox-list::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.scpf-checkbox-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	color: #5d717d;
	cursor: pointer;
	user-select: none;
}

.scpf-checkbox-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border: 1px solid #ccc;
	border-radius: 2px;
	cursor: pointer;
	margin: 0;
}

.scpf-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

/* STYL DOLNEJ PAGINACJI */
.scpf-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
	margin-bottom: 25px;
	clear: both;
}

.scpf-page-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #333;
	border-radius: 50%;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.scpf-page-btn:hover {
	border-color: #000;
	color: #000;
}

.scpf-page-btn.scpf-active-page {
	background: #000;
	color: #fff;
	border-color: #000;
}

.scpf-page-btn.scpf-arrow {
	font-size: 16px;
}

.scpf-dots {
	padding: 0 4px;
	color: #888;
	font-size: 14px;
	user-select: none;
}

.scpf-mobile-trigger-btn,
.scpf-mobile-header,
.scpf-overlay {
	display: none;
}

@media (max-width: 767px) {
	.scpf-mobile-trigger-btn {
		display: inline-flex !important;
		align-items: center;
		gap: 8px;
		background: #222;
		color: #fff;
		padding: 12px 16px;
		border: none;
		border-radius: 6px;
		font-weight: 600;
		cursor: pointer;
		margin-top: 10px;
		margin-bottom: 20px;
		width: 100%;
		justify-content: center;
		clear: both;
	}

	.scpf-overlay {
		position: fixed;
		top: 0; left: 0; right: 0; bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 99998;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.scpf-overlay.scpf-active {
		opacity: 1;
		visibility: visible;
	}

	.scpf-container.scpf-has-offcanvas {
		position: fixed;
		top: 0; bottom: 0;
		width: 300px;
		max-width: 85%;
		height: 100vh;
		background: #fff;
		z-index: 99999;
		overflow-y: auto;
		box-shadow: 0 0 20px rgba(0,0,0,0.2);
		transition: transform 0.3s ease;
		margin-bottom: 0;
		border-radius: 0;
		padding: 20px;
	}

	.scpf-container.scpf-pos-left { left: 0; transform: translateX(-100%); }
	.scpf-container.scpf-pos-right { right: 0; transform: translateX(100%); }
	
	.scpf-container.scpf-active {
		transform: translateX(0) !important;
	}

	.scpf-mobile-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom: 1px solid #eee;
		padding-bottom: 10px;
		margin-bottom: 15px;
	}

	.scpf-mobile-header h3 { margin: 0; font-size: 18px; }
	.scpf-close-btn { background: none; border: none; font-size: 24px; cursor: pointer; }
}


