:root {
    --color-base-orange: #FF7043; 
    --color-base-bronze: #C0A07F; 
    --color-bg-premium: #FAFAFA; 
    --color-text-premium: #333333; 
    --color-metal-dark: #212121;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body.bg-imagem-fundo {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(33, 33, 33, 0.9)), url('../img/Feijoada.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding-bottom: 100px; 
}

.container { max-width: 800px; margin: 0 auto; padding: 15px; }

.header-premium { background: transparent; padding: 40px 15px; border-bottom: 1px solid rgba(255, 112, 67, 0.3); }
.container-flex { display: flex; align-items: center; justify-content: center; gap: 30px; }
.logo-image { width: 120px; height: 120px; object-fit: contain; border-radius: 50%; border: 3px solid var(--color-base-orange); box-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.header-text h1 { font-size: 1.8rem; font-weight: 700; color: var(--color-base-orange); margin-bottom: 5px; }
.header-text p { font-size: 0.9rem; color: #ddd; font-style: italic; }

.status-badge { display: inline-block; margin-top: 10px; padding: 6px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }
.status-aberto { background: #FF7043; color: #fff; }
.status-fechado { background: #ff7043; color: #fff; }

.categoria-titulo { margin: 30px 0 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 8px; color: var(--white); text-transform: uppercase; font-size: 1.2rem; }
.item-card { background: rgba(0, 0, 0, 0.6); border-radius: 8px; padding: 15px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); }
.item-info h3 { font-size: 1rem; color: var(--white); margin-bottom: 5px; }
.item-info p { font-size: 0.8rem; color: #ccc; max-width: 90%; }
.item-preco { font-weight: bold; color: var(--color-base-orange); margin-top: 8px; font-size: 1.1rem; }
.btn-add { background: var(--color-base-orange); border: none; padding: 8px 18px; border-radius: 5px; font-weight: bold; cursor: pointer; color: var(--white); }

.footer-empresa { text-align: center; padding: 40px 15px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; background: rgba(0,0,0,0.5); }
.logo-footer { width: 60px; filter: grayscale(0%); opacity: 0.5; margin-bottom: 10px; }
.footer-empresa h3 { color: var(--color-base-orange); margin-bottom: 10px; }
.footer-empresa p { font-size: 0.85rem; color: #bbb; line-height: 1.6; }

.cart-floating { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--color-base-orange); color: var(--white); padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; font-weight: bold; cursor: pointer; z-index: 100; box-shadow: 0 -4px 15px rgba(0,0,0,0.3);}
.cart-float-right { display: flex; align-items: center; gap: 15px; }
.btn-float-checkout { background: #fff; color: var(--color-base-orange); border: none; padding: 8px 15px; border-radius: 5px; font-weight: 900; font-size: 0.85rem; text-transform: uppercase; pointer-events: none; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 1000; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-content { background: var(--white); color: var(--color-text-premium); width: 95%; max-width: 450px; max-height: 90vh; overflow-y: auto; border-radius: 8px; padding: 25px; position: relative; }
.fechar-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #999; font-weight: bold; }
.title-resumo { text-transform: uppercase; color: var(--color-metal-dark); margin-bottom: 15px; text-align: center; font-size: 1.3rem; }
.cart-items-list { margin: 10px 0 20px; max-height: 220px; overflow-y: auto; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; align-items: center;}
.cart-item-nome { flex: 1; color: #555; }
.btn-remover { color: #d32f2f; cursor: pointer; font-size: 0.8rem; margin-left: 10px; font-weight: bold; }
.cart-resumo { text-align: right; margin-bottom: 25px; color: var(--color-metal-dark); }
.cart-resumo h3 { font-size: 1.3rem; color: var(--color-base-orange); }

input, select { width: 100%; padding: 14px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; color: var(--color-text-premium); }
.btn-enviar-pedido { width: 100%; background: #25d366; color: #fff; border: none; padding: 16px; border-radius: 5px; font-weight: bold; font-size: 1rem; cursor: pointer; }

@media (max-width: 500px) {
    .cart-floating { padding: 12px 15px; font-size: 1rem; }
    .btn-float-checkout { padding: 6px 10px; font-size: 0.75rem; }
}