.catalog-gallery{min-width:0;font:400 13px/1.5 var(--font-body);color:var(--product-ink)}
.catalog-gallery-stage{position:relative;aspect-ratio:1;background:var(--product-surface);border:1px solid var(--product-line);border-radius:16px;overflow:hidden;touch-action:pan-y}
.catalog-gallery-panel{position:absolute;inset:0;margin:0!important}
.catalog-gallery-panel[hidden]{display:none!important}
.catalog-gallery-panel img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}
.catalog-gallery-panel figcaption{position:absolute;bottom:12px;left:12px;right:12px;font:400 11px/1.5 var(--font-body);background:#fdfcf8e8;color:var(--product-muted);padding:8px 11px;border-radius:5px}
.catalog-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0}
.catalog-gallery-step{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--product-line);background:#fdfcf8;border-radius:7px;color:var(--product-ink);font:500 18px/1 var(--font-body);cursor:pointer}
.catalog-gallery-step:disabled{opacity:.35;cursor:default}
.catalog-gallery-status{font-size:12px;font-variant-numeric:tabular-nums;color:var(--product-muted)}
.catalog-gallery-thumbs{display:grid;grid-template-columns:repeat(var(--gallery-count),minmax(0,1fr));gap:10px}
.catalog-gallery-thumb{display:flex;align-items:center;justify-content:center;min-width:0;min-height:70px;padding:5px;border:1px solid var(--product-line);border-radius:7px;background:var(--product-surface);cursor:pointer}
.catalog-gallery-thumb img{display:block;width:100%;height:68px;object-fit:contain}
.catalog-gallery-thumb[aria-pressed="true"]{border-color:var(--product-ink);box-shadow:inset 0 0 0 1px var(--product-ink)}
.catalog-gallery button:focus-visible,.catalog-gallery-stage:focus-visible{outline:3px solid #996410;outline-offset:3px}
@media(hover:hover){.catalog-gallery-step:not(:disabled):hover,.catalog-gallery-thumb:hover{border-color:var(--product-ink);background:#e7ece2}}
@media(max-width:600px){.catalog-gallery-stage{border-radius:12px}.catalog-gallery-thumbs{gap:8px}.catalog-gallery-thumb img{height:54px}.catalog-gallery-thumb{min-height:64px}.catalog-gallery-panel figcaption{bottom:9px;left:9px;right:9px;font-size:10px;padding:6px 9px}}
