/* ---- Header */

@font-face {
    font-family: 'LTMakeupRegular';
    src: url('../fonts/LTMakeupRegular.eot');
    src: url('../fonts/LTMakeupRegular.eot') format('embedded-opentype'),
         url('../fonts/LTMakeupRegular.woff2') format('woff2'),
         url('../fonts/LTMakeupRegular.woff') format('woff'),
         url('../fonts/LTMakeupRegular.ttf') format('truetype'),
         url('../fonts/LTMakeupRegular.svg#LTMakeupRegular') format('svg');
}

html{
  height: 100%;
}

body{
  font-family: 'Optima', sans-serif !important;
  color: #824607;
  font-size: 20px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'LTMakeupRegular', sans-serif;
  font-size: 3em;
  font-weight: lighter;
}

span{
  font-family: 'Optima', sans-serif;
}

header {
  padding: 0 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* pour qu'il passe au-dessus des autres éléments */
  background-color: #fff;
  border-bottom: 5px solid;
  border-color: #f2c744;
}

#logo {
  width: 170px;
  height: auto;
  padding-top: 5px;
}

li {
  text-decoration: none;
  padding: 20px;
  list-style: none;
}

#icon-panier{
  width: 30px;
}



header h2{
  text-align: right;
  margin: 0;
  font-size: 1.5em;
  display: block;
}

#ab{
  width: 40px;
  padding: 0 15px 0 0;
}


/* ---- Main */

main{
  margin-top: 130px;
}

.premier {
  background-image: url("https://test.odysseedengrain-patesbio.fr/wp-content/uploads/2025/05/fond-rogner-e1749818105566.jpeg");
  width: 100%;
  min-height: 80vh; /* Pour qu'elle prenne toute la hauteur de l'écran si besoin */
  background-size: cover; /* Ajuste l’image pour couvrir toute la section */
  background-position: left; /* Centre l’image */
  background-repeat: no-repeat; /* Évite la répétition */
  margin: 0; /* Important si tu as des marges par défaut */
  padding: 0;
  color: #f2c744;
  border-top: 10px solid;
  border-bottom: 10px solid;
}

.hero {
  box-shadow : 0 5px 20px rgba(0,0,0,0.5);
  background-color: rgba(146,100,67,0.8);
  border-radius: 40px;
  position: absolute;
  top: 350px; /* 300 pour fond.jpg */
  left: 80px;
  width: 800px;
  padding-left: 40px;
  height: 450px;
  color: #fff;
}

.hero h1{
  font-size: 2.5em;
  margin: 25px 0 10px 0;
}

.hero p{
  padding: 0 0 40px 0;
  margin-top: 0;
  margin-bottom: 0;
}

.bouton1{
  padding: 10px;
  text-decoration: none;
  color: #fff;
  border: 1.5px solid;
  border-radius: 10px;
}

.bouton1:hover{
  background-color: #fff;
  color: #824607;
  transition : 0.3s ease-in-out;
}

h2{
  margin-left: 100px;
  margin-top: 25px;
}

.deuxieme h2{
  margin-bottom: 25px;
  text-align: center;
  margin-left: 0;
}

#famille{
  display: block;
  width: 80%;
  margin: 0 auto;
}

.boutons{
  display: flex;
  justify-content: space-around;
  font-size: 1.1em;
  margin-bottom: 50px;

}

#bouton-droite {
  background-color: #f2c744;
  text-decoration: none;
  color: #824607;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;
}

#bouton-droite:hover{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

#bouton-gauche {
  background-color: #f2c744;
  text-decoration: none;
  color: #824607;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;

}

#bouton-gauche:hover{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.troisieme{
  padding-top: 40px;
  background-color: #8eb62e;
  color: #824607;
}

.troisieme h2{
  margin-left: 230px;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 3px solid #fff;
  width: 1050px;
}

.video{
  display: flex;
  justify-content: center;
}

/* Montagne normal :
.montagne{
  display: flex;
  justify-content: center;
  height: 260px;
  z-index: 3;
  margin-top: 60px;
  margin-bottom: 0;
}/*

/* Chaine de montagne */
.montagne{
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 3;
  padding-top: 60px;
  margin-bottom: 0;
}

#montagne-prod{
  background-color: #8eb62e;
  margin-top: 0;
  padding-top: 20px;
}
/* ---- Footer */

.contact{
  display: flex;
  justify-content: space-around;
  padding: 40px 40px 0 40px;
}

#icon-tel{
  width: 50px;
  padding: 5px;
}

#icon-mail{
  width: 60px;
}

.footer-contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#texte-footer{
  text-align: center;
}

.ml-pdc{
  background-color: #824607;
  color: #fff;
  font-size: 1.1rem;
  padding: 5px 0;
  display: flex;
  justify-content: center;
}

.ml-pdc a{
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.ml-pdc a:hover{
  text-decoration: underline;
}


/* ---- Qui sommes-nous ? */


section.pre-qsn{
  text-align: center;
  background-color: #f2c744;
  padding: 80px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-qsn h1{
  margin: 0;
  margin-left: 300px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 3px solid #fff;
}

section.pre-qsn h2{
  font-size: 2em;
}

.laptop-version{
  display: block;
}

.mobile-version{
  display: none;
}

.histoire{
  margin: 40px 0 80px 0;
}

.histoire p{
  padding: 0 100px;
}

#histoire{
  position: absolute;
  width: 400px;
  left: 1000px;
  top: 550px;
  border-radius: 10px;
}

.auto-alimentaire img{
  width: 100%;
  margin: 0;
}

.pates{
  margin: 80px 0 150px 0;
}

.pates p{
  padding-left: 100px;
}

#pates{
  position: absolute;
  width: 350px;
  top: 2380px;
  right: 100px;
  border-radius: 10px;
}

.gouvernance{
  margin: 40px 0 80px 0;
  background-color: #F2C744;
  display: flex;
  border-radius: 50px 0 0 50px;
  padding: 20px 50px 20px 20px;
  margin-right: 0;
  margin-left: 100px;
}

.gouvernance-info img{
  width: 500px;
}

.gouv-texte h2{
  margin-left: 50px;
  padding-right: 50px;
}

.gouv-texte p{
  padding: 0 100px 0 50px;
}

#mont-qsn{
  padding-top: 50px;
}

/* ---- Nos Producteurs */

section.pre-prod{
  text-align: center;
  background-color: #8eb62e;
  padding: 40px 40px 20px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-prod h1{
  margin: 0 0 20px 300px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

section.pre-prod h2{
  font-size: 2em;
  margin-left: 0;
}

.float-prod{
  display: flex;
}

.image-prod img{
  width: 400px;
  float: left;
  margin-top: -40px;
  margin-left: 40px;
}

.texte-pre-prod{
  float: right;
  text-align: left;
  padding-left: 40px;
  padding-right: 40px;
}

.prod{
  padding: 40px 80px;
}
.prod2{
  background-color: #8eb62e;
}

section.producteurs h3{
  margin: 0;
}

section.producteurs img{
  border: 4px solid;
  border-color: #8eb62e;
  border-radius: 30px;
  width: 400px;
  height: 350px;
  object-fit: cover;
  box-shadow : 0 5px 10px rgba(0,0,0,0.3);
}

section.producteurs .float-droite img{
  border-color: #fff;
}

.float-gauche{
  display: flex;
  align-items: flex-start;
}

.float-gauche > .infos-prod{
  float: right;
  margin-left: 40px;
}

.float-droite{
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.float-droite > .infos-prod{
  float: left;
  margin-right: 40px;
  text-align: right;
}

section.producteurs2{
  text-align: center;
  background-color: #8eb62e;
  padding: 80px 20px 0 40px;
  box-shadow : 0 -8px 8px rgba(0,0,0,0.5);
}

section.producteurs2 h2{
  font-size: 2em;
  margin-left: 0;
  margin-bottom: 0;
}

section.producteurs2 p{
  margin: 0;
  padding-bottom: 20px;
}

/* ---- Nos Partenaires */

section.pre-part{
  text-align: center;
  background-color: #f2c744;
  padding: 80px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-part h1{
  margin: 0;
  margin-left: 250px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

section.pre-part h2{
  font-size: 2em;
  margin-left: 0;
}

.partenaires{
  padding: 40px 80px;
}



.group-part-1,
.group-part-2,
.group-part-3,
.group-part-4,
.group-part-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
  padding: 2rem;
}

.part {
  width: 200px; /* largeur fixe pour en mettre 4 par ligne sans déborder */
  text-align: center;
}

.part a{
  text-decoration: none;
}

.part img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.part p {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: #824607;
}


/* ---- Points de Vente */

section.pre-pdv{
  text-align: center;
  background-color: #8eb62e;
  padding: 80px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-pdv h1{
  margin: 0;
  margin-left: 270px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

section.pre-pdv h2{
  font-size: 2em;
  margin-left: 0;
}

section.pdv{
  padding: 40px 80px;
  height: 300px;
}

.infos-carte{
  width: 550px;
  float: left;
}

.carte{
  width: 750px;
  float: right;
}


/* ---- Infos pour les pros */
section.pre-pro{
  text-align: center;
  background-color: #f2c744;
  padding: 80px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-pro h1{
  margin: 0;
  margin-left: 270px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

.revendeurs{
  margin-top: 80px;
}

.revendeurs h2{
  margin-bottom: 25px;
}

.revendeurs p{
  padding-left: 100px;
}

#revendeurs{
  position: absolute;
  top: 420px;
  right: 100px;
  width: 300px;
  border-radius: 8px;
}

.fabrication{
  margin: 180px 0 80px 0;
}

.fabrication h2{
  margin: 25px 0 25px 450px;
}

.fabrication p{
  margin: 50px 0 0 450px;
  padding-right: 100px;
}

#fabrication{
  position: absolute;
  top: 850px;
  left: 100px;
  width: 300px;
}

#montagne-pro{
  padding-top: 0;
}


/* ---- Contact */

section.pre-contact{
  text-align: center;
  background-color: #f2c744;
  padding: 80px 40px;
  box-shadow : 0 5px 10px rgba(0,0,0,0.5);
  color: #824607;
}

section.pre-contact h1{
  margin: 0;
  margin-left: 250px;
  width: 900px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
}

section.pre-contact h2{
  font-size: 2em;
  margin-left: 0;
}

.formulaire{
  margin: 40px 150px;
}

.formulaire h2{
  margin: 40px 0 25px 0;
}

#wpforms-confirmation-442{
  background-color: #8eb62e;
}




/* ---- Panier */

.custom-panier-btn {
  background-color: #9e815f;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}



/* ---- Boutique */

.boutique-container {
  padding: 2rem;
  max-width: 1400px;
  margin: auto;
}

.promo-banner {
  background: #fff4d2;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  border: 1px solid #e1dac4;
  border-radius: 8px;
}

.custom-title {
  font-size: 3.4rem;
  color: #824607;
  text-align: center;
  margin-bottom: 2rem;
}

.product-categories {
  margin-bottom: 2rem;
  color: #824607;
}

.h5 {
  font-size: 3rem !important;
  margin-left: 0;
  margin-bottom: 20px;;
}

*, ::after, ::before{
  box-sizing: border-box;
}

.product-categories h2{
  font-size: 2.8rem;
  margin-left: 0;
}

.category-list *, .category-list *::before, .category-list *::after {
  box-sizing: content-box !important;
}

.category-list {
  display: flex;
  flex-direction: row; /* Bis : column */
  justify-content: center;
  gap: 0.2rem; /* Bis : 0.3rem */
  list-style: none;
  padding: 0;
}

.category-list li{
  padding: 20px;
}

.category-list li a {
  background: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 5px;
  text-decoration: none;
  color: #824607;
  transition: 0.2s;
}

.category-list li a:hover {
  background: #824607;
  color: #fff;
}

/* Style général des boutons de filtre */
.category-button a {
  /*display: inline-block;*/
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  color: #fff;
  font-size: 1em;
  height: 75px;
  text-align: center;
  align-items: center;
}

.category-button.active a {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.category-button.tous-nos-produits a {
  border: 2px solid #824607;
  width: 80px !important;
}

.category-button.poulard a {
  background-color: #f2c744;
  width: 130px !important;
  color: #fff;
}

.category-button.petit-epeautre a {
  background-color: #8eb62e;
  color: #fff;
}

.category-button.legumineuses a {
  background-color: #da6220;
  width: 140px !important;
  color: #fff;
}

.category-button.aromatisees a {
  background-color: #ba5a87;
  color: #fff;
}

.category-button.mix a {
  background-color: #eedab3;
  color: #fff;
}

.category-button.sachets a, .category-button.vrac a {
  background-color: #ebded8;
  color: #824607;
  border: 2px solid #824607;
}

.products {
  display: grid !important;
  /*display: flex;
  flex-wrap: wrap;
  justify-content: center;*/
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.products.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4.8rem;
  padding-left: 0;
}

@media (max-width: 768px) {
  body.woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
  ul.products.list-view {
    flex-direction: column !important;
  }

  ul.products:not(.list-view) {
    grid-template-columns: 1fr !important;
  }

  .products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .products > li.product {
    width: 100% !important;
    margin: 0 auto !important;
  }
}


.boutique-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.boutique-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.boutique-products {
  flex: 1;
}


/* Colonne de gauche (filtres) */
.boutique-sidebar {
  flex: 0 0 250px;
  position: sticky;
  top: 2rem; /* distance depuis le haut */
  align-self: flex-start;
  height: fit-content;
}

/* Colonne de droite (produits) */
.boutique-products {
  flex: 1;
}


/* Pagination */
.woocommerce-pagination {
  text-align: center;
  margin-top: 2rem;
}

.woocommerce-pagination ul {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination li {
  margin: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  display: block;
  padding: 0.6rem 1rem;
  background-color: #f3f3f3;
  color: #824607;
  border: 1px solid #824607;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-pagination a:hover {
  background-color: #fff4d2;
}

.woocommerce-pagination .current {
  background-color: #824607;
  color: #fff;
  border-color: #824607;
}

/* Bouton switch */

.view-toggle {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: flex-end;
  position: absolute;
  top: 350px;
  left: 1350px;
}

.view-btn {
  font-size: 1.5rem;
  text-decoration: none;
  color: #824607;
  padding: 0.3rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background 0.2s;
}

.view-btn.active {
  background: #f5f5f5;
  border-color: #824607;
}

/* H3 */

.sticky-section {
  position: sticky;
  top: 120px; /* Ajuste selon ta barre de navigation */
  background: rgba(255, 255, 255, 0.6); /* Couleur + transparence */
  backdrop-filter: blur(6px); /* flou d'arrière-plan */
  -webkit-backdrop-filter: blur(6px); /* support Safari */
  z-index: 10;
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 2px solid #824607;
  color: #824607;
  font-size: 3rem;
  margin-top: 0;
}

.sticky-section::before {
  content: " ";
  display: block;
  height: 1rem;
}

.subcategory-title{
  margin: 60px 0 20px 0;
  font-size: 2.8rem !important;
}


/* ---- Content-product */

/* Container de chaque produit */
.product-card {
  background-color: #fff !important;
  padding: 1rem !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  text-align: center !important;
  height: 420px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  width: 100% !important;
  max-width: 305px !important;
  box-sizing: border-box !important;
  margin: 0.5rem !important;
}

.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Image du produit */
.product-image img {
  width: 230px !important;
  height: 180px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  margin-bottom: 20px;
}

.product_cat-poulard .product-image img,
.product_cat-poulard .product-list-image img {
  border: 3px solid #f2c744 !important;
}

.product_cat-petit-epeautre .product-image img,
.product_cat-petit-epeautre .product-list-image img {
  border: 3px solid #8eb62e !important;
}

.product_cat-legumineuses .product-image img,
.product_cat-legumineuses .product-list-image img {
  border: 3px solid #da6220 !important;
}

.product_cat-aromatisees .product-image img,
.product_cat-aromatisees .product-list-image img {
  border: 3px solid #ba5a87 !important;
}

.product_cat-mix .product-image img,
.product_cat-mix .product-list-image img {
  border: 3px solid #eedab3 !important;
}

/* Nom du produit */
.product-title a,
.woocommerce-loop-product__title a,
.product-short-description a {
  text-decoration: none !important;
  color: #824607 !important;
}

.product-title {
  font-size: 2rem !important;
  font-weight: bold !important;
  color: #824607 !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
  margin: 0 auto !important;
}

/* Prix du produit */
.product-price {
  font-size: 1.3rem !important;
  color: #824607 !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

/* Bouton d'ajout au panier */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product_cat-poulard .product-add-to-cart a,
.product_cat-poulard .product-buttons a {
  background-color: #f2c744 !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product_cat-petit-epeautre .product-add-to-cart a,
.product_cat-petit-epeautre .product-buttons a {
  background-color: #8eb62e !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product_cat-legumineuses .product-add-to-cart a,
.product_cat-legumineuses .product-buttons a {
  background-color: #da6220 !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product_cat-aromatisees .product-add-to-cart a,
.product_cat-aromatisees .product-buttons a {
  background-color: #ba5a87 !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product_cat-mix .product-add-to-cart a,
.product_cat-mix .product-buttons a {
  background-color: #eedab3 !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  color: #fff !important;
}

.product-add-to-cart a:hover,
.product-buttons a:hover {
  background-color: #824607 !important;
  color: #fff !important;
}

.product-image {
  position: relative !important;
  display: block !important;
}

.badge-featured-grille {
  position: absolute !important;
  top: 23px !important;
  left: -7px !important;
  background-color: #feae76 !important;
  color: #fff !important;
  padding: 0.3rem 0.7rem !important;
  font-size: 0.9rem !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  z-index: 2 !important;
}

.badge-ephemere-grille {
  position: absolute !important;
  top: -10px !important;
  left: -7px !important;
  background-color: #fff !important;
  color: #feae76 !important;
  padding: 0.3rem 0.6rem !important;
  font-size: 0.9rem !important;
  border: 1px solid #feae76 !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  z-index: 2 !important;
}

/* Grille responsive de produits */
.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}


.products .product {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Liste vue produit */
ul.products.list-view {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.product-list-item {
  display: flex !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  padding: 1.5rem !important;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  align-items: center !important;
  background: #fff !important;
}

.product-list-inner {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 2rem !important;
}

.product-list-content {
  flex: 1 !important;
}

.product-list-content h2 {
  margin: 0 0 0.5rem 0 !important;
  font-size: 1.8rem !important;
  color: #824607 !important;
}

.product-list-content .price {
  font-weight: bold !important;
  color: #333 !important;
  margin-bottom: 0.5rem !important;
}

.product-short-description {
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
  color: #666 !important;
}

.product-list-image img {
  max-width: 200px !important;
  height: auto !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

.badge-featured {
  display: inline-block !important;
  margin-left: 0.5rem !important;
  background-color: #feae76 !important;
  color: #fff !important;
  padding: 0.2rem 0.6rem !important;
  font-size: 0.9rem !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  vertical-align: middle !important;
}

.product-tags {
  display: flex !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 1rem 0 !important;
}

.product-tags li {
  background-color: #ececec !important;
  color: #444 !important;
  padding: 0.3rem 0.7rem !important;
  font-size: 0.85rem !important;
  border-radius: 4px !important;
}

ul.products.list-view > li {
  padding-bottom: 2rem !important;
  margin-bottom: 2rem !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.product-buttons a {
  padding: 0.5rem 1rem !important;
}

.badge-ephemere {
  display: inline-block !important;
  margin-left: 0.5rem !important;
  background-color: #fff !important;
  color: #feae76 !important;
  padding: 0.2rem 0.6rem !important;
  font-size: 0.9rem !important;
  border: 1px solid #feae76 !important;
  border-radius: 5px !important;
  font-weight: bold !important;
  vertical-align: middle !important;
}



/* ---- Single-product */

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.back-button {
  margin-bottom: 3rem;
}

.back-button a{
  text-decoration: underline;
  color: #824607;
}

.product-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.swiper.product-gallery {
  flex: 1 1 20%;
  border-radius: 20px;
}

.swiper.product-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.swiper-button-prev, div.swiper-button-next{
  color: #f2c744;
}

.swiper-pagination-bullet-active {
  background: #f2c744 !important;
}

.swiper.product-gallery img.image-product {
  height: auto;
  width: 400px;
}

.product-summary {
  flex: 1 1 50%;
}

.title-product{
  font-size: 3.5rem;
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
}
.tags-product, .price-product, .short-description-product {
  margin-top: 1rem;
}

.tags-product {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 3rem 0;
}

.tags-product li {
  background-color: #ececec;
  color: #444;
  padding: 0.3rem 0.7rem;
  font-size: 1rem;
  border-radius: 4px;
}

.price-product{
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 2rem;
}

form.cart{
  margin-top: 0.8rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.quantity input{
  padding: 10px 15px;
  border: 2px solid #f2c744;
  border-radius: 8px;
  color: #824607;
  font-weight: bold;
  width: 75px;
}

form.cart button{
  background-color: #f2c744;
  color: #824607;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Optima', sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: none;
}

form.cart button:hover{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.product-description-full, .product-reviews {
  margin-top: 3rem;
}

#tab-details li {
  list-style: disc;
  padding: 10px;
}

.product-tabs {
  margin-top: 2em;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
}

.tab-btn {
  padding: 0.8em 1.2em;
  cursor: pointer;
  background: #f5f5f5;
  margin-right: 5px;
  border-radius: 5px 5px 0 0;
}

.tab-btn.active {
  background: white;
  border-bottom: 2px solid transparent;
  font-weight: bold;
}

.tab-content {
  display: none;
}

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

section.related {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid #eee;
}

section.related.products{
  display: flex;
  flex-direction: column;
}

section.related h2 {
  font-size: 2.5em;
  margin-bottom: 1em;
  margin-left: 0;
  text-align: center;
  width: 100%;
}

section.related ul h2{
  font-size: 1.8em;
  font-weight: lighter;
}

section.related ul.products.columns-4{
  margin-left: 100px;
  width: 100%;

}

section.related ul .product-price{
  margin-top: -20px;
}

/* ---- Single-product-reviews */

/* Formulaire */
.required{
  color: #feae76;
}

#review_form_wrapper {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 2rem auto;
}

#review_form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  color: #824607;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 95%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
  background: #fff;
}

#review_form input:focus,
#review_form textarea:focus {
  border-color: #824607;
  outline: none;
}

.comment-form-rating {
  margin-bottom: 1.5rem;
}

.star-rating-input {
  display: flex;
  gap: 0.3rem;
  margin-right: 525px;
  flex-direction: row-reverse;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input label {
  font-size: 2rem;
  color: #ccc !important;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.star-rating-input input[type="radio"]:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #ffc700 !important;
}


.star-rating-input input[type="radio"]:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #f39c12;
}



/* Bouton envoyer */
#review_form input[type="submit"],
#review_form button {
  background-color: #f2c744;
  color: #824607;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Optima', sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: none;
}

#review_form input[type="submit"]:hover,
#review_form button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/* Messages */
.woocommerce-verification-required,
.woocommerce-noreviews,
.must-log-in {
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  #review_form_wrapper {
    padding: 1rem;
  }

  .star-rating-input label {
    font-size: 1.6rem;
  }
}

/* Wrap */
.toggle-review-button {
  background-color: #f2c744;
  color: #824607;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Optima', sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  border: none;
}

.toggle-review-button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.comment-form-rating label {
  display: block;
  margin-bottom: 0.4rem;
}

/* ---- Cart */

main.panier{
  margin-left: 40px;
  margin-right: 40px;
}

h1.panier{
  text-align: center;
  padding-top: 40px;
}

.shop_table.cart img {
  max-width: 60px;
  height: auto;
}

td.product-name a{
  text-decoration: underline;
  color: #824607;
}

.actions button[name="update_cart"]{
  display: none !important;
}



.custom-cart-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.custom-announcement {
  flex: 1;
  min-width: 280px;
  background-color: #fff4d2;
  padding: 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  height: 150px;
  width: 300px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-shop-button {
  background-color: #824607!important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  border: none !important;
  font-size: 1.2em !important;
  padding: 12px 20px;
}

.custom-shop-button:hover{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
  cursor: pointer !important;
}

.woocommerce-cart-totals {
  flex: 1;
}

.woocommerce-cart-totals .cart_totals{
  width: 100% !important;
  padding-left: 20px;
}

.cart_totals h2{
  margin-left: 0;
  font-size: 2em;
  margin-bottom: 10px;
}

.checkout-button {
  background-color: #f2c744!important;
  color: #824607 !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  border: none !important;
}

.checkout-button:hover{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
  cursor: pointer !important;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    display: none !important;
}


/* ---- Cart-fly */

.added_to_cart{
  display: none;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart{
  background-color: #f2c744 !important;
  font-size: 1rem !important;
  text-align: center !important;
  height: 55px !important;
}

.woofc-area.woofc-rounded-yes.woofc-position-05 .woofc-inner{
  border-radius: 20px;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart{
  text-transform: none;
  color: #824607;
  font-weight: bold;
}

.woofc-area.woofc-style-01 .woofc-area-bot .woofc-link span{
  text-transform: none;
}

span.woofc-area-heading{
  text-transform: uppercase;
  font-weight: bold;
}

.woofc-area.woofc-style-01 .woofc-area-top{
  text-transform: none;
  font-weight: normal;
}

.custom-confirm-overlay{
  background-color: #f2c744;
}

/* ---- Cart-empty */

.panier-vide{
  margin: 40px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff4d2;
  border-radius: 10px;
}

/* Test */

.comment-form-cookies-consent{
  display: flex;
  align-items: flex-start;
}

.comment-form-cookies-consent label{
  margin-left: 5px;
}






/* Custom styles for related products */

.upsell-products {
    margin-top: 20px;
}

.upsell-products h2 {
    font-size: 3rem;
    margin-left: 0;
    text-align: center;
    margin-bottom: 15px;
}

.custom-upsell-products {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Space items evenly */
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.custom-upsell-products .product-card {
    flex: 1 1 calc(33.33% - 10px); /* Adjust width for 3 products with spacing */
    margin: 5px; /* Space between products */
    text-align: center; /* Center align text */
}

.custom-upsell-products .product-card img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .custom-upsell-products .product-card {
        flex: 1 1 100%; /* Full width for each product on mobile */
    }
}
