/* Estilos gerais da galeria */
.opg-gallery-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* Ajuste conforme seu layout */
    margin: 0 auto;
    overflow: hidden; /* Importante para esconder os slides fora da vista */
    box-sizing: border-box;
}

/* Contêiner da área principal do slider e setas */
.opg-gallery-main {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

/* Estilo do slider principal */
.opg-slider {
    display: flex;
    /* A transição será controlada pelo JavaScript */
    /* transition: transform 0.5s ease-in-out; */
    width: 100%;
}

.opg-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.opg-gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    object-fit: contain;
    max-height: 500px; /* Opcional: Defina uma altura máxima se as imagens forem muito grandes */
    box-shadow: none;
}

/* Setas de navegação */
.opg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    color: #004748;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.opg-arrow:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
}

.opg-prev-arrow {
    left: 10px;
}

.opg-next-arrow {
    right: 10px;
}

/* Dots de navegação */
.opg-slider-dots {
    text-align: center;
    padding: 15px 0 0;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}

.opg-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.opg-dot.active {
    background-color: #004748;
    opacity: 1;
}

/* Estilos do Modal da Lupa */
.opg-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.opg-modal-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
}

.opg-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.opg-modal-close:hover,
.opg-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Media Queries para responsividade */
@media screen and (max-width: 768px) {
    .opg-arrow {
        font-size: 20px;
        padding: 8px;
    }
}