/*
Theme Name: Woocommerce de Brut template v1
Theme URI: http://www.quentinrenaux.com/web
Description: starter template by QR
Version: 1.0
Author: Quentin Renaux

Special CSS pour la partie SHop
Voir aussi style.css 
*/

/* Welcome here, 
 * you can say hello 
 * or see other projects like this 
 * at quentinrenaux.com
 & we can talk on:    
 * x/twitter : @quentinrenaux 
 * insta : @quentinrenaux
 */

/* ----------- woocommerce ------------- */

/* ----- menu ----- */

.ici_le_menu_shop_cb {
  position: relative;
  /* voir css dans: style.css classique à coté du menu classique */
}

/* ----- General page structure ----- */

/* mir4 mai 2025 */
.mir4-container-product {
  /*border: 1px solid black;*/
  position: relative;
}

#primary {
  position: relative;
  background-color: var(--couleur-background);
}

.content-area {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  /*padding: 20px;*/
  margin: 0 auto;

  /*border: 1px solid green;*/
}

.site-main {
  width: 100%;
  /*max-width: 900px;
  max-width: 1100px;*/

  /*border: 1px solid orange;*/
  margin: 0px auto 0;
}



/* cacher summary tabs */
.wc-tabs {display: none}



/* -------- header page shop category -------- */
  /* category page: product header */
  /* all HIDE */
  .woocommerce-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    border: 2px solid purple;
    display: none;
  }
  .woocommerce-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
  }
  .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
  }
  .woocommerce-products-header {
    padding: 10px;
    border: 2px solid purple;
    display: none;
  }
  .woocommerce-notices-wrapper {
    margin-bottom: 20px;
    border: 2px solid purple;
    display: none;
  }
  .woocommerce-result-count {
    border: 2px solid purple;
    display: none;
  }
  .woocommerce-ordering {
    padding: 10px;
    border: 2px solid purple;
    display: none;
  }

  /*cacher categorie en bas des produits*/
  .posted_in {
    display:none
  }

/* ----- fin header page shop category ----- */


/* category page: products */
.products {
  /*border: 4px solid green;*/
  padding: 20px;
}

/* ----- Product  ----- */
.product {
  position: relative;
  /* css plus bas */
}

/* ----- Product gallery : images produit ----- */
/*.woocommerce-product-gallery {
  margin-bottom: 20px;
  width: 100%;
  border: 1px solid grey;
  padding: 10px;
}

.woocommerce-product-gallery__image img {
  height: auto;
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}*/

/* ------ Product summary : description produit ----- */
.summary.entry-summary {
  text-align: left;
  width: 100%;
  padding: 0px;

  margin: 70px auto 0;
  /*border: 4px solid black; */
    background: #fff;
  position: sticky;
  top: 0px;
}

.product-weight-inproduct {
  margin: 0 0 0px;
  border-bottom: 1px solid black;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 12px;
  padding: 10px;
}

.product_title.entry-title {
  font-size: 24px;

  margin: 0 0 0px;
  border-bottom: 1px solid black;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  padding: 10px;
}

.entry-summary .price {
  /*border: 1px solid blueviolet;*/

  margin: 0 0 10px;
  border-bottom: 1px solid black;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  padding: 10px;
}

.stock.in-stock {
  color: #3c763d;
  margin-bottom: 20px;
}

/* Cart form */
form.cart {
  margin-bottom: 20px;
}

.quantity {
  display: inline-block;
  margin-right: 10px;
}

.quantity .input-text {
  width: 50px;
  text-align: center;
}

/* bouton panier category page */
.magique-cbl .single_add_to_cart_button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;

  display: none !important;
}

.magique-cbl .single_add_to_cart_button:hover {
  background-color: #555;
}

/* lien lire la suite bouton panier */
.magique-cbl .button.product_type_simple {
  display: none !important;
}



/* Product meta */
.product_meta {
  margin: 20px 0;
}

.product_meta span.posted_in {
  display: block;
  font-size: 14px;
  color: #555;
}

/* -------- Related products ------- */
.related.products {
  margin-top: 40px;
  /*border: 1px solid black;*/
  padding: 0px;
  width: 100%;
}

.related.products h2 {
  margin: 10px 0 5px 0px;
  border-bottom: 1px solid black;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
  padding: 10px;
  width: calc(100% + 0px);
}

ul.products {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 -10px;
}

ul.products li.product {
  width: calc(33% - 20px); /* 4 produits par ligne avec un espace de 20px */
  margin: 10px;
  box-sizing: border-box;
  
  /*border: 1px solid #e5e5e5;*/
  /*border-radius: 4px;*/

  padding: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;

  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
}

/*
ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
*/

ul.products li.product a {
  text-decoration: none;
  color: inherit;
  display: block;
}


/* --- thumbnails produit archive page category --- */

/* 1: cacher image par default */
.les_products_images-woo .attachment-woocommerce_thumbnail {
  display: none;
}

ul.products li.product img {
  width: 100%;
  height: auto;
}

/* 2: ajotuer nos images */
.les_products_images-woo {
  /*border: 1px solid red;*/
  position: relative;
}

/*
.les_products_images-woo img {
  background-color: #000;
}*/

.product-thumbnail {
  transition: opacity 0.3s ease;
  /*border: 1px solid green;*/
}

.product-second-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;

 /* clip-path: polygon(
    25px 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px),
    calc(100% - 25px) 100%, 25px 100%, 0 calc(100% - 25px), 0 25px
  );*/

    /*border: 1px solid blue;*/
}

.les_products_images-woo:hover .product-thumbnail {
  opacity: 0;
}

.les_products_images-woo:hover .product-second-image {
  opacity: 1;
}

/* image de fond pour eviter effet de blanc 
permet une meilleur transition */
.product-thumbnail-background {
  /*clip-path: polygon(
    25px 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px),
    calc(100% - 25px) 100%, 25px 100%, 0 calc(100% - 25px), 0 25px
  );*/

  z-index: 0;
    position: relative;
    /*border: 1px solid red;*/
    height: 100%;
    position: absolute;
    width: 100%;
    background-size: contain;
}



/* ----- bloc titre vignette produit category page ----- */

.bloc-vignette-produit-titre {
  position: relative;
  /*background: #ccc;*/
  padding: 12px 0 12px;
}

/* titre produit */
.woocommerce-loop-product__title {
  
  /* border: 1px solid grey; */
  font-family: var(--font-generale);
  font-weight: 500;

  font-size: 20px;
  font-size: 32px;

  text-transform: uppercase;
  line-height: 22px;
  color: #000;
  text-align: left;

  width: calc(100% - 40px); /* eviter superposition titre */
}

.bloc-vignette-produit-titre .price {
  font-size: 12px;
  margin-bottom: 10px;
  position: absolute;
  color: #000;
  margin: 0;
  bottom: 17px;
  right: 1px;
}

.bloc-vignette-produit-titre .product-weight {
  display: block;
    position: absolute;
    font-size: 10px;
}

.add_to_cart_button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;

  display: none !important;
  /* il y a un doublon pour cette partie dans cette page faire attention */
}

.add_to_cart_button:hover {
  background-color: #555;
}


/* Media Queries for Responsive Design 
au dessus de 768 px ? */
@media (min-width: 768px) {
  .content-area {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .woocommerce-product-gallery {
    /*width: 50%;
    border: 1px solid orange;*/
  }

  .summary.entry-summary {
    width: 50%;
  }

  .related.products {
    flex-direction: column;
  }

  ul.products li.product {
    width: calc(33% - 20px); /* 4 produits par ligne avec un espace de 20px */
  }
}



@media (max-width: 767px) {
  .content-area {
    flex-direction: column;
  }

  ul.products li.product {
    width: calc(50% - 20px); /* 2 produits par ligne avec un espace de 20px */
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  ul.products li.product {
    width: 100%; /* 1 produit par ligne pour les petits écrans */
    margin: 10px 0;
  }
}


/* ------------ pagination dans la page archive category ----------- */

/* Style de la pagination WooCommerce */
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  text-decoration: none;
  font-weight: normal; /* Rendre les chiffres plus fins */
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.woocommerce-pagination .page-numbers.current {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.woocommerce-pagination .page-numbers:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.woocommerce-pagination .page-numbers.next {
  font-weight: normal;
}

.woocommerce-pagination .page-numbers.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Enlever la décoration des liens */
.woocommerce-pagination li {
  list-style-type: none;
}



/* ------------- page produit singulier ------------  */
.super_product-cbl {
  /*border: 1px solid red;*/
  position: relative;
}

.product {
    /*border: 1px solid blue;*/

    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.product-images {
  border: 1px solid grey;
}

/* colonne gauche */
.super_product-cbl .woocommerce-product-gallery {
  /*display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(50% - 3px); /La largeur totale moins les borders 
  padding: 10px;*/

  /*border: 1px solid grey;*/
  width: 40%;
}

/*
.super_product-cbl .woocommerce-product-gallery__wrapper {
  width: 100%;
  max-width: 600px;
}

.super_product-cbl .woocommerce-product-gallery__image {
  margin-bottom: 20px;
}*/

/* colonne droite */
.super_product-cbl .summary.entry-summary {
  width: calc(100% - 300px); /* La largeur totale moins la largeur des images */

  width: calc(59% - 3px);
  float: right;
  margin-bottom: 20px;
  position: relative;
  max-width: 800px;
  max-width: 600px;
  font-size: 11.5px;
  line-height: 1.8em;
  padding: 40px 0 10px 70px;
  border: 0;
  /*background-color: #ddd;*/
}



.super_product-cbl .woocommerce-tabs {
  clear: both;
  margin-top: 20px;
}

.super_product-cbl .related.products {
  clear: both;
  margin-top: 30px;
}

.super_product-cbl .related.products h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.super_product-cbl .related.products ul.products li {
  margin-bottom: 20px;
}

.super_product-cbl .related.products .product-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.super_product-cbl .related.products .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.super_product-cbl .related.products .bloc-vignette-produit-titre {
  padding: 10px;
  background-color: #f9f9f9;
}

.super_product-cbl .related.products .woocommerce-loop-product__title {
  margin-bottom: 5px;
}

.super_product-cbl .related.products .price {
  font-weight: bold;
}


@media screen and (max-width: 768px) {
  .super_product-cbl .summary.entry-summary {
    width: calc(100% - 3px); 
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 1.8em;
    padding: 40px 0 20px;    
  }
}


/* ------------- section: content-product page produit ------------- */
.section-product {
  background-color: transparent;
  /* background-color: rgb(224, 225, 227); */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  /* font-family: 'HelveticaNeueETPro', Helvetica, Arial, sans-serif; */
  /* font-size: 26px; */
  /* letter-spacing: -1px; */
  /* font-weight: 300; */
  /* padding: 10px 10px; */
  max-width: 1000px;
  margin: 0 auto;
}

.section-product_images {
  display: flex;
  flex-direction: column;
  /* justify-content: flex-start; */
  align-items: flex-start;
  width: 50%;

  /*border: 4px solid blue;*/
  position: sticky;
  top: 0px;
}

.section-product_texts {
  width: 59%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

#show-text {
  position: absolute;
  top: 5px;
  left: 5px;
}

.section-single_text-maindescription {
  position: relative;
  display: flex;
  padding: 40px 0 10px 60px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-grow: 1;
}

/* v1.seyvaa */
.section-single_text-maindescription h1.bigtitre {
  /* border: 1px solid grey; */
  font-family: var(--font-bigextra);
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 22px;
  color: #000;
  text-align: left;
  padding: 0 5px;
}

/* v1.2 */
.super_product-cbl .product_title {
  /*font-family: var(--font-bigextra);*/
  font-weight: 500;
  font-size: 26px;
  /*text-transform: uppercase;*/
  line-height: 22px;
  color: #000;
  text-align: left;

  padding: 0 0px 0px;
}


.indication-gramme {
  /*border: 1px solid red;*/
    margin-bottom: 50px;
    font-size: 0.6em;
    padding: 5px;
}

.section-single_text-maindescription p {
  position: relative;
  padding: 5px;
}

/* v1.seyvaa */
.description-cbl {
  position: relative;
  max-width: 800px;
  max-width: 600px;
  font-size: 11.5px;
  line-height: 1.8em;
  /*opacity: 0.8;*/
}





/*
.section-single_text-maindescription > *:first-child::before {
  content: "+";
  position: absolute;
  left: -19px;
  width: 20px;
  font-weight: 500;
}*/

.section-product_button {
  border: 0px solid blue;
  width: 50%;
  padding: 20px 10px 10px 10px;
  font-weight: 100;
  font-style: italic;
  position: relative;
}

.section-product_button a {
  border: 0px solid blue;
  position: relative;
}

.section-product_button svg {
    width: 60px;
    position: absolute;
    right: -76px;
    top: 9px;
}

.section-single_select-proddd {
  position: relative;
  display: flex;
  padding: 20px 5px;
  flex-direction: row;
  justify-content: space-between;
}

.section-single_select-proddd_titre{
  position: relative;
}

.section-single_select-proddd_info{
  position: relative;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .section-product_images {
    width: 100%;
  }
  .section-product_texts {
    width: 100%;
  }
  .section-single_text-maindescription {
    padding: 30px;
  }
}


/* fleche droite sur ordinateur version mobile*/
/*
@media screen and (max-width: 768px) {
  .section-product_images .slick-arrow.slick-next {
    right: 0 !important;
    height: 100%;
    display: flex;
    padding: 6px 9px;
    width: 80% !important;
    background: transparent;
    border: 0;
    opacity: 0!important;
    justify-content: flex-end;
    align-items: flex-end;
}
}
*/

/* no margin slick slide image */
.slick-slide {
  margin: 0 0px !important;
}



/* ------- les textes editable general css (content) -------*/
b, strong {
  font-weight: 500;
}


/* ---------- selecion produit 2eme partie --------- */
.section-single_produit-under-container {
  display: flex;
  width: 100%;
}

.section-single_produit-under-sidebar {
  width: 35%;
  border-right: 1px solid #000;
}

.section-single_produit-under-list {
  list-style-type: none;
  padding: 0;
}

.section-single_produit-under-item {
  border-bottom: 1px solid #000;
  padding: 22px;
  cursor: pointer;
}

.section-single_produit-under-item-pro {
  border-bottom: 1px solid #000;
  padding: 22px;
  min-height: 400px;

  font-weight: 500;
  font-style: italic;
}


.section-single_produit-under-item.active {
  background-color: #f0f0f0;
}

.section-single_produit-under-content_box {
  width: 65%;
  padding: 22px;
  border-bottom: 1px solid black;

  font-size: 16px;
  letter-spacing: -0.2px;
}

.section-single_produit-under-content_box a {
  text-decoration: underline;
}

.section-single_produit-under-content {
  display: none;
  max-width: 500px;
}

.section-single_produit-under-content.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .section-single_produit-under-sidebar {
    width: 100%;
    border-right: 1px  #000;
  }
  .section-single_produit-under-container {
    display: flex;
    width: 100%;
    flex-direction: column-reverse;
  }
}



/* --------------- section single-product bouton d'achat --------------- */

.hidden-ancien-prod {
  display: none;
}

.new-prodddd-pad {
  padding: 0;
}

.the-buy-bloc {
  /*border: 1px solid red;*/
  width: 100%;
}

.the-buy-bloc .variations {
  /*border: 1px solid green;*/
  padding: 20px;
  width: 100%;
  border-bottom: 1px solid black;
}

.the-buy-bloc .variations tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.the-buy-bloc .reset_variations {
  display: none;
}

/* titre finition*/
.the-buy-bloc .variations label {
    font-weight: 300;
    /*border: 1px solid purple;*/
  }

/* selecteur */
.the-buy-bloc .variations .value select {
  background-color: transparent;
  border: none;
  /*width: 200px;*/
  color: #000;
}

/* quantité et ajout au panier */
.the-buy-bloc .single_variation_wrap {
  /*border: 1px solid blue;*/
  padding: 20px;
  background: #b9b9b9;
}

.the-buy-bloc .woocommerce-variation-add-to-cart {
  display: flex;
  /*border: 1px solid red;*/
  justify-content: space-between;
}

/* quantité */
/* version 2 quantity pour + et - */
/* Pour page produit et aussi pour Panier  */

/* .quantity {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  vertical-align: top;
}

.quantity input.qty {
  width: 35px;
  height: 39px;
  padding: 0 5px;
  text-align: center;
  background-color: transparent;
  border: 0px solid #efefef;
  box-shadow: none;
}

.quantity input[type="button"] {
  display: inline-block;
  padding: 7px 10px 8px;
  height: 41px;
  background-color: transparent;
  border: 0px solid #efefef;
  cursor: pointer;
}

.quantity input.plus {
  border-left: 0;
}

.quantity input.minus {
  border-right: 0;
}

.quantity input[type="button"]:hover {
  background: #eeeeee;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
}

.quantity input:focus {
  outline: none;
}
*/

/* --- v3 seulement css et pour CBL en aout 2024 ---*/
/* Style de base pour l'input */
/*.woosb-wrap input[type="number"] {
  width: 100px; 
  padding: 8px 12px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #333;
  border-radius: 1px;
  outline: none;
  box-sizing: border-box;
  position: relative; 
}*/

/* Enlever les flèches par défaut dans WebKit browsers */
/*input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}*/




/* fin quantité */





/* if rupture de stock */
.the-buy-bloc p.out-of-stock {
  padding: 20px;
}

/* ------ version sans variant ------- */
.the-buy-bloc .novarianttt .cart {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /*border: 1px solid yellow;*/
  padding: 20px;
}

/* panier */
.the-buy-bloc .button {
  padding: 10px 20px;
  border-bottom: 1px solid #000;
  border-right: 0;
  border-top: 0;
  border-left: 0;
  background: #222;
  color: #fff;
  text-transform: uppercase;
  font-weight: 200;
  font-family: 'Termina';
}

.the-buy-bloc .button:hover {
  background: #eee;
}

.the-buy-bloc .variations .value select option {
  background-color: #fff;
  color: #000;
  font-size: 14px;
  border-bottom: 1px solid #000;
}

/* --------------- button --------------- */
.button-seyvaa {
  position: relative;
  font-weight: 400;
  font-style: normal;
}

.space-around-button-normal {
  margin: 10px;
}

.button-seyvaa a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid black;
  font-size: 20px;
}


/* ------ produit liés single product ------- */

.les_produits_lies-v-cbl {
  position: relative;
  width: 100%;
}

.letitrelie-produ {
  /*border: 1px solid red; */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-top: 50px;
}

.les_produits_lies-v-cbl ul.products {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 -10px;
  width: 100%;
  max-width: 1000px;
  justify-content: center;
    margin: 0 auto;
}

.les_produits_lies-v-cbl .woocommerce-loop-product__title {
    /*border: 1px solid red;*/
    font-weight: 500;
    font-size: 20px;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 18px;
    color: #000;
    text-align: left;
    width: calc(100% - 46px);
}

.les_produits_lies-v-cbl .bloc-vignette-produit-titre .price {
  font-size: 11px;
  bottom: 15px;
  right: 1px;
}

.les_produits_lies-v-cbl .quentin-commande-button {
display: none;
}

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

  .les_produits_lies-v-cbl {
    border: 20px solid black;
    margin: 50px 25px;
    font-family: var(--font-generale);
    font-size: 20px;
  }

  .letitrelie-produ {
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-top: 0px;
    font-size: 10vw;
  }
}

/* ----------- fiche produit, general (CBL aout 2024) ----------- */

/* fiche produit, le gramme */
.super_product-cbl .product-weight-inproduct {
  display: block;
    padding: 6px 1px;
    position: absolute;
    top: 57px;
}

/* mini vignette */
.super_product-cbl .product-weight {
  display: block;
  padding: 6px 0;
}

/* fiche produit, tabs, dont description produit, que je cache pour eviter doublon */
.super_product-cbl .woocommerce-tabs {
  display: none;
}

/* price */
.super_product-cbl .summary.entry-summary .price {
  position: relative;
  padding: 23px 0px 12px;
  font-weight: 500;
  font-size: 1.6em;
}


/* fiche produit, le bouton d'achat (CBL aout 2024) */

/* panier */
button.single_add_to_cart_button  {
  padding: 10px 20px;
  border-bottom: 1px solid #000;
  border-right: 0;
  border-top: 0;
  border-left: 0;
  background: #222;
  color: #fff;
  text-transform: uppercase;
  font-weight: 200;
  font-family: 'Termina';
  cursor: pointer;
}

button.single_add_to_cart_button :hover {
  background: #eee;
}

.single_add_to_cart_button[disabled] {
  background-color: #cccccc; /* Griser le bouton */
  opacity: 0.6; /* Ajouter de la transparence pour renforcer l'effet désactivé */
  cursor: not-allowed; /* Changer le curseur pour indiquer que le bouton n'est pas cliquable */
  pointer-events: none; /* Désactiver tous les événements de la souris */
}

/* quantity test */
/* Style pour le conteneur de la quantité */
.cart .quantity {
  /*display: flex;*/
  align-items: center;
  justify-content: center;
}

/* Style pour l'étiquette (texte accessible) */
.cart .screen-reader-text {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  padding: 0;
  width: 1px;
  overflow: hidden;
}

/* Style pour l'entrée de quantité */
.cart .input-text.qty.text {
  /*width: 60px;*/
  text-align: center;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;

  width: 60px; 
    height: 38px;
    text-align: center;
    padding: 10px 0;
    /* border: 1px solid #000 !important; */
    border-radius: 0;
    font-size: 16px;
    outline: none;
    /* background-color: #000; */
    /* color: #fff; */
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}


.cart .input-text.qty.text:focus {
  border-color: #000; /* Couleur de bordure lors de la mise au point */
}

/* Style pour les boutons d'augmentation/diminution */
.cart .quantity button {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart.quantity button:hover {
  background-color: #0056b3; /* Couleur d'arrière-plan lors du survol */
}

.cart.quantity button:active {
  background-color: #003d7a; /* Couleur d'arrière-plan lors du clic */
}

/* Style pour les boutons d'augmentation/diminution - partie supérieure et inférieure */
.cart.quantity .plus,
.cart.quantity .minus {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Ajout d'un espacement entre le champ de quantité et les boutons */
.cart.quantity input[type="number"] {
  margin: 0 5px;
}




/* ---------- cart button ---------- */
.cart {
  /*border: 1px solid red;
  position: relative;
  padding: 5px;*/

  margin: 0 0 10px;
  border-bottom: 1px solid black;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  /* text-transform: uppercase; */
  font-weight: 400;
  font-size: 12px;
  padding: 10px;
}





/* fiche produit, les sous produit de produit multiple (CBL aout 2024) */
/* bloc */


/* secteur radio */
/* avec plugin swatch quelque chose pour CBL */

.variations {
  width: 100%;
  position: relative;
  margin-bottom: 10px;
}

.variations tr {
  display: flex;
  flex-direction: column;
  border-top: 1px solid black;
  padding: 10px 0 19px;
}

.variations .label label {
  display: block;
  margin-bottom: 5px;
  padding: 2px 0px;
  text-transform: uppercase;
  font-weight: 200;
}

/* Style pour les boutons radio */
.cfvsw-label-option {
  font-size: var(--cfvsw-swatches-font-size, 12px);
  border-width: var(--cfvsw-swatches-border-width, 1px);
  padding: 5px 10px;
  border-radius: 0 !important;
}

.cfvsw-selected-swatch {
  border-color: var(--cfvsw-swatches-border-color, #000) !important;
  border-width: var(--cfvsw-swatches-border-width, 1px);
  box-sizing: border-box;
}

.cfvsw-swatches-option .cfvsw-swatch-inner {
  min-width: 30px;
}

/* Couleur de fond spécifique pour rose et pink */
.cfvsw-swatches-option[data-slug="rose"], .cfvsw-swatches-option[data-slug="pink"] {
  background-color: #FFC0CB; /* Rose */
}

.cfvsw-swatches-option[data-slug="rose"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="pink"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour rouge et red */
.cfvsw-swatches-option[data-slug="rouge"], .cfvsw-swatches-option[data-slug="red"] {
  background-color: #FF0000; /* Rouge */
}

.cfvsw-swatches-option[data-slug="rouge"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="red"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour bleu et blue */
.cfvsw-swatches-option[data-slug="bleu"], .cfvsw-swatches-option[data-slug="blue"] {
  background-color: #0000FF; /* Bleu */
}

.cfvsw-swatches-option[data-slug="bleu"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="blue"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour vert et green */
.cfvsw-swatches-option[data-slug="vert"], .cfvsw-swatches-option[data-slug="green"] {
  background-color: #008000; /* Vert */
}

.cfvsw-swatches-option[data-slug="vert"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="green"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour jaune et yellow */
.cfvsw-swatches-option[data-slug="jaune"], .cfvsw-swatches-option[data-slug="yellow"] {
  background-color: #FFFF00; /* Jaune */
}

.cfvsw-swatches-option[data-slug="jaune"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="yellow"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour orange */
.cfvsw-swatches-option[data-slug="orange"] {
  background-color: #FFA500; /* Orange */
}

.cfvsw-swatches-option[data-slug="orange"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour violet et purple */
.cfvsw-swatches-option[data-slug="violet"], .cfvsw-swatches-option[data-slug="purple"] {
  background-color: #800080; /* Violet */
}

.cfvsw-swatches-option[data-slug="violet"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="purple"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour marron et brown */
.cfvsw-swatches-option[data-slug="marron"], .cfvsw-swatches-option[data-slug="brown"] {
  background-color: #A52A2A; /* Marron */
}

.cfvsw-swatches-option[data-slug="marron"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="brown"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour noir et black */
.cfvsw-swatches-option[data-slug="noir"], .cfvsw-swatches-option[data-slug="black"] {
  background-color: #000000; /* Noir */
}

.cfvsw-swatches-option[data-slug="noir"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="black"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour blanc et white */
.cfvsw-swatches-option[data-slug="blanc"], .cfvsw-swatches-option[data-slug="white"] {
  background-color: #FFFFFF; /* Blanc */
}

.cfvsw-swatches-option[data-slug="blanc"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="white"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour gris et gray */
.cfvsw-swatches-option[data-slug="gris"], .cfvsw-swatches-option[data-slug="gray"] {
  background-color: #808080; /* Gris */
}

.cfvsw-swatches-option[data-slug="gris"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="gray"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour cyan */
.cfvsw-swatches-option[data-slug="cyan"] {
  background-color: #00FFFF; /* Cyan */
}

.cfvsw-swatches-option[data-slug="cyan"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour magenta */
.cfvsw-swatches-option[data-slug="magenta"] {
  background-color: #FF00FF; /* Magenta */
}

.cfvsw-swatches-option[data-slug="magenta"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour turquoise */
.cfvsw-swatches-option[data-slug="turquoise"] {
  background-color: #40E0D0; /* Turquoise */
}

.cfvsw-swatches-option[data-slug="turquoise"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour beige */
.cfvsw-swatches-option[data-slug="beige"] {
  background-color: #F5F5DC; /* Beige */
}

.cfvsw-swatches-option[data-slug="beige"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour doré et gold */
.cfvsw-swatches-option[data-slug="dore"], .cfvsw-swatches-option[data-slug="gold"] {
  background-color: #FFD700; /* Doré */
}

.cfvsw-swatches-option[data-slug="dore"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="gold"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour argenté et silver */
.cfvsw-swatches-option[data-slug="argente"], .cfvsw-swatches-option[data-slug="silver"] {
  background-color: #C0C0C0; /* Argenté */
}

.cfvsw-swatches-option[data-slug="argente"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="silver"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour bordeaux et burgundy */
.cfvsw-swatches-option[data-slug="bordeaux"], .cfvsw-swatches-option[data-slug="burgundy"] {
  background-color: #800020; /* Bordeaux */
}

.cfvsw-swatches-option[data-slug="bordeaux"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="burgundy"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour lavande et lavender */
.cfvsw-swatches-option[data-slug="lavande"], .cfvsw-swatches-option[data-slug="lavender"] {
  background-color: #E6E6FA; /* Lavande */
}

.cfvsw-swatches-option[data-slug="lavande"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="lavender"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}

/* Couleur de fond spécifique pour pêche et peach */
.cfvsw-swatches-option[data-slug="peche"], .cfvsw-swatches-option[data-slug="peach"] {
  background-color: #FFDAB9; /* Pêche */
}

.cfvsw-swatches-option[data-slug="peche"] .cfvsw-swatch-inner, .cfvsw-swatches-option[data-slug="peach"] .cfvsw-swatch-inner {
  color: transparent;
  font-size: 2px;
}


/* hide le "effacer" */
.reset_variations {display: none}

/* hide le UGS SKU */
.sku_wrapper {display: none}



/* bouton quantite pour les produit classique */
.single_variation_wrap .input-text.qty.text {
  /* width: 60px; */
  height: 38px;

    text-align: center;
    padding: 10px 0;
    /* border: 1px solid #000 !important; */
    border-radius: 0;
    font-size: 16px;
    outline: none;
    /* background-color: #000; */
    /* color: #fff; */
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

/* always display arrow */
.single_variation_wrap input[type=number]::-webkit-inner-spin-button, 
.single_variation_wrap input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}


/* ---------- CSS SPECIAL POUR LES PRODUITS AVEC PRODUITS INSIDE (les menus pour CBL) ------------ */

.woosb-products .woosb-product > div {
  padding: 0 !important;
}

.woosb-products {
  border-width: 1px 0 0 0;
  border-style: dotted;
  border-color: #e5e5e5;

  border: 0 !important;
}

.woosb-products .woosb-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0px dotted #e5e5e5;
  background: #fff !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 1px 0px !important;
  width: 100%; /* parent full */
}
  
/* image */
.woosb-thumb {
  border: 0px solid red !important;

  display: none;
}

/* bloc titre */
.woosb-title {
  display: flex;
  border: 0px solid blue;
  flex-direction: row;
  justify-content: space-between;

  /*width: 73%;*/

  flex-grow: 0 !important; /* ne peut pas grossir */
  flex-shrink: 0; /* Empêche le rétrécissement */
  flex-basis: 62%; /* Utiliser flex-basis au lieu de width */
}

/* titre */
.woosb-name {
  font-size: 11.5px;
  line-height: 1.8em;
  font-weight: 400;

  /*width: calc(100% - 140px);*/
  max-width: 230px;

  border: 0px solid grey;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* description */
.woosb-description {
  font-size: 11.5px !important;
  line-height: 1.8em;
  font-weight: 300;
  display: none;
}

.woosb-availability {
  border: 0px solid purple;
  width: 51px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.woosb-availability .stock.in-stock {
  color: #000 !important;
  font-style: italic;
  font-size: 9.5px !important;
}
.woosb-availability .stock.out-of-stock {
  color: #000 !important;
  font-style: italic;
  font-size: 9.5px !important;
}

/* quantity */
.woosb-quantity {
  border: 0px solid green;
  flex: 0 0 50px !important;
  margin: 0 3px 0 70px;
  min-width: 50px;
}


.woosb-wrap input[type="number"] {
  width: 100px;
  padding: 0px 3px;
  font-size: 16px;
  /*font-weight: bold;*/
  text-align: center;
  border: 0; 
  border-radius: 1px;
  outline: none;
  box-sizing: border-box;
  position: relative;
  font-family: 'Termina';
  font-size: 15px;}

/* always display arrow */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}

/* price */
.woosb-price {
  border: 0px solid orange;

  flex: 0 0 10% !important;
}

/* prix du lot (sous-total de commande) */
.woosb-total {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 790px) {
  .woosb-name {
    max-width: 190px;
  }

  .woosb-title {
    flex-basis: 70%;
  }

  .woosb-quantity {
    margin: 0 3px 0 12px;
    position: relative;
  }

  .woosb-quantity input {
    border: 1px solid #f8f8f8;
    border: 1px solid red;

  }
  
  .woosb-quantity::before,
  .woosb-quantity::after {
    content: '►';
    position: absolute;
    right: 10px;
    color: #444;
    font-size: 8px;
    /* cursor: pointer; */
    /* text-align: center; */
    /* border: 1px solid green; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10px;
    width: 10px;
  }

  .woosb-quantity::before {
    top: 0px;
    right: 11px;
    transform: rotate(270deg);
    z-index: 1;
  }

  .woosb-quantity::after {
    bottom: 2px;
    transform: rotate(90deg);
    color: #555;
  }

  .woosb-quantity-disabled::before,
  .woosb-quantity-disabled::after {
    color: transparent;
  }

}






/* hide category, selected */
.posted_in {
  display: none !important;
}
.woosb-count {
  display: none !important;
}


/* ---- panier, cart form ----- */
.woosb-item-child .variation{
  display:none
}

.woocommerce-cart-form {
  margin: 19px 0 19px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 2px;
  padding: 12px 20px 11px;
  text-transform: uppercase;
}

/* panier : bloc */
.woocommerce table.shop_table {
  border: 1px solid black !important;
   border-radius: 0 !important; 
   background: #eff0e7;
}

/* panier : titre */
.woocommerce table.shop_table th {
  font-family: var(--font-bigextra);
  font-weight: 500 !important;
  font-size: 13px;
  text-transform: uppercase;
}

/* checkout : note supplementaire */
.woocommerce form .form-row textarea {
  padding: 5px;
}

.woocommerce-checkout h3 {
  font-family: var(--font-bigextra);
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 20px;
    margin: 20px 0 10px;
}

/* stripe carte paiement */
.wc-stripe-elements-field, .wc-stripe-iban-element-field {
  min-height: 40px;
}





/* ------- error system and message system -------- */

.woocommerce-error, .woocommerce-info, .woocommerce-message {
  background-color: #f6f5f8;
  color: #515151;
  border-top: 1px solid #ac97c7 !important;
  border-bottom: 1px solid #ac97c7;
  border-left: 1px solid #ac97c7;
  border-right: 1px solid #ac97c7;
  font-family: var(--font-generale);
  font-size: 0.8em;
}

.woocommerce-message {
  border-top-color: #00ba2e !important;
  border-bottom-color: #00ba2e;
  border-left-color: #00ba2e;
  border-right-color: #00ba2e;
}

.woocommerce-message::before {
  content: "\e015" !important;
  color: #00ba2e !important;
}

.woocommerce-info {
  border-top-color: #0800fd !important;
  border-bottom-color: #0800fd;
  border-left-color: #0800fd;
  border-right-color: #0800fd;
}

.woocommerce-info::before {
  color: #0800fd !important;
}

.woocommerce-error {
  border-top-color: #b81c23 !important;
  border-bottom-color: #d31f28;
  border-left-color: #d31f28;
  border-right-color: #d31f28;
}

.woocommerce-error::before {
  content: "\e016" !important;
  color: #d31f28 !important;
}


/* ------ general button woocommerce ----- */
/* exemple: if cart is empty */
/* peut etre ameliorer pour matcher avec tous les boutons */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button  {
  padding: 10px 20px !important;
    border-bottom: 1px solid #000 !important;
    border-right: 0;
    border-top: 0;
    border-left: 0;
    background: #222 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 200 !important;
    font-family: 'Termina';
    cursor: pointer;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:hover {
  opacity: 0.7; /* Ajustez cette valeur selon le niveau d'opacité souhaité */
}





/* -------- new 2025 -------- */
.woocommerce-product-details__short-description {


  position: relative;
  /* border: 1px solid black; */
  margin: 0 0 10px;
  /*border-bottom: 1px solid black;*/
  font-family: 'Helvetica Neue', Arial, sans-serif;
  /* text-transform: uppercase; */
  font-weight: 400;
  font-size: 12px;
  padding: 10px;
}

.woocommerce-product-details__short-description h3 {
  margin: 4px 0 5px -10px;
    border-bottom: 1px solid black;

    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;

    padding: 10px 10px 5px;
    width: calc(100% + 20px);
}

.woocommerce-product-details__short-description ul {
  list-style: none;
}

@media (max-width: 768px) {
  .woocommerce-product-details__short-description {
    font-size: 12px;
    line-height: normal;
  }
}


/* changement sur page produit version mobile */
@media (max-width: 768px) {
  .menu_spacer {
    display:none;
  }

  .content-area {
    padding: 0;
  }

  .slick-slide {
    margin: 0 !important;
  }

  .super_product-cbl .summary.entry-summary {
    padding: 0px;
  }

  .super_product-cbl .product_title {
    font-size: 12vw;
  }

}


/* plugin de commande */
/* remplacer le bouton */
#quentin-commande-button, .quentin-commande-button {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0px;
  padding: 9px 26px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
}

#quentin-commande-button:hover, .quentin-commande-button:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
  transform: scale(1.00);
}