.woocommerce-Price-amount {
    display: inline-flex; 
    align-items: center; 
    gap: 1px; 
    flex-wrap: nowrap;
}
del {
    text-decoration: line-through;
    display: inline; 
    opacity: 0.7;
}
del .woocommerce-Price-amount {
    text-decoration: line-through !important;
}

@media (max-width: 800px) {
    .deux-produits-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 2% !important; 
        justify-content: center !important;
        align-items: start !important;
    }

    .deux-produits-mobile .wc-block-grid__products {
        display: contents !important; 
    }

    .deux-produits-mobile .wc-block-grid__product {
        width: 100% !important; 
        max-width: 100% !important;
    }
}

@media (max-width: 350px) {
    .deux-produits-mobile {
        grid-template-columns: 1fr !important; 
        justify-content: center !important;  
			padding:15%;
			padding-bottom:30%;
    }

    .deux-produits-mobile .wc-block-grid__product {
        margin: 0 auto !important; 
    }
}
.woocommerce-LoopProduct-link {
    align-content: center;
}


/*espacement des produits en box*/
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 4em; 
    display: flex !important;
    align-items: left;
	min-width:100% !important ;
}


.woocommerce ul.products li.product .star-rating {
    margin-bottom: 5%;
}


.woocommerce ul.products li.product .price {
    margin-bottom: 10%;
}


.woocommerce ul.products li.product .button {
    margin-top: auto;
}


@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        flex-direction: column; 
        text-align: center; 
			
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 3.2em; 
			min-width:100% !important
    }

    .woocommerce ul.products li.product .button {
        width: 100%; 
        margin-top: 10%; 
    }
	
}

/*suppression des produits reliés par default( qui changent automatiquement)*/

.related.products {
    display: none !important;
}

/*centrer le titre des produits reliés*/
.upsells.products {
    text-align: center;
}

.upsells.products ul.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.upsells.products ul.products li.product {
    float: none;
}

/*style de la fiche produit (tags, panier, produit...)*/

.woocommerce-Price-amount {
align-items  :right !important;
}

.product_meta .tagged_as {
    display: none !important;
}

.woocommerce div.product .summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce div.product .summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce div.product .summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce div.product .price {
    text-align: center;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-purchase-row form.cart {
    margin-BOTTOM: 19px !important; 
}
.woocommerce form.cart .quantity {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.woocommerce form.cart .quantity input.qty {
    height: 40px; 
    width: 50px; 
    padding: 0;
    text-align: center;
    font-size: 14px;
    border-radius: 4px; 
}

@media screen and (max-width: 480px) {
  .single-product .product form.cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .single-product .product .price {
    font-size: 1px;
    display: block;
    line-height: 1.3;
    margin-bottom: 5px;
    text-align: left;
  }

  .single-product .product .price del {
    display: inline-block;
    margin-right: 6px;
  }

  .single-product .product form.cart .quantity {
    margin: 0;
    width: auto;
  }

  .single-product .product form.cart button {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .single-product .product form.cart {
    display: flex !important;
    flex-direction: column  !important;
    align-items: flex-start  !important;
    gap: 10px  !important;
  }

  .single-product .product .price {
    font-size: 18px  !important;
    display: block  !important;
    line-height: 1.3  !important;
    margin-bottom: 5px  !important;
    text-align: left  !important;
  }

  .single-product .product .price del {
    display: inline-block  !important;
    margin-right: 6px  !important;
  }

  .single-product .product form.cart .quantity {
    margin: 0  !important;
    width: auto  !important;
  }

  .single-product .product form.cart button {
    width: 100%  !important;
    max-width: 100%  !important;
  }
}


/* effacer les tags par default*/
.woocommerce-product-tags{
	display:none;
}
/*changement du cercle (pomotion) pour la page d'accueil et la page nos produits */
.woocommerce ul.products li.product .onsale {
    all: unset;
    position: absolute;
    top: 10px;
    right: 10px; 
    background-color: #3b2e58;
    color: #ffffff;
    font-size: 13px; 
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: none;
    line-height: 1;
    z-index: 10;
}
.wc-block-grid__product-onsale {
    background-color: #6A9C5E !important;
    color: #fff !important;
    all: unset;
    position: absolute;
    top: 10px;
    right: 10px; 
    background-color: #3b2e58;
    color: #ffffff;
    font-size: 13px; 
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px !important;
    text-transform: none !important;
    line-height: 1;
    z-index: 10;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    display: block;
    overflow: hidden;
}

/* alignement des produits reliés sur mobile*/
@media (max-width: 767px) {
  .upsells.products .product {
    width: 100% !important;
    margin-bottom: 20px !important; 
    padding: 0 10px !important;
    box-sizing: border-box;
  }

  .upsells.products ul.products {
    display: block !important;
  }

  .upsells.products .wp-block-button__link,
  .upsells.products .button {
    display: block !important;
    width: auto;
    margin: 10px auto 0 auto !important;
    padding: 8px 16px !important;
    font-size: 14px;
    border-radius: 6px;
  }
}
/*liste à puces un peu décalée a droite */
.liste1{
	padding-left:50px!important;
}

/*****page notre univers ( alignement des blocs en zigzag)*****/

/* Espacement vertical entre les sections */
.section-univers {
  margin-block: 2rem;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  text-decoration: none;
  color: inherit;
}

/* Colonne de contenu */
.wp-block-column {
  align-content: center;
}

/*image*/
.wp-block-column img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .wp-block-column {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Inverser image/texte pour certaines sections */
  .wp-block-columns:nth-of-type(2),
  .wp-block-columns:nth-of-type(4) {
    flex-direction: column-reverse !important;
  }
}

/* supprimer les etoiles page produit et page d'accueil */

.star-rating {
    display: none !important;
}
.wc-block-grid__product-rating{
	display:none !important;
}



/*modifier le bouton ajouter au panier par un picto*/

.custom-price-cart {
  
  justify-content: space-between;
  align-items: center !important;
  gap: 	10px !important;
}

.cart-icon-wrapper {
  flex-shrink: 0 !important;
}

.cart-icon-img {
  width: 30px !important;
  height: 30px !important;
  transition: transform 0.2s ease;
	z-index: 20 !important;
}
cart-icon-wrapper {
	display:absolute;
}


.cart-icon-img:hover {
  transform: scale(1.1) !important;
	position: relative;
	z-index: 10;
}

.price-wrapper .price {
  font-size: 18px !important;
  text-align: right !important;
  align-items: center !important;
  font-size: 10px !important;
  position: relative;
  top: -55px !important;
	
}

/* Responsive: mobile + grands écrans */
@media screen and (max-width: 768px) {
  .custom-price-cart {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    margin-top: 6px;
  }

  .cart-icon-img {
    width: 30px !important;
  }

  .price-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-end !important;
    width: 100%;
  }

  .price-wrapper .price {
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
    top: -20px !important;
  }

  .price-wrapper .price del {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #999;
  }

  .price-wrapper .price ins {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
  }

  /* Pour les prix sans promo */
  .price-wrapper .price:not(:has(del)) {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: right !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    top: 0 !important;
  }
}


.eng_faq {
	width:100%;
		margin: 1.5rem 0;
	text-align: center;
}

.eng_faq a {
	display:inline-block;
	background-color: #7A9161;
	color: #fff;
	padding: 0.6rem 1.4rem;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	margin: 1.5rem;
	white-space: pre;
}

	
/*page nos engagements*/
@media screen and (max-width: 768px) {
  .wp-block-image.alignfull.size-full img {
    width: 60%; 
    height: auto;
    margin: 0 auto;
    display: block;
  }
}



/*Tri et catégories page boutique*/

.woocommerce-ordering {
  display: none !important;
}

.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.category-btn {
  background: #f3f5f0;
  color: #2c3e50;
  padding: 6px 0;
  width: 110px; 
  text-align: center;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #d0d0d0;
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background-color: #7A9161;
  color: #fff;
  border-color: #7A9161;
}


/* Réduction de la taille des boutons ajouter au panier page d'accueil */

.wp-block-button.wc-block-grid__product-add-to-cart {
    max-width: 150px;
    margin: auto;
    white-space: nowrap;
}

.wp-block-button.wc-block-grid__product-add-to-cart .wp-block-button__link {
    font-size: 13px; 
    padding: 8px 14px;
    white-space: nowrap; 
    line-height: 1.2;
    display: inline-block;
}
.category-btn.active {
    background-color: #7A9161;
    color: #fff;
    border-color: #7A9161;
}
@media (max-width: 768px) {
  .wp-block-button.wc-block-grid__product-add-to-cart {
      max-width: 130px;
  }

  .wp-block-button.wc-block-grid__product-add-to-cart .wp-block-button__link {
      font-size: 12px;
      padding: 6px 12px;
  }
}

/* Mettre un peu en gras les liens du site */
.entry-content a,
.wp-block-paragraph a,
.wp-block-rich-text a {
    font-weight: 600;

    
}

.entry-content a:hover,
.wp-block-paragraph a:hover,
.wp-block-rich-text a:hover {
    color: #2d4d28; 
    text-decoration: underline;
}



/* Supprimer les liens soulignés dans la page notre univers */

.section-univers {
    text-decoration: none !important;
    font-weight: normal !important;
    color: inherit !important;
    display: block;
}

.section-univers *:not(.wp-block-button__link) {
    text-decoration: none !important;
    font-weight: normal !important;
    color: inherit !important;
}

.wp-block-button__link {
    font-weight: 600;
    text-decoration: underline;
    color: #FFFFFF;
}

.wp-block-button__link:hover {
    color: #2d4d28;
    text-decoration: underline;
}


/* btn paiement immediat */
.product-purchase-row {
	flex-wrap: wrap;
	margin-bottom:1.5rem;
}
.wcpay-express-checkout-wrapper {
	width:80%;
	margin-left:10%;
}
