.mpf {
	width: 100%;
	color: #0b0f1a;
}
.mpf * {
	box-sizing: border-box;
}

.mpf-form {
	width: 100%;
}

.mpf-groups {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mpf-loading {
	opacity: 0.55;
	pointer-events: none;
}

.mpf-group,
.mpf-price-block {
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.mpf-group-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	outline: none;
	position: relative;
}

.mpf-group-title {
	font-weight: 700;
	line-height: 1.2;
	font-size: 18px;
	color: #0b0f1a;
}

.mpf-chevron {
	display: none;
}

.mpf-group:not(.mpf-group-static) .mpf-group-toggle::after {
	content: '+';
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: #0b0f1a;
}

.mpf-group:not(.mpf-group-static) .mpf-group-toggle[aria-expanded='true']::after {
	content: '–';
	font-size: 26px;
	transform: translateY(-1px);
}

.mpf-group-body {
	padding: 0 0 12px 0;
}

.mpf-group-body[hidden] {
	display: none !important;
}

.mpf-group + .mpf-group {
	border-top: 0;
}

.mpf-group-toggle::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(11, 15, 26, 0.12);
}

.mpf-group-body.mpf-scroll {
	max-height: 240px;
	overflow: auto;
	padding-right: 10px;
}

.mpf-group-body.mpf-scroll::-webkit-scrollbar {
	width: 8px;
}
.mpf-group-body.mpf-scroll::-webkit-scrollbar-thumb {
	background: rgba(11, 15, 26, 0.25);
	border-radius: 999px;
}
.mpf-group-body.mpf-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.mpf-check {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	cursor: pointer;
	user-select: none;
}

.mpf-check input {
	margin: 0;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	accent-color: #0b0f1a;
}

.mpf-check-name {
	min-width: 0;
	font-size: 15px;
	line-height: 1.25;
	color: #0b0f1a;
}

.mpf-actions {
	margin-top: 14px;
}

.mpf-reset {
	width: 100%;
	border: 0;
	background: #0b1a2f;
	color: #fff;
	border-radius: 4px;
	padding: 14px 16px;
	cursor: pointer;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mpf-reset:hover {
	filter: brightness(1.05);
}

.mpf-price-title {
	padding: 0 0 10px 0;
	font-weight: 700;
	font-size: 18px;
	color: #0b0f1a;
}

.mpf-range {
	position: relative;
	padding: 10px 0 12px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mpf-range-track {
	position: relative;
	height: 10px;
	background: transparent;
}

.mpf-range-track::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 2px;
	background: rgba(11, 15, 26, 0.25);
}

.mpf-range-track-fill {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 2px;
	background: rgba(11, 15, 26, 0.45);
	left: 0;
	width: 100%;
}

.mpf-range input[type='range'] {
	position: absolute;
	left: 0;
	right: 0;
	top: 10px;
	height: 10px;
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.mpf-range input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 2px;
	background: #fff;
	border: 2px solid #0b0f1a;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: none;
}

.mpf-range input[type='range']::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 2px;
	background: #fff;
	border: 2px solid #0b0f1a;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: none;
}

.mpf-range input[type='range']::-webkit-slider-runnable-track {
	height: 10px;
	background: transparent;
}

.mpf-range input[type='range']::-moz-range-track {
	height: 10px;
	background: transparent;
}

.mpf-range-values {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	padding-top: 22px;
	font-size: 15px;
	color: #0b0f1a;
}

.mpf-range-sep {
	opacity: 0.9;
	font-weight: 700;
}

.mpf-range-val-max::after {
	content: ' zł';
	margin-left: 4px;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.mpf-group-title,
	.mpf-price-title {
		font-size: 17px;
	}
}

@media (max-width: 768px) {
		.mpf-form{
	    padding: 20px;
    	margin-top: 50px;
	}
	.mpf-groups {
		gap: 14px;
	}
	.mpf-group-title,
	.mpf-price-title {
		font-size: 16px;
	}
	.mpf-check-name {
		font-size: 14px;
	}
	.mpf-group-body.mpf-scroll {
		max-height: 220px;
	}
}

@media (max-width: 480px) {
	.mpf-form{
	    padding: 20px;
    	margin-top: 50px;
	}
	.mpf-group-toggle {
		padding: 12px 0;
	}
	.mpf-reset {
		padding: 14px 14px;
	}
	.mpf-group-body.mpf-scroll {
		max-height: 200px;
	}
}
