.bestsellers {
  margin-bottom: 54px;
  padding-top: 83px;
}

.features {
  margin-top: 0;
}

.category-filter-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.category-filter-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: #191919;
  position: relative;
  margin: 0 auto;
}

.category-filter-btn:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ca0c4f;
  height: 2px;
  width: 100%;
}

.category-l {
  width: 272px;
}

.category-filter {
  box-shadow: 0 0 15px 0 rgb(25, 25, 25, 15%);
  border-radius: 0 15px 15px 15px;
}
.category-filter-top ul{
  
}
.category-filter-top li{
  margin-bottom: 20px;
}
.category-filter-top ul li a{
  font-size: 14px;
    font-weight: 400;
    color: #191919;
    width: 100%;
    display: flex;
}
.has_subcat a{
  position: relative;
  padding-right: 12px;
}
.has_subcat a:before{
  content:'';
  position: absolute;
  top:0;
  right:0;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
  height: 100%;
  width: 8px;
  background: url({{ 'arrow-right-icon.png' | asset_url }});
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
       -o-background-size: contain;
          background-size: contain;
  transition:0.3s;
}
.has_subcat ul li a:before{
  display: none;
}
.has_subcat_active a:before{
  transform:rotate(90deg);
}
.has_subcat ul{
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding-left: 20px;
  transition:0.3s;
}
.has_subcat_active ul{
  opacity: 1;
  visibility: visible;
  height: auto;
  padding-top: 15px;
}
.has_subcat li{
  margin-bottom: 10px;
}
.has_subcat a{
  font-size: 12px;
    font-weight: 400;
    color: rgb(202, 39, 82);
}

.category-filter-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 1px;
  border: 1px solid #f67966;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
}

.category-filter-checkbox img {
  width: 70%;
}

.category-filter-top {
  padding: 36px 18px 30px;
  border-bottom: 1px solid #e5e5e5;
}

.category-filter-cat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-filter-cat:last-child {
  margin-bottom: 0;
}

.category-filter-cat-text {
  font-size: 14px;
  font-weight: 400;
  color: #191919;
}

.category-filter-bottom {
  padding: 26px 18px 22px;
}

.category-filter-checkbox-item {
  display: flex;
  margin-bottom: 13px;
}

.category-filter-text {
  width: calc(100% - 23px);
}

.category-title {
  font-size: 42px;
  font-weight: 400;
  color: #333333;
  text-transform: uppercase;
  font-family: avantiFont, sans-serif;
  text-align: center;
  margin-bottom: 42px;
}

.category-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.category-body {
  display: flex;
  justify-content: space-between;
}

.category-r {
  width: calc(100% - 302px);
}

.category-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.category-products-count {
  margin-right: 60px;
}

.category-sort-l {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: #333333;
}

.category-sort {
  position: relative;
}

.category-sort-bottom {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  display: none;
  z-index: 99;
  background: #ffffff;
  box-shadow: 1px 1px 5px #ca275299;
  overflow: hidden;
  border-radius: 5px;
  width: 150px;
}

.category-sort-top {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.category-sort-icon {
  width: 15px;
  height: 8px;
  margin-left: 6px;
}

.category-sort-item {
  padding: 5px;
  display: block;
  transition: 0.5s;
}

.category-sort-item:hover {
  color: #ffffff;
  background: #ca2752;
}

.category-view-type-1 {
  width: 21px;
  cursor: pointer;
}

.category-view-type-1.active .category-view-type-1-line {
  background-color: #ca2752;
}

.category-view-type-1-line {
  height: 5px;
  background-color: #cccccc;
  margin-bottom: 3px;
}

.category-view-type-1-line:last-child {
  margin-bottom: 0;
}

.category-view-type-2 {
  width: 21px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  cursor: pointer;
}

.category-view-type-2.active .category-view-type-2-sqr {
  background-color: #ca2752;
}

.category-view-type-2-sqr {
  width: 10px;
  height: 10px;
  margin-bottom: 1px;
  background-color: #cccccc;
}

.category-view-type {
  display: flex;
}

.category-view-type-line {
  height: 21px;
  width: 1px;
  background-color: #cccccc;
  margin-right: 6px;
  margin-left: 6px;
}

.product__footer {
  justify-content: flex-start;
  padding-left: 0;
  margin-top: 4px;
  padding-top: 20px;
}

.product__body {
  padding-left: 21px;
  padding-right: 21px;
  padding-bottom: 25px;
}

.product__price {
  margin-left: 12px;
}

.product__desc {
  margin-bottom: 22px;
}

.category-products {
  display: flex;
  flex-wrap: wrap;
}

.category-products.list {
  display: block;
}

.product {
  margin-right: 30px;
  margin-right: calc((100% - (263px * 3)) / 2);
  margin-bottom: calc((100% - (263px * 3)) / 2);
}

.product.list {
  width: 100%;
  min-height: 10px;
  align-items: flex-end;
  padding-right: 10px;
}

.product.list .product__img {
  display: none;
}

.product:nth-child(3n + 3) {
  margin-right: 0;
}

.features {
  margin-bottom: 50px;
}

.category-pagination-item-prev,
.category-pagination-item-next,
.category-pagination-item {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
}

.category-pagination-c {
  display: flex;
  align-items: flex-end;
}

.category-pagination-c span {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
  margin: 0 3px;
}

.category-pagination-item {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 3px;
}

.category-pagination-item.active {
  background-color: #ca2752;
  color: #fff;
  font-weight: bold;
}

.category-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider--bestsellers .swiper-slide,
.slider--recently .swiper-slide {
  min-height: 440px;
}

.category-cat-mob,
.category-count-mob {
  display: none;
}
.category-count-mob {
  display: none !important;
}

.bestsellers .product__footer {
  justify-content: space-between;
}

.category-banners img {
  width: 100%;
  margin-top: 30px;
}

.category-banners-mob {
  display: none;
}
.category__desc {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #d99eab;
}

.category__desc__inner {
  margin-left: 35px;
}

.category__desc__title {
  font-size: 36px;
  font-family: avantiFont;
  color: rgb(202, 39, 82);
  font-weight: lighter;
  margin-bottom: 40px;
}

.category__desc__text {
  font-size: 16px;
  color: rgb(0, 0, 0);
  line-height: 1.2;
}

@media (max-width: 1199px) {
  .category__desc {
    align-items: flex-end;
  }

  .category__desc__title {
    font-size: 30px;
  }

  .category__desc__text {
    margin-bottom: 20px;
  }

  .category__desc__imgblock img {
    display: block;
  }
}

@media (max-width: 1160px) {
  .category-pagination-item-prev,
  .category-pagination-item-next,
  .category-pagination-item-item,
  .category-pagination-c span {
    font-size: 14px;
  }
}

@media (max-width: 1140px) {
  .category-pagination-item-prev,
  .category-pagination-item-next {
    display: none;
  }
  .category-l {
    width: calc(100% - 580px);
  }
  .category-r {
    width: 550px;
  }
  .product {
    margin-right: calc((100% - (263px * 2)));
    margin-bottom: calc((100% - (263px * 2)));
  }
  .product:nth-child(3n + 3) {
    margin-right: calc((100% - (263px * 2)));
  }
  .product:nth-child(2n + 2) {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .product {
    margin-right: calc((100% - (263px * 3)) / 2);
    margin-bottom: calc((100% - (263px * 3)) / 2);
  }
  .product:nth-child(2n + 2) {
    margin-right: calc((100% - (263px * 3)) / 2);
    margin-bottom: calc((100% - (263px * 3)) / 2);
  }
  .product:nth-child(3n + 3) {
    margin-right: 0;
  }
  .category-r {
    width: 100%;
  }
  .category-products-count {
    margin-right: 0;
  }
  .category-sort-l {
    align-items: flex-start;
  }
  .category-l {
    width: 100%;
    margin-bottom: 30px;
  }
  .category-sort-l {
    flex-direction: column;
  }
  .category-body {
    flex-direction: column;
  }
  .category-pagination {
    margin-top: 30px;
  }
}

@media (max-width: 830px) {
  .product {
    margin-right: 0 !important;
    margin-bottom: 30px !important;
  }
  .product:nth-child(2n + 2) {
    margin-right: 0 !important;
  }
  .category-r {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }
  .category-products {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .product {
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-bottom: 30px !important;
  }
  .product:nth-child(2n + 2) {
    margin-right: auto !important;
  }
  .category-l .category-filter-top {
    display: none;
  }
  .category-l .category-banners {
    display: none;
  }
  .category-products-count {
    display: none;
  }
  .category-cat-mob-bottom {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    padding: 15px;
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0 0 15px 0 rgb(25, 25, 25, 15%);
    width: 100%;
    z-index: 3;
    display: none;
  }
  .category-cat-mob-bottom-item {
    margin-bottom: 7px;
  }
  .category-cat-mob {
    display: block;
    margin-bottom: 30px;
    position: relative;
  }
  .category-cat-mob-top-text {
    font-size: 16px;
    font-weight: 400;
    color: #191919;
    font-family: avantiFont, sans-serif;
  }
  .category-cat-mob-top {
    padding: 15px;
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0 0 15px 0 rgb(25, 25, 25, 15%);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .category-cat-mob-top img {
    width: 14px;
    height: 9px;
  }
  .category-count-mob {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 30px;
  }
  .category-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .category-pagination-item {
    width: 25px;
    height: 25px;
    margin: 0;
  }
  .category-pagination-c {
    justify-content: space-between;
    max-width: 400px;
    width: 100%;
  }
  .category-banners-mob {
    display: block;
  }
  .category-banners-mob img {
    width: 100%;
    margin-bottom: 30px;
  }
  .category-title {
    margin-top: 40px;
  }

  .category__desc {
    flex-direction: column-reverse;
    margin-top: 20px;
    align-items: center;
  }

  .category__desc__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .category__desc__text {
    font-size: 14px;
  }

  .category__desc__imgblock img {
    width: 200px;
  }
}

