.ge-galeria-wrapper {
    width: 100%;
    height: 100%;
    max-height: inherit;
    overflow: hidden;
    position: relative;
}

.ge-galeria-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: inherit;
    min-height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ge-imagem-principal {
    width: 100%;
    flex: 1;
    min-height: 0;
    max-height: 100%;
    margin-bottom: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
    touch-action: none;
}

.ge-imagem-principal.zoomed {
    cursor: grab;
}

.ge-imagem-principal.zoomed:active {
    cursor: grabbing;
}

.ge-imagem-principal img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
    transform-origin: center center;
}

.ge-legenda {
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
    color: #666;
    background: transparent;
    min-height: 20px;
    flex-shrink: 0;
}

.ge-miniaturas-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
}

.ge-miniaturas-scroll {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.ge-miniaturas-scroll::-webkit-scrollbar {
    height: 6px;
}

.ge-miniaturas-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ge-miniaturas-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.ge-miniaturas-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.ge-miniatura {
    flex-shrink: 0;
    height: 80px;
    width: 80px;
    margin-right: 10px;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.ge-miniatura:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.ge-miniatura.ativa {
    opacity: 1;
    border-color: #0073e6;
}

.ge-miniatura:last-child {
    margin-right: 0;
}

.ge-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsivo */
@media (max-width: 768px) {
    .ge-imagem-principal {
        min-height: 300px;
    }
    
    .ge-miniatura {
        height: 60px;
        width: 60px;
    }
}