@charset "utf-8";

:root{
  --dr-text:#111;
  --dr-sub:#6b7280;
  --dr-line:rgba(17,17,17,.10);
  --dr-bg:#fff;
  --dr-chip:#eef2f7;
  --dr-primary:#111;
  --dr-radius:16px;
}

.dr-wrap{
  padding: 24px 0;
  color: var(--dr-text);
}

.dr-summary{
  display:grid;
  grid-template-columns: 1fr;
  align-items:center;
  padding: 18px 0 8px;
}

.dr-summary__left{
  justify-items: center;
}

.dr-rating{
  display:flex;
  align-items:center;
  gap: 10px;
}
.dr-rating__star{
  font-size: 30px;
  line-height: 1;
  color: #ff5753;
}
.dr-rating__score{
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dr-rating__meta{
  margin-top: 6px;
  color: var(--dr-sub);
  font-size: 14px;
}

.dr-bars{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.dr-bars__item{
  display: grid;
  grid-template-columns: 100px 100px 140px 45px;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}
.dr-chip{
  background: var(--dr-chip);
  color:#374151;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  white-space:nowrap;
}
.dr-bars__text{
  font-size: 14px;
  font-weight: 600;
  white-space:nowrap;
}
.dr-bars__track{
  height: 6px;
  background: rgba(17,17,17,.08);
  border-radius: 999px;
  overflow:hidden;
}
.dr-bars__fill{
  display:block;
  height:100%;
  background: rgba(17,17,17,.65);
  border-radius: 999px;
}
.dr-bars__pct{
  font-size: 13px;
  color: var(--dr-sub);
  min-width: 44px;
  text-align:right;
}

.dr-morelink-box{
  text-align: center;
}

.dr-morelink{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  margin: 1rem 0;
  padding: 10px 14px;
  border: 1px solid var(--dr-line);
  border-radius: 999px;
  color: var(--dr-text);
  text-decoration:none;
  font-size: 14px;
}

.dr-strip{
  margin-top: 18px;
}
.dr-strip__scroller{
  display: flex;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}
.dr-strip__thumb{
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--dr-line);
  background:#f8fafc;
}
.dr-strip__thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  cursor: pointer;
}
.dr-strip__more{
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid var(--dr-line);
  background: rgba(17,17,17,.65);
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

.dr-toolbar{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--dr-line);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.dr-title{
  margin:0;
  font-size: 18px;
  font-weight: 700;
}
.dr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 38px;
  padding: 0 14px;
  border-radius: 50px;
  border: 1px solid var(--dr-line);
  background:#fff;
  color: var(--dr-text);
  text-decoration:none;
  font-size: 14px;
  font-weight: 700;
}
.dr-btn--primary{
  background: var(--dr-primary);
  border-color: var(--dr-primary);
  color:#fff;
}

.dr-list{
  list-style:none;
  margin: 18px 0 0;
  padding: 0;
  border-top: unset;
}
.dr-card{
  border-bottom: 1px solid var(--dr-line);
  padding: 18px 0;
}
.dr-card__head{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.dr-avatar{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background:#f3f4f6;
  flex: 0 0 44px;
}

.dr-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.dr-headmeta{
  flex: 1 1 auto;
  min-width:0;
}
.dr-name{
  font-weight: 700;
  font-size: 15px;
}
.dr-submeta{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 6px;
  color: var(--dr-sub);
  font-size: 13px;
  flex-wrap:wrap;
}
.dr-dot{ opacity:.6; }

.dr-toggle{
  flex:0 0 auto;
  border:0;
  background:transparent;
  color: var(--dr-sub);
  font-weight:700;
  cursor:pointer;
  padding: 6px 8px;
  border-radius: 10px;
}
.dr-toggle:hover{
  background: rgba(17,17,17,.04);
}
.dr-caret{ margin-left: 6px; }

.dr-card__body{
  display:none;
  margin-top: 14px;
  padding-left: 56px;
}
.dr-card.is-open .dr-card__body{ display:block; }
.dr-card.is-open .dr-caret{ transform: rotate(180deg); display:inline-block; }

.dr-subject{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dr-content{
  color:#111;
  font-size: 14px;
  line-height: 1.65;
}
.dr-content img{
  display: none;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.dr-photo{
  margin-top: 12px;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--dr-line);
  background:#f8fafc;
}
.dr-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.dr-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
}
.dr-link{
  color:#111;
  text-decoration:none;
  font-weight:700;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--dr-line);
  border-radius: 10px;
  background:#fff;
}

.dr-reply{
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--dr-line);
  border-radius: 14px;
  background: rgba(17,17,17,.02);
}
.dr-reply__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dr-reply__badge{
  display:inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,17,17,.08);
}
.dr-reply__name{
  color: var(--dr-sub);
  font-size: 13px;
}
.dr-reply__tit{
  font-weight: 700;
  margin-bottom: 6px;
}
.dr-reply__content{
  font-size: 14px;
  line-height: 1.65;
}
.dr-empty{
  padding: 30px 0;
  color: var(--dr-sub);
  text-align:center;
}

/* 리뷰 상세 모달 관련 */
/* 모달 오버레이 */
.iud-wrap {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.iud-wrap.is-open {
  display: flex;
}

.iud-dialog {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 360px;
}


.iud-left {
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 닫기 버튼 ===== */
.iud-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* 이미지 없는 리뷰의 닫기 버튼 (오른쪽 상단) */
.iud-close--right {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(17, 17, 17, .06);
}
.iud-close--right:hover {
  background: rgba(17, 17, 17, .12);
}




.iud-stage {
  width: 100%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.iud-stage img {
  max-width: min(400px, 100%) !important; /* 800px 또는 stage 너비 중 작은 값 */
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  display: block;
}


.iud-thumbs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
}
.iud-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
}
.iud-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iud-thumb.is-active {
  border-color: #fff;
}

.iud-right {
  background: #fff;
  border-left: 1px solid rgba(17,17,17,.10);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.iud-head {
  padding: 18px;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(17,17,17,.10);
}

.iud-product{font-weight: 700; font-size:14px;}

.iud-meta{margin-top:8px; color:#6b7280; font-size:13px;}

.iud-body { overflow: auto; }
.iud-title { font-weight: 700; font-size: 16px; margin: 12px 0; }
.iud-content { font-size: 14px; line-height: 1.65; }


/* 본문 안 이미지: 기본 숨김 (슬라이더로 표시) */
.iud-content img {
  display: none !important;
}

/* 다른 리뷰: 고정 */
.iud-other {
  flex: 0 0 auto;
  padding: 18px;
  border-top: 1px solid rgba(17, 17, 17, .10);
}
.iud-other h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}
.iud-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.iud-other a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .10);
}
.iud-other img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  display: block;
}

/* 이전/다음 버튼: 고정 */
.iud-nav {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(17, 17, 17, .10);
}
.iud-nav a,
.iud-nav span {
  font-size: 14px;
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, .12);
  text-decoration: none;
  color: #111;
  font-weight: 700;
}
.iud-nav a:hover {
  background: rgba(17, 17, 17, .04);
}

/* 상품 링크 */
.iud-product__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
  min-width: 0;
}
.iud-product__thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .10);
  background: #f8fafc;
  flex: 0 0 44px;
}
.iud-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iud-product__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 작성자 정보 */
.iud-userline-box {
  padding: 18px 18px 0;
}
.iud-usercontent-box {
  padding: 0 18px 18px;
}
.iud-userline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--dr-sub);
  font-size: 13px;
  flex-wrap: wrap;
}
.iud-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(17, 17, 17, .10);
  flex: 0 0 28px;
}
.iud-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iud-username {
  color: var(--dr-text);
  font-weight: 700;
  font-size: 14px;
}

.iud-userline .iud-stars{
  display:flex;
  align-items:center;
  gap:0;
}

.iud-stars {
  display: flex;
  align-items: center;
  gap: 0;
  color: #6b7280;
  font-size: 13px;
}
.iud-stars img { display: block; }


.iud-userline .iud-dot{ opacity:.6; }

@media (max-width: 980px){
  .iud-dialog{grid-template-columns:1fr; inset:10px;}
  .iud-right{border-left:0; border-top:1px solid rgba(17,17,17,.10);}
}

/* 오른쪽 본문안의 이미지 숨기기 */
.iud-content img{
  display:none !important;
}

body.is-modal-open{
  overflow: hidden;
  touch-action: none;
}


/* 접기 없애고 항상 본문 보이기 */
.dr-card__body{
  display:block !important;
  margin-top: 14px;
  padding-left: 56px;
}

/* 내용보기 버튼 숨김 */
.dr-toggle{ display:none !important; }

/* 첨부 이미지: 아래에 작게 */
.dr-attach{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.dr-attach__item{
  width: 92px;
  height: 92px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--dr-line);
  background:#f8fafc;
  flex:0 0 auto;
}
.dr-attach__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 리뷰 작성폼 (itemuseform) */
:root{
  --dr-elev: 0 12px 30px rgba(17,17,17,.08);
}

.drw-wrap{
  background: #fff;
  padding: 18px 18px 22px;
  color: var(--dr-text);
}

.drw-head{
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dr-line);
}
.drw-title{
  margin:0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.drw-sub{
  padding: 10px;
  font-size: 13px;
  color: var(--dr-sub);
}

.drw-card{
  border: 1px solid var(--dr-line);
  border-radius: var(--dr-radius);
  padding: 16px;
  background: #fff;
  box-shadow: var(--dr-elev);
}

.drw-field{
  margin-top: 14px;
}
.drw-field:first-child{
  margin-top: 0;
}

.drw-label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.drw-req{
  color: #ff5753;
  font-weight: 700;
}

.drw-input{
  height: 46px;
  border-radius: 14px !important;
  border: 1px solid rgba(17,17,17,.16) !important;
  background:#fff;
  padding: 0 14px !important;
  font-size: 16px;
}
.drw-input:focus{
  outline: none;
  border-color: rgba(17,17,17,.45) !important;
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.drw-help{
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--dr-sub);
}

/* 평점 */
.drw-stars{
  list-style:none;
  margin: 0;
  padding: 0;
  display:flex;
  gap: 10px;
}
.drw-starItem{
  border: 1px solid var(--dr-line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.drw-starItem:hover{
  background: rgba(17,17,17,.02);
  transform: translateY(-1px);
}
.drw-stars input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.drw-stars label{
  cursor:pointer;
}
.drw-starText{
  font-size: 14px;
  font-weight: 700;
  color:#111;
}
.drw-stars img{
  display:block;
  width: 92px;
  height:auto;
}

/* 선택됨 */
.drw-stars input[type="radio"]:checked + label{

}
.drw-stars input[type="radio"]:checked{
}
.drw-starItem:has(input[type="radio"]:checked){
  border-color: rgba(17,17,17,.35);
  background: rgba(17,17,17,.03);
}

/* 에디터 래핑 */
.drw-editor{
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 14px;
  overflow: hidden;
  background:#fff;
}
.drw-editor .cke,
.drw-editor .tox{
  border: 0 !important;
  border-radius: 0 !important;
}
.drw-editor textarea,
.drw-editor iframe{
  max-width:100%;
}

/* 버튼 */
.drw-actions{
  margin-top: 16px;
  display:flex;
  gap: 10px;
}
.drw-btn{
  flex: 1 1 0;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--dr-line);
  background:#fff;
  font-weight: 700;
  cursor:pointer;
}
.drw-btn--primary{
  background: var(--dr-primary) !important;
  border-color: var(--dr-primary) !important;
  color:#fff;
}

.drw-btn--primary:hover{
  background: var(--dr-primary) !important;
  border-color: var(--dr-primary) !important;
  color:#fff !important;
}

/* 전체후기(itemuselist) */
.dr-allreviews{
  padding-top: 10px;
}

/* 상단 검색 */
#sps_sch{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0;

}
#sps_sch > a{
  display:inline-flex;
  align-items:center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--dr-line);
  background:#fff;
  color: var(--dr-text);
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
}
#sps_sch .sch_wr{
  border: unset;
  display:flex;
  align-items:center;
  gap: 10px;
}
#sfl{
  height: 38px !important;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.16) !important;
  padding: 0 12px;
  background:#fff;
}
#stx.sch_input{
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.16);
  padding: 0 12px;
  width: 260px;
}
#stx.sch_input:focus,
#sfl:focus{
  outline:none;
  border-color: rgba(17,17,17,.45);
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}
#sps_sch .sch_btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--dr-line);
  background: var(--dr-primary);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}

/* 목록 */
#sps ol{
  list-style:none;
  margin: 0;
  padding: 0;
  display:flex;
  flex-direction:column;
  gap: 18px;
  border: unset;
}
#sps li{
  border: 1px solid var(--dr-line);
  border-radius: 18px;
  background:#fff;
  padding: 16px;
}


/* 전체 리뷰 검색 영역 */
.dr-allreviews__sch{
  margin: 10px 0 20px;
  display:flex;
  justify-content:center;
}

.dr-allreviews__schwrap{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.dr-allreviews__select,
.dr-allreviews__input{
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.16);
  padding: 0 12px;
  font-size: 14px;
  background:#fff;
}

.dr-allreviews__input{
  width: 260px;
}

.dr-allreviews__select:focus,
.dr-allreviews__input:focus{
  outline:none;
  border-color: rgba(17,17,17,.45);
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.dr-allreviews__btn{
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #111;
  background:#111;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.dr-allreviews__btn:hover{
  background:#000;
}


/* 카드 상단: 상품 썸네일/명 */
#sps .sps_img a{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--dr-text);
  min-width:0;
}
#sps .sps_img img{
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px;
  object-fit:cover;
  display:block;
  border: 1px solid rgba(17,17,17,.10);
  background:#f8fafc;
}
#sps .sps_img span{
  font-size: 15px;
  font-weight: 700;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* 후기 본문 섹션 */
#sps .sps_section h2{
  margin: 12px 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing:-0.01em;
}

/* 메타(별점/작성자/일자) */
#sps .sps_dl{
  margin: 0;
  padding: 0;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--dr-sub);
  font-size: 13px;
}
#sps .sps_dl dd{
  margin:0;
}
#sps .sps_dl img{ display:block; }
#sps .sps_dl i{ opacity:.7; margin-right:4px; }

/* 내용 영역 */
#sps div[id^="sps_con_"]{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17,17,17,.08);
}
#sps div[id^="sps_con_"] img{
  max-width:100%;
  height:auto;
  border-radius: 14px;
}

/* 내용보기 버튼 */
#sps .sps_con_btn{
  margin-top: 12px;
  display:flex;
  justify-content:flex-end;
}
#sps .sps_con_btn button{
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--dr-line);
  background:#fff;
  font-weight: 700;
  cursor:pointer;
}
#sps .sps_con_btn button:hover{
  background: rgba(17,17,17,.04);
}

/* 답변 박스 톤 */
#sps .sps_reply{
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 16px;
  background: rgba(17,17,17,.02);
}
#sps .sps_reply .is_use_reply{
  margin: 0 0 8px;
  font-weight: 700;
}

/* 빈 상태 */
#sps_empty{
  padding: 40px 0;
  color: var(--dr-sub);
  text-align:center;
}

/* 페이징(검정/흰 톤) */
.pg_wrap{ margin:18px 0 30px; text-align:center; }
.pg_page, .pg_current{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  min-width:36px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(17,17,17,.12);
  background:#fff;
  color:#111;
  text-decoration:none;
  font-weight:800;
  margin:0 3px;
}
.pg_page:hover{ background:rgba(17,17,17,.04); }
.pg_current{
  background:#111;
  border-color:#111;
  color:#fff;
}

.dr-card{
  padding: 18px 0;
  border-bottom: 1px solid var(--dr-line);
}

.dr-prodline{
  padding: 18px 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, .10);
}
.dr-prodline__link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--dr-text);
  min-width:0;
}
.dr-prodline__thumb{
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .10);
  background: #f8fafc;
}
.dr-prodline__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.dr-prodline__name{
  font-weight: 700;
  font-size: 18px;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dr-userline{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 8px;
}
.dr-userline__avatar{
  width:36px;
  height:36px;
  border-radius: 50%;
  overflow:hidden;
  background:#f3f4f6;
  border:1px solid rgba(17,17,17,.10);
}
.dr-userline__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.dr-userline__name{
  font-weight: 700;
  font-size: 16px;
  color: var(--dr-text);
}

.dr-metaline{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--dr-sub);
  font-size: 13px;
  margin-bottom: 12px;
}
.dr-metaline__stars img{ display:block; }
.dr-metaline__date{ white-space:nowrap; }



/* ======================================================
   리뷰 작성 모달 (itemuseform) - 신규 추가
====================================================== */

/* --- 모달 오버레이 (기본은 숨김) --- */
.drw-modal-overlay {
  display: none;           /* 기본 숨김 */
  position: fixed;
  inset: 0;                /* top/right/bottom/left 모두 0 = 화면 전체 덮음 */
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
/* is-open 클래스가 붙으면 flex로 전환되어 보임 */
.drw-modal-overlay.is-open {
  display: flex;
}

/* --- 어두운 배경 --- */
.drw-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
}

/* --- 실제 모달 카드 --- */
.drw-modal-dialog {
  position: relative;
  z-index: 9999;           /* backdrop보다 위에 표시 */
  width: 100%;
  max-width: 520px;        /* PC에서 최대 너비 */
  max-height: 90vh;        /* 화면 높이 90% 초과 시 스크롤 */
  overflow-y: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  margin: 16px;            /* 모바일에서 좌우 여백 */
}

/* --- 닫기(X) 버튼 --- */
.drw-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--dr-line);
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--dr-text);
  line-height: 1;
}
.drw-modal-close:hover {
  background: rgba(17, 17, 17, 0.05);
}

/* --- 구매 상품명 라인 --- */
.drw-prodline {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--dr-line);
}
.drw-prodline__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dr-text);
}

/* --- 별점 선택 (★ 클릭형) --- */
.drw-star-wrap {
  display: flex;
  gap: 6px;
  flex-direction: row-reverse; /* 역순 나열: CSS hover 연쇄 효과를 위해 */
  justify-content: flex-end;   /* 왼쪽 정렬 복원 */
}

.drw-star-label {
  cursor: pointer;
  font-size: 36px;         /* 별 크기 */
  line-height: 1;
  color: #d1d5db;          /* 기본: 회색 */
  transition: color 0.1s ease, transform 0.1s ease;
  user-select: none;
}

/* radio input 숨김 */
.drw-star-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.drw-star-label:has(input:checked),
.drw-star-label:has(input:checked) ~ .drw-star-label {
  color: #facc15;
}

/* 선택된 별점 텍스트 */
.drw-star-text {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--dr-sub);
  min-height: 18px; /* 텍스트 없어도 레이아웃 유지 */
}

/* 스크린리더 전용 텍스트 (화면에는 안 보임) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- 리뷰 내용 textarea --- */
.drw-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dr-text);
  resize: vertical;        /* 세로 방향만 크기 조절 가능 */
  box-sizing: border-box;
  font-family: inherit;
}
.drw-textarea:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.45);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}
.drw-textarea::placeholder {
  color: #9ca3af;
}

/* 글자 수 카운터 */
.drw-char-count {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--dr-sub);
  text-align: right;
}

/* --- 사진 첨부 --- */
/* 선택 레이블 */
.drw-optional {
  font-weight: 400;
  color: var(--dr-sub);
  font-size: 12px;
}

/* 사진 추가 버튼 */
.drw-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px dashed rgba(17, 17, 17, 0.22);
  background: rgba(17, 17, 17, 0.02);
  font-size: 14px;
  font-weight: 700;
  color: var(--dr-text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.drw-photo-btn:hover {
  background: rgba(17, 17, 17, 0.05);
  border-color: rgba(17, 17, 17, 0.4);
}

.drw-photo-count {
  color: var(--dr-sub);
  font-weight: 400;
}

/* 실제 file input은 숨김 */
.drw-photo-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* 미리보기 썸네일 컨테이너 */
.drw-photo-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* 개별 썸네일 */
.drw-photo-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--dr-line);
  background: #f8fafc;
  flex: 0 0 auto;
}
.drw-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 썸네일 삭제 버튼 */
.drw-photo-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}
.drw-photo-del:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 560px) {
  .drw-modal-dialog {
    max-width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
  }
  .drw-modal-overlay.is-open {
    align-items: flex-end;         /* 화면 하단에 붙임 */
  }
  .drw-star-label {
    font-size: 40px;               /* 모바일에서 별 더 크게 */
  }
}


/* 관리자 전용 필드 */
.drw-field--admin {
  padding: 12px 14px;
  background: rgba(255, 200, 0, 0.06);
  border: 1px dashed rgba(200, 150, 0, 0.30);
  border-radius: 14px;
}

/* "관리자" 배지 */
.drw-admin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fbbf24;
  color: #78350f;
  margin-left: 6px;
  vertical-align: middle;
}
#drw-is-name {
 width: 100%;
}
