/* Portrait rooms preserve each product's original image and outline. */
#room-panorama{position:relative}
#room-products{position:absolute;inset:0;z-index:0;pointer-events:none}
#hotspots{position:absolute;inset:0;z-index:1;pointer-events:none}
#hotspots .hotspot{pointer-events:auto}
.room-product-placement{position:absolute;isolation:isolate;transform:rotate(var(--product-angle,0deg));transform-origin:50% 0;pointer-events:none}
.room-product-placement .product-visual{position:relative;z-index:1;width:100%;height:100%;aspect-ratio:auto;background:transparent;overflow:visible}
.room-product-placement .photo-full{padding:0}
.room-product-placement .product-cutout{width:100%;height:100%;overflow:visible}
.room-product-placement :is(img,.product-cutout){filter:drop-shadow(1px 3px 2px #0003)}
.room-product-dog,.room-product-grounded{transform-origin:50% 100%}
.room-product-dog:before,.room-product-grounded:before{content:'';position:absolute;z-index:0;left:15%;right:15%;height:5%;bottom:0;background:#0005;border-radius:50%;filter:blur(3px)}
.room-product-dog :is(img,.product-cutout),.room-product-grounded :is(img,.product-cutout){filter:drop-shadow(0 1px 1px #0002)}
#room-panorama>.room-caption{top:auto;left:auto;right:clamp(12px,2vw,28px);bottom:clamp(12px,2vw,28px);z-index:2;height:auto;display:block;max-width:75%;transform:none;white-space:normal;text-align:right;padding:10px 14px;background:#1919199e;border-radius:2px;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);pointer-events:none}
#room-panorama>.room-caption h2{margin:0;font-size:clamp(22px,3vw,40px);line-height:1.05;font-weight:500;letter-spacing:-.8px;color:#fff;text-shadow:0 1px 2px #0004}
@media(max-width:700px){
 .room-topbar #leave-room{font-size:0;gap:0;padding:0;width:32px;height:32px;justify-content:center}
 .room-topbar #leave-room>span{font-size:15px}
 #room-panorama>.room-caption{right:12px;bottom:12px;padding:9px 12px;max-width:75%}
 #room-panorama>.room-caption h2{font-size:24px;letter-spacing:-.5px}
 .room-product-placement :is(img,.product-cutout){filter:drop-shadow(1px 2px 1px #0003)}
 .room-product-dog :is(img,.product-cutout),.room-product-grounded :is(img,.product-cutout){filter:drop-shadow(0 1px 1px #0002)}
}
