html.rimura-simulator-open { overflow: hidden; }
dialog.rimura-product-simulator {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #faf9f6; color: #292521;
  overflow: hidden; box-shadow: 0 12px 60px #0005;
}
dialog.rimura-product-simulator[open] { display: flex; flex-direction: column; }
dialog.rimura-product-simulator::backdrop { background: #000a; }
.rimura-product-simulator-bar { display:flex; align-items:center; justify-content:space-between; padding: 0 12px 0 20px; min-height:48px; flex-shrink:0; font:14px Arial,sans-serif; }
.rimura-product-simulator-bar button { width:44px; height:44px; padding:0; border:0; background:transparent; color:inherit; font:30px Arial,sans-serif; cursor:pointer; }
.rimura-product-simulator iframe { display:block; width:100%; flex:1; min-height:0; border:0; background:#fff; }
@media(max-width:650px) { dialog.rimura-product-simulator { width:100vw; height:100vh; height:100dvh; border-radius:0; } }
