Shopify surges 6% as tech stocks buck broader market decline