/* Basic layout */
.resin-designer-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.resin-sidebar {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  max-height: 80vh;
  overflow: auto;
}
.resin-list {
  display: grid;
  gap: 8px;
}
.resin-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px;
  border-radius: 10px;
  background: #fafafa;
}
.resin-card img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb;
}
.resin-card .meta { font-size: 12px; color: #374151; }
.resin-card .title { font-weight: 600; font-size: 13px; color: #111827; }
.resin-card button {
  border: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: white;
  cursor: pointer;
}
.resin-card button.secondary {
  background: #2563eb;
}
.resin-canvas-area {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.canvas-toolbar {
  display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap;
}
.canvas-toolbar button {
  border: none; padding: 8px 12px; border-radius: 8px; background: #111827; color: white; cursor: pointer;
}
.price-pill {
  margin-left: auto;
  background: #10b981; color: white; padding: 6px 10px; border-radius: 999px; font-weight: 700;
}
#designCanvas {
  width: 100%; height: auto; border: 1px dashed #d1d5db; background: #ffffff;
  display: block; max-width: 100%;
}
.hint { font-size: 12px; color: #6b7280; margin-top: 8px; }
@media (max-width: 900px) {
  .resin-designer-wrapper { grid-template-columns: 1fr; }
}
