/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    margin-top: 2.5vh;
    overflow: hidden;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #718096;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    background: white;
    color: #2d3748;
    transform: scale(1.1);
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10001;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    margin: 0 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 70vh;
    padding: 40px;
}

#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lightbox-info {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.lightbox-info h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.lightbox-commerce {
    margin: 20px 0;
}

/* Responsividade do Lightbox */
@media (max-width: 968px) {
    .lightbox-content {
        width: 98%;
        margin-top: 1vh;
    }
    
    .nav-btn {
        margin: 0 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .lightbox-image-container {
        padding: 20px;
    }
    
    .lightbox-info {
        padding: 20px;
    }
}