The city can sometimes seem like a battlefield for chain pharmacies, where the last vestiges of vintage apothecaries can be found only in kitsch restaurants that open in former pharmacies. But actual mom-and-pop drugstores still exist, even in gentrified Brooklyn neighborhoods like Cobble Hill, where Wyckoff’s Corner Pharmacy has endured for the past decade.

On a recent afternoon, beyond the rows of standard drugstore offerings — beauty products, decongestants, greeting cards — a man consulted in Arabic at the back counter with one pharmacist as an older woman sought advice about prescriptions from another. A woman on her way to Israel that evening rushed in to stock up for the trip.

There was lots of chitchat and well-wishing: “Take care of yourself.” “Feel better.” “Safe travels.”

It felt a world away from the chain pharmacies that have opened in the neighborhood lately.

Those corporate competitors — a CVS two blocks up Court Street, a Rite Aid around the corner — have Wyckoff’s Corner Pharmacy beat in terms of square feet. But at Wyckoff’s, customers know the names of the pharmacists behind the counter: Bassam (Sam) Amin and John Capotorto. Both came from chain drugstores.