If you're going to A/B test something, you need to reduce the variables down to one. For all you know, the supposedly 'pretty' framing and box-shadow you added to the grid layout may actually be what's causing customers to prefer the flat list.
Testing multiple variables in a given trial makes it impossible to discover which change (or combination thereof) actually improved the conversion rate.