  .category-cover {
    position: relative;
    padding-bottom:var(--collection-cover-pd, 31.25%);
    width: 100%;
    font-size: 0;
    background-color:var(--collection-cover-bg-color, var(--theme-border-color));
  }
  .category-cover img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .pagination-list {
    margin-bottom: var(--collection-section-bottom, 40px);
  }
  .category-description {
    position: relative;
    max-height: 97px;
    margin-bottom:var(--collection-description-bottom,var(--collection-section-bottom,40px));
    overflow-y: hidden;
    font-size: var(--collection-description-size,16px);
    line-height: var(--collection-description-line-height,24px);
    text-overflow: ellipsis;
  }
  .category-description.content-limit--4::after{
    content: "";
    display: block;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to top, var(--page-bg-color), rgba(0, 0, 0, 0));
  }
  .product-list {
    margin-bottom: calc(var(--collection-section-bottom,40px) - var(--h-space));
  }
  .no-products {
    padding: 80px 0;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
  }
  .category-description.no-limit {
    max-height: initial;
  }
  .auto-product{
    --section-title-align:var(--section-title-text-align);
    padding:var(--list-auto-product-padding, 0 var(--side-padding) var(--section-space)) ;
  }
  @media screen and (max-width: 767px) {
    .no-products{
      font-size: 20px;
    }
  }

.category-controller .select-wrapper label,
.price-filter-label,.category-controller .select-price {
  background-color: #fff;
}
.collection-detail{
  --collection-section-bottom: 40px;
  --collection-list-pagination-space: 40px;
  --collection-description-text-bottom: 20px;
  --collection-description-btn-bottom: 40px;--collection-description-size: 16px;
  --collection-description-line-height: 24px;
}
@media screen and (max-width: 1200px){
  .collection-detail {
    --collection-section-bottom: 30px;
    --collection-list-pagination-space: 20px;
    --collection-description-text-bottom: 20px;
    --collection-description-btn-bottom: 30px;
    --collection-description-size: 14px;
    --collection-description-line-height: 22px;
  }
}
.price-range,
#sortBy {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 11;
  width: 100%;
  padding: 14px;
  text-align: left;
  background: #fff;
  cursor: default;
  border: 1px solid #eee;
}
.category-controller {
  display: flex;
  justify-content: space-between;
}

.category-controller .select-price,
.category-controller .select-wrapper {
  position: relative;
  width: 200px;
  cursor: pointer;
}
.select-price-text{
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 22px;
}
.select-price-remove{
  margin-left: 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  transform: scale(0.8);
  cursor: pointer;
}

.select-price-inputbox{
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.price-range .price-input {
  width: 100%;
  padding: 0 10px;
  height: 30px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid var(--theme-border-color);
}
.price-input-line{
  padding: 0 8px;
  font-size: 12px;
  color: var(--theme-border-color);
}
.price-range .filter-button {
  width: 100%;
  --btn-height: 40px;
  --btn-font-color: #fff;
  font-size: 16px;
  --btn-bg-color: var(--main-color-second);
  --btn-border-color: var(--main-color-second);
}
.category-controller .select-price {
  margin-right: 40px;
  font-size: 16px;
  text-align: center;
  color: var(--theme-font-color);
}
.price-filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: var(--border-width) solid var(--theme-border-color);
  height: 40px;
}
.price-label-text{
  font-size: 14px;
}
.price-filter-label::after {
  content: "\e7e8";
  font-family: 'iconfont';
  margin-left: 16px;
  font-size: 12px;
  color: var(--theme-border-color);
}
.category-controller .select-wrapper label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 6px 14px;
  color: var(--theme-font-color);
  font-size: 16px;
  text-align: center;
  border: var(--border-width) solid var(--theme-border-color);
  pointer-events: none;
}

.select-wrapper label::after {
  content: "\e7e8";
  font-family: 'iconfont';
  margin-left: 16px;
  font-size: 12px;
  color: var(--theme-border-color);
}

#sortBy li {
  height: 32px;
  line-height: 32px;
  padding: 0 8px;
  cursor: pointer;
}

#sortBy li[selected] {
  color: var(--main-color);
}

#sortBy li:hover {
  opacity:.8;
}

.category-controller-mask {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
}

@media screen and (max-width: 767px) {
  .category-controller {
    position: relative;
    width: 100%;
    max-width: 400px;
  }
  .category-controller .select-price,
  .category-controller .select-wrapper {
    width: 50%;
  }

  .category-controller .select-price {
    margin-right: var(--v-space);
    border: var(--border-width) solid var(--theme-border-color);
  }

  .category-controller .select-price,
  .category-controller .select-wrapper label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
  .select-price>span::after, .select-wrapper label::after{
    content: '';
  }
  .select-price>span::before {
    content: "\e7d9";
    font-family: 'iconfont';
    margin-right: 10px;
  }
  .select-wrapper label::before {
    content: "\e7df";
    font-family: 'iconfont';
    margin-right: 10px;
  }

  .select-price>span {
    justify-content: center;
    align-items: baseline;
    font-size: 14px;
  }
}

.category nav h1 {
  font-size: inherit;
  font-weight: normal;
}

.category-container {
  padding-top: 20px;
  border-top: 1px solid var(--theme-border-color);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--collection-section-bottom);
}

.category-header .header-right {
  display: flex;
}
.product-list .product-item:nth-child(4n) {
  margin-right: 0;
}
.category-description.content-limit--4 {
  max-height: calc(var(--collection-description-line-height) * 4);
}

.category-container .content-toggle {
  display: block;
  margin: calc(var(--collection-description-text-bottom) - var(--collection-section-bottom)) auto var(--collection-section-bottom);
  line-height: 30px;
}


@media screen and (max-width: 767px) {
  .category-container .content-toggle{
    margin-bottom: 10px;
  }
  .category-container {
    padding-top: 15px;
  }
  .category-header {
    flex-direction: column;
    margin-bottom: var(--h-space);
  }
  .category-header .category-summary {
    align-self: flex-start;
    margin-bottom: 15px;
  }
  .product-list {
    margin-right: 0;
  }
  
  .product-list .product-item:nth-child(2n) {
    margin-right: 0;
  }
}


@media screen and (min-width: 768px) {
	.collection-side-filter {
		margin-top: calc(0px - 40px - var(--collection-section-bottom));
	}

	.collection-sideflt-form>.collection-sideflt-title {
		line-height: 40px;
	}

	.sideflt-selected-item {
		--sideflt-selected-item-margin: 0 15px 15px 0;
	}
}

.collection-sideflt-section {
	--collection-sideflt-section-top: 0;
	--collection-sideflt-section-border: 1px solid #d1d1d6;
	border-width: 0 0 1px;
}

.collection-sideflt-header {
	--collection-sideflt-header-padding: 15px 0;
	--collection-sideflt-header-bgcolor: #fff;
}

.collection-sideflt-select {
	--collection-sideflt-select-padding: 8px 16px 24px;
}

.collection-sideflt-checkbox {
	--collection-sideflt-checkbox-width: 24px;
	--collection-sideflt-checkbox-height: 24px;
	--collection-sideflt-checkbox-right: 16px;
	--collection-sideflt-checkbox-border: 1px solid #000;
}

.collection-sideflt-label {
	--collection-sideflt-label-bottom: 16px;
}

.collection-sideflt-select+.collection-sideflt-select {
	--collection-sideflt-select-top: -32px;
}

@media screen and (max-width: 767px) {
	.collection-sideflt-form>.collection-sideflt-title .sideflt-title-txt {
		font-size: 18px;
		position: fixed;
		top: 16px;
		left: 50%;
		transform: translate(-50%);
	}
}


