/* =========================
   Estilo geral do cardápio
   ========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #4a005f;
    color: #fff;
    min-height: 100vh;
}

/* Container principal */
.container {
    max-width: 480px;           /* pensado para celular */
    margin: 0 auto;
    padding: 16px;
}

/* Cabeçalho */
.header {
    text-align: center;
    margin-bottom: 16px;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Menu superior */
.navbar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    justify-content: center;
}

.nav-btn {
    border: none;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    background: #ffcc00;
    color: #4a005f;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav-btn.active {
    background: #ffffff;
    color: #4a005f;
}

/* Card básico */
.card {
    background: #ffe94d;
    color: #3b0445;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Títulos dentro dos cards */
.card h2 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.card h3 {
    font-size: 1rem;
    margin-top: 8px;
    margin-bottom: 3px;
}

.card p {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Lista “tipo cardápio” */
.item-list {
    list-style: none;
    margin-top: 4px;
}

.item-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    padding: 3px 0;
    font-size: 0.86rem;
}

.item-list li span.preco {
    font-weight: 700;
}

/* Observações */
.obs {
    font-size: 0.75rem;
    margin-top: 6px;
    opacity: 0.9;
}

/* Rodapé */
.footer {
    text-align: center;
    font-size: 0.7rem;
    margin-top: 12px;
    opacity: 0.8;
}

/* Para telas maiores (PC) */
@media (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 20px;
    }
}
