.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 20px 80px;
	width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

.product-item {
  flex: 1 1 calc(20% - 20px);
  max-width: calc(20% - 20px);
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-flip {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  perspective: 1200px; /* iets meer diepte */
}

.product-front,
.product-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1.0); /* soepelere easing */
}

.product-front img,
.product-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-back {
  transform: rotateY(180deg);
}

.product-flip:hover .product-front {
  transform: rotateY(180deg);
}

.product-flip:hover .product-back {
  transform: rotateY(360deg);
}

.product-item h3 {
  font-size: 1.1em;
  margin: 10px 0 5px;
}

.product-item .price {
  color: #888;
  font-weight: 500;
  margin-bottom: 15px;
}
.product-item {
  position: relative; /* nodig voor absolute positie van de badge */
}

.icon-badge {
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 0.5em; /* schaalbaar */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  width: 15%;  /* breedte relatief aan product-item */
  height: auto; /* hoogte past automatisch */
}

.icon-badge img {
  width: 100%; /* vult de badge volledig */
  height: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.icon-badge:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.product-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.button {
  padding: 8px 16px;
  background-color: #ff9800; /* oranje/actie kleur */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
}

.button.info {
  background-color: #555; /* grijze info-knop */
}

.button.info:hover {
  background-color: #333;
	color: #fff;
}


/* Responsief gedrag */
@media (max-width: 900px) {
  .product-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .product-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
