/**
Theme Name: MyWoodStock thème
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: mywoodstock-theme
Template: astra
*/
.recently-viewed-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.recently-viewed-products .product {
    width: 180px;
    text-align: center;
}

.recently-viewed-products .product img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* Cacher les icônes sociales dans la section Elementor juste avant le footer */
footer .elementor-widget-container ul.elementor-icon-list-items {
    display: none !important;
}

/* Aligne le menu principal en haut */
.ast-main-header-bar-alignment {
display: flex;
align-items: flex-start !important;
}

/* Optionnel : réduit un éventuel padding interne du conteneur de menu */
.main-header-bar-navigation {
padding-top: 0 !important;
margin-top: 0 !important;
}

/* Optionnel : ajuste le menu si nécessaire */
#ast-hf-menu-1 {
margin-top: 0 !important;
padding-top: 0 !important;
}



/* Masquer les boutons "Payer" et "Annuler" sur la page de confirmation si paiement déjà effectué */
.woocommerce-order-received .woocommerce-button.button.pay,
.woocommerce-order-received .woocommerce-button.button.cancel {
    display: none !important;
}

.description-categorie-produit {
    /*font-style: italic;*/
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
    bottom: 0.1em important;
}


/* Conteneur pour la position en haut de l'image */
.woocommerce-loop-category__title,  .woocommerce-loop-category__title mark.count {
    font-size: 0.9rem !important;
    font-weight: bold;
    top: 2px !important; /* ← Positionne en haut */
    height: 3.4em;
    color: white;
    background: none !important;
    /*text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.7);*/
	opacity: 1 !important;
	text-transform: capitalize  !important;
}

/* Nombre de produits : aussi en gras et blanc */
.woocommerce-loop-category__title mark.count {
    font-size: 0.6rem !important;
	font-style: italic! important;

}

/* Résultats de recherche : images des articles en taille réelle */
.search .ast-blog-featured-section img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

/* Répare le fond trop transparent du sous-menu avec un beige très clair */
.ast-builder-menu-1 .main-header-menu .sub-menu {
  background-color: rgba(255, 250, 230, 0.95) !important; /* Beige très clair et opaque */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ombre douce */
  top:calc(100% - 20px) !important;
}

/* Lien par défaut */
.ast-builder-menu-1 .main-header-menu .sub-menu a {
  color: #2a2a2a !important; /* Couleur texte par défaut (gris foncé) */
  background-color: transparent !important;
}

/* Lien au survol */
.ast-builder-menu-1 .main-header-menu .sub-menu a:hover {
  color: #8B4513 !important; /* Marron chaud au survol */
  background-color: transparent !important;
  font-weight:bold !important;
}

/* Réduit l'espacement vertical dans le sous-menu */
.ast-builder-menu-1 .main-header-menu .sub-menu a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1.3 !important;
}

.ast-shop-product-out-of-stock {
    color: transparent; /* cache le texte original */
    position: relative;
}

.ast-shop-product-out-of-stock::before {
    content: "Plus dans les rayons...\A A recréer ? Contactez-moi 💛";
    white-space: pre-line; /* Permet de reconnaître le \A comme un saut de ligne */
    text-transform: none; /* <<< ici on annule */
    color: red; /* ou la couleur que tu veux */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
     font-weight: 500;
    font-size: 0.8em;
    z-index: 1;
}
/* Version mobile élargie (portrait + paysage jusqu’à 899px) */
@media (max-width: 899px) {
  .ast-site-identity img {
    max-height: 70px !important;
    width: auto !important;
  }
}

/* texte lie aux categorie transprent car pas bien place */
.site-content section.ast-archive-description {
	color:transparent;
}

.product-id-display {
  font-size: 0.7em;
  color: #888;
  margin-top: 10px;
}

.woocommerce-mini-cart-item .product-id-display
 {
  font-size: 0.7em;
  color: #888;
  margin-top: 10px;
   display: none ;
}

