@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css');


.func-capinhas-personalizadas {
    overflow: hidden;
}



.capinhas-personalizadas {
    display: flex;
    justify-content: space-between;
}

.esquerda {
    position: relative;
    margin-left: 25px;
}

.logo_voltar_site {
    text-align: -webkit-center;
    margin-top: 39px;
}


.esquerda img {
    width: 120px;
}

.btn-voltar-site {
    margin-top: 30px;
    font-size: 13px;
}

.btn-voltar-site a {
    color: var(--bg-botao-comprar-listagem);
    font-weight: bold;
}

.btn-voltar-site a:hover {
    color: var(--bg-botao-comprar-listagem);
    opacity: 0.7;
}

.btn-limpar-custom {
    position: relative;
}

.btn-limpar-custom>div {

    position: absolute;
    top: 415px;
    cursor: pointer;
    display: flex;
    align-items: center;

}

.btn-limpar-custom i {

    background: #404041;
    color: #fff;
    border-radius: 28px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.centro {
    margin-top: 30px;
}

.direita {
    position: relative;
}

.direita>.direita-conteudo {
    background: #fff;
    border-left: 1px solid #999;
    height: 100%;
    padding: 0;
    /* // position: absolute;
    // right: 0;
    // top: 0; */
    width: 380px;
    height: 100vh;
}


.direita-conteudo ul {
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.direita-conteudo ul li {
    background: #404040;
    border: 0 !important;
    border-left: 1px solid #696969;
    border-radius: 0;
    color: #fff;
    margin-right: 0;
    padding: 15px;
    text-align: center;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
}

.direita-conteudo ul li.active {
    background-color: #48a18c;
}

.todos-as-marcas .escolha-marca {
    background-color: #48a18c;
    color: #fff;
    height: 50px;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.marca-lista-item,
.modelo-lista-item {
    text-align: center;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.marca-lista-item:hover,
.modelo-lista-item:hover {
    background: #c5c5c5;
}

.marca-lista-item.active,
.modelo-lista-item.active {
    background: #c5c5c5;
}

.modelos-lista {
    overflow: scroll;
    height: 100vh;
}

.marca-voltar,
.modelo-voltar,
.material-voltar {
    display: none;
    cursor: pointer;
}

.material-lista {
    display: none;
    position: relative;
}

.marcas-lista {
    height: 87vh;
    overflow: scroll;
}

.material-lista-item {
    text-align: center;
    height: 100px;
    padding-top: 20px;
    cursor: pointer;
}

.material-lista-item:hover {
    background: #c5c5c5;
}

span.material-nome {
    color: #7f7f7f;
    font-weight: 100;
    text-align: center;
}

span.material-preco {
    display: flex;
    justify-content: center;
    color: #404040;
    font-weight: bold;
    padding-top: 11px;
}

.material-lista-item>div {
    display: block;
    align-items: center;
    justify-content: center;
}

/* // .material-lista-item.active{
//     background: #c5c5c5;
// } */

.material-lista-item.active::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #48a18c;
    position: absolute;
    right: 22px;
    top: 31px;
    font-size: 25px;
}

.escolha-o-layout {
    display: none;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.escolha-o-layout>div {
    /* // padding: 5px; */
    cursor: pointer;
    margin: 3px;
}

.escolha-o-layout>div.active {
    border: 7px solid #48a18c;
}

.escolha-o-layout img {
    width: 100%;
    height: 100%;
}


.traseira-grid .grid-item {
    background-color: rgba(165, 165, 165, .12);
    border: 1px solid #fff;
    height: 100%;
    padding: 0;
    position: absolute;
}

.traseira-celular {
    position: relative;
}


.aba-fotos-topo {
    display: grid;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f3f3f3;
    border: 0;
    border-bottom: 4px solid #404040;
    color: #404040;
}

.aba-fotos-topo i {
    font-size: 26px;
    margin-bottom: 8px;
}

.todos-as-marcas.conteudo-aba-fotos {
    display: none;
}

div#personalize-com-imagens form {
    display: block;
    text-align: center;
    justify-content: center;
    padding-top: 20px;
    cursor: pointer;


    background: #fff;
    border: 1px dashed #b0b0b0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 7%;
    margin: 20px;
}


button.btn_custom_submit.botao.principal {
    background: no-repeat;
    border: none;
}

.customized_photo_preview_img {
    display: none;
}

#customized_photo_preview_img {
    margin-bottom: 15px;
    width: 80px;
    height: auto;
    cursor: pointer;

    /* // position: unset !important; */
}

.loading__image {
    margin-top: 15px;
    display: none;
}

.loading__image img {
    width: 55px;
}

#photo_file {
    display: none;
}

div#personalize-com-imagens form label {
    background-color: #48a18c;
    color: #fff;
    width: 69%;
    text-align: center;
    padding: 10px 30px;
    font-size: 15px;
    margin: 0 auto;
}

.traseira-grid .grid-item #customized_photo_preview_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* // position: initial !important; */
    /* left: 0 !important; */
    /* top: 0 !important; */
}

.customized_photo_preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 51px;
    margin-left: 20px;


}

.remove_imagem {
    background: #e74040;
    width: 30px;
    text-align: center;
    height: 30px;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    position: absolute;
    left: 7px;
    display: none;
    z-index: 9;
}

.mover_imagem {
    background: #36A9A6;
    width: 30px;
    text-align: center;
    height: 30px;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    position: absolute;
    left: 43px;
    display: none;
    z-index: 9;
}

.mover_imagem i {
    border: 1px solid #fff;
    padding: 2px;
    font-size: 13px;
}

.customized_photo_preview_item {
    position: relative;

}

.traseira-celular .customized_photo_preview_item {
    width: 100%;
    height: 100%;
}

.customized_photo_preview_item:hover .remove_imagem,
.customized_photo_preview_item:hover .mover_imagem {
    display: flex;
}

.phone-overlay-area {
    width: 280px;
    height: 560px;
    background-repeat: no-repeat;


    /* // position: relative;
    // z-index: 9; */

}

.phone-background-area {

    margin-top: 1px;
    margin-left: 1px;
    width: 280px;
    height: 560px;

    /* // background-image: url(&quot;https://case4you.s3.amazonaws.com/devices/5d8b82464a44205ed8e17af0/images/6jR8eNGQ.png&quot;); */
    background-repeat: no-repeat;

}

.traseira-grid {
    z-index: 99999;
}

.informacoes-capinha-selecionada {
    position: relative;
    display: none;
    text-align: center;
}

.informacoes-capinha-selecionada>div {
    position: absolute;
    top: 62px;
}

.info-capinha-selecionada-nome {
    font-size: 35px;
    font-weight: 500;
}

.info-capinha-selecionada-preco {
    font-size: 40px;
    font-weight: 600;
}

.info-capinha-selecionada-btn-comprar {
    margin-top: 25px;
}

.info-capinha-selecionada-btn-comprar button {
    background: var(--bg-botao-comprar-listagem);
    text-align: center;
    width: 180px;
    height: 40px;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

.tab-fixed-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.tab-fixed-content .info-capinha-selecionada-btn-comprar {
    margin: 0;
}

.btn-ajuda i {
    background: #e74040;
    border-radius: 50%;
    font-size: 16px;
    width: 40px;
    height: 40px;
    text-align: center;
    align-items: center;
    display: grid;
    margin-right: 11px;
    color: #fff;
}

.help-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}


.phone-overlay-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* //background-image: url(https://case4you.s3.amazonaws.com/devices/5d8b82464a44205ed8e17af0/images/border.png); */
    pointer-events: none;
    /* Esta linha Ã© a chave - evita que a Ã¡rea de sobreposiÃ§Ã£o capture eventos de mouse */
    z-index: 9;
    /* Garante que a Ã¡rea de sobreposiÃ§Ã£o esteja acima da traseira-grid */
}

.grid-item {
    /* Adicione um z-index maior para garantir que os elementos do grid estejam acima da sobreposiÃ§Ã£o */
    /* //z-index: 8; */
}

/* MOVER */
.popup_mover_imagem {
    position: relative;
}

.popup_mover_container {
    background: #404041;
    border-radius: 5px;
    height: auto;
    padding: 15px 17px;
    position: absolute;
    width: 300px;
    z-index: 1005;
    color: #fff;
    right: 20%;
    top: 32px;
    display: none;
}

.div-mover-imagem>div {
    display: flex;
    justify-content: center;
}

.div-mover-imagem {
    display: grid;
    justify-content: center;
    text-align: center;
}


.mover-opcoes>div,
.girar_imagem .opcoes>div,
.redimensionar_imagem .opcoes>div,
.aplicar_imagem>div,
.fechar_imagem>div {
    cursor: pointer;
    background: #fff;
    margin: 11px;
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    font-size: 17px;
}

.aplicar_imagem>div {
    background: var(--bg-botao-comprar-listagem);
    color: #fff;
}

.fechar_imagem>div {
    background: #e74040;
    color: #fff;
}

.girar_redimensionar {
    display: flex;
    justify-content: center;
    text-align: center;
}

.girar_imagem .opcoes,
.redimensionar_imagem .opcoes {
    display: flex;
}



.aplicar_fechar_mover {
    display: flex;
    justify-content: space-evenly;
}


.traseira-grid .grid-item {
    background-repeat: no-repeat;
}

.image-edition-marker {
    display: none;
    border: 2px solid red;
    position: absolute;
    z-index: 1003;
    width: 280px;
    height: 560px;
    top: 33px;
    border-radius: 0px;
    /* left: 461.281px; */
    left: -167px;
    right: 0;
    margin: 0 auto;
}

.image-photo-preview {
    height: 100%;
    width: 100%;
}

.carrinho-preview-capinha {
    display: none;
    position: absolute;
    right: 565px;
    top: 175px;
}

.carrinho-preview-capinha-img img {
    height: 422px;
}

.carrinho-preview-capinha .fechar-preview-capinha {
    position: absolute;
    right: 0;
    top: -21px;
    cursor: pointer;
}

.loader {
    display: none;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #36A9A6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 999999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loader {
    top: 38% !important;
}

.word {
    border-radius: 50px;
    width: 390px;

    position: absolute;
    top: 51%;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 999999;
    display: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    place-content: center;

}

.loader-loading {
    opacity: 0.5;
    background-color: #000;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    /*display: none !important;*/

}

textarea#agendamento_observacao,
textarea.input-block-level.sem-margem {
    display: none;
}


.editor-imagem-acoes button i {
    font-size: 24px;
}

.editor-imagem {
    display: none;
    position: absolute;
    top: 62px;
    left: 21px;
    z-index: 999999;
    background: #fff;
    border: 1px solid #999;
    border-radius: 20px;
    padding-bottom: 10px;
    /* height: 77%; */
}

@media(min-width: 992px) {
    .editor-imagem {
        top: 8px;
    }
}

.image-container {
    width: 500px;
    height: 500px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

#preview-container {
    width: 268px;
    /* Largura do preview */
    height: 586px;
    /* Altura do preview */
    overflow: hidden;
    border: 1px solid #ccc;
    margin-left: 20px;
}

#preview-image {
    /* Ajuste o tamanho da imagem de acordo com o contÃªiner */
    width: 100%;
    height: 100%;
    /* Alterado para 100% */
}

.editor-imagem-acoes button {
    cursor: pointer;
    background: #fff;
    margin: 11px;
    color: #000;
    width: 35px;
    height: 35px;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    font-size: 17px;
}

.editor-imagem-acoes {
    display: flex;
    justify-content: center;
}


/* apenas no desktop */
@media(min-width: 992px) {

    .celular-voltar-fotos-mobile {
        display: none;
    }

    .mensagem-tooltip {
        position: absolute;
        top: 148px;
        right: 402px;
        background: #fff;
        border: 1px solid #a9a9a9;
        box-shadow: 2px 10px 18px -13px #969696;
        padding: 25px;
        position: absolute;
        text-align: center;
        width: 280px;
        height: 99px;
        z-index: 1002;
    }

    .mensagem-tooltip-acoes-cel {
        display: none;
        position: absolute;
        top: 148px;
        left: 375px;
        background: #fff;
        border: 1px solid #a9a9a9;
        box-shadow: 2px 10px 18px -13px #969696;
        padding: 25px;
        position: absolute;
        text-align: center;
        width: 280px;
        height: 99px;
        z-index: 1002;
    }

    .mensagem-tooltip i,
    .mensagem-tooltip-acoes-cel i {
        position: absolute;
        top: 11px;
        cursor: pointer;
    }

    .mensagem-tooltip>div,
    .mensagem-tooltip-acoes-cel>div {
        display: flex;
        justify-content: space-between;
    }

    .mensagem-tooltip span,
    .mensagem-tooltip-acoes-cel>div {
        /* margin-top: 11px; */
        font-family: "Montserrat", sans-serif;
    }

    /* .mensagem-aviso-edicao{
        display: none;
        position: relative;
    } */

    .mensagem-aviso-edicao {
        display: none;
        position: absolute;
        top: 27px;
        /* left: 609px; */
        background: #fff;
        background: #e74040;
        border-radius: 10px;
        padding: 25px;
        position: absolute;
        text-align: center;
        width: 300px;
        height: auto;
        font-size: 14px;
        padding-top: 10px;
        padding-bottom: 10px;
        z-index: 2000;
        color: #fff;
        font-family: "Montserrat", sans-serif;


        /* display: none;
        position: absolute;
        left: 726px;
        top: 27px;
        margin: 0 auto;
        background: #e74040;
        border-radius: 10px;
        position: absolute;
        text-align: center;
        width: 300px;
        z-index: 2000;
        color: #fff;
        font-family: "Montserrat", sans-serif;
        font-size: 14px;
        padding-top: 10px;
        padding-bottom: 10px; */
    }

    .mensagem-aviso-edicao button {
        background: #fff;
        background: #f3f3f3;
        color: #404041;
        width: auto;
        border-radius: 30px;
        padding: 6px 12px;
        cursor: pointer;
    }


}


/* mobile */

@media(max-width: 992px) {

    .celular-voltar-fotos-mobile {
        display: none;
    }

    .mobile-aviso-imagem {
        color: red;
        font-family: "Montserrat", sans-serif;
    }

    .editor-imagem {
        height: auto;
        left: 0;
        width: 100%;
        height: 100vh;
        top: 0;
    }

    .image-container {
        width: 100%;
        /* height: 100%; */
    }

    .editor-imagem-acoes {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        justify-content: center;
        justify-items: center;
    }


    #customized_photo_preview_img {
        object-fit: cover;
        height: 90px;
        /* width: auto; */
        /* margin: 4px; */
    }

    .imagensSubidasMobile .customized_photo_preview {
        grid-template-columns: repeat(5, 1fr);
        margin-left: 0px;
        margin: 5px;
    }

    .imagensSubidasMobile #customized_photo_preview_img {
        padding: 3px;
    }

    .capinhas-personalizadas .esquerda,
    .capinhas-personalizadas .centro,
    .tab-fixed-content {
        display: none;
    }

    .direita-conteudo ul li:nth-child(2) {
        display: none;
    }

    .direita>.direita-conteudo {
        width: 374px;
    }

    .celular-voltar-mobile {
        position: absolute;
        top: 11px;
        left: 16px;
        cursor: pointer;
    }

    .centro {
        /* margin-top: 57px; */
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .acoes-mobile-case {
        /* display: flex;
        width: 100%; */
        /* padding-right: 5px; */
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .acoes-mobile-case>div {
        display: flex;
        margin-bottom: 20px;
    }

    .acoes-mobile-case p {
        text-align: center;
    }

    .botao-mobile-enviar-fotos {
        /* position: absolute; */
        bottom: 9px;
        background: #fff;
        text-align: center;
        width: 180px;
        height: 40px;
        color: var(--bg-botao-comprar-listagem);
        border: 1px solid var(--bg-botao-comprar-listagem);
        margin-top: 24px !important;
        border-radius: 30px;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        left: 0;

    }




    .centro .customized_photo_preview {
        /* margin-left: -128px !important; */
        margin-top: 0px !important;
    }

    .carrinho-preview-capinha {
        right: 83px !important;
        top: 227px !important;
    }


    .popup_mover_container {
        top: 641px !important;
        width: 100%;
        right: 0;
    }

    .popup_mover_container i {
        font-size: 12px;
    }

    .mover-opcoes>div,
    .girar_imagem .opcoes>div,
    .redimensionar_imagem .opcoes>div,
    .aplicar_imagem>div,
    .fechar_imagem>div {
        height: 25px;
        width: 25px;
    }

    .popup_mover_imagem span {
        display: none;
    }

    .phone-background-area {
        background-size: auto 378px;
        width: 187px;
        height: 377px;
    }

    .phone-overlay-area {
        background-size: auto 378px;
    }

    .traseira-grid .grid-item {
        width: 68%;
    }

    div#cp-device-ori {
        /* margin-left: 67px; */
    }

    .imagensSubidasMobile {
        position: absolute;
        bottom: 124px;
    }

    /* .traseira-grid .remove_imagem, .traseira-grid .mover_imagem {
        display: flex;
    }

    .traseira-grid .mover_imagem {
        left: 46px;
    }
    
    .traseira-grid .remove_imagem {
        left: 15px;
    } */



}

.celular-voltar-fotos-mobile {
    margin-top: 70px;
    text-align: center;
    font-size: 20px;
}

.capinhas-personalizadas {
    font-family: "Montserrat", sans-serif;
}

.info-capinha-selecionada-nome {
    font-size: 35px;
}

div#personalize-com-imagens form label {
    font-size: 15px;
}