/* ===== Image gallery (Figma 606:364 / 401:609 …) ===== */
.oda-gallery {
  display: grid;
  grid-template-columns: repeat(var(--oda-gallery-cols, 4), minmax(0, 1fr));
  gap: 10px;
}
.oda-gallery__item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f3;
  cursor: pointer;
}
.oda-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.oda-gallery__item:hover img {
  transform: scale(1.04);
}
@media (max-width: 767px) {
  .oda-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Lightbox ===== */
.oda-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(15, 15, 16, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.oda-lightbox[hidden] {
  display: none;
}
.oda-lightbox.is-open {
  opacity: 1;
}
.oda-lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.oda-lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.oda-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.oda-lightbox__close {
  top: 24px;
  right: 24px;
}
.oda-lightbox__nav--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.oda-lightbox__nav--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.oda-lightbox__count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: -0.08px;
}
@media (max-width: 767px) {
  .oda-lightbox {
    padding: 16px;
  }
  .oda-lightbox__nav--prev {
    left: 8px;
  }
  .oda-lightbox__nav--next {
    right: 8px;
  }
}
