Unexpected results with conditionals inside template part

Why not use the body class to target these elements with CSS. You could do something like the following and make your PHP a little cleaner.

.product-item{width:33%;}
.home .product-item{width:25%;}

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduedusedusedueduedueduedusedu