.gallery-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter-btn {
  border: 1.5px solid rgba(58,42,30,0.15);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gallery-filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.gallery-filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

.gallery-grid {
  columns: 3 260px;
  column-gap: 1.2rem;
}
@media (max-width: 700px) {
  .gallery-grid { columns: 2 200px; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 2; column-gap: 0.75rem; }
  .gallery-item { margin-bottom: 0.75rem; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
  background: var(--white);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .gallery-item-caption { opacity: 1; }

@media (max-width: 480px) {
  .gallery-item-caption {
    position: static;
    padding: 0.55rem 0.7rem;
    background: var(--brown-deep);
    opacity: 1;
  }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.92);
  display: none;
}