/* 360 spinner and hover zoom used when media loads from media.maskforce.com (replaces Sirv's viewer). */
.mf-spin { position: relative; display: block; max-width: 100%; margin: 0 auto; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.mf-spin.is-grabbing { cursor: grabbing; }
.mf-spin:focus { outline: none; }
.mf-spin:focus-visible { outline: 2px solid #C60C30; outline-offset: 2px; }
.mf-spin .mf-spin-frame { -webkit-touch-callout: none; display: block; width: 100%; height: auto; max-width: none; margin: 0; pointer-events: none; -webkit-user-drag: none; }
.mf-spin-bar { position: absolute; left: 25%; right: 25%; bottom: 10px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(0, 0, 0, 0.15); }
.mf-spin-bar i { display: block; width: 0; height: 100%; background: #C60C30; transition: width 0.15s linear; }
.mf-spin-badge { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); color: #fff; font: 700 12px/1 'Lato', sans-serif; letter-spacing: 0.04em; pointer-events: none; transition: opacity 0.4s; }
.mf-spin.is-used .mf-spin-badge { opacity: 0; }
.mf-spin.is-missing { display: none; }

.mf-zoom { position: relative; overflow: hidden; cursor: zoom-in; }
.mf-zoom img { display: block; width: 100%; height: auto; transition: transform 0.12s ease-out; will-change: transform; }
.mf-zoom.is-zoomed { cursor: zoom-out; }
@media (prefers-reduced-motion: reduce) { .mf-zoom img, .mf-spin-bar i { transition: none; } }

/* Several pictures in one zoom block: a gallery with thumbnails (Sirv's gallery) */
.mf-zoom.mf-gallery { overflow: visible; cursor: default; }
.mf-gallery > img:not(:first-child) { display: none; } /* before the script runs */
.mf-zoom-stage { position: relative; overflow: hidden; cursor: zoom-in; }
.mf-zoom.is-zoomed .mf-zoom-stage { cursor: zoom-out; }
.mf-zoom-stage img { display: none; }
.mf-zoom-stage img.is-current { display: block; }
.mf-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.mf-thumbs button { width: 56px; height: 56px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: 0.65; }
.mf-thumbs button.is-current, .mf-thumbs button:hover, .mf-thumbs button:focus-visible { border-color: #C60C30; opacity: 1; }
.mf-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mf-gallery-prev, .mf-gallery-next { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: #fff; font: 400 28px/1 'Lato', sans-serif; cursor: pointer; }
.mf-gallery-prev { left: 6px; }
.mf-gallery-next { right: 6px; }
.mf-gallery-prev:hover, .mf-gallery-next:hover { background: #C60C30; }
