/* ==========================================
   3. ÁREA PRINCIPAL DO CARDÁPIO (A VITRINE)
========================================== */

.main-content { max-width: 1200px; margin: 0 auto 50px auto; padding: 0 20px; }
section { scroll-margin-top: 80px; }
.category-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; margin-top: 40px; color: var(--text-main); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; }

/* O Cartão do Produto e seus efeitos de Hover */
.product-card { 
    display: flex; justify-content: space-between; background: var(--card-bg); 
    border: 1px solid var(--border-color); padding: 15px; border-radius: 12px; gap: 15px; 
    transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); 
    position: relative; cursor: pointer;
    position: relative;
    z-index: 10;
}
.product-card:hover { 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-color: var(--primary-green); z-index: 5;
}
 .product-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.5); }

/* Textos dentro do Cartão */
.product-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.product-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--text-main); transition: color 0.3s;}
.product-card:hover .product-title { color: var(--primary-green); } 
.product-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 15px; font-weight: 700; color: var(--text-main); }

/* Imagem e Botão de Adicionar */
.product-image-container { position: relative; width: 120px; height: 120px; flex-shrink: 0;}
.product-image { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; background-color: var(--bg-color); }
 .product-image { background-color: #334155; }

.btn-add { 
    position: absolute; bottom: -10px; right: -10px; width: 32px; height: 32px; 
    background-color: var(--primary-green); color: white; border: none; border-radius: 6px; 
    font-size: 20px; font-weight: bold; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); transition: 0.2s;
}
.product-card:hover .btn-add { transform: scale(1.1); }
