/* Добавления каталога. Герой, формы, панели и сетка ресурсов — существующие общие CSS. */
.catalog_page .category_hero_note { margin-left: 0; margin-top: 0; }
.catalog_page .catalog_categories {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.catalog_page .catalog_categories > li { min-width: 0; }
.catalog_page .catalog_category {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--category_line);
    border-radius: 16px;
    background: #fff;
    color: var(--category_ink);
    text-decoration: none;
}
.catalog_page .catalog_category:hover { background: #f4eef9; border-color: #b999d0; }
.catalog_page .catalog_category img { width: 56px; height: 56px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #eee7f6; flex-shrink: 0; }
.catalog_page .catalog_category_body { display: flex; flex-direction: column; min-width: 0; gap: 5px; }
.catalog_page .catalog_category_title { font-size: .92rem; font-weight: 650; line-height: 1.4; }
.catalog_page .catalog_category_count { color: var(--category_muted); font-size: .77rem; line-height: 1.5; }
.catalog_page .catalog_category_arrow { margin-left: auto; color: var(--category_purple); flex-shrink: 0; }
.catalog_page .catalog_about { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 24px; }
.catalog_page .catalog_illustration { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 20px; background: #f4eef9; justify-self: center; }
.catalog_page .catalog_tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.catalog_page .catalog_tags > li { min-width: 0; max-width: 100%; }
.catalog_page .catalog_tag { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 8px 13px; border-radius: 18px; border: 1px solid #dfd3e7; background: #f6f1fa; color: #573575; text-decoration: none; line-height: 1.4; }
.catalog_page .catalog_tag:hover { background: #e9def3; border-color: #b999d0; color: #43245f; }
.catalog_page .catalog_tag_weight_1 { font-size: .8rem; }
.catalog_page .catalog_tag_weight_2 { font-size: .9rem; }
.catalog_page .catalog_tag_weight_3 { font-size: 1rem; font-weight: 550; }
.catalog_page .catalog_tag_weight_4 { font-size: 1.12rem; font-weight: 600; }
.catalog_page .catalog_tag_weight_5 { font-size: 1.24rem; font-weight: 650; background: #eee5f6; }
.catalog_page .catalog_tag_count { flex-shrink: 0; font-size: .72rem; font-weight: 600; color: #65516f; background: #fffdf9; border-radius: 9px; padding: 3px 6px; }
@media (min-width: 768px) {
    .catalog_page .catalog_categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog_page .catalog_about { grid-template-columns: minmax(0, 1fr) minmax(180px, 32%); }
}
@media (min-width: 992px) {
    .catalog_page .catalog_categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .catalog_page .catalog_category { padding: 12px; gap: 10px; }
    .catalog_page .catalog_tag_weight_5 { font-size: 1.12rem; }
}
