.collection#product_collection_container{:id => product_collection.id}
  %h2
    %span=product_collection.lang(I18n.locale).name
    collection

  .collection_products
    =render :partial => "public/products/product_index", :locals => {:products => product_collection.products.not_archived}
  
  -if product_collection.color?
    <style>
    ="#product_collection_container_#{product_collection.id}"
    {
    ="color:#{product_collection.color};"
    }
    ="#product_collection_container_#{product_collection.id} .product_category_top .category-title"
    {
    ="color:#{product_collection.color} ;"
    }
    ="#product_collection_container_#{product_collection.id} .product.product-item .product-title"
    {
    ="color:#{product_collection.color} ;"
    ="border-color:#{product_collection.color} ;"
    }
    
    ="#product_collection_container_#{product_collection.id}.collection h2 span"
    {
    ="color:#{product_collection.color};"
    ="border-color:#{product_collection.color};"
    }
    
    
    </style>