$("#tmpStyle").remove();
var style = $('<style id="tmpStyle" type="text/css">.products-card-menu-hover:before { content: ""; top: -16px; left: 50px; width: 38px; height: 20px; background: '+stylesHat[razdel_id]['gradient_end']+' url(../images/catalogue_active_mask.png) no-repeat; position: absolute;}</style>');
$('html > head').append(style);