/* css/style.css */
/* THÈME : LES BOCAUX À PAPA - MISE EN PAGE & STYLE */

/* ==============================================================================
   1. BASE & TYPOGRAPHIE
   ============================================================================== */
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Police spécifique H1, H2, H3 (Atocha) */
h1, h2, h3 {
  font-family: var(--font-h1h2);
}

h1 { 
  text-align: center;
}

p {
  margin-bottom: 1rem;
}

/* Liens (Décoration) */
a, .link {
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus, .link:hover, .link:focus {
  text-decoration: underline;
}

/* Utilitaires */
.float-left { float: left; }
.float-right { float: right; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==============================================================================
   2. BOUTONS (FORME & TAILLE)
   ============================================================================== */
.btn {
  font-family: var(--font-heading);
  text-transform: uppercase;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  border-width: 2px;
}

/* ==============================================================================
   3. NAVBAR (MISE EN PAGE & TAILLE)
   ============================================================================== */
.navbar a {
  font-family: var(--font-h1h2) !important;
  font-size: 25px;
  font-weight: 600;
  margin-left: 1rem;
}

.nav-link.active {
  font-weight: 800;
}

.menu--main { 
  margin: auto; 
}



/* ==============================================================================
   4. SECTIONS & LAYOUT
   ============================================================================== */
.section-bocaux {
  padding: 4rem 0;
}

.path-frontpage h1.title {
  display: none;
}

/* Rows alternées */
.row-odd-b h3, .row-even-b h3,
.row-odd-b h4, .row-even-b h4 {
  text-align: center;
}

.row-odd-b {
  padding: 1rem 0.5rem;
  margin: 1rem 0;
}

.row-even-b {
  background-color: var(--bocaux-white);
  padding: 2rem 1rem;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(89, 106, 26, 0.15);
  transform: scale(1.01);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row-even-b:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(89, 106, 26, 0.25);
}

/* Flexbox pour alignement vertical */
.row-odd-b, .row-even-b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.row-odd-b .col-sm-6, 
.row-even-b .col-sm-6,
.row-odd-b .col-md-6, 
.row-even-b .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row-even-b img {
  margin-left: auto;
}

/* Image spécifique cuisine */
img[src*="IMG_20220623_143031"] {
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 500px;
}

/* ==============================================================================
   5. IMAGES & CONTENU
   ============================================================================== */
.field--name-body img, 
.node__content img {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin: auto;
}

/* ==============================================================================
   6. SLIDER & CAROUSEL
   ============================================================================== */
.bocaux-slider-container {
  max-height: 500px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.bocaux-slider-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.bocaux-slider-container img.active {
  opacity: 1;
  z-index: 2;
}

.bocaux-slider-wrapper {
  min-height: 400px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slideshow-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.slideshow-item.active {
  opacity: 1;
  z-index: 2;
}

.content .slideshow-group img {
  height: 400px;
}

/* Carousel Clients */
.block-views-blockclients-block-1 h2,
.carousel-item {
  text-align: center;
  align-items: center;
}

.carousel {
  margin-bottom: 1rem;
}

/* Alignement logos clients */
.row:has(.image-style-clients) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.col-md-3:has(.image-style-clients) {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.image-style-clients {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==============================================================================
   7. CARTES PRODUCTEURS (LAYOUT & TAILLE)
   ============================================================================== */
/* Dimensions des colonnes */
/*.view-maraichers-productreurs .col-sm-2 { width: 48%; margin: auto; } 
.view-maraichers-productreurs .col-md-3 { width: 23%; margin: auto; } 
.view-maraichers-productreurs .col-md-4 { width: 32%; margin: auto; } 
.view-maraichers-productreurs .col-lg-4 { width: 32%; margin: auto; }
*/
/* Structure de la carte */
.view-maraichers-productreurs .col-12, 
.view-maraichers-productreurs .col-sm-6, 
.view-maraichers-productreurs .col-md-4, 
.view-maraichers-productreurs .col-md-3, 
.view-maraichers-productreurs .col-lg-3 {
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-maraichers-productreurs .col-12 > *, 
.view-maraichers-productreurs .col-sm-6 > *, 
.view-maraichers-productreurs .col-md-4 > *, 
.view-maraichers-productreurs .col-md-3 > *, 
.view-maraichers-productreurs .col-lg-3 > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Effet Hover (Mouvement) */
.view-maraichers-productreurs .col-md-4:hover, 
.view-maraichers-productreurs .col-md-3:hover, 
.view-maraichers-productreurs .col-lg-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(89, 106, 26, 0.2);
}

/* Image Producteur */
.view-maraichers-productreurs .views-field-field-image {
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-maraichers-productreurs .views-field-field-image img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  border-radius: 10px;
}

/* Titre Producteur (Typo) */
.view-maraichers-productreurs .views-field-title {
  margin-bottom: 0.8rem;
  width: 100%;
}

.view-maraichers-productreurs .views-field-title a {
  font-family: var(--font-h1h2);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  line-height: 1.2;
  transition: color 0.3s ease;
}

/* Badge Produits (Typo & Forme) */
.view-maraichers-productreurs .views-field-field-produits {
  margin-bottom: 1.2rem;
  width: 100%;
}

.view-maraichers-productreurs .views-field-field-produits .field-content {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-block;
}

/* Description Body (Typo) */
.view-maraichers-productreurs .views-field-body {
  margin-top: auto;
  width: 100%;
}

.view-maraichers-productreurs .views-field-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Mobile Producteurs */
@media (max-width: 768px) {
  .view-maraichers-productreurs .col-12, 
  .view-maraichers-productreurs .col-sm-6 {
    margin-bottom: 1.5rem;
  }
  
  .view-maraichers-productreurs .col-12 > *, 
  .view-maraichers-productreurs .col-sm-6 > * {
    padding: 1rem;
  }
  
  .view-maraichers-productreurs .views-field-title a {
    font-size: 1.2rem;
  }
}

/* ==============================================================================
   8. FOOTER (LAYOUT)
   ============================================================================== */
.site-footer {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 35px 0 30px;
  margin-top: 1rem;
}

.site-footer__top .region,
#block-bocaux-boot-nouscontacter {
  width: 100%;
  padding: 0 0.65%;
}

.site-footer .block {
  border: none;
}

.site-footer__top h2 {
  font-size: 2em;
}

.site-footer__top .block-views h2 {
  padding-bottom: 24px;
}

.site-footer .content a, 
.site-footer .content a.is-active {
  font-size: 20px;
  text-decoration: none;
  padding-left: 10px;
}

/* Menu Footer */
#block-bocaux-boot-navigationprincipale {
  margin: 20px 0;
  padding: 10px;
  float: right;    
  width: 100%;
}

#block-bocaux-boot-navigationprincipale h2 {
  border-bottom: 5px solid; /* La couleur vient de colors.css */
  padding-bottom: 15px;
}

#block-bocaux-boot-navigationprincipale .navbar-nav li { 
  list-style: circle;
}

#block-bocaux-boot-navigationprincipale ul.navbar-nav { 
  margin-left: 1rem;
}

.node--type-producteurs .col-sm-6.field--name-field-image {
  margin: 0;
}

.view-liens-pied-de-page .view-footer {
  text-align: center;
  margin-top: 1rem;
}

/* Responsive Footer */
@media (min-width: 548px) {
  #block-bocaux-boot-nouscontacter {
    width: 64%;
    padding: 0 0.65%;
  }
  #block-bocaux-boot-navigationprincipale {
    width: 33%;
    padding: 0 0.65%;
  }
}

/* ==============================================================================
   9. SECTION CONTACT (LAYOUT & TAILLE)
   ============================================================================== */
.bocaux-contact-title {
  font-family: var(--font-h1h2);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.bocaux-separator {
  height: 4px;
  width: 60px;
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}

.bocaux-contact-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.bocaux-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.bocaux-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bocaux-contact-link {
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

/* Logos Réseaux Sociaux (TAILLE UNIFORME) */
.bocaux-social-link {
  display: block;
  transition: transform 0.3s ease;
}

.bocaux-social-img {
  width: auto;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}
img.bocaux-social-img {
  height: 50px; /* Force la même hauteur pour tous */
}

.bocaux-social-link:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Responsive Contact */
@media (max-width: 768px) {
  .bocaux-contact-title {
    font-size: 2rem;
  }
  
  .text-md-end, .text-md-start {
    text-align: center !important;
  }
  
  .align-items-md-end, .justify-content-md-start {
    align-items: center !important;
    justify-content: center !important;
  }
  
  .bocaux-contact-item {
    justify-content: center;
  }
}

/* ==============================================================================
   10. SECTION COPYRIGHT
   ============================================================================== */

.region-footer-fifth .content a {
    font-size: inherit;
    text-decoration: none;
    padding-left: 0;
}


/* ==============================================================================
   11. BREADCRUMBS (FIL D'ARIANE) - MISE EN PAGE & TYPO
   ============================================================================== */

#block-bocaux-boot-breadcrumbs {
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.breadcrumb {
  background-color: transparent; /* Pas de fond gris Bootstrap par défaut */
  border-radius: 0;
  padding: 0;
  font-family: var(--font-h1h2); /* Police Atocha comme les H1/H2 */
  font-size: 0.95rem;
  font-weight: 600;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Séparateur personnalisé (on remplace le "/" par ">" ou autre) */
.breadcrumb-item + .breadcrumb-item::before {
  content: ">"; /* Ou "/" ou "•" selon ton goût */
  padding: 0 0.5rem;
  font-weight: 400;
  font-family: var(--font-body); /* Oswald pour le séparateur */
}

/* Page actuelle (active) */
.breadcrumb-item.active {
  font-weight: 700;
}

/* ==============================================================================
   12. HAUT DE PAGE - MENU TRANSISTION
   ============================================================================== */

body.user-logged-in.page-view-papa-ou-t-es,
body.user-logged-in.page-view-maraichers-productreurs,
body.user-logged-in.page-node-33 {
  padding-top: 270px !important;
}

body:not(.user-logged-in).page-view-papa-ou-t-es,
body:not(.user-logged-in).page-view-maraichers-productreurs,
body:not(.user-logged-in).page-node-33 {
  padding-top: 175px !important;
}

body.navbar-is-scrolled.user-logged-in.page-view-papa-ou-t-es,
body.navbar-is-scrolled.user-logged-in.page-view-maraichers-productreurs,
body.navbar-is-scrolled.user-logged-in.page-node-33 {
  padding-top: 220px !important;
}

body:not(.user-logged-in).navbar-is-scrolled.page-view-papa-ou-t-es,
body:not(.user-logged-in).navbar-is-scrolled.page-view-maraichers-productreurs,
body:not(.user-logged-in).navbar-is-scrolled.page-node-33 {
  padding-top: 150px !important;
}

@media (max-width: 768px) {
body.user-logged-in.page-view-papa-ou-t-es,
body.user-logged-in.page-view-maraichers-productreurs,
body.user-logged-in.page-node-33 {
  padding-top: 270px !important;
}

body:not(.user-logged-in).page-view-papa-ou-t-es,
body:not(.user-logged-in).page-view-maraichers-productreurs,
body:not(.user-logged-in).page-node-33 {
  padding-top: 55px !important;
}

body.navbar-is-scrolled.user-logged-in.page-view-papa-ou-t-es,
body.navbar-is-scrolled.user-logged-in.page-view-maraichers-productreurs,
body.navbar-is-scrolled.user-logged-in.page-node-33 {
  padding-top: 220px !important;
}

body:not(.user-logged-in).navbar-is-scrolled.page-view-papa-ou-t-es,
body:not(.user-logged-in).navbar-is-scrolled.page-view-maraichers-productreurs,
body:not(.user-logged-in).navbar-is-scrolled.page-node-33 {
  padding-top: 130px !important;
}
}

/* ==============================================================================
   13. FICHE PRODUIT SINGLE (GRID STABLE)
   ============================================================================== */

/* 1. Le Conteneur : Une grille de 2 colonnes fixes */
.path-product article {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem;
  background-color: var(--bocaux-white);
  border-radius: 20px;
  border: 1px solid rgba(89, 106, 26, 0.1);
  
  display: grid;
  /* Colonne 1 : Image (40%) | Colonne 2 : Texte (60%) */
  grid-template-columns: 40% %; 
  column-gap: 4rem; /* Espace horizontal uniquement */
  row-gap: 0; /* Pas d'espace vertical entre les lignes de grille */
  align-items: start; /* Tout est aligné en haut */
}

/* 2. L'Image : Elle occupe toute la colonne 1 */
.path-product .product-single-media {
  grid-column: 1 / 2;
  grid-row: 1 / span 10; /* L'image s'étend sur 10 lignes virtuelles pour couvrir la hauteur du texte */
  position: sticky;
  top: 120px;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(89, 106, 26, 0.15);
  border: 4px solid var(--bocaux-white);
  margin: 0;
}

.path-product .product-single-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.path-product .product-single-media:hover img {
  transform: scale(1.03);
}

/* 3. Le Contenu : Tout dans la colonne 2, ligne par ligne */
/* On place chaque élément manuellement sur la grille pour éviter les trous */

/* Titre : Ligne 1 */
.path-product .product-single-title {
  grid-column: 2 / 3;
  grid-row: 1;
  font-family: var(--font-h1h2);
  font-size: 3rem;
  line-height: 1.1;
  margin: 0;
  color: var(--bocaux-green);
  text-align: left;
}

/* Badge : Ligne 2 */
.path-product .product-single-category {
  grid-column: 2 / 3;
  grid-row: 2;
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin: 0; /* On gère l'espace avec grid-row-gap si besoin, sinon margin-bottom */
  margin-bottom: 1rem;
  background-color: var(--bocaux-sand);
  color: var(--bocaux-black);
}

/* Prix : Ligne 3 */
.path-product .product-single-price {
  grid-column: 2 / 3;
  grid-row: 3;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bocaux-orange);
  margin: 0;
  line-height: 1;
}

/* Poids : Ligne 4 */
.path-product .product-single-weight {
  grid-column: 2 / 3;
  grid-row: 4;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--bocaux-secondary);
  margin: 0;
  margin-bottom: 2rem; /* Espace avant la description */
  display: block;
}

/* Labels cachés */
.path-product .field__label {
  display: none !important;
}

/* Description : Ligne 5 */
.path-product .product-single-description {
  grid-column: 2 / 3;
  grid-row: 5;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--bocaux-text);
  margin: 0;
  margin-bottom: 2rem;
}

/* Ingrédients : Ligne 6 */
.path-product .product-single-ingredients {
  grid-column: 2 / 3;
  grid-row: 6;
  margin: 0;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(233, 240, 244, 0.6);
  border-radius: 12px;
  border-left: 5px solid var(--bocaux-green);
}

.path-product .product-single-ingredients .field__item {
  margin: 0;
}

/* Panier : Ligne 7 */
.path-product .product-single-cart {
  grid-column: 2 / 3;
  grid-row: 7;
  margin: 0;
  padding-top: 2rem;
  border-top: 2px dashed rgba(89, 106, 26, 0.2);
  width: 100%;
}

.path-product .product-single-cart .btn-primary {
  width: 100%;
  font-size: 1.3rem;
  padding: 1.2rem 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 50px;
  background-color: var(--bocaux-orange);
  border-color: var(--bocaux-orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(226, 105, 23, 0.4);
  transition: all 0.3s ease;
  display: block;
  text-align: center;
  cursor: pointer;
}

.path-product .product-single-cart .btn-primary:hover {
  background-color: var(--bocaux-lime);
  color: var(--bocaux-black);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(226, 105, 23, 0.5);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 991px) {
  .path-product article {
    grid-template-columns: 1fr; /* Une seule colonne */
    column-gap: 0;
    row-gap: 2rem;
    padding: 1.5rem;
    margin: 1.5rem auto;
    display: block; /* On désactive la grille sur mobile pour simplifier */
  }

  .path-product .product-single-media,
  .path-product .product-single-title,
  .path-product .product-single-category,
  .path-product .product-single-price,
  .path-product .product-single-weight,
  .path-product .product-single-description,
  .path-product .product-single-ingredients,
  .path-product .product-single-cart {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
  }

  .path-product .product-single-media {
    position: static;
    margin-bottom: 1.5rem;
  }

  .path-product .product-single-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .path-product .product-single-category {
    display: inline-block;
    margin: 0 auto 1.5rem auto;
    text-align: center;
  }

  .path-product .product-single-price,
  .path-product .product-single-weight,
  .path-product .product-single-description,
  .path-product .product-single-ingredients {
    text-align: center;
  }
  
  .path-product .product-single-ingredients {
    border-left: none;
    border-top: 5px solid var(--bocaux-green);
  }
}

/* ==============================================================================
   14. GRILLE DE PRODUITS (VUE : NOS BOCAUX) - VERSION SIMPLE
   ============================================================================== */

/* 1. ESPACEMENT ENTRE LES LIGNES DE PRODUITS */
/* On ajoute une marge en bas à chaque ligne de la vue */
.path-nos-bocaux .view-content .row {
  margin-bottom: 3rem; /* Espace vertical entre les lignes de produits */
}

/* 2. LA CARTE PRODUIT (Le conteneur visuel) */
.path-nos-bocaux .col-lg-4 {
  /* On s'assure que la colonne prend bien toute la hauteur disponible */
  height: 100%; 
  margin-bottom: 2rem; /* Espace supplémentaire si besoin */
}

/* Le style de la "boîte" blanche */
.path-nos-bocaux .col-lg-4 > .views-field-field-image,
.path-nos-bocaux .col-lg-4 > .views-field-title,
.path-nos-bocaux .col-lg-4 > .views-field-price__number,
.path-nos-bocaux .col-lg-4 > .views-field-weight,
.path-nos-bocaux .col-lg-4 > .views-field-variations-target-id {
  /* On applique le style de carte sur la colonne entière via un pseudo-élément ou en ciblant le parent */
  /* Astuce : On style directement la colonne .col-lg-4 comme une carte */
}

.path-nos-bocaux .col-lg-4 {
  background-color: var(--bocaux-white);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(89, 106, 26, 0.05);
  /*height: 100%; /* Force la hauteur */
}

.path-nos-bocaux .col-lg-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(89, 106, 26, 0.15);
  border-color: var(--bocaux-lime);
}

/* 3. IMAGE */
.path-nos-bocaux .product-grid-image {
  width: 100%;
  margin-bottom: 1.5rem;
  line-height: 0;
}

.path-nos-bocaux .product-grid-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #f8f9fa;
}

.path-nos-bocaux .product-grid-image:empty {
  display: none;
}

/* 4. TITRE (Plus gros) */
.path-nos-bocaux .product-grid-title {
  margin-bottom: 1rem;
  width: 100%;
  flex-grow: 1; /* Pousse le reste vers le bas */
}

.path-nos-bocaux .product-grid-title a {
  font-family: var(--font-h1h2);
  font-size: 1.8rem;
  color: var(--bocaux-green);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: block;
}

.path-nos-bocaux .product-grid-title a:hover {
  color: var(--bocaux-orange);
}

/* 5. PRIX & POIDS (Sur la même ligne) */
/* Conteneur pour aligner prix et poids */
.path-nos-bocaux .product-meta-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; /* Espace entre prix et poids */
  margin-bottom: 1.5rem;
  width: 100%;
}

/* Si tu ne peux pas ajouter une classe HTML, on utilise CSS pour les mettre côte à côte */
.path-nos-bocaux .product-grid-price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bocaux-orange);
  margin: 0 0.5rem 1.5rem 0.5rem; /* Marge autour */
}

.path-nos-bocaux .product-grid-weight {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bocaux-secondary);
  font-weight: 400;
  margin: 0 0.5rem 1.5rem 0.5rem; /* Marge autour */
}

/* Masquer les labels */
.path-nos-bocaux .views-label {
  display: none !important;
}

/* 6. BOUTON D'ACHAT (Tout en bas) */
.path-nos-bocaux .product-grid-cart {
  width: 100%;
  margin-top: auto; /* Colle le bouton en bas de la carte flex */
}

.path-nos-bocaux .product-grid-cart .form-wrapper {
  margin-bottom: 0 !important;
}

.path-nos-bocaux .product-grid-cart select,
.path-nos-bocaux .product-grid-cart .form-item--type-select {
  display: none; 
}

.path-nos-bocaux .product-grid-cart .btn-primary {
  width: 100%;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  background-color: var(--bocaux-green);
  border-color: var(--bocaux-green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(89, 106, 26, 0.2);
  border-radius: 50px;
}

.path-nos-bocaux .product-grid-cart .btn-primary:hover {
  background-color: var(--bocaux-orange);
  border-color: var(--bocaux-orange);
  color: #fff;
  transform: translateY(-2px);
}
