/**
 * PRODUCT FILTERS
 */

.product-filters{
  margin: 50px 0 35px;
}

.product-filters > li{
  cursor: pointer;
  margin: 0 8px;
  opacity : 0.3;
  -webkit-transition: opacity 300ms ease-in;
  -moz-transition: opacity 300ms ease-in;
  -ms-transition: opacity 300ms ease-in;
  -o-transition: opacity 300ms ease-in;
  transition: opacity 300ms ease-in;
  vertical-align: top;
}

.product-filters > li.active,
.product-filters > li:hover{
  opacity : 1;
}

.product-filters > li a{
  display: block;
}

.product-filters > li a:hover,
.product-filters > li a:focus{
  text-decoration: none;
}

.product-filters > li img{
  height: auto;
  max-width: 100%;
}

.product-filters .field-name-field-image{
  margin-bottom : 12px;
}

.product-filters > *:first-child{
  margin-left: 0;
}

.product-filters > *:last-child{
  margin-right : 0;
}

.product-filters > *:first-child a{
  color: #008599;
}

.product-filters > *:nth-child(2) a{
    color: #cc4F76;
}

.product-filters > *:last-child a{
  color: #b9ac78;
}

/**
 * CAROUSEL
 */

#carousel-product-slider{
  margin-bottom: 25px;
}

#carousel-product-slider .product_minimal.node:first-child{
  margin-left: 0;
}

#carousel-product-slider .product_minimal.node:last-child{
  margin-right: 0;
}

#carousel-product-slider .product_minimal{
  margin  : 0 3px;
}

/**
 * PRODUCT CATEGORIES
 */

.group-categories{
  margin-top: 35px;
}

.group-categories > *{
  font-size: 1.2rem;
}

.group-categories a{
  color: #aaa;
}

.group-categories a:hover{
  color: #000;
}

.group-categories li{
  border-right: 1px solid #aaa;
  padding : 0 10px;
}

.group-categories li:first-child{
  padding-left: 0;
}

.group-categories li:last-child{
  padding-right: 0;
  border-right: 0;
}

.group-products.la_maison_cologique .product_minimal.node.node-product-display:hover{
  border-color: #008599;
}

.group-products.la_cosm_tique_cologique .product_minimal.node.node-product-display:hover{
  border-color: #cc4F76;
}

.group-products.le_bien-_tre_cologique .product_minimal.node.node-product-display:hover{
  border-color: #b9ac78;
}


/**
 * PRODUCTS
 */

.product_minimal{
  display: inline-block;
  text-align: left;
  vertical-align: top;
  position: relative;
}

.product_minimal .product-title a:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.product_minimal > .content:before {
  height: 1px;
  display: block;
  background: #aaaaaa;
  content : '';
  margin-bottom: 6px;
}

.product_minimal .field-name-field-products {
  font-size: 1.3rem;
}

.product_minimal .field-name-field-products,
.product_minimal .product-lower-price {
  -webkit-transition: transform 0.3s ease-in-out, opacity 300ms linear;
  -moz-transition: transform 0.3s ease-in-out, opacity 300ms linear;
  -ms-transition: transform 0.3s ease-in-out, opacity 300ms linear;
  -o-transition: transform 0.3s ease-in-out, opacity 300ms linear;
  transition: transform 0.3s ease-in-out, opacity 300ms linear;
}

.product_minimal:hover .product-lower-price {
  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  transform: scaleY(0);

  -webkit-transform-origin: top;
  -moz-transform-origin: top;
  -ms-transform-origin: top;
  -o-transform-origin: top;
  transform-origin: top;
  opacity: 0;
}

.product_minimal .field-name-field-products {
  opacity: 0;

  -webkit-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -o-transform: scaleY(0);
  transform: scaleY(0);
  
  -webkit-transform-origin: bottom;
  -moz-transform-origin: bottom;
  -ms-transform-origin: bottom;
  -o-transform-origin: bottom;
  transform-origin: bottom;
}

.product_minimal:hover .field-name-field-products {
  opacity: 1;
  -webkit-transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
}

.product_minimal .field-name-field-products .field-name-commerce-price,
.product_minimal .field-name-field-products .field-name-commerce-price div,
.product_minimal .field-name-field-products .field-name-field-web-designation,
.product_minimal .field-name-field-products .field-name-field-loyalty,
.product_minimal .field-name-field-products .field-name-field-loyalty * {
  display: inline-block;
  vertical-align: bottom;
}

.product_minimal .field-name-field-products .field-name-field-loyalty {
  padding-left: 5px;
}

.product_minimal .field-name-field-products .field-name-commerce-price {
  color: #6cb42a;
  padding-left: 4px;
}


.product_minimal .product-lower-price {
  color: #6cb42a;
  font-weight: bold;
  font-size: 1.8rem;
  opacity: 1;
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -o-transform: scaleY(1);
  transform: scaleY(1);
  
  position: absolute;
}

.product_minimal .product-title {
  text-transform: uppercase;
  font-size: 1.8rem;
  width: 100%;
  font-family: 'latoblack';
}

.product_minimal .product-title > h2
{
    font-family: 'latoblack';
    font-size: 1.8rem;
    line-height: 1.42857143;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

.product_minimal .product-title .field-name-field-subtitle {
  text-transform: none;
  font-size: 1.5rem;
  font-family: 'latoregular';
  padding-bottom: 8px;
}

.product_minimal .product-new {
  background: #6cb42a;
  color: #FFF;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
  padding: 0px 1px;
  font-size: 1.2rem;
  line-height: 12px;
  position: absolute;
  margin-top: -16px;
}

.product_minimal.node.node-product-display{
  border  : 1px solid transparent;
  cursor  : pointer;
  padding : 35px 9px 12px;
  width   : 185px;
  transition : border-color 400ms ease-in-out;
  -webkit-transition: border-color 400ms ease-in-out;
  -moz-transition: border-color 400ms ease-in-out ;
  -ms-transition: border-color 400ms ease-in-out ;
  -o-transition: border-color 400ms ease-in-out ;
  transition: border-color 400ms ease-in-out ;
}

.product_minimal .rate-fivestar-processed{
  padding-left: 0;
}

.product_minimal .field-name-field-libelle{
  font-family   : 'latoblack';
  margin-bottom : 3px;
  margin-top    : 8px;
}

.product_minimal .field-commerce-price{
  border-top  : 1px solid #aaa;
  font-family : 'latolight';
  font-size   : 2rem;
  margin-top  : 35px;
  padding-top : 3px;
  text-align  : right;
}

.product_minimal .field-name-field-images img{
  height : auto;
  width  : 100%;
}

.product_minimal .rate-fivestar-btn-filled{
  background: url('../../img/star.png') no-repeat;
}

.product_minimal .rate-fivestar-btn-empty{
  background: url('../../img/star_empty.png') no-repeat;
}

.product_minimal .rate-fivestar-btn-filled,
.product_minimal .rate-fivestar-btn-empty{
  height : 11px;
  margin : 0 1px;
  width  : 12px;
}

/**
 * RESPONSIVE
 */

@media (max-width: 992px){
  .product-filters > li{
    width: 225px;
  }
}

@media (max-width: 768px){
  .product-filters > li{
    width: 30%;
    margin : 0 4px;
    padding: 0;
  }

  .product-filters > li a{
    font-size: 1.2rem;
    line-height : 1.4rem;
  }
}

@media (max-width: 768px){
  #carousel-product-slider .product_minimal.node.node-product-display{
    width: 45%;
  }
}

@media (max-width: 500px){
  #carousel-product-slider .product_minimal.node.node-product-display{
    width: 100%;
  }
}



/* PROMO */


.node-product-display .bn_commerce-price-savings-formatter-price-list{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.node-product-display .bn_commerce-price-savings-formatter-price-list li {
  float: left;
  margin: 0 4px;
  font-family: 'latoregular';
}

.node-product-display.minimal_display .bn_commerce-price-savings-formatter-price-list li.last {
  float: right;
}

.node-product-display .bn_commerce-price-savings-formatter-price-list .commerce-price-savings-formatter-list {
  color : #000000;
  display: inline-block;
}
.node-product-display .commerce-price-savings-formatter-price {
  display: inline-block;
}

.commerce-add-to-cart .commerce-price-savings-formatter-list {
  font-size: 1.5rem;
  line-height: 3.2rem;
  padding-left: 5px;
  font-weight: normal;
}

.commerce-add-to-cart .field-name-field-web-designation {
  font-weight: bold;
}

.bn_refonte_field_promo.inline_add_to_cart {
  position: absolute;
  background-color: #e20074;
  left: -35px;
  padding: 11px 5px;
  color: white;
  border-radius: 40px;
  top : 50%;
  margin-top: -22px;
  font-size: 1.4rem;
  font-family: 'latoblack';
}

.bn_refonte_field_promo.inline {
  float: right;
  color: #e20074;

}

.inline.commerce-price-savings-formatter-prices{
   margin-bottom: 0px;
}


.field-name-commerce-price.field-type-commerce-price
.bn_commerce-price-savings-formatter-price-list
.commerce-price-savings-formatter-savings {
  display: inline-block;
  color: #e20074;
}

.field-name-commerce-price.field-type-commerce-price
.bn_commerce-price-savings-formatter-price-list
.commerce-price-savings-formatter-savings:before {
  content: '-';
}


/* saving prices */

form.commerce-add-to-cart .field-name-field-images{
  width: 20%;
}

form.commerce-add-to-cart .group_titre_ref.field-group-div.group-titre-ref{
  width: 35%;
}

form.commerce-add-to-cart .field-type-commerce-price{
  width: 40%;
}

.minimal_display .field-name-commerce-price.field-type-commerce-price{
  font-size: 1.1rem;
  vertical-align: top;
}

/*   minimal_display  */
.minimal_display .commerce-product-title{
  width: 43%;
}

.node-product-display.minimal_display .commerce-price-savings-formatter-price .price-amount {
  font-size: 1.1rem;
}

.page-nos-produits.page-nos-produits-univers .view-products-list.view-id-products_list .col-md-4.views-row{
  padding-right: 4px;
  padding-left: 4px;
}


.bn_refonte_promo_red_sticker.active{
  background-image: url('../img/promo_triangle_red.png');
  height: 89px;
  width: 89px;
  display: inline-block;
  background-repeat: no-repeat;
  color: white;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

@media screen and (max-width: 768px) {

  .product_minimal:hover .product-lower-price {
    opacity: 1;
  }

  .product_minimal .product-new {
    position: static;
  }

  .product_minimal.node.node-product-display {
    padding: 0;
  }

  .product_minimal.node.node-product-display .commerce-product-field {
    max-width: 135px;
    margin: auto;
  }

  .product_minimal .product-lower-price {
    position: static;
  }

  .product_minimal .field-name-field-products {
    display: none;
  }

  .product_minimal > .content:before {
    display: none;
  }

  .product_minimal.node.node-product-display {
    border-top: 1px solid #aaaaaa;
    padding: 10px 0;
  }

  .product_minimal .product-title {
    padding-top: 7px;
  }

  .product_minimal .product-title .field-name-field-subtitle {
    padding-bottom: 0;
  }

  .product_minimal.node.node-product-display:hover {
    border: 0px;
  }

  .product_minimal:hover .product-lower-price {
    transform: none;
  }


}