/* Product detail gallery: scoped to the catalog product template. */
.catalog-product-gallery{min-width:0;margin:0}.catalog-product-gallery__stage{position:relative;display:grid;place-items:center;overflow:visible;min-height:0;aspect-ratio:1/1;grid-template-rows:minmax(0,1fr);border:1px solid #d9e8f2;border-radius:22px;background:#fff}.catalog-product-gallery__stage>[data-gallery-main]{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;align-self:stretch;justify-self:stretch;object-fit:contain;border-radius:inherit;cursor:zoom-in}.catalog-product-gallery__arrow{position:absolute;z-index:3;top:50%;display:grid;place-items:center;width:15px;height:15px;padding:0;appearance:none;border:0;border-radius:50%;background:rgba(6,35,66,.72);box-shadow:0 2px 9px rgba(0,20,42,.32);color:#fff;transform:translateY(-50%);cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease}.catalog-product-gallery__arrow svg{display:block;width:8px;height:8px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.catalog-product-gallery__arrow:hover{background:rgba(0,117,170,.9);box-shadow:0 3px 12px rgba(0,20,42,.4)}.catalog-product-gallery__arrow:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px rgba(0,105,157,.72),0 3px 12px rgba(0,20,42,.4)}.catalog-product-gallery__arrow.is-prev{left:12px}.catalog-product-gallery__arrow.is-next{right:12px}.catalog-product-gallery__count{position:absolute;z-index:2;right:12px;bottom:12px;padding:5px 9px;border-radius:20px;background:rgba(6,35,66,.76);box-shadow:0 2px 8px rgba(0,20,42,.22);color:#fff;font-size:13px}.catalog-product-gallery__zoom{position:fixed;z-index:1000;top:0;left:0;width:min(460px,42vw);height:min(460px,42vw,calc(100vh - 24px));overflow:hidden;border:1px solid #d7e5ef;border-radius:14px;background:#fff;box-shadow:0 14px 36px rgba(3,31,58,.2);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease}.catalog-product-gallery__zoom.is-visible{opacity:1;visibility:visible;pointer-events:auto}.catalog-product-gallery__zoom img{position:absolute;top:0;left:0;display:block;max-width:none;width:auto;height:auto;object-fit:contain;pointer-events:none}.catalog-product-gallery__thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 4px}.catalog-product-gallery__thumb{flex:0 0 72px;width:72px;height:72px;overflow:hidden;padding:3px;border:1px solid #d9e8f2;border-radius:10px;background:#fff;cursor:pointer}.catalog-product-gallery__thumb.is-active{border:2px solid #008fca}.catalog-product-gallery__thumb img{display:block;width:100%;height:100%;object-fit:contain}.catalog-product-gallery figcaption{margin-top:8px;color:#607b92;font-size:13px}@media(max-width:900px){.catalog-product-gallery__zoom{display:none}}@media(max-width:700px){.catalog-product-gallery__stage{min-height:0;aspect-ratio:1/1;border-radius:16px}.catalog-product-gallery__stage>[data-gallery-main]{max-width:100%;max-height:100%}.catalog-product-gallery__arrow{width:14px;height:14px}.catalog-product-gallery__thumb{flex-basis:62px;width:62px;height:62px}}
