/* 샘플 공용 기본 — 가게형(shop)·가맹모집형(franchise) 틀이 같이 씁니다.
   색·글꼴은 각 샘플 data.js의 theme 값이 :root 변수로 들어옵니다. */
:root {
  --bg: #faf8f4; --bg-alt: #f1ede4; --surface: #ffffff; --ink: #1c1b19; --ink-2: #3f3c36;
  --mute: #6f6a60; --line: #e2ddd2; --accent: #8a3b1f; --accent-ink: #ffffff;
  --head-font: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.s-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* 가상 샘플 띠 — 모든 샘플 맨 위 (고정 아님) */
.sample-band { background: #1c1b19; color: #fff; font-size: 13px; line-height: 1.45; }
.sample-band .s-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 9px; padding-bottom: 9px; }
.sample-band b { background: #ffd23f; color: #1c1b19; border-radius: 4px; padding: 1px 7px; font-size: 12px; }
.sample-band a { color: #fff; white-space: nowrap; }
.sample-band a:first-of-type { margin-left: auto; }
.sample-band .band-admin { color: #ffd23f; font-weight: 700; }
.sample-foot-note { font-size: 13px; color: var(--mute); }

/* 공용 버튼 */
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.s-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }

/* 공용 폼 (샘플이라 실제 접수 안 함) */
.s-form { display: grid; gap: 14px; }
.s-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.s-form input, .s-form select, .s-form textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.s-form .s-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.s-form .s-check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); }
.s-form-msg { padding: 12px 14px; border-radius: 10px; background: var(--bg-alt); font-weight: 600; }
