.catalog-gallery{width:100%;min-width:0;letter-spacing:0;outline-offset:4px}
.catalog-gallery-stage{position:relative;display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);aspect-ratio:1 / 1;max-height:680px;width:100%;background:#fff;overflow:hidden}
.catalog-gallery-slide{grid-area:1 / 1;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:100%;padding:12px;box-sizing:border-box;cursor:zoom-in}
.catalog-gallery-slide[hidden]{display:none!important}
.catalog-gallery-slide img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}

/* Symbols do not take up space in the photo grid or intercept the zoom link. */
.catalog-gallery-symbols{position:absolute;inset:12px 12px auto;display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;pointer-events:none}
.catalog-gallery-symbols img{display:block;width:auto;height:auto;max-width:76px;max-height:38px;object-fit:contain}
/* NY is a compact label. Leave more room for illustrated quality marks. */
.catalog-gallery-symbols .catalog-gallery-symbol-new{max-width:36px;max-height:20px}

/* Center short strips. Longer strips scroll independently while the arrows
 * and the main stage keep the same dimensions. */
.catalog-gallery-controls{display:flex;justify-content:center;align-items:center;gap:10px;padding:12px 0 0}
.catalog-gallery .catalog-gallery-arrow{flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#fff;color:#282828;font-size:20px;line-height:1;cursor:pointer}
.catalog-gallery-prev .icon{transform:scaleX(-1)}
.catalog-gallery .catalog-gallery-arrow:hover{background:#f0eae3}
.catalog-gallery .catalog-gallery-arrow:focus-visible,.catalog-gallery-slide:focus-visible{outline:2px solid #146cc2;outline-offset:-3px}
.catalog-gallery-thumbnails{--thumb-size:62px;display:flex;min-width:0;gap:10px;padding:3px;overflow-x:auto;scrollbar-width:none}
.catalog-gallery-thumbnails::-webkit-scrollbar{display:none}
.catalog-gallery-thumbnails button{display:grid;place-items:center;flex:0 0 var(--thumb-size);width:var(--thumb-size);height:var(--thumb-size);border:2px solid transparent;border-radius:50%;background:#fff;padding:2px;overflow:hidden;cursor:pointer}
.catalog-gallery-thumbnails img{display:block;width:100%;height:100%;min-width:0;min-height:0;border-radius:50%;object-fit:contain}
.catalog-gallery-thumbnails [aria-current=true],.catalog-gallery-thumbnails button:hover{border-color:#282828}
.catalog-gallery-thumbnails button:focus-visible{outline:2px solid #146cc2;outline-offset:1px}
.catalog-gallery-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#687078}.catalog-gallery-empty i{font-size:40px}
.pswp{z-index:100000!important}
@media(max-width:600px){
    .catalog-gallery-stage{max-height:none}
    .catalog-gallery-slide{padding:8px}
    .catalog-gallery-controls,.catalog-gallery-thumbnails{gap:8px}
    .catalog-gallery-thumbnails{--thumb-size:46px}
    .catalog-gallery-symbols{inset:8px 8px auto}
    .catalog-gallery-symbols img{max-height:30px}
}
@media(prefers-reduced-motion:reduce){.catalog-gallery *{scroll-behavior:auto!important}}
