#product_category_container{:id => @product_category.id}
  -if @product_category.color?
    <style>
    ="#product_category_container_#{@product_category.id}"
    {
    ="color:#{@product_category.color};"
    }
    ="#product_category_container_#{@product_category.id} .product_category_top .category-title"
    {
    ="color:#{@product_category.color};"
    }
    ="#product_category_container_#{@product_category.id} .product.product-item .product-title"
    {
    ="color:#{@product_category.color};"
    ="border-color:#{@product_category.color};"
    }
    
    ="#product_category_container_#{@product_category.id} .collection h2 span"
    {
    ="color:#{@product_category.color};"
    ="border-color:#{@product_category.color};"
    }
    
    
    </style>
  .product_category_top{:class =>( "big_cat" if @product_category.children.count > 0 )}
  
    %h1.category-title
      =@product_category_lang.name
    -if @product_category_lang.description?
      .description
        -if @product_category.image_file_left
          =image_tag @product_category.image_file_left.file.large.medium.small.thumb.url, :class => "left_image"
        -if @product_category.image_file_right
          =image_tag @product_category.image_file_right.file.large.medium.small.thumb.url, :class => "right_image"
        
        
        =@product_category_lang.description
        
        .clear
    -if @product_category.top_image_id
      %center=image_tag @product_category.top_image.file.large.url
  
  
    =render @product_category.product_collections
    -if @product_category.products.not_archived.where(:product_collection_id => nil).count > 0
      =render :partial => "public/products/product_index", :locals => {:products => @product_category.products.not_archived.where(:product_collection_id => nil)}
  
  
    
-content_for :bandeau do
  =render :partial => "public/product_categories/bandeau",:collection => @product_category.children.order(:position), :as => :product_category
