/* Фильтр в модалке для мобильной версии */

@media (max-width: 768px) {
	.filter-modal ul.wpf_links.wpf_hierachy {
		max-height: 218px!important;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}

	ul.ags-wc-filters-list.ags-wc-filters-checkbox-list {
		max-height: 212px!important;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.filter-modal .wpf_item li, .filter-modal .wpf_item ul ul li {
	    margin: 0 0 10px;
	}

	.filter-modal .wpf_item {
	    padding: 0;
	}

	.filter-modal .ags-wc-filters-button-apply {
	    color: #FFFFFF!important;
	    border-width: 0px!important;
	    font-size: 18px!important;
	    background-color: #09AB8C!important;
	    margin-top: 5px;
	    margin-right: 7px;
	    margin-bottom: 5px;
	    margin-left: 7px;
	}

	.filter-modal .ags-wc-filters-button-clear {
	    padding: 8px !important;
	}

	.filter-modal .et-db #et-boc .et-l .et_pb_toggle_0_tb_body.et_pb_toggle.et_pb_toggle_open, .et-db #et-boc .et-l .et_pb_toggle_0_tb_body.et_pb_toggle.et_pb_toggle_close {
	    background-color: rgb(249 249 249);
	}

	.filter-toggle {
        position: fixed;
        bottom: 30%;
        right: 0;
        z-index: 9999;
        background: #000;
        color: #fff;
        border: none;
        padding: 12px 20px;
        border-radius: 8px 0 0 8px;
        font-size: 16px;
    }
	.filter-modal {
	  position: fixed;
	  z-index: 10000;
	  left: 0;
	  top: 0;
	  width: 100%;
	  height: 100%;
	  overflow-y: auto;
	  background-color: rgba(0,0,0,0.6);
	  display: none;
	  align-items: center;
	  justify-content: center;
	}

	.filter-modal-content {
	  background: #fff;
	  margin: 10% auto;
	  padding: 20px;
	  width: 90%;
	  max-width: 400px;
	  border-radius: 12px;
	}

	.filter-modal-title {
		font-weight: 700;
		font-size: 20px;
		margin: 10px;
	}
	
	#close-filter {
		float: right;
		font-size: 34px;
		cursor: pointer;
		position: relative;
		z-index: 10;
	}
	.et-db #et-boc .et-l .ags_woo_products_filters_0 {
    	border-radius: 10px;
	}
	.et_pb_module.et_pb_toggle.et_pb_toggle_0_tb_body.et_pb_toggle_item.et_pb_toggle_close {
		background-color: #f9f9f9!important;
		padding: 15px 25px!important;
		margin-bottom: 15px;
		border-radius: 10px;
	}
	.et_pb_module.et_pb_toggle.et_pb_toggle_0_tb_body.et_pb_toggle_item > .et_pb_toggle_title {
		color: #000!important;
	}
	.et-db #et-boc .et-l .et_pb_toggle {
		border: 0!important;
	}
}

#filter-modal {
	display: none;		
}

@media (min-width: 768px) {
	#filter-btn {
		display: none;		
	}
}
 
/* КОНЕЦ Фильтр в модалке для мобильной версии */