body {
    font-family: Arial, sans-serif;
   
}

.container-produtos {
    display: flex;
    margin-top: 80px;
}

.menu-lateral {
    width: 200px;
    background: #94b49f;
    padding: 20px;
    border-right: 1px solid #ddd;
    height: 100%;
    position: sticky;
    top: 0;
}

.menu-lateral h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.menu-lateral ul {
    list-style: none;
    padding: 0;
}

.menu-lateral ul li {
    margin-bottom: 10px;
}

.menu-lateral ul li a {
    text-decoration: none;
    color: #000000;
    display: block;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s;
}

.menu-lateral ul li a.active,
.menu-lateral ul li a:hover {
    background: #94b49f;
    color: #fff;
}

.conteudo {
    flex: 1;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.produto {
    background: white;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.produto:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.produto img {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.produto a {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.nome {
    font-weight: bold;
    font-size: 16px;
    word-wrap: break-word;
    text-decoration: none;
    color: #000;
    margin-top: 20px; /* Espaço maior entre a imagem e o nome */
}
.nome:hover {
    color: #8B4513;
}

.pagination .active .page-link {
    background-color: #8B4513;
    border-color: #8B4513;
    color: #fff;
}

.pagination .page-link {
    color: #8B4513;
}

.pagination .page-link:hover {
    background-color: #A0522D;
    border-color: #A0522D;
    color: #fff;
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container-produtos {
        flex-direction: column;
    }
    .menu-lateral {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
/* Estilo para o offcanvas no mobile */
.offcanvas {
    background-color: #ffffff;
}

.offcanvas-body {
    padding: 20px;
    background-color: #ffffff;
}

.offcanvas-body ul {
    list-style: none;
    padding-left: 0;
}

.offcanvas-body ul li {
    margin-bottom: 10px;
}

.offcanvas-body ul li a {
    text-decoration: none;
    color: #000000;
    display: block;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s;
}

.offcanvas-body ul li a.active,
.offcanvas-body ul li a:hover {
    background: #94b49f;
    color: #fff;
}

