  .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-sort {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.category-sort {
  position: relative;
  justify-content: space-between;
  margin-left: 20px;
}

.category-sort .sort-by {
  --btn-height: 40px;
  margin-left: 16px;
  width: 256px;
  border: 1px solid var(--theme-border-color);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.category-sort i {
  position: absolute;
  top: calc(50% - 12px);
  right: 12px;
  color: var(--theme-font-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 24px;
  pointer-events: none;
}
.sort-mask {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0.5;
  z-index: 300;
  top: 0;
  left: 0;
}
.sort-pop {
  visibility: hidden;
  position: fixed;
  top:0;
  bottom: 0;
  right: 0;
  z-index: 310;
  width: 80%;
  height: 100%;
  transform: translateX(100%);
  background-color: white;
  transition:.3s ease;
}

.sort-pop.is-show {
  transform: translateX(0);
  visibility: visible;
}

.sort-pop .sort-pop-header {
  position: relative;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(227, 227, 227, .4);
  text-align: center;
}

.close-sort-pop {
  position: absolute;
  right: 20px;
  top: calc(50% - 8px);
  font-size: 12px;
  color: var(--theme-font-color);
}

.sort-pop-title {
  letter-spacing: 1px ;
  font-size: 15px;
}

.sort-pop .sort-pop-list {
  padding: 18px 0;
}

.sort-by-item{
  color: #666;
  letter-spacing: 1px ;
  padding: 12px 20px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
}

.m-collection-left{
  display: flex;
  margin-bottom: 10px;
}
.m-collection-left .m-btn-sort{
  width: 50%;
  padding: 13px 0;
  font-size: 12px;
  border: 1px solid #e3e3e3;
}

.m-btn-sort:first-child {
  border-right: none;
}

.collection-list .collection-item {
  padding-left: 30px;
  min-height: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
}
.sort-pop-content.filter-box {
  padding:20px;
}

.filter-box-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  cursor: pointer;
}

.filter-box-title h2 {
  font-size: 14px;
}
.filter-box-title .iconfont {
  font-size: 12px;
  color: var(--theme-font-color);
}
.sort-pop-price{
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sort-pop-price .sort-pop-content{
  flex: 1;
  overflow: auto;
}
.collection-list .collection-item::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
}
.collection-item.selected::before{
  content: "\2713";
  text-align: center;
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.sort-pop-apply {
  padding: 24px;
  box-sizing: border-box;
}
.sort-pop-apply .button{
  --btn-bg-color:#333;
  --btn-border-color:#333;
  width: 100%;
}

.category nav span {
  font-size: 12px;
  font-weight: 700;
}

.category-cover {
  position: relative;
  padding-bottom: 31.25%;
  width: 100%;
  font-size: 0;
  background-color: var(--theme-sub-color);
}

.category-cover img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.category-container {
  display: flex;
  margin-top: 12px;
}
.collection-left{
  flex-shrink: 0;
  width: 210px;
  margin-right: 50px;
}
.category-container-right{
  flex: 1;
}
.category h1{
  margin-bottom: 36px;
  text-align: center;
  font-size: 30px;
}
.category-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.category-header .header-right {
  display: flex;
}

.category-description {
  --collection-description-bottom: 20px;
  margin-top: 30px;
  margin-left: 260px;
  max-height: 73px;
}
.category-description.content-not-limit{
  max-height: initial;
}

.content-limit--4 {
  max-height: 72px;
}

.category .content-toggle {
  display: block;
  left: 130px;
  margin:  0 auto 20px;
  --btn-height: 40px;
}
.collection-filter-label{
  --v-space:0;
}
@media screen and (max-width: 1150px) and (min-width: 768px){
  .category .content-toggle{
    left: 0;
  }
  .header-nav .nav-item{
    padding: 10px 20px;
  }
  .collection-left{
    width: 200px;
    margin-right: 30px;
  }
  .product-list .product-item{
    width: calc(33.33% - var(--v-space) * 2 / 3);
  }
  .product-list .product-item:nth-child(3n){
    margin-right: 0;
  }
  .product-list .product-item:nth-child(4n){
    margin-right: var(--v-space);
  }
  .category-description{
    margin-left: 0;
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px){
  .category-container {
      flex-direction: column;
    }
  .category-header{
    justify-content: flex-start;
  }
  .category-sort{
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .category .content-toggle {
    position: relative;
    left: 0px;
    margin: 0 auto 40px;
  }
}
@media screen and (max-width: 767px) {
  .category h1{
    margin-bottom: 12px;
    font-size: 24px;
  }
  
  .category-container {
    display: block;
    padding: 20px 0;
  }
  .category-description{
    margin:  0 0 12px;
  }
  .category .content-toggle{
    padding: 0 12px;
    margin-bottom: 20px;
  }
  .category-header .category-summary {
    align-self: flex-start;
    margin-bottom: 8px;
  }
}

