Text this: Optimizing D2D Communication With Practical STAR-RIS and Irregular Configurations