.rich-product .gallery{min-width:0}
.rich-product .gallery-main{aspect-ratio:1 / 1;min-height:0;height:auto;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}
.rich-product .gallery-main #main-product-image{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center;padding:22px;box-sizing:border-box}
.rich-product .thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px;overflow:visible}
.rich-product .thumbnail{width:100%;height:70px;padding:4px;border:1px solid #dde6ed;border-radius:8px;background:#fff;min-width:0}
.rich-product .thumbnail img{width:100%;height:100%;max-width:100%;object-fit:contain;padding:0!important}
.rich-product .thumbnail.active{border:2px solid #3477d4;box-shadow:0 0 0 2px #eaf3ff}
.rich-product .gallery-caption{line-height:1.6;font-size:12px;color:#62798b}
.rich-story{max-width:1060px;margin-inline:auto}
.rich-story .section-heading{align-items:flex-start;gap:28px}
.rich-story .section-heading h2{max-width:700px;font-size:clamp(27px,3.3vw,43px);line-height:1.15}
.rich-story .section-heading p{max-width:340px;line-height:1.7;color:#617486}
.rich-photo-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-items:start}
.rich-photo-grid figure{margin:0;overflow:hidden;border:1px solid #e0e8ef;border-radius:14px;background:#fff}
.rich-photo-grid .wide-art{grid-column:1 / -1}
.rich-photo-grid img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff}
.rich-photo-grid .photo-art img{height:auto;object-fit:contain}
.rich-photo-grid figcaption{display:flex;gap:12px;align-items:baseline;padding:18px 22px;line-height:1.5;font-size:14px;border-top:1px solid #edf1f5;background:#f8fbff;color:#18394e}
.rich-photo-grid figcaption span{color:#3c7bba;font-size:12px;letter-spacing:.08em}
.rich-media-note{font-size:12px;line-height:1.7;color:#687d8d;max-width:760px;margin:24px 0 0}
@media(max-width:760px){.rich-product .gallery-main{aspect-ratio:1 / 1}.rich-product .gallery-main #main-product-image{padding:12px}.rich-product .thumbnails{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.rich-product .thumbnail{height:57px}.rich-story .section-heading{display:block}.rich-story .section-heading p{max-width:none}.rich-photo-grid{grid-template-columns:1fr;gap:20px}.rich-photo-grid .photo-art img{height:auto;max-height:none}.rich-photo-grid figcaption{padding:14px 16px}.rich-story{padding-block:42px}}

/* Full-width detail images, preserving their original aspect ratios. */
.rich-product #product-images{max-width:1060px;margin-inline:auto}
.rich-product #product-images .detail-feature,.rich-product #product-images .detail-view-grid{grid-template-columns:minmax(0,1fr)}
.rich-product #product-images .detail-feature>img,.rich-product #product-images .detail-view-grid img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain}
