/* Catalogue category polish: one heading, aligned controls and complete rounded frame. */
body.category-page[data-catalog-section="all"] .category-intro,
body.category-page[data-catalog-section="all"] .catalog-section {
  box-sizing: border-box;
  border: 1px solid var(--warm-line, #ded5cc) !important;
  border-radius: 28px !important;
  background: #fff !important;
}

body.category-page[data-catalog-section="all"] .catalog-section {
  margin-top: 34px;
  padding-top: 34px;
  padding-bottom: 54px;
}

body.category-page[data-catalog-section="all"] .catalog-results-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  width: 100%;
  margin: 0 0 24px;
}

body.category-page[data-catalog-section="all"] .catalog-result-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
}

body.category-page[data-catalog-section="all"] #catalog-count,
body.category-page[data-catalog-section="all"] #reset-filters {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  body.category-page[data-catalog-section="all"] .category-intro,
  body.category-page[data-catalog-section="all"] .catalog-section {
    border-radius: 24px !important;
  }

  body.category-page[data-catalog-section="all"] .catalog-section {
    margin-top: 22px;
    padding-top: 28px;
    padding-bottom: 42px;
  }

  body.category-page[data-catalog-section="all"] .catalog-results-bar {
    display: flex;
    align-items: stretch;
    gap: 16px;
  }

  body.category-page[data-catalog-section="all"] .catalog-result-actions {
    width: 100%;
    align-items: end;
  }
}
