/* User-configured heights; explicit details and square frames retain their proportions. */
.furniture-product-hero{position:relative;width:100%;background:var(--furniture-surface,#f1f1f1);color:#171717}
.furniture-product-hero .furniture-product-gallery{display:flex;gap:8px;padding:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.furniture-product-hero .furniture-product-gallery::-webkit-scrollbar{display:none}
.furniture-product-hero .furniture-product-gallery figure{position:relative;flex:0 0 auto;width:min(100%,calc(var(--furniture-gallery-height) * var(--furniture-image-ratio,1.33333)));height:var(--furniture-gallery-height);margin:0;scroll-snap-align:start}
.furniture-product-hero .furniture-product-gallery:not([data-gallery-layout="proportional"]):not([data-gallery-layout="first-full"]) figure.furniture-gallery-frame--standard{flex-basis:100%;width:100%}
.furniture-product-hero .furniture-product-gallery a{display:block;width:100%;height:100%}
.furniture-product-hero .furniture-product-gallery img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.furniture-product-hero .furniture-product-gallery figure.furniture-gallery-frame--standard img{object-fit:var(--furniture-model-gallery-fit,contain)}
.furniture-product-hero .furniture-product-gallery a:focus-visible{outline:3px solid #171717;outline-offset:-5px}
.furniture-product-hero .furniture-product-gallery figcaption{position:absolute;left:16px;bottom:16px;max-width:calc(100% - 32px);padding:8px 12px;background:rgba(255,255,255,.9);font-size:13px;pointer-events:none}
.furniture-product-hero .furniture-gallery-controls{position:absolute;right:24px;bottom:20px;gap:16px;padding:4px 8px;background:rgba(255,255,255,.9);border-radius:32px}
.furniture-product-hero .furniture-gallery-controls button{width:44px;height:44px}
#furniture-content>.furniture-product-hero+.furniture-breadcrumbs{padding-top:24px}
@media(max-width:767px){
 .furniture-product-hero{padding-top:var(--furniture-header-height,72px)}
 .furniture-product-hero .furniture-gallery-controls{right:16px;bottom:16px;gap:10px}
 .furniture-product-hero .furniture-product-gallery figcaption{bottom:76px}
}

.furniture-product-hero .furniture-product-gallery:is([data-gallery-layout="proportional"],[data-gallery-layout="first-full"])>figure{flex:0 0 auto;width:calc(var(--furniture-gallery-height) * var(--furniture-image-ratio,1.333333))}

.furniture-product-hero .furniture-product-gallery[data-gallery-layout="first-full"]>figure:first-child{flex:0 0 100%;width:100%}
