.hardware-embed,.hardware-embed *{box-sizing:border-box}
.hardware-embed{position:relative;isolation:isolate;display:block;width:100%;aspect-ratio:3/2;min-height:240px;overflow:hidden;border:1px solid #deded6;border-radius:8px;background:#eeeae3;color:#282e28}
.hardware-embed .hardware-embed__frame{position:absolute;inset:0;outline:none;touch-action:pan-y}
.hardware-embed .hardware-embed__frame:focus-visible{outline:2px solid #405c4e;outline-offset:-4px}
.hardware-embed .hardware-embed__frame canvas{display:block;width:100%;height:100%;touch-action:pan-y}
.hardware-embed .hardware-embed__controls{position:absolute;right:12px;bottom:12px;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:6px;max-width:calc(100% - 24px)}
.hardware-embed .hardware-embed__toggle,.hardware-embed .hardware-embed__material,.hardware-embed .hardware-embed__finish,.hardware-embed .hardware-embed__fullscreen{display:inline-flex;align-items:center;justify-content:center;height:48px;min-width:48px;min-height:48px;margin:0;border:1px solid #cbd0c4;border-radius:8px;background:#fffefaf2;color:#282e28;box-shadow:0 2px 8px #25332216;cursor:pointer;touch-action:manipulation;font:inherit}
.hardware-embed .hardware-embed__toggle,.hardware-embed .hardware-embed__fullscreen{width:48px;padding:0;flex:none}
.hardware-embed .hardware-embed__material{min-width:64px;padding:0 10px;font-size:13px;white-space:nowrap}
.hardware-embed .hardware-embed__finishes{display:flex;gap:4px}
.hardware-embed .hardware-embed__finish{min-width:56px;padding:0 6px;gap:4px;font-size:12px;white-space:nowrap}
.hardware-embed .hardware-embed__swatch{display:block;flex:none;width:14px;height:14px;border:1px solid #969b90;border-radius:50%}
.hardware-embed .hardware-embed__material[aria-pressed=true],.hardware-embed .hardware-embed__finish[aria-pressed=true]{border-color:#405c4e;box-shadow:inset 0 0 0 1px #405c4e;font-weight:600}
.hardware-embed .hardware-embed__toggle[aria-pressed=true]{background:#282e28;border-color:#282e28;color:#fff}
.hardware-embed .hardware-embed__controls button:disabled{opacity:.45;cursor:wait}
.hardware-embed .hardware-embed__toggle svg,.hardware-embed .hardware-embed__fullscreen svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hardware-embed .hardware-embed__controls button:focus-visible,.hardware-embed .hardware-embed__error :is(a,button):focus-visible{outline:2px solid #405c4e;outline-offset:3px}
.hardware-embed .hardware-embed__error{position:absolute;inset:0;z-index:2;display:grid;place-content:center;justify-items:center;gap:12px;padding:20px;text-align:center;background:#f7f6f3f5;font:inherit}
.hardware-embed .hardware-embed__error p{max-width:26em;margin:0;font-size:.9375rem;line-height:1.6}
.hardware-embed .hardware-embed__error-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px}
.hardware-embed .hardware-embed__error :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;font:inherit;font-size:.875rem;color:inherit}
.hardware-embed .hardware-embed__error button{border:1px solid #a8b29d;border-radius:6px;background:#fff;cursor:pointer}
.hardware-embed [hidden]{display:none!important}
.hardware-embed[data-demo=wardrobe]{aspect-ratio:auto;height:clamp(320px,62svh,640px)}
@media(max-width:480px){.hardware-embed .hardware-embed__controls{right:10px;bottom:10px;max-width:calc(100% - 20px)}}
@media(max-height:500px) and (min-width:600px){.hardware-embed{max-height:70svh}}
.hardware-embed[data-model-fullscreen]{position:fixed;inset:0;z-index:2147483646;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;min-height:0;max-height:none;aspect-ratio:auto;margin:0!important;border:0;border-radius:0}
.hardware-embed[data-model-fullscreen] .hardware-embed__controls{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
.hardware-embed[data-model-fullscreen] .hardware-embed__frame,.hardware-embed[data-model-fullscreen] .hardware-embed__frame canvas{touch-action:none}
.hardware-embed[data-state=error][data-model-fullscreen] .hardware-embed__controls{display:flex!important;z-index:3}
.hardware-embed[data-state=error][data-model-fullscreen] .hardware-embed__controls>:not(.hardware-embed__fullscreen){display:none!important}
@media(max-width:480px){.hardware-embed .hardware-embed__finish{width:44px;min-width:44px;padding:3px 1px;flex-direction:column;gap:2px;font-size:10px}.hardware-embed .hardware-embed__swatch{width:14px;height:14px}}
