@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3f6f2;
  --forest: #1a4d3a;
  --forest-soft: #2a6b52;
  --gold: #b8954a;
  --text: #14201c;
  --muted: #5e6f66;
  --err: #c04545;
  --surface: #ffffff;
  --line: rgba(20, 32, 28, 0.12);
  --font: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
}

body.loja-body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(201, 168, 76, 0.14), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
}

.loja-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 246, 242, 0.88);
  backdrop-filter: blur(10px);
}

.pill {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--forest);
  border: 1px solid rgba(26, 77, 58, 0.28);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
}

.loja-main {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hint {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 0;
}

.central { margin: 1rem 0 1.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.err { color: var(--err); }
.ok { color: var(--forest-soft); }

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

select, input {
  font-size: 1.05rem;
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

input {
  font-size: 1.15rem;
  text-align: left;
}

.btn-primary, .btn-ghost {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 1rem;
  margin-top: 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--forest); color: #f7faf6; }
.btn-ghost {
  background: transparent;
  border-color: rgba(26, 77, 58, 0.3);
  color: var(--forest);
}

.qr-panel { text-align: center; }
.valor-big { font-size: 2.4rem; margin: 0.5rem 0 0; font-weight: 700; color: var(--forest); }
.qr-img {
  margin: 1rem auto;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
}

textarea {
  width: 100%;
  background: var(--surface);
  color: var(--muted);
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0.5rem;
  font-size: 0.75rem;
}

.pedido-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin: 0.75rem 0;
}

.pedido-card p { margin: 0.35rem 0; }
.pedido-card .btn-primary { margin-top: 0.75rem; }
