/* ====================================
   REAL PHOTOS LIGHTBOX
   ==================================== */
#rp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
#rp-lightbox.active {
  display: flex;
}
#rp-lightbox #rp-lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
}
#rp-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10000000;
}
#rp-lb-close:hover { background: rgba(255,255,255,0.3); }
#rp-lb-prev,
#rp-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10000000;
}
#rp-lb-prev { left: 20px; }
#rp-lb-next { right: 20px; }
#rp-lb-prev:hover,
#rp-lb-next:hover { background: rgba(255,255,255,0.3); }

/* Real Photos Carousel Styles */

.stands-layout-wrapper {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 28px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}

.stands-grid-column {
  min-width: 0;
}

.stands-grid-column .stands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stands-grid-column .stand-card-carousel {
  width: 100%;
  max-width: none;
}

.real-photos-column {
  min-width: 0;
  position: sticky;
  top: 88px;
  align-self: start;
}

.real-photos-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background: #000;
}

.real-photos-track {
  position: relative;
  width: 100%;
  height: 500px;
}

.real-photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.real-photo-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .stands-grid-column .stands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .stands-layout-wrapper {
    grid-template-columns: 1fr;
  }

  .stands-grid-column .stands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .real-photos-column {
    position: relative;
    top: 0;
    margin-top: 12px;
  }

  .real-photos-track {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .stands-layout-wrapper {
    gap: 20px;
    padding: 0 10px;
  }

  .stands-grid-column .stands-grid {
    grid-template-columns: 1fr;
  }

  .real-photos-track {
    height: 456px;
  }
}

@media (max-width: 480px) {
  .real-photos-track {
    height: 536px;
  }
}
