:root{
  --bg:#f6f4f0; --card:#ffffff; --ink:#26201a; --muted:#8c8377;
  --brand:#b07d4f; --brand-d:#8a5f37; --line:#e7e1d8; --ok:#2e7d52;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.45}
.top{display:flex;justify-content:space-between;align-items:center;
  padding:14px 18px;background:var(--card);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:5}
.brand{font-weight:700}
.steps{display:flex;gap:8px}
.dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:var(--line);color:var(--muted);font-size:14px;font-weight:600}
.dot.on{background:var(--brand);color:#fff}
.wrap{max-width:560px;margin:22px auto;padding:0 16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:22px;box-shadow:0 6px 24px #00000010}
.step.hidden{display:none}
h1{font-size:22px;margin:0 0 6px}
.hint{color:var(--muted);margin:0 0 16px}
label{display:block;margin:12px 0;font-weight:600}
input[type=text],input[type=tel],input[type=number],select{
  width:100%;margin-top:6px;padding:14px;font-size:17px;border:1px solid var(--line);
  border-radius:12px;background:#fff;font-weight:500}
input.small{width:90px}
.row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.check{display:flex;align-items:center;gap:8px;font-weight:500}
.check input{width:20px;height:20px}
.photo input{margin-top:8px}
button{cursor:pointer;border:none;border-radius:12px;font-size:17px;
  font-weight:700;padding:14px 20px}
.primary{background:var(--brand);color:#fff;width:100%;margin-top:18px}
.primary:hover{background:var(--brand-d)}
.nav{display:flex;gap:12px;margin-top:18px}
.nav .primary{margin-top:0}
.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}
.field{margin:12px 0}
.lbl{font-weight:600;display:block;margin-bottom:8px}
.swatches{display:flex;flex-wrap:wrap;gap:10px}
.sw{border:2px solid var(--line);border-radius:12px;padding:8px;width:calc(50% - 5px);
  display:flex;align-items:center;gap:10px;background:#fff}
.sw.sel{border-color:var(--brand)}
.sw .chip{width:34px;height:34px;border-radius:8px;border:1px solid #0001;flex:0 0 auto}
.sw .nm{font-size:13px;font-weight:600}
.gallery{display:grid;gap:12px}
.gallery img{width:100%;border-radius:14px;border:1px solid var(--line)}
.price{font-size:26px;font-weight:800;text-align:center;margin:18px 0 6px;color:var(--brand-d)}
.price small{display:block;font-size:13px;color:var(--muted);font-weight:600}
.spec{margin-top:8px;font-size:14px;color:var(--muted)}
.spec summary{cursor:pointer;font-weight:600}
.spec .ln{display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px dashed var(--line)}
.result{margin-top:14px;font-weight:700;text-align:center}
.result.ok{color:var(--ok)}
.badge{display:inline-block;background:#f0e7db;color:var(--brand-d);
  font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;margin-bottom:8px}
.loading{text-align:center;color:var(--muted);padding:20px}
