.container {
  max-width: 900px; /* Iets breder gemaakt voor de grid */
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.container a {
  color: #dee73c;
  text-decoration: none;
}

h2 {
  margin-bottom: 20px;
  margin-top: 2rem;
  color: #333;
}

/* --- Banner Foto --- */
.kledij-foto img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* --- NIEUW: Kledij Grid Layout --- */
.kledij-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Automatisch schalen */
    gap: 20px;
    margin-top: 20px;
}

.kledij-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.kledij-card:hover {
    transform: translateY(-5px); /* Klein hupje bij hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    height: 200px; /* Vaste hoogte voor uniformiteit */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 5px;
}

.item-thumb {
    max-height: 100%;
    max-width: 100%;
    cursor: pointer; /* Handje zodat je weet dat je kan klikken */
    transition: 0.3s;
}

.item-thumb:hover {
    opacity: 0.8;
}

.card-info h3 {
    font-size: 1.1em;
    margin: 10px 0;
    color: #444;
}

.price {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2em;
    background: #dee73c; /* Clubkleur accent */
    padding: 5px 10px;
    border-radius: 15px;
}

.no-image {
    color: #ccc;
    font-style: italic;
}

/* --- Matenlabels --- */
.matenlabels img {
  max-width: 45%; /* Naast elkaar indien mogelijk */
  height: auto;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- MODAL (POPUP) CSS --- */
.modal {
  display: none; /* Standaard verborgen */
  position: fixed; 
  z-index: 9999; /* Boven alles */
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); /* Zwart met doorzichtigheid */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px; /* Niet breder dan dit op grote schermen */
  max-height: 80vh; /* Zorg dat het op het scherm past */
  object-fit: contain;
  animation-name: zoom;
  animation-duration: 0.6s;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #dee73c;
  text-decoration: none;
  cursor: pointer;
}

/* Animatie voor het openen */
@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* Mobiele aanpassing voor modal */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}