:root { --plum: #3d2a22; --cocoa: #4a3027; --cream: #fdf3e6; --paper: #fffaf3; --line: #efdcc8; --orange: #e8714a; --accent: #b4482a; --soft: #6e5548; --lav: #f2c46b; --honey: #f2b544; --sage: #9bb07f; --rose: #e7a6a1; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: 'Nunito Sans', system-ui, sans-serif; color: var(--plum); background: var(--cream); -webkit-tap-highlight-color: transparent; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 12px) 16px 12px; background: var(--plum); color: var(--cream); }
.brand { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 20px; color: var(--cream); text-decoration: none; }
.step { font-size: 14px; font-weight: 700; color: #f1dccb; display: flex; gap: 8px; align-items: center; }
#lang { display: inline-block; width: auto; margin: 0; padding: 4px 8px; font-size: 13px; border-radius: 10px; background: #5a3b30; color: #fbf6ee; border: 1px solid #6b4a3d; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 16px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .wrap { grid-template-columns: 1fr 380px; align-items: start; } .preview { position: sticky; top: 76px; } }
h2 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 22px; margin: 26px 0 10px; }
h2:first-of-type { margin-top: 6px; }
label { display: block; font-weight: 700; font-size: 14px; margin: 10px 0; color: var(--soft); }
input, textarea, select { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; color: var(--plum); padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); }
.hint { font-size: 14px; color: var(--soft); margin: 4px 0 8px; line-height: 1.4; }
.center { text-align: center; }
.note { background: #fbe7cf; border-radius: 14px; padding: 12px 14px; font-weight: 700; margin-bottom: 8px; }
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.city { position: relative; text-align: left; font: inherit; border: 2px solid var(--line); background: var(--paper); border-radius: 16px; padding: 12px; cursor: pointer; color: var(--plum); }
.city b { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; }
.city span { font-size: 13px; color: var(--soft); }
.city.on { border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum) inset; }
.city.soon { opacity: .55; cursor: default; }
.city.soon { display: flex; flex-direction: column; align-items: flex-start; }
.city.soon b { padding-right: 0; }
.city .badge { order: -1; }
.city .badge { position: static; display: inline-block; margin-bottom: 6px; font-size: 11px; font-weight: 800; background: var(--honey); color: var(--plum); padding: 2px 8px; border-radius: 99px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chip { font: inherit; font-weight: 700; font-size: 14px; border: 2px solid var(--line); background: var(--paper); color: var(--plum); border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.chip.on { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.btn { font: inherit; font-weight: 800; font-size: 16px; border: 0; border-radius: 16px; padding: 14px 20px; cursor: pointer; background: #fff; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); text-decoration: none; display: inline-block; }
.btn:not(.ghost) { background: var(--plum); color: var(--cream); box-shadow: none; }
.btn.small { padding: 10px 14px; font-size: 14px; }
.phone { width: 100%; max-width: 360px; aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 34px; overflow: hidden; border: 8px solid var(--plum); background: #000; box-shadow: 0 20px 50px -20px #4a302766; }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.overlay { position: fixed; inset: 0; z-index: 20; background: #3d2a22cc; display: grid; place-items: center; padding: 16px; }
.overlay .card { width: min(100%, 440px); background: var(--paper); border-radius: 24px; padding: 22px; }
.linkbox { display: flex; gap: 8px; align-items: center; }
.linkbox input { margin: 0; font-size: 13px; }
.qr { display: grid; place-items: center; margin: 14px 0; }
.qr img { width: 180px; height: 180px; image-rendering: pixelated; }
.pay { font-size: 13px; color: var(--soft); background: var(--cream); border-radius: 12px; padding: 10px 12px; }

/* step by step maker */
.wprog { display: flex; gap: 6px; margin: 4px 0 6px; }
.wprog i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background .25s; }
.wprog i.on { background: var(--orange); }
.wstep { animation: wIn .25s ease-out; }
@keyframes wIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wstep { animation: none; } }
.wnav { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 10px; margin: 22px -16px 0; padding: 12px 16px calc(env(safe-area-inset-bottom) + 12px); background: linear-gradient(transparent, var(--cream) 30%); }
.wnav .btn { flex: 1; }
.wnav #backBtn { flex: 0 0 auto; }
.btn.wide { display: block; width: 100%; margin-top: 12px; text-align: center; }
/* checkout */
.sum { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; margin: 4px 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--plum); line-height: 1.4; padding: 12px; border-radius: 14px; background: var(--cream); margin: 14px 0 4px; cursor: pointer; }
.agree input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--plum); }
.agree.need { box-shadow: 0 0 0 2px var(--orange) inset; animation: nudge .3s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
a { color: var(--accent); }
