/* ????????????? */
@media screen and (max-width: 768px){
.pagination-list {
    margin-bottom: 20px;
}
}
/* ???????? Start*/
  .price-range,
  .category-sort {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .category-sort {
    position: relative;
    justify-content: space-between;
    margin-left: 20px;
  }

  .price-range .price-input,
  .category-sort .sort-by {
    margin-left: 16px;
    width: 256px;
    height: 40px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid var(--theme-border-color);
  }

  .category-sort .sort-by {
    padding: 0 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .category-sort i {
    position: absolute;
    top: calc(50% - 12px);
    right: 12px;
    color: var(--theme-color-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    pointer-events: none;
  }

  .price-range .price-input {
    width: 128px;
  }

  .price-range i {
    color: var(--theme-color-font);
    margin:0 5px;
  }

  .price-range .price-begin {
    /* margin-right: 8px; */
  }

  .price-range .price-end {
    margin-left: 0px;
  }

  .price-range .filter-button {
    margin-left: 16px;
    padding: 0 12px;
    height: 38px;
    color: #fff;
    font-size: 16px;
    background-color: var(--theme-border-color);
  }

  .filter-button.valid {
    background-color: var(--main-bg-color);
  }

  @media screen and (max-width: 768px) {
    .category-controller {
      display: flex;
      width: 100%;
      border: 1px solid var(--theme-border-color);
      /* border-bottom: 1px solid var(--theme-border-color); */
    }

    .category-controller .select-wrapper {
      position: relative;
      flex: 1;
    }

    .category-controller .select-wrapper label {
      display: inline-block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 4;
      height: 100%;
      width: 100%;
      color: var(--theme-color-font);
      font-size: 16px;
      line-height: 50px;
      text-align: center;
      pointer-events: none;
      background-color: #fff;
    }

    .category-controller .select-wrapper i {
      color: var(--theme-color-font);
      font-size: 12px;
      font-weight: 600;
    }

    .category-controller .select-wrapper select {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: transparent;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
    }

    .category-controller button {
      flex: 1;
      margin: 12px 0;
      font-size: 16px;
      color: var(--theme-color-font);
    }

    .category-controller button.current,
    .category-controller button.current i {
      color: var(--theme-color-font-secondary);
    }

    .category-controller button:last-child {
      border-left: 1px solid var(--theme-border-color);
    }

    .category-controller button i {
      font-size: 12px;
      color: var(--theme-color-font);
      font-weight: 600;
    }

    .category-header .header-right {
      width: 100%;
    }

    .price-range,
    .category-sort {
      display: none;
      padding-top: 10px;
    }

    .category-sort {
      margin: auto;
    }

    .category-sort label {
      display: none;
    }

    .price-range {
      width: 100%;
      text-align: center;
    }

    .price-range label {
      display: none;
    }

    .price-range .price-begin {
      margin: 0;
    }

    .price-range .filter-button {
      margin-left: 6px;
    }

    .category-sort label {
      line-height: 40px;
    }

    .category-sort .sort-by {
      margin-left: 0;
      height: 40px;
      font-size: 16px;
      line-height: 40px;
      border-width: 1px;
    }

    .category-sort i {
      top: calc(50% - 2px);
    }
  }

  @media screen and (min-width: 769px) {
    .category-controller {
      display: none;
    }
  }
/* ???????? End*/
.category nav h1 {
  font-size: inherit;
  font-weight: normal;
}

.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 {
  padding: 20px 0;
  margin-top: 12px;
  border-top: 1px solid var(--theme-border-color);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 54px;
}

.category-header .header-right {
  display: flex;
}

.category-description {
  margin-bottom: 30px;
  overflow-y: hidden;
  text-overflow: ellipsis;
  white-space: pre-line;
}
.category-description>*{
  display: inline;
}
.product-list {
  margin-bottom: 40px;
}

.no-products {
  padding: 80px 0;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
}

.content-limit--4 {
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical; 
}

.category-container .content-toggle {
  display: block;
  margin: 0 auto;
  line-height: 40px;
}

/* .category-container .content-toggle i {
  color: var(--main-bg-color);
} */

@media screen and (max-width: 768px) {
  .category-container {
    padding: 10px 0;
  }
  .category-header {
    flex-direction: column;
    margin-bottom: 12px;/* 24px; */
  }
  .category-header .category-summary {
    align-self: flex-start;
    margin-bottom: 8px;
  }
  .product-list {
    margin-right: 0;
  }
  .product-list .product-item {
    width: calc(50% - 6px);
  }
  
}

