.rb-sort-wrapper {
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #eee;
  margin-top: 20px;
}

.rb-sort-wrapper.show .rb-sort-arrow {
  transform: rotate(180deg);
}

.rb-sort-wrapper.show .rb-sort-body {
  display: block;
}

.rb-sort-body {
  display: none;
  padding: 0 16px 16px;
}

.rb-sort-header {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.rb-sort-header-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.rb-sort-section {
  padding: 8px 0;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .rb-sort-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
}

.rb-sort-label {
  min-width: 86px;
  width: 86px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  padding: 0 12px;
}

.rb-sort-options {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.rb-sort-options-label {
  display: block;
  margin: 6px;
}

.rb-sort-options-label input {
  display: none;
}

.rb-sort-options-label input + span {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid #cccccc;
  border-radius: 1000px;
  font-size: 12px;
  color: #727272;
  cursor: pointer;
}
.rb-sort-options-label input + span:hover {
  background-color: #f5f5f5;
  color: #333;
  border-color: #cccccc;
}

.rb-sort-options-label input:checked + span {
  background-color: #fcf1e8;
  color: #fc7400;
  border-color: #fc7400;
}
.rb-sort-footer {
  border-top: 1px solid #eee;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.rb-sort-clear {
  color: #727272 !important;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline !important;
}
.rb-sort-submit {
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 8px 24px;
  font-size: 14px;
  color: #fff !important;
  border-radius: 1000px;
  background: #fc7400;
  border: none;
  cursor: pointer;
}
.rb-sort-submit:hover {
  background: #e65c00;
}
.category #wrapper {
  background-color: #f4f1ee !important;
}
.rb-no-posts-message {
  padding-top: 24px;
}
.rb-no-posts-message p {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
  font-weight: bold;
  text-align: center;
}
.rb-no-posts-message .rb-header-cta {
  width: fit-content;
  margin: 24px auto 0;
}
@media screen and (max-width: 767px) {
  .rb-no-posts-message .rb-header-cta {
    display: block;
  }
}
