Fashion wholesaler and retailer Esprit Holdings Ltd has agreed a five-year term loan for HK$2.6bn (US$334m) from a group of 13 banks to buy out its China-based retail joint venture.