/* 3DPrint Geeks — modern storefront layout */
.p3dg-configurator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin: 24px 0;
}

@media (max-width: 900px) {
  .p3dg-configurator { grid-template-columns: 1fr; }
}

.p3dg-viewer-panel {
  background: var(--p3dg-surface, #f8fafc);
  border: 1px solid var(--p3dg-border, #e2e8f0);
  border-radius: 16px;
  padding: 16px;
  min-height: 420px;
  position: sticky;
  top: 24px;
}

.p3dg-options-panel {
  background: #fff;
  border: 1px solid var(--p3dg-border, #e2e8f0);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.p3dg-wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.p3dg-wizard-step {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
}

.p3dg-wizard-step.is-active {
  background: #2563eb;
  color: #fff;
}

.p3dg-wizard-step.is-done {
  background: #dcfce7;
  color: #15803d;
}

.p3dg-material-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p3d-material-group-item {
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-weight: 600;
  color: #334155;
}

.p3d-material-group-item:hover,
.p3d-material-group-item.p3d-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.p3dg-hint {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 12px;
}

.p3d-list li, .p3d-slider-item {
  border-radius: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.p3d-list li:hover, .p3d-slider-item:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.p3d-control:checked + label,
.p3d-list li.p3d-selected {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

#p3d-file-loading {
  display: none;
}

#p3d-analyse-status {
  border-radius: 8px;
  padding: 8px 12px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 14px;
}

.p3dg-bulk-status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.p3dg-bulk-status-queued { background: #f1f5f9; color: #475569; }
.p3dg-bulk-status-slicing { background: #dbeafe; color: #1d4ed8; }
.p3dg-bulk-status-done { background: #dcfce7; color: #15803d; }
.p3dg-bulk-status-error { background: #fee2e2; color: #b91c1c; }

.single_add_to_cart_button {
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
}
