﻿/* The 3D walkthrough box on the Design page (Views/Designs/Design.cshtml, Scripts/design-walkthrough-box.js). */
.dwt-box { position: relative; width: 100%; height: min(72vh, 680px); min-height: 360px; overflow: hidden; background: #CBD7DC; border-radius: .5rem; }
.dwt-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dwt-start-wrap { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; background: linear-gradient(rgba(20,22,24,.15), rgba(20,22,24,.55)); }
.dwt-start-wrap p { margin: 0; color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.dwt-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.dwt-box.dwt-on .dwt-cover, .dwt-box.dwt-on .dwt-start-wrap { display: none; }
.dwt-shield { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; width: 100%; background: rgba(20,22,24,.18); color: #fff; font: 500 15px system-ui, sans-serif; cursor: pointer; }
.dwt-shield span { background: rgba(26,28,27,.78); border-radius: 9px; padding: 10px 16px; }
.dwt-shield[hidden] { display: none; }
