/* Update this specific block in your existing CSS */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important; /* Forced to bypass theme builder defaults */
  height: 100% !important; /* Forced to bypass theme builder defaults */
  max-width: none !important;
  object-fit: cover !important; /* Ensures the image fills the box without squishing */
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
  cursor: pointer; /* Indicates it can be clicked for the lightbox */
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================
   NEW: Lightbox Overlay Styles
========================================= */
.fcc-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fcc-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.fcc-lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  object-fit: contain;
}

.fcc-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.fcc-lightbox-close:hover {
  color: #8a1529; /* Dark red hover accent */
}