.commerce-detail-image.commerce-gallery{min-width:0;max-height:none}@media (min-width:900px){.commerce-detail-image.commerce-gallery{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"thumbs stage"".toolbar";align-items:start;column-gap:14px;display:grid}.commerce-gallery-stage{border-radius:10px;grid-area:stage}.commerce-gallery-toolbar{grid-area:toolbar}.commerce-gallery-thumbnails{flex-direction:column;grid-area:thumbs;padding:0;overflow:visible}.commerce-gallery-thumbnails button{width:72px;height:72px}}.commerce-gallery-stage{aspect-ratio:1;max-height:min(560px, max(280px, calc(100svh - var(--store-header-height) - 230px)));background:var(--store-surface);touch-action:pan-y pinch-zoom;position:relative;overflow:hidden}.commerce-gallery-slide{pointer-events:none;position:absolute;inset:0}.commerce-gallery-stage .commerce-media{aspect-ratio:auto;width:100%;height:100%}.commerce-gallery-stage img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.commerce-gallery-toolbar,.commerce-gallery-controls{align-items:center;display:flex}.commerce-gallery-toolbar{justify-content:space-between;gap:8px;padding-block:12px}.commerce-gallery button{min-width:44px;min-height:44px;color:var(--store-accent);border-radius:var(--store-radius);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:6px;display:inline-flex}.commerce-gallery button:hover{background:var(--store-soft)}.commerce-gallery-count{font-variant-numeric:tabular-nums;text-align:center;min-width:100px;font-size:14px}.commerce-gallery-thumbnails{scrollbar-width:thin;scrollbar-color:var(--store-accent) var(--store-soft);gap:10px;padding:5px;display:flex;overflow-x:auto}.commerce-gallery-thumbnails button{border:1px solid var(--store-line);border-radius:var(--store-radius);width:64px;height:64px;padding:3px;overflow:hidden}.commerce-gallery-thumbnails button[aria-pressed=true]{border:2px solid var(--store-accent);background:var(--store-soft)}.commerce-gallery-thumbnails .commerce-media{aspect-ratio:auto;width:100%;height:100%;padding:0}.commerce-gallery-thumbnails .commerce-no-image span{display:none}.commerce-gallery-thumbnails .commerce-no-image svg{width:20px;height:20px}@media (max-width:639px){.commerce-gallery-stage{max-height:360px}}
