/* 상품 페이지·주문서 공통 */
:root {
  --ink: #111111; --crimson: #E30613; --crimson-deep: #B8050F;
  --gray-700: #4A4A4A; --gray-500: #7A7A7A; --gray-300: #C9C5BD; --gray-200: #E8E5DF; --gray-100: #F2F0EB;
  --cream: #F5F1EA; --white: #FFFFFF; --teal: #2EA8A8; --teal-deep: #1E7C7C;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 16px; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-200); }
.logo { font-family: 'Inter', 'Pretendard', sans-serif; font-weight: 800; font-size: 22px; color: var(--crimson); text-decoration: none; letter-spacing: -0.02em; }
.top nav { margin-left: auto; display: flex; gap: 16px; font-size: 13.5px; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--gray-700); white-space: nowrap; }

.code-banner { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-size: 13.5px; line-height: 1.5; }
.code-banner .save { color: #FFD7D9; font-weight: 700; }

.btn { display: block; width: 100%; border: none; border-radius: 12px; padding: 16px; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--crimson); color: #fff; }
.btn.primary:hover { box-shadow: 0 10px 30px rgba(227,6,19,0.25); }
.btn.secondary { background: var(--white); color: var(--ink); border: 1px solid var(--gray-300); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--crimson); background: var(--white); }
.field textarea { resize: vertical; min-height: 72px; }
.hint { font-size: 12.5px; margin-top: 6px; color: var(--teal-deep); line-height: 1.5; }
.hint:empty { display: none; }
.hint.err { color: var(--crimson-deep); }
.result { margin-top: 12px; font-size: 13.5px; line-height: 1.6; border-radius: 10px; padding: 12px; text-align: center; }
.result:empty { display: none; }
.result.ok { background: rgba(46,168,168,0.12); color: var(--teal-deep); }
.result.err { background: rgba(227,6,19,0.08); color: var(--crimson-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.todo { background: #FFF6D6; color: #6B5300; border-radius: 6px; padding: 1px 6px; font-weight: 700; font-size: 0.92em; }


footer.biz { border-top: 1px solid var(--gray-200); background: var(--gray-100); padding: 24px 16px 40px; font-size: 12px; line-height: 1.9; color: var(--gray-500); text-align: center; }
footer.biz b { color: var(--gray-700); }
footer.biz a { color: var(--gray-700); }

/* 나음 로고 (design/logo/naum_logo.ai) — 글자색을 따라감 */
.logo-mark { display: inline-block; height: 1em; width: auto; aspect-ratio: 69.3 / 17.4; fill: currentColor; vertical-align: middle; overflow: visible; }
.logo .logo-mark { height: 20px; }
