Add html to wrap custom panels layout programaticly How to add html to wrap custom panels layout programaticly?
I know that i can change html in *.tpl.php but i want to avoid it.
Also i want to know, how to add class to panals programaticly too.

UPD:
I create custom panels layout and want to add html with custom class to wrapp regions of custom panel layout.
I found good decision to use module Semantic panels, but it add markup to field, not to whole region. 

This is part of my html

 &lt;?php if ($content['left'] || $content['middle'] || $content['middle_two'] || $content['right']): ?&gt;
    &lt;div class="row"&gt; 
         &lt;div class="col-xs-12 col-md-3 col-lg-3"&gt;
            &lt;?php print $content['left']; ?&gt;
         &lt;/div&gt;
    &lt;/div&gt;
  &lt;?php endif ?&gt;


I want to make it like that

 &lt;?php if ($content['left'] || $content['middle'] || $content['middle_two'] || $content['right']): ?&gt;
    &lt;div class="row"&gt;
         &lt;div class="col-xs-12 col-md-3 col-lg-3"&gt;
           &lt;article class="$custom_class"&gt;
            &lt;?php print $content['left']; ?&gt;
           &lt;/article&gt;
         &lt;/div&gt;

    &lt;/div&gt;
  &lt;?php endif ?&gt;


UPD2: I try to add variable through themenaame_preprocess_panels_pane, but it doesn't appear in .tpl.php file. 

Code 

function dmits_preprocess_panels_pane(&amp;$vars){


$vars['custom_article_class'] = 'seriveces-wrapp';
  kpr($vars);

}
The module suggested (in a comment) by Danny Englander helps me (thank you!).

I.e. module drupal.org/project/panels_extra_styles

Since Dany only posted it as a comment, I'm adding it as a "real" answer (so that I will also be abe to "mark it as accepted".