/**
 * NoBakwaas — Design Studio (lightweight custom "design your own")
 * Only loads on the Design Studio page template. Reuses the shared
 * tokens (--rust, --ink, --bg, --card, --line) already defined in
 * nobakwaas-worlds.css, which loads first on this template.
 */

.nbk-studio-builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .nbk-studio-builder {
    grid-template-columns: 1fr;
  }
}

/* Preview side */
.nbk-studio-preview {
  position: sticky;
  top: 100px;
}
.nbk-studio-artboard {
  position: relative;
  aspect-ratio: 3/3.4;
  background: var(--card, #fff);
  border: 1px solid var(--line, rgba(36,30,24,.12));
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nbk-silhouette {
  width: 78%;
  height: auto;
}
.nbk-design-overlay {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 90%;
  max-height: 55%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(36,30,24,.15));
  pointer-events: none;
}
.nbk-artboard-placeholder {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted, #6b6354);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}
.nbk-studio-preview-controls {
  margin-top: 18px;
}
.nbk-studio-preview-controls input[type="range"] {
  width: 100%;
  accent-color: var(--rust, #B5502E);
}

/* Form side */
.nbk-studio-form {
  background: var(--card, #fff);
  border: 1px solid var(--line, rgba(36,30,24,.12));
  border-radius: 16px;
  padding: 28px;
}
.nbk-field {
  margin-bottom: 22px;
}
.nbk-field-label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink, #241E18);
  margin-bottom: 10px;
}
.nbk-field-hint {
  font-size: 12px;
  color: var(--muted, #6b6354);
  margin: 8px 0 0;
}
.nbk-studio-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line, rgba(36,30,24,.25));
  border-radius: 8px;
  background: var(--bg, #F4F1EA);
  font-size: 13px;
}

.nbk-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nbk-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(36,30,24,.15));
  background: var(--bg, #F4F1EA);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.nbk-pill:hover {
  border-color: var(--rust, #B5502E);
}
.nbk-pill.active {
  background: var(--rust, #B5502E);
  border-color: var(--rust, #B5502E);
  color: #fff;
}
