.prod-list { display: flex; flex-direction: column; gap: 12px; }
.prod-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
}
.prod-card:hover { border-color: var(--primary); }
.prod-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--text-muted);
  font-weight: 600; font-size: 20px;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-info { min-width: 0; }
.prod-name { font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-meta { font-size: 13px; color: var(--text-muted); }
.prod-right { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.prod-price { font-weight: 600; font-size: 14px; }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar .input, .toolbar .select { flex: 1; min-width: 140px; }

.form-row-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

.switch-row { display: flex; align-items: center; gap: 10px; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { display: none; }
.switch-track {
  position: absolute; inset: 0;
  background: #CBD5E1; border-radius: 999px; cursor: pointer;
  transition: background .15s;
}
.switch-track::after {
  content: ''; position: absolute;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; top: 2px; left: 2px;
  transition: transform .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + .switch-track { background: var(--primary); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }

.variant-list { display: flex; flex-direction: column; gap: 12px; }
.variant-card {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.variant-head { display: flex; justify-content: space-between; align-items: center; }
.variant-remove {
  background: transparent; border: none; color: var(--error);
  cursor: pointer; padding: 4px 8px; font-size: 13px;
  font-family: inherit;
}

.img-preview {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-empty { font-size: 40px; color: var(--text-muted); }
