:root {
    --loading-grey: #ededed;
}
*{
    margin: 0; padding: 0;
}
body{
    /*font-family: 'Josefin Sans', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color:#505050;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: hidden;
    cursor:default;
}

a{
    text-decoration: none;
    color:#505050;
}

h1{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 40px;
    margin: 0; padding: 0;
}
h2{
    font-family:'Josefin Sans', sans-serif;
    font-weight:400;
    font-size:24px;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-track:hover{
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius:5px;
    border:2px solid #F5F5F5;
    transition: all 0.35s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
    border:2px solid #DEDEDE;
}

main{
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}

@media only screen and (max-width: 770px){

    main{
        height: 500px;
    }

}

.connection-status{
    color:#B1B1B1;
}
.connection-status.online{
    color:green;
}
.connection-status.offline{
    color:#C4222A;
}

.loader{
    border: 2px solid rgba(0, 34, 42, .2);
    border-top: 2px solid rgba(196, 34, 42, .8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ** ** */
.skeleton {
    background-color: var(--loading-grey);
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, .5) 50%,
        rgba(255, 255, 255, 0) 60%
    ) var(--loading-grey);
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1.5s sk-loading ease-in-out infinite;
}
@keyframes sk-loading {
    to {
        background-position-x: -20%;
    }
}
/* ** ** */

#btn-voltar{
    opacity:0;
    transition: all 0.25s ease;
    border:none;
}
#btn-voltar.active{
    opacity:1;
}

#btn-info, #btn-wpp{
    opacity:0;
    transition: all 0.25s ease;
    border:none;
}
#btn-info.active{
    opacity:1;
}

#menubar{
    position:fixed;
    top:0;
    left:0;
    z-index:500;
    width:100%;
    height:50px;
    overflow: hidden;
    padding:8px 0;

    font-family: 'Josefin Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.35s ease;
    background-color: #FFF;
    color: #1d1d1d;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .1);
    border-top: 3px solid #C4222A;
}
.input-search{
    font-size:18px;
    font-weight:400;
    text-align:center;
    border-radius:15px;
    padding-top:4px;
    width:100%;
    background-color:#F0F0F0;
    border:none;
    transition: all 0.35s ease;
}

/**
*
*
**/

#sc-pesquisa{
    background-color:#FFF;
    position:absolute;
    opacity:0;
    z-index:0;
    width:100%;
    height: calc( 100vh - 50px );
    overflow-x:hidden;
    overflow-y:scroll;
    transition: all 0.3s ease;

    left:10px;

    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:50px;
    padding:5px;

    align-items:flex-start;
}
#sc-pesquisa.active{
    opacity:1;
    z-index:200;
    left:0;
}

.sc-pesquisa-group{
    display:none;
}

.sc-pesquisa-item, .sc-pesquisa-item-off{

    background-color: #FFF;
    
    width: calc( (100vw - 20px) / 4 - 10px );
    height: calc( (100vh - 60px) / 2 - 10px );
    margin: 5px;
    transition: all 0.3s ease;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    font-family:'Montserrat', sans-serif;
    font-size:18px;
    font-weight:400;

}
.sc-pesquisa-item:hover{
    /*background-color:#DEDEDE;*/
}
.sc-pesquisa-item-off{
    background-color: #F9F9F9;
}

.sc-pesquisa-item-corpo{

    width:100%;
    height:80%;
    /*backdrop-filter: blur(2px) brightness(40%);*/

    color:#FFF;
    
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    transition: all 0.3s ease;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;

}
.sc-pesquisa-item-legenda{

    width: 100%;
    height: 20%;
    padding: 10px;

    text-align: center;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background-color:#DEDEDE;

}

@media only screen and (max-width: 770px){

    .sc-pesquisa-item, .sc-pesquisa-item-off{

        width: calc( (100vw - 20px) / 2 - 10px );
        height: calc( (100vh - 60px) / 3 - 10px );

        font-size:14px;
        font-weight:400;
    
    }

}

/**
*
*
**/

#sc-produto-offline{
    padding:50px;
    text-align:center;   
}

#sc-produto-loading{
    z-index: 2000;
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sc-produto-foto-download{
    z-index: 1000;
    position: absolute;
    top: 20px;
    left: 100%;
    margin-left: -110px;
}
#downloadBtn{
    border: 0;
    background-color: rgba(100, 100, 100, .7);
    color: #FFF;
    font-size: 12px;
    width: 90px;
    overflow: hidden;
    border-radius: 4px;
    padding: 4px 6px;
}

#sc-produto{
    background-color:#FFF;
    position:absolute;
    opacity:0;
    z-index:0;
    top:0;
    left:25px;
    width:100%;
    height:calc(100vh - 50px);
    margin-top:50px;
    overflow:hidden;
    transition: all 0.5s ease;
}
#sc-produto.active{
    opacity:1;
    z-index:100;
    left:0;
}

#sc-produto-titulo{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 32px;
    text-align: center;
    color:#1d1d1d;
    opacity:0;
    margin-top:-5px;
}
#sc-produto-descricao{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color:#1d1d1d;
}


#sc-produto-info{

    z-index: 1000;
    position: absolute;
    top: 0; left: 0;
    width:100vw; height:100vh;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;

}
#sc-produto-info.active{

    background-color: rgba(0, 0, 0, .7);
    opacity: 1;

}
#sc-produto-info-close{
    z-index: 1001;
    position: absolute;
    left: 100%; margin-left: -45px;
    top: 5px;
}
#sc-produto-info-left{
    width:45%;
    display:block;
}
#sc-produto-info-right{
    width:55%;
    display:block;
}

@media screen and (orientation:portrait){
    #sc-produto-info-left{
        display:none;
    }
    #sc-produto-info-right{
        width:100%;
    }
}



#sc-produto-info-body{
    position: absolute;
    width: 80vw; left: 10vw;
    height: 70vh; top: 15vh;
    overflow: hidden;
    border-radius: 25px;
    display: flex;
    box-shadow: 0px 2px 4px rgba(25, 25, 25, .6);
}
#sc-produto-info-body-img{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90%;
    background-color: #F8F8F8;
    background-blend-mode: darken;
    width: 100%; height: 100%;
}
#sc-produto-info-body-desc{
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
    padding: 15px 0 65px 25px;
    background-color:#FFF;
}
#sc-produto-info-body-desc-inside{
    width: 100%; height: calc( 100% - 60px );
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    padding-right:20px;
    margin: 55px 0 0 0;
}
#sc-produto-info-body-header{
    position: fixed;
}
#sc-produto-info-body-header h1{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 30px;
    margin: 0; padding: 0;
}

#sc-produto-info-menu{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    background-color: #F2F2F2;
    height: 50px;
    overflow: hidden;
    padding: 0 0 0 18px;
}
#sc-produto-info-menu .nav-item{
    font-weight: 600;
    font-size:12px;
    color: #717171;
    border-right:1px solid #DEDEDE;
    padding: 5px 10px 5px 10px;
    opacity: 0;
}
#sc-produto-info-menu .nav-item.active{
    color: #C4222A;
}

.owl-carousel{
    padding:10px;
    opacity:0;
}
.owl-dots{
    position:absolute;
    top:calc(100vh - 100px);
    width:100vw;
}

.img-item, .vid-item{
    width: 100vw !important;
    height: calc( 100vh - 70px );
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.img-item.loading{
    background-color:#F0F0F0;
}

.img-item-body{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
.img-item-body.first{
    background-size: cover;
    background-position: 50% 80%;
    opacity: 0;
}
.img-item-desc{
    position: absolute;
    top: 5px;
    width: 100%;
    text-align: center;
    color: #1d1d1d;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}
figcaption{
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}


.acabamento-item{
    width: 100px;
    float: left;
    margin-bottom:15px;
}
.acabamento-item-imagem{
    width:80px; height:80px;
    border-radius: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: auto;
}
.acabamento-item-legenda{
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 600;
    text-align: center;
}

.box-tecidos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:space-between;
}
.tecido-item{
    width: 70px;
    margin-bottom: 15px;
}
.tecido-item-imagem{
    width: 66px; height: 66px;
    border-radius: 33px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: auto;
}
.tecido-item-legenda{
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 600;
    text-align: center;
}

@media only screen and (max-width: 770px){

}

/*
 *
 */

#product-3d{
    margin-bottom: 25px;
}
model-viewer{
    width:70vw;
    height:70vh;
}
@media only screen and (max-width: 770px){
    model-viewer{
        width:90vw;
        height:50vh;
    }
}

/*
 *
*/

/* Tela Inicial (Categorias) */
#sc-cat{
    background-color:#FFF;
    position:absolute;
    opacity:0;
    z-index:10;
    width:100%;
    height:calc(100vh - 50px);
    transition: all 0.3s ease;

    overflow-y: scroll;

    left:10px;

    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:50px;
    padding:5px;
}
#sc-cat.active{
    opacity:1;
    z-index:100;
    left:0;
}

.sc-cat-item{
    background-color: #F0F0F0;
    background-size: cover;
    background-position: center center;
    width: calc( (100vw - 20px) / 2 - 10px );
    margin: 5px;
    transition: all 0.5s ease;

    font-family:'Montserrat', sans-serif;
    font-size:34px;
    font-weight:300;

    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.sc-cat-item:hover{
    background-color:#DEDEDE;
}
.sc-cat-box{
    flex:1;
    text-align: center;
    backdrop-filter: blur(2px) grayscale(50%) brightness(85%);
    color: #FFF;
    border-top: 1px solid rgba(35,35,35,.1);
    border-bottom: 1px solid rgba(35,35,35,.1);
}

@media only screen and (max-width: 770px){

    #sc-cat{
        justify-content:center;
        height:calc(100vh - 120px);
    }
    .sc-cat-item{
        width: calc(100vw - 20px);
        height: calc( ( 100vh / 4 ) - 40px);
        font-size: 20px;
        font-weight:500;
    }

}

/* */
/* */
/* */

/* Tela Sub-Categorias */
#sc-subcat{
    background-color:#FFF;
    background-position:center center;
    background-size:cover;
    position:absolute;
    opacity:0;
    z-index:0;
    width:100%;
    height:calc(100vh - 50px);
    transition: all 0.3s ease;

    overflow-x:hidden;
    overflow-y:scroll;
    left:10px;

    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:50px;
    padding:5px;

    align-items:center;
    justify-content:center;
}
#sc-subcat.active{
    opacity:1;
    z-index:50;
    left:0;
}

.sc-subcat-group{
    display:none;
}

.sc-subcat-item, .sc-subcat-item-off{
    backdrop-filter: blur(3px) grayscale(50%) brightness(75%);

    width: calc( (100vw - 20px) / 3 - 20px );
    height: calc( (100vh - 60px) / 4 - 10px );
    margin: 10px;
    transition: all 0.3s ease;

    border: 1px solid rgba(35,35,35,.1);
    border-radius:3px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    font-family:'Montserrat', sans-serif;
    font-size:28px;
    font-weight:300;
    color:#FFF;
}
.sc-subcat-item:hover{
    background-color: rgba(25, 25, 25, .2);
}
.sc-subcat-item-off{
    background-color: #F9F9F9;
}

.sc-subcat-item-qtd{
    margin-top:-5px;
    font-family:'Montserrat', sans-serif;
    font-size:15px;
    font-weight:500;
}

@media only screen and (max-width: 770px){

    #sc-subcat{
        height:calc(100vh - 120px);
        align-items:center;
        justify-content:center;
    }

    .sc-subcat-item, .sc-subcat-item-off{
        width: calc(100vw - 20px);
        height: 70px;
        font-size: 18px;
        font-weight: 500;
    }

    .sc-subcat-item-qtd{
        font-size:14px;
        font-weight:400;
    }

}

/* */
/* */
/* */

/* Tela Produtos */
#sc-produtos{
    background-color:#FFF;
    position:absolute;
    opacity:0;
    z-index:0;
    width:100%;
    height: calc( 100vh - 50px );
    overflow-x:hidden;
    overflow-y:scroll;
    transition: all 0.3s ease;

    left:10px;

    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:50px;
    padding:5px;

    align-items:flex-start;
}
#sc-produtos.active{
    opacity:1;
    z-index:100;
    left:0;
}

.sc-produtos-group{
    display:none;
}

.sc-produtos-item, .sc-produtos-item-off{

    background-color: #F0F0F0;
    
    width: calc( (100vw - 20px) / 2 - 10px );
    height: calc( (100vh - 60px) / 2 - 10px );
    margin: 5px;
    transition: all 0.3s ease;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    font-family:'Montserrat', sans-serif;
    font-size:18px;
    font-weight:400;

}
.sc-produtos-item:hover{
    background-color:#DEDEDE;
}
.sc-produtos-item-off{
    background-color: #F9F9F9;
}


.sc-produtos-item-corpo{

    width:100%;
    height:80%;

    color:#FFF;
    
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    transition: all 0.3s ease;

}
.sc-produtos-item-foto{

    position: relative;
    left:0; top:0;

    width:100%; height: 100%;
    opacity:.1;

    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;

}
.sc-produtos-item-legenda{

    width: 100%;
    height: 20%;
    padding: 10px;

    text-align: center;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

}

@media only screen and (max-width: 770px){
    .sc-produtos-item, .sc-produtos-item-off{
        width: calc( (100vw - 20px) / 2 - 10px );
        height: 40vh;
        font-size:16px;
        font-weight:400;
    }
    .sc-produtos-item-corpo{
        height:60%;
    }
    .sc-produtos-item-legenda{
        height:40%;
        font-size:14px;
    }
}

/**
*
*
**/

.dossie-item{
    width:250px;
    background-color:#F8F8F8;
    padding:10px 10px 5px 10px;
    margin:10px;
}
.dossie-item-imagem{
    width:100%;
    height:250px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    background-color:#FFF;
    background-blend-mode:darken;
}

@media only screen and (max-width: 770px){

    .dossie-item{
        width: calc( ( 100vw / 2 ) - 50px );
        padding:10px;
        margin:10px;
    }
    .dossie-item-imagem{
        height:200px;
    }

    #sc-produto-titulo{
        font-size: 15px;
        font-weight: 500;
        margin: auto;
        margin-top:-4px;
    }

    #img-item-0{
        background-size: contain !important;
        background-position: center center !important;
    }

}