.category_main {
  padding: 86px 0 122px;
}
.category_main h1 {
  font-size: 54px;
  font-weight: 500;
  line-height: 59px;
  margin-top: -2px;
}
.category_main .head .nav {
  padding-top: 6px;
}
.category_main .category_filter {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 21px;
  margin-top: 60px;
}
.category_main .category_filter strong {
  font-size: 16px;
  color: #6d6d6d;
  font-weight: 500;
}
.category_main .category_filter .filter_box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 71px;
}
.category_main .category_filter .left {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
}
.category_main .category_filter .option {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}
.category_main .category_filter .option::after {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  transition: all 0.3s;
  margin-top: 3px;
  background: url(../img/arr-b.svg) no-repeat center / contain;
}
.category_main .category_filter .item {
  position: relative;
}
.category_main .category_filter .item.active .option::after {
  transform: rotate(180deg);
}
.category_main .category_filter .item ul {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background-color: #fff;
  border: 1px solid #3f3f3f;
  width: 234px;
  padding: 27px;
  max-height: 30vh;
  overflow: auto;
  display: none;
  z-index: 3;
}
.category_main .category_filter .item ul::-webkit-scrollbar-thumb {
  width: 8px;
  background-color: #646464;
}
.category_main .category_filter .item ul::-webkit-scrollbar {
  width: 8px;
  background-color: #eee;
}
.category_main .category_filter .item li {
  margin-bottom: 20px;
}
.category_main .category_filter .item li:last-child {
  margin-bottom: 0;
}
.category_main .category_filter .item label {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}
.category_main .category_filter .item input {
  width: 1rem;
  height: 1rem;
  border: 1px solid #e1e1e1;
  background: url(../img/yes.svg) no-repeat center / 80%;
  transition: all 0.3s;
}
.category_main .category_filter .item input:checked {
  background-color: #000;
}
.category_main .category_filter .item input:checked + span {
  color: #000;
  font-weight: 600;
}
.category_main .category_filter .item span {
  font-size: 16px;
  color: #707070;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s;
}
.category_main .category_filter select {
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border: none;
  background: url(../img/arr-b.svg) no-repeat right center / 10px;
  padding-right: 26px;
  margin-left: 12px;
}
.category_main .selected {
  margin-top: 22px;
}
.category_main .selected:has(.filter-tag) {
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
}
.selected-filters {
  gap: 1rem;
  display: flex;
  flex-wrap: wrap;
}
.category_main .filter-tag, .category_main .selected .close {
  font-weight: 600;
  background-color: #f4f4f4;
  width: fit-content;
  padding: 4px 12px;
  cursor: pointer;
  transition: all .3s;
  &:hover {
    background-color: var(--theme_color);
  }
}
.category_main .list {
  margin-top: 52px;
}
.category_main .list .product_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 20px;
}
.category_main p.center:has(.btn) {
  min-height: 52px;
  margin-top: 56px;
}
.loader {
  text-align: center;
}
.product_list + .loader{
  margin-top: 1rem;
}