.product-gallery{width:100%;min-width:0}.gallery-main{display:block;aspect-ratio:1;background:#efefef;overflow:hidden}.gallery-main img{display:block;width:100%;height:100%;object-fit:contain;padding:0;mix-blend-mode:normal}.gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0;font-size:10px;color:#697269;letter-spacing:.3px}.gallery-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.gallery-thumb{display:block;aspect-ratio:1;border:1px solid transparent;padding:3px;background:#efefef;transition:border-color .15s}.gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}.gallery-thumb[aria-current=true]{border-color:#263f35}.gallery-thumb:hover{border-color:#87958b}.gallery-thumb:focus-visible,.gallery-main:focus-visible{outline:2px solid #263f35;outline-offset:3px}.product-gallery [data-gallery-error]{font-size:12px;padding:12px;color:#7a4329}.detail-photo:has(.product-gallery){display:block;background:transparent;min-height:0;padding:0}.detail-photo .product-gallery{position:static}.editorial-product-figure{min-width:0}@media(max-width:600px){.gallery-thumbnails{gap:5px}.gallery-meta{font-size:9px}.gallery-thumb{padding:2px}}

/* The gallery never navigates away from the product page. */
button.gallery-main{width:100%;padding:0;border:0;cursor:zoom-in}
button.gallery-thumb{min-width:0;cursor:pointer}
html.image-viewer-open{overflow:hidden}
dialog.gallery-lightbox{width:min(1120px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:none;margin:auto;padding:16px 24px;border:0;border-radius:2px;background:#f8f7f2;color:#263f35;overflow:hidden}
dialog.gallery-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.gallery-lightbox::backdrop{background:rgba(25,39,32,.75)}
.gallery-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:1px}
.gallery-lightbox button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #c4cbc2;border-radius:50%;background:#f8f7f2;color:#263f35;font-size:22px;line-height:1}
.gallery-lightbox button[hidden]{display:none}
.gallery-lightbox-stage{min-height:0;display:grid;place-items:center;position:relative}
.gallery-lightbox-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.gallery-lightbox-stage p{position:absolute;bottom:16px;padding:12px;background:#f8f7f2;font-size:13px}
.gallery-lightbox-controls{display:flex;justify-content:center;gap:20px}
@media(max-width:600px){dialog.gallery-lightbox{width:100%;height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));border-radius:0}.gallery-lightbox-toolbar{font-size:11px}}
