/* compact-catalog-20261101: dense grid, small thumbs, topic chips + sort. Scoped to body.cc-on / .cc-eb */
.cc-on .katalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
@media(min-width:640px){.cc-on .katalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px){.cc-on .katalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:1200px){.cc-on .katalog-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
.cc-on .katalog-card{border-radius:10px;overflow:hidden;box-shadow:none;border:1px solid #e5e9f0;background:#fff;display:flex;flex-direction:column;height:100%;transition:border-color .15s}
.cc-on .katalog-card:hover{border-color:#0e2d6c;transform:none}
.cc-on .katalog-card-image{aspect-ratio:1/1;height:auto;max-height:none;background:#f1f5f9}
.cc-on .katalog-card-img{width:100%;height:100%;object-fit:cover}
.cc-on .katalog-card-initial{font-size:1.25rem}
.cc-on .katalog-card-brand{font-size:.55rem}
.cc-on .katalog-card-body{padding:.4rem .45rem .5rem;gap:.15rem;display:flex;flex-direction:column;flex:1}
.cc-on .katalog-card-name{font-size:.72rem;line-height:1.25;font-weight:600;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:1.8em}
.cc-on .katalog-card-category{font-size:.6rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.cc-on .katalog-card-price{font-size:.78rem;font-weight:700;color:#0e2d6c;margin-top:auto}
.cc-on .katalog-card-currency{font-size:.62rem}
.cc-on .katalog-card-amount{font-size:.8rem}
.cc-on .katalog-card-button{display:none}
.cc-on .category-section{margin-bottom:1.25rem}
.cc-on .katalog-intro{padding:.25rem 0}
.cc-on .katalog-subheading{font-size:.8rem}
/* toolbar */
.cc-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.cc-chips{display:flex;gap:.375rem;overflow-x:auto;flex:1 1 100%;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cc-chips::-webkit-scrollbar{display:none}
.cc-chip{flex:0 0 auto;min-height:36px;padding:0 .8rem;border-radius:999px;border:1px solid #d6dce6;background:#fff;color:#334155;font:600 .75rem/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.cc-chip:hover{border-color:#0e2d6c}
.cc-chip.is-on{background:#0e2d6c;border-color:#0e2d6c;color:#fff}
.cc-chip:focus-visible,.cc-sort select:focus-visible,.cc-search:focus-visible{outline:2px solid #c7f36b;outline-offset:2px}
.cc-sort select{min-height:36px;border:1px solid #d6dce6;border-radius:8px;background:#fff;font:500 .75rem Inter,system-ui,sans-serif;padding:0 .5rem;color:#334155}
.cc-count{font-size:.72rem;color:#64748b}
@media(min-width:900px){.cc-chips{flex:1 1 auto}}
/* static ebook index (/ebook/) */
.cc-eb .cc-bar{position:sticky;top:0;z-index:5;background:#fff;padding:.5rem 0;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.cc-eb .cc-search{flex:1 1 220px;min-height:40px;border:1px solid #d6dce6;border-radius:8px;padding:0 .75rem;font:500 .85rem Inter,system-ui,sans-serif}
.cc-eb .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
@media(min-width:640px){.cc-eb .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px){.cc-eb .grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.cc-eb .grid .card{padding:.4rem;border-radius:10px;font-size:.72rem}
.cc-eb .grid .card img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:6px}
.cc-eb .grid .card h3{font-size:.72rem;line-height:1.25;margin:.3rem 0 .15rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cc-eb .grid .card p{margin:.1rem 0;font-size:.68rem}
.cc-eb .grid .card .btn2{display:flex;flex-direction:column;gap:.25rem;margin-top:.25rem}
.cc-eb .grid .card .btn.sm{min-height:32px;font-size:.66rem;padding:.35rem .4rem;text-align:center}
.cc-eb .grid .ct-tile{display:flex;flex-direction:column;justify-content:center;min-height:56px}
.cc-eb .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
