.category-panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(31, 35, 40, 0.1);
  overflow: hidden;
}

.category-row {
  display: grid;
  grid-template-columns: 0.18fr 1.2fr 0.4fr 0.8fr 0.8fr 0.6fr 0.6fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(31, 35, 40, 0.08);
  font-size: 14px;
}

.category-row.header {
  background: #f6f7f9;
  font-weight: 600;
  font-size: 13px;
}

.category-row:last-child {
  border-bottom: none;
}

.category-body .category-row {
  border-bottom: 1px solid rgba(31, 35, 40, 0.08);
}

.order-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.order-btn {
  padding: 4px 6px;
  line-height: 1;
}

.order-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

.drag-handle {
  cursor: grab;
}

.category-row.dragging {
  opacity: 0.6;
}

.drag-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #1f2328;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1050;
  pointer-events: none;
}

.editor-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .category-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
