#mhfp-data-images-gallery {
            position: fixed !important;
            inset: 0 !important;
            z-index: 2147483647 !important;
            display: none !important;
            background: rgba(0,0,0,.94) !important;
            font-family: Arial, sans-serif !important;
            box-sizing: border-box !important;
            /* The 84px top safe zone keeps rails below the 56px close button. */
            --mhfp-gallery-stage-top: 84px;
            --mhfp-gallery-stage-bottom: 132px;
            --mhfp-gallery-stage-gutter: 78px;
            --mhfp-gallery-arrow-width: 56px;
            --mhfp-gallery-arrow-edge: 12px;
            /* JS measures the unzoomed visible image; fallback is stage-sized. */
            --mhfp-gallery-arrow-photo-top: var(--mhfp-gallery-stage-top);
            --mhfp-gallery-arrow-photo-height: calc(100% - var(--mhfp-gallery-stage-top) - var(--mhfp-gallery-stage-bottom));
            --mhfp-gallery-arrow-center-y: 50%;
        }

        #mhfp-data-images-gallery.is-open {
            display: block !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-stage {
            position: absolute !important;
            left: 0 !important;
            right: 0 !important;
            top: var(--mhfp-gallery-stage-top) !important;
            bottom: var(--mhfp-gallery-stage-bottom) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            /* Image stays inside the panel's inside edge on all aspect ratios. */
            padding: 0 var(--mhfp-gallery-stage-gutter) !important;
            box-sizing: border-box !important;
            overflow: hidden !important;
            /* Limit touch gesture capture to the opened photo stage; do not
               interfere with page scroll or the thumbnail strip. */
            touch-action: none !important;
            overscroll-behavior: contain !important;
        }

        /* v2.4.5: desktop cursor-centered click zoom, plus mobile pinch/pan.
           Only the fullscreen viewer is affected; gallery controls stay native. */
        html body #mhfp-data-images-gallery .mhfp-gallery-stage img.mhfp-gallery-image {
            cursor: zoom-in !important;
            touch-action: none !important;
            user-select: none !important;
            -webkit-user-select: none !important;
            -webkit-user-drag: none !important;
            -webkit-touch-callout: none !important;
            transform-origin: 0 0 !important;
            will-change: transform;
        }

        html body #mhfp-data-images-gallery .mhfp-gallery-stage img.mhfp-gallery-image.is-zoomed {
            cursor: grab !important;
        }

        html body #mhfp-data-images-gallery .mhfp-gallery-stage.is-mouse-panning,
        html body #mhfp-data-images-gallery .mhfp-gallery-stage.is-mouse-panning img.mhfp-gallery-image {
            cursor: grabbing !important;
            user-select: none !important;
            -webkit-user-select: none !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-stage img {
            max-width: 88vw !important;
            max-height: calc(100vh - 174px) !important;
            width: auto !important;
            height: auto !important;
            object-fit: contain !important;
            display: block !important;
            border: 0 !important;
            box-shadow: none !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-loader {
            color: #fff !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            background: rgba(0,0,0,.65) !important;
            padding: 12px 18px !important;
            border-radius: 8px !important;
        }

        /* v2.4.11: Gold close X with a smooth gradient-darkening hover,
           restored icon rotation, and no pop/scale of the button.
           Keep photo-centered arrows and mobile dimensions unchanged. */
        html body #mhfp-data-images-gallery .mhfp-gallery-close {
            position: absolute !important;
            top: 14px !important;
            right: 16px !important;
            z-index: 40 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 56px !important;
            height: 56px !important;
            min-width: 56px !important;
            min-height: 56px !important;
            padding: 0 !important;
            border: 1.5px solid rgba(255,201,13,.55) !important;
            border-radius: 50% !important;
            /* Match the translucent navy starting state of the gallery arrows. */
            background: linear-gradient(145deg, rgba(37,41,59,.32), rgba(20,23,35,.52)) !important;
            color: #FFC90D !important;
            font: 400 40px/1 Arial, sans-serif !important;
            text-align: center !important;
            text-shadow: none !important;
            box-shadow: 0 6px 20px rgba(0,0,0,.25) !important;
            outline: none !important;
            outline-offset: 0 !important;
            cursor: pointer !important;
            overflow: hidden !important;
            isolation: isolate !important;
            -webkit-backdrop-filter: blur(9px) !important;
            backdrop-filter: blur(9px) !important;
            transition: border-color .22s ease, box-shadow .22s ease !important;
        }
        /* A second gradient fades in instead of switching instantly on hover. */
        html body #mhfp-data-images-gallery .mhfp-gallery-close::before {
            content: '' !important;
            position: absolute !important;
            display: block !important;
            inset: 0 !important;
            border-radius: inherit !important;
            background: linear-gradient(145deg, rgba(37,41,59,.78), rgba(20,23,35,.92)) !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: 0 !important;
            transition: opacity .22s ease !important;
        }
        html body #mhfp-data-images-gallery .mhfp-gallery-close .mhfp-gallery-close-icon {
            position: relative !important;
            z-index: 1 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 28px !important;
            width: 28px !important;
            height: 28px !important;
            color: #FFC90D !important;
            margin: 0 !important;
            padding: 0 !important;
            opacity: 1 !important;
            transform: rotate(0deg) !important;
            transform-origin: center !important;
            pointer-events: none !important;
            transition: transform .28s cubic-bezier(.2,.7,.3,1),
                        color .22s ease, opacity .22s ease !important;
        }
        html body #mhfp-data-images-gallery .mhfp-gallery-close-icon svg {
            display: block !important;
            width: 28px !important;
            height: 28px !important;
            fill: none !important;
            stroke: currentColor !important;
            stroke-width: 2.7 !important;
            stroke-linecap: round !important;
            pointer-events: none !important;
        }
        @media (hover: hover) and (pointer: fine) {
            html body #mhfp-data-images-gallery .mhfp-gallery-close:hover {
                border-color: #FFC90D !important;
                box-shadow: 0 5px 18px rgba(0,0,0,.28),
                            0 0 13px rgba(255,201,13,.22) !important;
            }
            html body #mhfp-data-images-gallery .mhfp-gallery-close:hover::before {
                opacity: 1 !important;
            }
            /* Restore the original subtle X rotation, not a button pop. */
            html body #mhfp-data-images-gallery .mhfp-gallery-close:hover .mhfp-gallery-close-icon {
                color: #FFC90D !important;
                opacity: 1 !important;
                transform: rotate(28deg) !important;
            }
        }
        /* Only one gold border even after clicks and programmatic focus. */
        html body #mhfp-data-images-gallery .mhfp-gallery-close:focus,
        html body #mhfp-data-images-gallery .mhfp-gallery-close:focus-visible {
            outline: none !important;
            outline-offset: 0 !important;
            border-color: #FFC90D !important;
            box-shadow: 0 7px 22px rgba(0,0,0,.30) !important;
        }
        html body #mhfp-data-images-gallery .mhfp-gallery-close:active {
            box-shadow: 0 4px 12px rgba(0,0,0,.22) !important;
        }
        html body #mhfp-data-images-gallery .mhfp-gallery-close:active::before {
            opacity: 1 !important;
        }

        /* Fullscreen arrows: existing translucent navy and gold outline.
           At fit, approximately one third of each button overlaps the photo. */
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev,
        html body #mhfp-data-images-gallery button.mhfp-gallery-next {
            position: absolute !important;
            top: var(--mhfp-gallery-arrow-center-y) !important;
            bottom: auto !important;
            height: 76px !important;
            min-height: 76px !important;
            max-height: 76px !important;
            width: var(--mhfp-gallery-arrow-width) !important;
            min-width: var(--mhfp-gallery-arrow-width) !important;
            max-width: var(--mhfp-gallery-arrow-width) !important;
            z-index: 10020 !important;
            box-sizing: border-box !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 1px solid rgba(255,201,13,.55) !important;
            border-radius: 16px !important;
            background: rgba(37,41,59,.34) !important;
            background-image: none !important;
            color: #fff !important;
            /* Retain the text label for assistive tech; CSS draws the arrow. */
            font-size: 0 !important;
            line-height: 0 !important;
            text-align: center !important;
            text-shadow: none !important;
            box-shadow: 0 3px 12px rgba(0,0,0,.15) !important;
            outline: none !important;
            outline-offset: 0 !important;
            opacity: 1 !important;
            filter: none !important;
            transform: translateY(-50%) !important;
            overflow: hidden !important;
            isolation: isolate !important;
            cursor: pointer !important;
            touch-action: manipulation !important;
            user-select: none !important;
            -webkit-user-select: none !important;
            -webkit-backdrop-filter: blur(9px) !important;
            backdrop-filter: blur(9px) !important;
            transition: background-color .22s ease, border-color .22s ease,
                        box-shadow .22s ease !important;
        }
        /* Do not show nav controls before the first image is measured. */
        #mhfp-data-images-gallery:not(.mhfp-gallery-image-ready) button.mhfp-gallery-prev,
        #mhfp-data-images-gallery:not(.mhfp-gallery-image-ready) button.mhfp-gallery-next {
            opacity: 0 !important;
            pointer-events: none !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev {
            left: var(--mhfp-gallery-arrow-prev-x, var(--mhfp-gallery-arrow-edge)) !important;
            right: auto !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-next {
            right: auto !important;
            left: var(--mhfp-gallery-arrow-next-x, calc(100% - var(--mhfp-gallery-arrow-width) - var(--mhfp-gallery-arrow-edge))) !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev::before,
        html body #mhfp-data-images-gallery button.mhfp-gallery-next::before {
            content: none !important;
            display: none !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev::after,
        html body #mhfp-data-images-gallery button.mhfp-gallery-next::after {
            content: '' !important;
            display: block !important;
            flex: none !important;
            position: relative !important;
            inset: auto !important;
            width: 16px !important;
            height: 16px !important;
            padding: 0 !important;
            margin: 0 !important;
            border: solid rgba(255,255,255,.92) !important;
            border-width: 0 3px 3px 0 !important;
            border-radius: 0 !important;
            background: none !important;
            box-shadow: none !important;
            opacity: 1 !important;
            pointer-events: none !important;
            transition: border-color .22s ease, transform .22s ease !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev::after {
            transform: rotate(135deg) !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-next::after {
            transform: rotate(-45deg) !important;
        }
        /* Keep the yellow border after a click gives the arrow focus. */
        html body #mhfp-data-images-gallery button.mhfp-gallery-prev:is(:focus,:focus-visible,:active),
        html body #mhfp-data-images-gallery button.mhfp-gallery-next:is(:focus,:focus-visible,:active) {
            outline: none !important;
            outline-offset: 0 !important;
            background: rgba(37,41,59,.84) !important;
            border-color: #FFC90D !important;
            box-shadow: 0 7px 22px rgba(0,0,0,.29) !important;
            transform: translateY(-50%) !important;
        }
        @media (hover: hover) and (pointer: fine) {
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev:hover,
            html body #mhfp-data-images-gallery button.mhfp-gallery-next:hover {
                background: rgba(37,41,59,.78) !important;
                border-color: #FFC90D !important;
                box-shadow: 0 5px 18px rgba(0,0,0,.28),
                            0 0 13px rgba(255,201,13,.22) !important;
                transform: translateY(-50%) !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev:hover::after {
                border-color: #FFC90D !important;
                transform: translateX(-3px) rotate(135deg) !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-next:hover::after {
                border-color: #FFC90D !important;
                transform: translateX(3px) rotate(-45deg) !important;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev,
            html body #mhfp-data-images-gallery button.mhfp-gallery-next,
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev::after,
            html body #mhfp-data-images-gallery button.mhfp-gallery-next::after,
            html body #mhfp-data-images-gallery .mhfp-gallery-close,
            html body #mhfp-data-images-gallery .mhfp-gallery-close::before,
            html body #mhfp-data-images-gallery .mhfp-gallery-close .mhfp-gallery-close-icon {
                transition: none !important;
            }
            html body #mhfp-data-images-gallery .mhfp-gallery-close:hover .mhfp-gallery-close-icon {
                transform: rotate(0deg) !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev:hover::after {
                transform: rotate(135deg) !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-next:hover::after {
                transform: rotate(-45deg) !important;
            }
        }

        /* v2.4.12: full-height navigation rails. The shadow overlays the photo,
           but touch hit areas stay in the outside gutters to preserve gestures. */
        #mhfp-data-images-gallery .mhfp-gallery-nav-rail {
            position: absolute !important;
            z-index: 10019 !important;
            display: block !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
            background: transparent !important;
            overflow: visible !important;
            cursor: pointer !important;
            touch-action: manipulation !important;
            pointer-events: auto !important;
            user-select: none !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-nav-rail::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: var(--mhfp-rail-shade-width, 0px);
            pointer-events: none;
            opacity: .22;
            transition: opacity .18s ease;
        }
        #mhfp-data-images-gallery .mhfp-gallery-nav-rail.is-prev::before {
            left: var(--mhfp-rail-shade-offset, 0px);
            background: linear-gradient(90deg, rgba(0,0,0,.38), transparent);
        }
        #mhfp-data-images-gallery .mhfp-gallery-nav-rail.is-next::before {
            right: var(--mhfp-rail-shade-offset, 0px);
            background: linear-gradient(270deg, rgba(0,0,0,.38), transparent);
        }
        @media (hover: hover) and (pointer: fine) {
            #mhfp-data-images-gallery .mhfp-gallery-nav-rail:hover::before,
            #mhfp-data-images-gallery:has(.mhfp-gallery-prev:hover) .mhfp-gallery-nav-rail.is-prev::before,
            #mhfp-data-images-gallery:has(.mhfp-gallery-next:hover) .mhfp-gallery-nav-rail.is-next::before {
                opacity: 1;
            }
        }
        #mhfp-data-images-gallery:not(.mhfp-gallery-image-ready) .mhfp-gallery-nav-rail,
        #mhfp-data-images-gallery.mhfp-gallery-zoomed .mhfp-gallery-nav-rail,
        #mhfp-data-images-gallery.mhfp-gallery-zoomed .mhfp-gallery-actions {
            display: none !important;
            pointer-events: none !important;
        }
        @media (prefers-reduced-motion: reduce) {
            #mhfp-data-images-gallery .mhfp-gallery-nav-rail::before {
                transition: none;
            }
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs {
            position: absolute !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 14px !important;
            z-index: 11 !important;
            display: flex !important;
            gap: 12px !important;
            justify-content: flex-start !important;
            align-items: center !important;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            padding: 12px 112px 22px 22px !important;
            background:
                linear-gradient(180deg, rgba(10,10,10,.58), rgba(0,0,0,.88)) !important;
            border-top: 1px solid rgba(255,255,255,.12) !important;
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.08),
                0 -12px 34px rgba(0,0,0,.38) !important;
            box-sizing: border-box !important;
            min-height: 98px !important;
            scroll-behavior: smooth !important;
            scroll-snap-type: x proximity !important;
            overscroll-behavior-x: contain !important;
            scrollbar-width: auto !important;
            scrollbar-color: #ffc90d rgba(255,255,255,.14) !important;
            cursor: grab !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs.is-dragging {
            cursor: grabbing !important;
            user-select: none !important;
            -webkit-user-select: none !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs::-webkit-scrollbar {
            height: 15px !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs::-webkit-scrollbar-track {
            background: rgba(255,255,255,.12) !important;
            border-radius: 999px !important;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs::-webkit-scrollbar-thumb {
            min-width: 72px !important;
            border-radius: 999px !important;
            border: 3px solid rgba(0,0,0,.72) !important;
            background:
                linear-gradient(90deg, #b98500, #ffc90d, #ffe58a, #ffc90d, #b98500) !important;
            box-shadow:
                0 0 14px rgba(255,201,13,.35),
                inset 0 1px 0 rgba(255,255,255,.45) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumbs::-webkit-scrollbar-thumb:hover {
            background:
                linear-gradient(90deg, #d59c00, #ffe074, #fff1ae, #ffe074, #d59c00) !important;
            box-shadow:
                0 0 18px rgba(255,201,13,.55),
                inset 0 1px 0 rgba(255,255,255,.65) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumb {
            width: 96px !important;
            height: 64px !important;
            flex: 0 0 auto !important;
            padding: 0 !important;
            border: 2px solid rgba(255,255,255,.34) !important;
            border-radius: 10px !important;
            background: #111 !important;
            cursor: pointer !important;
            overflow: hidden !important;
            opacity: .72 !important;
            scroll-snap-align: center !important;
            transition:
                opacity .18s ease,
                border-color .18s ease,
                box-shadow .18s ease,
                transform .18s ease !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumb:hover {
            opacity: .94 !important;
            transform: translateY(-2px) !important;
            border-color: rgba(255,201,13,.78) !important;
            box-shadow: 0 6px 18px rgba(0,0,0,.42) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumb.is-active {
            opacity: 1 !important;
            transform: translateY(-3px) !important;
            border-color: #ffc90d !important;
            box-shadow:
                0 0 0 2px rgba(0,0,0,.68),
                0 0 0 4px rgba(255,201,13,.32),
                0 8px 22px rgba(0,0,0,.5) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-thumb img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

        /* Shared tools for opened product photos, concepts and floor plans.
           These live in the existing fullscreen viewer, not in the hero DOM,
           so they do not add to initial image/CLS work. */
        #mhfp-data-images-gallery .mhfp-gallery-utilities {
            position: absolute !important;
            left: 96px !important;
            right: 86px !important;
            top: 16px !important;
            z-index: 10035 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 7px !important;
            pointer-events: none !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-utilities button {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 auto !important;
            min-width: 38px !important;
            height: 34px !important;
            padding: 0 10px !important;
            margin: 0 !important;
            border: 1px solid rgba(255,255,255,.65) !important;
            border-radius: 9px !important;
            background: rgba(37,41,59,.72) !important;
            color: #fff !important;
            font: 700 12px/1 Arial, sans-serif !important;
            cursor: pointer !important;
            pointer-events: auto !important;
            box-shadow: 0 4px 12px rgba(0,0,0,.18) !important;
            text-transform: none !important;
            transition: background .18s ease, border-color .18s ease !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-utilities button:hover {
            border-color: #ffc90d !important;
            background: rgba(37,41,59,.93) !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-utilities button:focus-visible {
            outline: 2px solid #ffc90d !important;
            outline-offset: 2px !important;
        }
        @media (max-width: 768px) {
            #mhfp-data-images-gallery .mhfp-gallery-utilities {
                left: 80px !important;
                right: 66px !important;
                top: 13px !important;
                gap: 5px !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-utilities button {
                height: 32px !important;
                min-width: 30px !important;
                padding: 0 7px !important;
                font-size: 11px !important;
            }
        }
        @media (max-width: 350px) {
            #mhfp-data-images-gallery .mhfp-gallery-utilities {
                left: 75px !important;
                right: 62px !important;
                gap: 3px !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-utilities button {
                padding: 0 5px !important;
            }
        }

        #mhfp-data-images-gallery .mhfp-gallery-count {
            position: absolute !important;
            top: 18px !important;
            left: 18px !important;
            z-index: 10 !important;
            color: #fff !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            background: rgba(0,0,0,.55) !important;
            padding: 7px 10px !important;
            border-radius: 7px !important;
        }

        body.mhfp-gallery-open {
            overflow: hidden !important;
        }

        @media (max-width: 768px) {
            #mhfp-data-images-gallery {
                --mhfp-gallery-stage-top: 72px;
                --mhfp-gallery-stage-bottom: 112px;
                --mhfp-gallery-stage-gutter: 52px;
                --mhfp-gallery-arrow-width: 40px;
                --mhfp-gallery-arrow-edge: 8px;
            }
            #mhfp-data-images-gallery .mhfp-gallery-stage {
                top: var(--mhfp-gallery-stage-top) !important;
                bottom: var(--mhfp-gallery-stage-bottom) !important;
                padding: 0 var(--mhfp-gallery-stage-gutter) !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            #mhfp-data-images-gallery .mhfp-gallery-stage img {
                max-width: 96vw !important;
                max-height: calc(100vh - 184px) !important;
                width: auto !important;
                height: auto !important;
                object-fit: contain !important;
            }

            #mhfp-data-images-gallery .mhfp-gallery-thumbs {
                justify-content: flex-start !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                min-height: 104px !important;
                padding: 12px 92px 24px 16px !important;
                gap: 10px !important;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                -webkit-overflow-scrolling: touch !important;
            }

            #mhfp-data-images-gallery .mhfp-gallery-thumbs::-webkit-scrollbar {
                height: 13px !important;
            }

            #mhfp-data-images-gallery .mhfp-gallery-thumb {
                flex: 0 0 auto !important;
                width: 82px !important;
                height: 56px !important;
                border-radius: 8px !important;
            }

            /* Photo-centered, easy-to-tap navigation on touch screens. */
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev,
            html body #mhfp-data-images-gallery button.mhfp-gallery-next {
                top: var(--mhfp-gallery-arrow-center-y) !important;
                bottom: auto !important;
                height: 60px !important;
                min-height: 60px !important;
                max-height: 60px !important;
                width: var(--mhfp-gallery-arrow-width) !important;
                min-width: var(--mhfp-gallery-arrow-width) !important;
                max-width: var(--mhfp-gallery-arrow-width) !important;
                border-radius: 12px !important;
                transform: translateY(-50%) !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-prev::after,
            html body #mhfp-data-images-gallery button.mhfp-gallery-next::after {
                width: 12px !important;
                height: 12px !important;
                border-width: 0 3px 3px 0 !important;
            }

            html body #mhfp-data-images-gallery .mhfp-gallery-close {
                position: fixed !important;
                top: max(10px, env(safe-area-inset-top)) !important;
                right: max(10px, env(safe-area-inset-right)) !important;
                width: 48px !important;
                height: 48px !important;
                min-width: 48px !important;
                min-height: 48px !important;
                font-size: 34px !important;
                line-height: 1 !important;
                padding: 0 !important;
                z-index: 10040 !important;
            }
        }

        /* The large-image tools have their own classes. Thumbnail badge styles and
           cleanup routines must never reposition or remove these controls. */
        #mhfp-data-images-gallery .mhfp-gallery-stage img {
            max-width: 100% !important;
            max-height: 100% !important;
            flex: 0 1 auto !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-actions {
            --mhfp-gallery-action-size: 48px;
            position: absolute !important;
            z-index: 10030 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            gap: 7px !important;
            margin: 0 !important;
            padding: 0 !important;
            width: max-content !important;
            height: auto !important;
            pointer-events: auto !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-actions.is-horizontal {
            flex-direction: row !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-actions.is-grid {
            display: grid !important;
            grid-template-columns: repeat(2, var(--mhfp-gallery-action-size)) !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-actions[hidden],
        #mhfp-data-images-gallery .mhfp-gallery-action-status[hidden] {
            display: none !important;
        }

        #mhfp-data-images-gallery button.mhfp-gallery-action {
            appearance: none !important;
            -webkit-appearance: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 var(--mhfp-gallery-action-size) !important;
            width: var(--mhfp-gallery-action-size) !important;
            height: var(--mhfp-gallery-action-size) !important;
            min-width: var(--mhfp-gallery-action-size) !important;
            min-height: var(--mhfp-gallery-action-size) !important;
            max-width: var(--mhfp-gallery-action-size) !important;
            max-height: var(--mhfp-gallery-action-size) !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 1px solid #ffc90d !important;
            border-radius: 4px !important;
            background: rgba(37,41,59,.97) !important;
            color: #ffc90d !important;
            font: 800 16px/1 Arial, sans-serif !important;
            box-shadow: 0 3px 12px rgba(0,0,0,.35) !important;
            cursor: pointer !important;
            touch-action: manipulation !important;
            opacity: 1 !important;
            text-transform: none !important;
            transition: background .15s ease, color .15s ease !important;
        }

        #mhfp-data-images-gallery button.mhfp-gallery-action::before,
        #mhfp-data-images-gallery button.mhfp-gallery-action::after {
            content: none !important;
        }

        #mhfp-data-images-gallery button.mhfp-gallery-action:hover,
        #mhfp-data-images-gallery button.mhfp-gallery-action[aria-pressed="true"] {
            background: #ffc90d !important;
            color: #25293b !important;
        }

        #mhfp-data-images-gallery button.mhfp-gallery-action:focus-visible {
            outline: 3px solid #fff !important;
            outline-offset: 3px !important;
        }

        #mhfp-data-images-gallery button.mhfp-gallery-action:disabled {
            opacity: .55 !important;
            cursor: wait !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-action svg {
            width: 25px !important;
            height: 25px !important;
            display: block !important;
            fill: none !important;
            stroke: currentColor !important;
            stroke-width: 2 !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
            pointer-events: none !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-action-status {
            position: absolute !important;
            left: 50% !important;
            bottom: 134px !important;
            z-index: 10035 !important;
            transform: translateX(-50%) !important;
            width: max-content !important;
            max-width: calc(100% - 40px) !important;
            box-sizing: border-box !important;
            padding: 10px 14px !important;
            border-radius: 4px !important;
            background: rgba(37,41,59,.98) !important;
            color: #fff !important;
            font: 600 14px/1.4 Arial, sans-serif !important;
            text-align: center !important;
            pointer-events: none !important;
        }

        #mhfp-data-images-gallery .mhfp-gallery-action-status.is-error {
            border: 1px solid #ffc90d !important;
        }

        /* v2.4.9: mobile tools are roughly half the original 44px size.
           Desktop uses the existing 48px size and appearance unchanged. */
        @media (max-width: 767px) {
            #mhfp-data-images-gallery .mhfp-gallery-actions {
                --mhfp-gallery-action-size: 24px;
                gap: 4px !important;
            }
            #mhfp-data-images-gallery button.mhfp-gallery-action {
                font-size: 10px !important;
                font-weight: 800 !important;
                border-radius: 4px !important;
                box-shadow: 0 2px 7px rgba(0,0,0,.30) !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-action svg {
                width: 13px !important;
                height: 13px !important;
                stroke-width: 2.2 !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-action-status {
                bottom: 114px !important;
            }
        }


        /* 2.5.0: The product-only category strip lives entirely inside the
           fixed fullscreen overlay; it does not reserve space on the page. */
        #mhfp-data-images-gallery .mhfp-gallery-categories[hidden] {
            display: none !important;
        }
        #mhfp-data-images-gallery.mhfp-gallery-has-categories {
            --mhfp-gallery-stage-bottom: 164px;
        }
        #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-footer {
            position: absolute !important;
            inset: auto 0 0 !important;
            height: var(--mhfp-gallery-stage-bottom) !important;
            display: flex !important;
            flex-direction: column !important;
            z-index: 11 !important;
            box-sizing: border-box !important;
            background: rgba(0,0,0,.78) !important;
            border-top: 1px solid rgba(255,255,255,.13) !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-categories {
            display: flex !important;
            align-items: center !important;
            flex: 0 0 48px !important;
            gap: 7px !important;
            padding: 5px 16px !important;
            box-sizing: border-box !important;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            scrollbar-width: none !important;
            overscroll-behavior-x: contain !important;
            touch-action: pan-x !important;
            -webkit-overflow-scrolling: touch !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-categories::-webkit-scrollbar {
            display: none !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-category {
            flex: 0 0 auto !important;
            white-space: nowrap !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            height: 34px !important;
            padding: 0 12px !important;
            margin: 0 !important;
            border: 1px solid rgba(255,255,255,.32) !important;
            border-radius: 8px !important;
            background: rgba(37,41,59,.72) !important;
            color: #fff !important;
            font: 600 13px/1 Arial,sans-serif !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            box-shadow: none !important;
            cursor: pointer !important;
            touch-action: manipulation !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-category::before,
        html body #mhfp-data-images-gallery button.mhfp-gallery-category::after {
            display: none !important;
            content: none !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-category[aria-pressed="true"] {
            background: #FFC90D !important;
            color: #25293B !important;
            border-color: #FFC90D !important;
        }
        html body #mhfp-data-images-gallery button.mhfp-gallery-category:focus-visible {
            outline: 2px solid #FFC90D !important;
            outline-offset: 2px !important;
        }
        @media (hover:hover) and (pointer:fine) {
            html body #mhfp-data-images-gallery button.mhfp-gallery-category:hover {
                border-color: #FFC90D !important;
            }
        }
        #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-thumbs {
            position: relative !important;
            inset: auto !important;
            flex: 1 1 0 !important;
            min-height: 0 !important;
            padding: 10px 18px 14px !important;
            touch-action: pan-x !important;
        }
        html body #mhfp-data-images-gallery.mhfp-gallery-single button.mhfp-gallery-prev,
        html body #mhfp-data-images-gallery.mhfp-gallery-single button.mhfp-gallery-next,
        html body #mhfp-data-images-gallery.mhfp-gallery-single .mhfp-gallery-nav-rail {
            display: none !important;
            pointer-events: none !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-thumb.is-unavailable img {
            visibility: hidden !important;
        }
        #mhfp-data-images-gallery .mhfp-gallery-thumb.is-unavailable {
            background: #25293B !important;
        }
        @media (max-width: 768px) {
            #mhfp-data-images-gallery.mhfp-gallery-has-categories {
                --mhfp-gallery-stage-bottom: 138px;
            }
            #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-count {
                left: 10px !important;
                top: 16px !important;
                font-size: 12px !important;
                padding: 7px 5px !important;
                white-space: nowrap !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-categories {
                flex-basis: 44px !important;
                padding: 4px 12px !important;
                gap: 6px !important;
            }
            html body #mhfp-data-images-gallery button.mhfp-gallery-category {
                height: 34px !important;
                font-size: 12px !important;
                padding: 0 10px !important;
            }
            #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-thumbs {
                padding: 8px 12px 12px !important;
            }
        }
        @media (max-height: 450px) and (orientation: landscape) {
            #mhfp-data-images-gallery.mhfp-gallery-has-categories {
                --mhfp-gallery-stage-bottom: 110px;
            }
            #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-thumb {
                height: 40px !important;
                width: 62px !important;
            }
            #mhfp-data-images-gallery.mhfp-gallery-has-categories .mhfp-gallery-thumbs {
                padding: 5px 12px 6px !important;
            }
            #mhfp-data-images-gallery .mhfp-gallery-categories {
                flex-basis: 40px !important;
            }
        }
