/* ==================================
   클린콜 2.0 뷰 스타일
================================== */

/* layout.css 공통 래퍼 사용*/
/* ===============================
   CleanCall 버튼 시스템
================================= */

.cc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  padding:10px 18px;

  font-size:13px;
  font-weight:700;

  border-radius:8px;
  border:1px solid transparent;

  cursor:pointer;
  text-decoration:none;

  transition:all .15s ease;
  white-space:nowrap;
}

/* 큰 버튼 */
.cc-btn-lg{
  padding:14px 32px;
  font-size:14px;
  border-radius:12px;
}

/* 작은 버튼 (테이블용) */
.cc-btn-sm{
  padding:6px 12px;
  font-size:12px;
  border-radius:6px;
}


/* ===============================
   의미 기반
================================= */

.cc-btn-edit{
  background:#2563eb;
  color:#fff;
}
.cc-btn-edit:hover{
  background:#1e4fd8;
}

.cc-btn-delete{
  background:#ef4444;
  color:#fff;
}
.cc-btn-delete:hover{
  background:#dc2626;
}

.cc-btn-detail{
  background:#f3f4f6;
  color:#374151;
  border:1px solid #e5e7eb;
}
.cc-btn-detail:hover{
  background:#e5e7eb;
}

.cc-btn-accept{
  background:#111827;
  color:#fff;
}
.cc-btn-accept:hover{
  background:#1f2937;
}

.cc-btn-sub{
  background:#f9fafb;
  color:#374151;
  border:1px solid #e5e7eb;
}
.cc-btn-sub:hover{
  background:#f3f4f6;
}

.cc-btn-call{
  background:#2563eb;
  color:#fff;
}

.cc-btn-call:hover{
  background:#1e4fd8;
}

.cc-btn-lead{
  background:#111827;
  color:#fff;
}

.cc-btn-lead:hover{
  background:#1f2937;
}

/* =========================
   cc-card-wide (대시보드 공통)
========================= */
.cc-card-wide {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;

  border: 1px solid #e5e7eb;   /* 🔥 핵심 추가 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 🔥 sticky 죽는거 방지 */
.cc-page,
.cc-container,
.partner-view {
  overflow: visible !important;
}

/* =========================
   파트너 뷰 탭 
========================= */
.partner-tabs {
  position: sticky;
  top: 90px; 
  z-index: 20;

  display: flex;
  gap: 24px;

  padding: 18px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;

  overflow-x: auto;
  white-space: nowrap;
 
 
}

/* 버튼 기본 */
.partner-tabs button {
  position: relative;

  font-size: 15px;
  font-weight: 500;
  color: #6b7280;

  background: none;
  border: none;
  cursor: pointer;

  padding: 8px 2px;
}

/* hover */
.partner-tabs button:hover {
  color: #111827;
}

/* 🔥 활성화 (핵심) */
.partner-tabs button.active {
  color: #111827;
  font-weight: 600;
}

/* 🔥 밑줄 애니메이션 */
.partner-tabs button.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;

  width: 100%;
  height: 2px;
  background: #111827;
}

/* 모바일 */
@media (max-width:768px){
  .partner-tabs {
    position: sticky;   /* 🔥 추가 */
    top: 76px;          /* 🔥 핵심 */
    z-index: 50;        /* 🔥 추가 */

    gap: 16px;
    padding: 18px 16px;

    background:#fff;    /* 🔥 추가 (겹침 방지) */
  }

  .partner-tabs button {
    font-size: 15px;
  }
}


/* =========================
   업체 정보 카드형 (최종 완성)
========================= */

.info-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

/* 카드 */
.info-item{
  background:#fafafa;          /* 🔥 핵심 */
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:16px;

  display:flex;
  flex-direction:column;
  justify-content:center;

  min-height:72px;
}

.info-item:hover{
  border-color:#d1d5db;
  background:#fff;
}

/* 라벨 */
.info-label{
  font-size:12px;
  color:#9ca3af;
  margin-bottom:4px;
}

/* 값 */
.info-value{
  font-size:15px;
  font-weight:700;
  color:#111827;
  word-break:break-all;
}

/* =========================
   모바일
========================= */

@media (max-width:768px){

  .info-grid{
    grid-template-columns:1fr;
  }

}


/* =========================
   서비스 카드 (최종 완성)
========================= */

.service-box{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* 카드 */
.service-item{
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:18px;
  background:#fff;

  display:flex;
  flex-direction:column;
  gap:10px;

  transition:all .15s ease;
  cursor:pointer;
}

.service-item:hover{
  border-color:#2563eb;
  box-shadow:0 6px 16px rgba(0,0,0,0.06);
}

/* 상단 */
.service-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

/* 제목 */
.service-title{
  font-size:16px;
  font-weight:800;
  color:#111827;
}

/* 가격 */
.service-price{
  text-align:right;
}

/* 설명 */
.service-desc{
  font-size:14px;
  color:#6b7280;
  margin-top:2px;
}

/* 🔥 상세 + 버튼 영역 (핵심) */
.service-bottom{
  display:block;   /* 🔥 flex → block 변경 */
}

/* 상세보기 버튼 */
.service-toggle{
  display:block;         /* 🔥 한 줄로 */
  margin-top:6px;

  font-size:12px;
  color:#9ca3af;         /* 🔥 연하게 */
  text-align:left;

  background:none;
  border:none;
  padding:0;

  cursor:pointer;
}

/* 상세 내용 */
.service-detail{
  max-height:0;
  overflow:hidden;
  transition:all .25s ease;
}

.service-detail.open{
  max-height:500px;
}

/* =========================
   가격 UI
========================= */

.price-box{
  text-align:right;
}

.price-top{
  font-size:12px;
  color:#9ca3af;
}

.price-old{
  text-decoration:line-through;
  margin-right:6px;
}

.price-discount{
  color:#ef4444;
  font-weight:700;
}

.price-main{
  font-size:20px;
  font-weight:900;
  color:#2563eb;
}

.price-unit{
  font-size:12px;
  color:#6b7280;
}


/* =========================
   서비스 안내
========================= */

.service-info-box{
  background:#fafafa;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:18px;
}

/* 내용 */
.service-info-content{
  font-size:15px;
  line-height:1.7;
  color:#374151;
}


/* 줄 간격 */
.service-info-content br{
  margin-bottom:8px;
}

/* 빈 상태 */
.empty-text{
  font-size:14px;
  color:#9ca3af;
}



/* ===============================
   페이징
================================= */

.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 0 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  transition: all .2s;
}

.pagination a:hover {
  background: #f3f4f6;
}

.pagination a.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ===============================
   빈 데이터 카드
================================= */

.empty-card {
  background: #fff;
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
  margin-top: 20px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 14px;
  color: #6b7280;
}

/* 노출 설정 버튼 */
.partner-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
/* btn 전체에 적용 */
.partner-actions .cc-btn {
  flex: 1;
  text-align: center;
}

@media (max-width:768px){

  .partner-actions{
    flex-direction:column;
  }

  .partner-actions .cc-btn{
    width:100%;           
  }

}



/* ===============================
   페이지 타이틀
================================= */
.partner-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

@media (max-width:768px){

  .partner-header{
    margin-top:12px;   /* 🔥 기본 추천 */
  }

}

.partner-title {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 6px;
  color: #111827;
  letter-spacing: -0.3px;
}

.partner-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

.partner-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #111827;
}

.partner-greeting{
    font-size:13px;
    color:#9ca3af;
    margin-top:4px;
}

/* ===============================
   상단 카드 
================================= */
/* 카드 내부 설명 */
.card-desc{
    font-size:12px;
    color:#6b7280;
    margin-top:6px;
}

.card-desc.white{
    color:rgba(255,255,255,0.8);
}

.card{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding:22px;   /* 🔥 PC 기준 유지 */

  display:flex;
  flex-direction:column;
  justify-content:center;

  cursor:pointer;
  transition:all .2s;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* 수락대기 강조 */
.card.alert-red{
    border:2px solid #ef4444;
    background:#fef2f2;
}


/* ===============================
   예상 수수료 강조 카드
================================= */

.card.highlight {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: none;
  color: #fff;
}

.card.highlight .card-title {
  color: rgba(255, 255, 255, 0.85);
}

.card.highlight .card-value {
  color: #fff;
}

.card.highlight small {
  color: rgba(255, 255, 255, 0.8);
}

/* =============================================================== */ 

/* 지역 div */
.region-select-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}


/* profile 저장 버튼 */
/*
.partner-form-actions{
    margin-top:25px;
    display:flex;
    justify-content:flex-end;
}
*/

.form-help {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  text-align: left;
}


/* 파트너 프로필 메뉴 */

.profile-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  overflow-x: auto;
}

.profile-tabs a {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  background: #f3f4f6;
}

.profile-tabs a:hover {
  background: #e5e7eb;
}

.profile-tabs a.active {
  background: #2563eb;
  color: #fff;
}


.text-counter {
  margin-top: 6px;
  font-size: 12px;
  color: #888;
  text-align: right;
}

/* 대표 버튼 */

.btn-main-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 6px;
  transition: all .2s;
}

.btn-main-photo:hover {
  background: #1e4fd8;
}

/* 삭제 버튼 */

.btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  border: none;
}

.btn-delete:hover {
  background: #dc2626;
}

.btn-delete:focus {
  outline: none;
  box-shadow: none;
}


/* ===============================
   업체 상세 레이아웃
================================= */

.partner-view {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.view-left {
  width: 70%;
  min-height: 1000px; /* 🔥 추가 */
}

.view-right {
  width: 30%;
  align-self: flex-start;  /* 🔥 추가 */
}


/* 우측 카드 */

.partner-side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;

  position: sticky;
  top: 120px;

  display:flex;           /* 🔥 추가 (핵심) */
  flex-direction:column;  /* 🔥 추가 */

  gap:16px;

}

.partner-side-card .cc-btn{
  width:100%;
  height:52px;            /* 🔥 50 → 52 추천 */
  display:flex;           /* 🔥 안정화 */
  align-items:center;
  justify-content:center;

  font-size:14px;
  font-weight:800;
  border-radius:12px;
}



.side-company {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.side-region {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.btn-call {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 10px;
  text-decoration: none;
}

.btn-lead {
  width: 100%;
  padding: 14px;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}


/* =========================
   포트폴리오 (최종)
========================= */

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

/* 이미지 */
.portfolio-thumb{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:10px;

  cursor:pointer;

  transition:transform .2s ease;   /* 🔥 all → transform */

  will-change:transform;           /* 🔥 추가 */
  backface-visibility:hidden;      /* 🔥 추가 */
}

/* 🔥 hover */
.portfolio-thumb:hover{
  transform:scale(1.02);   /* 🔥 줄이기 */
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* 숨김 영역 */
.portfolio-hidden{
  display:none;
  margin-top:12px;
}

/* 더보기 버튼 */
.portfolio-more{
  margin-top:12px;
  text-align:center;
}

.portfolio-more-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;

  background:none;
  border:none;
  color:#2563eb;
  font-weight:700;
  cursor:pointer;
  font-size:14px;
}

.portfolio-more-btn i{
  transition:.2s;
}

.portfolio-more-btn.active i{
  transform:rotate(180deg);
}



/* =================================
   업체 상세 모바일
================================= */

@media (max-width:768px) {

  .partner-view {
    flex-direction: column;
    gap: 20px;
  }

  .view-left {
    width: 100%;
  }

  .view-right {
    width: 100%;
  }

  /* 우측 카드 모바일 */

  .partner-side-card {
    position: static;
  }

  /* 업체명 */
  .partner-company {
    font-size: 22px;
  }

  .portfolio-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* 업체 프로필 헤더 */

/* ==================================
   클린콜 2.0 상세 상단 헤더
================================== */

.cc-view-header{
  display:flex;
  justify-content:space-between;
  gap:24px;

  padding:28px 0 24px;
  border-bottom:1px solid #e5e7eb;

}

.view-header-gap{
  height: 28px;
}


@media (max-width:768px){
  .view-header-gap{
    height: 12px; /* 🔥 10~16 사이 추천 */
  }
}


.cc-view-header-main{
  flex:1;
  min-width:0;
}

.cc-view-header-actions{
  width:260px;
  flex:0 0 260px;

  display:flex;
  flex-direction:row;   /* 🔥 변경 */
  gap:10px;
}

.cc-view-header-actions .cc-btn{
  flex:1;             /* 🔥 핵심 */
  height:52px;
  font-size:15px;
  font-weight:800;
}

/* 뱃지 */
.cc-view-badge{
  display:inline-flex;
  align-items:center;

  padding:6px 12px;
  border-radius:999px;

  background:#eff6ff;
  color:#1d4ed8;

  font-size:12px;
  font-weight:700;

  margin-bottom:12px;
}

/* 업체명 */
.company-name{
  font-size:32px;
  font-weight:900;
  line-height:1.2;
  color:#111827;

  margin:0 0 8px;
  letter-spacing:-0.5px;
}

/* 지역 */
.company-region{
  font-size:15px;
  color:#6b7280;
  margin:0 0 10px;
}

/* 한줄 소개 */
.cc-view-intro{
  font-size:15px;
  color:#374151;
  line-height:1.6;

  margin:10px 0 14px;
}

/* 메타 정보 */
.cc-view-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.cc-view-meta span{
  display:inline-flex;
  align-items:center;

  height:32px;
  padding:0 12px;

  border-radius:999px;
  background:#f9fafb;
  border:1px solid #e5e7eb;

  font-size:13px;
  font-weight:600;
  color:#374151;
}


@media (max-width:768px){

  .cc-view-header{
    flex-direction:column;
    gap:18px;

    padding:20px 0 20px;
  }

  .company-name{
    font-size:26px;
  }

  .company-region,
  .cc-view-intro{
    font-size:14px;
  }

  .cc-view-header-actions{
    width:100%;
    flex:none;
    flex-direction:row;
  }

  .cc-view-header-actions .cc-btn{
    height:52px;
  }

}


/* ===============================
   업체 상세 카드 스타일 완화
================================= */

.partner-view .partner-card {
  border: none;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0;
  padding: 30px 0;
  margin-bottom: 0;
  background: none;
}

.partner-view .partner-card:last-child {
  border-bottom: none;
}



/* 포트폴리오 */
.portfolio-hidden {
  display: none;
  margin-top: 12px;
}

.portfolio-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.portfolio-more-btn i {
  font-size: 14px;
  opacity: .7;
  transition: .2s;
}

.portfolio-more-btn:hover i {
  transform: translateX(3px);
  opacity: 1;
}

/* 사진 및 동영상보기 모달 */

#gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(2px);
  display: none;
  flex-direction: column;
  z-index: 9999999;
}

.gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.4);
}

.gallery-tools button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
}

.gallery-main {
  position: relative;
  height: calc(100vh - 160px);
  /* 썸네일 영역 제외 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gallery-image {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  display: block;        /* 🔥 핵심 */
  margin: auto;          /* 🔥 핵심 */

  cursor: grab;
  user-select: none;
  touch-action: none;
}


.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 30;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-thumbs {
  cursor: grab;
  user-select: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  background: #000;
  align-items: center;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  flex: 0 0 90px;
  cursor: pointer;
  opacity: .6;
  border-radius: 4px;
  -webkit-user-drag: none;
  user-select: none;

}

.gallery-thumbs img.active {
  opacity: 1;
  border: 2px solid #fff;
}

.gallery-thumbs.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}


.gallery-count {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
}

/* 후기 링크 복사 */
/* 링크 테이블 전용 */
.link-table {
  table-layout: fixed;
}

.link-table th:nth-child(1) {
  width: 120px;
}

.link-table th:nth-child(2) {
  width: 90px;
}

.link-table th:nth-child(3) {
  width: auto;
}

/* 후기 링크 복사 */
.link-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.link-input {
  flex: 1;
  min-width: 0;
  padding: 8px;
  font-size: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
}

.link-copy-btn {
  padding: 8px 12px;
  font-size: 12px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.link-copy-btn:hover {
  background: #333;
}

/* 후기 */

.review-summary{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.review-score{
  font-size:28px;
  font-weight:900;
}

.review-stars{
  color:#f59e0b;
}

.review-count{
  font-size:13px;
  color:#6b7280;
}

.review-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.review-item{
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:14px;
  background:#fafafa;
}

.review-star{
  color:#f59e0b;
  font-size:14px;
  margin-bottom:4px;
}

.review-text{
  font-size:14px;
  line-height:1.5;
}

.short-text{
  max-height:42px;
  overflow:hidden;
}

.review-bottom{
  margin-top:6px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#9ca3af;
}

.review-toggle{
  margin-top:4px;
  font-size:12px;
  color:#2563eb;
  background:none;
  border:none;
  cursor:pointer;
}

/* 답글 */
.review-reply{
  margin-top:10px;
  padding:10px;
  background:#f3f4f6;
  border-radius:8px;
}

.reply-label{
  font-size:12px;
  font-weight:700;
  margin-bottom:4px;
}

.reply-text{
  font-size:13px;
  color:#374151;
}

.review-more{
  margin-top:12px;
  text-align:center;
}


/* =========================
   🔥 후기 리스트 이미지 (추가)
========================= */

.review-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.review-info{
  display:flex;
  align-items:center;
  gap:8px;
}

.review-user{
  font-weight:700;
  color:#111827;
  margin-right:6px;   /* 🔥 이름과 별 사이 간격 */
}

.review-star{
  color:#f59e0b;
  font-size:14px;
  letter-spacing:1px; /* 🔥 별 간격 */
}

.rating-num{
  font-size:13px;
  color:#6b7280;
  font-weight:600;
  margin-left:2px;    /* 🔥 별과 숫자 분리 */
}

.review-date{
  font-size:12px;
  color:#9ca3af;
}

.review-images{
  display:flex;
  gap:8px;
  margin-top:8px;
  flex-wrap:wrap;
}

.review-images img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
}


/* =========================
   🔥 리뷰 답글 (최종 완성)
========================= */

.review-reply{
  margin-top:12px;
  margin-left:10px;           /* 🔥 들여쓰기 핵심 */

  padding:12px 14px;

  background:#f3f4f6;
  border-radius:12px;

  position:relative;

  max-width:85%;              /* 🔥 말풍선 느낌 */
}

/* 말풍선 꼬리 */
.review-reply::before{
  content:"";
  position:absolute;
  top:-6px;
  left:18px;

  width:10px;
  height:10px;
  background:#f3f4f6;

  transform:rotate(45deg);
}

/* 헤더 (업체명 + 날짜) */
.reply-header{
  font-size:12px;
  color:#6b7280;

  margin-bottom:4px;

  display:flex;
  gap:6px;
  align-items:center;
}

/* 업체명 강조 */
.reply-header strong{
  font-weight:700;
  color:#374151;
}

/* 내용 */
.reply-content{
  font-size:14px;
  color:#111827;
  line-height:1.6;
  word-break:break-word;
}

/* 여러 답글 간격 */
.review-reply + .review-reply{
  margin-top:8px;
}