/* ========================================
   WOOCOMMERCE - CATÉGORIES & NAVIGATION
   ======================================== */

.woocommerce-subcategories {
  max-width: 60%;
  list-style-type: none;
  padding: 0px !important;
  margin: 0px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.woocommerce-subcategories .subcategory-item {
  display: block;
  padding-right: 12px;
  padding-bottom: 12px;
  cursor: pointer;
}
.woocommerce-subcategories .subcategory-item--current .subcategory-link {
  background-color: #ffffff;
  color: #000000 !important;
}
.woocommerce-subcategories .subcategory-link {
  background-color: #ffffff;
  color: #000000 !important;
  padding: 3px 16px;
  display: block;
  text-decoration: none;
  border-bottom:2px solid #ffffff;
}
.woocommerce-subcategories .subcategory-link:hover {
  background-color: #ffffff;
  color: #000000 !important;
  border-bottom-color:#000000;
}

.product-category-title {
  margin-top: 5px;
}

.parent-product-category-title .parent-product-category-link {
  color: #000000 !important;
}
.parent-product-category-title .parent-product-category-link:hover {
  text-decoration: underline;
}

/* ========================================
   PRODUITS - IMAGES & HOVER
   ======================================== */

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image-wrapper img {
  display: block;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.product-image-wrapper .product-secondary-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

li.product:hover .product-image-wrapper .product-secondary-image {
  opacity: 1;
}

/* ========================================
   PRODUITS - PASTILLES DE COULEUR
   ======================================== */

.woocommerce .products .product-color-pills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce .products .product-color-pills::before, .woocommerce .products .product-color-pills::after {
  display: none !important;
  content: none !important;
}

.product-color-pills li {
  margin: 0;
}

.pastille-couleur {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #ddd;
  cursor: default;
}
.pastille-couleur--anthracite {
  background-color: #303030;
}
.pastille-couleur--gris-anthracite {
  background-color: #383d41;
}
.pastille-couleur--gris {
  background-color: #808080;
}
.pastille-couleur--bleu {
  background-color: #007BFF;
}
.pastille-couleur--bronze {
  background-color: #CD7F32;
}
.pastille-couleur--corten {
  background-color: #4d351f;
}
.pastille-couleur--marron {
  background-color: #68442e;
}
.pastille-couleur--alu {
  background-color: #D3D3D3;
}
.pastille-couleur--alu-brosse {
  background-color: #B0B0B0;
}
.pastille-couleur--blanc {
  background-color: #FFFFFF;
  border: 1px solid #999;
}
.pastille-couleur--chrome {
  background-color: #C0C0C0;
}
.pastille-couleur--cuivre {
  background-color: #B87333;
}
.pastille-couleur--dore {
  background-color: #FFD700;
}
.pastille-couleur--noir {
  background-color: #000000;
}

.pastille-couleur--vert {
  background-color: #3c5a40;
}

/* ========================================
   PRODUITS - PAGE PRODUIT
   ======================================== */

.product-header-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  -ms-flex-line-pack: center;
      align-content: center;
}

.product-verified-indicator {
  font-size: 1.2em;
  margin-top: 0.5rem;
}

.product-pdf-documents-list {
  list-style: none;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

.product-pdf-documents-list li {
  list-style: none;
  padding: 0.75em 1em;
  background-color: #f9f9f9;
}

.product-pdf-documents-list li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.product-pdf-documents-list li:nth-child(even) {
  background-color: #efefef;
}

.product-pdf-documents-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.product-pdf-documents-list a:hover {
  text-decoration: underline;
}

/* ========================================
   CATÉGORIES - DESCRIPTION & BLOCS
   ======================================== */

.product-category-description {
  margin-bottom: 20px;
}

.subcategory-block {
  margin-bottom: 100px;
}

.subcategory-block .subcategory-title {
  color: #000000 !important;
  padding: 3px 16px;
  margin-bottom: 14px;
  text-align: center;
}

.subcategory-block .products {
  margin-bottom: 0 !important;
}

.subcategory-block .products li.product {
  margin-bottom: 14px !important;
}

.subcategory-block .subcategory-more-link {
  text-align: center;
}

.subcategory-block .subcategory-more-link a {
  border: 2px solid #000000;
  color: #000000 !important;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 16px;
  display: inline-block;
}

.subcategory-block .subcategory-more-link a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.subcategory-block .products .product {
  margin: 0 3.8% 12px 0;
}

/* ========================================
   PRODUITS - SCHÉMA TECHNIQUE
   ======================================== */

.product-schema-block {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.product-schema-image {
  width: 49%;
}

.product-schema-features {
  width: 49%;
  padding: 36px 0;
}

@media(max-width:768px) {
  .product-schema-block {
    flex-direction: column;
  }
  .product-schema-image {
    width: 100%;
  }
  .product-schema-features {
    width: 100%;
  }
}

.product-schema-features p {
  line-height: 2;
}

/* ========================================
   PRODUITS - PRIX & TVA
   ======================================== */

.tva-label {
  font-size: 12px;
  font-weight: normal;
  top: -12px;
}

.woocommerce-Price-currencySymbol {
  padding-left: 4px;
}

/* ========================================
   PRODUITS - STATUT DE STOCK
   ======================================== */

.custom-stock-status {
  color: #ccc;
  margin-bottom: 15px;
}

.custom-stock-status.en-stock {
  color: #0bae57;
}

.custom-stock-status.rupture {
  color: #e7b300;
}

.custom-stock-status:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #dcdcdc;
  border: 3px solid #ececec;
  border-radius: 999px;
  margin-right: 5px;
  margin-top: 5px;
  position: relative;
  top: 3px;
}

.custom-stock-status.en-stock:before {
  background-color: #4deb96;
  border-color: #dafee9;
}

.custom-stock-status.rupture:before {
  background-color: #ffcc1f;
  border-color: #ffe693;
}

/* ========================================
   PRODUITS - PAGE PRODUIT UNIQUE
   ======================================== */

.single_add_to_cart_button {
  display: none !important;
}

.single-product h2 {
  font-size: 17px;
  font-weight: 600;
}
