/* design-your-own page */
body.sun .designer-title { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 0 0 8px; }
.designer { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }

.stage {
  position: sticky; top: 88px; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2b1d52, #120c22 70%);
  border: 2px solid var(--pop); box-shadow: 0 0 30px rgba(0, 229, 255, .35);
}
.stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.stage canvas:active { cursor: grabbing; }
.stage-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 24px; text-align: center; font-weight: 800; color: var(--muted); }
.stage-msg[hidden] { display: none; }
.stage-tags { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.stage-tags span { background: rgba(10, 8, 18, .8); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; }

.designer-panel { padding: 20px; gap: 18px; }
.designer-panel.card:hover { animation: none; border-color: var(--line); box-shadow: none; }
.project-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); background: #0f0a1c; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.project-bar b { color: #fff; }
.project-bar a { color: var(--pop); }
.project-bar .link-btn { color: var(--neon); font-weight: 800; }
.project-bar .link-btn[hidden] { display: none; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.step legend { font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.25rem; font-weight: 800; padding: 0; margin-bottom: 10px; }
.step legend b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1rem; }
.picked { font-family: "Nunito", sans-serif; font-size: .9rem; font-weight: 700; color: var(--muted); }
.sub { font-size: .85rem; font-weight: 700; color: var(--muted); }
.hint { margin: 0; font-size: .85rem; color: var(--muted); }

.choices { display: grid; gap: 8px; }
.choices.shapes { grid-template-columns: repeat(5, 1fr); }
.choices.sizes { grid-template-columns: repeat(3, 1fr); }
.choice {
  font: inherit; color: #fff; cursor: pointer; border-radius: 14px; padding: 8px 4px;
  background: #0f0a1c; border: 2px solid var(--line); display: grid; justify-items: center; gap: 4px;
  font-size: .8rem; font-weight: 800; line-height: 1.2; text-align: center; transition: border-color .15s, transform .15s;
}
.choice svg { width: 34px; height: 34px; fill: currentColor; }
.choice small { font-weight: 600; color: var(--muted); }
.choice:hover { border-color: var(--pop); transform: translateY(-2px); }
.choice[aria-pressed="true"] { border-color: var(--neon); background: rgba(57, 255, 20, .12); box-shadow: 0 0 12px rgba(57, 255, 20, .4); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; background: var(--c);
  border: 3px solid #0f0a1c; outline: 2px solid var(--line); transition: transform .15s;
}
.swatches.small .swatch { width: 30px; height: 30px; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { outline: 3px solid var(--neon); transform: scale(1.12); }
.swatch.glow { box-shadow: 0 0 10px var(--c); }
.text-colour { display: grid; gap: 6px; }
.text-colour[hidden] { display: none; }

.price-box { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.big-price { font-family: "Baloo 2", "Nunito", sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--neon); text-shadow: 0 0 14px rgba(57, 255, 20, .5); }
.price-box .note { max-width: 260px; text-align: right; }
.designer-panel .btn { margin-top: 0; font-size: 1.1rem; }

@media (max-width: 860px) {
  .designer { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) {
  .choices.shapes { grid-template-columns: repeat(3, 1fr); }
}
