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

body {
  font-family: 'Poppins', sans-serif;
  background-color: white;
  color: black;
  scroll-behavior: smooth;
  
  /* --- MODIFICATIONS ICI --- */
  min-height: 100vh; /* 100vh au lieu de 100% pour prendre toute la hauteur de l'écran */
  display: flex;     /* Transforme le body en conteneur flexible */
  flex-direction: column; /* Aligne les éléments de haut en bas */
}

header {
  background-color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header a.logo {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 2rem;
  letter-spacing: 2px;
  transition: transform 0.3s;
  width: 100px;
}

header a.logo:hover {
  transform: scale(1.05);
  color: grey;
  cursor: pointer;
}

header img.logo_rouh {
  width: min(100%, 100px);
}

nav {
  position: relative;
}


    #cart-link {
      position: relative;
      display: inline-block;
      margin-left: auto;
    }

    #cart-icon {
      width: 30px;
      height: auto;
      vertical-align: middle;
    }

    #cart-count {
      position: absolute;
      top: -6px;
      right: -6px;
      background: grey;
      color: #111;
      font-size: 12px;
      font-weight: bold;
      padding: 2px 6px;
      border-radius: 50%;
      display: none;
    }

    #cart-count.show {
      display: inline-block;
    }

    nav {
      position: relative;
    }

   .menu-button {
  background-color: transparent;
  border: none;
  color: black;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
}

.menu-button:hover {
  color: grey;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #222;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.2s, padding-left 0.2s;
}

.dropdown-content a:hover {
  background-color: #333;
  padding-left: 22px;
}


    nav:hover .dropdown-content {
      display: block;
    }

    .nav-container {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
    }

    .menu-nav {
      position: relative;
    }

    .menu-nav:hover .dropdown-content {
      display: block;
    }

.contact{
  width: 30px;
  height: auto;
  margin-top: 5px;
  margin-right: 10px;
}
/* -- page -- */
h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 40px 0 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr));
  max-width: 55%;
  gap: 30px;
  padding: 20px;
  margin: 0 auto;
    justify-items: center;
    justify-content: center;
}

.product-card {
  display: block;
  background-color: white;
  overflow: hidden;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.product-card:hover {
  color: grey;
}

.product-card img {
  display: block;
  margin: 0 auto; /* Centre l'élément horizontalement */
  height: 250px;
  height: 250px;
  object-fit: cover;
}

.product-card .zip_bleu{
  height: 220px;
  margin-bottom: 30px;
}

.product-info {
  padding: 16px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.95rem;
  color: #808080;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #aaa;
  
  /* --- MODIFICATIONS ICI --- */
  margin-top: auto; /* Consomme tout l'espace vide au-dessus du footer pour le repousser en bas */
}