.v__filter {

}
.v__body--fixed {
	overflow: hidden !important;
}
.v__filter--fast {
	margin: 0;
	padding: 0 0 16px 0;
	position: relative;
}

/** TOP **/
.v__filter--top {
	display: flex;
	align-content: start;
	align-items: center;
	justify-content: start;
}

.v__filter--trigger {
	padding: 12px 0;
	line-height: 24px;
	font-weight: 500;
	cursor: pointer;
	color: #fff;
}
.v__filter--trigger > * {
	display: inline-block;
	vertical-align: middle;
}

.v__trigger--clear {
	margin-left: 16px;
	opacity: 0.5;
	transition: 0.3s opacity;
	display: none;
	margin-top: 1px;
}
.v__trigger--clear:hover {
	opacity: 1;
}

.v__trigger--clear > svg {
	width: 16px;
	height: 16px;
}

/** TOP -> SORT **/

.v__filter--sort {
	margin-left: auto;
	position: relative;
}

.v__filtersort--title {
	cursor:pointer;
	color: #fff;
}
.v__filtersort--title > span,
.v__filtersort--title > svg {
	display: inline-block;
	vertical-align: bottom;
}
.v__filtersort--title > svg {
	margin-left: 6px;
	transition: .3s transform;
}
.v__filtersort--title.active > svg {
	transform: rotate(180deg);
}
.v__filtersort--items {
	opacity: 0;
	pointer-events: 0;
	transform: translateY(30px);
	transition: .3s transform, .3s opacity;
	background: #FFFFFF;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04), 0px 12px 12px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 8px 0;
	z-index: 10;
	top: 50px;
	right: 0;
	position: absolute;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	
}
.v__filtersort--title.active+.v__filtersort--items {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.v__filtersort--item {
	color: #999999;
	transition: .3s all;
	padding: 12px 24px;
	display: block;
	cursor: pointer;
}
.v__filtersort--item:hover {
	color: #262626;
}
.v__filtersort--items input {
	display: none;
}
.v__filtersort--items input:checked+.v__filtersort--item  {
	color: #262626;
	background: #F5F5F5;
}

/** COLLAPSE **/

.v__filter--collapse {
	padding: 12px 0;
	margin-left: auto;
	position: relative;
}

.v__filtercollapse--title {
	cursor:pointer;
	color: #fff;
	font-weight: 500;
}
.v__filtercollapse--title > span,
.v__filtercollapse--title > svg {
	display: inline-block;
	vertical-align: bottom;
}
.v__filtercollapse--title > svg {
	margin-left: 6px;
	transition: .3s transform;
}
.v__filtercollapse--title.active > svg {
	transform: rotate(180deg);
}
.v__filtercollapse--items {
	opacity: 0;
	pointer-events: 0;
	transform: translateY(30px);
	transition: .3s transform, .3s opacity;
	background: #FFFFFF;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.04), 0px 12px 12px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 8px 0;
	z-index: 10;
	top: 50px;
	right: 0;
	position: absolute;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	
}
.v__filtercollapse--title.active+.v__filtercollapse--items {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.v__filtercollapse--item {
	color: #999999;
	transition: .3s all;
	padding: 12px 24px;
	display: block;
	cursor: pointer;
}
.v__filtercollapse--item:hover {
	color: #262626;
}
.v__filtercollapse--item.active  {
	color: #262626;
	background: #F5F5F5;
}

/** TAGS **/

.v__filter--tags {
	padding: 8px 0 0 ;
	/* overflow: auto;
	white-space: nowrap;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch; */
}
.v__filter--tags::-webkit-scrollbar {
	display: none;
}
.v__filter--tag, .v__filter--total {
	display: inline-block;
	vertical-align: top;
	margin: 0 6px 6px 0;
	border-radius: 4px;
	background-color: rgba(255,255,255,.2);
	color: #fff;
	padding: 8px 12px;
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	transition: .3s all;
	cursor: pointer;
}
.v__filter--tag:last-child {
	margin-right: 0;
}
.v__filter--tag:hover {
	background-color: rgba(255,255,255,.4);
}
.v__filter--tag.active, .v__filter--total {
	background: #fff;
	color: #E22C38;
	position: relative;
}
.v__filter--label > sup,
.v__filter--tag >sup {
	line-height: 0 !important;
}
.v__total--counter {
	background-color: #E22C38;
	color: #ffffff;
	display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	font-size: 14px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
}
.v__filter--tag.collapse {
	display: none;
}
.v__filter--full {
	position: fixed;
	overflow: auto;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.4);
	top: 0;
	z-index: 19;
	display: none;
}
.v__filter--full::-webkit-scrollbar {
	display: none;
}
.v__filter--full.active {
	display: block;
}

.v__filter--form {
	cursor: default;
	width: 50%;
	min-height: 100vh;
	background: #FAEDE8;
	position: relative;
	color: #262626;
	padding-top: 104px;
	padding-bottom: 80px;
}
.v__filter--close {
	cursor: pointer;
	display: block;
	position: absolute;
	width: 48px;
	z-index: 40;
	height: 48px;
	top: 120px;
	right: 16px;
	transition: .3s filter;
	filter: grayscale(1) brightness(.5);
}
.v__filter--close:hover {
	filter: grayscale(0);
}
.v__filter--close > svg {
	pointer-events: none;
	width: 100%;
	height: 100%;
}

.v__filter--wrap {
	max-width: 840px;
	padding-left: 16px;
	padding-right: 16px;
	margin-left: auto;
	margin-right: 0;
}

.v__filter--blocks {
	margin-top: 69px;
}
.v__filter--block {
	border-radius: 4px;
	overflow: hidden;
	padding: 13px 16px 8px 16px;
	background: #fff;
	margin: 8px 0;
}

.v__block--title {
	font-size: 18px;
	line-height: 24px;
	color: #999999;
	margin: 0 0 19px 0;
}
.v__block--labels {
	position: relative;
}
.v__block--labels.more {
	overflow: auto;
	white-space: normal;
}

.v__filter--label {
	display: inline-block;
	background: #F5F5F5 no-repeat 14px center;
	transition: .3s background-color, .3s color;
	border-radius: 4px;
	padding: 12px;
	font-size: 18px;
	height: 48px;
	line-height: 24px;
	color: #262626;
	cursor: pointer;
	margin: 0 2px 6px 0;
	font-weight: 500;
	vertical-align: top;
}
.v__filter--label:hover {
	background-color: #DBDBDB;
}
.v__filter--label:last-child {
	margin-right: 0;
}
.v__filter--input {
	display: none;
}
.v__filter--input:checked+.v__filter--label {
	background-color: #E22C38;
	color: #fff;
}

.v__filter--buttons {
	position: fixed;
	padding: 8px 16px;
	bottom: 0;
	right: 50%;
	width: 50%;
	max-width: 840px;
	background: #faede8;
}
.v__filter--button {
	display: inline-block;
	cursor: pointer;
	width: calc(50% - 4px);
	margin-right: 8px;
	padding: 20px;
	text-align: center;
	border: none;
	border-radius: 4px;
	background: #fff;
	color: #E22C38;
	font-size: 18px;
	line-height: 24px;
	font-family: 's', sans-serif;
	font-weight: 500;
}
.v__filter--button:last-child {
	margin-right: 0;
	background: #E22C38;
	color: #fff;
}

.v__filterblock--hidden {
	display: none;
}

@media (max-width: 1023px) {

	.v__filter--trigger {
		padding: 9px 0;
		font-size: 14px;
		line-height: 18px;
	}
	.v__filter--close {
		width: 24px;
		height: 24px;
		transform: translateY(-4px);
	}
	.v__filter--form {
		width: 100%;
	}
	.filter-content {
		width: auto;
		padding-top: 14px;
		padding-bottom: 64px;
	}
	.v__filter--buttons {
		padding: 8px;
		right: 0;
		width: auto;
		left: 0;
		background: #fff;
	}
	.v__filter--button {
		padding: 12px;
	}
	.filter-title {
		font-size: 14px;
		line-height: 20px;
		margin-bottom: 7px;
	}
	.v__filter--label {
		height: 36px;
		font-size: 14px;
		line-height: 18px;
		padding: 9px 12px;
	}
	.v__block--labels {
		white-space: normal;
	}
	.filter-blocks {
		margin-top: 42px;
	}
	
	.v__filter--tag, .v__filter--total {
		margin: 0 4px 4px 0;
		padding: 6px 10px;
		font-size: 16px !important;
		line-height: 20px;
	}
	.v__total--counter {
		width: 20px;
		height: 20px;
		line-height: 20px;
	}
	.v__trigger--clear {
		margin-top: 3px;
		display: none !important;
	}
	.v__trigger--clear > svg {
		width: 15px;
		height: 15px;
	}
	.v__filtersort--title {
		font-size: 14px;
	}
}
