/* ===== 설치 후기 게시판 (reviews/, 2026-11-03) =====
   목록(reviews/index.html)과 글 화면(reviews/<글번호>/) 두 가지만 쓴다.
   값은 디자인보드 표(크기·굵기 400/600/700/800·모서리 4/8/12/알약·그림자 sh-card) 안에서만 골랐다. */
.rv-wrap{ max-width:960px; margin:0 auto; padding:120px 20px 64px; }
.rv-head{ text-align:center; margin-bottom:24px; }
.rv-head h1{ font-size:34px; font-weight:800; color:#0F172A; letter-spacing:-0.5px; line-height:1.3; }
.rv-head p{ font-size:16px; color:var(--gray); margin-top:12px; line-height:1.7; }

/* 상품 탭 · 브랜드 단추 */
.rv-tabs{ display:flex; gap:4px; border-bottom:1px solid var(--border); margin-bottom:16px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }
.rv-tabs::-webkit-scrollbar{ display:none; }
.rv-tabs button{ flex:0 0 auto; min-height:48px; padding:0 18px; background:none; border:0; border-bottom:3px solid transparent;
  font:inherit; font-size:16px; font-weight:600; color:var(--gray); cursor:pointer; margin-bottom:-1px; }
.rv-tabs button.on{ color:#1257C9; border-bottom-color:#1257C9; font-weight:800; }
.rv-brands{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.rv-brands[hidden]{ display:none; }
.rv-brands button{ min-height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--border); background:#fff;
  font:inherit; font-size:14px; font-weight:600; color:#0F172A; cursor:pointer; }
.rv-brands button.on{ background:#0F172A; border-color:#0F172A; color:#fff; }

.rv-sub{ font-size:20px; font-weight:800; color:#0F172A; margin:28px 0 14px; letter-spacing:-0.3px; }

/* 추천 후기 — 가로로 넘기는 카드 */
.rv-best-wrap[hidden]{ display:none; }
.rv-best-row{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; }
.rv-best{ display:flex; flex-direction:column; gap:4px; background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:12px; text-decoration:none; color:inherit; box-shadow:0 2px 16px rgba(15,42,90,.08); }
.rv-best img{ width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:8px; margin-bottom:6px; background:var(--light-gray); }
.rv-best strong{ font-size:15px; font-weight:700; color:#0F172A; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rv-best span{ font-size:13px; color:var(--gray); line-height:1.5; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* 전체 목록 — 왼쪽 사진 · 제목 · 두 줄 미리보기 */
.rv-rows{ list-style:none; margin:0; padding:0; border-top:1px solid var(--border); }
.rv-row[hidden]{ display:none; }
.rv-row a{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); text-decoration:none; color:inherit; }
.rv-row img{ flex:0 0 112px; width:112px; height:112px; object-fit:cover; border-radius:8px; background:var(--light-gray); }
.rv-row-body{ min-width:0; flex:1 1 auto; }
.rv-row h2{ font-size:16px; font-weight:700; color:#0F172A; line-height:1.45; letter-spacing:-0.3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-row a:hover h2{ color:#1257C9; }
.rv-row p{ font-size:14px; color:#3a4150; line-height:1.65; margin-top:6px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.rv-row-meta, .rv-byline{ display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; margin-top:8px; font-size:13px; color:var(--gray); }
.rv-row-meta span + span::before, .rv-byline span + span::before{ content:"·"; margin-right:10px; color:#c4c9d2; }
.rv-row-meta .rv-tag + span::before{ content:none; }
.rv-tag{ padding:2px 8px; border-radius:4px; background:#EAF1FC; color:#1257C9; font-weight:700; }
.rv-empty{ text-align:center; color:var(--gray); padding:40px 0; }
.rv-pages{ display:flex; justify-content:center; gap:6px; margin-top:24px; flex-wrap:wrap; }
.rv-pages button{ min-width:44px; min-height:44px; border-radius:8px; border:1px solid var(--border); background:#fff;
  font:inherit; font-size:15px; font-weight:600; color:#0F172A; cursor:pointer; }
.rv-pages button.on{ background:#1257C9; border-color:#1257C9; color:#fff; }

.rv-more{ text-align:center; margin-top:48px; }
.rv-more p{ font-size:15px; color:var(--gray); margin-bottom:12px; }
.rv-more a{ display:inline-flex; align-items:center; min-height:44px; padding:0 22px; margin:4px; border:2px solid #1257C9;
  border-radius:8px; color:#1257C9; font-size:15px; font-weight:700; text-decoration:none; background:#fff; }
.rv-wrap .doc-back{ display:block; width:max-content; margin:40px auto 0; color:var(--gray); font-size:14px; }

/* ----- 글 화면 ----- */
.rv-detail{ max-width:760px; }
.rv-crumb{ display:flex; flex-wrap:wrap; gap:6px; font-size:13px; color:var(--gray); margin-bottom:12px; }
.rv-crumb a{ color:var(--gray); text-decoration:none; }
.rv-crumb a:hover{ text-decoration:underline; }
.rv-h1{ word-break:keep-all; font-size:28px; font-weight:800; color:#0F172A; line-height:1.35; letter-spacing:-0.5px; }
.rv-byline{ padding-bottom:18px; border-bottom:1px solid var(--border); }
.rv-facts{ display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); gap:8px; margin:20px 0; padding:16px 18px;
  background:var(--light-gray); border-radius:12px; }
.rv-facts dt{ font-size:13px; color:var(--gray); }
.rv-facts dd{ margin:2px 0 0; font-size:15px; font-weight:700; color:#0F172A; line-height:1.45; }
.rv-gallery{ display:flex; flex-direction:column; gap:12px; margin-bottom:24px; }
.rv-gallery img{ width:100%; height:auto; max-height:640px; object-fit:contain; background:var(--light-gray); border-radius:12px; }
.rv-text p{ font-size:16px; line-height:1.85; color:#3a4150; }
.rv-origin{ margin-top:24px; padding-top:16px; border-top:1px solid var(--border); font-size:13px; color:var(--gray); line-height:1.7; }
.rv-origin a{ color:#1257C9; font-weight:700; }
.rv-cta{ margin:32px 0; padding:22px; border-radius:12px; background:#EAF1FC; text-align:center; }
.rv-cta p{ font-size:16px; font-weight:600; color:#0F172A; margin-bottom:12px; }
/* 신청 · 카톡 · 전화를 한 줄에 (11/3 사장님 「한 줄에 보이도록」 · 에이전트 10명 검토: 신청서가 부담인 손님용 카톡·전화) */
.rv-cta-row{ display:flex; justify-content:center; gap:8px; }
.rv-cta-row > *{ display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:8px;
  font:inherit; font-size:16px; font-weight:700; text-decoration:none; white-space:nowrap; cursor:pointer; box-sizing:border-box; }
.rv-cta-main{ border:0; background:#1257C9; color:#fff; }
.rv-kakao{ background:#FEE500; color:#191919; }
.rv-tel{ background:#fff; color:#0F172A; border:1px solid var(--border); }
.rv-short{ display:none; }
.rv-pn{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.rv-pn a{ display:block; white-space:normal; padding:14px 16px; border:1px solid var(--border); border-radius:8px; background:#fff;
  text-decoration:none; color:#0F172A; font-size:14px; font-weight:600; line-height:1.5; }
.rv-pn small{ display:block; font-size:12px; color:var(--gray); font-weight:600; margin-bottom:2px; }
.rv-pn .rv-next{ text-align:right; grid-column:2; }
.rv-related h2{ font-size:20px; font-weight:800; color:#0F172A; margin:36px 0 14px; }
.rv-minis{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
.rv-mini{ display:flex; flex-direction:column; gap:8px; text-decoration:none; color:#0F172A; font-size:14px; font-weight:600; line-height:1.45; }
.rv-mini img{ width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:8px; background:var(--light-gray); }

@media (max-width:768px){
  .rv-wrap{ padding:88px 16px 120px; }
  .rv-head h1{ font-size:28px; }
  .rv-head p{ font-size:15px; }
  .rv-tabs button{ padding:0 12px; font-size:15px; }
  .rv-best-row{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin:0 -16px; padding:0 16px 4px; }
  .rv-best{ flex:0 0 62%; scroll-snap-align:start; }
  .rv-row a{ gap:12px; padding:14px 0; }
  .rv-row img{ flex-basis:88px; width:88px; height:88px; }
  .rv-row h2{ font-size:15px; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .rv-row p{ font-size:13px; }
  .rv-h1{ font-size:22px; }
  .rv-facts{ grid-template-columns:1fr; gap:10px; }
  .rv-text p{ font-size:15px; }
  .rv-cta{ padding:18px 12px; }
  .rv-cta-row{ display:grid; grid-template-columns:1.35fr 1fr 1fr; gap:6px; }
  .rv-cta-row > *{ padding:0 4px; font-size:15px; min-height:50px; }
  .rv-long{ display:none; }
  .rv-short{ display:inline; }
  .rv-pn{ grid-template-columns:minmax(0, 1fr); }
  .rv-pn a{ min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .rv-pn .rv-next{ grid-column:auto; text-align:left; }
  .rv-minis{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
  .rv-mini{ font-size:13px; }
}
