html {
    scroll-behavior: smooth;
}

:root {
    --color-primary: #D90000;
    --color-secondary: #FFC107;
    --color-dark: #222;
    --color-white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0e0e0;
    color: var(--color-dark);
}

header {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

nav h1 { font-size: 1.3em; margin: 0; }

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.7em;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    text-transform: uppercase;
}

.container {
    width: 92%;
    max-width: 800px;
    margin: 70px auto 20px auto;
    padding: 15px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
    margin-top: 30px;
    font-size: 1.3em;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.menu-item.promo {
    background-color: #fffde7;
    padding: 15px;
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    flex-direction: column;
    align-items: flex-start;
}

.item-info h3 { margin: 0; font-size: 1.1em; }
.item-info p { margin: 4px 0 0; font-size: 0.85em; color: #555; }

.item-selection {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-price { font-weight: bold; color: var(--color-primary); font-size: 0.95em; }

.tamanho-select, input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px; 
}

.add-button {
    background-color: var(--color-secondary);
    border: none;
    padding: 10px 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.85em;
    min-width: 80px;
    transition: background 0.2s;
}

#pedido-form label { display: block; margin-top: 12px; font-weight: bold; font-size: 0.9em; }
#pedido-form input, #pedido-form select { width: 100%; box-sizing: border-box; margin-top: 4px; }

#carrinho-resumo {
    background: #fafafa;
    padding: 10px;
    border: 1px dashed var(--color-primary);
    margin-top: 10px;
    font-size: 0.9em;
}

.carrinho-lista { list-style: none; padding: 0; margin: 0; }
.carrinho-lista li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.remove-button {
    background: #ff4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.75em;
}

#btn-enviar-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
}

footer { text-align: center; padding: 20px; color: #666; font-size: 0.8em; }

@media (max-width: 600px) {
    nav { padding: 0 10px; }
    nav h1 { font-size: 1.1em; }
    nav ul { gap: 5px; }
    nav ul li a { font-size: 0.65em; padding: 4px 6px; }
    .menu-item { flex-direction: column; align-items: flex-start; }
    .item-selection { width: 100%; justify-content: space-between; margin-top: 8px; }
    .container { margin-top: 60px; width: 94%; padding: 10px; }
}