The online beauty retailer cited inflationary pressures and difficulties in its beauty division in first-half 2023