/*---------------------------------*/
/* WOOCOMMERCE */
/*---------------------------------*/
.woocommerce-ordering{display:none;}

.woocommerce-message{
    margin: 0 0 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.08);
    color: #333;
}
.woocommerce-message a{
    float: right;
    padding: 10px;
    margin-top: -8px;
}

/* PRODUIT */
.products {
    transition: 0.6s;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 30px;
    display: grid;
    align-items: start;
    justify-items: stretch;
    position: relative;
}
.products .product {
    position: relative;
    grid-column: span 1;
    /* background: var(--light-color); */
    height: 100%;
}
.products .product > a{color: var(--text-color);}

.product-img {
    display: block;
    height: 280px;
    overflow: hidden;
    position: relative;
}
.products .product a img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition: .5s;
}
.products .product-img img {transition: transform .3s ease-in-out , opacity .3s ease-in-out}

.product-img .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out
}

.products .product:hover .product-img img {transform: scale(1.1)}
.products .product.has-gallery:hover .product-img img {opacity: 0}

.products .product.has-gallery:hover .product-img .hover-image {
    opacity: 1;
    transform: scale(1.1)
}

.product .product-img .button {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    width: auto;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.42, 0, 0.41, 1.29);
    transform: translateY(50px) translateX(-50%);
}
.products .product:hover .button {
    opacity: 1;
    transform: translateY(-50%) translateX(-50%);
}

.product-content{padding: 30px 20px;}
.titleproduct{
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  text-align: center;
  font-family: var(--font-bold);
}
.woocommerce-loop-category__title {
    font-size: 25px;
    margin: 0 0 15px;
    transition: 250ms all ease-in-out;
}
.shop_cat_desc{
	font-size: 14px;
	line-height: 1.6;
}

.products .product > a:hover .woocommerce-loop-category__title{color: var(--primary-color)}


/* PRICE */
span.onsale{
    --size: 34px;
    position: absolute;
    top: 5px;
    left: 5px;
    background-image: url(../../images/icons/promo.svg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    width: var(--size)!important;
    height: var(--size);
    z-index: 2;
}
span.price{
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap!important;
    font-family: var(--font-bold);
    font-size: 18px;
    margin-top: 10px;
    color: var(--primary-color);
}

span.price ins,
#pricesinglewoo ins{text-decoration: none;}
span.price del{
  font-style: italic;
  font-size: 14px;
  color: var(--text-color);
  margin-right: 10px;
  font-family: var(--font-text);
}

#pricesinglewoo{
    padding: 10px 30px;
    font-family: var(--font-bold);
    text-align: center;
    justify-content: center;
    align-items: center;
    border-top: solid 1px rgba(0,0,0,0.1);
    width: auto;
    border-bottom: solid 1px rgba(0,0,0,0.1);
    flex-direction: row;
    margin: 60px 0;
}


#pricesinglewoo del span{
    color: var(--text-color);
    font-size: 14px;
    font-family: var(--font-text);
    font-style: italic;
    margin-right: 5px;
}

#pricesinglewoo > ins span,
#pricesinglewoo > span{
    color: var(--primary-color);
    font-size: 18px;
}

/* BOUTON BACK */


#backBTsingle a{
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  font-family: var(--font-bold);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  z-index: 0;
  color: var(--title-color);
  background: none;
  display: inline-block;
  padding: 0 0 0 16px;
  
}

#backBTsingle a:before{
  transition: 250ms all ease-in-out;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136,183,213,0);
  border-width: 4px;
  left: 0;
  transform: translateY(-50%) scale(-1);
  border-left-color: var(--title-color);
}

#backBTsingle a:hover{ color: var(--primary-color);}
#backBTsingle a:hover:before {border-left-color:  var(--primary-color);}


/* PAGE SINGLE */
#shortdesc {
    padding: 30px;
    background: var(--light-color);
    font-size: 18px;
    color: var(--title-color);
    line-height: 1.4;
    margin-bottom: 40px;
}

#btformsinglewoo .button{
  white-space: initial;
  border: none;
  cursor: pointer;
  transition: 250ms all ease-in-out;
}
#btformsinglewoo .button:focus{outline: none;}

#primaryimgsinglewoo {
    position: relative;
    height: 400px;
    margin-bottom: 4px;
}

#sliderproductsinglewoo {
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
    display: grid;
    align-items: start;
    justify-items: stretch;
}

.woocommerce-product-gallery__image {
    position: relative;
    box-sizing: border-box;
    grid-column: span 1;
    height: 120px;
}
#sliderproductsinglewoo img {
    object-fit: cover;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    height: 100%;
    float: none;
}

/* TABS */
.wc-tabs{
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    border-bottom: solid 1px rgba(0,0,0,0.1);
}

.wc-tabs li a{
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 14px;
    padding: 1em 1.4em;
    display: flex;
    transition: .2s all ease;
    font-family: var(--font-bold);
    letter-spacing: 2px;
}
.wc-tabs li.active a,
.wc-tabs li:hover a {
    border-bottom: solid 3px var(--primary-color);
    color: var(--primary-color);
}

.woocommerce-Tabs-panel {padding: 30px 0 0;}
.woocommerce-Tabs-panel > :first-child {display:none}

#tab-additional_information {display: none;}
#tab-additional_information .shop_attributes {width: 100%}

#tab-additional_information .shop_attributes th {
    background: var(--primary-color);
    color: var(--white);
    text-align: left
}

#tab-additional_information .shop_attributes th,
#tab-additional_information .shop_attributes td {padding: 5px 10px}

#tab-additional_information .shop_attributes td {border: 1px solid rgb(0 0 0 / 10%);}
#tab-additional_information .shop_attributes p {margin: 0!important}
#tab-additional_information .shop_attributes p a {color: var(--text-color)}


/* BREADCRUMB */
#blocbreadcrumb{
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: solid 1px rgba(0,0,0,0.1);
}
body.woocommerce-category-php #blocbreadcrumb{
  margin-top: 50px;
}
#breadcrumb {
  list-style: none;
  width: 100%;
  font-size: 0.7em;
  text-transform: uppercase;
  box-sizing: border-box;
}

#breadcrumb li {
  float: left;
  line-height: 34px;
  color: var(--primary-color);
}


#breadcrumb li a {
  display: block;
  text-decoration: none;
  position: relative;
  text-align: center;
  margin-right: 15px;
  color: var(--title-color);
  padding-right: 10px;
}

#breadcrumb li:nth-child(even) a:after {border-left-color: #b1b1b1;}
#breadcrumb li:first-child a:before {border: none;}

#breadcrumb li:last-child a {
  padding-right: 15px;
  border-radius: 0 4px 4px 0;
}
#breadcrumb li:last-child a:after {border: none;}

#breadcrumb li a:after {
  content: "";
  position: absolute;
  top: 13px;
  border: 0 solid transparent;
  border-left-color: #b1b1b1;
  border-width: 4px 6px;
  width: 0;
  height: 0;
  left: 100%;
}
#breadcrumb li a:hover,
#breadcrumb li a:active{color: var(--primary-color);}

/* ------------- */
/* NOTIFICATION  */
/* ------------- */
.woocommerce-error{
    background: #f1e1e0;
    margin: 0 30px;
    padding: 20px;
}
.woocommerce-error li{
    padding: 4px 0 4px 0;
    list-style: square;
    list-style-position: inside;
    color: #cc2e2e;
}
.woocommerce-error li strong{color: #f00;}
