.products-content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media (max-width: 576px) {
  .category-section .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .category-section .project-item-box {
    width: 100%;
    max-width: 100%;
  }
  .category-section .btn-default {
    font-size: 14px;
    padding: 10px;
  }
  .category-section .btn-default:before {
    font-size: inherit;
  }
}

.content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 100px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.content-wrapper .sidebar {
  width: 100%;
  position: relative;
}
.content-wrapper .sidebar .filter-link {
  padding: 10px 20px;
  color: #2c324c;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (min-width: 768px) {
  .content-wrapper .sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
  }
}
.content-wrapper .sidebar form > ul {
  padding: 0px;
  border: 1px solid #e8e8e8;
  border-bottom: none;
}
.content-wrapper .sidebar form > ul li {
  list-style: none;
}
.content-wrapper .sidebar form > ul li.filter-group label {
  font-family: var(--second-font);
  font-size: 16px;
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.content-wrapper .sidebar form > ul li.filter-group label[data-count] {
  position: relative;
}
.content-wrapper .sidebar form > ul li > ul {
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: height 0.5s, padding-top 0.5s, padding-bottom 0.5s, margin 0.5s, opacity 0.5s, visibility 0.5s;
  transition: height 0.5s, padding-top 0.5s, padding-bottom 0.5s, margin 0.5s, opacity 0.5s, visibility 0.5s;
}
.content-wrapper .sidebar form > ul li > ul li {
  margin-bottom: 10px;
}
.content-wrapper .sidebar form > ul li > ul li:last-child {
  margin-bottom: 0;
}
.content-wrapper .sidebar form > ul li > ul.show {
  height: 100%;
  max-width: 1000px;
  padding-top: 20px;
  padding-bottom: 20px;
  opacity: 1;
  border-bottom: 1px solid #e8e8e8;
  visibility: visible;
  -webkit-transition: height 0.5s, padding-top 0.5s, padding-bottom 0.5s, margin 0.5s, opacity 0.5s, visibility 0.5s;
  transition: height 0.5s, padding-top 0.5s, padding-bottom 0.5s, margin 0.5s, opacity 0.5s, visibility 0.5s;
}
.content-wrapper .sidebar form > ul li.active h4:after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.content-wrapper .sidebar h4 {
  font-family: var(--default-font);
  font-size: 16px;
  font-weight: 500;
  padding: 20px 35px 20px 20px;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  cursor: pointer;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.content-wrapper .sidebar h4:after {
  content: "";
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.175 7L6.575 1.4L8 -6.99382e-07L16 8L8 16L6.575 14.6L12.175 9L6.11959e-07 9L7.86805e-07 7L12.175 7Z' fill='%23FDD930'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.content-wrapper .sidebar h4:hover {
  color: var(--accent-color);
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.content-wrapper .sidebar h4.active:after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.content-wrapper .sidebar .btn-default {
  margin-bottom: 1rem;
  width: 100%;
}
.content-wrapper .sidebar-filter__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .content-wrapper .sidebar-filter__list {
    display: none;
  }
}
.content-wrapper .sidebar-filter__btn {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  font-size: 22px;
  padding: 15px;
  border: 1px solid var(--accent-color);
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  color: var(--accent-color);
}
.content-wrapper .sidebar-filter__btn:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3E%3Cpath fill='%2396D055' d='m12.175 7.5-5.6-5.6L8 .5l8 8-8 8-1.425-1.4 5.6-5.6H0v-2h12.175Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 18px;
  height: 15px;
  display: block;
}
.content-wrapper .sidebar-filter__btn.active {
  background: var(--accent-color);
}
@media (min-width: 768px) {
  .content-wrapper .sidebar div[data-popup=sidebarFilterCategory] {
    display: none;
  }
}
@media (max-width: 768px) {
  .content-wrapper .sidebar .sidebar-popup {
    position: absolute;
    z-index: 22;
    display: block;
    background: #fff;
    top: 75px;
    left: 0;
    right: 0;
    margin: 0 -15px;
    -webkit-transform: translateX(-150%);
            transform: translateX(-150%);
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    -webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
            box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  }
  .content-wrapper .sidebar .sidebar-popup.show {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
  }
}
@media (min-width: 768px) {
  .content-wrapper .products-content {
    width: calc(100% - 300px);
  }
}

.products-list {
  padding: 0;
  display: grid;
  gap: clamp(10px, 0.915vw, 20px);
  margin: 0;
}
.products-list:not(.default) {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .products-list:not(.default) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .products-list:not(.default) {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .products-list:not(.default) {
    grid-template-columns: repeat(2, 1fr);
  }
}
.products-list.default {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .products-list.default {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .products-list.default {
    grid-template-columns: repeat(2, 1fr);
  }
}
.products-list a {
  padding: 10px;
  border: 1px solid #e8e8e8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) {
  .products-list a {
    padding: 20px;
  }
}
.products-list a img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  aspect-ratio: 1/1;
}
.products-list .product {
  list-style: none;
  background-color: #fff;
}
.products-list .product h3 {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: normal;
  font-weight: 600;
  text-transform: capitalize;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
  min-height: 70px;
}
.products-list .product img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.products-list .product .btn-default {
  width: 100%;
  margin-top: auto;
}
.products-list .product:hover h3 {
  color: var(--accent-color);
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.products-list .product-oldprice {
  color: #e8e8e8;
  font-weight: 700;
}
.products-list .product-price {
  font-size: 16px;
  line-height: 100%;
  font-weight: 700;
  color: var(--accent-color);
}
.products-list .product-price__list {
  margin: 15px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (max-width: 768px) {
  .products-list .product-price__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 0;
  }
}
.products-list__pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
}

.filter-checkbox {
  display: none;
}

.filter-checkbox + label {
  position: relative;
  cursor: pointer;
  padding-left: 35px;
  color: #333;
}

.filter-checkbox + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.filter-checkbox:checked + label::before {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.filter-checkbox:checked + label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
.pagination .page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin: 0 auto;
}
.pagination .page-numbers svg {
  max-width: 80%;
  aspect-ratio: 1;
  width: 100%;
}
.pagination .page-numbers .page-numbers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  line-height: 100%;
  font-size: 16px;
  line-height: 160%;
  font-weight: 700;
  color: var(--primary-color);
  background-color: var(--yellow-color);
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.pagination .page-numbers .page-numbers:hover {
  background-color: var(--accent-color);
}
.pagination .page-numbers .page-numbers.current {
  background-color: var(--accent-color);
}

.btn-load-more.active svg {
  -webkit-animation: rotate 1s linear infinite;
          animation: rotate 1s linear infinite;
}
.btn-load-more:before {
  content: none;
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.search-result {
  grid-column: 1/-1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: clamp(200px, 50vw, 400px);
  gap: 20px;
}
.search-result svg {
  max-width: 200px;
}
.search-result span {
  font-size: clamp(16px, 5vw, 20px);
  text-align: center;
}