/* Native-ratio media and progressive product galleries. No fixed-height frames. */
.template-home .hero-photo img,.page-photo>img,.sample-photo img,.article-image img,.editorial-card img,.product-gallery img {display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.template-home .hero-photo,.page-photo,.sample-photo {height:auto;min-height:0}
.product-gallery{padding-block:36px;background:#f5efe4 var(--motif-examples-pressed-tabs, url("examples-pressed-tabs.svg")) right top/260px auto no-repeat}
.product-gallery-intro{max-width:720px;margin-bottom:20px}
.product-gallery-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 18px;list-style:none;align-items:flex-start}
.product-gallery-track>li{flex:0 0 calc((100% - 44px)/3);min-width:0;scroll-snap-align:start}
.product-gallery figure{margin:0}.product-gallery a{display:block;outline-offset:4px}.product-gallery figcaption{padding:12px 0;font-size:15px;line-height:1.5}
.product-gallery-track:focus-visible{outline:2px solid #5d693a;outline-offset:6px}
.owned-example-note{font-size:14px;line-height:1.5;color:#5f6158;margin:12px 0}
.owned-image-dialog{width:min(1160px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:16px;border:1px solid #79745f;background:#f8f4eb;overflow:auto}
.owned-image-dialog::backdrop{background:rgb(30 32 24/.78)}.owned-image-dialog button{position:sticky;top:0;display:block;margin:0 0 12px auto;padding:10px 16px;border:1px solid #79745f;background:#fff;color:#292d23;cursor:pointer}.owned-image-dialog img{display:block;width:100%;height:auto}.owned-image-dialog p{margin-bottom:0}
@media(max-width:760px){.product-gallery-track>li{flex-basis:82%}.product-gallery-track{gap:16px}}

.hero-specimen .hero-catalog-photo img{width:100%;height:auto;object-fit:contain}.hero-catalog-photo{height:auto;background:transparent}

img[data-owned-product-image]{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}

.product-gallery h2{font-size:32px;line-height:1.2;letter-spacing:-.03em}
@media(max-width:760px){.product-gallery h2{font-size:28px}}
