* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1a1a; min-height: 100vh; }

.cat-hdr {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 16px 14px; background: #fff;
  border-bottom: 1px solid #e0ddd8;
}
.cat-logo { height: 32px; }
.cat-hdr-sub { font-size: 0.72rem; color: #888; margin-top: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.cat-filters {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid #e0ddd8;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 8px;
}
#zoek {
  width: 100%; padding: 9px 14px; border-radius: 100px;
  border: 1.5px solid #ddd; font-size: 1rem; font-family: inherit;
  background: #f8f7f5; outline: none;
}
#zoek:focus { border-color: #e67026; }

.cat-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-btn {
  padding: 5px 12px; border-radius: 100px; border: 1.5px solid #ddd;
  background: none; font-size: 0.75rem; font-weight: 600; cursor: pointer;
  font-family: inherit; color: #666; transition: all 0.15s;
}
.cat-btn.active { background: #e67026; color: #fff; border-color: #e67026; }

.cat-teller { padding: 8px 12px; font-size: 0.72rem; color: #888; font-weight: 600; background: #fff; }

/* Compact photo grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: #111;
}
@media (min-width: 480px) {
  .cat-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(12, 1fr); }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(16, 1fr); gap: 2px; }
}
@media (min-width: 1440px) {
  .cat-grid { grid-template-columns: repeat(20, 1fr); }
}

.cat-tegel {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
  background: #222;
}
.cat-tegel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.2s;
}
.cat-tegel:hover img { transform: scale(1.04); }
.cat-tegel-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 6px 8px;
  opacity: 0; transition: opacity 0.2s;
}
.cat-tegel:hover .cat-tegel-overlay { opacity: 1; }
.cat-tegel-overlay span { color: #fff; font-size: 0.7rem; font-weight: 600; line-height: 1.2; }

.cat-loading { text-align: center; padding: 32px; color: #aaa; font-size: 0.9rem; background: #111; }
.cat-laad-meer { text-align: center; padding: 20px 0 40px; background: #111; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.95); display: flex;
  align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox.hidden { display: none; }
.lb-top-bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
.lb-teller { color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 600; }
.lb-sluit {
  background: none; color: #fff; border: none;
  font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 4px;
}
.lb-img-wrap {
  width: 100%; flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
#lb-img {
  max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain;
  display: block; transition: opacity 0.2s;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); color: #fff; border: none;
  border-radius: 50%; width: 44px; height: 44px; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background 0.15s;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
#lb-prev { left: 12px; }
#lb-next { right: 12px; }
.lb-body {
  width: 100%; max-width: 480px; padding: 14px 20px 24px;
  background: #fff; border-radius: 16px 16px 0 0;
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}
.lb-body h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.lb-meta { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.lb-badge { padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; }
.lb-green { background: #e8f5e9; color: #2e7d32; }
.lb-gray { background: #f0efeb; color: #666; }
.lb-body p { font-size: 0.82rem; color: #555; line-height: 1.6; }
