.cr-gallery-shell{min-width:0}
.cr-frame{min-width:0;background:#151515}
.cr-frame:first-child,.cr-frame.cr-primary{grid-column:1/-1}
.cr-media-gallery:has(.cr-primary) .cr-frame:first-child:not(.cr-primary){grid-column:auto}
.cr-frame.cr-primary{order:-1}
.cr-frame img,.cr-frame video,.cr-frame iframe{display:block;width:100%;height:auto;object-fit:contain}
.cr-media-gallery.cr-slides{display:flex!important;position:relative;overflow-x:auto;scroll-snap-type:x mandatory;gap:0!important}
.cr-slides .cr-frame{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:1;display:grid;place-items:center}
.cr-slides .cr-frame img,.cr-slides .cr-frame video{height:100%;max-height:100%;object-fit:contain}
.cr-gallery-controls,.cr-color-picker{display:flex;align-items:center;gap:.6rem;padding:.65rem 0}
.cr-color-picker{overflow-x:auto}
.cr-gallery-controls{justify-content:center}
.cr-gallery-controls[hidden],.cr-color-picker[hidden]{display:none}
.cr-gallery-controls button,.cr-color-picker button,.cr-photo-dialog button{min-height:44px;padding:0 12px;background:#151515;color:#fff;border:1px solid #555;cursor:pointer;white-space:nowrap}
.cr-color-picker button[aria-pressed=true]{border-color:#fff}
.cr-gallery-controls button:disabled,.cr-color-picker button:disabled{opacity:.5;cursor:default}
.craners-catalog-image{position:relative}
.cr-zoom-photo{position:absolute;inset:0;cursor:zoom-in}
.cr-zoom-photo:focus-visible{outline:2px solid white;outline-offset:-3px}
.cr-photo-dialog{padding:0;border:0;background:#151515;color:#fff;max-width:min(96vw,1200px);max-height:94dvh}
.cr-photo-dialog::backdrop{background:#000d}
.cr-photo-dialog img{display:block;max-width:100%;max-height:90dvh;object-fit:contain}
.cr-photo-dialog form{position:absolute;right:8px;top:8px}
 
.cr-frame{position:relative}

.cr-media-gallery.cr-slides{scrollbar-width:thin;scrollbar-color:#666 #1a1a1a}
.cr-media-gallery.cr-slides:focus-visible{outline:2px solid currentColor;outline-offset:3px}
