.shelf-links { display:flex; flex-wrap:wrap; gap:4px 18px; margin-top:8px; }
.shelf-links a,.shelf-links button,.category-page-actions a,.category-page-actions button { display:inline-flex; align-items:center; min-height:44px; color:var(--green); -webkit-text-fill-color:var(--green); font:600 .85rem 'DM Sans',sans-serif; background:none; border:0; padding:0; text-decoration:none; cursor:pointer; }
.shelf-links a:hover,.shelf-links button:hover { text-decoration:underline; }
.shelf-links :focus-visible,.category-page-actions :focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.category-page .intro { padding:24px clamp(20px,6vw,80px); }
.category-page .intro > :not(.catalog-tools):not(.category-page-actions) { display:none; }
.category-page .catalog-projects,.category-page .catalog-unavailable,.category-page #projetos { display:none; }
.category-page .catalog-tools { margin:12px 0 0; }
.category-page #category[hidden] { display:none; }
.category-page-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; }
.category-page-actions button { border:1px solid var(--line); border-radius:24px; padding:8px 16px; }
.share-status { color:var(--green); font-size:.9rem; }
.share-status:empty { display:none; }
.category-page-actions .share-status { flex-basis:100%; margin:0; }
.category-page #catalog-title { font-size:clamp(1.4rem,3vw,2rem); }
.book-grid.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.category-grid .book-card { min-width:0; }
.category-grid .book-body h3 { font-size:1.1rem; overflow-wrap:anywhere; }
@media(max-width:700px) {
 .book-grid.category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .category-grid .book-body h3 { font-size:1rem; }
 .shelf-heading { align-items:flex-start; }
 .shelf-links { gap:0 12px; }
}
