/* ------------------------------------------------------------------------------------------------------------------ */
/* Выпадающее меню с категориями аксессуаров */

.accessory-types-container {
	background-color: rgb(var(--color-grey-bg));
	border: rgb(var(--color-grey-bg)) 1px solid;
	border-radius: var(--border-radius);
	font-size: 14px;
	position: relative;
	vertical-align: middle;
	width: 420px;
	z-index: 10;
	transition-duration: var(--timing-toggle);
	transition-property: border-color, box-shadow, background-color;
}

.accessory-types-container_opened {
	z-index: 100;
}

.accessory-types-container_selected {
	background-color: rgb(var(--color-black));
	border-color: rgb(var(--color-black));
	color: rgb(var(--color-white));
}

#cur_selected_type {
	/*background-color: inherit;*/
	cursor: default;
	padding: 10px 10px 10px 0;
	margin-left: 28px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	box-sizing: border-box;
	height: 38px;
	line-height: 18px;
}

.accessory-types-container .dd-icon {
	background-image: url(/static/resp/img/icon/expand_more_grey.svg);
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 28px;
	transition: transform var(--timing-toggle);
	background-position: center;
	margin: auto;
	background-repeat: no-repeat;
	opacity: 0.8;
}

.accessory-types-container_opened .dd-icon {
	transform: scaleY(-1);
}

.accessory-types-container_selected .dd-icon{
	background-image: url(/static/resp/img/icon/expand_more_white.svg);
}

.accessory-types__clear {
	display: none;
	position: absolute;
	width: 24px;
	height: 24px;
	right: 8px;
	top: 8px;
	background: url(/static/resp/img/icon/close.svg) center no-repeat;
	background-size: 18px;
	cursor: pointer;
}

.accessory-types-container_selected .accessory-types__clear {
	display: block;
}

#accessory_types_container {
	background-color: rgb(var(--color-white));
	padding: 8px;
	position: absolute;
	margin-top: 8px;
	left: -1px;
	right: -1px;
	overflow-y: hidden;
	overflow-x: hidden;
	border-radius: var(--border-radius);
	box-shadow: 0 16px 24px -4px rgba(15, 17, 8, 0.4);
	/*display: none;*/
	transition: opacity var(--timing-toggle);
	opacity: 0;
	pointer-events: none;
}

#accessory_types {
	overflow-y: auto;
	overflow-x: hidden;
	/*position: absolute;*/
	/*top: 0;*/
	/*right: 0;*/
	/*left: 0;*/
	/*bottom: 0;*/
	max-height: 300px;
}

.accessory-types-container_opened #accessory_types_container {
	/*display: block;*/
	opacity: 1;
	pointer-events: all;
}


/* ------------------------------------------------------------------------------------------------------------------ */

#accessory_types_tree {
	margin: 8px 16px 8px 8px;
}

.noms-tree {
	list-style: none;
	line-height: 24px;
	margin: 0;
	padding: 0;
}

.noms-tree__parent {

}

.noms-tree__parent {
	border-bottom: rgb(var(--color-grey-bg)) 1px solid;
	padding-bottom: 16px;
	padding-top: 16px;
}

.noms-tree__parent:first-child{
	padding-top: 0;
}
.noms-tree__parent:last-child{
	border-bottom: none;
	padding-bottom: 0;
}

.noms-tree__parent-link:before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/static/resp/img/icon/expand_more_grey.svg) center no-repeat;
	background-size: contain;
	vertical-align: middle;
	transition: transform var(--timing-toggle);
	padding: 0 4px 0 0;
}

.noms-tree__parent_empty::before {
	background: none;
}

.noms-tree__parent-link {
	font-weight: bold;
	text-decoration: none;
	color: rgb(var(--color-black));
}

.noms-tree__parent-link:hover {
	text-decoration: none;
}

.noms-tree__children {
	list-style: none;
	margin: 0 0 0 28px;
	padding: 0;
	display: none;
}

.noms-tree__parent_opened .noms-tree__children {
	display: block;
}

.noms-tree__parent_opened .noms-tree__parent-link::before {
	transform: scaleY(-1);
}

.noms-tree__child {

}

.noms-tree__child-link {
	text-decoration: none;
	color: rgb(var(--color-black));
}

.noms-tree__child-link:hover {
	text-decoration: underline;
	color: rgb(var(--color-accent));
}

.noms-tree__link_selected {
	color: rgb(var(--color-accent));
}

/* ------------------------------------------------------------------------------------------------------------------ */

.selection-filters-button-container {
	display: none;
}

.selection-filters {
	background-color: rgb(var(--color-white));
	border-radius: var(--border-radius);
	box-shadow: 0 4px 4px -4px rgba(var(--color-black), 0.1);
	display: grid;
	grid-template-columns: 1fr max-content;
	padding: 16px 16px 8px 16px;
}

.selection-filters__params {}

.selection-filters__apply {}

.selection-filters__param {
	display: inline-block;
	margin: 0 8px 8px 0;
	vertical-align: middle;
}

.apply-filters-button {
	box-sizing: border-box;
	height: 40px;
	font-size: 14px;
}

.slider-container {
	margin-top: 24px;
}

