:root{
    --primary:#92b562;
    --primary-dark:#126312;
    --text:#222831;
    --text-light:#6b7280;
    --border:#d6d9de;
    --background:#fefefe;
    --white:#fff;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    margin-top:50px;
    background:var(--background);
    font-family:'Inter',sans-serif;
    color:var(--text);

}

/*==================================================
                    CATÁLOGO
==================================================*/

.catalogo{
    max-width:1120px;
    margin:35px auto 70px;
    padding:0 20px;

}


.titulo-pagina{
    text-align:center;
    margin-bottom:40px;

}

.titulo-pagina h1{
    font-size:2.1rem;
    font-weight:700;
    color:var(--primary-dark);
    letter-spacing:-.5px;
    margin-bottom:8px;

}

.titulo-pagina p{
    max-width:550px;
    margin:auto;
    color:var(--text-light);
    font-size:.92rem;
    line-height:1.65;

}


.secao-categoria{
    margin-bottom:60px;

}



.titulo-secao{
    position:relative;
    margin-bottom:25px;
    border-top:1px solid #cfd4da;

}

.titulo-secao h2{
    display:inline-block;
    margin-top:-20px;
    margin-left:40px;
    padding:0 10px;
    background:var(--background);
    color:#678142;
    font-size:1.05rem;
    font-weight:600;
    line-height:1.2;
    letter-spacing:.2px;
    text-transform:none;

}



.grid{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;

}


.card{
    width:210px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:3px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    display:flex;
    flex-direction:column;
    transition:all .18s ease;
}

.card:hover{
    transform:translateY(-2px);
    box-shadow:0px 4px 15px rgba(0, 0, 0, 0.247);
    text-decoration: none;
}


.card-img-wrapper{
    width:100%;
    height:185px;
    background:#fff;
    border-bottom:1px solid #ececec;
    overflow:hidden;
}

.card-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.25s;
}

.card:hover img{
    transform:scale(1.02);
}

.card-body{
    padding:10px;
    display:flex;
    flex-direction:column;
    flex:1;
    min-height:78px;
}

.card h3{
    font-size:.92rem;
    font-weight:600;
    color:#222;
    margin-bottom:5px;
    line-height:1.3;
}

.card-descricao{
    font-size:.78rem;
    color:#6b7280;
    line-height:1.45;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}


.subtexto{
    display:none;
}


.card,
.card img{
    will-change:transform;
}

.vazio{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.vazio h2{
    margin: 20px;
    background:#fff;
    padding:8px 18px;
    border-left:5px solid #92b562;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    font-size:1.8rem;
    font-weight:700;
    color:#1f2937;
    line-height:1.1;
}


/* ================= PAGINAÇÃO ================= */

.paginacao{
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.paginacao button{
    width: 34px;
    height: 34px;
    background-color: #eaeae1;
    color: #000;
    border: 1px solid #d9d9d9;
    border-right: none;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}

.paginacao button:first-child{
    border-radius: 4px 0 0 4px;
}

.paginacao button:last-child{
    border-right: 1px solid #d9d9d9;
    border-radius: 0 4px 4px 0;
}

.paginacao button:hover{
    background-color: #adad85;
}

.paginacao button.ativo{
    background-color: #adad85;
    cursor: default;
}

.paginacao button.ativo:hover{
    background-color: #adad85;
}

.paginacao button:focus,
.paginacao button:active{
    outline: none;
    box-shadow: none;
}


@media(max-width:1000px){
    .card{
        width:195px;
    }
    .card-img-wrapper{
        height:175px;
    }

}

@media(max-width:820px){
    .grid{
        gap:18px;
    }
    .card{
        width:180px;
    }
    .card-img-wrapper{
        height:165px;
    }

}

@media(max-width:650px){

    .grid{
        justify-content:center;
        gap:16px;
    }
    .card{
        width:calc(50% - 10px);
        min-width:160px;
        max-width:210px;
    }
    .card-img-wrapper{
        height:170px;
    }
    .card-body{
        padding:9px;
    }

}

@media(max-width:480px){
    .card{
        width:100%;
        max-width:300px;
    }

    .card-img-wrapper{
        height:220px;
    }

    .card h3{
        font-size:.9rem;
    }

    .card-descricao{
        font-size:.8rem;
    }

}


@media(max-width:900px){
    .catalogo{
        padding:0 18px;

    }
    .titulo-pagina{
        margin-bottom:35px;

    }
    .titulo-pagina h1{
        font-size:1.8rem;

    }

    .titulo-pagina p{
        font-size:.88rem;

    }

}

@media(max-width:650px){
    .catalogo{
        margin-top:20px;

    }
    .titulo-secao h2{
        margin-left:14px;

        font-size:.92rem;

    }

}