/* ==========================================
   1. HEADER, LOGO & ONDAS (AJUSTADO)
   ========================================== */
header {
    position: relative;
    background: linear-gradient(135deg, #f3e8ff 0%, #fff5e6 100%);
    height: 130px;
    display: flex;
    flex-direction: column; /* Empilha para facilitar centralização */
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.brand { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 15px; 
    z-index: 10;
    width: 100%;
    max-width: 1200px;
}

.brand-name { 
    color: var(--primary); 
    font-size: 1.4rem; 
    font-weight: 800;
}

.logo-img { 
    height: 60px; 
    width: auto; 
}

.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.wave-container svg { 
    width: 100%; 
    height: 40px; 
    fill: var(--bg);
}

/* ==========================================
   2. CATEGORIAS (BOLINHAS)
   ========================================== */
.categories-nav {
    display: flex;
    overflow-x: auto;
    padding: 20px 5%;
    gap: 20px;
    justify-content: flex-start;
    scrollbar-width: none;
}
.categories-nav::-webkit-scrollbar { display: none; }

.cat-circle {
    flex: 0 0 auto;
    text-align: center;
    width: 70px;
}

.cat-img-container {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    padding: 2px;
    margin: 0 auto 5px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.cat-img-container img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-circle span { font-size: 0.7rem; font-weight: 700; color: var(--primary); }

/* ==========================================
   3. GRID DE PRODUTOS (FIX PARA IMAGEM GIGANTE)
   ========================================== */
.section-container { 
    padding: 20px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary);
    padding-left: 10px;
    font-weight: 800;
}

.product-grid {
    display: grid;
    /* Força 2 colunas no mobile de forma fixa */
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    justify-items: center; /* Centraliza o card na coluna */
}

@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 12px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 200px; /* LIMITE para não ficar gigante se houver só 1 */
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1; 
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.product-name { 
    font-size: 0.8rem; 
    font-weight: 600; 
    color: #444; 
    min-height: 35px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.product-price { 
    color: var(--primary); 
    font-weight: 800; 
    font-size: 1rem; 
    margin-bottom: 10px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ==========================================
   4. RODAPÉ DISCRETO
   ========================================== */
footer p {
    font-size: 0.8rem;
    color: #aaa; /* Cinza claro */
}

.link-restrito {
    color: #ccc !important; /* Quase invisível */
    font-size: 0.7rem;
    opacity: 0.6;
}

.link-restrito:hover {
    opacity: 1;
    color: var(--primary) !important;
}