/* 솔재 사과농원 — N29 상세페이지형: 860px 좁은 단에 설득 블록을 쌓고 하단 고정 주문 바 */
:root {
  --outer: #e9e3d8;
  --paper: #fffcf6;
  --ink: #241d18;
  --sub: #6b6158;
  --line: #e2d9cb;
  --red: #b3261e;
  --red-dark: #8a1b15;
  --leaf: #2e4a2b;
  --cream: #f6ead0;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Gothic A1', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --hand: 'Nanum Brush Script', cursive;
  --col: 860px;
  --pad: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--outer); color: var(--ink);
  font: 400 16px/1.8 var(--sans); word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }

/* 고정 헤더 — 단 폭에 맞춘 얇은 띠 */
.top { position: sticky; top: 0; z-index: 50; background: rgba(233,227,216,.92); backdrop-filter: blur(6px); }
.top__in { max-width: var(--col); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px var(--pad); background: var(--paper); border-bottom: 1px solid var(--line); }
.top__logo { font: 900 18px/1 var(--serif); text-decoration: none; color: var(--leaf); }
.top__tel { font: 700 14px/1 var(--sans); text-decoration: none; color: var(--red); white-space: nowrap; }

/* 좁은 가운데 단 */
.page { max-width: var(--col); margin: 0 auto; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.page > section { padding: 72px var(--pad); }
.b-tag { margin-bottom: 14px; font: 800 12.5px/1 var(--sans); letter-spacing: .14em; color: var(--red); }

/* 1. 큰 문구 */
.b-hero { padding-top: 56px !important; padding-bottom: 0 !important; text-align: center; }
.b-hero__kicker { display: inline-block; padding: 6px 14px; border: 1px solid var(--leaf); border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--leaf); }
.b-hero__h { margin: 22px 0 16px; font-size: clamp(36px, 7.4vw, 62px); line-height: 1.2; color: var(--ink); }
.b-hero__sub { font-size: 16px; color: var(--sub); }
.b-hero__sub b { color: var(--red); white-space: nowrap; }
.b-hero__fig { margin: 36px calc(var(--pad) * -1) 0; }
.b-hero__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.b-hero__facts { list-style: none; margin: 0 calc(var(--pad) * -1); padding: 0; display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; background: var(--leaf); color: #f3efe4; text-align: left; }
.b-hero__facts li { padding: 16px 20px; font-size: 14.5px; line-height: 1.5; border-left: 1px solid rgba(255,255,255,.14); }
.b-hero__facts li:first-child { border-left: 0; }
.b-hero__facts span { display: block; margin-bottom: 3px; font-size: 12px; opacity: .7; }
.b-hero__facts a { color: #fff; font-weight: 700; }

/* 소식 */
.b-news { padding-top: 40px !important; padding-bottom: 40px !important; display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.b-news__h { font-size: 17px; color: var(--leaf); padding-top: 2px; }
.b-news__list { list-style: none; margin: 0; padding: 0; }
.b-news__list li { display: flex; gap: 14px; padding: 6px 0; font-size: 15px; line-height: 1.6; }
.b-news__list time { flex: none; width: 44px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }

/* 2. 문제 제기 — 크림 색면 */
.b-ask { background: var(--cream); text-align: center; }
.b-ask__tag { margin-bottom: 14px; font: 800 12.5px/1 var(--sans); letter-spacing: .14em; color: var(--red); }
.b-ask__h { font-size: clamp(28px, 5.4vw, 42px); }
.b-ask__p { max-width: 520px; margin: 20px auto 36px; color: var(--sub); }
.b-ask__vs { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; text-align: left; }
.b-ask__vs div { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: #fff; border-radius: 6px; }
.b-ask__vs b { font-size: 14px; color: var(--sub); }
.b-ask__vs span { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.b-ask__vs .is-us { background: var(--red); color: #fff; }
.b-ask__vs .is-us b { color: rgba(255,255,255,.8); }

/* 3. 만든 이야기 — 왼쪽 정렬 */
.b-story__h { font-size: clamp(26px, 4.6vw, 36px); margin-bottom: 26px; }
.b-story__body { display: grid; gap: 14px; max-width: 620px; font-size: 16.5px; }
.b-story__sign { margin-top: 8px; font: 400 26px/1.2 var(--hand); color: var(--leaf); }

/* 4. 공정 사진 */
.b-process { background: #f4efe6; }
.b-process__h { font-size: clamp(24px, 4.2vw, 34px); margin-bottom: 30px; }
.b-process__fig { margin: 0 0 28px; }
.b-process__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.b-process__fig figcaption { margin-top: 12px; font-size: 15.5px; line-height: 1.65; }
.b-process b, .b-process__fig b { display: inline-block; margin-right: 8px; font: 900 15px/1 var(--serif); color: var(--red); }
.b-process__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.b-process__steps li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }

/* 5. 수치 — 진녹 색면 큰 숫자 */
.b-nums { background: var(--leaf); color: #f3efe4; }
.b-nums__h { font-size: clamp(22px, 3.8vw, 30px); text-align: center; margin-bottom: 36px; color: #fff; }
.b-nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.b-nums__grid div { padding: 6px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.18); }
.b-nums__grid div:first-child { border-left: 0; }
.b-nums__grid dt { font-size: 13.5px; opacity: .78; line-height: 1.4; min-height: 2.8em; }
.b-nums__grid dd { margin: 6px 0 0; font: 900 44px/1 var(--serif); color: #fff; }
.b-nums__grid small { margin-left: 3px; font: 700 14px/1 var(--sans); opacity: .8; }
.b-nums__note { margin-top: 32px; font-size: 13px; line-height: 1.6; opacity: .72; text-align: center; }

/* 6. 사용 장면 */
.b-scene { padding: 0 !important; }
.b-scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.b-scene__txt { padding: 48px var(--pad) 64px; }
.b-scene__h { font-size: clamp(26px, 4.6vw, 36px); margin-bottom: 20px; }
.b-scene ul { margin: 0; padding: 0; list-style: none; }
.b-scene li { position: relative; padding: 8px 0 8px 22px; font-size: 16px; }
.b-scene li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.b-scene__hand { margin-top: 22px; font: 400 28px/1.25 var(--hand); color: var(--red-dark); transform: rotate(-2deg); transform-origin: left; }

/* 7. 비교표 */
.b-table { border-top: 6px solid var(--red); }
.b-table__h { font-size: clamp(26px, 4.6vw, 36px); margin-bottom: 26px; }
.b-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.b-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.b-table th, .b-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.b-table thead th { font: 800 15px/1.3 var(--sans); background: #f1ebe0; }
.b-table thead th:first-child, .b-table tbody th { width: 116px; }
.b-table tbody th { text-align: left; font-weight: 700; color: var(--sub); font-size: 14px; white-space: nowrap; }
.b-table .is-pick { background: #fbeee9; }
.b-table thead .is-pick { background: var(--red); color: #fff; }
.b-table__price td { font: 900 18px/1.2 var(--serif); }
.b-table__price .is-pick { color: var(--red); }
.b-table thead small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 700; opacity: .85; }
.b-table__order td { padding: 12px 8px; }
.b-table__order a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.b-table__order .is-pick a { background: var(--red); border-color: var(--red); color: #fff; }
.b-table__note { margin-top: 14px; font-size: 13.5px; color: var(--sub); line-height: 1.65; }
.b-table__h3 { margin: 48px 0 16px; font-size: 20px; }
.b-cal { list-style: none; margin: 0; padding: 0; }
.b-cal li { display: grid; grid-template-columns: 52px 1fr 200px; align-items: center; gap: 12px; padding: 10px 0; }
.b-cal b { font-size: 15px; }
.b-cal em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--sub); text-align: right; }
.b-cal__bar { position: relative; display: block; height: 30px; background: repeating-linear-gradient(90deg, #efe7d9 0 calc(100% / 12 - 2px), var(--paper) 0 calc(100% / 12)); border-radius: 3px; }
.b-cal__bar::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc((var(--s) - 1) / 12 * 100%); width: calc((var(--e) - var(--s) + 1) / 12 * 100%); background: #c9bfae; border-radius: 3px; }
.b-cal__bar.is-on::before { background: var(--red); }
.b-cal__bar.is-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(2 / 12 * 100%); background: var(--red); opacity: .55; border-radius: 3px; }
.b-cal li:has(.is-on) em { color: var(--red); }
.b-cal__axis { display: grid; grid-template-columns: repeat(12, 1fr); margin-left: 64px; margin-right: 212px; font-size: 11.5px; color: var(--sub); text-align: center; }

/* 8. FAQ */
.b-faq { background: #f4efe6; }
.b-faq__h { font-size: clamp(24px, 4.2vw, 32px); margin-bottom: 22px; }
.b-faq details { border-top: 1px solid var(--line); }
.b-faq details:last-child { border-bottom: 1px solid var(--line); }
.b-faq summary { position: relative; padding: 18px 36px 18px 0; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::before { content: 'Q'; margin-right: 10px; font: 900 17px/1 var(--serif); color: var(--red); }
.b-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--sub); }
.b-faq details[open] summary::after { content: '−'; }
.b-faq details p { padding: 0 0 20px 26px; color: var(--sub); font-size: 15.5px; }

/* 오시는 길 */
.b-info__h { font-size: clamp(24px, 4.2vw, 32px); margin-bottom: 22px; }
.b-info__dl { margin: 0; }
.b-info__dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.b-info__dl dt { font-weight: 700; color: var(--sub); font-size: 14.5px; }
.b-info__dl dd { margin: 0; font-size: 15.5px; line-height: 1.65; }
.b-info__dl a { color: var(--red); font-weight: 700; }
.b-info__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 4px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.foot { max-width: var(--col); margin: 0 auto; padding: 28px var(--pad) 120px; font-size: 12.5px; line-height: 1.7; color: var(--sub); }

/* 하단 고정 주문 바 — 상세페이지의 구매 바처럼 단 폭에 맞춤 */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); pointer-events: none; }
.buybar__in { pointer-events: auto; max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--paper); border-top: 2px solid var(--ink); box-shadow: 0 -6px 20px rgba(36,29,24,.12); }
.buybar__info { flex: 1; min-width: 0; padding-left: 8px; line-height: 1.35; }
.buybar__info b { display: block; font-size: 15px; color: var(--red); }
.buybar__info span { font-size: 12.5px; color: var(--sub); }
.buybar__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 4px; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.buybar__btn--map { border: 1.5px solid var(--line); }
.buybar__btn--sub { background: var(--cream); color: var(--ink); }
.buybar__btn--main { background: var(--red); color: #fff; padding: 0 26px; }
.buybar__btn--main:hover { background: var(--red-dark); }

@media (max-width: 720px) {
  .page > section { padding-top: 56px; padding-bottom: 56px; }
  .b-hero { padding-top: 40px !important; }
  .b-hero__facts { grid-template-columns: 1fr; }
  .b-hero__facts li { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 12px 20px; display: flex; gap: 12px; align-items: baseline; }
  .b-hero__facts li:first-child { border-top: 0; }
  .b-hero__facts span { flex: none; width: 92px; margin: 0; }
  .b-news { grid-template-columns: 1fr; gap: 6px; }
  .b-nums__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .b-nums__grid div:nth-child(3) { border-left: 0; }
  .b-nums__grid dd { font-size: 38px; }
  .b-info__dl div { grid-template-columns: 1fr; gap: 2px; }
  .b-table thead th:first-child, .b-table tbody th { position: sticky; left: 0; z-index: 1; width: 92px; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
  .b-table thead th:first-child { background: #f1ebe0; }
  .b-cal li { grid-template-columns: 44px 1fr; row-gap: 4px; }
  .b-cal em { grid-column: 2; text-align: left; }
  .b-cal__axis { margin-left: 56px; margin-right: 0; font-size: 10.5px; }
  .buybar__in { padding: 8px 10px; gap: 6px; }
  .buybar__info { display: none; }
  .buybar__btn { flex: 1; padding: 0 8px; font-size: 14.5px; }
  .buybar__btn--main { flex: 1.4; padding: 0 8px; }
}
