:root {
  --primary-green: #356333;
  --primary-green-hover: #0a5d49;
  --light-gray: #f8f9fa;
  --agrimus-gray-dark: #444e43;
            --agrimus-green-light: #6ca13f;
            --agrimus-yellow: #eab03e;
            /*--agrimus-yellow-light:#fed23b;
            --border-color: #e0e0e0;*/
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
        url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
        url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 40;
    font-style: normal;
    font-display: swap;
}



body {
font-family: "Open Sans";
background-color: var(--light-gray);
}

.about-title{
    font-family: 'Montserrat';
    color: var(--primary-green);
}

/*.about-icon {*/
/*          font-size: 2.5rem;*/
/*          color: var(--primary-green);*/
/*        }*/
        
        .about-card {
          background: white;
          overflow: hidden;
          margin-bottom: 2rem;
          padding: 2rem;
          transition: transform 0.3s ease;
        }

        .about-card:hover {
          transform: translateY(-5px);
        }

        .about-icon {
          font-size: 2.5rem;
          color: var(--primary-green);
          margin-bottom: 1rem;
          display: inline-block;
          padding: 1rem;
          background-color: rgba(15, 124, 97, 0.1);
          border-radius: 50%;
          width: 80px;
          height: 80px;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .feature-list {
          list-style-type: none;
          padding-left: 0;
        }

        .feature-list li {
          padding: 0.5rem 0;
          border-bottom: 1px solid #f0f0f0;
          display: flex;
          align-items: flex-start;
        }
        
        .feature-list li:last-child {
          border-bottom: none;
        }

        .feature-list .bi {
          color: var(--agrimus-green-light);
          margin-right: 0.75rem;
          margin-top: 0.25rem;
          flex-shrink: 0;
        }
        
        .target-audience {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          margin-top: 1rem;
        }

        .audience-card {
          flex: 1;
          min-width: 200px;
          background-color: #f8f9fa;
          border-left: 4px solid var(--agrimus-yellow);
          border-radius: 6px;
          padding: 1rem;
          transition: all 0.3s ease;
        }

        .audience-card:hover {
          background-color: rgba(234, 176, 62, 0.1);
          transform: translateX(5px);
        }

        .audience-card h5 {
          color: var(--primary-green);
          font-size: 1.1rem;
          margin-bottom: 0.5rem;
          display: flex;
          align-items: center;
        }

        .audience-card .bi {
          margin-right: 0.5rem;
        }

.highlight-box {
          background-color: rgba(234, 176, 62, 0.1);
          border-left: 4px solid var(--agrimus-yellow);
          padding: 1.5rem;
          border-radius: 6px;
          margin: 1.5rem 0;
        }

        .cta-section {
          background: linear-gradient(135deg, rgba(15, 124, 97, 0.9) 0%, rgba(10, 93, 73, 0.9) 100%);
          color: white;
          padding: 4rem 0;
          border-radius: 10px;
          margin: 3rem 0;
        }

        .cta-title {
        font-family: 'Montserrat';
          font-size: 2rem;
          font-weight: 700;
          margin-bottom: 1rem;
        }
        
 .btn-join {
          background-color: white;
          color: var(--primary-green);
          padding: 0.75rem 2.5rem;
          border-radius: 8px;
          font-weight: 600;
          border: none;
          transition: all 0.3s;
          display: inline-block;
          text-decoration: none;
          margin-top: 1rem;
        }

        .btn-join:hover {
          background-color: var(--agrimus-yellow);
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0,0,0,0.15);
          color: var(--primary-green);
          text-decoration: none;
        }
        
        .signature {
          font-style: italic;
          text-align: center;
          padding: 2rem;
          font-size: 1.5rem;
          color: var(--primary-green);
          border-top: 1px solid #e9ecef;
          margin-top: 3rem;
        }


/* Styles pour les icônes par défaut */
.default-icon-container {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    /*height: 200px;*/
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 20px;
    width: 100px;

}

.default-icon-container svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.default-icon-container:hover svg {
    opacity: 1;
}

/* Pour les cartes de véhicules et produits aussi */
.vehicle-card .default-icon-container,
.produit-card .default-icon-container {
    height: 180px;
}

/* Ajustement pour le style existant */
/*.card-image {*/
/*    height: 200px;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*}*/

.nav-item{
      font-size: 1rem;
      
  }
.hero-section {
  background: linear-gradient(135deg, #0F7C61 0%, #0a5d49 100%);
  color: white;
  padding: 5rem 0;
  margin-top:4.1rem;
}
.hero-section-index{
  color: white;
  margin-top:4.1rem;
}
.hero-title {
    font-family: 'Montserrat';
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: white;
  color: var(--primary-green);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  /*margin-top:-1rem;*/
}

/*.hero-btn:hover {*/
/*  background-color: #f8f9fa;*/
/*  transform: translateY(-2px);*/
/*  box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
/*}*/

.hero-icon-wrapper {
  text-align: center;
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.2);
}

.transporters-section {
  padding: 4rem 0;
  background-color: white;
}

.section-title {
  font-family: "Montserrat";
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--agrimus-yellow) ;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Open Sans';
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.filter-bar {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.filter-label {
  font-weight: 600;
  color: #333;
}

.transporter-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.transporter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.transporter-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.badge-available {
  background-color: #198754!important;
  color: white!important;
}

.badge-reserved {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffc107;
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.badge-disponible {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: var(--primary-green);
      color: white;
      padding: 0.3rem 0.6rem;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 600;
      z-index: 2;
    }
    
    .badge-inactive {
      background-color: #6c757d !important;
      color: white !important;
    }
    


.transporter-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
}

.transporter-name1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.transporter-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.transporter-meta i {
  color: var(--primary-green);
  width: 20px;
  text-align: center;
}

.transporter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.transporter-info {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.transporter-info i {
  color: var(--primary-green);
}

.produit-photos-btn {
    background: none;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.produit-photos-btn:hover {
    background-color: var(--agrimus-yellow);
    border: 1px solid var(--agrimus-yellow);
    color: white;
}
 .vehicle-photos-btn {
      background: none;
      border: 1px solid var(--primary-green);
      color: var(--primary-green);
      padding: 0.2rem 0.8rem;
      border-radius: 4px;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .vehicle-photos-btn:hover {
      background-color: var(--agrimus-yellow);
    border: 1px solid var(--agrimus-yellow);
      color: white;
    }
    
      .btn-commander {
      font-size: 0.9rem;
      padding: 0.5rem 1.2rem;
      border-radius: 4px;
      border: none;
      color: white;
      background-color: var(--primary-green);
      transition: all 0.2s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      font-weight: 600;
    }
    
    .btn-commander:hover {
      background-color: var(--agrimus-yellow);
      color: white;
      text-decoration: none;
      transform: scale(1.05);
    }
    
    .btn-commander i {
      font-size: 0.9rem;
      margin-right: 0.3rem;
    }
    
.btn-connect{
    background: var(--agrimus-yellow);
    color: white;
}

.btn-connect:hover{
    background: var(--agrimus-gray-dark);
    color: white;
}

.btn-more {
  background-color: var(--primary-green);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-more:hover {
  background-color: var(--primary-green-hover);
  color: white;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

footer {
  background-color: var(--agrimus-gray-dark);
  color:white;
  padding: 3rem 0 1rem;
}

footer h6 {
    font-family: 'Montserrat';
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

footer p {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #495057;
  color: white;
  font-size: 0.9rem;
}

.description-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stats-badge {
  background-color: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.image-container {
  position: relative;
}

.vehicle-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.vehicle-type-badge {
  background-color: var(--primary-green);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.vehicle-type-badge i {
  font-size: 0.7rem;
}

.trajets-section {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}

.trajets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.trajet-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: #495057;
}

.trajet-item i {
  color: var(--primary-green);
  margin-right: 0.4rem;
  font-size: 0.7rem;
}

.trajet-badge {
  background-color: #e9f5ff;
  border: 1px solid #c2e0ff;
  color: #0066cc;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trajet-badge i {
  color: #0066cc;
  font-size: 0.7rem;
}

.trajets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.trajet-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trajet-card i {
  color: var(--primary-green);
  flex-shrink: 0;
}

.trajet-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-trajet-toggle {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-trajet-toggle:hover {
  background-color: var(--primary-green);
  color: white;
}

.btn-trajet-toggle[data-state="visible"] i {
  transform: rotate(180deg);
}

.btn-trajet-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}


.trajet-hidden {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.trajet-hidden.show {
  opacity: 1;
  transform: translateY(0);
  display: flex !important;
}



.btn-produits-toggle {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-produits-toggle:hover {
  background-color: var(--primary-green);
  color: white;
}

.btn-produits-toggle[data-state="visible"] i {
  transform: rotate(180deg);
}

.btn-produits-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}


.content-section {
  padding: 3rem 0;
  background-color: white;
}

.transporter-info-card {
    margin-top:3rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  margin-bottom: 2rem;
}

.transporter-header {
  background: linear-gradient(to right, var(--primary-green), var(--primary-green-hover));
  color: white;
  padding: 2rem;
  position: relative;
}

.transporter-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.transporter-location {
  font-size: 1.1rem;
  opacity: 0.9;
}

.info-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.vehicle-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  height: 100%;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.vehicle-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.vehicle-image:hover {
  transform: scale(1.05);
}

.vehicle-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.vehicle-name {
  font-family: 'Montserrat';
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.vehicle-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

    .vehicle-meta div {
      margin-bottom: 0.3rem;
    }
    
    .vehicle-meta i {
      width: 16px;
      color: var(--primary-green);
    }

.vehicle-price {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary-green);
      margin: 0.5rem 0;
    }
    
.btn-contact {
  font-family: 'Open Sans';
  background-color: var(--agrimus-yellow);
  color: white;
  border: none;
  padding: 0.75rem 0.75rem 0.75rem 0.75rem;
  /*padding-top: 0.75rem;*/
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: var(--agrimus-yellow);
  color: white;
}

.btn-details {
    font-family: 'Open Sans';
      font-size: 0.85rem;
  padding: 0.3rem 1rem 0.3rem 1rem;
      border-radius: 4px;
      border: 1px solid var(--primary-green);
      color: var(--primary-green);
      background-color: transparent;
      transition: all 0.2s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }
    
    .btn-details:hover {
      background-color: var(--primary-green);
      color: white;
      text-decoration: none;
    }
    
    .btn-details i {
      font-size: 0.8rem;
    }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  height: 150px;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.vehicle-photos-btn {
  margin-top: 0.5rem;
  background-color: var(--light-gray);
  border: 1px solid #dee2e6;
  color: #666;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.vehicle-photos-btn:hover {
  background-color: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.modal-gallery-img {
      max-width: 100%;
      max-height: 500px;
      border-radius: 8px;
    }
    
    .gallery-thumbnails {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 10px 0;
    }
    
    .gallery-thumbnail {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 4px;
      cursor: pointer;
      opacity: 0.6;
      transition: opacity 0.2s, transform 0.2s;
    }
    
    .gallery-thumbnail:hover {
      opacity: 0.8;
      transform: scale(1.05);
    }
    
    .gallery-thumbnail.active {
      opacity: 1;
      border: 2px solid var(--primary-green);
      transform: scale(1.1);
    }

.gallery-thumbnail:hover {
  border-color: var(--primary-green);
}

.pagination-container {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #dee2e6;
}

.pagination-info {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
}

.pagination .page-link {
  color: var(--primary-green);
  border: 1px solid #dee2e6;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.pagination .page-link:hover {
  background-color: var(--light-gray);
  border-color: var(--primary-green);
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd;
  pointer-events: none;
  background-color: #f8f9fa;
}

.results-summary {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
   .audience-card {
            min-width: 100%;
          }
          
          .cta-title {
            font-size: 1.5rem;
          }
          
          .about-card {
            padding: 1.5rem;
          }
          
  
  .hero-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .transporter-wrapper {
    margin-bottom: 1.5rem;
  }
  
  .transporter-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .transporter-footer .btn-more {
    width: 100%;
  }
  
  .trajets-grid {
    grid-template-columns: 1fr;
  }
  
  .transporter-name {
    font-size: 1.5rem;
  }
  
  .transporter-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .gallery-thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .pagination .page-link {
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
  }
}

 .tab-buttons {
      display: flex;
      border-bottom: 1px solid #dee2e6;
    }
    
    .tab-button {
      flex: 1;
      padding: 1rem 1.5rem;
      background: none;
      border: none;
      font-size: 1.1rem;
      font-weight: 600;
      color: #666;
      cursor: pointer;
      transition: all 0.3s;
      text-align: center;
    }
    
    .tab-button:hover {
      background-color: #f8f9fa;
      color: var(--agrimus-yellow);
    }
    
    .tab-button.active {
      background-color: var(--primary-green);
      color: white;
      border-bottom: 3px solid var(--primary-green);
    }
    
    .tab-button i {
      margin-right: 0.5rem;
    }
    
    .tab-content {
      padding: 2rem;
    }
    
    .tab-pane {
      display: none;
    }
    
    .tab-pane.active {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    /* Badge pour le compteur */
    .tab-badge {
      background-color: white;
      color: var(--primary-green);
      border-radius: 50px;
      padding: 0.2rem 0.6rem;
      font-size: 0.8rem;
      margin-left: 0.5rem;
    }
    
    .tab-button.active .tab-badge {
      background-color: white;
      color: var(--primary-green);
    }
    
    .agriculteur-info-card {
        margin-top: 3rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 2rem;
            margin-bottom: 2rem;
            border: 1px solid #dee2e6;
        }
        
        .agriculteur-header {
            padding-bottom: 1.5rem;
            /*border-bottom: 1px solid #dee2e6;*/
        }
        
        .agriculteur-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: rgba(15, 124, 97, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--primary-green);
        }
        
        .agriculteur-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        
        .agriculteur-name1 {
            font-size: 2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.5rem;
        }
        
        
        .agriculteur-specialite {
            color: var(--primary-green);
            font-size: 1rem;
            font-weight: 500;
        }
        
      
    
    /* Styles pour les cartes d'agriculteurs */
    
    .agriculteur-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      height: 100%;
      border: 1px solid #dee2e6;
    }
    
    .agriculteur-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .agriculteur-image {
      height: 200px;
      overflow: hidden;
    }
    
    .agriculteur-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .agriculteur-info {
      padding: 1.5rem;
    }
    
    .agriculteur-name {
      font-size: 1.3rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 0.5rem;
    }
    
    .agriculteur-location {
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }
    
    .agriculteur-location i {
      color: var(--primary-green);
      margin-right: 0.3rem;
    }
    
    .agriculteur-specialties {
      margin-top: 1rem;
    }
    
    .specialty-tag {
      display: inline-block;
      background-color: rgba(15, 124, 97, 0.1);
      color: var(--primary-green);
      padding: 0.2rem 0.6rem;
      border-radius: 50px;
      font-size: 0.8rem;
      margin-right: 0.3rem;
      margin-bottom: 0.3rem;
    }
    
    .agriculteur-description {
      color: #666;
      font-size: 0.9rem;
      margin-top: 1rem;
      line-height: 1.5;
    }


.proprietaire-info {
      background-color: #f8f9fa;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-size: 0.8rem;
      border: 1px solid #dee2e6;
    }
     
    .produits-section {
    margin-top: 1rem;
}

.produits-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}
    

.produit-badge {
    position: absolute;
      top: 10px;
      right: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
border-radius: 50px;
padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    font-weight: 600;
      z-index: 2;
}

.produit-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid #dee2e6;
}

.produit-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.produit-meta {
    font-size: 0.9rem;
    color: #666;
}

.produit-meta div {
    margin-bottom: 0.3rem;
}

.produit-meta i {
    width: 16px;
    color: var(--primary-green);
}

.produit-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0.5rem 0;
}

.produit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.produit-image:hover {
    transform: scale(1.05);
}

  

.badge-plus {
    background-color: #6c757d;
    color: white;
    border: none;
}
  
    .btn-produits-toggle {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-produits-toggle:hover {
  background-color: var(--primary-green);
  color: white;
}

.btn-produits-toggle[data-state="visible"] i {
  transform: rotate(180deg);
}

.btn-produits-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}

/* Ajoutez ceci dans la section CSS (~ligne 200) */

.lieux-section {
    margin-top: 0.5rem;
}

.lieux-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.lieu-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    color: #495057;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.lieu-item:hover {
    background-color: #e9ecef;
}

.lieu-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.btn-lieu-toggle {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    background-color: transparent;
    transition: all 0.2s ease;
}

.btn-lieu-toggle:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-lieu-toggle[data-state="visible"] i {
    transform: rotate(180deg);
}

.btn-lieu-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

    /* Barre de filtres */
    .filter-bar {
      background: white;
      padding: 1.5rem;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      border: 1px solid #dee2e6;
      margin-bottom: 2rem;
    }

    .filter-label {
      font-size: 0.85rem;
      font-weight: 600;
      color: #555;
    }
    
      .card-footer {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid #dee2e6;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
     .card-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid #dee2e6;
}
    
    .card-container:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .card-image {
      /*height: 200px;*/
      overflow: hidden;
      position: relative;
    }
    
    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .card-info {
      padding: 1.5rem;
    }
    
    .card-name {
        font-family: 'Montserrat';
      font-size: 1.3rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 0.5rem;
    }
    
    .card-location {
      font-family: 'Open Sans';
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }
    
    .card-location i {
      color: var(--primary-green);
      margin-right: 0.3rem;
    }
    
    .card-price {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary-green);
      margin: 0.5rem 0;
    }
    
    .card-description {
    font-family: 'Open Sans';
      color: #666;
      font-size: 0.9rem;
      margin-top: 1rem;
      line-height: 1.5;
    }
    
    .card-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    .meta-badge {
      font-family: 'Open Sans';
      background-color: #f8f9fa;
      color: #495057;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      font-size: 0.75rem;
      border: 1px solid #dee2e6;
    }

    .meta-badge i {
      margin-right: 0.2rem;
      color: var(--primary-green);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      .tab-buttons {
        flex-direction: column;
      }
      
      .tab-button {
        padding: 0.8rem;
      }

      .trajet-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
      }
      
      .trajet-separator {
        display: none;
      }
      
      .card-footer {
        flex-direction: column;
        gap: 0.5rem;
      }

      .btn-commander, .btn-details {
        width: 100%;
        justify-content: center;
      }
      
      .btn-contact {
        width: 100%;
        text-align: center;
      }
      
      .proprietaire-info {
        margin-top: 0.5rem;
      }
    }