:root {
  --primary: #7A9E7E;
  --primary-dark: #2A6F5E;
  --secondary: #F4A261;
  --error: #DC2626;
  --bg: #F7F7F4;
  --text: #1F2320;
  --muted: #5F6B61;
  --line: #E3E7E2;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
[hidden] { display: none !important; }
h1 { font-size: 1.35rem; margin: 0.2rem 0 0.4rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }
.topbar { padding: 12px 16px; background: var(--primary); color: #fff; font-weight: 600;
  padding-top: max(12px, env(safe-area-inset-top)); }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
.card { background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  border: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.error { color: var(--error); }
.price { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); margin: 4px 0; }
.facts { list-style: none; padding: 0; margin: 8px 0 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.facts li { background: #F2F6F2; border-radius: 10px; padding: 8px 10px; }
.facts .label { display: block; font-size: 0.78rem; color: var(--muted); }
.text { white-space: pre-wrap; }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: -4px -4px 12px; padding: 4px; }
.gallery img { flex: 0 0 auto; width: min(86vw, 520px); height: 240px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--line); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.chips.wrap { flex-wrap: wrap; overflow-x: visible; }
button { font: inherit; border-radius: 10px; border: 1px solid var(--line);
  padding: 10px 14px; background: #fff; color: var(--text); cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
.chip { border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.primary { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; width: 100%; }
input, textarea { font: inherit; width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; margin: 4px 0 10px; }
label { font-size: 0.9rem; color: var(--muted); }
/* Honeypot: never seen or reached by people; bots fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #FFF4E5; border: 1px solid #F8D3A4; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.success { background: #E7F2E8; border: 1px solid #BFD9C2; border-radius: 12px; padding: 12px; }
.center { display: flex; justify-content: center; padding: 60px 0; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line);
  border-top-color: var(--primary-dark); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
