
    body { 
        margin: 0; 
        font-family: 'Poppins', sans-serif; 
        background: #f9f9f9; 
    }
    .products-hero {
      background: #049310b9;
      text-align: center;
      padding: 2rem 1rem;
    }
    .products-hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .products-hero p {
      font-size: 1.2rem;
      color: #555;
    }
    .filter-bar {
      display: flex;
      gap: 1rem;
      justify-content: center;
      padding: 1rem;
      background: #fff;
      border-bottom: 1px solid #ddd;
    }
    .filter-bar input, .filter-bar select {
      padding: 0.5rem 1rem;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      padding: 2rem;
    }
    .product-card {
      background: #fff;
      border-radius: 10px;
      padding: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.3s ease;
    }
    .product-card:hover {
      transform: translateY(-5px);
    }
    .product-card img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
    .product-card h3 {
      margin-top: 1rem;
      font-size: 1.2rem;
    }
    .product-card p {
      font-size: 0.95rem;
      color: #666;
    }
    .btn {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.5rem 1.2rem;
      background: #4caf50;
      color: #fff;
      border-radius: 5px;
      text-decoration: none;
    }
    .pagination {
      display: flex;
      justify-content: center;
      padding: 1rem;
      gap: 0.5rem;
    }
    .pagination a {
      padding: 0.5rem 1rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      text-decoration: none;
      color: #333;
    }
/* Flèche de retour page produit */
.back-arrow {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 10;
  text-decoration: none;
  color: #a90b4d;
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  transition: color 0.2s;
}
.back-arrow:hover {
  color: #7a0736;
}
.back-arrow span {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    width: 100%;
    margin-top: 0.5rem;
  }

  .products-hero h1{
    font-size: 1.5rem;
  }
  .products-hero p {
    font-size: 1rem;
  }

  .products-grid {
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .product-card {
    padding: 0.5rem;
    border-radius: 7px;
    font-size: 0.85rem;
  }
  .product-card img {
    border-radius: 7px;
    max-width: 90%;
  }
  .product-card h3 {
    margin-top: 0.6rem;
    font-size: 1rem;
  }
  .product-card p {
    font-size: 0.85rem;
  }
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  flex-wrap: wrap;
}

.pagination-prev,
.pagination-next {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.pagination-prev:hover,
.pagination-next:hover {
  background: #e6e6e6;
}
