#block-7 p{
	margin:0;
}
.affinite-product-filter{
	display:flex;
	flex-direction:column;
	gap:0;
	border-radius: 10px;
	background: #F0F2F5;
	padding-top:10px;
	padding-bottom:10px;
}
.apf-filter{
	padding:12px 30px 19px 30px;;
	border-bottom:1px solid #dddddd;
}
.apf-filter:last-child{
	border-bottom:none;
}
.affinite-product-filter__title{
	font-size:1.5rem;
	font-weight:bold;	
}
.apf-filter__title{
	color: #232F3E;
	font-size: 18px;
	font-weight: 700;
	line-height: 40px;
	margin:0;
}

/* Checkbox Filter */
.apf-checkbox__list{
	width:100%;
	display:flex;
	flex-direction:column;
	margin:0;
	padding:0;
	list-style:none;
}

.apf-checkbox__item{
	display:flex;
	width:100%;
	position:relative;
}

.apf-checkbox__item .checkbox__item-switcher{
	position:absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width:22px;
	height:22px;
	border-radius: 4px;
	border: 1px solid #CCC;
	background: #FFF;
	box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.25) inset;
}
.apf-checkbox__item.active .checkbox__item-switcher{
	background:#3B8FFF;
	box-shadow:none;
	border: 1px solid #3B8FFF;
}
.apf-checkbox__item.active .checkbox__item-switcher::before{
	content: "";
	position: absolute;
	background-color: #ffffff;
	border-radius: 1px;
	height: 3px;
    width: 6px;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -1px;
	transform-origin: left center;
	transform: translate(-50%, -50%) rotate(45deg);
}
.apf-checkbox__item.active .checkbox__item-switcher::after {
  	content: "";
  	position: absolute;
  	background-color: #ffffff;
  	border-radius: 1px;
    height: 3px;
    width: 12px;
    top: 50%;
    left: 50%;
    transform-origin: left center;
	transform: translate(-50%, -50%) rotate(-45deg);
    margin-left: 3px;
    margin-top: 4px;
}

.apf-checkbox__item label{
	cursor:pointer;
	display:flex;
	justify-content:space-between;
	align-items:center;
	width:100%;
	min-height: 33px;
	color: #5F6061;
	font-size: 16px;
	font-weight: 400;
	line-height: 33px;
	padding-left:34px;
}
.apf-checkbox__item input{
	display:none;
}
.apf-checkbox__item .checkbox__item-label{
	line-height: 1.25rem;
}
.apf-checkbox__item.active .checkbox__item-label{
	font-weight: 700;
}
.apf-checkbox__item .checkbox__item-count{
	padding: 0 6px;
	border-radius: 3px;
	background: #E2E6EC;
	color: #AAA;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
}

/* Label Filter */
.apf-labels__list{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
}
.apf-label__item{
	display:flex;
	flex-wrap:wrap;
	gap:5px;
	row-gap:15px;
}
.apf-label__item input{
	display:none;
}
.apf-label__item span.label__item-label{
	cursor:pointer;
	color: #5F6061;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	padding: 2px 4px;
	border-radius: 3px;
	background: #E2E6EC;
	border: 1px solid #CCC;
}
.apf-label__item.active span.label__item-label{
	background: #3B8FFF;
	color: #FFF;
	border: 1px solid #3B8FFF;
}	

/* Color Filter */
.apf-color__list{
	width:100%;
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:10px;
	row-gap:10px;
	margin:0;
	padding:0;
	list-style:none;
}

.apf-color__item{
	display:flex;
	width:100%;
	position:relative;
}

.apf-color__item .color__item-switcher{
	position:absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width:22px;
	height:22px;
	border-radius: 4px;	
}
.apf-color__item.active .color__item-switcher::before{
	content: "";
	position: absolute;
	background-color: #ffffff;
	border-radius: 1px;
	height: 3px;
    width: 6px;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -1px;
	transform-origin: left center;
	transform: translate(-50%, -50%) rotate(45deg);
}
.apf-color__item.active .color__item-switcher::after {
  	content: "";
  	position: absolute;
  	background-color: #ffffff;
  	border-radius: 1px;
    height: 3px;
    width: 12px;
    top: 50%;
    left: 50%;
    transform-origin: left center;
	transform: translate(-50%, -50%) rotate(-45deg);
    margin-left: 3px;
    margin-top: 4px;
}

.apf-color__item label{
	cursor:pointer;
	display:flex;
	justify-content:space-between;
	align-items:center;
	width:100%;
	min-height: 33px;
	color: #5F6061;
	font-size: 16px;
	font-weight: 400;
	line-height: 33px;
	padding-left:34px;
}
.apf-color__item input{
	display:none;
}
.apf-color__item.active .color__item-label{
	font-weight: 700;
}
.apf-color__item .color__item-label{
	line-height: 1.25rem;
}

/* Price Filter */
.apf-price-slider {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.apf-price-slider__track-container {
	display: flex;
	align-items: center;
	width: 100%;
	height: 26px;
	position: relative;
}

.apf-price-slider__track {
	position: relative;
	width: 100%;
	height: 10px;
	background-color: #ccc;
	border-radius: 10px;
	z-index: 1;
}

.apf-price-slider__range {
	position: absolute;
	height: 100%;
	background-color: #232F3E;
	border-radius: 10px;
	top: 0;
	left: 0%;
	right: 0%;
	z-index: 2;
	pointer-events: none;
}

/* Inputs */
.apf-price-slider .apf-price-slider__input {
	position: absolute;
	top: -10px;
	width: 100%;
	background: transparent;
	border: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	z-index: 3;
}
.apf-price-slider__input.apf-price-slider__input--min{
	left:-5px;
}
.apf-price-slider__input.apf-price-slider__input--max{
	right:-5px;
}

/* z-index pro správné vrstvení palců */
.apf-price-slider__input--min {
	z-index: 4;
}
.apf-price-slider__input--max {
	z-index: 3;
}

/* Common thumb styles */
.apf-price-slider .apf-price-slider__input::-webkit-slider-thumb {
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #DDD;
	background: #FFF;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background 0.3s ease;
	position: relative;
	z-index: 5;
}

.apf-price-slider .apf-price-slider__input::-moz-range-thumb {
	pointer-events: auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #DDD;
	background: #FFF;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.apf-price-slider .apf-price-slider__input::-ms-thumb {
	pointer-events: auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #DDD;
	background: #FFF;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

/* Value inputs (min/max) */
.apf-price-slider__values {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.apf-price-slider__value {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 5px 0;
	width: 100%;
	max-width: 70px;
	border-radius: 4px;
	border: 1px solid #CCC;
	background: #FFF;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25);
	color: #232F3E;
	font-size: 16px;
	font-weight: 400;
	line-height: 33px;
}


/* Rating Filter */
.apf-stars__list{
	display:flex;
	flex-direction:column;
}
.apf-stars__item {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.apf-stars__item input{
	display:none;
}	
.stars__visual .star {
	font-size: 1.2rem;
	line-height: 1;
}

.star--on {
	color: #F9BF3B;
}

.star--off {
	color: #ccc;	
}
.apf-stars__item .stars__label{
	color: #232F3E;
	font-size: 14px;
	font-weight: 400;
	line-height: 33px;
}
.apf-stars__item.active .stars__label{
	font-weight: 700;
}	
/* Text Input Filter */
.apf-filter.apf-filter__text{
	display:flex;
	flex-direction:column;
	gap:10px;
}
.apf-filter__text .apf-filter__text-input{
	width:100%;
	border-radius: 4px;
	border: 1px solid #CCC;
	background: #FFF;
	box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.25) inset;
	color: #99A0A7;
	font-size: 16px;
	font-weight: 400;
	line-height: 33px;
	padding:5px 10px;
}
