  .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;
  --pagination-button-iconfont-color:var(--main-color-second);
}
@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;
  --btn-bg-color: var(--main-color-second);
  --btn-border:0 none;
  font-size: 16px;
}
.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 #000;
  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-font-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 #000;
  pointer-events: none;
}

.select-wrapper label::after {
  content: "\e7e8";
  font-family: 'iconfont';
  margin-left: 16px;
  font-size: 12px;
  color: var(--theme-font-color);
}

#sortBy li {
  height: 32px;
  line-height: 32px;
  padding: 0 8px;
  cursor: pointer;
}

#sortBy li[selected] {
  color: var(--highlight-bg-color);
}

#sortBy li:hover {
  opacity: 0.7;
  background: #eee;
}

.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 #000000;
  }

  .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, 24px) * 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) {
	.category-header {
		--collection-cate-header-justify-content: space-between;
	}

	.collection-filter-label {
		height: 40px;
		line-height: 40px;
		padding: 0 20px;
		margin-right: 90px;
		border: 1px solid #193056;
		cursor: pointer;
		order: -1;
	}

	.collection-filter-label .icon-filter {
		margin-right: 10px;
	}

	.collection-side-filter {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 350px;
		height: 100%;
		background-color: #fff;
		transform: translateX(-100%);
		z-index: 300;
		transition: var(--theme-transition);
	}

	.sideflt-top-close {
		--sideflt-top-close-padding: 22px 20px;
		margin-right: -20px;
		font-size: 12px;
	}

	.collection-sideflt-form {
		padding: 30px 30px 0;
		overflow-y: auto;
		--collection-sideflt-form-width: 100%;
		--collection-sideflt-form-right: 0;
	}
}

.collection-sideflt-top {
	--collection-sideflt-top-display: block;
	margin: 0 30px;
	padding: 12px 0;
	border-bottom: 1px solid #e8e8e1;
}

.collection-sideflt-form>.collection-sideflt-title .sideflt-title-txt {
	position: fixed;
	left: 30px;
	top: 30px;
	font-size: 18px;
	line-height: 24px;
}

.sideflt-selected-item {
	justify-content: space-between;
	--sideflt-selected-item-margin: 0 0 5px;
	--sideflt-selected-item-padding: 8px 14px;
	width: 100%;
	background-color: #111;
	--sideflt-selected-item-border: 0;
	border-radius: 0;
}

.sideflt-selected-text {
	font-size: 12px;
	color: #fff;
}

.sideflt-selected-remove {
	font-size: 8px;
	color: #fff;
}

.collection-sideflt-header {
	--collection-sideflt-header-padding: 20px 0;
	--collection-sideflt-header-bgcolor: #fff;
}

.collection-sideflt-section {
	--collection-sideflt-section-top: 0;
	--collection-sideflt-section-border: 1px solid #e8e8e1;
	border-width: 0 0 1px 0;
}

.collection-sideflt-section:last-child {
	--collection-sideflt-section-border: 0;
}

.collection-sideflt-title {
	--collection-sideflt-title-size: 14px;
	--collection-sideflt-title-weight: 400;
	letter-spacing: 3px;
}

.collection-sideflt-header .iconfont {
	font-size: 12px;
	color: rgba(0, 0, 0, .7);
}

.collection-sideflt-select {
	--collection-sideflt-select-padding: 0 0 5px;
}

.collection-sideflt-checkbox {
	--collection-sideflt-checkbox-width: 16px;
	--collection-sideflt-checkbox-height: 16px;
	--collection-sideflt-checkbox-border: 1px solid #193056;
	border-radius: 0;
}

.collection-sideflt-txt {
	font-size: 18px;
	line-height: 24px;
}

:checked+.collection-sideflt-checkbox::after {
	border-radius: 0;
	--highlight-bg-color: #193056;
}

.collection-sideflt-select+.collection-sideflt-select {
	--collection-sideflt-select-top: -5px;
}

@media screen and (max-width: 767px) {
	.collection-filter-label {
		--theme-border-color: #193056;
	}

	.collection-side-filter {
		right: initial;
		left: 0;
		width: 350px;
		--collection-side-filter-transform: translateX(-100%);
	}

	.collection-sideflt-form {
		--collection-sideflt-form-padding: 20px 20px 0;
		--collection-sideflt-form-right: 0;
	}

	.collection-sideflt-top {
		margin: 0 20px;
	}

	.sideflt-top-close {
		--sideflt-top-close-padding: 15px;
		margin-right: -15px;
	}
}

@media screen and (max-width: 350px) {
	.collection-side-filter {
		width: 100%;
	}
}


