/* The model is a projected 3D scene; SVG keeps it crisp without a GPU dependency. */
.brand-theme .ds-preview { border-color: var(--border-light); scroll-margin-top: 100px; }
.brand-theme .pricing-flow .ds-metrics-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 18px; margin-top: 6px; background: var(--bg-section-soft); }
.brand-theme .pricing-flow .ds-metric-val { font-size: .85rem; }
.brand-theme .pricing-flow .ds-metric-label { font-size: 0.75rem; letter-spacing: 0; }
.ds-view-toolbar { display: flex; gap: 4px; width: fit-content; padding: 4px; margin: 18px 18px 0; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--bg-surface-elevated); }
.ds-view-toolbar button { min-height: 40px; padding: 9px 18px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--text-muted); font: 600 .76rem var(--font-body); cursor: pointer; }
.ds-view-toolbar button[aria-selected="true"] { background: var(--bg-surface); color: var(--primary-hover); border-color: #e5dae2; box-shadow: 0 2px 5px #33232e06; }
.ds-scene-panel { padding: 14px 14px 0; }
.ds-scene-stage { height: 340px; position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 12px; background: radial-gradient(ellipse at 50% 45%, var(--bg-surface) 0%, var(--bg-section-soft) 75%); }
#dsSceneSvg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
#dsSceneSvg.is-dragging { cursor: grabbing; }
#dsSceneSvg:focus-visible { outline-offset: -4px; border-radius: 12px; }
.ds-scene-badge { position: absolute; left: 16px; top: 16px; color: #7c6b7a; letter-spacing: 1.3px; font-size: 0.75rem; font-weight: 700; pointer-events: none; }
.ds-scene-axis { position: absolute; bottom: 14px; right: 14px; font-size: 0.75rem; letter-spacing: 1px; color: #9a8b98; font-weight: 800; pointer-events: none; }
.ds-scene-axis span { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 1.1px; }
.ds-scene-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; }
.ds-scene-controls > span { font-size: 0.75rem; color: var(--text-muted); padding-left: 3px; }
.ds-scene-controls > div { display: flex; gap: 4px; }
.ds-scene-controls button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #63515f; font-size: 1.25rem; cursor: pointer; touch-action: manipulation; }
.ds-scene-controls button:hover { background: var(--brand-tint); border-color: var(--border-subtle); }
.ds-scene-controls button:disabled { opacity: .3; cursor: default; }
.ds-scene-materials { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 0 12px; border-top: 1px solid var(--border-subtle); margin-top: 6px; color: var(--text-muted); font-size: 0.75rem; }
#dsSceneGlassSwatch, #dsSceneProfileSwatch { width: 10px; height: 10px; border: 1px solid #29252c22; border-radius: 50%; flex-shrink: 0; }
.ds-scene-material-divider { padding: 0 2px; }
.brand-theme .ds-preview-note { font-size: 0.75rem; padding: 0 18px 16px; line-height: 1.7; }
.brand-theme .ds-preview-content:has(#dsScenePanel[hidden]) .ds-preview-note { padding-top: 12px; }

@media (max-width: 900px) {
  .ds-scene-stage { height: 290px; }
  .ds-scene-panel { padding-inline: 10px; }
  .ds-view-toolbar { margin: 12px 12px 0; }
  .ds-view-toolbar button { min-height: 44px; padding-inline: 16px; }
  .ds-scene-controls button { width: 44px; height: 44px; }
  .ds-scene-controls > span { font-size: 0.75rem; }
}

@media (max-width: 380px) {
  .ds-scene-stage { height: 270px; }
  .ds-scene-controls > span { max-width: 95px; }
}

@media (max-width: 500px) {
  .brand-theme .pricing-flow .ds-metrics-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
