The present invention relates to conditioning cosmetic compositions comprising a nanostructured system formed by lipidic nanoparticles based on at least one from oil, butter and wax, which encapsulate at least one cationic surfactant, as well as the use thereof in cosmetic preparations. Besides, the invention relates to a conditioning shampoo comprising said cosmetic composition.