html, body {
      margin: 0;
      height: 200%;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(to bottom, #dcdcdc, #000000);
      color: #fff;
      display: flex;
      flex-direction: column;
    }

    header {
      background-color: #222;
      color: white;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    header h1 {
      margin: 0;
      font-size: 1.8rem;
    }

    nav a {
      color: white;
      text-decoration: none;
      margin-left: 1.5rem;
      font-weight: bold;
    }
    
    h2 {
      color: red;
    }
    
    p {
      color: black;
    }

    .boutique-container {
      display: flex;
      width: 100%;
      max-width: 1200px;
      padding: 1rem;
      flex-grow: 1;
      align-items: flex-start;
    }

    .categories {
      width: 250px;
      background-color: #111;
      padding: 1rem;
      border-radius: 10px;
      margin-right: 2rem;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      align-self: flex-start;
      display: flex;
      flex-direction: column;
    }

    .categories h2 {
      font-size: 1.4rem;
      margin-bottom: 1rem;
    }

    .categories ul {
      list-style: none;
      padding: 0;
      margin: 0 0 1rem 0;
      flex-grow: 0;
    }

    .categories li {
      margin-bottom: 1rem;
    }

    .categories a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      display: block;
      padding: 0.5rem;
      background-color: #333;
      border-radius: 5px;
      transition: background-color 0.2s ease;
      cursor: pointer;
    }

    .categories a.active, .categories a:hover {
      background-color: #0077ff;
    }

    .promo-code {
      margin-top: auto; /* pousse vers le bas */
      background-color: #222;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: 0 0 8px rgba(0,0,0,0.5);
    }

    .promo-code label {
      display: block;
      margin-bottom: 0.3rem;
      font-weight: bold;
    }

    .promo-code input {
      padding: 0.5rem;
      width: calc(100% - 1rem);
      border-radius: 5px;
      border: none;
      margin-bottom: 0.5rem;
      font-size: 1rem;
    }

    .promo-code button {
      background-color: #0077ff;
      border: none;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      width: 100%;
      font-size: 1rem;
      transition: background-color 0.3s ease;
    }

    .promo-code button:hover {
      background-color: #005bb5;
    }

    .products {
      flex-grow: 1;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 2rem;
    }

    .product-card {
      background-color: #111;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .product-card img {
      width: 100%;
      height: auto;
      max-height: 300px;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }

    .product-info {
      padding: 1rem;
    }

    .product-info h3 {
      margin-top: 0;
    }

    .product-info p {
      font-size: 0.9rem;
      color: #ccc;
    }

    .product-price {
      font-weight: bold;
      color: #00ff90;
      margin-top: 0.5rem;
    }

    .product-info form {
      margin-top: 1rem;
    }

    footer {
      background-color: #222;
      color: #ccc;
      text-align: center;
      padding: 2rem;
      margin-top: auto;
    }

    @media (max-width: 768px) {
      .boutique-container {
        flex-direction: column;
      }

      .categories {
        width: 100%;
        margin-bottom: 2rem;
        box-shadow: none;
      }

      .promo-code {
        margin-top: 1rem;
      }
    }
    .dropdown {
    display: inline-block;
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e1e;
    min-width: 160px;
    z-index: 1;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .dropdown-content a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
  }

  .dropdown-content a:hover {
    background-color: #333;
  }