カウボーイハットであれば
kaubōihattodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of カウボーイハット

1. If it were a cowboy hat; If/when it's a cowboy hat

Ba Conditional