.fie-expandable {
  position: relative;
  display: inline-block;
  cursor: zoom-in;
}

.fie-expandable img {
  display: block;
  transition: opacity 0.3s ease;
}

.fie-expandable:hover img {
  opacity: 0.9;
}

.fie-expand-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fie-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.fie-lightbox.fie-active {
  background: rgba(0, 0, 0, 0.9);
  opacity: 1;
}

.fie-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.fie-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.fie-lightbox.fie-active .fie-lightbox-content img {
  transform: scale(1);
}

.fie-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: normal;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.fie-close:hover,
.fie-close:focus {
  opacity: 1;
}

@media (max-width: 768px) {
  .fie-lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }

  .fie-close {
    top: 10px;
    right: 10px;
  }
}
