.page-category {
  width: 100%;
  padding-bottom: 60px;
}

.page-category-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-category-header {
  width: 100%;
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
  position: relative;
  min-height: 230px;
}

.page-category-header .breadcrumb-item a,
.page-category-header .breadcrumb-item,
.page-category-header .breadcrumb-separator {
  color: #fff;
}

.page-category-title {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.page-category-title h1 {
  color: #fff;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
}

.page-category-title p {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
}

.page-category-content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 50px;
  position: relative;
}

.page-category-no-results {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.page-category-no-results p {
  color: var(--body-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
}

.page-category-results {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-category-order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-category-filter-btn {
  border: none;
  background-color: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  outline: none;
}

.page-category-filter-btn svg {
  width: 35px;
  height: 35px;
}

.page-category-order p {
  color: #616161;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
}

.page-category-order form select {
  width: 140px;
  height: 38px;
  border-radius: 5px;
  background: #e8e3e3;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #000;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  outline: none;
}

.page-category-posts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-category-content:not(:has(.filter))
  .page-category-results
  .page-category-posts {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsividade */
@media screen and (max-width: 1016px) {
  .page-category-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 991px) {
  .page-category-filter-btn {
    display: flex;
  }
  .page-category-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 650px) {
  .page-category-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 450px) {
  .page-category-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
