/* Reset et styles de base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a:active, a:visited, a:hover, a:focus, a {
    text-decoration: none;
    color: inherit; /* Modifié de #ffffff à inherit */
}

/* Header principal */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    color: white;
    z-index: 10;
    transition: all 0.5s ease-in-out; /* Une seule transition ici */
}

/* Version blog/single-post */
.blog .site-header,
.single-post .site-header, .single-product .site-header{
    background-color: #fff;
}

/* Header au scroll */
.header-scrolled {
    background-color: #000 !important;
}

.header-scrolled .navbar {
    background-color: #000 !important;
}

/* Version blog/single-post au scroll */
.blog .header-scrolled,
.single-post .header-scrolled, .single-product .header-scrolled {
    background-color: #fff !important;
}

.blog .header-scrolled .navbar,
.single-post .header-scrolled .navbar, .single-product .header-scrolled .navbar {
    background-color: #fff !important;
}

/* Top bar */
.top-bar {
    width: 100%;
    background: #000;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: space-between;
}

.top-bar a {
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar .fa-brands {
    font-size: 16px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Navigation principale */
.navbar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav {
    gap: 7px;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    padding: 8px 16px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 10px 0;
    margin-top: 0;
    width: 200px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: none;
    border-radius: 0;
    z-index: 1001;
}

.dropdown-menu .dropdown-item,
.dropdown-menu a {
    color: #000;
    font-size: 14px;
    padding: 10px 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
    white-space: normal;
    word-wrap: break-word; 
    line-height: 1.4; 
    width: 100%;
    text-align: left;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu a:hover {
    transform: translateX(10px);
    background-color: transparent;
    color: #000;
}

.navbar-brand {
    margin-left: 20px; 
}

.navbar-brand img {
    width: 60%;
    height: auto;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    color: #000;
    font-size: 14px;
    padding: 8px 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
    white-space: normal; 
    word-wrap: break-word;
    line-height: 1.4; 
}

.nav-item:hover .dropdown-menu {
    display: block;
    border-radius: 0;
    z-index: 1001;
}

.dropdown {
    position: relative;
    background-color: transparent;
}

.dropdown-item:hover {
    transform: translateX(10px);
    color: #000;
}

.btn-link {
    color: white;   
    padding: 0;
    font-size: 18px;
}

.position-relative {
    margin-right: 20px;
    display: flex;
    gap: 10px;
}

.position-relative .badge {
    font-size: 10px;
    padding: 3px 6px;
}

.badge {
    font-size: 0.7rem;
    padding: 3px 6px;
}

.search-form-wrapper {
    position: absolute;
    right: 0;
    width: 100%;
    background-color: transparent;
    justify-content: flex-end;
    background: #000;
    padding: 10px;
    text-align: center;
}

.search-form-wrapper .container {
    width: 300px; 
    max-width: 100%;
    padding: 20px;
    background-color: white;
    margin: 0;
    margin-right: 170px;
}

.search-form-wrapper .search-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-form-wrapper .search-field {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.search-form-wrapper .search-submit {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
}

.search-container {
    display: flex;
    border: 1px solid #e0e0e0;
    background-color: white;
    width: 100%;
}

.search-input {
    flex-grow: 1;
    border: none;
    font-size: 15px;
    padding: 0 10px 0 10px;
    color: #666;
    background-color: #f7f7f7;
    outline: none;
    text-align: center;
}

.search-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.search-button:hover {
    background-color: #333;
}

.d-none {
    display: none;
}

/* Responsive */
@media (max-width: 990px) {
    .top-bar .col-12 {
        justify-content: center;
        padding: 5px 0;
    }
    
    .navbar-collapse {
        background: #000;
        padding: 15px;
        margin: 0 -15px;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 0;
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 4px 8px;
    }
    
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* FOOTER */
footer {
    background-color: #000;
    padding: 50px 0 30px;
    color: rgba(255,255,255,.6);
    text-align: center;
}

footer a {
    color: rgba(255,255,255,.6);
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

footer p {
    font-size: 14px;
    margin: 0 auto 3px;
}

.footer-1,
.footer-2,
.footer-3 {
    margin: 0 auto;
}

footer .container {
    max-width: 1440px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Copyright */
.copyright {
    font-size: 14px;
    margin-top: 20px;
}

.copyright a {
    color: rgba(255,255,255,.6);
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ffffff;
}

/* Widget styles */

.row{
    display: flex;
    flex-direction: row !important; /* Modification de column à row */
    gap: 30px;
    align-items: flex-start; /* Aligne les éléments en haut */
}

.footer-1{
    width: 1140px !important;
    display: flex;
    flex-direction: column !important;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-2{
    width: 1140px !important;
    display: flex;
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 50px;
}

.footer-3{
    width: 1140px !important;
}

.widget_media_image{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.widget_media_image img {
    width: auto;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    flex: 1;
}

.footer-2 .textwidget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-2 .textwidget p {
    margin: 5px 0;
}

.footer-2 .textwidget p:nth-child(-n+3) {
    align-self: flex-start; 
    text-align: left;
}

.footer-2 .textwidget p:nth-child(4) {
    align-self: center;
    text-align: center;
    font-weight: bold; 
}

.footer-2 .textwidget p:nth-child(n+5) {
    align-self: flex-end;
    text-align: right;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.logo-center {
    position: relative;
    text-align: center;
    margin: 20px auto;
    background-color: transparent;
}

.logo-center {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero {
    position: relative;
    height: 70vh; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    color: white;
    max-width: 1140px;
    padding: 20px;
    z-index: 2;
    margin: auto;
    margin-top: 200px; /* Augmenté de 180px à 220px pour plus d'espacement */
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
}

/* Boutons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: 400; /* Changé de 600 à 400 */
    transition: all 0.3s ease;
    border-radius: 5px;
    min-width: 180px;
    text-align: center;
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-black {
    background: black;
    color: white;
    border: 2px solid black;
}

/* Effets de survol */
.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

/* Section avantages */
.advantages {
    padding: 0;
    background: rgb(0, 0, 0);
    text-align: center;
    height: 26vh;
}

.advantages-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.advantage-item {
    width: 25%;
    padding: 20px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item i {
    font-size: 70px;
    margin-bottom: 10px;
    color: rgb(255, 255, 255);
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    color:white;
}

/* RESPONSIVITÉ */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .advantage-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero-content {
        padding: 15px;
        margin-top: 180px; /* Ajustement pour mobile */
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 90%;
        max-width: 250px;
    }

    .advantage-item {
        width: 100%;
    }

    .logo-center img {
        max-width: 120px;
    }

    .widget_media_image {
        gap: 10px;
    }
    
    .widget_media_image img {
        max-height: 35px;
    }
}

/* SECTION RECETTES */
.recipes {
    position: relative;
    height: 60vh;
    background: url("http://localhost/programmes/wordpress-6.7.2/wordpress/wp-content/uploads/2025/02/recette-huile-olive.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.recipes-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    width: 80vh;
}

.recipes h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.recipes h2::after {
    content: "";
    display: block;
    width: 30%;
    height: 1px;
    background: white;
    margin: 35px auto;
}

.recipes p {
    font-size: 12px;
    margin-bottom: 20px;
}

.recipes .btn-outline {
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-transform: uppercase;
    font-weight: 400; /* Changé de 600 à 400 */
    transition: all 0.3s ease;
    border-radius: 0px;
}

.recipes .btn-outline:hover {
    background: white;
    color: black;
    border-radius: 0px;
}

.produits-selection {
    text-align: center;
    margin: 40px auto 0;
    width: 80%;
}
.produits-selection h2 {
    font-size: 28px;
    margin-bottom: 30px;
}
.categorie-produits {
    margin-bottom: 50px;
}
.categorie-produits h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}
.produits-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.woocommerce-loop-product__title{
    color:#000;
}

.price {
    color:#000;
}

.woocommerce ul.products li.product {
    display: inline-block;
    width: 22%;
    margin: 1%;
    vertical-align: top;
    position: relative; /* Ajout pour le positionnement absolu */
}
.bouton-produit {
    margin-top: 20px;
}
.bouton-produit .btn-black {
    background: black;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.bouton-produit .btn-black:hover {
    background: #444;
}

.image-text-section {
    padding: 0;
    width: 80%;
    margin: auto;
}

.image-text-subsection {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

/* Style pour le deuxième div */
.image-text-subsection:nth-child(2) {
    background-color: #f8f8f8;
    margin-left: -12.5%;  /* Pour compenser le width: 80% du parent */
    margin-right: -12.5%;
    padding: 30px 12.5%;  /* Ajoute le padding sur les côtés pour maintenir l'alignement */
    display: flex;
    gap: 30px;
}

.image-text-subsection:nth-child(2) .image-container {
    width: 66.666%; /* 2/3 de la largeur */
    padding-right: 0;
}

.image-text-subsection:nth-child(2) .text-container {
    width: 33.333%; /* 1/3 de la largeur */
    padding-left: 30px;
}

.image-container {
    width: 50%;
    padding-right: 20px;
}

.text-container {
    width: 50%;
    padding-left: 20px;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-container h3 {
    font-size: 1.5rem;  /* Réduit de 1.8rem à 1.5rem */
    margin-bottom: 15px;
}

.text-container p {
    font-size: 0.9rem;  /* Réduit de 1rem à 0.9rem */
    line-height: 1.5;
    color: #666;
}

@media (max-width: 768px) {
    .image-text-subsection {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-container,
    .text-container {
        width: 100%;
        padding: 0;
    }

    .image-container img {
        width: 100%;
    }

    .image-text-subsection:nth-child(2) {
        margin-left: -10%;
        margin-right: -10%;
        padding: 30px 10%;
        flex-direction: column;
        gap: 20px;
    }
    
    .text-container h3 {
        font-size: 1.3rem;
    }
    
    .text-container p {
        font-size: 0.85rem;
    }
}

.woocommerce ul.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 auto !important;
    max-width: 1440px;
    padding: 0 20px;
}

.woocommerce ul.products li.product {
    float: none !important;
    margin: 0 !important;
    width: calc(25% - 15px) !important;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .woocommerce ul.products li.product {
        width: calc(33.333% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 10px) !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products li.product {
        width: 100% !important;
    }
}

/* Style des produits WooCommerce */
.woocommerce ul.products li.product .price {
    color: #000;
    font-size: 1.2em;
    font-weight: 600;
    margin: 10px 0;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.woocommerce ul.products li.product .button {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    padding: 8px 15px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.9em;
    margin: 10px 0;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover .price {
    transform: translateY(-20px);
    opacity: 0;
}

.woocommerce ul.products li.product:hover .button {
    transform: translateY(0);
    opacity: 1;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #ffffff;
}

/* Section Trailer */
.trailer {
    padding: 60px 0;
    background-color: #fff;
}

.trailer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.trailer h3 {
    font-size: 24px;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.trailer-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.trailer-text {
    flex: 1;
}

.trailer-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.trailer-text .btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: 2px solid #000;
}

.trailer-text .btn:hover {
    background: transparent;
    color: #000;
    transform: translateY(-3px);
}

.trailer-video {
    flex: 1;
    min-height: 300px;
    background-color: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .trailer {
        padding: 40px 0;
    }

    .trailer h3 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .trailer-content {
        flex-direction: column;
        gap: 30px;
    }

    .trailer-text p {
        font-size: 15px;
    }

    .trailer-video {
        min-height: 200px;
    }
}

.latest-articles {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

.latest-articles h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-divider {
    width: 30px;
    height: 1px;
    background-color: #b5b5b5;
    margin: 0 auto 30px auto;
}

.articles-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.article-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    position: relative;
    text-align: left;
}

.article-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
}

.article-date .day {
    font-size: 20px;
    display: block;
}

.article-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.article-content {
    padding-top: 40px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-content h3 a {
    text-decoration: none;
    color: #333;
}

.article-content p {
    color: #666;
    font-size: 16px;
}

.all-articles-button {
    margin-top: 20px;
}

.all-articles-button .btn {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.all-articles-button .btn:hover {
    background-color: #444;
}

/* Style pour la liste des articles */
.content {
    max-width: 1140px;
    margin: 20px 0; /* Réduction de la marge par défaut */
    padding: 0 20px;
}

article {
    background: #fff;
    margin-bottom: 40px;
    box-shadow: none; /* Suppression de l'ombre */
    position: relative;
    transition: transform 0.3s ease;
}

.entry-thumbnail {
    position: relative;
    width: 105%;
    height: 540px; /* Réduit de 500px à 400px */
    overflow: hidden;
    margin: 0 auto;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .entry-thumbnail {
        width: 95%;
        height: 300px; /* Réduit de 400px à 300px */
    }
}

@media (max-width: 480px) {
    .entry-thumbnail {
        width: 100%;
        height: 250px; /* Réduit de 350px à 250px */
    }
}

.entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.entry-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 10px; /* Réduit de 15px à 10px */
    text-align: center;
    z-index: 2;
    min-width: 50px; /* Réduit de 70px à 50px */
    min-height: 50px; /* Ajout pour forcer le carré */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.entry-date .day {
    display: block;
    font-size: 18px; /* Réduit de 24px à 18px */
    font-weight: normal;
    line-height: 1;
    margin-bottom: 2px;
}

.entry-date .month {
    display: block;
    font-size: 12px; /* Réduit de 14px à 12px */
    text-transform: uppercase;
}

.entry-content-wrapper {
    padding: 30px;
}

.entry-title {
    font-size: 32px;
    margin: 0 0 15px;
}

.entry-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.inline-tag {
    color: #666;
    text-decoration: none;
    margin-left: 5px;
}

.inline-tag:hover {
    color: #666;
    text-decoration: underline;
}

.inline-tag:not(:last-child):after {
    content: ",";
    margin-right: 5px;
    color: #666;
}

.entry-summary {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #000 !important; /* Ajout du !important pour forcer la couleur */
    text-decoration: none;
    font-weight: 400; /* Changé de 500 à 400 */
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
}

.read-more:hover {
    color: #666 !important; /* Ajout du !important pour forcer la couleur au survol */
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: all 0.3s ease;
}

.read-more:hover::after {
    background-color: #666;
}

.read-more:hover {
    color: #666;
    border-color: #666;
}

@media (max-width: 768px) {
    .entry-thumbnail {
        height: 300px;
    }
    }
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 24px;
    margin: 0 0 15px;
}

.entry-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #666;
}

.entry-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.entry-footer {
    font-size: 0.9em;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

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

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }

    article {
        padding: 20px;
        margin-bottom: 20px;
    }

    .entry-title {
        font-size: 20px;
    }
}

/* Structure de la page blog */
.content {
    max-width: 1170px;
    margin: 20px 0; 
    padding: 0 20px;
}

.row {
    display: flex;
    flex-direction: row !important; /* Modification de column à row */
    gap: 30px;
    align-items: flex-start; /* Aligne les éléments en haut */
    justify-content: center !important;
}

/* Style de la colonne principale */
.col-lg-8 {
    flex: 0 0 calc(75% - 15px); /* Augmenté de 70% à 75% */
    width: calc(75% - 15px);
}

/* Style de la sidebar */
.col-lg-4 {
    flex: 0 0 calc(25% - 15px); /* Réduit de 30% à 25% */
    width: calc(25% - 15px);
    top: 120px; /* Pour garder la sidebar visible lors du scroll */
}

.sidebar {
    background: #fff;
    padding: 30px;
    border: none; /* Suppression de la bordure */
}

.sidebar .widget {
    margin-bottom: 40px;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget-title {
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: none; /* Supprime l'ancienne bordure */
}

.sidebar .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px; /* Longueur du trait */
    height: 2px;
    background-color: #bdbdbd;
}

/* Style des liens dans la sidebar */
.sidebar a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #000;
}

/* Style des listes dans la sidebar */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee; /* Ajout d'un trait fin gris */
}

.sidebar ul li:last-child {
    border-bottom: none; /* Suppression du dernier trait */
}

/* Style spécifique pour les produits WooCommerce dans la sidebar */
.sidebar .product_list_widget li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sidebar .product_list_widget li:last-child {
    border-bottom: none;
}

/* Style du widget de recherche */
.sidebar .search-form {
    display: flex;
    gap: 10px;
}

.sidebar .search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 0;
}

.sidebar .search-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar .search-submit:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .row {
        flex-direction: column !important;
    }

    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        width: 100%;
    }

    .col-lg-4 {
        position: static;
    }
}

/* Style des widgets dans la sidebar */
.sidebar .widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 30px;
}

.sidebar .widget-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}

.sidebar .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #000;
}

/* Style des listes de produits */
.sidebar .product_list_widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .product_list_widget li {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sidebar .product_list_widget li:last-child {
    border-bottom: none;
}

.sidebar .product_list_widget li img {
    width: 80px !important;
    height: auto;
    margin-right: 15px !important;
}

.sidebar .product_list_widget li .product-info {
    flex-grow: 1;
}

.sidebar .product_list_widget li .product-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    text-decoration: none;
}

.sidebar .product_list_widget li .price {
    font-size: 14px;
    color: #666;
    display: block;
}

.sidebar .product_list_widget li a:hover {
    color: #000;
}

.entry-tags {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 10px;
}

.tag-item {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 5px;
}

.tag-item:last-child {
    margin-right: 0;
}

.entry-categories {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.category-item {
    display: inline-block;
    background: #000;
    color: #fff !important;
    padding: 5px 10px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none; 
    margin-right: 5px;
}

.category-item:hover {
    color: #fff !important;
    text-decoration: underline; 
}

.category-item:last-child {
    margin-right: 0;
}

/* Style pour la page produit */
.product-main {
    margin-bottom: 40px;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    margin-bottom: 20px;
    position: relative;
}

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

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail:hover {
    opacity: 0.8;
}

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

.product-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.product-short-description {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
    font-size: 13px; 
}

.quantity {
    display: flex;
    align-items: stretch;
    border: 1px solid #afafaf;
    border-radius: 0;
    overflow: hidden;
    background-color: #f6f6f6;
    width: 120px;
    height: 40px; 
}

.quantity input[type="number"] {
    -moz-appearance: textfield;
    width: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    padding: 0;
    background: #fff;
    margin: 0;
    height: 100%; /* Pour prendre toute la hauteur */
}

.quantity button {
    background: none;
    border: none;
    width: 40px;
    padding: 0;
    font-size: 16px;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Pour prendre toute la hauteur */
}

.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    text-transform: uppercase;
    font-weight: 400; /* Changé de 600 à 400 */
    margin-bottom: 0;
    font-size: 14px;
    flex-shrink: 0;
    height: 40px; /* Même hauteur que .quantity */
    display: flex;
    align-items: center;
}

.btn-primary:hover {
    background: #333;
}

.product-tags {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.product-description {
    padding-top: 40px;
    font-size: 13px;
}

.product-description p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

/* Style pour la page produit single */
.product-single {
    margin-top: 40px;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    margin-bottom: 20px;
    position: relative;
}

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

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.product-info {
    padding: 0 20px;
}

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

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000;
}

.product-price {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.product-short-description {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
    font-size: 13px; /* Réduction de la taille de police */
}

.product-meta {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-meta p {
    margin: 10px 0;
}

.origin-france {
    display: block;
    margin-top: 15px;
}

.delivery-time {
    display: block;
    margin-top: 15px;
}

.quantity input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    text-transform: uppercase;
    font-weight: 400; /* Changé de 600 à 400 */
    margin-bottom: 0;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 0;

}

.btn-primary:hover {
    background: #333;
}

.product-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.cart {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.single-post .navbar-nav .nav-link{
    color:#000 !important;
}

.blog .navbar-nav .nav-link{
    color:#000 !important;
}

.single-product .navbar-nav .nav-link{
    color:#000 !important;
}

.blog .navbar-brand-black{
    display: block !important;
    margin-left: 20px; 
    padding-top: 5px;
    padding-bottom: 5px;
    
    img {
        width: 60%;
        height: auto;
    }
}

.single-product .navbar-brand-black{
    display: block !important;
    margin-left: 20px;
    padding: 5px 0;
}

.single-product .navbar-brand-black img {
    width: 60%;
    height: auto;
}

.blog .navbar-brand{
    display: none !important;
}

.single-product .navbar-brand{
    display: none !important;
}

.author-link {
    color: #000000;
    text-decoration: none;
}

.author-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Style des boutons de partage social */
.social-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff !important;
    transition: all 0.3s ease;
}

.social-icon:visited,
.social-icon:active,
.social-icon:focus,
.social-icon:hover {
    color: #fff !important;
}

.social-icon.facebook {
    background-color: #3b5998;
}
.social-icon.facebook:hover {
    background-color: #4c70ba;
}

.social-icon.twitter {
    background-color: #1da1f2;
}
.social-icon.twitter:hover {
    background-color: #4db5f5;
}

.social-icon.pinterest {
    background-color: #bd081c;
}
.social-icon.pinterest:hover {
    background-color: #e60023;
}

.social-icon.linkedin {
    background-color: #0077b5;
}
.social-icon.linkedin:hover {
    background-color: #0090dd;
}

.social-icon.email {
    background-color: #f89a1e;
}
.social-icon.email:hover {
    background-color: #fbb04b;
}

.social-icon.whatsapp {
    background-color: #25D366;
}
.social-icon.whatsapp:hover {
    background-color: #34eb77;
}

.social-icon i {
    font-size: 18px;
}

.social-icon:hover {
    color: #fff;
}

.blog .btn-link,
.single-post .btn-link {
    color: #000 !important;
}

.blog .fa-shopping-cart,
.single-post .fa-shopping-cart,
.blog .navbar-toggler-icon,
.single-post .navbar-toggler-icon,
.blog .badge,
.single-post .badge,
.blog .cart-total,
.single-post .cart-total {
    color: #000 !important;
}

.blog .badge,
.single-post .badge {
    background-color: transparent !important;
    border: 1px solid #000;
}

.blog .woocommerce-Price-amount,
.single-post .woocommerce-Price-amount {
    color: #000 !important;
}

.blog .fa-shopping-cart,
.single-post .fa-shopping-cart,
.blog .navbar-toggler-icon,
.single-post .navbar-toggler-icon {
    color: #000;
}

.blog .navbar-toggler,
.single-post .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}

/* Header version noire (blog et single-post) */
.blog .site-header,
.single-post .site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.blog .top-bar,
.single-post .top-bar {
    background-color: #000;
}

.blog .navbar,
.single-post .navbar {
    background-color: #fff !important;
}

.blog .navbar-nav .nav-link,
.single-post .navbar-nav .nav-link {
    color: #000 !important;
}

.blog .navbar-nav .nav-link:hover,
.single-post .navbar-nav .nav-link:hover {
    color: #666 !important;
}

/* Style pour le logo noir */
.blog .navbar-brand,
.single-post .navbar-brand {
    display: none;
}

.blog .navbar-brand-black,
.single-post .navbar-brand-black {
    display: block !important;
}

.blog .cart-info{
    color:#000 !important;
}

.meta-section {
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.meta-label {
    color: #000;
    font-weight: 600;
}

/* Style des icônes de partage social */
.product-meta-footer .social-icons {
    display: inline-flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

.product-meta-footer .social-share{
    margin: 0;
    padding: 0;
    border: none;
}

.product-meta-footer .social-icon {
    color: #666 !important;
    transition: color 0.3s ease;
    background: none;
    width: auto;
    height: auto;
    display: inline;
    line-height: 1;
}

.product-meta-footer .social-icon i {
    font-size: 14px !important; /* Contrôle la taille des icônes */
}

.meta-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-label {
    color: #000;
    font-weight: 600;
    margin: 0;
}

.category-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    cursor: pointer;
}
.tab {
    padding: 10px 15px;
    background: #eee;
    border-radius: 5px;
}
.tab.active {
    background: #333;
    color: #fff;
}
.content-section {
    display: none;
    margin-top: 15px;
}
.content-section.active {
    display: block;
}

/* Style des onglets de produit */
.category-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    gap: 30px;
    font-size: 14px; /* Réduit de 16px à 14px */
    color: #767676;
}

.category-tabs .tab {
    padding: 15px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;   
    position: relative;
}

.category-tabs .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.category-tabs .tab.active {
    color: #000;
}

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

/* Content Section */
.content-section {
    display: none;
    padding: 20px 0;
}

.content-section.active {
    display: block;
}

/* Description Tab Content */
.content-section h2 {
    font-size: 18px; /* Réduit de 22px à 18px */
    margin-bottom: 20px;
}

.content-section p {
    font-size: 13px; /* Ajout d'une taille spécifique */
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

/* Additional Information Tab */
table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px; /* Ajout d'une taille spécifique */
}

/* Reviews Section */
.woocommerce-Reviews-title {
    margin-bottom: 20px;
    font-size: 18px; /* Réduit de 20px à 18px */
}

/* Product Details Table */
.product-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px; /* Ajout d'une taille spécifique */
}

/* Header version sombre pour single-product */
.single-product .site-header {
    background-color: #000;
}

.single-product .navbar-brand-black {
    display: none !important;
}

.single-product .navbar-brand {
    display: block !important;
}

.single-product .navbar {
    background-color: #000 !important;
}

.single-product .navbar-nav .nav-link {
    color: #fff !important;
}

.single-product .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.single-product .btn-link,
.single-product .fa-shopping-cart,
.single-product .navbar-toggler-icon,
.single-product .cart-info {
    color: #fff !important;
}

.single-product .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Version scrollée */
.single-product .header-scrolled {
    background-color: #000 !important;
}

.single-product .header-scrolled .navbar {
    background-color: #000 !important;
}

/* Header version claire pour single-product */
.single-product .site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.single-product .navbar-brand {
    display: none !important;
}

.single-product .navbar-brand-black {
    display: block !important;
    margin-left: 20px;
    padding: 5px 0;
}

.single-product .navbar-brand-black img {
    width: 60%;
    height: auto;
}

.single-product .navbar {
    background-color: #fff !important;
}

.single-product .navbar-nav .nav-link {
    color: #000 !important;
}

.single-product .navbar-nav .nav-link:hover {
    color: #666 !important;
}

.single-product .btn-link,
.single-product .fa-shopping-cart,
.single-product .navbar-toggler-icon,
.single-product .cart-info,
.single-product .badge,
.single-product .cart-total {
    color: #000 !important;
}

single-product .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}

/* Version scrollée */
.single-product .header-scrolled {
    background-color: #fff !important;
}

.single-product .header-scrolled .navbar {
    background-color: #fff !important;
}

/* Style de la section des onglets */
.row.mt-5 {
    background-color: #f9f9f9;
    padding: 40px 0;
    margin-top: 0 !important; /* Changé de 60px à 0 */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.tab-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-tabs {
    max-width: 1140px;
    margin: 0 auto 30px;
    padding: 0 20px;
    gap: 30px;
    font-size: 14px; /* Réduit de 16px à 14px */
    color: #767676;
    display: flex;
    list-style: none;
    justify-content: center;
}

.category-tabs .tab {
    padding: 15px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.category-tabs .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.category-tabs .tab.active {
    color: #000;
}

.category-tabs .tab.active::after {
    height: 2px;
    background-color: #000;
}

.content-section {
    display: none;
    padding: 20px 0;
}

.content-section.active {
    display: block;
}

/* Style des sections de contenu */
.product-description {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.producer-section {
    padding: 0 0 0 30px;
    border-left: 1px solid #eee;
    height: 100%;
}

.producer-section .btn-outline-dark {
    border: 1px solid #000;
    color: #ffffff;
    padding: 12px 25px;
    transition: all 0.3s ease;
    background: black;
    font-size: 14px;
    text-align: center;
    border-radius: 0;
}

@media (max-width: 768px) {
    .row.mt-5 {
        padding: 30px 0;
    }
    
    .category-tabs {
        gap: 20px;
        padding: 0 15px;
    }
    
    .producer-section {
        padding: 30px 0 0 0;
        border-left: none;
        border-top: 1px solid #eee;
        margin-top: 30px;
    }
}

.similar-products-section {
    padding: 10px 0;
    background-color: #fff;
    margin-top: 60px;
}

.similar-products-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    color: #000;
}

.similar-product {
    margin-bottom: 30px;
    padding: 0 15px;
}

.similar-product:hover {
    transform: none; 
}

.similar-product .product-image {
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.similar-product .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-product:hover .product-image img {
    transform: none; 
}

.product-price-cart {
    position: relative;
    height: 30px;
    overflow: hidden;
}

.product-price-cart .price {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.product-price-cart .add-to-cart {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.similar-product:hover .product-price-cart .price {
    top: -100%;
}

.similar-product:hover .product-price-cart .add-to-cart {
    top: 0;
}

.similar-product:hover {
    transform: none;
}

.similar-product .product-image {
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.similar-product .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-product:hover .product-image img {
    transform: none;
}

.product-price-cart {
    position: relative;
    height: 30px;
    overflow: hidden;
}

.product-price-cart .price {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.product-price-cart .add-to-cart {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.similar-product:hover .product-price-cart .price {
    top: -100%;
}

.similar-product:hover .product-price-cart .add-to-cart {
    top: 0;
}

.product-price-cart .add-to-cart:hover {
    color: #666;
}

@media (max-width: 768px) {
    .similar-products-section {
        padding: 40px 0;
    }
    
    .similar-product {
        margin-bottom: 20px;
    }
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.similar-product {
    margin-bottom: 30px;
    padding: 0 15px;
}

.similar-product .product-image {
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%; 
}

.similar-product .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-product:hover .product-image img {
    transform: none;
}

.product-price-cart {
    position: relative;
    height: 30px;
    overflow: hidden;
}

.similar-product h3{
    font-size: 16px;
}

.product-price-cart .price {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.product-price-cart .add-to-cart {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.similar-product:hover .product-price-cart .price {
    top: -100%;
}

.similar-product:hover .product-price-cart .add-to-cart {
    top: 0;
}

.product-price-cart .add-to-cart:hover {
    color: #666;
}

@media (max-width: 768px) {
    .products-grid {
        margin: 0 -10px;
    }
    
    .similar-product {
        padding: 0 10px;
    }
}

.product-image {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    padding-bottom: 100%;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.similar-products-section .row{
    gap:0;
}

.similar-product .product-image {
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 100%; 
}

.similar-product .product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    object-fit: contain; 
}

@supports (object-fit: contain) {
    .similar-product .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: none;
        top: 0;
        left: 0;
    }
}

.single-product .social-icon.facebook:hover,
.single-product .social-icon.twitter:hover,
.single-product .social-icon.pinterest:hover,
.single-product .social-icon.linkedin:hover,
.single-product .social-icon.email:hover,
.single-product .social-icon.whatsapp:hover {
    background-color: transparent !important;
}

.similar-product .discount-badge {
    right: auto;
    left: 10px;
}

.product-gallery {
    position: relative;
    margin-bottom: 30px;
}

.product-main-slider {
    margin-bottom: 10px;
}

.product-thumbs {
    margin-top: 15px;
}

.product-thumbs .swiper-slide {
    height: 100px;
    overflow: hidden;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.product-thumbs .swiper-slide:hover {
    opacity: 0.7; /* Augmentation de l'opacité pour un effet plus blanc */
}

.product-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
}

.product-thumbs .swiper-slide:hover img {
    filter: brightness(1.2); /* Ajoute un effet de luminosité */
}

.product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.product-thumbs .swiper-slide-thumb-active:hover {
    opacity: 1; /* L'image active reste nette */
}

.product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.product-thumbs .swiper-slide-thumb-active:hover {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000 !important;
}

.swiper-slide {
    background: #fff;
}

/* Style pour maintenir le ratio des images */
.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-thumbs img {
    max-height: 100px;
    object-fit: cover;
}

.product-single .row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.product-gallery {
    position: relative;
    margin-bottom: 30px;
}

.col-md-6 {
    flex: 0 0 calc(50% - 15px);
    width: calc(50% - 15px);
}

.product-info {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .product-single .row {
        flex-direction: column;
    }

    .col-md-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.quantity {
    display: flex;
    align-items: stretch; /* Change align-items en stretch */
    border: 1px solid #dbdbdb;
    border-radius: 0;
    overflow: hidden;
    background-color: #f6f6f6;
    width: 80px;
    height: 40px; 
}

.quantity input[type="number"] {
    -moz-appearance: textfield;
    width: 40px;
    border: none;
    text-align: center;
    font-size: 14px; 
    padding: 0;
    background: #fff;
    margin: 0; 
    height: 100%; 
}

.quantity button {
    background: none;
    border: none;
    width: 40px; 
    padding: 0;
    font-size: 16px;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100%;
}

.woocommerce .quantity .qty{
    width: 100%;
}

/* PARTIE PRODUCTEURS */

.producer-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    position: relative;
    margin-bottom: 50px;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.1);
}

.producer-banner::before {
    content: none;
}

.banner-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 0; 
}

.banner-content h1 {
    font-size: 2rem; 
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.divider {
    width: 200px;
    height: 1px; 
    background: #fff;
    margin: 15px auto;
}

.banner-content p {
    font-size: 0.9rem; 
    line-height: 1.3;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding-top: 20px; 
}

.producer-card {
    margin-bottom: 30px;
    padding: 15px;
}

.producer-image {
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding-bottom: 65%;
    border-radius: 50%;
    width: 65%; 
    margin-left: auto;
    margin-right: auto;
}

.producer-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.producer-name {
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

.producer-job,
.producer-products,
.producer-region {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #666;
}

.btn-producer {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 15px;
}

.btn-producer:hover {
    background: #333;
    color: #fff;
}

.producers-title {
    text-align: center;
    margin: 20px 0; 
}

.producers-title h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.producers-divider {
    width: 200px;
    height: 1px;
    background: #666;
    margin: 15px auto 40px;
}

/* PARTIE SHOP SIDEBAR */
