.catalog-page .breadcrumb { margin-bottom: 0.75rem; }

.cat-hero {
    margin: 0 0 1.5rem;
    padding: 1.15rem 1.25rem 1.05rem;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(239, 127, 26, 0.06), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e8eef5;
    border-radius: 1.15rem;
}

.cat-hero-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.8rem;
}

.cat-hero .catalog-title {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.cat-hero-count {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1e4d8c;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
}

.cat-hero-lead {
    margin: 0.5rem 0 0;
    max-width: 40rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-subnav {
    display: flex;
    gap: 0.45rem;
    margin-top: 1rem;
    padding: 0.4rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 0.95rem;
}

.cat-subnav::-webkit-scrollbar { display: none; }

.cat-subnav .subcategory-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.8rem;
    border: 1px solid #e8eef5;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.cat-subnav .subcategory-chip:hover {
    border-color: #fdba74;
    color: #c2410c;
    background: #fff7ed;
}

.cat-subnav .subcategory-chip.is-active {
    border-color: #fb923c;
    background: #ef7f1a;
    color: #fff;
    box-shadow: 0 6px 14px rgba(239, 127, 26, 0.22);
}

.cat-subnav .subcategory-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    background: #fff;
    border: 1px solid #e8eef5;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
}

.cat-subnav .subcategory-chip.is-active .subcategory-count {
    color: #9a3412;
    background: #fff7ed;
    border-color: transparent;
}

@media (max-width: 640px) {
    .cat-hero { padding: 1rem 0.9rem 0.9rem; border-radius: 1rem; }
    .cat-hero .catalog-title { font-size: 1.3rem; }
}
