.catalog .live-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 18px}
.catalog .live-card{min-width:0}.catalog .live-card-gallery{margin-bottom:4px}
.catalog-photo-open{display:block;position:relative;width:100%;border:0;padding:0;background:#e9ece7;cursor:zoom-in;overflow:hidden;border-radius:8px;color:#263f33}
.catalog .catalog-photo-open .live-card-main-photo{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;margin:0!important;border-radius:0}
.catalog-zoom-label{position:absolute;right:6px;bottom:6px;padding:4px 7px;border-radius:5px;background:#fffffff0;font:11px/1.4 Arial,sans-serif}
.catalog .live-card-thumbnails{gap:5px;margin-top:6px;padding-bottom:5px}.catalog .live-card-thumbnail{flex-basis:32px;width:32px;height:42px}
.catalog-photo-open:focus-visible,.catalog-photo-viewer button:focus-visible{outline:3px solid #54755b;outline-offset:3px}
.catalog-photo-viewer{box-sizing:border-box;width:min(960px,94vw);height:min(900px,94dvh);max-width:94vw;max-height:94dvh;padding:56px 60px 46px;border:0;border-radius:16px;background:#f5f7f3;color:#263f33;overflow:hidden}
.catalog-photo-viewer::backdrop{background:rgba(15,25,20,.82)}
.photo-viewer-image{display:block;width:100%;height:100%;object-fit:contain}
.catalog-photo-viewer button{position:absolute;border:1px solid #c5cec6;background:#fff;color:#263f33;cursor:pointer;min-height:44px;font:16px/1.3 Arial,sans-serif;border-radius:8px}
.photo-viewer-close{right:12px;top:8px;padding:10px 14px}.photo-viewer-prev,.photo-viewer-next{top:calc(50% - 22px);width:44px}.photo-viewer-prev{left:8px}.photo-viewer-next{right:8px}.catalog-photo-viewer button[hidden]{display:none}
.photo-viewer-caption{position:absolute;bottom:12px;left:16px;right:16px;margin:0;text-align:center;font:13px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
@media(max-width:1400px){.catalog .live-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.catalog .live-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 14px}}
@media(max-width:760px){.catalog .live-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.catalog .live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.catalog-photo-viewer{width:96vw;max-width:96vw;padding:56px 8px 58px}.photo-viewer-prev,.photo-viewer-next{top:auto;bottom:8px}.photo-viewer-caption{bottom:20px;left:58px;right:58px;font-size:11px}.catalog .live-card-thumbnail{flex-basis:36px;width:36px;height:44px}}
