/* Product media: 3D first, matching still image directly below. */
.atelier-storefront .product-media{min-width:0;width:100%;display:flex;flex-direction:column;gap:14px}
.atelier-storefront .door-viewer{border:1px solid #807368;border-radius:8px;background:#887d73;overflow:hidden;min-width:0}
.atelier-storefront .viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px 0;color:#fbf8f1}
.atelier-storefront .viewer-heading .eyebrow{font-size:9px;letter-spacing:1.8px;color:#fbf8f1}
.atelier-storefront [data-model-caption]{font:10px/1.4 var(--sans);white-space:nowrap}
.atelier-storefront .door-3d-stage{height:400px;position:relative;width:100%;min-width:0;background:#887d73}
.atelier-storefront .door-3d-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none;outline-offset:-5px}
.atelier-storefront .door-3d-stage canvas:active{cursor:grabbing}
.atelier-storefront .viewer-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;padding:35px;text-align:center;font:25px/1.3 var(--serif);color:#fbf8f1}
.atelier-storefront .viewer-unavailable .viewer-fallback{display:flex}
.atelier-storefront .viewer-unavailable .door-3d-stage{height:170px}
.atelier-storefront .viewer-unavailable canvas{display:none}
.atelier-storefront .viewer-controls{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px 0;flex-wrap:wrap}
.atelier-storefront .viewer-controls button{border:1px solid #c9cebe;background:#f6f2eb;color:#455638;border-radius:4px;min-width:38px;min-height:40px;padding:8px 12px;font:12px/1.2 var(--sans);letter-spacing:0;text-transform:none}
.atelier-storefront .viewer-controls button[aria-pressed="true"]{background:#465b36;border-color:#465b36;color:white}
.atelier-storefront .viewer-controls button:hover:not(:disabled){box-shadow:0 0 0 1px #465b36}
.atelier-storefront .door-viewer .viewer-status{font:11px/1.5 var(--sans);color:#fbf8f1;text-align:center;padding:0 14px;margin:12px 0 0}
.atelier-storefront .door-viewer .viewer-size-note{font:10px/1.5 var(--sans);color:#f1e7dd;text-align:center;margin:3px 0 15px}
.atelier-storefront .product-media .product-photo{margin:0;display:flex;align-items:center;justify-content:flex-start;gap:20px;padding:14px;border:1px solid var(--line);border-radius:6px;background:#f8f7f2;text-align:left;min-width:0}
.atelier-storefront .product-media .product-photo .door{width:150px;height:150px;aspect-ratio:1;object-fit:contain;flex:none;margin:0;border-radius:3px}
.atelier-storefront .product-media .product-photo figcaption{min-width:0;flex:1}
.atelier-storefront .product-media .product-photo .eyebrow{font-size:9px;letter-spacing:1.7px}
.atelier-storefront .product-media .product-photo .placeholder-note{font-size:11px;margin:6px 0}
.atelier-storefront .product-media .product-photo .text-button{padding:5px 0;font-size:12px;gap:8px;min-height:40px}
.atelier-storefront .product-media .product-photo .icon{width:16px;height:16px}
.atelier-storefront .builder-main{align-items:start}
@container surface (max-width:760px){
 .atelier-storefront .product-upper,.atelier-storefront .builder-main{grid-template-columns:minmax(0,1fr);gap:24px}
 .atelier-storefront .door-3d-stage{height:365px}
 .atelier-storefront .product-media .product-photo .door{width:130px;height:130px}
 .atelier-storefront .viewer-controls button{min-height:44px}
 .atelier-storefront .product-copy{padding:0}
}
@container surface (max-width:400px){
 .atelier-storefront .viewer-heading{padding:12px 12px 0;gap:8px}
 .atelier-storefront .viewer-heading .eyebrow{font-size:8px;letter-spacing:1px}
 .atelier-storefront [data-model-caption]{font-size:9px}
 .atelier-storefront .door-3d-stage{height:330px}
 .atelier-storefront .viewer-controls{gap:5px;padding:8px 6px 0}
 .atelier-storefront .viewer-controls button{padding:8px;min-width:35px;font-size:11px}
 .atelier-storefront .product-media .product-photo{gap:12px;padding:10px}
 .atelier-storefront .product-media .product-photo .door{width:110px;height:110px}
}
