/**
Theme Name: Nogentaise
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: nogentaise
Template: astra
*/



/* Hauteur fixe pour toutes les images produits */
.woocommerce ul.products li.product a img,
.products .product img {
    height: 280px !important;
    width: 100% !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

/* Fond blanc sur la carte produit entière */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    background-color: #ffffff !important;
}

/* Masquer le bouton Filtrer */
.astra-shop-filter-button.ast-flyout-filter {
   /* display: none !important;*/
}

/* Grille harmonisée logos marques - Desktop 5 colonnes */
ul.brand-thumbnails.columns-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

/* Tablette - 3 colonnes */
@media (max-width: 1024px) {
    ul.brand-thumbnails.columns-5 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Smartphone - 2 colonnes */
@media (max-width: 768px) {
    ul.brand-thumbnails.columns-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Très petit écran - 2 colonnes serrées */
@media (max-width: 480px) {
    ul.brand-thumbnails.columns-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* Chaque cellule marque */
ul.brand-thumbnails.columns-5 li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 8px !important;
    padding: 15px !important;
    min-height: 100px !important;
    box-sizing: border-box !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* Smartphone - cellules plus compactes */
@media (max-width: 768px) {
    ul.brand-thumbnails.columns-5 li {
        padding: 10px !important;
        min-height: 80px !important;
    }
}

/* Logo harmonisé */
ul.brand-thumbnails.columns-5 li img.brand-thumbnail {
    max-height: 70px !important;
    max-width: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    background: none !important;
    padding: 0 !important;
}

/* Smartphone - logos plus petits */
@media (max-width: 768px) {
    ul.brand-thumbnails.columns-5 li img.brand-thumbnail {
        max-height: 50px !important;
        max-width: 120px !important;
    }
}

/* Survol */
ul.brand-thumbnails.columns-5 li:hover {
    border-color: #ED9C1A !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}


/* Limiter la hauteur du texte catégorie */
.term-description {
    max-height: 80px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.term-description.expanded {
    max-height: 2000px;
}

.term-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #ffffff);
}

.term-description.expanded::after {
    display: none;
}

.voir-plus-btn {
    display: block;
    color: #ED9C1A !important;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    background: none;
    border: none;
    padding: 0px;
    text-decoration: underline;
	margin-bottom:25px;
}
/* Supprimer le background au survol du bouton voir plus */
.voir-plus-btn:hover {
    background: none !important;
    background-color: transparent !important;
    color: #C47D0E !important;
    outline: none !important;
    box-shadow: none !important;
}

.voir-plus-btn:focus {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}