:root { 
    --verde-principal: #166e36; 
    --verde-destaque: #1ebe5d; 
    --grafite: #333333; 
    --fundo: #f4f7f6; 
    --borda: #e5e5e5; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, sans-serif; }
body { background-color: var(--fundo); color: var(--grafite); }

header { background: var(--verde-principal); padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000;}
.logo-container { display: flex; align-items: center; gap: 10px; text-decoration: none; margin: 0 auto;}
.logo-img { height: 45px; border-radius: 4px; border: 2px solid rgba(255,255,255,0.7); background: white; padding: 2px; }
.logo-texto { color: white; font-size: 1.5em; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }

.container { max-width: 900px; margin: 50px auto; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.topo-carrinho { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--borda); padding-bottom: 20px; margin-bottom: 30px;}
.btn-voltar { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--grafite); text-decoration: none; padding: 10px 20px; border-radius: 4px; font-weight: bold; border: 1px solid var(--borda); transition: 0.3s; text-transform: uppercase; font-size: 0.9em;}
.btn-voltar:hover { background: var(--fundo); border-color: var(--verde-principal); color: var(--verde-principal); }
h1 { color: var(--verde-principal); font-size: 2em; text-transform: uppercase; font-weight: 900;}

.item-carrinho { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--borda); gap: 20px;}
.info-produto-cart { display: flex; align-items: center; gap: 20px; flex: 1;}
.img-cart { width: 80px; height: 80px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; padding: 5px;}
.item-info h3 { margin: 0; font-size: 1.2em; color: var(--grafite); line-height: 1.4;}
.item-preco { font-weight: 900; color: var(--verde-principal); font-size: 1.5em; white-space: nowrap;}

.btn-remover { background: white; color: #e74c3c; border: 1px solid #e74c3c; padding: 10px; border-radius: 4px; cursor: pointer; transition: 0.3s; font-size: 1.2em;}
.btn-remover:hover { background: #e74c3c; color: white; }

.area-total { background: var(--fundo); padding: 30px; border-radius: 8px; margin-top: 40px; text-align: right;}
.total-texto { font-size: 1.2em; color: #666; margin-bottom: 10px; text-transform: uppercase;}
.total-valor { font-size: 2.8em; font-weight: 900; color: var(--verde-principal); }

.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; background: #25D366; color: white; padding: 20px; font-size: 1.3em; font-weight: 900; text-decoration: none; border-radius: 4px; margin-top: 30px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);}
.carrinho-vazio { text-align: center; padding: 50px 0; font-size: 1.2em; color: #888;}