#collection {
  --sidebar_width: 100%;
  --sidebar_padding: 30px;
  --sidebar_margin: 60px;
}

#collection .page-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#collection .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 9999;
	min-width: var(--sidebar_width);
  max-width: var(--sidebar_width);
  height: 100%;
  padding: var(--sidebar_padding);
  padding-top: var(--header_height);
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
  -webkit-transition: var(--transition_large);
  -o-transition: var(--transition_large);
  transition: var(--transition_large);
}

#collection .sidebar.active {
	-webkit-transform: translateX(0);
	    -ms-transform: translateX(0);
	        transform: translateX(0);
}

#collection .sidebar-overlay.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  -webkit-transition: var(--transition_large);
  -o-transition: var(--transition_large);
  transition: var(--transition_large);
}

#collection .sidebar .close-sidebar {
	position: absolute;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: var(--header_height);
  height: var(--header_height);
  font-size: 22px;
  background: var(--black);
  color: #fff;
  border-bottom-left-radius: var(--border_radius);
}

#collection .sidebar .sb-title {
  font-weight: bold;
  color: var(--black);
  font-size: var(--font_h3);
  margin-bottom: 0.6em;
}

#collection .sidebar .sb-block:not(:first-child) {
	padding-top: calc(var(--block_spacing) / 2);
}

#collection .sidebar .sb-categories ul li:not(:first-child) {
	margin-top: 6px;
}

#collection .sidebar .sb-categories ul li a:hover {
	text-decoration: underline;
}

#collection .sidebar .sb-categories ul li.active a {
	font-weight: bold;
}

#collection .sidebar .filter-wrap:not(:first-child) {
  margin-top: 1.5em;
}

#collection .sidebar .filter-title {
  font-weight: bold;
  color: var(--black);
  margin-bottom: .9em;
}

#collection .sidebar .filter-items {
	margin: -5px 0;
}

#collection .sidebar .price-filter .filter-title {
  margin-bottom: 25px;
}

.price-filter a {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.collection-filter-price {
  height: 5px;
  border: none;
  margin: 0px;
  padding: 0;
  position: relative;
  width: 100%;
}

.collection-filter-price .ui-slider-range {
  background-color: var(--black);
  border: none;
  margin: 0;
  position: absolute;
  height: 5px;
  top: 0;
  z-index: 1;
}

.collection-filter-price .ui-slider-handle {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 0;
  top: -7.5px;
  cursor: col-resize;
  border: none;
  background-color: var(--black);
  border: none;
  outline: none;
  z-index: 9;
}

.collection-filter-price .ui-slider-handle:last-child {
	margin-left:-20px;
}

.collection-filter-price:after {
	display:block;
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:5px;
  background:#d1d1d1;
}

.price-filter-range {
  margin-top: 10px;
  font-size: .9em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.price-filter-range .min,
.price-filter-range .max {
  display: inline-block;
}

.price-filter-range .min span,
.price-filter-range .max span {
  font-weight: 600;
}

.price-filter-range .max {
  margin-left: 15px;
}

#collection .sort.top {
	margin-bottom: 30px;
}

#collection .sort.bottom {
	margin-top: 30px;
}

#collection .sort .sort-block label {
  margin: 0;
  margin-right: 0.5em;
  font-weight: 600;
  color: var(--black);
}

#collection .sort .custom-pager ul {
	gap: 10px;
}

#collection .sort .custom-pager ul li a i {
  font-size: 1.6em;
}

#collection .sort .custom-pager ul li.disabled a {
	pointer-events: none;
  opacity: .6;
}

#collection .sort .custom-pager ul li.number a {
	opacity: .6;
}

#collection .sort .custom-pager ul li.number.active a {
	opacity: 1;
  font-weight: bold;
}

#collection .collection-content {
	background: var(--accent);
}

#collection .collection-content .collection-title {
  font-weight: bold;
  font-size: var(--font_h2);
  margin-bottom: 0.8em;
}

@media (min-width: 768px) {
	#collection {
  	--sidebar_width: 400px;
	}
}

@media (min-width: 1400px) {
  #collection {
  	--sidebar_width: 300px;
  }
  
	#collection .sidebar {
    position: relative;
    top: auto;
    left: auto;
    background: #fff;
    z-index: unset;
    min-width: var(--sidebar_width);
    max-width: var(--sidebar_width);
    height: auto;
    padding: 0;
    margin-right: var(--sidebar_margin);
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
  }
  
  #collection .main-col {
    min-width: calc(100% - var(--sidebar_width));
    max-width: calc(100% - var(--sidebar_width));
  }
  
  #collection .sidebar-overlay,
  #collection .sidebar .close-sidebar,
  #collection .filter-toggle {
  	display: none;
  }
  
  #collection .collection-content .general-content {
    -webkit-column-gap: 5vw;
       -moz-column-gap: 5vw;
            column-gap: 5vw;
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }
}