/* 살가운 화면 공통 — make.html 과 같은 색·글꼴 */
@font-face { font-family: Nanum; src: url(/fonts/NanumGothic-Regular.ttf); }
@font-face { font-family: Nanum; font-weight: 700; src: url(/fonts/NanumGothic-Bold.ttf); }
@font-face { font-family: Nanum; font-weight: 800; src: url(/fonts/NanumGothic-ExtraBold.ttf); }
:root { --main: #B84A33; --main-d: #963A27; --brand: #E8735A; --sage: #7C9A7E; --ink: #222; --sub: #666; --line: #eadfd2; --bg: #FBF6EE; --card: #fff; --ok: #2e7d4f; --bad: #c62828; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: Nanum, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
main { max-width: 480px; margin: 0 auto; padding: 16px 16px 48px; }
h1 { font-size: 22px; margin: 4px 0 10px; font-weight: 800; }
h2 { font-size: 18px; margin: 0 0 10px; font-weight: 800; }
p { margin: 0 0 10px; }
a { color: var(--main); }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; font: inherit; font-weight: 700; font-size: 16px;
       padding: 15px; border-radius: 12px; border: 0; background: var(--main); color: #fff; cursor: pointer; }
.btn.line { background: #fff; color: var(--main); border: 1.5px solid var(--main); }
.btn:disabled { background: #ccc; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 14px; }
.sub { color: var(--sub); font-size: 14px; }
.err { color: var(--bad); font-size: 14px; min-height: 20px; margin-top: 8px; }
.ok { color: var(--ok); font-weight: 700; }
label { display: block; font-size: 14px; color: var(--sub); margin: 12px 0 4px; }
input[type=text], input[type=tel], input[type=password], select { width: 100%; font: inherit; font-size: 16px; padding: 11px;
       border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); margin-top: 12px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 480px; margin: 0 auto; }
.logo { font-weight: 800; font-size: 18px; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; }
.logo img { display: block; width: auto; }
.foot { text-align: center; color: #999; font-size: 12px; margin-top: 28px; }
video { display: block; width: 100%; background: #000; border-radius: 14px; }

/* 하단 탭 3(R18) — 만들기·내 주문·상담이 모든 큰 화면에서 같은 자리에 있게 한 조각으로 둔다(common.js 남도.탭) */
body.has-tabs { padding-bottom: 72px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; height: 64px;
        background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
          font-size: 12px; color: var(--sub); text-decoration: none; white-space: nowrap; }
.tabs a.on { color: var(--ink); font-weight: 800; }
.tabs svg { width: 24px; height: 24px; }
/* 고르는 칩 — 행사·물음 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; padding: 9px 15px; border-radius: 999px; border: 0; background: #f1ecea; color: var(--ink); cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; font-weight: 700; }
