* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background: #f5f5f5; color: #333; }

.top-bar {
  background: #028b49; color: #fff; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.top-bar a { color: #fff; text-decoration: none; font-weight: bold; font-size: 0.9rem; }

.product-img { width: 100%; max-height: 240px; object-fit: cover; }

.product-header { padding: 14px 16px; background: #fff; border-bottom: 1px solid #eee; }
.product-header h2 { font-size: 1.1rem; font-weight: bold; margin-bottom: 4px; }
.product-header .preco-de { font-size: 0.82rem; color: #999; text-decoration: line-through; }
.product-header .preco-por { font-size: 1.15rem; font-weight: bold; color: #028b49; }
.product-header .unidades { font-size: 0.78rem; color: #e65100; margin-top: 2px; }

.opcoes-section { margin: 10px 0; background: #fff; }
.opcoes-title {
  padding: 10px 16px; font-weight: bold; font-size: 0.92rem;
  background: #f9f9f9; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
}
.opcoes-title .limite { font-size: 0.75rem; color: #666; font-weight: normal; }

.opcao {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid #f0f0f0; cursor: pointer;
}
.opcao input[type=checkbox], .opcao input[type=radio] {
  margin-top: 3px; accent-color: #028b49; width: 18px; height: 18px; flex-shrink: 0;
}
.opcao label { cursor: pointer; font-size: 0.88rem; flex: 1; }
.opcao label strong { display: block; font-size: 0.9rem; }
.opcao label span { font-size: 0.78rem; color: #777; }

.obs-area {
  background: #fff; padding: 12px 16px; margin: 10px 0;
  border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.obs-area label { font-size: 0.88rem; color: #555; display: block; margin-bottom: 6px; }
.obs-area textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 6px;
  padding: 8px; font-size: 0.85rem; resize: none; height: 60px;
}
.obs-count { font-size: 0.72rem; color: #999; text-align: right; }

.footer-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #ddd;
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
.footer-bar .total { font-size: 0.88rem; color: #333; }
.footer-bar .total strong { color: #028b49; font-size: 1rem; }
.footer-bar a.btn-finalizar {
  background: #028b49; color: #fff; text-decoration: none;
  padding: 11px 24px; border-radius: 24px; font-weight: bold; font-size: 0.95rem;
}

.spacer { height: 80px; }
