#lightbox.hidden {
    display: none !important;
}
#lightbox .image-counter {
    color: white;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-family: sans-serif;
    position: fixed;
    bottom: 20px;
    left: 20px;
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
}

.lightbox-content {
    position: relative;
    max-height: 90vh;
    max-width: 90vw;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}
.lightbox-content .spinner {
    display: none; 
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 5px solid #ccc;
    border-top: 5px solid #3498db; 
    border-radius: 50%;
    animation: girar 1s linear infinite;
  }
  
  @keyframes girar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.lightbox-content img.show {
    opacity: 1;
    display: block;
}

#lightbox .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

#lightbox .controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

#lightbox .controls button {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 0 20px;
    background-color: rgba(0,0,0,0.5);
}

.gallery-photos{
    display: none !important;
}
.gallery-btn{
    cursor: pointer;
}