/* V8: actual product models and viewport-led storytelling. */
.configurator-app{--chair-ease:cubic-bezier(.22,.8,.24,1)}
.configurator-app .chair-panel,.configurator-app .chair-controls,.configurator-app .chair-views{transition:opacity .65s var(--chair-ease),transform .65s var(--chair-ease)}
.configurator-app[data-interaction="waiting"] .chair-panel{opacity:.2;transform:translateX(10px)}
.configurator-app[data-interaction="waiting"] .chair-controls,.configurator-app[data-interaction="waiting"] .chair-views{opacity:0;visibility:hidden}
.chair-reveal-label{display:block!important;margin-top:24px;font-size:10px!important;color:#546856!important;letter-spacing:.1em!important}
.configurator-app[data-phase="ready"] .chair-reveal-label{color:#7f8c79!important}
.chair-original{background:linear-gradient(140deg,#ecdfca,#a7835d);display:grid;place-items:center;color:#fff;font-size:20px}
.chair-swatches{gap:9px;flex-wrap:wrap}.chair-swatch{width:32px;height:32px}
.chair-options.materials{grid-template-columns:repeat(3,1fr)}
.configurator-app[data-model-loading="true"] .chair-title:after{content:'Cargando acabado…';display:block;color:#6f7d63;font-size:11px;margin-top:12px}
.chair-view[data-state="error"]~.chair-panel{opacity:1;transform:none}
.chair-loading{background:linear-gradient(140deg,#ebe8e0,#d9d9ce)}
.chair-loading:before{content:'';width:36px;height:36px;border:1px solid #859077;border-top-color:transparent;border-radius:50%;position:absolute;top:calc(50% - 55px);animation:chair-loading-turn 1s linear infinite}
.chair-view[data-state="error"] .chair-loading:before{display:none}
@keyframes chair-loading-turn{to{transform:rotate(360deg)}}
@media(max-width:760px){.chair-reveal-label{margin-top:15px}.chair-swatches{gap:12px}.chair-swatch{width:36px;height:36px}.chair-options.materials{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){.configurator-app .chair-panel,.configurator-app .chair-controls,.configurator-app .chair-views{transition:none}.chair-loading:before{animation:none}}

/* The interface arrives after the material and lighting; interaction unlocks last. */
.configurator-app[data-phase="interface"] .chair-panel{opacity:.9;transform:none}
.configurator-app[data-phase="ready"] .chair-panel{opacity:1;transform:none}
