/* ============================= */
/* HEADER */
/* ============================= */

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 120px; /* Altere 100px para a altura exata do seu menu fixo */
}

body{background-color: #fbf7f8 !important;}

.topo {
    background: #1b1b1b;
    border-bottom: 4px solid #a61c1c;
    position: sticky;
    top: 0;
    z-index: 999;
}

.topo .centralizar {
	width: 100%;
	flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo{width: 100px; height: auto; position: relative;}
.logo img {
    height: 60px;
}

/* MENU */
.menu-categorias{display: flex; flex-wrap: wrap; align-items: center; justify-content: center; width: 100%; height: 45px; position: relative;}
.menu-categorias a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px 0 0;
	font-size: 16px;
	position: relative;
    font-weight: bold;
    transition: 0.2s;
}
.menu-categorias a:hover {
    color: #e53935;
}

.menu-categorias a:last-child{padding: 15px 10px; background-color: #a61c1c; border-radius: 10px; margin: 0;}
.menu-categorias a:last-child:hover{color: #a61c1c; background-color: #f3efd3;}
.obs-ilustrativa {
    font-size: 16px;
    color: #888;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}


/* ============================= */
/* CONTEÚDO */
/* ============================= */

.conteudo {
    padding: 40px 0;
}

.conteudo .categoria{margin-bottom: 50px;}
.conteudo .categoria:last-child{margin-bottom: 0;}

/* TÍTULOS */
.titulo {
    font-size: 32px;
    margin-bottom: 25px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* ============================= */
/* GRID COM IMAGEM */
/* ============================= */

.grid-produtos {
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.produto-card {
	width: 170px;
	height: auto;
    background: #fff;
    border-radius: 5px;
	margin: 0 15px 25px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.conteudo .categoria:nth-child(2) .produto-card{width: 210px;}

.produto-card:hover {
    transform: translateY(-4px);
}

.produto-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.produto-card h3 {
    font-size: 15px;
    padding: 10px 15px 5px;
}

.produto-card .codigo {
    font-size: 13px;
    color: #777;
    padding: 0 15px 5px;
}

.produto-card .preco {
    font-size: 15px;
    font-weight: bold;
    color: #a61c1c;
    padding: 0 15px 10px;
}

/* ============================= */
/* LISTA SEM IMAGEM */
/* ============================= */

.lista-produtos{display: flex; flex-wrap: wrap;}
.lista-produtos .item {
    margin-bottom: 20px;
}
.lista-produtos .item:last-child{margin-bottom: 0;}


.linha {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}
.linha > *{margin: 0;}

.linha .preco {
    color: #a61c1c;
    font-weight: bold;
}

.codigo {
    font-size: 14px;
    color: #777;
    margin-top: 4px;
}

/* ============================= */
/* BOTÃO SUBIR */
/* ============================= */

.btn-topo {
    position: fixed;
    right: 25px;
    bottom: 115px;
    width: 55px;
    height: 55px;
    background: #a61c1c;
    color: #fff;
    font-size: 35px;
    text-align: center;
    line-height: 55px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.btn-topo:hover {
    background: #d32f2f;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: #1b1b1b;
    color: #fff;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 4px solid #a61c1c;
}

.footer .centralizar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer p {
    margin: 5px 0;
}

