/* 제품 상세 (v2, 2026-10-28) — boards/info_sch_view.php. 게시판 페이지라 옛 CSS(부트스트랩)와 같이 있으므로 값을 여기서 다시 정한다. 이름은 pv-
   위에서부터: 제품 요약(사진 | 이름·꼬리표·사양 글·버튼) → 따라다니는 차례 → 소개 → 상세 사양 → 악세사리 → 설치 사례 → 이전·다음 → 문의 띠 */
.wm2-pv { background: #fff; font-size: 16px; }
.wm2-pv img { max-width: 100%; height: auto; }
.pv-admin { display: flex; justify-content: flex-end; gap: 6px; padding-top: 14px; padding-bottom: 0; }
.pv-admin a { padding: 6px 12px; border-radius: 8px; background: var(--wm2-light); font-size: 13.5px; font-weight: 600; color: var(--wm2-ink2) !important; }

/* ── 제품 요약 ── */
.pv-top { padding: clamp(36px, 4vw, 56px) 0 clamp(44px, 5vw, 72px); }
.pv-top-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.pv-gal { position: sticky; top: calc(var(--wm2-hd) + var(--wm2-st) + 24px); }
.pv-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; max-height: 620px; width: 100%; border-radius: 24px; background: #F4F6F8; overflow: hidden; }
.pv-main img { max-width: 82%; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s var(--wm2-ease); }
.pv-main img.is-swap { opacity: 0; }
.pv-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pv-thumbs button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 12px; background: #F4F6F8; border: 2px solid transparent; transition: border-color .2s var(--wm2-ease); }
.pv-thumbs button img { max-width: 80%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.pv-thumbs button:hover { border-color: #C8D1DA; }
.pv-thumbs button.on { border-color: var(--wm2-blue); }
.pv-thumbs button:focus-visible { outline: 2px solid var(--wm2-acc); outline-offset: 2px; }
.pv-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--wm2-ink3) !important; }
.pv-back .wm2-ar { transform: scaleX(-1); }
.pv-back:hover { color: var(--wm2-ink) !important; }
.pv-back:hover .wm2-ar { transform: scaleX(-1) translateX(4px); }
.pv-model { margin-top: 18px !important; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; color: var(--wm2-ink); }
.pv-name { margin-top: 10px !important; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; font-weight: 600; color: var(--wm2-ink2); }
.pv-chips { margin-top: 20px; }
.pv-lines { display: grid; gap: 0; margin-top: 26px !important; border-top: 1px solid var(--wm2-line); }
.pv-lines li { position: relative; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--wm2-line); font-size: 15.5px; line-height: 1.6; color: var(--wm2-ink); }
.pv-lines li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 5px; height: 5px; border-radius: 50%; background: var(--wm2-blue); }
.pv-need { margin-top: 18px !important; padding: 14px 16px; border-radius: 12px; background: #F4F8FC; font-size: 14.5px; line-height: 1.7; color: var(--wm2-ink2); }
.pv-need b { display: block; margin-bottom: 2px; font-size: 13.5px; color: var(--wm2-blue); }
.pv-need a { color: var(--wm2-blue) !important; font-weight: 650; text-decoration: underline !important; text-underline-offset: 3px; }
.pv-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pv-tel { margin-top: 14px !important; font-size: 14.5px; color: var(--wm2-ink3); }
.pv-tel a { margin-left: 6px; font-weight: 700; color: var(--wm2-ink) !important; }

/* ── 차례 ── */
.pv-nav { position: sticky; z-index: 20; top: calc(var(--wm2-hd) + var(--wm2-st)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--wm2-line); border-bottom: 1px solid var(--wm2-line); }
.pv-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pv-nav ul::-webkit-scrollbar { display: none; }
.pv-nav a { position: relative; display: block; padding: 17px 18px; font-size: 15.5px; font-weight: 650; color: var(--wm2-ink3) !important; white-space: nowrap; }
.pv-nav li:first-child a { padding-left: 0; }
.pv-nav a::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--wm2-blue); transform: scaleX(0); transition: transform .3s var(--wm2-ease); }
.pv-nav li:first-child a::after { left: 0; }
.pv-nav a.on { color: var(--wm2-ink) !important; }
.pv-nav a.on::after { transform: none; }

/* ── 구역 ── */
.pv-sec { padding: clamp(56px, 6vw, 88px) 0; scroll-margin-top: calc(var(--wm2-hd) + var(--wm2-st) + 56px); }
.pv-sec.is-light { background: var(--wm2-light); }
.pv-h { margin-bottom: 28px !important; font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: var(--wm2-ink); }
.pv-h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.pv-h-row .pv-h { margin-bottom: 0 !important; }
.pv-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--wm2-blue) !important; white-space: nowrap; }
.pv-sum { max-width: 46em; margin-bottom: 32px !important; font-size: 18px; line-height: 1.75; color: var(--wm2-ink2); }

/* 옛 편집기 본문: 글꼴·색·크기를 걷어 낸 뒤 새 틀 글꼴로 */
.pv-legacy { max-width: 1040px; margin: 0 auto; text-align: center; font-size: 16.5px; line-height: 1.75; color: var(--wm2-ink2); }
.pv-legacy p { margin: 0 0 6px !important; }
.pv-legacy b, .pv-legacy strong { font-weight: 650; color: var(--wm2-ink); }
.pv-legacy > p:first-child { margin-bottom: 14px !important; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -0.02em; }
.pv-legacy > p:first-child b { font-weight: 700; }
.pv-legacy i { font-style: normal; color: var(--wm2-blue); }
.pv-legacy img { display: block; margin: 12px auto; border-radius: 12px; }
.pv-legacy table { width: 100%; margin: 28px 0; border-collapse: separate; border-spacing: 14px 0; table-layout: fixed; }
.pv-legacy td { padding: 18px 16px; vertical-align: top; text-align: center; background: var(--wm2-light); }
.pv-legacy tr:first-child td { border-radius: 16px 16px 0 0; padding-bottom: 4px; }
.pv-legacy tr:last-child td { border-radius: 0 0 16px 16px; padding-top: 4px; }
.pv-legacy tr:only-child td { border-radius: 16px; }
.pv-legacy td img { margin: 0 auto; max-height: 220px; width: auto; mix-blend-mode: multiply; }

/* 상세 사양 */
.pv-spec { padding: 8px 32px 20px; border-radius: var(--wm2-r); background: #fff; }
.pv-spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; }
.pv-spec dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--wm2-line); font-size: 15.5px; line-height: 1.6; }
.pv-spec dt { font-weight: 600; color: var(--wm2-ink3); }
.pv-spec dd { margin: 0; color: var(--wm2-ink); }
.pv-spec-note { margin-top: 16px !important; font-size: 13.5px; color: var(--wm2-ink3); }
.pv-spec-note a { color: var(--wm2-blue) !important; font-weight: 650; }
.pv-detail { margin-top: 16px; border-radius: var(--wm2-r); background: #fff; }
.pv-detail > summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; color: var(--wm2-ink); }
.pv-detail > summary::-webkit-details-marker { display: none; }
.pv-detail > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--wm2-ink2); border-bottom: 2px solid var(--wm2-ink2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--wm2-ease); }
.pv-detail[open] > summary::after { transform: rotate(225deg) translateY(-3px); }
.pv-detail-in { padding: 0 28px 28px; text-align: center; }
.pv-detail-in img { border-radius: 12px; }

/* 악세사리 */
.pv-acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pv-acc-it { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border-radius: var(--wm2-r); border: 1px solid var(--wm2-line); }
.pv-acc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 12px; background: #F4F6F8; overflow: hidden; }
.pv-acc-img img { max-width: 84%; max-height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.pv-acc-body b { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--wm2-ink); }
.pv-acc-body small { display: block; margin-top: 3px; font-size: 13px; color: var(--wm2-blue); font-weight: 600; }
.pv-acc-s { display: grid; gap: 2px; margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--wm2-ink2); }

/* 설치 사례 — 카드는 find.css(cf-)와 같은 모양 */
.wm2-pv .cf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wm2-pv .cf-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--wm2-r); background: #fff; color: var(--wm2-ink) !important; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 32, 43, .06); transition: transform .3s var(--wm2-ease), box-shadow .3s var(--wm2-ease); }
.wm2-pv .cf-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(20, 32, 43, .38); }
.wm2-pv .cf-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #E7ECF1; overflow: hidden; }
.wm2-pv .cf-img img { width: 100%; height: 100%; object-fit: cover; }
.wm2-pv .cf-cat { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(14, 21, 28, .62); font-size: 12.5px; font-weight: 650; color: #fff; }
.wm2-pv .cf-body { display: block; padding: 14px 16px 18px; }
.wm2-pv .cf-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.pv-none { padding: 32px; border-radius: var(--wm2-r); background: #fff; font-size: 16px; line-height: 1.7; color: var(--wm2-ink2); text-align: center; }

/* 이전·다음 */
.pv-pn { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.pv-pn a { color: var(--wm2-ink) !important; }
.pv-pn small { display: block; font-size: 13px; color: var(--wm2-ink3); }
.pv-pn b { font-size: 16.5px; font-weight: 700; }
.pv-pn .is-next { text-align: right; }
.pv-pn .is-list { padding: 10px 20px; border-radius: 10px; border: 1px solid #C8D1DA; font-size: 14.5px; font-weight: 650; }

@media (max-width: 1080px) {
  .pv-top-in { grid-template-columns: minmax(0, 1fr); }
  .pv-gal { position: static; max-width: 620px; }
  .wm2-pv .cf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv-spec dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pv-thumbs button { width: 60px; height: 60px; }
  .pv-act .wm2-btn { flex: 1; justify-content: center; }
  .pv-legacy table, .pv-legacy tbody, .pv-legacy tr, .pv-legacy td { display: block; width: auto !important; }
  .pv-legacy table { margin: 20px 0; }
  .pv-legacy td { border-radius: 14px !important; padding: 16px !important; margin-bottom: 10px; }
  .pv-spec { padding: 4px 18px 16px; }
  .pv-spec dl > div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; font-size: 14.5px; }
  .pv-acc { grid-template-columns: minmax(0, 1fr); }
  .pv-acc-it { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .wm2-pv .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pv-pn b { font-size: 14.5px; }
}
