/* 집현사주 자사몰 — 기존 상세 이미지(pink-ink)의 톤을 따른다: 밝은 한지, 연한 장밋빛, 수묵 그림, 가는 선.
   짙은 색은 버튼과 작은 강조에만 쓴다. */
:root {
  --paper: #f3e9e1; --paper-2: #f8f1eb; --pink: #efd9d0; --pink-2: #e6c6bc; --card: #fffbf8;
  --ink: #33261f; --ink-2: #74625b; --rose: #b77c73; --rose-deep: #8e4744; --line: #dfc8be; --ok: #3d6b4f;
  --serif: 'Noto Serif KR', 'Gowun Batang', serif; --sans: 'Noto Sans KR', system-ui, sans-serif;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) url(/static/img/paper.png); color: var(--ink); font: 16px/1.75 var(--sans); word-break: keep-all; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.4; margin: 0; letter-spacing: -.015em; color: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.narrow-2 { max-width: 940px; }
.center { text-align: center; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

/* ── 머리말 ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(243, 233, 225, .94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.home .top { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(243, 233, 225, .92) 0%, rgba(243, 233, 225, .6) 60%, transparent 100%); backdrop-filter: none; }
.home .top.scrolled { background: rgba(243, 233, 225, .94); backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 600 22px var(--serif); letter-spacing: .04em; }
.brand img { width: 46px; height: 46px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15.5px; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { color: var(--rose-deep); border-bottom-color: var(--rose); }
.nav .nav-cta { border: 1px solid var(--rose); color: var(--rose-deep); padding: 8px 20px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px 9px; cursor: pointer; }
.menu span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; }

/* ── 버튼 ── */
.btn { display: inline-block; background: var(--rose-deep); color: #fff; border: 1px solid var(--rose-deep); border-radius: 10px; padding: 14px 30px; font: 500 16px var(--sans); text-decoration: none; cursor: pointer; text-align: center; transition: background .15s; }
.btn:hover { background: #7a3936; }
.btn.ghost { background: rgba(255, 251, 248, .7); color: var(--rose-deep); border-color: var(--rose); }
.btn.ghost:hover { background: #fff; }
.btn.wide { display: block; width: 100%; }
.btn.small { padding: 7px 15px; font-size: 14px; border-radius: 8px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* 가는 선 사이에 작은 별 하나: 상세 이미지에서 쓰는 장식 */
.orn, .deco::after { display: block; width: 190px; height: 12px; margin: 18px auto 0; content: '';
  background: linear-gradient(var(--rose), var(--rose)) left center / calc(50% - 14px) 1px no-repeat, linear-gradient(var(--rose), var(--rose)) right center / calc(50% - 14px) 1px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.4 4.6L12 6 7.4 7.4 6 12 4.6 7.4 0 6l4.600-1.400z' fill='%23b77c73'/%3E%3C/svg%3E") center / 12px 12px no-repeat; opacity: .8; }

/* ── 첫 화면: 브랜드 그림(책, 산, 해, 매화)을 오른쪽에 크게 ── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f1e6dd 0%, #f0e5dc 60%, var(--paper) 100%); }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: left top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 78%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect; }
.hero-in { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 130px; min-height: 720px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--rose-deep); font: 400 17px var(--serif); letter-spacing: .12em; }
.hero-eyebrow b { font-weight: 600; padding-left: 12px; border-left: 1px solid var(--rose); }
.hero h1 { font-size: 46px; line-height: 1.42; max-width: 640px; }
.hero-side { margin-top: 28px; max-width: 470px; font: 400 17.5px/1.85 var(--serif); color: #57463f; }
.hero-side p { margin: 0 0 8px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ── 소개 패널: 연한 장밋빛 바탕 + 안쪽 가는 테두리 ── */
.intro { padding: 30px 0 0; }
.panel { position: relative; background: var(--pink); border-radius: 6px; padding: 76px 70px; }
.panel::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(183, 124, 115, .55); border-radius: 4px; pointer-events: none; }
.panel-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.panel h2 { font-size: 34px; }
.panel em { font-style: normal; color: var(--rose-deep); font-weight: 600; }
.panel-text > p { font: 400 17px/1.85 var(--serif); margin: 20px 0 0; color: #57463f; }
.promise { margin-top: 30px; }
.promise b { font: 600 17px var(--serif); color: var(--rose-deep); letter-spacing: .06em; }
.promise ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(183, 124, 115, .45); }
.promise li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid rgba(183, 124, 115, .3); font-size: 15.5px; line-height: 1.65; }
.promise li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; background: var(--rose); transform: rotate(45deg); }
.panel-foot { font: 400 13px var(--sans) !important; color: var(--ink-2) !important; }
.panel-book { position: relative; display: block; height: 440px; text-decoration: none; }
.panel-book img { position: absolute; width: 54%; border-radius: 3px; box-shadow: 0 16px 34px rgba(90, 50, 40, .22); }
.panel-book .b1 { left: 4%; top: 30px; transform: rotate(-5deg); z-index: 3; }
.panel-book .b2 { left: 27%; top: 6px; transform: rotate(3deg); z-index: 2; }
.panel-book .b3 { left: 44%; top: 40px; transform: rotate(9deg); z-index: 1; }
.panel-book span { position: absolute; right: 0; bottom: -4px; z-index: 4; color: var(--rose-deep); font: 500 15px var(--sans); border-bottom: 1px solid var(--rose); }

/* ── 사주란? ── */
.panel-saju { padding: 96px 0 20px; text-align: center; }
.panel-saju h2 { font-size: 36px; }
.panel-saju h2::after { display: block; width: 190px; height: 12px; margin: 18px auto 0; content: '';
  background: linear-gradient(var(--rose), var(--rose)) left center / calc(50% - 14px) 1px no-repeat, linear-gradient(var(--rose), var(--rose)) right center / calc(50% - 14px) 1px no-repeat; opacity: .8; }
.panel-saju h3 { font-size: 21px; color: var(--rose-deep); margin-top: 60px; }
.panel-saju em { font-style: normal; color: var(--rose-deep); font-weight: 600; }
.saju-lead, .saju-note { max-width: 760px; margin: 24px auto 0; font: 400 17px/1.9 var(--serif); color: #57463f; }
.saju-note { margin-top: 12px; }
.pillars { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillars li { background: rgba(255, 251, 248, .78); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 16px 26px; }
.pillar-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--rose); color: #fff; font: 500 25px var(--serif); }
.pillars .me .pillar-mark { background: var(--rose-deep); }
.pillar-when { display: block; color: var(--ink-2); font-size: 13.5px; }
.pillars b { display: block; font: 600 27px var(--serif); margin: 2px 0 8px; }
.pillars i { display: inline-block; font-style: normal; font-size: 13px; color: var(--rose-deep); border: 1px solid var(--rose); padding: 1px 12px; border-radius: 999px; }
.pillars p { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 400 15px/1.65 var(--serif); color: #57463f; }

/* ── 상품 ── */
.band { padding: 100px 0; }
.band-title { text-align: center; font-size: 36px; }
.band-title span { display: block; }
.band-title::after { display: block; width: 190px; height: 12px; margin: 18px auto 0; content: '';
  background: linear-gradient(var(--rose), var(--rose)) left center / calc(50% - 14px) 1px no-repeat, linear-gradient(var(--rose), var(--rose)) right center / calc(50% - 14px) 1px no-repeat; opacity: .8; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 34px 0 0; }
.tab { border: 1px solid var(--line); background: rgba(255, 251, 248, .8); color: var(--ink); padding: 9px 24px; border-radius: 999px; font: 400 15.5px var(--sans); cursor: pointer; }
.tab:hover { border-color: var(--rose); }
.tab.on { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.sticky-tabs { padding: 4px 0; }
.band-sub { text-align: center; font: 500 19px var(--serif); color: var(--rose-deep); letter-spacing: .1em; margin: 54px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; margin-top: 26px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(120, 70, 60, .14); }
.card.pick { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(183, 124, 115, .14); }
.card-in { display: flex; flex-direction: column; height: 100%; }
.card-img { position: relative; display: block; height: 0; padding-bottom: 64%; background: var(--pink); border-bottom: 1px solid var(--line); }
.card-img img, .card-img .card-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(160deg, #f4e2da, #e9c9bf); color: var(--rose-deep); text-align: center; padding: 16px; }
.card-cover b { font: 600 26px var(--serif); }
.card-cover small { font: 400 14px var(--serif); }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--rose-deep); color: #fff; font: 500 12.5px var(--sans); padding: 5px 13px; border-radius: 999px; display: flex; gap: 5px; flex-direction: row-reverse; }
.ribbon b { font-weight: 500; }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255, 251, 248, .92); color: var(--rose-deep); border: 1px solid var(--rose); font: 500 12px var(--sans); padding: 3px 12px; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.card-name { font: 600 22px/1.4 var(--serif); }
.card-lead { order: 2; margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); min-height: 3.3em; }
.price { order: 3; font: 600 22px var(--serif); color: var(--rose-deep); margin: 14px 0 0; }
.card-pill { order: 4; align-self: flex-start; margin-top: 12px; color: var(--ink-2); font-size: 13px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; }
.stars { color: #c98a2b; letter-spacing: 1px; }
.stars i { color: #dccfc8; font-style: normal; }

/* ── 구역 공통 ── */
.section { padding: 96px 0; }
.section.first { padding-top: 50px; }
.section.tight { padding: 64px 0; }
.section.tint, .section.paper, .section.dark { background: rgba(239, 217, 208, .5); }
.section h2 { font-size: 34px; text-align: center; }
.section h2.left { text-align: left; font-size: 25px; }
.section h2.gap, .lore h2.gap { margin-top: 96px; }
.section h2 small { font: 400 15px var(--sans); color: var(--ink-2); margin-left: 8px; }
.section-sub { text-align: center; color: var(--ink-2); margin: 18px 0 0; font: 400 16.5px var(--serif); }
.page-title { font-size: 34px; margin-bottom: 34px; text-align: center; }
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.samples img { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 24px rgba(90, 50, 40, .1); }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.steps li { position: relative; background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 20px 28px; }
.steps li + li::before { content: '›'; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); color: var(--rose); font-size: 22px; }
.steps span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--rose); color: #fff; font: 500 20px var(--serif); }
.steps b { display: block; font: 600 20px var(--serif); }
.steps p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* ── 용어 표 + 자주 묻는 질문 ── */
.lore { padding: 100px 0 110px; }
.lore-in { max-width: 960px; }
.lore h2 { font-size: 30px; }
.lore-lead { font: 400 16.5px/1.85 var(--serif); margin: 12px 0 28px; color: #57463f; }
.table-wrap { overflow-x: auto; background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 22px; }
.lore-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.65; }
.lore-table th, .lore-table td { padding: 15px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lore-table tr:last-child th, .lore-table tr:last-child td { border-bottom: 0; }
.lore-table thead th { font: 500 14px var(--sans); color: var(--rose-deep); letter-spacing: .08em; border-bottom: 1px solid var(--rose); }
.lore-table tbody th { font: 600 17.5px var(--serif); white-space: nowrap; color: var(--rose-deep); }
.lore-table td:last-child { color: var(--ink-2); }
.lore-faq { margin-top: 24px; border-top: 1px solid var(--rose); }
.lore-faq details { border-bottom: 1px solid var(--line); }
.lore-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 8px; font: 500 18px var(--serif); }
.lore-faq summary::-webkit-details-marker { display: none; }
.lore-faq summary::after { content: '+'; color: var(--rose); font: 300 26px var(--sans); line-height: 1; }
.lore-faq details[open] summary::after { content: '−'; }
.lore-faq p { margin: 0; padding: 0 8px 24px; color: #57463f; }
.lore-more { text-align: center; margin: 30px 0 0; }
.lore-more a { display: inline-block; border: 1px solid var(--rose); border-radius: 999px; padding: 10px 26px; text-decoration: none; }

/* ── 바닥글: 상세 이미지 맨 아래의 연한 장밋빛 판 ── */
.foot { background: var(--pink); color: var(--ink-2); padding: 64px 0 52px; font-size: 14px; border-top: 1px solid var(--pink-2); }
.foot a { color: var(--ink); }
.foot .foot-brand { display: inline-flex; align-items: center; gap: 12px; font: 600 22px var(--serif); letter-spacing: .04em; color: var(--ink); text-decoration: none; margin-bottom: 30px; }
.foot-brand img { width: 46px; height: 46px; border-radius: 8px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; flex-wrap: wrap; }
.foot-biz { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; max-width: 720px; }
.foot-biz div { display: flex; gap: 9px; }
.foot-biz .full { flex-basis: 100%; }
.foot-biz dd { margin: 0; color: var(--ink); }
.foot-side { text-align: right; margin-left: auto; }
.foot-links { margin: 0 0 8px; display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-copy { margin: 0; }
.foot-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--pink-2); font-size: 13px; }

/* ── 떠 있는 버튼 ── */
.float { position: fixed; right: 22px; bottom: 26px; z-index: 12; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rose); background: rgba(255, 251, 248, .95); color: var(--rose-deep); font: 500 19px var(--sans); cursor: pointer; display: grid; place-items: center; text-decoration: none; box-shadow: 0 8px 20px rgba(90, 50, 40, .16); }
.float-btn.kakao { background: #fee500; border-color: #fee500; color: #3a1d1d; font-size: 15px; }
.to-top { opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.buybar { display: none; }

/* ── 상품 상세 ── */
.pd { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: start; padding-top: 30px; }
.pd-img img { width: 100%; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px rgba(90, 50, 40, .14); }
.card-cover.big { aspect-ratio: 3 / 4; border-radius: 6px; }
.card-cover.big span { font: 600 34px var(--serif); }
.pd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chip { color: var(--rose-deep); border: 1px solid var(--rose); font-size: 13px; padding: 2px 13px; border-radius: 999px; }
.share { border: 0; background: none; color: var(--ink-2); padding: 6px 4px; font: 400 14px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pd-info h1 { font-size: 38px; }
.pd-lead { font: 400 16.5px/1.85 var(--serif); color: #57463f; margin: 14px 0 0; }
.pd-rating { display: inline-block; margin-top: 14px; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.price.big { font: 600 40px var(--serif); color: var(--ink); margin: 22px 0 24px; }
.price.big small { font: 400 20px var(--serif); margin-left: 5px; }
.spec { display: grid; grid-template-columns: 76px 1fr; gap: 9px 14px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec.wide { grid-template-columns: 120px 1fr; border: 0; padding: 0; margin: 0; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; overflow-wrap: anywhere; }
.spec ol { margin: 0; padding-left: 18px; }
.pd-note { color: var(--ink-2); font-size: 14px; margin-top: 14px; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: pt; }
.points div { background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px; text-align: center; counter-increment: pt; }
.points div::before { content: counter(pt, decimal-leading-zero); display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: var(--rose); color: #fff; font: 500 18px var(--serif); }
.points b { font: 600 19px/1.45 var(--serif); display: block; margin-bottom: 10px; }
.points p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.contents { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin-top: 40px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chapters li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 500 16.5px var(--serif); }
.chapters span { color: var(--rose); margin-right: 12px; }
.includes { margin: 0; padding: 22px 24px 22px 42px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.includes li { margin: 6px 0; }
.detail { max-width: 720px; margin: 0 auto; }
.detail-note { text-align: center; color: var(--ink-2); font-size: 13.5px; padding: 16px 20px 0; }
.refund { background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 36px 30px; margin-top: 22px; }
.refund h3 { font: 500 16px var(--sans); padding: 20px 0 12px; border-bottom: 1px solid var(--line); letter-spacing: 0; }
.refund ul { margin: 14px 0 0; padding-left: 20px; color: #57463f; font-size: 15.5px; }
.refund li { margin: 5px 0; }
.reviews { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--rose); }
.reviews li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.reviews li div { display: flex; align-items: center; gap: 10px; }
.reviews li b { font: 600 18px var(--serif); }
.reviews .num { color: var(--ink-2); font-size: 15px; }
.reviews time { margin-left: auto; color: var(--ink-2); font-size: 14px; }
.reviews p { margin: 14px 0 0; color: #57463f; overflow-wrap: anywhere; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--ink); }
.pager a.on { background: var(--rose-deep); color: #fff; }
.empty { text-align: center; color: var(--ink-2); padding: 40px 0; border-top: 1px solid var(--rose); border-bottom: 1px solid var(--line); margin-top: 22px; }

/* 상품 설명 흐름 */
.story { max-width: 720px; margin: 0 auto 20px; text-align: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.st { padding: 76px 44px; }
.st + .st { border-top: 1px solid var(--line); }
.st h2 { font-size: 30px; line-height: 1.45; }
.st h2 em, .st p em, .bubbles em { font-style: normal; }
.st > p { margin: 0 0 8px; font: 400 19px var(--serif); color: var(--ink-2); }
.st h2 em { color: var(--rose-deep); }
.st-dark, .st-rose { background: var(--pink); position: relative; }
.st-dark::before, .st-rose::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(183, 124, 115, .5); border-radius: 4px; pointer-events: none; }
.st-frame { margin: 0; }
.st .st-kicker { font: 400 17px var(--serif); color: var(--rose-deep); letter-spacing: .04em; }
.st .st-small { margin: 26px 0 0; font: 400 13.5px var(--sans); color: var(--ink-2); }
.bubbles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.bubbles li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 26px; font-size: 17px; line-height: 1.6; max-width: 430px; text-align: left; }
.bubbles li:nth-child(even) { justify-self: end; }
.bubbles em { color: var(--rose-deep); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; }
.facts div { padding: 6px 10px; }
.facts div + div { border-left: 1px solid rgba(183, 124, 115, .5); }
.facts dd { margin: 0; font: 600 30px var(--serif); color: var(--rose-deep); }
.facts dt { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.facts.two { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.facts.two div { background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: 12px; padding: 22px 12px; display: flex; flex-direction: column; }
.facts.two dt { margin: 0 0 6px; }
.facts.two dd { font-size: 25px; }
.flow { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 40px 28px 36px; }
.flow span { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--rose); color: #fff; font: 500 18px var(--serif); }
.flow h3 { font-size: 23px; margin-top: 16px; }
.flow p { margin: 10px 0 0; font-size: 16.5px; color: var(--ink-2); }
.flow p em { color: var(--ink); font-weight: 500; }
.mock { margin: 26px auto 0; max-width: 330px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; text-align: left; }
.mock b { display: block; font-size: 16px; font-weight: 500; }
.mock i { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.mock u { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-top: 4px; font-size: 15px; }
.mock.ring { text-align: center; }
.mock.ring::before { content: ''; display: block; width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; background: conic-gradient(var(--rose) 0 68%, #eadbd3 68% 100%); -webkit-mask: radial-gradient(circle, transparent 35px, #000 36px); mask: radial-gradient(circle, transparent 35px, #000 36px); }
.mock.mail u { background: var(--rose-deep); border: 0; color: #fff; text-align: center; margin-top: 16px; padding: 11px; }
.mock.tip { max-width: 420px; }
.mock.tip b { font: 600 19px var(--serif); color: var(--rose-deep); }
.mock.tip u { margin-top: 10px; padding: 14px 16px; font-size: 15.5px; line-height: 1.7; }
.chips { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px !important; }
.chips span { border: 1px solid var(--rose); color: var(--rose-deep); background: #fff; padding: 5px 18px; border-radius: 999px; font: 500 17px var(--serif); }

/* 후기 모음, 풀이 기준, 전문가 소개 */
.voices h2, .basis h2 { font-size: 30px; }
.voices h2 em, .basis h2 em { font-style: normal; color: var(--rose-deep); }
.st-kicker { margin: 0 0 8px; font: 400 17px var(--serif); color: var(--rose-deep); letter-spacing: .04em; }
.voices-facts { max-width: 560px; margin: 34px auto 0; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.voices-facts small { font: 400 15px var(--sans); color: var(--ink-2); }
.voices-list { grid-template-columns: 1fr 1fr; margin-top: 36px; }
.voices-list li, .voices-list li:nth-child(even) { max-width: none; justify-self: stretch; }
.voices-list p { margin: 8px 0 10px; }
.voices-list small { color: var(--ink-2); font-size: 13px; }
.reviews .src { font-size: 12.5px; color: var(--rose-deep); border: 1px solid var(--rose); border-radius: 999px; padding: 0 9px; }
.basis-list { list-style: none; counter-reset: b; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.basis-list li { counter-increment: b; position: relative; background: rgba(255, 251, 248, .8); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 24px 82px; }
.basis-list li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; font: 500 16px var(--serif); }
.basis-list b { font: 600 18.5px/1.45 var(--serif); }
.basis-list p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.expert { display: flex; gap: 26px; align-items: center; text-align: left; background: var(--pink); border-radius: 6px; padding: 30px 34px; margin: 34px 0 0; position: relative; }
.expert::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(183, 124, 115, .5); border-radius: 4px; pointer-events: none; }
.expert img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.expert b { font: 600 22px var(--serif); }
.expert span { margin-left: 10px; color: var(--rose-deep); font-size: 14.5px; }
.expert ul { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; color: #57463f; }
.expert p { margin: 12px 0 0; font: 400 16px/1.8 var(--serif); }
.st .basis-list { grid-template-columns: 1fr; }
.st .voices-list { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .voices h2, .basis h2 { font-size: 23px; }
  .voices-list, .basis-list { grid-template-columns: 1fr; }
  .basis-list li { padding: 22px 18px 20px 72px; } .basis-list li::before { left: 16px; top: 20px; }
  .expert { flex-direction: column; text-align: center; padding: 28px 22px; } .expert ul { text-align: left; }
}

/* ── 주문서 ── */
.order-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.order-head h1 { font-size: 38px; }
.crumbs { list-style: none; display: flex; margin: 0; padding: 0; color: var(--ink-2); font-size: 14.5px; }
.crumbs li + li::before { content: '›'; margin: 0 14px; color: #b9a8a1; }
.crumbs .on { color: var(--ink); font-weight: 500; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.group { border: 0; padding: 0; margin: 0 0 50px; min-width: 0; }
.group legend { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0 0 12px; border-bottom: 1px solid var(--ink); font: 600 20px var(--serif); }
.group legend small { font: 400 13px var(--sans); color: var(--ink-2); }
.group i, .row i { color: #c0392b; font-style: normal; }
.row { display: grid; grid-template-columns: 140px minmax(0, 460px); gap: 14px; align-items: start; padding: 16px 0 0 10px; }
.row > span:first-child { padding-top: 11px; font-size: 15px; }
.row small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 6px; }
.row .choices { padding-top: 11px; }
.stack { display: block; }
.row4 { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1fr; gap: 8px; align-items: center; }
.row4[data-time] { grid-template-columns: 1fr 1fr auto; }
.echo { margin: 8px 0 0; color: var(--rose-deep); font-size: 14.5px; font-weight: 500; min-height: 1.5em; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fffdfb; border: 1px solid #cdb8ae; border-radius: 8px; padding: 11px 14px; }
select:disabled { background: #ece1da; color: #9a8a84; }
input[type=radio], input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--rose-deep); }
.choices { display: flex; gap: 22px; flex-wrap: wrap; }
.choices label, .inline { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.item { display: flex; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 20px; }
.item img { width: 84px; height: 84px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.item-cover { width: 84px; height: 84px; display: grid; place-items: center; text-align: center; border-radius: 6px; background: linear-gradient(160deg, #f4e2da, #e9c9bf); color: var(--rose-deep); font: 600 13px var(--serif); padding: 6px; }
.item b, .item span, .item strong { display: block; }
.item b { font: 600 18px var(--serif); }
.item span { color: var(--ink-2); font-size: 13.5px; }
.item strong { font-weight: 500; margin-top: 4px; }
.caution { color: #b0392f; font-size: 14px; margin: 18px 0 0 10px; }
.agree label { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; }
.agree label input { flex: none; margin-top: 4px; }
.agree .all { font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.terms-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 22px; margin: 12px 0 0; font-size: 13.5px; color: #5a4c47; }
.terms-box p { margin: 4px 0; }
.terms-box b { color: var(--ink); font-weight: 500; margin-right: 6px; }
.notes { margin: 22px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.hint { display: block; color: var(--ink-2); font-size: 13px; margin-top: 6px; }
.order-side { position: sticky; top: 100px; }
.pay { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.pay h2 { font: 600 18px var(--serif); text-align: left; margin-bottom: 14px; }
.pay-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 18px; }
.pay dl { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0; color: var(--ink-2); }
.pay dd { margin: 0; }
.pay .total { color: var(--ink); }
.pay .total dd { font: 600 23px var(--serif); color: var(--rose-deep); }
.pay p { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }

/* ── 주문 완료·조회·관리자·게시판 ── */
.progress { list-style: none; display: flex; justify-content: center; padding: 0; margin: 0 0 26px; font-size: 14.5px; color: var(--ink-2); }
.progress li + li::before { content: '›'; margin: 0 14px; color: #b9a8a1; }
.progress .on { color: var(--ink); font-weight: 500; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; margin: 0 0 20px; min-width: 0; }
.field { display: block; margin: 16px 0 0; }
.field > span { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 6px; }
.form .btn { margin-top: 20px; }
.plain { padding-left: 20px; color: #57463f; }
.plain li { margin: 7px 0; }
.alert { background: #fbe9e6; border: 1px solid #e3a9a1; border-radius: 10px; color: #7c2a2c; padding: 16px 20px; margin-bottom: 22px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert.ok { background: #e8f1ea; border-color: #a9c9b4; color: var(--ok); }
.warn { color: #a3261f; font-weight: 500; }
.order-no { font: 700 18px ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.state { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--pink); font-size: 14px; }
.state-sent { background: #e8f1ea; color: var(--ok); }
.state-cancelled, .state-failed { background: #fbe9e6; color: #a3261f; }
.doc h2 { font: 600 18px var(--serif); text-align: left; margin-top: 30px; }
.doc p { color: #57463f; margin: 8px 0; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--rose); color: var(--ink-2); font-size: 14.5px; }
.board-head p { margin: 0; }
.board-head input { max-width: 300px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 21px 8px; font: 500 17px var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; margin-left: auto; color: var(--rose); font: 300 24px var(--sans); line-height: 1; }
.qa[open] summary::after { content: '−'; }
.qa summary time { margin-left: auto; color: var(--ink-2); font: 400 14px var(--sans); }
.qa summary:has(time)::after { display: none; }
.q { color: var(--rose); font: 600 18px var(--serif); }
.qa p { margin: 0; padding: 0 8px 26px 40px; color: #57463f; }
.more { text-align: center; margin-top: 30px; }
.order header { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.order header time { margin-left: auto; color: var(--ink-2); font-size: 14px; }
.event { display: inline-block; margin-right: 12px; color: var(--ink-2); font-size: 13.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.memo { display: flex; gap: 8px; margin-top: 12px; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.admin-tabs a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--ink); font-size: 14.5px; background: var(--card); }
.admin-tabs a.on { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }

/* ── 좁은 화면 ── */
@media (max-width: 1020px) {
  .hero h1 { font-size: 34px; max-width: 480px; }
  .hero-side { max-width: 400px; font-size: 16.5px; }
  .hero-in { padding-top: 140px; padding-bottom: 100px; min-height: 620px; }
  .hero-art { width: 50%; }
  .panel { padding: 60px 46px; }
  .panel-top { grid-template-columns: 1fr; gap: 40px; }
  .panel-book { height: 380px; max-width: 520px; margin: 0 auto; width: 100%; }
  .grid, .grid.three { gap: 16px; }
  .card-body { padding: 18px 16px 16px; }
  .steps, .points { grid-template-columns: 1fr 1fr; }
  .steps li + li::before { display: none; }
  .samples { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; gap: 0; }
  .order-side { position: static; }
  .pd { grid-template-columns: 300px 1fr; gap: 36px; }
  .nav { gap: 20px; font-size: 15px; }
  .contents { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .top-in { height: 64px; }
  .brand { font-size: 19px; } .brand img { width: 40px; height: 40px; }
  .menu { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 18px; box-shadow: 0 14px 24px rgba(90, 50, 40, .14); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; }
  .hero-art { position: relative; width: 100%; height: 340px; }
  .hero-art img { object-position: center 18%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-in { padding-top: 10px; padding-bottom: 50px; min-height: 0; }
  .hero h1 { font-size: 30px; max-width: none; }
  .hero-side { max-width: none; font-size: 16px; margin-top: 18px; }
  .intro { padding-top: 10px; }
  .panel { padding: 46px 28px 50px; }
  .panel::before { inset: 9px; }
  .panel h2 { font-size: 25px; }
  .panel-book { height: 270px; }
  .panel-saju { padding: 64px 0 0; }
  .panel-saju h2 { font-size: 28px; }
  .saju-lead, .saju-note { font-size: 16px; text-align: left; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pillars li { padding: 22px 12px 20px; }
  .band { padding: 64px 0; }
  .band-title { font-size: 25px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 26px -20px 0; padding: 10px 20px; }
  .tab { flex: none; white-space: nowrap; }
  .grid, .grid.three { grid-template-columns: 1fr; gap: 14px; }
  .card-in { flex-direction: row; }
  .card-img { flex: 0 0 36%; height: auto; padding-bottom: 0; min-height: 128px; border-bottom: 0; border-right: 1px solid var(--line); }
  .card-body { padding: 16px; justify-content: center; }
  .card-lead { display: none; }
  .card-name { font-size: 19px; }
  .price { font-size: 19px; margin-top: 6px; }
  .card-pill { margin-top: 8px; font-size: 12.5px; }
  .card-cover b { font-size: 18px; } .card-cover small { display: none; }
  .ribbon, .badge { top: 8px; left: 8px; font-size: 11.5px; padding: 3px 9px; }
  .section { padding: 60px 0; }
  .section h2, .page-title { font-size: 25px; }
  .section h2.gap, .lore h2.gap { margin-top: 64px; }
  .samples { gap: 12px; }
  .steps, .points { grid-template-columns: 1fr; gap: 12px; }
  .lore { padding: 60px 0 70px; }
  .lore h2 { font-size: 23px; }
  .table-wrap { padding: 2px 12px; }
  .lore-table { font-size: 14.5px; } .lore-table th, .lore-table td { padding: 12px 6px; } .lore-table tbody th { font-size: 15.5px; white-space: normal; }
  .lore-faq summary { font-size: 16.5px; padding: 18px 4px; }
  .foot { padding: 44px 0 36px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-side { text-align: left; margin-left: 0; }
  .foot-links { justify-content: flex-start; }
  .pd { grid-template-columns: 1fr; gap: 24px; padding-top: 0; }
  .pd-img { max-width: 280px; margin: 0 auto; }
  .pd-info h1 { font-size: 28px; }
  .price.big { font-size: 32px; }
  .chapters { grid-template-columns: 1fr; }
  .refund { padding: 6px 20px 24px; }
  .story { border-radius: 0; border-left: 0; border-right: 0; }
  .st { padding: 52px 22px; }
  .st h2 { font-size: 23px; } .st > p { font-size: 16.5px; }
  .facts dd { font-size: 22px; } .facts.two dd { font-size: 20px; }
  .bubbles li { font-size: 15.5px; }
  .flow li { padding: 30px 18px; } .flow h3 { font-size: 20px; } .flow p { font-size: 15.5px; }
  .order-head { margin: 10px 0 28px; } .order-head h1 { font-size: 28px; }
  .row { grid-template-columns: 1fr; gap: 4px; padding-left: 0; }
  .row > span:first-child { padding-top: 0; font-weight: 500; }
  .row .choices { padding-top: 2px; }
  .row4 { grid-template-columns: 1fr 1fr; }
  .caution { margin-left: 0; }
  .spec.wide { grid-template-columns: 96px 1fr; }
  .float { right: 12px; bottom: 16px; } .float-btn { width: 46px; height: 46px; font-size: 17px; }
  .has-sticky .float { bottom: 86px; }
  .has-sticky .foot { padding-bottom: 110px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 18px rgba(90, 50, 40, .1); }
  .buybar div { min-width: 0; }
  .buybar b { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar span { color: var(--rose-deep); font-weight: 500; }
  .buybar .btn { padding: 12px 20px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

/* ══ 보정 (비교분석 결과 반영): 글씨 크기·대비, 상품별 카드 그림, 정가·할인, 구매 혜택 ══ */
:root { --ink-2: #5f4f48; --body: #46372f; }
.nav { font-size: 17px; }
.home .top { background: transparent; }
.home .top.scrolled { background: rgba(243, 233, 225, .96); }
.hero-art { top: 76px; }
.hero-in { padding-top: 160px; }
.hero h1 { font-size: 54px; line-height: 1.36; max-width: 720px; }
.hero-side { font-size: 19px; color: var(--body); max-width: 500px; }
.panel-text > p { font-size: 18px; color: var(--body); }
.promise b { font-size: 19px; }
.saju-lead, .saju-note { font-size: 18px; color: var(--body); }
.saju-note { text-align: left; }
.panel-saju h3 { text-align: left; max-width: 760px; margin-left: auto; margin-right: auto; }
.pillars p { font-size: 16px; color: var(--body); }
.section-sub { font-size: 18px; }
.steps b { font-size: 21px; } .steps p { font-size: 16px; }
.lore-lead { font-size: 18px; color: var(--body); }
.lore-table { font-size: 16.5px; } .lore-table tbody th { font-size: 19px; }
.lore-faq summary { font-size: 19.5px; } .lore-faq p { font-size: 16.5px; color: var(--body); }
.basis-list b { font-size: 20px; } .basis-list p { font-size: 16px; color: var(--body); }
.voices h2, .basis h2 { font-size: 34px; }
.foot { font-size: 15px; }
.refund ul { font-size: 17px; color: var(--body); } .refund h3 { font-size: 17.5px; }
.pd-note, .detail-note { font-size: 15px; }

/* 구매 혜택 목록 */
.benefits, .promise .benefits { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid rgba(183, 124, 115, .55); text-align: left; }
.benefits li, .promise .benefits li { position: relative; display: block; padding: 15px 0 15px 32px; border-bottom: 1px solid rgba(183, 124, 115, .35); line-height: 1.6; }
.benefits li::before { content: ''; position: absolute; left: 5px; top: 24px; width: 10px; height: 10px; background: var(--rose-deep); transform: rotate(45deg); }
.benefits b { display: block; font: 600 18.5px var(--serif); color: var(--rose-deep); letter-spacing: 0; }
.benefits span { display: block; margin-top: 2px; font-size: 16px; color: var(--body); }

/* 상품 구역: 바탕을 한 단계 다르게, 추천 묶음 없이 한 목록 */
.band { background: var(--pink); border-top: 1px solid var(--pink-2); border-bottom: 1px solid var(--pink-2); }
.section.band { background: var(--pink); }
.band-title { font-size: 40px; }
.tab { font-size: 17px; padding: 11px 28px; background: var(--card); }
.sale-note { text-align: center; margin: 26px 0 0; font-size: 16.5px; color: var(--body); }
.sale-note b { display: inline-block; background: var(--rose-deep); color: #fff; font-weight: 500; font-size: 14.5px; padding: 3px 14px; border-radius: 999px; margin-right: 10px; }
.card { border-color: #d8bdb2; }
.card.pick { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(142, 71, 68, .18); }
.card-img { padding-bottom: 60%; overflow: hidden; }
.t-general .card-img { background: #efe2d3; } .t-general .card-emblem { background: #b0726a; }
.t-wealth .card-img { background: #f0deb4; } .t-wealth .card-emblem { background: #b3832a; }
.t-career .card-img { background: #d6e0e4; } .t-career .card-emblem { background: #4c6a79; }
.t-love .card-img { background: #f5d3d6; } .t-love .card-emblem { background: #c65a68; }
.t-newyear .card-img { background: #f8d2bd; } .t-newyear .card-emblem { background: #d65c3b; }
.t-core .card-img { background: #dfe7d2; } .t-core .card-emblem { background: #6b8454; }
.t-reunion .card-img { background: #f3d8cc; } .t-reunion .card-emblem { background: #b4605a; }
.t-partner .card-img { background: #d9e0d2; } .t-partner .card-emblem { background: #5f7a62; }
.t-couple .card-img { background: #e4d7ea; } .t-couple .card-emblem { background: #84679a; }
.card-emblem { position: absolute; left: 9%; top: 50%; transform: translateY(-50%); width: 33%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px rgba(60, 40, 30, .16); }
.card-emblem svg { width: 54%; height: 54%; }
.card-img img.card-book, .card-book.blank { position: absolute; inset: auto; right: 10%; top: 12%; width: 34%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; object-position: top; transform: rotate(5deg); border-radius: 3px; box-shadow: 0 10px 22px rgba(60, 40, 30, .28); background: #f6ede6; }
.card-book.blank { display: grid; place-items: center; text-align: center; padding: 6px; color: var(--rose-deep); }
.card-book.blank b { font: 600 13px/1.4 var(--serif); }
.ribbon { top: 12px; left: 12px; font-size: 13.5px; padding: 5px 14px; }
.badge { top: 12px; left: 12px; font-size: 13px; }
.card-img .sale-tag { position: absolute; left: 12px; bottom: 12px; }
.sale-tag { display: inline-block; background: rgba(255, 251, 248, .94); color: var(--rose-deep); border: 1px solid var(--rose); font-size: 13px; font-weight: 500; padding: 2px 12px; border-radius: 999px; }
.card-name { font-size: 24px; }
.card-lead { font-size: 15.5px; color: var(--ink-2); }
.card-pill { font-size: 14px; color: var(--ink-2); border-color: #d8bdb2; }
.price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price s { font: 400 15.5px var(--sans); color: #9a8880; }
.price b { font: 600 25px var(--serif); color: var(--rose-deep); }
.price b small { font-size: 16px; font-weight: 500; margin-left: 1px; }
.price em { font: 700 13.5px var(--sans); font-style: normal; color: #fff; background: #c8503f; padding: 1px 9px; border-radius: 999px; align-self: center; }
.price.big s { font-size: 20px; } .price.big b { font-size: 46px; color: var(--ink); } .price.big b small { font-size: 22px; } .price.big em { font-size: 17px; padding: 3px 12px; }
.assure { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid #d8bdb2; border-radius: var(--r); }
.assure li { padding: 22px 14px; text-align: center; }
.assure li + li { border-left: 1px solid var(--line); }
.assure b { display: block; font: 600 18px var(--serif); color: var(--rose-deep); }
.assure span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.samples a { display: block; }

/* 상품 상세 */
.pd-hook { margin: 12px 0 0; font: 600 21px/1.5 var(--serif); color: var(--rose-deep); }
.pd-lead { font-size: 17.5px; color: var(--body); margin-top: 8px; }
.pd-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 22px 0 24px; }
.pd-price .price.big { margin: 0; }
.spec { font-size: 16.5px; }
.pd-assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15.5px; color: var(--body); }
.pd-assure li::before { content: '✓ '; color: var(--rose-deep); font-weight: 700; }
.points div { background: var(--rose-deep); border: 0; }
.points div::before { background: #fff; color: var(--rose-deep); }
.points b { color: #fff; font-size: 21px; }
.points p { color: #f6e3de; font-size: 16px; }
.st h2 { font-size: 38px; } .st > p { font-size: 22px; color: var(--body); }
.st .st-kicker, .st-kicker { font-size: 19px; }
.bubbles li { font-size: 20px; padding: 22px 28px; max-width: 480px; color: var(--ink); }
.flow h3 { font-size: 27px; } .flow p { font-size: 18.5px; }
.mock { max-width: 360px; } .mock b { font-size: 18px; } .mock u { font-size: 16.5px; } .mock i { font-size: 14.5px; }
.mock.tip u { font-size: 17px; } .mock.tip b { font-size: 21px; }
.facts.two dd { font-size: 28px; } .facts dt { font-size: 16px; }
.st .st-small { font-size: 14.5px; }
.st .benefits { max-width: 540px; margin: 30px auto 0; }
.st-buy { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.pay .minus dd { color: #c8503f; }
.buybar s { color: #9a8880; font-weight: 400; font-size: 13px; } .buybar em { font-style: normal; color: #c8503f; font-size: 13px; }

@media (max-width: 1020px) {
  .hero h1 { font-size: 40px; max-width: 480px; }
  .hero-side { font-size: 17.5px; max-width: 420px; }
  .assure { grid-template-columns: 1fr 1fr; } .assure li:nth-child(3) { border-left: 0; } .assure li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-name { font-size: 21px; } .price b { font-size: 22px; }
}
@media (max-width: 760px) {
  .hero-art { top: 0; height: 250px; }
  .hero-in { padding-top: 6px; }
  .hero h1 { font-size: 31px; }
  .hero-side { font-size: 16.5px; }
  .hero-side p:nth-of-type(2) { display: none; }
  .hero-cta { margin-top: 20px; }
  .panel-text > p, .saju-lead, .saju-note, .lore-lead { font-size: 16.5px; }
  .band-title { font-size: 26px; }
  .tab { font-size: 15.5px; padding: 9px 20px; }
  .card-img { flex: 0 0 40%; padding-bottom: 0; min-height: 150px; }
  .card-emblem { width: 38%; left: 8%; } .card-img img.card-book, .card-book.blank { width: 38%; right: 8%; top: 16%; }
  .card-img .sale-tag { display: none; }
  .card-lead { display: block; min-height: 0; font-size: 14px; margin-top: 4px; }
  .card-name { font-size: 20px; } .price b { font-size: 21px; } .price s { font-size: 13.5px; }
  .card-pill { font-size: 12.5px; }
  .assure b { font-size: 16px; } .assure span { font-size: 13.5px; }
  .voices h2, .basis h2 { font-size: 25px; }
  .pd-img { max-width: 190px; }
  .pd-hook { font-size: 18.5px; } .pd-lead { font-size: 16.5px; }
  .price.big b { font-size: 36px; } .price.big s { font-size: 17px; }
  .st h2 { font-size: 27px; } .st > p { font-size: 18px; }
  .bubbles li { font-size: 17px; padding: 18px 22px; }
  .flow h3 { font-size: 22px; } .flow p { font-size: 16.5px; }
  .lore-table { font-size: 15px; } .lore-table tbody th { font-size: 16.5px; } .lore-faq summary { font-size: 17.5px; }
  .points b { font-size: 19px; }
}

/* 약관·방침 문서의 표 */
.doc .table-wrap { margin: 12px 0; padding: 0 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--body); }
.doc tr:last-child th, .doc tr:last-child td { border-bottom: 0; }
.doc thead th { font-weight: 500; color: var(--rose-deep); border-bottom: 1px solid var(--rose); }
.doc tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.doc p { font-size: 16.5px; color: var(--body); }
.doc h2 { font-size: 19px; }
@media (max-width: 760px) { .doc tbody th { white-space: normal; } .doc table { font-size: 14.5px; } }

/* 100% 환불 보장제 */
.hero-seal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; font: 400 16px var(--sans); color: var(--body); }
.hero-seal b, .pay-seal b { display: inline-block; background: #c8503f; color: #fff; font-weight: 700; font-size: 14.5px; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.guarantee { display: grid; grid-template-columns: 190px 1fr; gap: 44px; align-items: center; background: var(--card); border: 2px solid var(--rose-deep); border-radius: var(--r); padding: 44px 48px; position: relative; }
.guarantee::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(142, 71, 68, .35); border-radius: 10px; pointer-events: none; }
.seal { width: 190px; height: 190px; border-radius: 50%; background: #c8503f; color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 6px var(--card), 0 0 0 8px #c8503f, 0 14px 30px rgba(200, 80, 63, .3); transform: rotate(-8deg); }
.seal b { display: block; font: 700 54px/1 var(--serif); letter-spacing: -.02em; }
.seal span { display: block; margin-top: 8px; font: 600 22px var(--serif); letter-spacing: .06em; }
.guarantee h2 { font-size: 32px; text-align: left; }
.guarantee h2 em { font-style: normal; color: #c8503f; }
.guarantee-text > p { margin: 14px 0 0; font-size: 17px; color: var(--body); }
.guarantee-steps { list-style: none; counter-reset: g; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guarantee-steps li { counter-increment: g; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 52px; position: relative; }
.guarantee-steps li::before { content: counter(g); position: absolute; left: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--rose-deep); color: #fff; display: grid; place-items: center; font: 600 14px var(--sans); }
.guarantee-steps b { display: block; font: 600 16.5px var(--serif); }
.guarantee-steps span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.guarantee .guarantee-note { font-size: 13.5px; color: var(--ink-2); margin-top: 16px; }
.pd-assure a { color: #c8503f; font-weight: 700; }
.pay .pay-seal { margin: 14px 0 0; font-size: 14px; color: var(--body); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.refund b { color: #c8503f; }
.refund-form { margin-top: 20px; padding: 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 12px; }
.refund-form p { margin: 0; font-size: 15.5px; color: var(--body); } .refund-form b { color: #c8503f; margin-right: 6px; }
.state-refund { background: #fdeed5; color: #9a5b12; } .state-refunded { background: #ece8e3; color: #5c534d; }
@media (max-width: 1020px) { .guarantee { grid-template-columns: 140px 1fr; gap: 28px; padding: 36px 30px; } .seal { width: 140px; height: 140px; } .seal b { font-size: 40px; } .seal span { font-size: 17px; } .guarantee h2 { font-size: 26px; } .guarantee-steps { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 34px 22px; } .guarantee h2 { text-align: center; font-size: 24px; } .guarantee-steps { text-align: left; } .hero-seal { font-size: 14.5px; } }

/* 소개 패널: 고민 → 왜 집현사주 → 혜택 */
.panel h2 em { color: #c8503f; }
.worries { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.worries li { background: rgba(255, 251, 248, .8); border: 1px solid rgba(183, 124, 115, .45); border-radius: 12px; padding: 15px 18px; }
.worries b { display: block; font: 600 18.5px var(--serif); color: var(--ink); }
.worries span { display: block; margin-top: 3px; font-size: 16px; color: var(--body); }
.whyus { margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(183, 124, 115, .5); }
.whyus h3 { font-size: 30px; text-align: center; }
.whyus ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.whyus li { background: var(--card); border: 1px solid rgba(183, 124, 115, .45); border-radius: var(--r); padding: 26px 22px 24px; }
.whyus li b { display: block; font: 600 30px/1.2 var(--serif); color: var(--rose-deep); letter-spacing: -.02em; }
.whyus li strong { display: block; margin-top: 10px; font: 600 18.5px var(--serif); color: var(--ink); }
.whyus li span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.7; color: var(--body); }
.whyus li.hot { background: #c8503f; border-color: #c8503f; }
.whyus li.hot b, .whyus li.hot strong { color: #fff; } .whyus li.hot span { color: #fde9e4; }
.panel > .promise { margin-top: 44px; }
.panel > .promise .benefits { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 1020px) { .whyus ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .whyus { margin-top: 36px; padding-top: 32px; } .whyus h3 { font-size: 24px; } .whyus ol { grid-template-columns: 1fr; gap: 12px; } .whyus li { padding: 20px 18px; } .whyus li b { font-size: 26px; } .panel > .promise .benefits { grid-template-columns: 1fr; } .worries b { font-size: 17px; } .worries span { font-size: 15px; } }

/* 샘플 세 장 묶음: 높이를 폭에 맞춰 잡아 아래 구역을 덮지 않게 한다 (기울인 만큼의 여유 포함) */
.panel-book { height: auto; aspect-ratio: 1 / 1; }

/* 첫 화면 설명글과 환불 보장 줄 다듬기 */
.hero h1, .hero-side p, .panel h2, .panel-text > p { text-wrap: balance; }
.hero-side p { margin: 0 0 10px; line-height: 1.8; }
.hero-side .hero-seal { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 7px 18px 7px 7px; background: rgba(255, 251, 248, .85); border: 1px solid #e3b7ae; border-radius: 999px; font: 400 15.5px/1.4 var(--sans); color: var(--body); }
.hero-side .hero-seal b { padding: 6px 15px; font-size: 14.5px; }
.hero-cta .btn { min-width: 168px; }
@media (max-width: 760px) { .hero-side .hero-seal { display: flex; border-radius: 16px; padding: 10px 14px; gap: 10px; font-size: 14.5px; } .hero-cta .btn { min-width: 0; flex: 1; padding-left: 12px; padding-right: 12px; } .hero-side p:nth-of-type(2) { display: block; } }

/* 사주풀이 설명: 글 세 문단 대신 문양이 붙은 카드 세 장 */
.reading { margin-top: 64px; }
.reading h3, .panel-saju .reading h3 { text-align: center; font-size: 26px; color: var(--ink); max-width: none; margin: 0; }
.reading ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reading li { background: var(--pink); border-radius: var(--r); padding: 34px 26px 30px; text-align: center; position: relative; }
.reading li::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(183, 124, 115, .5); border-radius: 10px; pointer-events: none; }
.reading-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--rose-deep); color: #fff; }
.reading-icon svg { width: 38px; height: 38px; }
.reading b { display: block; font: 600 21px/1.4 var(--serif); color: var(--ink); }
.reading p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; color: var(--body); text-wrap: balance; }
.reading em { font-style: normal; color: var(--rose-deep); font-weight: 600; }
@media (max-width: 1020px) { .reading ol { grid-template-columns: 1fr; gap: 12px; } .reading li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; align-items: center; padding: 26px 26px 24px; } .reading-icon { grid-row: span 2; margin: 0; } .reading p { margin-top: 4px; text-wrap: wrap; } }
@media (max-width: 760px) { .reading { margin-top: 44px; } .reading h3, .panel-saju .reading h3 { font-size: 22px; } .reading li { grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px 20px; } .reading-icon { width: 56px; height: 56px; } .reading-icon svg { width: 30px; height: 30px; } .reading b { font-size: 18.5px; } .reading p { font-size: 15px; } }


/* 첫 화면 바로 아래: 집현사주는 다릅니다 */
.creed { padding: 96px 0 84px; text-align: center; background: var(--paper); }
.creed-kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 16px var(--serif); letter-spacing: .22em; color: #c8503f; }
.creed-kicker::before, .creed-kicker::after { content: ''; width: 34px; height: 1px; background: #c8503f; opacity: .6; }
.creed h2 { font-size: 42px; line-height: 1.45; text-wrap: balance; }
.creed h2 em { font-style: normal; color: var(--rose-deep); }
.creed-lead { max-width: 700px; margin: 22px auto 0; font: 400 18.5px/1.95 var(--serif); color: var(--body); text-wrap: pretty; }
.creed-lead + .creed-lead { margin-top: 12px; color: var(--ink); font-weight: 500; }
.creed-list { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.creed-list li { position: relative; background: var(--card); border: 1px solid rgba(183, 124, 115, .45); border-radius: var(--r); padding: 30px 26px 28px; }
.creed-list i { display: inline-block; font: 600 14px var(--serif); font-style: normal; letter-spacing: .1em; color: #fff; background: var(--rose-deep); border-radius: 999px; padding: 4px 14px; }
.creed-list b { display: block; margin-top: 16px; font: 600 20.5px/1.45 var(--serif); color: var(--ink); text-wrap: balance; }
.creed-list span { display: block; margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--body); }
.creed-sign { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 44px 0 0; font: 400 16px var(--serif); color: var(--body); letter-spacing: .06em; }
.creed-sign b { font-weight: 600; font-size: 20px; color: var(--ink); padding-left: 14px; border-left: 1px solid var(--rose); letter-spacing: .12em; }
@media (max-width: 900px) {
  .creed { padding: 64px 0 56px; }
  .creed h2 { font-size: 31px; }
  .creed-lead { font-size: 17px; }
  .creed-list { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .creed-list li { padding: 22px 22px 22px; }
}
@media (max-width: 480px) {
  .creed h2 { font-size: 25px; }
  .creed-kicker { font-size: 14px; letter-spacing: .16em; }
  .creed-list b { font-size: 18.5px; }
}

/* ── 글꼴 보정 (2026-10-22): 브랜드 상세 이미지처럼 제목은 굵고 짙은 명조, 명조 본문은 500 굵기 ── */
h1, h2, h3, .band-title, .creed h2, .panel h2, .panel-saju h2, .whyus h3, .reading h3 { font-weight: 700; color: #45231f; letter-spacing: -.025em; }
.hero h1 { font-weight: 700; color: #45231f; }
.card-name, .creed-list b, .worries b, .whyus li strong, .reading b, .pillars b { font-weight: 700; color: #45231f; }
.hero-side, .hero-side p, .panel-text > p, .saju-lead, .saju-note, .creed-lead, .pillars p, .section-sub { font-weight: 500; color: #4a3832; }
.creed-lead + .creed-lead { color: #45231f; font-weight: 600; }
.hero-eyebrow, .creed-kicker, .band-sub { font-weight: 600; }
body { color: #3a2b25; -webkit-font-smoothing: antialiased; }
.card-lead, .worries span, .whyus li span, .creed-list span, .reading p, .reading li span { color: #5a4842; }

/* 첫 화면 환불 배지: 좁은 폭에서 알약이 두 줄로 찌그러지지 않게 */
.hero-side .hero-seal { border-radius: 14px; flex-wrap: nowrap; max-width: 100%; }
.hero-side .hero-seal span { min-width: 0; }

/* "집현사주는 다릅니다": 따로 떨어진 카드 셋 대신 브랜드 이미지처럼 한 판을 세로줄로 나눈다 */
.creed-list { gap: 0; background: rgba(255, 251, 248, .82); border: 1px solid rgba(183, 124, 115, .4); border-radius: 18px; text-align: center; overflow: hidden; }
.creed-list li { background: none; border: 0; border-radius: 0; padding: 34px 28px 32px; }
.creed-list li + li { border-left: 1px solid rgba(183, 124, 115, .35); }
.creed-list i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; padding: 0; border-radius: 50%; background: var(--rose); font: 600 15px var(--serif); letter-spacing: 0; }
.creed-list b { margin-top: 18px; font-size: 20px; }
.creed-list b::after { display: block; width: 22px; height: 1px; margin: 14px auto 0; content: ''; background: var(--rose); }
.creed-list span { margin-top: 14px; font-size: 15.5px; }
@media (max-width: 900px) {
  .creed-list { grid-template-columns: repeat(3, 1fr); }
  .creed-list li { padding: 26px 16px 24px; }
  .creed-list b { font-size: 17.5px; }
  .creed-list span { font-size: 14.5px; }
}
@media (max-width: 620px) {
  .creed-list { grid-template-columns: 1fr; }
  .creed-list li { padding: 24px 22px; }
  .creed-list li + li { border-left: 0; border-top: 1px solid rgba(183, 124, 115, .35); }
}

/* 상품 카드: 오픈 기념가 꼬리표가 문양을 가리지 않게 빼고(가격 줄과 목록 위 안내에 이미 있음), 정가는 윗줄로 */
.card-img .sale-tag { display: none; }
.card-body .price { flex-wrap: wrap; row-gap: 0; }
.card-body .price s { flex-basis: 100%; font-size: 14px; line-height: 1.3; }
.card-body .price em { align-self: center; }
.reading .reading-icon { color: #fff; }

/* 문단 줄바꿈: PC 에서는 문장 단위로 끊고, 좁은 화면에서는 자연스럽게 흐르게 한다 */
.creed-lead { max-width: 760px; text-wrap: balance; }
@media (max-width: 900px) { .br-pc { display: none; } .creed-lead { text-wrap: pretty; } }

/* ── 본문 글꼴 Pretendard (2026-10-22, 사주 사이트 전수조사 근거: 본문 고딕 + 제목 명조가 다수) ── */
:root { --sans: 'Pretendard Variable', Pretendard, 'Noto Sans KR', system-ui, sans-serif; }
body { font-family: var(--sans); }
.hero-side, .hero-side p, .panel-text > p, .saju-lead, .saju-note, .pillars p, .section-sub, .lore-lead, .pd-lead,
.st > p, .expert p, .creed-lead, .facts dd, .chapters li {
  font-family: var(--sans); font-weight: 400; letter-spacing: -.01em; color: #4a3832;
}
.hero-side, .hero-side p { font-size: 18px; line-height: 1.8; }
.panel-text > p, .saju-lead, .saju-note, .creed-lead, .st > p, .pd-lead, .lore-lead { font-size: 17.5px; line-height: 1.8; }
.creed-lead + .creed-lead { font-weight: 600; color: #45231f; }
.pillars p { font-size: 15px; line-height: 1.65; }
@media (max-width: 620px) {
  .hero-side, .hero-side p { font-size: 16.5px; }
  .panel-text > p, .saju-lead, .saju-note, .creed-lead, .st > p, .pd-lead, .lore-lead { font-size: 16px; }
}

/* "다릅니다" 세 칸: 번호·제목·선·본문이 세 칸 모두 같은 높이에 오도록 맞춘다 */
.creed-list li { display: flex; flex-direction: column; align-items: center; padding: 40px 30px 38px; }
.creed-list b { margin-top: 20px; font-size: 21px; line-height: 1.5; min-height: 3em; display: flex; flex-direction: column; justify-content: center; }
.creed-list b::after { margin: 16px auto 0; width: 24px; }
.creed-list span { margin-top: 16px; font-size: 16px; line-height: 1.75; text-wrap: balance; }
@media (max-width: 900px) {
  .creed-list li { padding: 28px 14px 26px; }
  .creed-list b { font-size: 17.5px; }
  .creed-list span { font-size: 14.5px; }
}
@media (max-width: 620px) {
  .creed-list b { min-height: 0; }
}

/* 상품 카드: 소개 글 줄 수가 달라도 가격·분량 줄이 같은 높이에 오도록 아래로 붙인다 */
.card-body .price { margin-top: auto; padding-top: 14px; }
.card-body .card-lead { min-height: 0; margin-bottom: 4px; }

/* ── 줄바꿈 정리 (2026-10-22): 마지막 줄에 한두 단어만 남지 않게 ── */
p, li, dd, td, th, small, summary, .card-lead, .hint, .worries span, .whyus li span, .benefits span, .steps p,
.points p, .guarantee-steps span, .assure span, .reading p, .basis-list p, .lore-lead, .guarantee-note { text-wrap: pretty; }
h1, h2, h3, .card-name, .points b, .basis-list b, .guarantee-steps b, .whyus li strong, .worries b { text-wrap: balance; }

/* 환불 단계 세 칸: 번호를 제목 줄 왼쪽에 두고 설명은 칸 전체 폭을 쓴다 → 제목 한 줄, 설명 두 줄로 고르게 */
.guarantee-steps li { padding: 18px 18px 18px; }
.guarantee-steps li::before { left: 18px; top: 18px; width: 26px; height: 26px; font-size: 13px; }
.guarantee-steps b { padding-left: 36px; line-height: 26px; white-space: nowrap; }
.guarantee-steps span { margin-top: 10px; font-size: 14px; line-height: 1.65; }
/* 상품 상세 네 칸 제목은 한 줄로 */
.points b { white-space: nowrap; }
/* 목차: 둘째 줄이 번호 아래로 파고들지 않게 번호와 글을 두 칸으로 */
.chapters li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.chapters span { margin-right: 0; }
/* 진행 단계: 800 폭(두 칸)에서도 네 칸 모두 두 줄로 */
@media (max-width: 900px) and (min-width: 621px) { .steps .br-pc { display: inline; } }

/* ── 가운데 정렬 글 (2026-10-22): 줄 길이를 고르게, 칸 폭은 제목 길이와 관계없이 똑같이 ── */
.saju-lead, .creed-lead, .section-sub, .reading p, .points p, .steps p, .pillars p, .creed-list span, .st h2, .band-title span { text-wrap: balance; }
.saju-lead { max-width: 820px; line-height: 1.85; }
.points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points b { white-space: normal; }
@media (max-width: 1020px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .points { grid-template-columns: 1fr; } }
/* 제목 아래 장식선: 가운데 빈 자리에 작은 별 문양 (브랜드 상세 이미지의 ─ ✦ ─ ) */
.orn, .deco::after, .panel-saju h2::after, .band-title::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0L7.2 4.8 12 6 7.2 7.2 6 12 4.8 7.2 0 6 4.8 4.8z' fill='%23b77c73'/%3E%3C/svg%3E") center / 12px 12px no-repeat,
    linear-gradient(var(--rose), var(--rose)) left center / calc(50% - 14px) 1px no-repeat,
    linear-gradient(var(--rose), var(--rose)) right center / calc(50% - 14px) 1px no-repeat;
  opacity: .85;
}

/* 주문서: 성별·양력/음력을 큰 버튼으로 고른다 (사주 사이트 주문서 조사: 9곳 중 5곳이 버튼형) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 46px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 10px; background: #fffaf7; font: 500 16px var(--sans); color: var(--ink); transition: background .15s, border-color .15s; }
.seg label:hover span { border-color: var(--rose); }
.seg input:checked + span { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.seg + small { display: block; margin-top: 8px; }
.row4.row3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .seg span { min-width: 0; padding: 0 14px; height: 44px; } }

/* 결제 방법 */
.pay-note { margin: 4px 0 0; padding: 12px 16px; background: #fffaf7; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; line-height: 1.7; color: var(--body); }
[data-pay-show][hidden] { display: none; }
