/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body{
    font-family: 'Avenir', sans-serif;
}


/* Styles pour l'affichage d'un produit */
.nos-produits-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.produit-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.produit-gallery-container {
    flex: 1;
    min-width: 300px;
}

.produit-featured-image img {
    width: 100%;
    height: auto;
}

.produit-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.gallery-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
}

.produit-details {
    flex: 2;
    min-width: 300px;
}

.produit-details > div {
    margin-bottom: 25px;
}

.produit-details h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.produit-categories {
    margin-bottom: 15px;
}

/* Style responsive */
@media (max-width: 768px) {
    .produit-content-wrapper {
        flex-direction: column;
    }
}

/* Styles pour l'archive des produits */
.nos-produits-archive {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 100px;
}

.archive-header {
    margin-bottom: 30px;
}

.produits-categories-filter {
    margin: 20px 0;
}

.cat-filter, .mat-filter {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #f5f5f5;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.cat-filter.active, .mat-filter.active {
    background: #4a7940;
    color: white;
    border-color: #4a7940;
}

.produits-matieres-filter {
    margin: 20px 0;
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.produit-card {
    border-radius: 5px;
    overflow: hidden;
}

.produit-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.produit-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.produit-info {
    padding: 15px;
}

.produit-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.produit-categories {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.produit-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.produit-excerpt p {
    margin: 0;
}

/* Pagination */
.navigation.pagination {
    margin-top: 30px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.page-numbers.current {
    background: #4a7940;
    color: white;
    border-color: #4a7940;
}

/* Style responsive */
@media (max-width: 768px) {
    .produits-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .produits-grid {
        grid-template-columns: 1fr;
    }
}
/* Styles pour l'archive de taxonomie */
.taxonomy-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.taxonomy-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.taxonomy-description {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.taxonomy-description p {
    margin-bottom: 15px;
}

.taxonomy-description ul, 
.taxonomy-description ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.taxonomy-description img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* Styles de la grille de produits - repris de archive-nos-produits.php */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.produit-card {
    border-radius: 5px;
    overflow: hidden;
}

.produit-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.produit-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.produit-info {
    padding: 15px;
}

.produit-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.produit-categories, .produit-matieres {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.produit-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-top: 10px;
}

.produit-excerpt p {
    margin: 0;
}

/* Pagination */
.navigation.pagination {
    margin-top: 30px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.page-numbers.current {
    background: #4a7940;
    color: white;
    border-color: #4a7940;
}

/* Style responsive */
@media (max-width: 768px) {
    .produits-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .produits-grid {
        grid-template-columns: 1fr;
    }
}
/**
 * Styles CSS pour l'archive des produits avec filtres AJAX
 * À ajouter dans style.css
 */

/* Styles généraux des produits */
.produits-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 100px;
    font-family: "Avenir", sans-serif;
}

/* En-tête avec image de fond */
.produits-header {
    height: 192px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 100px;
    margin-bottom: 80px;
    position: relative;
}

.produits-header h1 {
    position: relative;
    z-index: 2;
    font-family: "Avenir", Sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 5px;
    color: #FFFFFF;
    margin: 0;
}

/* Layout principal */
.produits-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

/* Sidebar de filtres */
.produits-sidebar {
    width: 215px;
    flex-shrink: 0;
}

.filtre-section {
    margin-bottom: 30px;
}

.filtre-section h3 {
    font-size: 18px;
    color: #000;
    padding-bottom: 8px;
    border-bottom: 2px solid #A45D3F;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 2.3px;
}

.filtre-categories,
.filtre-matieres {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filtre-categories li,
.filtre-matieres li {
    margin-bottom: 10px;
}

.filtre-categories label,
.filtre-matieres label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    cursor: pointer;
}

.filtre-categories input[type="checkbox"],
.filtre-matieres input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

/* Zone de contenu principal */
.produits-grid-container {
    flex-grow: 1;
    padding-left: 100px;
}

/* Section description et tri */
.produits-description {
    margin-bottom: 30px;
}

.description-text h2 {
    color: #000;
    margin-bottom: 10px;
    font-family: "Avenir", Sans-serif;
	font-weight: 500;
	font-size: 30px;
	line-height: 45px;
	vertical-align: middle;
	text-transform: uppercase;
}

.description-text p {
    color: #000;
    font-family: "Avenir", Sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 22px;
	text-align: justify;
	margin-bottom: 40px;
}

.produits-sort {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 215px;
    justify-self: flex-end;
}

.produits-sort span {
    margin-right: 8px;
    color: #555;
    width: 108px;
}

#tri-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
#tri-select:focus{
	outline: 0;
	box-shadow: none;
}
/* Grille de produits */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.produit-card {
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
}

.produit-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.produit-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produit-image img {
    width: 100%;
    height: auto;
}

.produit-info {
    padding: 15px;
    text-align: center;
}

.produit-info h3 {
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.produit-category {
    font-size: 14px;
    color: #858585;
    margin: 0;
}

/* Badge pour les produits recommandés */
.produit-recommended {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4a7940;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 2;
}

/* Message "Aucun produit" */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Indicateur de chargement */
.loading-overlay {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

/* Styles responsifs */
@media (max-width: 992px) {
    .produits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .produits-content {
        flex-direction: column;
    }
    
    .produits-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .produits-description {
        flex-direction: column;
    }
    
    .description-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .produits-grid {
        grid-template-columns: 1fr;
    }
    
    .produit-image {
        height: 180px;
    }
    
    .produits-header h1 {
        font-size: 20px;
    }
}
.taxonomy-description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.taxonomy-description p {
    margin-bottom: 40px;
}

.taxonomy-description ul, 
.taxonomy-description ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.taxonomy-description a {
    color: #4a7940;
    text-decoration: underline;
}

.taxonomy-description a:hover {
    text-decoration: none;
}

.taxonomy-description img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}
/* Styles pour la page produit */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 100px;
}

/* Fil d'Ariane */
.product-breadcrumb {
    background-color: #4A6946;
    color: white;
    padding: 15px 0;
    margin-bottom: 40px;
}

.breadcrumb-inner {
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    font-family: 'Avenir', sans-serif ;
    text-transform: uppercase;
}

/* Section principale du produit */
.product-container {
    margin-bottom: 70px;
}

.product-main {
    display: flex;
    gap: 60px;
}

/* Galerie d'images */
.product-gallery {
    width: 45%;
    display: flex;
    gap: 80px;
}

.product-thumbnails {
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 70px;
    height: auto;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    flex-grow: 1;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
}

/* Informations du produit */
.product-main .product-info {
    width: 55%;
    padding-left: 100px;
}

.product-main .product-title {
    font-size: 22px;
    color: #3f6a42;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left !important;
}

.product-main .product-subtitle {
    display: block;
    font-size: 16px;
    color: #9fa0a1;
    margin-top: 5px;
    font-weight: normal;
    text-align: left !important;
}

.product-section {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-main .section-title {
    font-size: 16px;
    color: #333;
    padding: 15px 0;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-icon {
    font-size: 20px;
    color: #777;
}

.section-content {
    padding-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: left !important;
}
.product-info .section-content p{
    text-align: left !important;
    color: #000;
    line-height: 1.6;
}

.certifications-content > p {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.certifications-content img {
    height: 80px;
    width: auto;
}

.product-cta {
    margin-top: 30px;
}

.cta-button {
    background-color: #4a7940;
    color: white;
    padding: 12px 25px;
    border: none;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    border-radius: 3px;
}

.cta-button:hover {
    background-color: #3a6030;
    color: white;
    text-decoration: none;
}

/* Produits similaires */
.similar-products-section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    color: #4a7940;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 22px;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
}

.product-categories-filter {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.category-filter {
    color: #333;
    text-decoration: none;
    padding-bottom: 5px;
    position: relative;
}

.category-filter.active {
    color: #4a7940;
}

.category-filter.active:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #4a7940;
}

.similar-products-grid {
    display: flex;
    gap: 25px;
    position: relative;
    margin-bottom: 40px;
}

.similar-product {
    flex: 1;
    text-align: center;
}

.similar-product a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-product-image {
    border: 1px solid #eee;
    margin-bottom: 15px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.similar-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.similar-product-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.similar-product-category {
    font-size: 14px;
    color: #777;
}

.similar-products-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 -15px;
    z-index: 2;
    pointer-events: none;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: #4a7940;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.nav-prev {
    margin-left: -20px;
}

.nav-next {
    margin-right: -20px;
}

.view-more-products, .voir-plus-container {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.view-more-button, .voir-plus-btn {
    background-color: #5F815D;
    color: white;
    padding: 15px 40px;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 0;
}

.view-more-button:hover, .voir-plus-btn:hover, .voir-plus-btn:focus {
    background-color: #5F815D;
    opacity: .8;
    color: white;
    text-decoration: none;
}

/* Styles responsifs */
@media (max-width: 992px) {
    .product-main {
        gap: 30px;
    }
    
    .similar-products-grid {
        flex-wrap: wrap;
    }
    
    .similar-product {
        flex: 0 0 calc(50% - 15px);
    }
    
    .similar-products-navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-main {
        flex-direction: column;
    }
    
    .product-gallery, .product-info {
        width: 100%;
    }
    
    .product-gallery {
        margin-bottom: 30px;
    }
    
    .product-categories-filter {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-gallery {
        flex-direction: column;
    }
    
    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .similar-product {
        flex: 0 0 100%;
    }
}