.c5-catalogue { letter-spacing: 0; }
.c5c-heading { max-width: none; margin-bottom: 30px; }
.c5-catalogue h1 { font-size: 52px; letter-spacing: 0; }
.c5c-heading h1 { margin: 8px 0 10px; }
.c5c-heading > p:last-child { font-size: 16px; margin: 0; }
.c5c-kicker, .c5-catalogue .c5c-code { letter-spacing: 0; }
.c5c-browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; scroll-margin-top: 128px; }
.c5c-sidebar { position: sticky; top: 128px; min-width: 0; max-height: calc(100vh - 148px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-block: 1px solid var(--c5c-line); }
.c5c-category-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 12px; font-weight: 600; cursor: pointer; list-style: none; }
.c5c-category-menu > summary::-webkit-details-marker { display: none; }
.c5c-category-menu:not([open]) > summary .dashicons { transform: rotate(-90deg); }
.c5c-category-tree { padding: 0 0 12px; }
.c5-catalogue .c5c-tree-level { list-style: none; margin: 0; padding: 0; }
.c5c-tree-level .c5c-tree-level { margin-left: 14px; border-left: 1px solid var(--c5c-line); padding-left: 6px; }
.c5c-category-link.is-empty:not(.is-active) { color: var(--c5c-muted); }
.c5c-category-link, .c5c-all-designs { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 10px; text-decoration: none; font-size: 13px; line-height: 1.4; }
.c5c-category-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.c5c-category-count, .c5c-all-designs > span { margin-left: auto; font-size: 11px; color: var(--c5c-muted); font-variant-numeric: tabular-nums; }
.c5c-tree-depth-0 > li > .c5c-category-link { font-size: 14px; font-weight: 600; border-top: 1px solid var(--c5c-line); }
.c5c-category-link:hover, .c5c-all-designs:hover { background: #eaece6; }
.c5c-category-link.is-active { color: #a41e2c; }
.c5c-category-link[aria-current="page"], .c5c-all-designs[aria-current="page"] { background: #f2e5e5; color: #a41e2c; font-weight: 600; }
.c5c-category-link .dashicons, .c5c-category-menu > summary .dashicons { flex: 0 0 16px; width: 16px; height: 16px; font-size: 16px; }
.c5c-results { min-width: 0; }
.c5c-browse-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-block: 1px solid var(--c5c-line); padding: 12px 0; }
.c5c-browse-toolbar .c5c-breadcrumb { flex: 1 1 240px; margin: 0; gap: 8px; min-width: 0; }
.c5c-breadcrumb a { overflow-wrap: anywhere; }
.c5c-breadcrumb a:last-child { color: var(--c5c-ink); }
.c5c-search-form { display: flex; flex: 0 1 280px; height: 44px; min-width: 0; border: 1px solid var(--c5c-line); background: white; }
.c5c-search-form input[type="search"] { min-width: 0; width: 100%; padding: 10px; border: 0; background: transparent; color: var(--c5c-ink); border-radius: 0; font: 14px Arial, sans-serif; }
.c5c-search-form button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; border: 0; background: #46513e; color: white; cursor: pointer; }
.c5c-search-form button:hover { background: #30392b; }
.c5c-search-summary { margin: 18px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.c5c-search-summary a { margin-left: 12px; }
.c5c-results .c5c-result-head { padding: 18px 0; flex-wrap: wrap; gap: 6px 18px; }
.c5c-results .c5c-grid { gap: 18px; }
.c5c-results .c5c-card-copy { padding: 18px; }
.c5c-results .c5c-card h2 { font-size: 23px; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .c5c-browse { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .c5c-results .c5c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c5c-search-form { flex-basis: 100%; }
}
@media (max-width: 800px) {
  .c5-catalogue h1 { font-size: 38px; }
  .c5c-browse { grid-template-columns: minmax(0, 1fr); gap: 22px; scroll-margin-top: 110px; }
  .c5c-sidebar { position: static; max-height: none; overflow: visible; }
  .c5c-category-tree { max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }
  .c5c-category-link, .c5c-all-designs { font-size: 14px; }
  .c5c-category-menu > summary { padding-inline: 10px; }
  .c5c-browse-toolbar { border-top: 0; padding-top: 0; }
  .c5c-search-form { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .c5c-results .c5c-grid { grid-template-columns: minmax(0, 1fr); }
}
