/* 商品类别（列表）页面样式表 */
@media screen and (min-width:768px) {
  .category-container-right{
    flex: 1;
  }
  .category-container{
    display: flex;
  }
}
.category-container-left{
  white-space: nowrap;
}
.category-container-left .filter-content{
  min-width: 273px;
}
.category-container-left .kib-item-title{
  font-weight: 700;
  font-size: 18px;
}

.category-container-left .filter-content-header{
  margin-bottom: 10px;
}
/* --mobile-- filter header */
.mobile-sortfilter {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.mobile-filter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: calc(50% - 5px);
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -.3px;
  cursor: pointer;
  background-color: var(--theme-back-gray);
  border: 0;
  padding: 5px 12px 5px 10px;
  white-space: nowrap;
}

.mobile-filter-icon {
  height: 20px;
  width: 20px;
  margin-right: 5px;
}
.kib-sheet-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 100%;
  height: 100%;
  width: 100%;
  background-color: #eee;
  transition: 0.3s;
  z-index: 10001;
}

.kib-sheet-header {
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}
.kib-sheet-title {
  padding: 0;
  color: #333;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .1px;
  margin: 0 auto 0 0;
}

.kib-sheet-closebtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 12px;
  border-radius: 50%;
  border: 2px solid #eee;
  background-color: #fff;
  cursor: pointer;
}

.kib-sheet-closebtn:hover {
  background-color: #eee;
}

.kib-sheet-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  overflow-x: hidden;
  height: calc(100% - 70px);
}

.kib-checkbox-field {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.kib-checkbox-field label{
  cursor: pointer;
}
.kib-radio-field {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.kib-radio-native {
  margin: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.kib-radio-label {
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -.3px;
  margin-left: 8px;
  cursor: pointer;
}
.filter-content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.kib-item-title {
  margin-bottom: 16px;
  line-height: 20px;
  letter-spacing: -.3px;
}

/* sortby Start */
#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 .select-wrapper {
  position: relative;
  width: 200px;
  cursor: pointer;
}
.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;
  background-color: #fff;
  border: var(--border-width) solid var(--theme-border-color);
  border-radius: var(--theme-border-radius);
  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 {
  background: var(--theme-border-color);
}

.category-controller-mask {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
}
@media screen and (max-width: 767px) {
  .filter-content,
  .sort-content {
    padding: 16px 16px 0 16px;
    position: relative;
    border-bottom: 2px solid #eee;
    background-color: #fff;
  }
  .kib-item-title {
    font-size: 16px;
    font-weight: 400;
  }
  .category-controller{
    width: 100%;
  }
}
/* filter part End */
.category-cover-wrapper{
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 var(--side-padding);
}
.category-container {
	padding-bottom: 120px;
}
.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}
.category-summary {
	font-size: 16px;
	line-height: 19px;
}
.pagination-list {
	margin-top: calc(40px - var(--h-space));
}

.category-description {
  --collection-description-bottom: 10px;
  --collection-description-size: 14px;
  --collection-description-line-height: 22px;
}
.category-description.content-limit--4 {
	max-height: 88px;
}

.category-container .content-toggle {
	display: inline-block;
	color: var(--main-color);
	font-size: 14px;
	line-height: 20px;
	text-decoration: underline;
	cursor: pointer;
}

.content-toggle:hover {
	color: var(--highlight-font-color);
}

@media screen and (max-width: 1200px){
.category-header {
    margin-bottom: var(--h-space);
  }
}
@media screen and (max-width: 767px) {
	.category-container {
		padding-bottom: 114px;
	}
	.category-header {
		flex-direction: column;
	}
	.category-header .category-summary {
		align-self: flex-start;
		margin-bottom: 10px;
		font-size: 14px;
	}
	.product-list .product-item {
		margin-bottom:20px;
	}
}