The calculated distance (air line) between Lyubimets and Pernik is approximately 165 miles respectively 265 kilometers.
By car or train, the actual journey to Pernik is certainly longer, as only the direct route (as the crow flies) between Lyubimets and Pernik has been calculated here.