.template-list-summary{margin:20px 0;text-align:center;color:#475569;font-size:14px}
.template-pagination{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:24px 0 36px}
.template-pagination a,.template-pagination span{padding:10px 14px;border-radius:9px;line-height:1.5}
.template-pagination a{background:white;border:1px solid #dbe3ee;color:#1d4ed8;text-decoration:none}
.template-pagination a:hover{background:#eff6ff}
.template-pagination [aria-current]{background:#2563eb;color:#fff;font-weight:700}
.catalog-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}
.catalog-controls label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#334155;flex:1;min-width:130px}
.catalog-controls input,.catalog-controls select{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#0f172a;font-size:16px;box-sizing:border-box;min-height:44px}
.catalog-controls .catalog-search-label{flex:2;min-width:220px}
.catalog-controls button,.catalog-clear{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;border-radius:8px;background:#2563eb;color:white;text-decoration:none;font-size:15px;cursor:pointer}
.catalog-clear{background:#eef2ff;color:#334155}
#catalogSearchForm{width:100%}
#catalogSearchForm .catalog-category-label{flex:1.5;min-width:220px}
.category-filters a.filter-btn{text-decoration:none;display:inline-block}
.template-file-list{padding:0;list-style:none;display:grid;gap:12px}
.template-file-list li{padding:14px;border:1px solid #dbe3ee;border-radius:10px;overflow-wrap:anywhere}
.template-file-list small{display:block;color:#64748b;margin:5px 0}
.category-edit-row{padding:18px;background:white;border:1px solid #e2e8f0;border-radius:12px;margin:16px 0}
.category-edit-row .catalog-controls{margin:0 0 12px}
.word-product .word-product-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:20px 0 14px;color:#475569}
.word-product-price strong{font-size:22px;color:#0f172a}
.word-product-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}
.word-product .word-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;box-sizing:border-box;padding:12px 18px;border:1px solid #2563eb;border-radius:10px;font:inherit;font-size:15px;font-weight:700;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.word-product .word-action-primary{background:#2563eb;color:#fff;box-shadow:0 4px 10px rgba(37,99,235,.18)}
.word-product .word-action-primary:hover{background:#1d4ed8;color:#fff}
.word-product .word-action-secondary{background:#fff;color:#1d4ed8}
.word-product .word-action-secondary:hover{background:#eff6ff}
.word-product .word-action:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
.word-download-list li{display:flex;align-items:center;justify-content:space-between;gap:16px}
.word-download-list li>div{min-width:0}
.word-download-list .word-action{flex-shrink:0}
.word-product .word-files-note{font-size:14px;color:#475569}
.word-product-features{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.word-product-features span{background:#f1f5f9;color:#475569;padding:6px 10px;border-radius:6px;font-size:13px}
@media(max-width:480px){.catalog-controls label,.catalog-controls .catalog-search-label{min-width:0;flex-basis:100%}.template-pagination a,.template-pagination span{padding:9px 11px}.template-file-list .btn{white-space:normal;text-align:center}.category-edit-row{padding:12px}}
@media(max-width:480px){#catalogSearchForm .catalog-category-label{min-width:0;flex-basis:100%}.word-product-actions .word-action{width:100%}.word-download-list li{align-items:stretch;flex-direction:column}}
