/* ===================== BEFORE/AFTER CAROUSEL (Figma) ===================== */
.bc-ba-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.bc-ba-slides {
  flex: 1;
  overflow: hidden;
  max-width: 620px;
}

.bc-ba-slide {
  display: none;
}
.bc-ba-slide.bc-ba-active {
  display: block;
}

.bc-ba-pair {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.bc-ba-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 282px;
}

.bc-ba-item img {
  width: 282px;
  height: 282px;
  object-fit: cover;
  border-radius: 20px;
}

.bc-ba-label {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6E5B4C;
}

.bc-ba-arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bc-brown);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--bc-brown);
}
.bc-ba-arrow:hover {
  background: var(--bc-brown);
  color: var(--bc-cream);
}
.bc-ba-arrow svg {
  stroke: currentColor;
}

/* Mobile: mniejsze zdjęcia, strzałki pod */
@media (max-width: 767px) {
  .bc-ba-carousel {
    flex-wrap: wrap;
    gap: 12px;
  }
  .bc-ba-pair {
    gap: 12px;
  }
  .bc-ba-item {
    flex: 1;
  }
  .bc-ba-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .bc-ba-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ===================== IMAGE LIGHTBOX (before/after) ===================== */
.bc-img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bc-img-lightbox.active {
  display: flex;
}
.bc-img-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}
.bc-img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
.bc-img-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-b);
  font-size: 14px;
  letter-spacing: 0.05em;
}
/* Make BA images clickable */
.bc-ba-item img {
  cursor: pointer;
  transition: transform 0.2s;
}
.bc-ba-item img:hover {
  transform: scale(1.03);
}
