"Office" star John Krasinski and his real life "Pam" Emily Blunt are environmental warriors ... the couple just bought a $2 million house way out in the country -- run on RENEWABLE ENERGY TECHNOLOGY!!!!
The couple purchased the 4,177 square-foot-pad in Ojai -- nicknamed the 'Shangri-la of CA' thanks to the city's focus on health and spirituality -- back in June for $2,150,000.
But get this, the 4-bedroom, 4.5-bath digs is totally eco-friendly and decked out with state of the art renewable energy technology -- including giant solar panels, which help power their crib ... by harnessing the power of the sun.
Not only that, it sits on 5 acres surrounded by mountains and hiking trails ... has a brand new pool and spa ... separate guest house and is walking distance to an organic farmers market (ah!).
FUN FACT: The house has major historical significance too ... it was once the site of the first Ojai Foothills Hotel back 1903 ... which helped put Ojai on the map as a tourist destination.