/* 관리자 순서 편집 전용: 공개 화면과 도서정보 입력 폼에는 영향을 주지 않습니다. */
#order-list .order-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  position: relative;
}
.order-drag-handle {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  align-self: start;
  font-size: 28px;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.order-drag-handle:active { cursor: grabbing; }
#order-list .order-drag-source { opacity: .42; background: var(--mint); }
#order-list.order-dragging { user-select: none; -webkit-user-select: none; }
.order-drag-ghost {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  padding: 12px 16px;
  border: 2px solid var(--brand);
  border-radius: 12px;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 8px 28px #234c3633;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-height: 110px;
}
.order-drop-marker {
  position: fixed;
  z-index: 1001;
  pointer-events: none;
  height: 4px;
  border-radius: 3px;
  background: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px #ffffff;
}
.order-drop-marker::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -2px;
  top: -3px;
  border-radius: 50%;
  background: var(--brand);
}
@media (max-width: 700px) {
  #order-list .order-row { grid-template-columns: 44px minmax(0, 1fr); gap: .65rem; }
  #order-list .order-actions { grid-column: 1 / -1; }
}
