Add Linear Gradient to Collection Cards

I would like to add a linear gradient to my collection cards.

I’ve tried some code but the gradient it uses is white, and I want it to be black. I tried to adjust the code but I can’t get it right.

I’m looking for something like this:

The gradient can be slightly brighter.

Please help.

Hi @ProconMarketing , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

https://8ae3b9-27.myshopify.com/

Thanks.