body {
    display: flex;
    justify-content: center;
    background-color: var(--bg-body);
}

h1, h2 {
  text-align: center;
  margin: 0.6rem;
  font-family: var(--font-Montserrat);
  font-weight: 450;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.2rem;
    font-weight: bolder;
}

p, span {
  text-align: center;
  margin: 0.1rem;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    background-color: var(--bg-main-container);
    margin-top: 0.8rem;
    border-radius: 8px;
    
}

.banner {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1.2rem;
}

.banner img {
    max-width: 100%;
}

.menu {
    display: flex;
    flex-direction: column;
    width: 95%;
    background-color: var(--bg-menu);
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.menu-itens {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1.25rem;
    padding: 1.25rem;
    justify-content: space-around;
    align-items: center;
  
}

.cards {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 40px); /* 3 cards por linha */
    max-width: 220px; /* não esticar demais em telas grandes */
    border: 8px solid #F5F5F5;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.6rem;
}

.cards img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.preco {
    font-weight: bold;
    color: var(--color-preco);
    
}

.cliente {
    display: flex;
    flex-direction: column;
    width: 95%;
    background-color: var(--bg-menu);
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
    padding: 0.8rem;
}

.cadastro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.8rem;
}

.title-input {
    width: 80%;
    margin-left: 1rem;
}

input {
    width: 80%;
    height: 22px;
    padding: 0.9rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 0;
    margin: 0.8rem;
}

input:focus {
    outline: none; /* remove o contorno padrão (opcional) */
    border: 2px solid #007bff; /* borda azul mais grossa */
    box-shadow: 0 0 5px #007bff; /* leve brilho */
    background-color: var(--bg-input-focus); /* muda o fundo */
}

button {
    width: 20%;
    margin: auto;
    padding: 0.7rem 1rem;
    color: var(--color-button);
    background-color: var(--bg-button-color);
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.5s ease;
    margin-bottom: 0.6rem;
    transition: background-color 0.5s ease;
}

button:hover {
    background-color: var(--bg-button-hover);
    color: var(--color-button-hover);
}

#output {
    width: 95%;
    background-color: var(--bg-output); /* fundo definido no seu código */
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-Montserrat);
}

/* Cabeçalho da saída (dados do cliente) */
#output h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--color-output-h3); /* destaque azul para o nome do cliente */
}

#output p {
    margin: 0.3rem 0;
    font-size: 1rem;
    text-align: center;
}

/* Lista de itens do pedido */
.checkout_itens {
    background-color: var(--bg-checkout-itens); /* leve contraste com o fundo da div */
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    margin: 10px 0;
}

.checkout_itens p {
    margin: 3px 0;
    font-size: 0.95rem;
    text-align: left;
}

/* Subtotal e preço em destaque */
.checkout_itens p:nth-child(3),
.checkout_itens p:nth-child(4) {
    font-weight: bold;
    color:var(--color-checkout-total); /* verde para preços */
}

/* Total do pedido */
#output h2 {
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center;
    color: var(--color-output-h2); /* laranja para o total */
}

/* Mensagem final */
#output p:last-child {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    color: var(--color-output-p);
}









