/**
Theme Name: Mizenpli
Author: Sophie Médard
Author URI: http://mizenpli.fr
Description: aucune
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mizenpli
Template: astra
*/



/***************** Config menu haut **/

 #menu-haut .btn_shop {
	background-color: #CCC600;
	color: #000000;
	text-decoration: none;
}

 #menu-haut a:hover {
	background-color: #B17F7F;
	color: #FFFFFF;
	text-decoration: none;
}

.current-menu-item > a,
.current_page_item > a,
.current_page_parent > a {
   	background-color: #B17F7F;
	color: #FFFFFF;
}


/***************** Lien du site **/
.lien-site .elementor-widget-container a {
     font-weight: 300;
  color: #B17F7F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lien-site .elementor-widget-container a:hover {
  color: #000000;
  text-decoration: none;
}

.lien-site .elementor-widget-container p {
align: right;
}

/***************** footer **/

#menu-footer1 .btn_shop {
    margin-top: 5px;
  background: none !important; /* vide le fond sur le <li> */
}

#menu-footer1 .btn_shop a {
    background-color: #B17F7F;
	color: #FFF;
	border: 2px solid #fff;
	display: inline-block;
  padding: 1px 10px;
}

#menu-footer1 .btn_shop a:hover {
   text-decoration: none;
	background-color: #CCC600;
	border: 2px solid #CCC600;
	color: #000000;
}


/******* Conteneur du widget contenant le fil d'ariane */
#mon-fil #breadcrumbs {
  font-size: 12px;
   font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #000000;
}

/* Liens du fil d’ariane */
#mon-fil #breadcrumbs a {
     font-weight: 300;
  color: #B17F7F;
  text-decoration: none;
  transition: color 0.2s ease;
}

#mon-fil #breadcrumbs a:hover {
  color: #000000;
}

/* Dernier élément (non cliquable) */
#mon-fil #breadcrumbs .breadcrumb_last {
  color: #737373;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}

/* Séparateur texte brut “ / ” : on le stylise via pseudo-élément si besoin */
#mon-fil #breadcrumbs span > span::after {
  color: #aaa;
  padding: 0 0.5em;
}

#mon-fil p #breadcrumbs {
margin: 0px;
padding: 0px;
}

#col-fil {
    vertical-align: bottom;
    margin: 0px;
    padding: 0px;
}

.home #mon-fil,
.woocommerce #mon-fil,
.archive.post-type-archive-product #mon-fil,
.tax-product_cat #mon-fil,
.tax-product_tag #mon-fil,
.single-product #mon-fil,
.home #col-fil,
.E-Shop #mon-fil,
.user-product_archive-E-Shop #mon-fil,
.page-id-1583 #col-fil {
  display: none;
}


/************* Tooltip *******************/
.tooltip {
  position: relative;
  display: inline;
  cursor: pointer;
  font-weight: bold;
  color: #B17F7F;
}

.tooltip .tooltip-text {
  visibility: hidden;
  font-size: 14px;
  width: 300px;
  background-color: #FFFFFF;
  color: #000000;
  font-weight: 600;
  text-align: left;
  border-color: #000000;
  border-style: solid;
  border-width: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* position au-dessus du texte */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.6s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/******* pour la flèche sous le tooltip*******/
.tooltip .tooltip-text::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}

/*******  Plan du site   *******/
ul.plan-du-site {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2em;
}

ul.plan-du-site li {
  margin-bottom: 0.4em;
}

ul.plan-du-site li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

ul.plan-du-site li a:hover {
  color: #b17f7f;
  text-decoration: underline;
}
.cls-1,.cls-2 {
  fill:none;
  stroke:#CCC600; 
  stroke-miterlimit:10;
}
.cls-2 {
  stroke-width:3px;
}
.cls-3 {
  fill:#CCC600;
}
/* Widget Product Description – Elementor / WPR */
.elementor-widget-container .wpr-product-description {
    background-color: #ffffff;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding-top: 0;
    padding-bottom: 1em;
    padding-left: 1.1em;
    padding-right: 20%;
    width: 100%;
    box-sizing: border-box;
}
/* Correction définitive du contenu <pre> */
.wpr-product-description pre {
    background: transparent;
    padding: 0;
    margin: 0;
    white-space: pre-line;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
}

.wpr-product-description {
    line-height: 1.6;
}

.wpr-product-description strong {
    
    margin-top: 1.2em;
}
.wpr-product-description pre a {
    color: #CCC600;
}
.wpr-product-description a {
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Forcer la couleur des liens dans la description produit */
.elementor-widget-container .wpr-product-description pre a,
.elementor-widget-container .wpr-product-description a {
    color: #CCC600 !important;
}
.elementor-widget-container .wpr-product-description pre a:hover,
.elementor-widget-container .wpr-product-description pre a:visited,
.elementor-widget-container .wpr-product-description a:hover,
.elementor-widget-container .wpr-product-description a:visited {
    color: #CCC600 !important;
}

.eael-woo-cart .eael-woo-cart-wrapper.eael-woo-style-2 form.eael-woo-cart-form .eael-woo-cart-table .eael-woo-cart-tbody .eael-woo-cart-tr .eael-woo-cart-tr-left > .product-thumbnail {
    background: #FFFFFF !important;
}

/* Élargir la zone contenu des lignes panier (dont Expédition) */
.woocommerce-cart table.shop_table th {
    width: 30%;
}

.woocommerce-cart table.shop_table td {
    width: 70%;
}

/* Masquer l'adresse de livraison si un retrait sur place est sélectionné */
.woocommerce-shipping-methods input[value*="local_pickup"]:checked
~ .shipping_address,
.woocommerce-shipping-methods input[value*="local_pickup"]:checked
~ .woocommerce-shipping-destination {
    display: none !important;
}
/* Masquer la disponibilté sur la page produit */
.ast-stock-avail,
.stock.in-stock {
    display: none !important;
}
/* Bouton contact/produit — forçage Astra mobile inclus */
.woocommerce div.product a.button.mizenpli-contact-btn {
    background-color: #B17F7F;
    text-transform: uppercase;
    color: #fff;
    padding: 0.6em 1.2em;
    white-space: nowrap;
width: auto;

}

.woocommerce div.product a.button.mizenpli-contact-btn:hover,
.woocommerce div.product a.button.mizenpli-contact-btn:focus {
    background-color: #9E6C6C;
    color: #fff;
}
.mizenpli-already-in-cart {
    margin: 20px 0;
}

.mizenpli-already-text {
    color: #b08a8a;
    font-weight: 500;
    margin-bottom: 15px;
}

.mizenpli-view-cart-btn {
    background-color: #b08a8a;
    color: #fff;
    text-transform: uppercase;
    padding: 12px 20px;
}
/* Produit déjà dans le panier */
body.mizenpli-product-in-cart {

    /* Cache tout le formulaire d’ajout */
    form.cart {
        display: none !important;
    }

    /* Cache le prix */
    .summary .price {
        display: none !important;
    }
}
