:root {
  --soft-green: #cbd5c0;
  --dark-green: #b5c0a9;
  --text-main: #2c2c2c;
  --text-light: #666;
  --border-color: #eee;
  --bg-cream: #f9f9f7;
}

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

body {
  background: white;
  color: var(--text-main);
  font-family: "Inter", sans-serif;
}

/* Hero Section */
.heros {
  position: relative;
  width: 100%;
  height: 350px;
  background-image: url("https://images.pexels.com/photos/346751/pexels-photo-346751.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.heros::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.heros-title {
  position: relative;
  z-index: 2;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

/* Filters Section */
.filters {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
  gap: 1rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-light);
}

.filter-btn.active {
  border-bottom: 2px solid var(--text-main);
  color: var(--text-main);
  font-weight: bold;
}

.dropdown-btn {
  padding: 0.5rem 1rem;
  background-color: white;
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.dropdown-content {
  position: absolute;
  right: 0;
  top: 110%;
  display: none;
  flex-direction: column;
  background-color: white;
  border: 1px solid var(--border-color);
  z-index: 10;
  min-width: 180px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Products Grid */
.products-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

/* Product Card */
.product-card {
  display: none; /* Géré par JS */
  background: #fff;
  transition: all 0.4s ease;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--bg-cream);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-style: italic;
}

.product-price {
  font-family: "Inter", sans-serif;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.see-details-btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--soft-green);
  color: white !important;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.see-details-btn:hover {
  background-color: var(--dark-green);
  letter-spacing: 3px;
}

/* Pagination / Load More */
.load-more-wrapper {
  text-align: center;
  margin: 60px 0 100px;
}

.btn-load-more {
  background: #000;
  color: white;
  border: 1px solid #000;
  padding: 18px 60px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.btn-load-more:hover {
  background: transparent;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .heros-title {
    font-size: 2.5rem;
  }
  .filters {
    flex-direction: column;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
