.links a.current { color: var(--sand); }
.studio { padding: 50px 0 80px; }
.studio-head { margin-bottom: 30px; }
.studio-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin: 6px 0 10px; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.canvas-col { position: sticky; top: 96px; }
.canvas-wrap { background: radial-gradient(circle at 50% 40%, #2a2724, #121212); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
#tee { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; }
#tee.dragging { cursor: grabbing; }
.canvas-hint { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 8px; }
.step { border-bottom: 1px solid var(--line); padding: 20px 0; }
.step:first-child { padding-top: 0; }
.step h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step h2 span:not(.sel-name) { width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--black); font-size: 1rem; display: grid; place-items: center; letter-spacing: 0; }
.sel-name { font-family: "Assistant", sans-serif; font-size: .9rem; color: var(--muted); letter-spacing: .02em; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line); position: relative; }
.swatch.sel { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(214, 194, 164, .25); }
.small-sw .swatch { width: 30px; height: 30px; }
.upload { display: flex; flex-direction: column; gap: 4px; border: 1.5px dashed var(--line); border-radius: 6px; padding: 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.upload:hover { border-color: var(--sand); background: rgba(214, 194, 164, .04); }
.upload strong { color: var(--sand); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.upload span { color: var(--muted); font-size: .85rem; }
.text-row { display: flex; gap: 8px; }
.text-row input, .text-opts select { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--black-2); color: var(--text); font: inherit; }
.text-row input:focus, .text-opts select:focus { outline: 1px solid var(--sand); }
.text-opts { display: flex; gap: 12px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.text-opts select { flex: 0 0 160px; }
.btn-outline.danger { border-color: rgba(224, 122, 106, .5); color: #E07A6A; }
.range-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 600; font-size: .9rem; }
.range-row input { accent-color: var(--sand); width: 100%; }
.tool-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tool-btns .btn { padding: 10px 16px; font-size: .75rem; }
.buy-row { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; }
.buy-row .qty { margin: 0; }
.buy-row .price { font-size: 1.4rem; }
.terms { margin-top: 12px; line-height: 1.5; }
@media (max-width: 860px) {
  .studio-grid { grid-template-columns: 1fr; gap: 24px; }
  .canvas-col { position: static; }
}

/* Front / back + realistic preview */
.side-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.side-tab { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
.side-tab:hover { border-color: var(--sand); color: var(--text); }
.side-tab.on { background: var(--sand); color: var(--black); border-color: var(--sand); }
.side-tab em { font-style: normal; margin-left: 4px; }
.canvas-wrap { background: #E6E0D6; padding: 0; overflow: hidden; }
.see-real { margin-top: 12px; }
.price-note { margin: -8px 0 12px; }
.preview-modal { border: 1px solid var(--line); border-radius: 8px; padding: 0; width: min(1100px, 100% - 24px); max-height: calc(100vh - 24px); margin: auto; background: var(--black-2); color: var(--text); }
.preview-modal::backdrop { background: rgba(0, 0, 0, .8); }
.preview-inner { padding: 28px; }
.preview-inner h2 { font-size: 2.2rem; }
.preview-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.preview-shots figure { margin: 0; border-radius: 6px; overflow: hidden; background: #E6E0D6; position: relative; }
.preview-shots canvas { width: 100%; height: auto; display: block; }
.preview-shots figcaption { position: absolute; top: 12px; left: 12px; background: rgba(11, 11, 11, .75); color: var(--sand); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.preview-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 700px) { .preview-shots { grid-template-columns: 1fr; } .preview-inner { padding: 20px 16px; } }

/* ---------- 3-line text + font picker ---------- */
.text-help { margin: -6px 0 10px; }
.text-lines { display: grid; gap: 8px; }
.line-in { width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--black-2); color: var(--text); font: inherit; }
.line-in:focus { outline: 1px solid var(--sand); }
.font-tabs { display: flex; gap: 6px; margin: 14px 0 10px; }
.font-tab { flex: 1; padding: 9px 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.font-tab.on { border-color: var(--sand); color: var(--sand); background: rgba(214, 194, 164, .06); }
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; max-height: 236px; overflow-y: auto; padding: 2px; }
.font-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--black-2); overflow: hidden; }
.font-chip:hover { border-color: rgba(214, 194, 164, .6); }
.font-chip.sel { border-color: var(--sand); box-shadow: inset 0 0 0 1px var(--sand); }
.font-chip b { font-size: 1.35rem; line-height: 1.15; font-weight: inherit; white-space: nowrap; }
.font-chip small { font-family: "Assistant", sans-serif; font-size: .66rem; color: var(--muted); letter-spacing: .04em; font-weight: 600; }
.text-actions { display: flex; gap: 8px; margin-top: 12px; }
.text-actions .btn { flex: 1; padding: 12px 14px; }
.text-actions .btn[hidden] { display: none; }
.line-row { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; }
.line-row > span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.line-row.on > span { background: var(--sand); border-color: var(--sand); color: var(--black); }
.line-row.on .line-in { border-color: var(--sand); }
.text-target { margin: 12px 0 0; color: var(--sand); }
.color-pick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .8rem; color: var(--muted); font-weight: 600; }
.color-pick input { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.color-pick input::-webkit-color-swatch-wrapper { padding: 2px; }
.color-pick input::-webkit-color-swatch { border: none; border-radius: 50%; }
.curve-note { margin: -4px 0 10px 82px; }

/* ---------- on-a-model preview ---------- */
.pv-tabs { display: flex; gap: 6px; margin: 14px 0; }
.pv-tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pv-tab.on { border-color: var(--sand); color: var(--sand); background: rgba(214, 194, 164, .06); }
.preview-shots.models { grid-template-columns: repeat(3, 1fr); align-items: start; }
.preview-shots.models canvas { object-fit: cover; aspect-ratio: 2 / 3; }
.pv-loading { grid-column: 1 / -1; text-align: center; padding: 60px 0; }
.model-credit { margin-top: 10px; }
@media (max-width: 760px) { .preview-shots.models { grid-template-columns: 1fr; } }
