html, body {
  background-color: #FAEBD7;
    height: 100%;
      margin: 0;
      padding: 0;
      font-family: sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
.white {
  background-color: white;
}


    .container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
      padding: 1rem;
    }

    .product {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 5px;
      padding: 1rem;
      text-align: center;
    }
    wrapper h3 {
      color: white;
      
      text-align: center;
    }

    .product img {
      max-width: 100%;
      height: auto;
    }

    .product h3 {
      margin: 0.5rem 0;
    }

    .product p {
      color: #555;
    }

    .producttypeheader h1 {
      background-color: white;
      font-size: 5em;
      text-align: center;
      color: #56554e;
      margin-top: 5rem;
      margin-bottom: 1em;
    }


    @media screen and (max-height: 300px) {
      nav ul {
        margin-top: 40px;
      }
    }

    .content {
      flex: 1;
    }

    .bg {
      height: 95vh; 
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    h1 {
      color: white;
      font-size: 3rem;
      margin: 0;
      margin-top: -5em;
    }

     body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
    }

    header {
      background-color: #333;
      color: #fff;
      text-align: center;
      padding: 1rem;
    }

    .grid-container {
      background-color: white;
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* always 2 per row */
      gap: 20px;
      padding: 25px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .grid-container a {
      color: inherit;
      text-decoration: none;
      display: block; /* Optional: makes the whole card clickable */
    }

    .grid-item {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s;
      width: 100%;
    }

    .grid-item:hover {
      transform: scale(1.03);
    }

    .grid-item img {
      width: 100%;
      min-height: 400px;
      max-height: 280px;
      object-fit: cover;
      display: block;
    }

    .grid-item .info {
      padding: 1.8rem;
      text-align: center;
    }

    .grid-item .info h3 {
      margin: 0 0 0.5rem 0;
      font-size: 1.2rem;
    }

    .grid-item .info p {
      margin: 0;
      color: #555;
      font-size: 1.1rem;
    }
    
    @media (max-width: 500px) {
  .grid-item .info{
    min-height: 80px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* forces 2 but keeps it flexible */
    gap: 12px;
    padding: 10px;
    padding-top: 25px;
  }

  .grid-item img {
    min-height: 160px;
    max-height: 150px;
  }

  .info h3 {
    font-size: 1rem;
  }

  .info p {
    font-size: 0.9rem;
  }
   .producttypeheader h1 {
  font-size: 2em;
  margin-top: 2rem;
}

}
@media screen and (min-width: 601px) and (max-width: 1024px) {
   .grid-item .info{
    min-height: 80px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* forces 2 but keeps it flexible */
    gap: 12px;
    padding: 10px;
    padding-top: 25px;
  }
   .grid-item img {
    min-height: 360px;
    max-height: 150px;
  }
}



    footer {
      background-color: #A66E4A;
      color: white;
      text-align: center;
      padding: 1.5em 0;
      margin-top: auto;
    }

  .site-footer {
  background-color: #A66E4A; /* 4E3822 */
  color: #eee;
  padding: 40px 20px 20px;
  font-size: 14px;
  position: static !important;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h2 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.social-icons a {
  color: #FFF;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #EEE;
  padding-top: 15px;
  font-size: 13px;
  color: #fff;
}