/* --- CATALOGO.CSS --- */

/* Layout Principal: Sidebar + Grid */
.main-content-area {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar fixa, resto flexível */
    gap: 30px;
    margin: 40px auto;
    padding-bottom: 40px;
}

/* Título da página */
.section-title {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* --- SIDEBAR (Barra Lateral) --- */
.sidebar-categories {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    align-self: start; /* Fica no topo mesmo se a lista de produtos for longa */
}

.sidebar-header {
    background-color: var(--theme-color);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

/* Estilo dos Botões de Categoria */
.filter-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 1em;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-btn:hover {
    background-color: #f9f9f9;
    color: var(--theme-color);
    padding-left: 25px; /* Efeito de movimentozinho */
}

/* Botão Ativo (Selecionado) */
.filter-btn.active {
    background-color: var(--theme-light);
    color: var(--theme-color);
    font-weight: 700;
    border-left: 4px solid var(--theme-color);
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
    .main-content-area {
        grid-template-columns: 1fr; /* Vira uma coluna só */
    }
    
    .sidebar-categories {
        margin-bottom: 30px;
    }
}