n/* 商品类别（列表）页面样式表 */
/* background-color */
.category-controller .select-wrapper label,
.price-filter-label,.category-controller .select-price {
  background-color: #fff;
}
.collection-detail{
  --collection-section-bottom: 15px;
  --collection-list-pagination-space: 40px;
  --collection-description-text-bottom: 20px;
  --collection-description-btn-bottom: 40px;
	--wrapper-padding: 45px 40px;
}
@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;
  }
}
@media screen and (max-width: 1200px){
  .collection-detail {
		--wrapper-padding: 17px 17px 30px;
  }
}

.crumbs{
	width: 100%;
	--crumbs-bottom: 0;
}
@media screen and (max-width: 767px){
	.crumbs{
		--crumbs-bottom: 17px;
	}
}
/* 类别筛选组件 Start */
.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;
	z-index: 100;
}
.category-controller {
  display: flex;
	justify-content: space-between;
}

.category-controller .select-price,
.category-controller .select-wrapper {
  position: relative;
  width: 200px;
  cursor: pointer;
}
/* price */
.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%;
  height: 40px;
  color: #fff;
  font-size: 16px;
  background-color: var(--main-color);
  cursor: pointer;
}
.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: "\e7f0";
  font-family: 'iconfont';
  margin-left: 16px;
  font-size: 12px;
  color: #000;
	opacity: .7;
}
.price-filter-label-after::after{
	content: "\e7e8";
}
/* sort by */
.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: #000;
	opacity: .7;
}

#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;
		margin-bottom: var(--h-space);
  }
  .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;
  }
}

/* 类别筛选组件 End */
.category nav h1 {
  font-size: inherit;
  font-weight: normal;
}

.category-container {
  padding-top: 20px;
}

.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;
  }
  .product-list {
    margin-right: 0;
  }
  
  .product-list .product-item:nth-child(2n) {
    margin-right: 0;
  }
}

/* 切页按钮 */
/* .pagination-list .pagination-button i{
	color: var(--main-color-second);
} */

.pagination-item{
	--pagination-item-padding: 8px 12px;
	--pagination-item-font-size: 18px;
}
.pagination-list .current{
	opacity: .3;
}
.pagination-list .pagination-item.pagination-button{
	font-size: 13px;
	--pagination-item-padding: 15px;
	background-color: var(--main-color-second);
}
.pagination-button.disabled{
	display: none;
}


/* 封面 */
.category-cover{
	font-size: 52.2px;
}
.collection-titile{
	color: var(--main-color-second);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	text-align: center;
	font-size: 52.2px;
}
@media screen and (max-width: 767px) {
	.category-cover{
		font-size: 30.6px;
	}
	.collection-titile{
		font-size: 30.6px;
	}
}


@media screen and (min-width: 768px) {
	.category{
		display: flex;
		flex-wrap: wrap;
	}
	.category-controller {
		display: flex;
		flex-direction: column;
		justify-content: initial;
		padding-right: 30px;
		padding-top: 18px;
		width: 20%;
		height: fit-content;
		position: sticky;
		top: 100px;
	}
	.category-header .category-controller{
		position: initial;
		padding-right: 0;
		width: auto;
		padding-top: 0;
	}
	.category-container{
		width: 80%;
	}
	.category-controller .select-price{
		margin-right: 0;
	}
	.category-controller .select-price{
		height: fit-content;
		width: auto;
	}
	.category-controller .select-wrapper label{
		padding: 8px 10px;
		font-size: 16px;
		height: 44px;
	}
	.price-filter-label{
		border: 0;
		font-size: 14.4px;
		padding: 15px 0;
		height: auto;
		letter-spacing: 4.2px;
		line-height: 1.3;
	}
	.price-range{
		position: initial;
	}
	.price-range{
		display: block;
	}
	.price-range .price-input{
		min-width: 60px;
	}
	
}
@media screen and (max-width: 1150px) {
	.select-price-inputbox{
		flex-wrap: wrap;
	}
}