/* 추천 묶음 모달 + 공유 관련 */
.share-set-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.share-set-modal.hidden {
  display: none;
}

.share-set-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.share-set-modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 600px) {
  .share-set-modal {
    align-items: center;
  }
  .share-set-modal__panel {
    border-radius: 16px;
    max-height: 85vh;
  }
}

.share-set-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.share-set-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.share-set-modal__close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.share-set-modal__body {
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1;
}

.share-set-modal__label {
  display: block;
  font-size: 13px;
  color: #666;
  margin: 10px 0 6px;
}

.share-set-modal__count {
  font-weight: 700;
  color: #2563eb;
}

.share-set-modal__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-set-modal__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f7f8fa;
  border-radius: 10px;
  font-size: 14px;
}

.share-set-modal__cardTitle {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-set-modal__cardX {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  color: #888;
}

.share-set-modal__btnAdd {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.share-set-modal__addPanel {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.share-set-modal__search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.share-set-modal__pickList {
  max-height: 200px;
  overflow-y: auto;
}

.share-set-modal__pickRow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  cursor: pointer;
}

.share-set-modal__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.share-set-modal__footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
}

.share-set-modal__btnGhost {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

.share-set-modal__btnPrimary {
  flex: 2;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

/* 공유 링크 관리 — 모바일: 전체 화면 / PC: 팝업 */
.share-links-modal {
  z-index: 9050;
}

@media (max-width: 599px) {
  .share-links-modal.share-set-modal {
    align-items: stretch;
  }

  .share-links-modal .share-set-modal__panel {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .share-links-modal .share-set-modal__header {
    padding-top: max(14px, env(safe-area-inset-top));
    flex-shrink: 0;
  }

  .share-links-modal .share-set-modal__body {
    flex: 1;
    min-height: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 600px) {
  .share-links-modal .share-set-modal__panel {
    max-width: min(920px, calc(100vw - 48px));
    width: calc(100% - 32px);
    max-height: min(86vh, 800px);
    height: auto;
  }
}

.share-links-modal__body {
  padding-top: 8px;
  min-height: 0;
}

.share-links-modal__hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}

.share-links-modal__h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.share-links-modal__h3:first-child {
  margin-top: 0;
}

.share-links-modal__tableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

.share-links-modal__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  border: 1px solid #e5e7eb;
}

.share-links-modal__table th,
.share-links-modal__table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.share-links-modal__table th {
  background: #f9fafb;
  font-weight: 600;
  font-size: 11px;
  color: #4b5563;
  white-space: nowrap;
}

.share-links-modal__table tbody tr:last-child td {
  border-bottom: none;
}

.share-links-modal__muted {
  color: #6b7280;
  font-size: 11px;
}

.share-links-modal__badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
}

.share-links-modal__btn {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.share-links-modal__btn:hover {
  background: #f9fafb;
}

.share-links-modal__linkActions,
.share-links-page .share-links-modal__linkActions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.share-links-modal__btn--danger,
.share-links-page .share-links-modal__btn--danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.share-links-modal__btn--danger:hover,
.share-links-page .share-links-modal__btn--danger:hover {
  background: #fef2f2;
}

.share-links-modal__chips,
.share-links-page .share-links-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.share-links-modal__chip,
.share-links-page .share-links-modal__chip {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
  font-family: inherit;
  line-height: 1.2;
}

.share-links-modal__chip:hover,
.share-links-page .share-links-modal__chip:hover {
  background: #f3f4f6;
}

.share-links-modal__chip--active,
.share-links-page .share-links-modal__chip--active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.share-links-modal__chip--active:hover,
.share-links-page .share-links-modal__chip--active:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.share-links-modal__chip:disabled,
.share-links-page .share-links-modal__chip:disabled {
  opacity: 0.55;
  cursor: wait;
}

.share-links-modal__chipCell {
  min-width: 220px;
  vertical-align: top;
}

.share-links-modal__untilNote {
  margin-top: 4px;
  font-size: 10px;
  color: #6b7280;
  line-height: 1.35;
}

/* 공유 링크 표 — 2줄 헤더·날짜·조회 정렬 */
.share-links-modal__th--stack {
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  vertical-align: middle;
}

.share-links-modal__thStack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
  font-weight: 600;
}

.share-links-modal__thStack span {
  display: block;
}

.share-links-modal__dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.25;
  text-align: center;
}

.share-links-modal__dtLine {
  display: block;
  font-variant-numeric: tabular-nums;
}

.share-links-modal__dtPairCol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.share-links-modal__dtGroup {
  display: block;
}

.share-links-modal__viewCell {
  vertical-align: middle;
  text-align: center;
}

.share-links-modal__viewCell .share-links-modal__badge {
  display: block;
  margin: 0 auto 4px;
}

.share-links-modal__viewSub {
  display: block;
  font-size: 11px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

/* =============================================
   모바일 카드형 레이아웃 (≤ 599px)
   ============================================= */
@media (max-width: 599px) {
  /* tableWrap: 가로 스크롤 제거 */
  .share-links-modal .share-links-modal__tableWrap,
  .share-links-page .share-links-modal__tableWrap {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  /* table/tbody → block */
  .share-links-modal .share-links-modal__table,
  .share-links-modal .share-links-modal__table tbody,
  .share-links-page .share-links-modal__table,
  .share-links-page .share-links-modal__table tbody {
    display: block;
    border: none;
    border-radius: 0;
    background: transparent;
    min-width: 0;
  }

  /* 헤더 숨김 */
  .share-links-modal .share-links-modal__table thead,
  .share-links-page .share-links-modal__table thead {
    display: none;
  }

  /* 행 → 카드 */
  .share-links-modal .share-links-modal__table tr,
  .share-links-page .share-links-modal__table tr {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  /* 셀 → 라벨+값 행 (라벨 왼쪽, 값 오른쪽) */
  .share-links-modal .share-links-modal__table td,
  .share-links-page .share-links-modal__table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    vertical-align: unset;
    width: auto;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  .share-links-modal .share-links-modal__table td:last-child,
  .share-links-page .share-links-modal__table td:last-child {
    border-bottom: none;
  }

  /* data-label → 왼쪽 회색 라벨 */
  .share-links-modal .share-links-modal__table td[data-label]::before,
  .share-links-page .share-links-modal__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
    line-height: 1.4;
    word-break: keep-all;
  }

  /* 값: 오른쪽 정렬 */
  .share-links-modal .share-links-modal__table .slm-val,
  .share-links-page .share-links-modal__table .slm-val {
    font-size: 14px;
    color: #111827;
    text-align: right;
    white-space: nowrap;
  }

  /* 카드 상단 헤더 셀: 매물 ID / 메모 / 상세버튼 */
  .share-links-modal .share-links-modal__table td.slm-td--id,
  .share-links-page .share-links-modal__table td.slm-td--id {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .share-links-modal .slm-td__assetId,
  .share-links-page .slm-td__assetId {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
  }

  .share-links-modal .slm-memo-input,
  .share-links-page .slm-memo-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
  }
  .share-links-modal .slm-memo-input:focus,
  .share-links-page .slm-memo-input:focus {
    border-color: #6366f1;
  }

  .share-links-modal .slm-detail-btn,
  .share-links-page .slm-detail-btn {
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #6366f1;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
  }
  .share-links-modal .slm-detail-btn:hover,
  .share-links-page .slm-detail-btn:hover {
    background: #e0e7ff;
  }

  /* 카드 하단 액션 셀 */
  .share-links-modal .share-links-modal__table td.slm-td--actions,
  .share-links-page .share-links-modal__table td.slm-td--actions {
    background: #fafafa;
    border-top: 1px solid #eff1f3;
    padding: 11px 16px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  /* 제목(추천 묶음) */
  .slm-td__title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
  }

  /* 칩: 4개 1행 */
  .share-links-modal .share-links-modal__chipCell,
  .share-links-page .share-links-modal__chipCell {
    flex: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
  }

  .share-links-modal .share-links-modal__chips--grid,
  .share-links-page .share-links-modal__chips--grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .share-links-modal .share-links-modal__chips--grid .share-links-modal__chip,
  .share-links-page .share-links-modal__chips--grid .share-links-modal__chip {
    padding: 5px 2px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    line-height: 1.2;
  }

  .share-links-modal .share-links-modal__untilNote,
  .share-links-page .share-links-modal__untilNote {
    font-size: 11px;
    margin-top: 6px;
    text-align: left;
  }

  /* 조회: 뱃지+회수 한 줄 인라인 */
  .share-links-modal .share-links-modal__viewCell .share-links-modal__badge,
  .share-links-page .share-links-modal__viewCell .share-links-modal__badge {
    display: inline;
    font-size: 13px;
    padding: 3px 8px;
    vertical-align: middle;
  }

  .share-links-modal .share-links-modal__viewSub,
  .share-links-page .share-links-modal__viewSub {
    display: inline;
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
  }

  /* 버튼 */
  .share-links-modal .share-links-modal__btn,
  .share-links-page .share-links-modal__btn {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
  }

  .share-links-modal .share-links-modal__linkActions,
  .share-links-page .share-links-modal__linkActions {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.share-links-modal__loading,
.share-links-modal__err {
  margin: 12px 0;
  font-size: 14px;
  color: #6b7280;
}

.share-links-modal__err {
  color: #b91c1c;
}

/* 목록장부 체크·공유 */
.listing-table .col-share {
  width: 36px;
  text-align: center;
}

.listing-toolbar__share {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* 고객용 링크 미리보기 */
.share-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.share-preview-modal.hidden {
  display: none;
}

.share-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.share-preview-modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 700px) {
  .share-preview-modal {
    align-items: center;
  }
  .share-preview-modal__panel {
    border-radius: 16px;
    max-height: 88vh;
  }
}

.share-preview-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.share-preview-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.share-preview-modal__close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.share-preview-modal__body {
  padding: 12px 16px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.share-preview-modal__hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
}

.share-preview-modal__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.share-preview-modal__edit {
  flex-shrink: 0;
}

/* 고객 페이지(public-pages)와 동일한 상단 흐름: 갤러리 → 가격바 → 조건 */
.share-preview-modal__editForm {
  --pp-bg: #f5f6f8;
  --pp-muted: #6b7280;
  --pp-accent: #2563eb;
  --pp-border: #e5e7eb;
  --pp-card: #fff;
  background: var(--pp-bg);
  margin: 0 -4px;
  padding: 0 4px 2px;
  border-radius: 12px;
}

.share-preview-modal__editForm .pp-section {
  margin-left: 0;
  margin-right: 0;
}

.share-preview-modal__editForm .pp-section:first-child {
  margin-top: 0;
}

.share-preview-modal__galleryLabel {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.share-preview-modal__ppGallery {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 420px) {
  .share-preview-modal__ppGallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.share-preview-modal__note--gallery {
  margin: 10px 0 0;
}

.share-preview-modal__priceBarMainLabel {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-muted);
  margin: 0 0 6px;
}

.share-preview-modal__editForm .pp-priceMain {
  display: flex;
  justify-content: center;
}

.share-preview-modal__priceMainInput {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--pp-border);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--pp-accent);
  text-align: center;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}

.share-preview-modal__priceMainInput::placeholder {
  color: #93c5fd;
}

.share-preview-modal__note--priceBar {
  margin: 10px 0 0;
  text-align: center;
}

.share-preview-modal__priceBarHint {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--pp-muted);
  line-height: 1.45;
}

.share-preview-modal__condSection h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.share-preview-modal__ppRowEdit {
  align-items: center;
}

.share-preview-modal__ppRowEdit > span {
  flex-shrink: 0;
  color: var(--pp-muted);
  font-size: 14px;
}

.share-preview-modal__ppInput {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  font-size: 14px;
  text-align: right;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}

.share-preview-modal__ppInput--num {
  max-width: 160px;
}

.share-preview-modal__ppTextarea {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--pp-border);
  border-radius: 10px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
  line-height: 1.45;
}

.share-preview-modal__ppRowMemo {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding-top: 10px;
}

.share-preview-modal__ppRowMemo > span {
  color: var(--pp-muted);
  font-size: 14px;
}

.share-preview-modal__note--cond {
  margin: 8px 0 0;
}

.share-preview-modal__editForm > .share-preview-modal__checkRow {
  margin-top: 14px;
}

.share-preview-modal__previewCard {
  flex-shrink: 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.share-preview-modal__previewCardTitle {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.share-preview-modal__secBlock {
  flex-shrink: 0;
  padding: 12px 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}

.share-preview-modal__secBlock > .share-preview-modal__label {
  margin-bottom: 10px;
}

.share-preview-modal__secRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  cursor: pointer;
  color: #111827;
}

.share-preview-modal__secRow input {
  width: 17px;
  height: 17px;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.share-preview-modal__secRow--parent {
  font-weight: 700;
  margin-bottom: 6px;
}

.share-preview-modal__secCond {
  margin: 0 0 12px;
  padding-left: 4px;
  border-left: 3px solid #e5e7eb;
}

.share-preview-modal__secSub {
  padding: 8px 0 4px 12px;
}

.share-preview-modal__secSubRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.share-preview-modal__secSubRow input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.share-preview-modal__secBlock > .share-preview-modal__note {
  margin-top: 10px;
  margin-bottom: 0;
}

.share-preview-modal__iframeShell {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  min-height: 320px;
  height: min(65vh, 560px);
  max-height: min(65vh, 560px);
}

.share-preview-modal__iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  background: #fff;
}

.share-preview-modal__cardLabel {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
}

.share-preview-modal__mock {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #f9fafb;
}

.share-preview-modal__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
}

.share-preview-modal__img--empty {
  min-height: 120px;
}

.share-preview-modal__mockPrice {
  padding: 10px 12px 4px;
  font-size: 18px;
  font-weight: 800;
  color: #2563eb;
}

.share-preview-modal__mockAddr {
  padding: 0 12px 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.35;
}

.share-preview-modal__mockMemo {
  padding: 8px 12px 12px;
  font-size: 13px;
  color: #111;
  border-top: 1px solid #eee;
  background: #fff;
  min-height: 44px;
}

.share-preview-modal__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.share-preview-modal__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  resize: vertical;
  min-height: 88px;
  box-sizing: border-box;
  font-family: inherit;
}

.share-preview-modal__checkRow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  cursor: pointer;
}

.share-preview-modal__checkRow input {
  margin-top: 3px;
}

.share-preview-modal__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

.share-preview-modal__status {
  margin: 12px 0 0;
  font-size: 14px;
}

.share-preview-modal__status--ok {
  color: #059669;
}

.share-preview-modal__status--err {
  color: #dc2626;
}

.share-preview-modal__footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.share-preview-modal__btnGhost {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

.share-preview-modal__btnPrimary {
  flex: 2;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.share-preview-modal__btnPrimary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.share-preview-modal__priceBlock {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.share-preview-modal__photoBlock {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.share-preview-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 420px) {
  .share-preview-modal__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.share-preview-modal__thumb {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.share-preview-modal__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.share-preview-modal__thumb.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.share-preview-modal__thumbBadge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.share-preview-modal__inputNum {
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
}

.share-preview-modal__priceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

@media (max-width: 400px) {
  .share-preview-modal__priceGrid {
    grid-template-columns: 1fr;
  }
}

.share-preview-modal__miniLabel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.share-preview-modal__miniLabel .share-preview-modal__inputNum {
  max-width: none;
  font-weight: 400;
}
