
.modal-foto-produto-container {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-self: center;
}

.zoom-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: min(40vw, 600px);
    height: min(60vh, 500px);
}

.modal-foto-produto {
    display: flex;
    justify-content: center;
    max-width: 100%;
    align-items: center;
}

.modal-foto-produto-conteudo {
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    padding: 10px;
}

.modal-foto-produto-imagem {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .15s ease;
}

.modal-foto-produto-infos {
    margin-left: 10px;
    margin-right: 10px;
    min-width: 200px;
}

.modal-foto-produto-control {
    display: flex;
    border: 2px solid #ccc;
    flex-direction: row;
    max-height: 100px;
    max-width: 550px;
    overflow-x: auto;
    overflow-y: hidden;
}

.modal-foto-produto-control img {
    height: 90px;
    width: 90px;
    object-fit: contain;
    cursor: pointer;
    border-right: 2px solid #ccc;
}

/* ver isso */
.modal-foto-produto-control > div:last-child img{
    border-right: 0px;
}

.modal-foto-produto-overlay-selecao {
    background-color: rgba(0, 0, 0, 0.15);
    height: 90px;
    width: 90px;
    position: absolute;
    top: 0px;
}
/* .modal-foto-produto-control img.selecionada {
    background-color: black;
} */

@media(max-width:980px) {

     .modal-foto-produto-conteudo {
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    .zoom-container {
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    .modal-foto-produto-imagem {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 60vh;
    }

    .modal-foto-produto-infos {
        min-width: 0;
        width: 100%;
        margin: 10px 0 0 0;
    }
}