/*Theme Name: Marilar
 *Author: Agência Conceitual
 *Version: 1.0 */

@import url('https://fonts.googleapis.com/css?family=Lato');

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

#topo {
    width: 100%;
    background-color: #D9241C;
    color: #FFF;
}

#busca-topo {
    display: flex;
    max-width: 1200px;
    margin: auto;
    align-items: center;
}

#logo-topo {
    height: 64px;
    width: auto;
    margin: 24px 32px;
}

#busca-topo form {
    display: flex;
}

#busca-topo input[type="search"], form {
    width: 100%;
    padding: 12px;
    font-size: 12pt;
    margin: auto;
}

#busca-topo input[type="submit"] {
    padding: 0;
    margin: 0 0 0 -50px;
    width: 32px;
    height: 48px;
    background: url(imagens/buscar.png) center no-repeat;
    background-size: contain;
    border: 0;
    font-size: 0;
}

#busca-topo input[type="submit"]:hover {
    cursor: pointer;
}

#info-topo {
    width: 400px;
    margin: 24px 32px 24px 80px;
}

#info-topo p {
    margin: 0;
}

#tel-topo {
    font-size: 18pt;
}

#categorias-topo {
    width: 100%;
    background-color: #B0160E;
}

#categorias-topo ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
}

#categorias-topo li {
    list-style: none;
    text-transform: uppercase;
    transition: 0.2s;
}

#categorias-topo li a {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    color: #FFF;
}

#categorias-topo li:hover {
    background-color: #8C0f08;
    transition: 0.3s;
}

#categorias-topo ul li:hover ul {
    display: flex;
} 

#categorias-topo ul ul {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: absolute;
    max-height: 80vh;
    min-height: 200px;
    background-color: #FFF;
}

#categorias-topo ul ul li {
    background-color: #FFF;
    min-width: 250px;
}

#categorias-topo ul ul li a:hover {
    color: #FFF !important;
    transition: 0.2s;
}

#categorias-topo ul ul li a {
    color: #333 !important;
    transition: 0.2s;
}

#categorias-topo img {
    height: 12px;
    width: auto;
    margin-right: 10px;
}

#slider-principal img {
    width: 100%;
}

@media screen and (max-width: 960px){
    
    #categorias-topo > nav > ul > li {
        display: none;
    }
    
    #categorias-topo > nav > ul > li:nth-of-type(1) {
        display: block;
        width: 100%;
        text-align: center;
        overflow: hidden;
    }
    
    #info-topo {
        display: none;
    }
    
    #categorias-topo ul ul {
        position: relative;
    }
    
}

@media screen and (max-width: 960px){
    
    #busca-topo {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #logo-topo {
        height: 48px;
        width: auto;
        margin: 10px 0 0 0;
    }
    
}

/* --- PRODUTOS EM DESTAQUE (CAROUSSEL) --- */

#produtos-destaque {
    background-image: url(imagens/background1.png);
    background-size: cover;
    padding: 10px auto;
    overflow: hidden;
    position: relative;
}

#produtos-destaque-wrapper {
    display: flex;
    margin-bottom: 20px;
    justify-content: flex-start;
    width: 1000%;
}

#produtos-destaque h1 {
    color: #FFF;
    text-align: center;
    font-weight: lighter;
}

.produto-destaque {
    width: calc(20vw - 0.7em);
    margin: 1em 0.2em;
    box-sizing: border-box;
    padding: 0.3em;
    background-color: #FFF;
    border-radius: 18px;
}

.produto-destaque-interno {
    border: 2px solid #B0160E;
    border-radius: 14px;
    padding: 10px;
    height: 100%;
}

.produto-destaque img {
    width: 100%;
    height: auto;
}

#left-arrow img, #right-arrow img {
    height: 50px;
    width: auto;
}

#produtos-destaque-wrapper:hover #left-arrow{
    opacity: 1;
    transition: 0.2s;
}

#produtos-destaque-wrapper:hover #right-arrow{
    opacity: 1;
    transition: 0.2s;
}

#left-arrow {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #B0160E;
    padding: 10px;
    opacity: 0.2;
    transition: 0.4s;
}

#right-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #B0160E;
    opacity: 0.2;
    padding: 10px;
    transition: 0.4s;
}

@media screen and (max-width: 1100px){
    
    .produto-destaque {
        width: calc(25vw - 0.7em);
    }
    
}

@media screen and (max-width: 840px){
    
    .produto-destaque {
        width: calc(33.3vw - 0.7em);
    }
    
}

@media screen and (max-width: 640px){
    
    .produto-destaque {
        width: calc(50vw - 0.7em);
        text-align: center;
    }
    
    .produto-destaque img {
        width: 70%;
        height: auto;
        margin: auto;
    }
    
}

@media screen and (max-width: 480px){
    
    .produto-destaque {
        width: calc(100vw - 1.5em);
    }
    
}

/* --- BANNER DE CONTATO --- */

#banner-contato {
    background-image: url(imagens/background2.png);
    background-size: cover;
    overflow: hidden;
    text-align: center;
    color: #FFF;
    padding: 2em;
}

#banner-contato p{
    font-size: 16pt;
    margin: 0;
}

#banner-contato h1 {
    font-size: 24pt;
    margin: 0;
}

/* --- SESSÃO DE PRODUTOS --- */

#produtos h1 {
    text-align: center;
    font-size: 18pt;
    color: #B0160E;
    border-top: 2px dotted #B0160E;
    border-bottom: 2px dotted #B0160E;
    margin-top: 1.5em;
    padding: 0.5em;
}

#produtos-wrapper {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.produto {
    width: calc(20% - 0.2em);
    margin: 1em 0.1em;
    box-sizing: border-box;
    padding: 0.5em;
}

.produto img {
    width: 100%;
    height: auto;
}

.preco ant {
    font-size: 11pt;
    color: #666;
}

.preco-atual {
    font-size: 21pt;
    color: #B0160E;
    font-weight: bold;
    margin: 0;
}

.preco-atual span{
    font-size: 11pt;
}

.nome-produto {
    margin-bottom: 0.3em;
    margin-top: 0;
}

.nome-produto a {
    text-decoration: none;
    color: #000;
}

.btn-carrega-mais {
    display: block;
    background-color: #FFF;
    border: 2px solid #777;
    padding: 0.8em 1em;
    text-transform: uppercase;
    color: #777;
    font-weight: bold;
    margin: 1em auto;
    transition: 0.2s;
    cursor: pointer;
}

.carregando {
    cursor: default;
}

.btn-carrega-mais:hover {
    border: 2px solid #B0160E;
    color: #B0160E;
}

.produto {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.4s;
}

.exibir {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1100px){
    
    .produto {
        width: calc(25% - 0.2em);
    }
    
}

@media screen and (max-width: 840px){
    
    .produto {
        width: calc(33.3% - 0.2em);
    }
    
}

@media screen and (max-width: 640px){
    
    .produto {
        width: calc(50% - 0.2em);
        text-align: center;
    }
    
    .produto img {
        width: 70%;
    }
    
}

@media screen and (max-width: 480px){
    
    .produto {
        width: calc(100% - 0.2em);
    }
    
}

/* --- VISUALIZAÇÃO PRODUTO --- */

#produto-wrapper {
    max-width: 1200px;
    width: 100%;
    color: #666;
}

#imagens-produto {
    width: 48%;
    margin: 1%;
    float: left;
}

.imagem-ativa {
    width: 100%;
    height: auto;
}

#miniaturas-produto {
    display: flex;
    justify-content: space-around;
}

#miniaturas-produto img {
    max-height: 120px;
    width: auto;
}

#detalhes-produto {
    float: right;
    width: 48%;
    margin: 1%;
}

#detalhes-produto small {
    font-size: 14pt !important;
}

#detalhes-produto h1 {
    font-size: 24pt;
}

#detalhes-produto p {
    font-size: 32pt;
}

#detalhes-produto span {
    font-size: 18pt;
}

#detalhes-produto #contato {
    margin-top: 1.5em;
}

#detalhes-produto #contato p {
    font-size: 14pt;
    margin: 0;
}

#detalhes-produto #contato h2 {
    font-size: 18pt;
    margin: 0;
}

#endereco-wrapper {
    display: flex;
    align-content: center;
}

#endereco p {
    font-size: 14pt;
}

#endereco select {
    padding: 5px 20px;
    font-size: 14pt;
    color: #666;
    box-sizing: border-box;
    min-width: 180px;
}

.endereco-texto {
    background-color: #B0160E;
    color: #FFF;
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 840px){
    #imagens-produto {
    	width: 98%;
    }
    #detalhes-produto {
    	width: 98%;
    }
}

/* --- FOOTER --- */

footer {
    background-color: #B0160E;
    color: #FFF;
    text-align: center;
    font-size: 10pt;
    padding: 30px;
    clear: both;
}

.social-networks img {
    margin: 20px;
    transition: 0.3s;
}

.social-networks img:hover {
    transform: scale(1.1);
}

footer ul {
    padding-left: 0 !important;
}

footer .main-menu {
    font-size: 11pt !important;
    margin: auto auto auto -40px;
    float: none !important;
}

.menu-footer li a {
    color: #FFF;
    font-weight: normal;
    padding-bottom: 3px;
    text-decoration: none;
}

.menu-footer li a:hover {
    border-bottom: 2px solid #FFF;
}

.menu-footer li {
    color: #FFF;
    list-style: none;
    display: inline-block;
    margin: 10px;
    font-size: 12pt;