.category .container {
  padding: 1rem 5.5rem 7rem;
}

.category__cat {
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}

.category__cat > * {
  text-transform: uppercase;
  color: var(--color-grey);
  font: 400 1.4rem/normal var(--Ubuntu);
}

.category__cat > *.active {
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
}

.category__cat > *.active:before {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  width: 100%;
  height: 0.15rem;
  background-color: var(--color-primary);
}

.category__header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 3rem;
}

.category__view {
  gap: 0.4rem;
  display: -ms-flexbox;
  display: flex;
}

.category__view button {
  width: 2.4rem;
  height: 2.4rem;
}

.category__view button.active {
  filter: brightness(0) saturate(100%) invert(32%) sepia(99%) saturate(1021%) hue-rotate(175deg) brightness(87%) contrast(102%);
}

.category__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 3rem;
}

.category .list .card__item {
  width: 100%;
  -ms-flex-direction: row;
      flex-direction: row;
  gap: 0;
}

.category .list .card__flex {
  width: 100%;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: justify;
      justify-content: space-between;
  padding: 3.8rem 3rem;
}

.category .list .card__bottom {
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: end;
      justify-content: flex-end;
  padding: 0;
  -ms-flex-align: end;
      align-items: flex-end;
  gap: 2rem;
}

.category .list .card__desc {
  padding: 0;
}

.category .list .card__img {
  width: 31%;
}

.category .list .card__img img {
  border-radius: 2rem 0 0 2rem;
}

.category__form {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: flex-start;
      align-items: flex-start;
  margin-bottom: 4rem;
}

.category__mob {
  display: none;
}

.category__mob-button {
  font: 400 1.4rem / normal 'Ubuntu';
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 0.4rem;
}

.category__select-mob {
  display: none;
  gap: 1rem;
  -ms-flex-direction: column;
      flex-direction: column;
}

.category__select-title {
  font: 700 2rem / normal 'Ubuntu';
}

.category__select-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
}

.category__select-header .section__button {
  font-size: 1.2rem;
}

.category__select-wrap {
  display: -ms-flexbox;
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
}

.category__filter-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  gap: 1rem;
  border-radius: 2rem;
  border: 0.1rem solid #D1D7DE;
  background: #FFF;
  padding: 1rem 1.2rem;
}

.category__filter-close {
  width: 2.4rem;
  height: 2.4rem;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  gap: 0.6rem;
}

.category__filter-close span {
  display: block;
  position: absolute;
  top: 50%;
  margin: 0;
  transition: .2s ease;
  width: 2.4rem;
  height: 0.2rem;
  background: var(--color-icon);
  border-radius: 0.2rem;
  transition: .2s ease;
}

.category__filter-close span:nth-child(1) {
  transform: rotate(-45deg);
}

.category__filter-close span:nth-child(2) {
  transform: rotate(45deg);
}

.category__filter-close-wrap {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  top: 2.4rem;
  display: none;
  right: 1.5rem;
  background-color: white;
}

.category__filter-title {
  font: 500 1.2rem/normal var(--Ubuntu);
  text-transform: uppercase;
}

.category__filter-option {
  display: -ms-flexbox;
  display: flex;
  gap: 0.6rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.category__filter-option > * {
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  background: #F1F2F6;
  color: #3C3C3C;
}

.category__filter-option > *.active {
  color: #E0F4FF;
  background-color: #0072B5;
}

.category__filter-option .category__price {
  display: -ms-flexbox;
  display: flex;
  background: transparent;
  -ms-flex-align: center;
      align-items: center;
  gap: 0.6rem;
  padding: 0;
}

.category__filter-option .category__price-input {
  border: 0.1rem solid #D1D7DE;
  background: #FFF;
  min-width: 8.6rem;
  border-radius: 0.8rem;
  padding: 1rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  font: 400 1.2rem/normal var(--Ubuntu);
}

.category__filter-option .category__price-input input {
  border: none;
  width: 3.3rem;
  text-align: right;
  padding-right: 0.5rem;
  color: #000;
  font: 400 1.2rem/normal var(--Ubuntu);
}

.category__filter-price {
  display: -ms-flexbox;
  display: flex;
  gap: 3rem;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -ms-flex-align: center;
      align-items: center;
}

.category__price p {
  color: #000;
  font: 400 1.2rem/normal var(--Ubuntu);
  text-transform: uppercase;
}

.category__price-desc {
  position: relative;
}

.category__price-button {
  color: #000;
  text-align: left;
  min-width:15rem;
  font: 400 1.2rem/normal var(--Ubuntu);
  text-transform: uppercase;
  border-radius: 1rem;
  background: #F1F2F6;
  padding: 1rem 3.2rem 1rem 1.4rem;
  position: relative;
}

.category__price-button:after {
  content: '';
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: url("../img/down-black.svg") center/1.2rem 1.2rem no-repeat;
}

.category__price-toggle {
  position: absolute;
  top: 4.4rem;
  border-radius: 2rem;
  z-index: 3;
  border: 0.1rem solid #D1D7DE;
  background: #FFF;
  display: none;
  min-width: 20rem;
  padding: 2rem 1.2rem;
  gap: 1rem;
}

.category__price-toggle.active {
  display: -ms-flexbox;
  display: flex;
}

.category__price-toggle .category__price {
  padding: 0;
}

@media only screen and (max-width: 1280px) {
  .category__form {
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: start;
        align-items: flex-start;
    -ms-flex-pack: start;
        justify-content: flex-start;
    gap: 2rem;
  }
}

@media only screen and (max-width: 666px) {
  .category__select-wrap {
    display: none;
  }
  .category__list {
    gap: 2rem 1.1rem;
  }
  .category__list .card__item {
    width: calc(50% - 0.55rem);
  }
  .category .list .card__flex {
    padding: 1.4rem 1rem 1.4rem 1.4rem;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .category .list .card__bottom {
    gap: 1.2rem;
    -ms-flex-pack: start;
        justify-content: flex-start;
    -ms-flex-align: start;
        align-items: flex-start;
  }
  .category .list .card__img {
    min-width:39vw;
    height: 100%;
  }
  .category__mob {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
        justify-content: space-between;
    width: 100%;
    -ms-flex-align: center;
        align-items: center;
  }
  .category__form {
    gap: 2rem;
    -ms-flex-align: unset;
        align-items: unset;
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .category__cat {
    -ms-flex-pack: start;
        justify-content: flex-start;
    gap: 4vw;
  }
  .category .container {
    padding: 1rem 1.4rem 2rem;
  }
  .category__select-mob {
    display: none;
    position: absolute;
    top: 8.88rem;
    left: 0;
    padding: 2rem 1.4rem 3rem;
    width: 100vw;
    z-index: 3;
    background-color: white;
    height: calc(100vh - 8.88rem);
    overflow-y: auto;
  }
  .category__select-mob.active {
    display: -ms-flexbox;
    display: flex;
  }
  .category__select-mob::-webkit-scrollbar {
    background-color: transparent;
    width: 0.4rem;
  }
  .category__select-mob::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background-color: var(--color-primary);
  }
}

