@charset "utf-8";

/* =========================================================
 * 상품상세(view) 리뷰영역 리뉴얼 — compare.renew와 동일 컨셉
 * prod_view.css 뒤에 추가 로드되는 리뉴얼 전용 스타일
 * ========================================================= */

/* --- 서비스 만족도 조사 (전폭) --- */
.prd_satisfaction { margin-top: 15px; padding: 40px 80px; }
.prd_satisfaction .box_tit h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #131315; }
.prd_satisfaction .satisfaction_swiper { margin-top: 20px; overflow: hidden; }
.prd_satisfaction .satisfaction_swiper .swiper-wrapper { display: flex; } /* Swiper 미초기화 시 가로 배치 유지 */
.prd_satisfaction .satisfaction_swiper .swiper-slide { width: 300px; height: auto; flex-shrink: 0; }
.prd_satisfaction .card { height: 100%; padding: 16px 20px; background: #71717314; border-radius: 12px; box-sizing: border-box; margin-right: 12px; }
.prd_satisfaction .card .box_user { display: flex; align-items: center; gap: 8px; }
.prd_satisfaction .card .box_user .name { font-size: 14px; font-weight: 600; color: #131315; }
.prd_satisfaction .card .box_user .score { font-size: 13px; font-weight: 600; color: #131315; }
.prd_satisfaction .card .box_user .score::before { content: "\2605"; color: #FF6121; margin-right: 3px; }
.prd_satisfaction .card .comment {
    margin-top: 10px; font-size: 14px; line-height: 1.5; color: #2D2D2F;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- 리뷰영역 탭 (다크 세그먼트, 스크롤 시 고정) --- */
.review_tab { margin-bottom: 15px; }
.review_tab.fixed { position: fixed; top: 115px; z-index: 30; } /* 115px = 고정 헤더(약 94px) + 여백 20px */
.review_tab > ul { display: flex; padding: 4px; border-radius: 14px; background: #1e1e1ef2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.review_tab > ul > li { flex: 1; }
.review_tab > ul > li > a { display: block; padding: 14px 10px; text-align: center; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.65); border-radius: 10px; transition: color .2s, background .2s; }
.review_tab > ul > li > a .tab_count { font-style: normal; }
.review_tab > ul > li.on > a { color: #131315; font-weight: 700; background: #fff; box-shadow: 0 1px 2px -1px rgba(0,0,0,.3); }

/* --- 콘텐츠 재배치: 탭 → 리뷰 → 상세정보(멀티몰 포함) → FAQ --- */
.pv_tabbody { display: flex; flex-direction: column; margin-top: 15px; } /* 위 섹션(만족도 등) 그림자와 겹침 방지 */
.pv_tabbody .review_tab { order: 0; } /* 자리표시자 포함 기본 order 0 → 항상 최상단 */
.pv_tabbody #pv_review, .pv_tabbody #prodView_review { order: 1; } /* view.skin=pv_review, view_dt=prodView_review */
.pv_tabbody .pv_detail, .pv_tabbody .pv_intro { order: 2; } /* view_dt '다이렉트 렌탈이란?' 인트로도 리뷰 아래 */
.pv_tabbody .pv_faq { order: 3; }

/* --- 상세정보 접기/펼치기 (JS가 dtlImg_collapse 래핑, CSS가 선클램프해 플래시 방지) --- */
#pv_detail_sec .dtlImg_area { max-height: var(--dtl-clip, 1800px); overflow: hidden; }
#pv_detail_sec .dtlImg_collapse { position: relative; }
#pv_detail_sec .dtlImg_collapse.open .dtlImg_area { max-height: none; }
#pv_detail_sec .dtlImg_collapse .dtlImg_fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
#pv_detail_sec .dtlImg_collapse.open .dtlImg_fade { display: none; }
.btn_dtlImg_more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 16px; border: 1px solid rgba(113,113,115,.24); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 600; color: #131315; cursor: pointer; }
.btn_dtlImg_more .ico_arrow { width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid #131315; border-bottom: 2px solid #131315; transform: rotate(45deg); transition: transform .2s; }
.btn_dtlImg_more[aria-expanded="true"] .ico_arrow { margin-top: 4px; transform: rotate(-135deg); }

/* --- 카테고리 리뷰 요약(제목 카운트 + 별점/사진 회색 박스) --- */
.pv_review .box_tit .count { margin-left: 6px; color: #FF6121; font-weight: 800; font-style: normal; }
.pv_review .content_review .review_summary { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 20px; padding: 24px 32px; background: #71717314; border-radius: 16px; }
.pv_review .review_summary .avg_rating { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.pv_review .review_summary .avg_rating .stars i { font-style: normal; font-size: 26px; color: #d9d9db; letter-spacing: 2px; }
.pv_review .review_summary .avg_rating .stars i.on { color: #FF6121; }
.pv_review .review_summary .avg_rating .num { font-size: 28px; font-weight: 800; color: #131315; }
.pv_review .review_summary .group_preview { display: flex; gap: 8px; margin: 0; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.pv_review .review_summary .group_preview .box_img { flex: 0 1 96px; width: 96px; max-width: 96px; min-width: 0; height: auto; aspect-ratio: 1/1; border-radius: 8px; }

/* --- 리뷰 확장 시 서비스 만족도 동반 노출 (EDGE) — review.js(.more)·리뉴얼(.open) 모두 대응 --- */
#reviewList .item .box_txt .box_satisfaction { display: none; margin-top: 12px; }
#reviewList .item .box_txt .comment.open ~ .box_satisfaction,
#reviewList .item .box_txt .comment.more ~ .box_satisfaction { display: block; }
#reviewList .box_satisfaction dl { display: block; margin-top: 12px; border-top: 1px solid rgba(113,113,115,.16); padding-top: 12px; }
#reviewList .box_satisfaction dt { font-size: 14px; font-weight: 700; color: #131315; margin-bottom: 4px; }
#reviewList .box_satisfaction dd { font-size: 14px; line-height: 1.5; color: #2D2D2F; }
