Inhomogeneous Incompressible Navier–Stokes Equations on Thin Domains