/* ===== CATEGORY PAGE HEADER ===== */
.category-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}
.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
}
.category-header .category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--accent-red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    margin-bottom: 16px;
}
.category-header .category-icon .icon {
    width: 28px;
    height: 28px;
}
.category-header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.category-header .category-description {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 16px;
}
.category-header .category-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
}
.category-header .category-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-header .category-stats .stat strong {
    color: var(--text-primary);
    font-weight: 600;
}

.category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.category-toolbar .results-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
}
.category-toolbar .sort-select {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 6px 32px 6px 14px;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: var(--font-main);
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: var(--transition);
}
.category-toolbar .sort-select:focus {
    border-color: var(--accent-red);
}

.category-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px dashed rgba(255, 255, 255, 0.06);
}
.category-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
    color: var(--text-muted);
}
.category-empty h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.category-empty p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 0;
}

/* ===== CATEGORY RESPONSIVE ===== */
@media (max-width: 768px) {
    .category-header {
        padding: 24px 20px;
        margin-bottom: 24px;
    }
    .category-header h1 {
        font-size: 22px;
    }
    .category-header .category-description {
        font-size: 14px;
    }
    .category-header .category-icon {
        width: 48px;
        height: 48px;
    }
    .category-header .category-icon .icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 20px 16px;
    }
    .category-header h1 {
        font-size: 20px;
    }
    .category-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
