body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #1c1f26;
  color: #e0e0e0;
  line-height: 1.6;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

header.index {
  background: #2b3038;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

header.sub {
  background: #2b3038;
  color: #fff;
  text-align: center;
  padding: 20px 20px;
}

.logo {
  width: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
}

.tagline {
  font-size: 1.2rem;
  color: #b0c4de;
}

.section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #262a33;
  border-radius: 10px;
}

.section.alt {
  background: #2f343f;
}

h2 {
  color: #61dafb;
  border-bottom: 2px solid #61dafb;
  display: inline-block;
  margin-bottom: 15px;
}

a {
  color: #61dafb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  background: #2b3038;
  color: #bbb;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.back-link{
  display:inline-block;
  margin-bottom:0.5rem;
  font-size:0.9rem;
}

.product-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:16px;
}

/* Raster zoals Marktplaats */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

/* Kaart-stijl zoals Marktplaats */
.product-card {
  background: #2f343f;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card h3 {
  margin: 10px 0 4px;
  color: #ffffff;
  font-size: 1rem;
}

.product-price {
  font-weight: 700;
  color: #ffcc66;
  margin: 4px 0;
}

.product-meta {
  font-size: 0.85rem;
  color: #a5aabb;
  margin-bottom: 10px;
}

/* Thumbnail bovenin */
.product-thumb {
  width: 100%;
  height: 180px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1f26;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn.small {
  margin-top: auto;
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 8px;
}