/*
 Theme Name:   Advenx Child
 Theme URI:    https://advenx.wpengine.com/
 Description:  Advenx Child Theme
 Author:       the Advenx team
 Author URI:   https://wedesignthemes.com/
 Template:     advenx
 Version:      1.0.0
 Text Domain:  advenx-child
*/

.wdt-logo-container a img {
	max-width: 170px;
	height: auto!important;
}

/* Sidebar catégories boutique WooCommerce */
.advenx-shop-layout {
    display: flex;
    gap: 2em;
}


/* Responsive sidebar WooCommerce */
@media (max-width: 900px) {
  .advenx-shop-layout {
    flex-direction: column;
  }
  .advenx-shop-sidebar {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 1.5em;
    padding: 1.2em 1em 1em 1em;
  }
}
@media (max-width: 600px) {
  .advenx-shop-sidebar {
    padding: 0.7em 0.5em 0.5em 0.5em;
    border-radius: 6px;
  }
  .advenx-cat-title {
    font-size: 1em;
  }
  .advenx-cat-list li a {
    font-size: 0.95em;
    padding: 0.2em 0.1em;
  }
}


.advenx-label {
  display: inline-block;
  margin: 0 0.2em 0.4em 0;
  padding: 0.18em 0.7em;
  font-size: 0.85em;
  font-weight: 600;
  border-radius: 12px;
  background: #e3eafc;
  color: #1a73e8;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.advenx-label-new {
  background: #d2e3fc;
  color: #1a73e8;
}
.advenx-label-custom {
  background: #ffe0b2;
  color: #e65100;
}

.advenx-new-label-on-thumb {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: #e74c3c;
  color: #fff;
  padding: 0.3em 1em;
  border-radius: 16px;
  font-size: 0.95em;
  font-weight: bold;
  box-shadow: 0 2px 8px #0002;
  letter-spacing: 0.04em;
}

/* Positionne tous les labels personnalisés en haut à droite de l'image produit dans la liste */
.advenx-label-link {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 11;
  text-decoration: none;
}
.advenx-label-link:not(:first-child) {
  top: auto;
  bottom: 10px;
  right: 10px;
}
.advenx-label.advenx-label-custom {
  background: #ffe0b2;
  color: #e65100;
  padding: 0.3em 1em;
  border-radius: 16px;
  font-size: 0.95em;
  font-weight: bold;
  box-shadow: 0 2px 8px #0002;
  letter-spacing: 0.04em;
  margin-left: 0;
  margin-bottom: 0.3em;
  display: inline-block;
}

.liste-produits {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.produit-unique {
    position: absolute;
    z-index: 10;
    top: 10px;
    left: 10px;
}

ul.products li.product, .woocommerce ul.products li.product {
  position: relative;
}

.woocommerce-product-gallery {
  position: relative;
}
