/* ═══════════════════════════════════════════════
   E Review — review.css  (1.3.0 · theme-matched)
   테마 CSS 변수(--ep-*)를 참조합니다.
═══════════════════════════════════════════════ */


/* ── 리뷰 섹션 ─────────────────────────── */
.ep-reviews-section {
  padding: 56px 24px 80px;
  max-width: 1060px;
}


/* ── Store Pick 갤러리 ───────────────────────── */
.ep-storepick-gallery {
  position: relative;
  margin-bottom: 28px;
}

.ep-storepick-gallery__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ep-sp-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ep-white);
  background: var(--ep-dark);
  padding: 5px 12px;
  border-radius: 500px;
}

.ep-sp-badge--inline {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 8px;
}

.ep-sp-badge--mine {
  background: var(--ep-ink);
  opacity: .72;
}

.ep-sp-count {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ep-muted);
}

.ep-storepick-gallery__thumbs {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.ep-storepick-gallery__thumbs.slick-slider { display: block; }
.ep-storepick-gallery__thumbs .slick-list { overflow: hidden; margin: 0; }
.ep-storepick-gallery__thumbs .slick-track { display: flex; align-items: stretch; }

.ep-storepick-gallery__thumbs .slick-slide {
  float: none;
  height: auto;
  margin-right: 6px;
}
.ep-storepick-gallery__thumbs .slick-slide:last-child { margin-right: 0; }
.ep-storepick-gallery__thumbs .slick-slide > div,
.ep-storepick-gallery__thumbs .slick-slide .ep-sp-thumb { height: 100%; }

.ep-storepick-gallery .slick-prev::before,
.ep-storepick-gallery .slick-next::before,
.ep-storepick-gallery__arrow::before { content: none; }

.ep-sp-thumb {
  position: relative;
  width: 200px;
  min-width: 200px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--ep-rule);
  flex-shrink: 0;
  transition: opacity .3s;
  border-radius: 12px;
}
.ep-sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.ep-sp-thumb:hover img { transform: scale(1.06); }

.ep-storepick-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ep-rule);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ep-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  box-shadow: 0 2px 12px rgba(36,57,83,.08);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.ep-storepick-gallery__arrow:hover,
.ep-storepick-gallery__arrow:focus,
.ep-storepick-gallery__arrow:focus-visible,
.ep-storepick-gallery__arrow:active {
  background: var(--ep-dark);
  color: var(--ep-white);
  border-color: var(--ep-dark);
  box-shadow: 0 4px 18px rgba(36,57,83,.18);
  outline: none;
}
.ep-storepick-gallery__arrow::-moz-focus-inner { border: 0; }
.ep-storepick-gallery__arrow--prev { left: 10px; }
.ep-storepick-gallery__arrow--next { right: 10px; }

.ep-storepick-gallery__arrow svg,
.ep-review-modal__main-arrow svg {
  display: block;
  width: 1em;
  height: 1em;
  pointer-events: none;
  flex-shrink: 0;
}

.ep-storepick-gallery__thumbs .ps__rail-x {
  opacity: 1;
  display: block;
  height: 3px;
  bottom: 0;
  background: transparent;
}
.ep-storepick-gallery__thumbs .ps__thumb-x {
  height: 3px;
  border-radius: 500px;
  background: var(--ep-accent);
}
.ep-storepick-gallery__thumbs .ps__rail-y,
.ep-storepick-gallery__thumbs .ps__thumb-y { display: none; }


/* ── 리뷰 목록 ─────────────────────────── */
.ep-reviews-list { margin-bottom: 48px; }

.ep-reviews-empty {
  color: var(--ep-muted);
  font-size: 13px;
  padding: 24px 0;
}

.ep-review-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--ep-rule);
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}


/* ── 리뷰 헤더 (아바타 + 작성자 정보) ─── */
.ep-review-item__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ep-review-item__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ep-rule);
}

.ep-review-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-review-item__author-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ep-review-item__author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ep-ink);
}

.ep-review-item__date {
  font-size: 11px;
  color: var(--ep-muted);
  letter-spacing: .02em;
}

.ep-review-item__hearts {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}

.ep-review-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


/* ── 구매 옵션 ──────────────────────────── */
.ep-review-item__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 14px;
  background: var(--ep-off);
  border-radius: 8px;
  font-size: 12px;
}

.ep-review-item__option-label {
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .04em;
}

.ep-review-item__option-value {
  color: var(--ep-muted);
}


/* ── 커스텀 필드 ────────────────────────── */


/* ── 추천 버튼 ──────────────────────────── */
.ep-review-item__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.ep-recommend-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border: 1px solid var(--ep-rule);
  border-radius: 500px;
  background: transparent;
  color: var(--ep-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all .25s cubic-bezier(.22,1,.36,1);
  outline: none;
}

.ep-recommend-btn:hover {
  border-color: var(--ep-ink);
  color: var(--ep-ink);
}

.ep-recommend-btn.is-recommended {
  background: var(--ep-dark);
  border-color: var(--ep-dark);
  color: var(--ep-white);
}

.ep-recommend-btn.is-recommended:hover {
  background: #1a2a3d;
  border-color: #1a2a3d;
}

.ep-thumb-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.ep-recommend-count {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}


/* ── 신고 버튼 ──────────────────────────── */
.ep-review-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: none;
  border-radius: 500px;
  background: transparent;
  color: var(--ep-mid);
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .2s, background .2s;
  outline: none;
  margin-left: auto;
  flex-shrink: 0;
}

.ep-review-report-btn:hover {
  color: var(--ep-ink);
  background: var(--ep-off);
}

.ep-review-report-btn.is-reported {
  color: var(--ep-mid);
  opacity: .5;
  cursor: default;
}

.ep-flag-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ep-report-label {
  font-size: 10px;
}


/* ── 신고 모달 ──────────────────────────── */
.ep-review-modal--report {
  z-index: 9500;
}

.ep-review-modal__panel--report {
  width: min(420px, 92vw);
  max-height: 80svh;
}

.ep-report-modal__body {
  padding: 24px 24px 28px;
}

/* ── 비회원 비밀번호 모달 ──────────────── */
.ep-review-modal--guest-pw {
  z-index: 9200;
}

.ep-guest-pw-desc {
  font-size: 13px;
  color: var(--ep-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.ep-report-reasons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep-report-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ep-ink);
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}

.ep-report-reason:hover {
  background: var(--ep-off);
  border-color: var(--ep-mid);
}

.ep-report-reason input[type="radio"] {
  accent-color: var(--ep-dark);
}

.ep-report-submit {
  margin-top: 16px;
}


/* ── 더보기/접기 쉐브론 ──────────────────── */
.ep-review-item__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ep-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
  transition: opacity .2s;
}
.ep-review-item__more:hover { opacity: .65; }
.ep-review-item__more[hidden] { display: none; }

.ep-chevron-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ep-more-text {
  font-size: 11px;
}


/* ── 커스텀 드롭다운 셀렉트 (작성폼) ──── */
.ep-custom-select {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
  background: var(--ep-off);
  font-family: var(--ep-sans);
  font-size: 13px;
  color: var(--ep-ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  transition: border-color .25s;
}

.ep-custom-select:focus {
  border-color: var(--ep-accent);
  background-color: var(--ep-white);
}


/* ── 버튼 공통 — pill 형태 ─────────────── */
.ep-review-action {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 5px 16px;
  border: 1px solid var(--ep-mid);
  border-radius: 500px;
  background: transparent;
  color: var(--ep-muted);
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.ep-review-action:focus,
.ep-review-action:focus-visible,
.ep-review-action:active { outline: none; box-shadow: none; }

.ep-review-action:hover,
.ep-review-action.is-pick,
.ep-storepick-toggle.is-pick {
  background: var(--ep-dark);
  border-color: var(--ep-dark);
  color: var(--ep-white);
}

.ep-review-item__actions .ep-review-delete.is-cancelled,
.ep-review-item__actions .ep-review-delete.is-cancelled:hover,
.ep-review-item__actions .ep-review-delete.is-cancelled:focus,
.ep-review-item__actions .ep-review-delete.is-cancelled:active {
  background: transparent;
  border-color: var(--ep-rule);
  color: var(--ep-muted);
}

.ep-storepick-toggle.is-disabled,
.ep-storepick-toggle:disabled {
  background: var(--ep-off);
  border-color: var(--ep-rule);
  color: var(--ep-mid);
  cursor: not-allowed;
  opacity: .72;
}
.ep-storepick-toggle.is-loading { pointer-events: none; opacity: .78; }

.ep-review-item__body {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: #939393;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ep-review-item__body.is-collapsible { margin-bottom: 0; cursor: pointer; }
.ep-review-item__body.is-collapsible:hover .ep-review-item__body-text { opacity: .8; }
.ep-review-item__body.is-collapsible .ep-review-item__body-text { cursor: pointer; }
.ep-review-item__body-text { display: block; }

.ep-heart-wrap { display: inline-flex; align-items: center; line-height: 1; }
.ep-heart-wrap--on  { color: #ff0000; }
.ep-heart-wrap--off { color: #e8e8e8; }

.ep-heart-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  pointer-events: none;
  flex-shrink: 0;
}
.ep-heart-icon--partial { color: inherit; }


/* ── 리뷰 이미지 (썸네일) ───────────────── */
.ep-review-item__images--thumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.ep-review-img-thumb {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.ep-review-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.ep-review-img-thumb:hover img { transform: scale(1.07); }

/* 확대 상태에서 썸네일 숨김 */
.ep-review-item.is-images-expanded .ep-review-item__images--thumb {
  display: none;
}

/* ── 리뷰 이미지 (확대) ────────────────── */
.ep-review-item__images-expanded {
  margin: 12px 0;
}

.ep-review-item__images-expanded[hidden] {
  display: none;
}

.ep-review-img-full {
  margin-bottom: 8px;
}
.ep-review-img-full:last-child {
  margin-bottom: 0;
}
.ep-review-img-full img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--ep-rule);
}

/* 이미지 있는 리뷰: 본문+이미지 영역 커서 */
.ep-review-item--has-images .ep-review-item__images--thumb,
.ep-review-item--has-images .ep-review-item__body-text {
  cursor: pointer;
}


/* ── 리뷰 편집기 ───────────────────────── */
.ep-review-item__display { display: block; }
.ep-review-item.is-editing .ep-review-item__display { display: none; }

.ep-review-editor {
  margin-top: 18px;
  padding: 20px;
  background: var(--ep-off);
  border: 1px solid var(--ep-rule);
  border-radius: 14px;
}
.ep-review-item.is-editing .ep-review-editor { margin-top: 0; }
.ep-review-editor__form { display: block; }
.ep-review-editor__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ep-editor-star-rating { display: flex; gap: 4px; }

.ep-editor-star {
  font-size: 24px;
  background: none;
  border: none;
  color: #e8e8e8;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.ep-editor-content {
  width: 100%;
  border: 1px solid var(--ep-rule);
  background: var(--ep-white);
  padding: 14px 16px;
  font-family: var(--ep-sans);
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  border-radius: 10px;
}
.ep-editor-content:focus { border-color: var(--ep-accent); }

.ep-editor-existing-images { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-editor-existing-image {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
  transition: opacity .2s, transform .2s;
}
.ep-editor-existing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-editor-existing-toggle {
  position: absolute;
  right: 4px;
  bottom: 4px;
  min-width: 34px;
  height: 20px;
  border: none;
  border-radius: 500px;
  background: rgba(30,28,26,.74);
  color: var(--ep-white);
  font-size: 9px;
  cursor: pointer;
  padding: 0 6px;
  z-index: 2;
  outline: none;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}
.ep-editor-existing-toggle:focus,
.ep-editor-existing-toggle:focus-visible,
.ep-editor-existing-toggle:active { outline: none; box-shadow: none; }

.ep-editor-existing-image:not(.is-removed) .ep-editor-existing-toggle {
  background: rgba(30,28,26,.74);
  color: var(--ep-white);
}
.ep-editor-existing-image.is-removed .ep-editor-existing-toggle {
  background: rgba(181,89,73,.92);
  color: var(--ep-white);
}
.ep-editor-existing-image.is-removed {
  opacity: .35;
  transform: scale(.97);
}
.ep-editor-existing-image.is-removed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.35);
  pointer-events: none;
}


/* ── 작성 폼 ──────────────────────────── */
.ep-review-form-wrap {
  border-top: 1px solid var(--ep-rule);
  padding-top: 40px;
}

.ep-review-notice {
  font-size: 13px;
  color: var(--ep-muted);
  line-height: 1.8;
  padding: 20px 0;
}
.ep-review-notice a { color: var(--ep-accent); text-decoration: underline; }

.ep-form-row { margin-bottom: 24px; }

.ep-form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ep-muted);
  margin-bottom: 10px;
}
.ep-form-hint {
  font-size: 10px;
  color: #bfbfbf;
  margin-left: 8px;
  letter-spacing: .04em;
  text-transform: none;
}

.ep-review-form textarea {
  width: 100%;
  border: 1px solid var(--ep-rule);
  background: var(--ep-off);
  padding: 14px 16px;
  font-family: var(--ep-sans);
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  resize: vertical;
  transition: border-color .25s;
  box-sizing: border-box;
  border-radius: 10px;
}
.ep-review-form textarea:focus {
  border-color: var(--ep-accent);
  background: var(--ep-white);
}

.ep-star-rating { display: flex; gap: 4px; }

.ep-star {
  font-size: 24px;
  background: none;
  border: none;
  color: #e8e8e8;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.ep-review-form .ep-star-rating,
.ep-review-editor .ep-editor-star-rating { align-items: center; }

.ep-review-form .ep-star,
.ep-review-editor .ep-editor-star {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color .12s ease;
}

.ep-star .ep-heart-icon,
.ep-editor-star .ep-heart-icon { width: 24px; height: 24px; }

.ep-star.selected,
.ep-star.hovered,
.ep-editor-star.selected,
.ep-editor-star.hovered { color: #ff0000; }


/* ── 이미지 업로드 ───────────────────────── */
.ep-image-upload-area {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.ep-upload-btn {
  width: 72px;
  height: 72px;
  border: 1.5px dashed var(--ep-mid);
  border-radius: 12px;
  background: var(--ep-off);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ep-muted);
  transition: border-color .25s, background .25s;
  flex-shrink: 0;
}
.ep-upload-btn:hover { border-color: var(--ep-accent); background: var(--ep-white); }

.ep-upload-icon { font-size: 22px; line-height: 1; color: var(--ep-mid); }

.ep-image-previews { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-img-preview {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
}
.ep-img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ep-img-remove,
.ep-editor-new-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(30,28,26,.7);
  color: var(--ep-white);
  border: none;
  border-radius: 50%;
  font-size: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

/* ── 업로드 프로그레스 바 ───────────────── */
.ep-img-uploading {
  position: relative;
  overflow: hidden;
}
.ep-img-uploading img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ep-img-uploading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}
.ep-img-uploading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ep-spin .7s linear infinite;
  z-index: 2;
}
@keyframes ep-spin {
  to { transform: rotate(360deg); }
}
.ep-img-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
  z-index: 3;
}
.ep-img-progress-bar {
  height: 100%;
  width: 0;
  background: #fff;
  transition: width .15s linear;
}

/* ── 별점 wiggle ───────────────────────── */
@keyframes ep-wiggle {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(1px); }
}
.ep-star-rating.ep-wiggle {
  animation: ep-wiggle .5s ease;
}

.ep-form-actions { margin-top: 8px; }
.ep-form-msg { font-size: 12px; min-height: 18px; margin-bottom: 8px; margin-top: 10px; text-align: center; }

/* ── 상품평 등록 / 수정 저장 버튼 ─────────── */
.aurae-button,
.ep-review-submit,
.ep-review-editor__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-dark);
  color: var(--ep-white);
  border: 1px solid var(--ep-dark);
  border-radius: 500px;
  padding: 13px 32px;
  min-height: 46px;
  font-family: var(--ep-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: background .35s cubic-bezier(.22,1,.36,1), border-color .35s, box-shadow .35s;
}
.aurae-button:hover,
.ep-review-submit:hover,
.ep-review-editor__submit:hover {
  background: #1a2a3d;
  border-color: #1a2a3d;
  color: var(--ep-white);
  box-shadow: 0 4px 20px rgba(36,57,83,.22);
}
.aurae-button:disabled,
.ep-review-submit:disabled,
.ep-review-editor__submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.ep-msg--ok    { }
.ep-msg--error { color: #c0392b; }

/* ── 폼 제출 버튼 ─────────────────────── */
.ep-review-form .ep-submit-btn,
.ep-review-editor .ep-submit-btn,
.ep-review-editor .ep-editor-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ep-dark);
  color: var(--ep-white);
  border: 1px solid var(--ep-dark);
  border-radius: 500px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  outline: none;
  transition: background .35s cubic-bezier(.22,1,.36,1), border-color .35s, box-shadow .35s;
}
.ep-review-form .ep-submit-btn:hover,
.ep-review-editor .ep-submit-btn:hover,
.ep-review-editor .ep-editor-submit:hover {
  background: #1a2a3d;
  border-color: #1a2a3d;
  box-shadow: 0 4px 20px rgba(36,57,83,.22);
}


/* ── 모달 공통 ───────────────────────── */
.ep-review-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s cubic-bezier(.22,1,.36,1);
}
.ep-review-modal.is-open { pointer-events: all; opacity: 1; }

.ep-review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30,28,26,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ep-review-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 94vw);
  max-height: 90svh;
  background: var(--ep-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
}

.ep-review-modal__panel--best {
  height: 90svh;
}

.ep-review-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ep-rule);
  flex-shrink: 0;
}
.ep-review-modal__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ep-review-modal__title {
  font-family: var(--ep-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ep-dark);
  letter-spacing: .01em;
}
.ep-review-modal__close {
  margin-left: auto;
  background: var(--ep-off);
  border: 1px solid var(--ep-rule);
  border-radius: 50%;
  color: var(--ep-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
  font-size: 15px;
}
.ep-review-modal__close:hover {
  background: var(--ep-dark);
  color: var(--ep-white);
  border-color: var(--ep-dark);
}

/* 사용하지 않는 구 요소 숨김 */
.ep-review-modal__thumbs-wrap,
.ep-review-modal__thumb-arrow,
.ep-review-modal__inner-arrow { display: none; }

.ep-review-modal .slick-prev::before,
.ep-review-modal .slick-next::before,
.ep-review-modal__main-arrow::before { content: none; display: none; }


/* ── 모달 바디 ───────────────────────── */
.ep-review-modal__body {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ep-review-modal__main-slider,
#epBestSlider,
#epSingleContent {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#epSingleContent {
  display: flex;
  flex-direction: column;
}

#epBestSlider .slick-list,
#epSingleSlider .slick-list {
  height: 100% !important;
}
#epBestSlider .slick-track,
#epSingleSlider .slick-track {
  display: flex;
  height: 100%;
}
#epBestSlider .slick-slide,
#epSingleSlider .slick-slide {
  height: auto;
  display: flex !important;
}
#epBestSlider .slick-slide > div,
#epSingleSlider .slick-slide > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#epBestSlider .slick-slide > div {
  min-height: 0;
  overflow: hidden;
}


/* ── 모달 슬라이드 레이아웃 ─────────── */
:root {
  --ep-modal-info-h: clamp(160px, 34%, 260px);
}

.ep-best-slide,
.ep-single-review {
  outline: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.ep-best-slide {
  overflow: hidden;
}

.ep-best-slide__media,
.ep-best-review__gallery,
.ep-single-review__gallery {
  position: relative;
  width: 100%;
  flex: 1 1 0%;
  min-height: 120px;
  overflow: hidden;
  background: var(--ep-off);
}
.ep-best-slide__media {
  max-height: calc(100% - var(--ep-modal-info-h));
}

.ep-best-slide__info,
.ep-single-review__info {
  display: block;
  position: relative;
  width: 100%;
  height: var(--ep-modal-info-h);
  min-height: 160px;
  max-height: 260px;
  flex: 0 0 auto;
  overflow-y: auto;
  padding: 16px 24px 14px;
  background: var(--ep-white);
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--ep-accent) transparent;
}

.ep-best-slide__info::-webkit-scrollbar,
.ep-single-review__info::-webkit-scrollbar { width: 6px; }
.ep-best-slide__info::-webkit-scrollbar-track,
.ep-single-review__info::-webkit-scrollbar-track { background: transparent; }
.ep-best-slide__info::-webkit-scrollbar-thumb,
.ep-single-review__info::-webkit-scrollbar-thumb { background: var(--ep-accent); border-radius: 500px; }

.ep-best-slide__info .ep-review-modal__content,
.ep-single-review__info .ep-review-modal__content { margin: 0; padding-right: 8px; }



/* ── 모달 이미지 ───────────────────────── */
.ep-review-modal__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ep-off);
}
.ep-review-modal__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-best-slide__media .ep-review-modal__image-wrap {
  position: absolute;
  inset: 0;
}


/* ── 모달 헤드 (리스트와 동일 레이아웃) ──── */
.ep-review-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.ep-review-modal__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ep-rule);
}

.ep-review-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-review-modal__author-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ep-review-modal__author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ep-ink);
}

.ep-review-modal__date {
  font-size: 11px;
  color: var(--ep-muted);
  letter-spacing: .02em;
}

.ep-review-modal__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  margin-top: 2px;
}
.ep-review-modal__stars .ep-heart-wrap--on  { color: #ff0000; }
.ep-review-modal__stars .ep-heart-wrap--off { color: #e8e8e8; }

/* 신고 버튼 — 헤드 우측 */
.ep-review-modal__head > .ep-review-report-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.ep-review-modal__content {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ep-muted);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ── 모달 추천 (본문 아래 · 베스트용) ───── */
.ep-review-modal__rec-wrap {
  margin-top: 12px;
}

/* ── 싱글 모달 footer (info 밖 하단 고정) ── */
.ep-single-review__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 14px;
  border-top: 1px solid var(--ep-rule);
  background: var(--ep-white);
  flex-shrink: 0;
}

.ep-single-review__footer .ep-review-report-btn {
  margin-left: auto;
}

/* ── 모달 내 구매옵션 ──────────────────── */
.ep-review-modal__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  background: var(--ep-off);
  border-radius: 8px;
  font-size: 11px;
}


/* ── 모달 화살표 ───────────────────────── */
.ep-review-modal__main-arrow {
  position: absolute;
  z-index: 10;
  top: calc(50% - 95px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--ep-rule);
  border-radius: 50%;
  color: var(--ep-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(36,57,83,.08);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.ep-review-modal__main-arrow:hover {
  background: var(--ep-dark);
  color: var(--ep-white);
  border-color: var(--ep-dark);
  box-shadow: 0 4px 18px rgba(36,57,83,.18);
}
.ep-review-modal__main-arrow--prev { left: 10px; }
.ep-review-modal__main-arrow--next { right: 10px; }


/* PerfectScrollbar */
.ps__thumb-y { background: var(--ep-accent); width: 3px; border-radius: 500px; }
.ps__rail-y  { width: 6px; }

#epBestModalBody > .ps__rail-y,
#epSingleModalBody > .ps__rail-y,
#epBestModalBody > .ps__rail-x,
#epSingleModalBody > .ps__rail-x { display: none; }


/* ── entry-summary 레이팅 ─────────────────── */
.ep-entry-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0;
  line-height: 1;
}
.ep-entry-rating--empty .ep-entry-rating__label {
  font-size: 13px;
  color: var(--ep-muted, #888);
}
.ep-entry-rating__hearts { display: inline-flex; align-items: center; gap: 3px; }
.ep-entry-rating__heart  { display: inline-flex; font-size: 20px; line-height: 1; }
.ep-entry-rating__heart--on  { color: #ff0000; }
.ep-entry-rating__heart--off { color: #e8e8e8; }

.ep-entry-rating__score {
  font-size: 12px;
  font-weight: 500;
  color: #838889;
  text-decoration: none;
}
.ep-entry-rating__score:hover { color: var(--ep-dark); }

.ep-entry-rating__label--link {
  text-decoration: none;
  color: var(--ep-muted, #888);
  font-size: 13px;
}
.ep-entry-rating__label--link:hover { color: var(--ep-dark); }


/* ── 기타 ───────────────────────────── */
body.ep-modal-open { overflow: hidden; }

/* ── 리뷰 더보기 버튼 ───────────────────── */
.ep-reviews-load-more-wrap {
  text-align: center;
  margin-top: -24px;
  margin-bottom: 48px;
}
.ep-reviews-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 10px 28px;
  border: 1px solid var(--ep-mid);
  border-radius: 500px;
  background: transparent;
  color: var(--ep-muted);
  cursor: pointer;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.ep-reviews-load-more:hover {
  background: var(--ep-dark);
  border-color: var(--ep-dark);
  color: var(--ep-white);
  box-shadow: 0 4px 20px rgba(36,57,83,.14);
}
.ep-reviews-load-more:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.ep-reviews-load-more__count {
  font-size: 11px;
  opacity: .7;
}


/* ── 반응형 ─────────────────────────── */
@media (max-width: 768px) {
  .ep-review-item__actions { width: 100%; margin-top: 6px; }
  .ep-review-modal__panel {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }
  .ep-review-modal__panel--best { height: 100svh; }
}

@media (max-width: 767px) {
  .ep-sp-thumb { width: 150px; min-width: 150px; }
  .ep-storepick-gallery__arrow { width: 36px; height: 36px; font-size: 18px; }
  .ep-storepick-gallery__arrow--prev { left: 8px; }
  .ep-storepick-gallery__arrow--next { right: 8px; }
}

@media (max-width: 600px) {
  .ep-sp-thumb,
  .ep-review-img-thumb,
  .ep-upload-btn,
  .ep-img-preview,
  .ep-editor-existing-image { width: 72px; height: 72px; }

  .ep-review-modal__panel {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }
  .ep-review-modal__panel--best {
    height: 100svh;
  }

  .ep-review-modal__main-arrow { width: 36px; height: 36px; top: calc(50% - 80px); }

  .ep-best-slide__media,
  .ep-single-review__gallery { min-height: 120px; }

  .ep-best-slide__info,
  .ep-single-review__info {
    padding: 18px 18px 24px;
  }

  .ep-review-item__head {
    gap: 8px;
  }
}

/* ── 상품평 작성 트리거 버튼 ─────────────── */
.ep-write-review-trigger-wrap {
  padding: 32px 0 0;
}

/* ── 작성 모달 패널 ─────────────────────── */
.ep-review-modal__panel--write {
  width: min(520px, 94vw);
  max-height: 92svh;
}

.ep-write-modal__body {
  overflow-y: auto;
  padding: 28px 28px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--ep-accent) transparent;
}
.ep-write-modal__body::-webkit-scrollbar { width: 6px; }
.ep-write-modal__body::-webkit-scrollbar-track { background: transparent; }
.ep-write-modal__body::-webkit-scrollbar-thumb { background: var(--ep-accent); border-radius: 500px; }

.ep-write-modal__form .ep-form-row:last-of-type {
  margin-bottom: 0;
}

.ep-write-modal__form .ep-form-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .ep-review-modal__panel--write {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }
  .ep-write-modal__body {
    padding: 20px 18px 28px;
  }
}

/* ── 리뷰 통계 요약 ────────────────────── */
.ep-reviews-stats {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  margin-bottom: 24px;
}

.ep-reviews-stats__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  flex-shrink: 0;
  margin-top: 16px;
}

.ep-reviews-stats__score {
  font-family: var(--ep-serif);
  font-style: italic;
  font-size: 48px;
  color: var(--ep-ink);
  line-height: 1;
  margin-bottom: 8px;
}

/* stars + count 묶음 (모바일 row 대응) */
.ep-reviews-stats__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.ep-reviews-stats__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 18px;
}

.ep-reviews-stats__star {
  display: inline-flex;
  color: #ff0000;
}

.ep-reviews-stats__count {
  font-size: 12px;
  color: var(--ep-muted);
}

#epWriteReviewBtn {
  padding: 6px 20px;
}

.ep-reviews-stats__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}

.ep-reviews-stats__bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ep-reviews-stats__bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ep-ink);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.ep-reviews-stats__bar-track {
  flex: 1;
  height: 3px;
  background: var(--ep-rule);
  border-radius: 500px;
  overflow: hidden;
}

.ep-reviews-stats__bar-fill {
  height: 100%;
  background: var(--ep-ink);
  border-radius: 500px;
  transition: width .4s cubic-bezier(.22,1,.36,1);
}

.ep-reviews-stats__bar-count {
  font-size: 12px;
  color: var(--ep-muted);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* 리뷰 작성 버튼 */
/* 바 row 클릭 가능 */
.ep-reviews-stats__bar-row.js-rating-filter {
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 6px;
  margin: 0 -6px;
  transition: background .2s;
}

.ep-reviews-stats__bar-row.js-rating-filter.is-active {
  background: var(--ep-off);
}

.ep-reviews-stats__bar-row.js-rating-filter.is-active .ep-reviews-stats__bar-label {
  color: var(--ep-dark);
  font-weight: 700;
}

.ep-reviews-stats__bar-row.js-rating-filter.is-active .ep-reviews-stats__bar-fill {
  background: var(--ep-dark);
}

/* 전체 리뷰 보기 리셋 버튼 */
.ep-reviews-stats__reset {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ep-muted);
  font-family: var(--ep-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: underline;
  transition: color .2s;
}

.ep-reviews-stats__reset:hover {
  color: var(--ep-ink);
}

.ep-reviews-stats__reset[hidden] {
  display: none;
}

/* 필터 결과 없음 */
.ep-reviews-filter-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--ep-muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .ep-reviews-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 12px;
  }

  .ep-reviews-stats__left {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex-wrap: wrap;
  }

  .ep-reviews-stats__left .ep-reviews-stats__cta {
    margin-left: auto;
  }

  .ep-reviews-stats__score {
    font-size: 40px;
    margin-bottom: 0;
  }

  .ep-reviews-stats__meta {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }
}

/* ── 리뷰 요약 배너 ─────────────────────── */
.ep-reviews-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 48px;
  gap: 16px;
  justify-content: space-between;
  padding: 80px 24px 24px;
  border-top: 1px solid #eee;
}
.ep-reviews-summary__left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.ep-reviews-summary__score {
  font-size: 52px;
  color: var(--ep-ink);
  line-height: 1;
  font-style: italic;
}
.ep-reviews-summary__score--empty {
  opacity: .3;
}

.ep-reviews-summary__hearts {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0;
}
.ep-reviews-summary__heart {
  font-size: 24px;
  display: inline-flex;
  color: #ff0000;
}

.ep-reviews-summary__desc {
  font-size: 12px;
  color: var(--ep-muted);
}

#ep .ep-reviews-summary__cta {
  padding: 10px 32px;
}

.ep-review-form-wrap--hidden {
  display: none;
}

@media (max-width: 600px) {
  .ep-reviews-summary {
    padding: 80px 0 24px;
    text-align: center;
  }
  .ep-reviews-summary__score {
    font-size: 44px;
  }
}

/* ── 수정 모달 ──────────────────────────── */
.ep-review-modal__panel--edit {
  width: min(520px, 94vw);
  max-height: 92svh;
}

.ep-edit-modal__body {
  overflow-y: auto;
  padding: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--ep-accent) transparent;
}
.ep-edit-modal__body::-webkit-scrollbar { width: 6px; }
.ep-edit-modal__body::-webkit-scrollbar-track { background: transparent; }
.ep-edit-modal__body::-webkit-scrollbar-thumb { background: var(--ep-accent); border-radius: 500px; }

.ep-edit-modal__body .ep-review-editor {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.ep-edit-modal__body .ep-review-editor__actions {
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .ep-review-modal__panel--edit {
    width: 100vw;
    max-height: 100svh;
    border-radius: 0;
  }
  .ep-edit-modal__body {
    padding: 20px 18px 28px;
  }
}


/* ── 판매자 댓글 ──────────────────────────── */
.ep-seller-reply-wrap {
  margin-top: 16px;
  padding-left: 12px;
}

.ep-seller-reply {
  position: relative;
  background: var(--ep-off);
  border-radius: 0 14px 14px 14px;
  padding: 16px 18px;
}

/* 말풍선 꼬리 */
.ep-seller-reply::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent var(--ep-off) transparent transparent;
}

.ep-seller-reply__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ep-seller-reply__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.ep-seller-reply__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ep-ink);
  letter-spacing: .02em;
}

.ep-seller-reply__date {
  font-size: 11px;
  color: var(--ep-muted);
  margin-left: auto;
}

.ep-seller-reply__content {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ep-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ep-seller-reply__body {
  display: block;
}

.ep-seller-reply__body .ep-seller-reply__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ep-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
  transition: opacity .2s;
}
.ep-seller-reply__body .ep-seller-reply__more:hover { opacity: .65; }
.ep-seller-reply__body .ep-seller-reply__more[hidden] { display: none; }

/* 더보기가 있는 판매자 댓글 본문 클릭 가능 */
.ep-seller-reply__body.is-truncated {
  cursor: pointer;
}

.ep-seller-reply__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ep-seller-reply-edit,
.ep-seller-reply-delete {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 4px 14px;
  border: 1px solid var(--ep-mid);
  border-radius: 500px;
  background: transparent;
  color: var(--ep-muted);
  cursor: pointer;
  outline: none;
  transition: all .2s;
}

.ep-seller-reply-edit:hover,
.ep-seller-reply-delete:hover {
  background: var(--ep-dark);
  border-color: var(--ep-dark);
  color: var(--ep-white);
}

/* 판매자 댓글 작성/수정 폼 */
.ep-seller-reply-form {
  position: relative;
  margin-top: 12px;
  background: var(--ep-off);
  border-radius: 0 14px 14px 14px;
  padding: 16px 18px;
}

.ep-seller-reply-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent var(--ep-off) transparent transparent;
}

.ep-seller-reply-form.is-hidden {
  display: none;
}

.ep-seller-reply-form__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ep-seller-reply-input {
  width: 100%;
  border: 1px solid var(--ep-rule);
  background: var(--ep-white);
  padding: 12px 14px;
  font-family: var(--ep-sans);
  font-size: 13px;
  line-height: 1.7;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  border-radius: 8px;
  min-height: 80px;
}
.ep-seller-reply-input:focus {
  border-color: var(--ep-accent);
}

.ep-seller-reply-form__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ep-seller-reply-form__actions .aurae-button {
  padding: 8px 24px;
  min-height: 36px;
  font-size: 12px;
}

.ep-seller-reply-cancel {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--ep-mid);
  border-radius: 500px;
  background: transparent;
  color: var(--ep-muted);
  cursor: pointer;
  outline: none;
  transition: all .2s;
}
.ep-seller-reply-cancel:hover {
  border-color: var(--ep-dark);
  color: var(--ep-dark);
}


/* ── 비회원 리뷰 작성 ──────────────────── */
.ep-guest-notice {
  background: var(--ep-off);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.ep-guest-notice p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ep-muted);
  margin: 0;
}

/* 비회원 입력필드 — 기존 리뷰 폼 textarea와 동일 스타일 */
.ep-guest-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ep-rule);
  border-radius: 10px;
  background: var(--ep-off);
  font-family: var(--ep-sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ep-ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color .25s;
}

.ep-guest-input:focus {
  border-color: var(--ep-accent);
  background: var(--ep-white);
}

.ep-guest-input::placeholder {
  color: #bfbfbf;
  font-size: inherit;
}

.ep-form-required {
  color: #c0392b;
}

@media (max-width: 991px) {
  .ep-reviews-summary {
    flex-direction: column;
  }
  .ep-reviews-summary__left {
    gap: 14px;
    flex-direction: column;
  }
  .ep-reviews-summary__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
  }
}
