
/* 1.1.6 - prevent the native grid from flashing before the organized admin preview mounts.
   Keep the featured data-index=0 image visible; hide only additional slides/thumbnails while pending. */
body.mhfp-og-pending #mhfp-shp-product-gallery .iconic-woothumbs-images__slide[data-index]:not([data-index="0"]),
body.mhfp-og-pending #mhfp-shp-product-gallery .iconic-woothumbs-images__slide:not([data-index]):not(:first-child),
body.mhfp-og-pending #mhfp-shp-product-gallery .iconic-woothumbs-thumbnails-wrap,
body.mhfp-og-pending #mhfp-shp-product-gallery .iconic-woothumbs-thumbnails,
body.mhfp-og-pending #mhfp-shp-product-gallery .flex-control-thumbs,
body.mhfp-og-pending #mhfp-shp-product-gallery .iconic-woothumbs-thumbnails__control {
  display:none !important;
}
/* 1.1.2 - Administrator pilot with category filter bar restored. */
.mhfp-og-suppressed { display:none !important; }
/* 1.1.28 - when the organized gallery has successfully mounted, suppress the
   redundant legacy View All Photos control. The body flag is removed whenever
   the plugin falls back to/original gallery, so the control remains available there. */
body.mhfp-og-active.single-product button.mhfp-shp-photo-toggle.mhfp-more-images-btn,
body.mhfp-og-active.single-product a.mhfp-shp-photo-toggle.mhfp-more-images-btn,
body.mhfp-og-active.single-product .mhfp-shp-photo-controls .mhfp-more-images-btn,
body.mhfp-og-active.single-product [data-mhfp-og-legacy-photo-hidden="1"] {
  display:none !important;
  visibility:hidden !important;
}
.mhfp-og-featured { grid-column:1 / -1 !important; flex-basis:100% !important; width:100% !important; max-width:100% !important; }
.mhfp-og-native-stack { height:auto !important; max-height:none !important; }
.mhfp-og, .mhfp-og-dialog {
 --og-bg:var(--mhfp-og-theme-blue,#25293b); --og-card:#30364d; --og-raised:#363e58;
 --og-ink:#f2f5fc; --og-muted:#bac7dc; --og-gold:#f2bd00; --og-line:rgba(190,208,238,.22);
 color:var(--og-ink); font-family:inherit; font-size:14px; line-height:1.5; text-align:left; box-sizing:border-box;
 color-scheme:dark;
}
.mhfp-og *, .mhfp-og-dialog * { box-sizing:border-box; }
.mhfp-og [hidden], .mhfp-og-dialog [hidden] { display:none !important; }
.mhfp-og { display:block !important; clear:both; flex:0 0 100%; grid-column:1 / -1; width:100%; max-width:100%; min-width:0; margin:16px 0 0; padding:0; border:1px solid var(--og-line); border-radius:14px; background:var(--og-bg); overflow:hidden; isolation:isolate; }
.mhfp-og p { margin:0; padding:0; color:inherit; }
.mhfp-og button, .mhfp-og-dialog button { font-family:inherit; font-weight:600; font-style:normal; text-transform:none; letter-spacing:normal; cursor:pointer; min-width:0; margin:0; box-shadow:none; background-image:none; text-shadow:none; line-height:1.4; }
.mhfp-og button::after, .mhfp-og button::before, .mhfp-og-dialog button::after, .mhfp-og-dialog button::before { content:none !important; }
.mhfp-og button:focus-visible, .mhfp-og summary:focus-visible, .mhfp-og-dialog button:focus-visible, .mhfp-og-dialog a:focus-visible, .mhfp-og-dialog input:focus-visible, .mhfp-og-dialog select:focus-visible { outline:3px solid var(--og-gold) !important; outline-offset:3px; }
.mhfp-og button:disabled, .mhfp-og-dialog button:disabled { opacity:.55; cursor:default; }
.mhfp-og .mhfp-og-content { padding:18px; }

.mhfp-og .mhfp-og-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; padding:0 0 14px; border-bottom:1px solid var(--og-line); }
.mhfp-og .mhfp-og-filter { appearance:none; display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 14px; border:1px solid var(--og-line); border-radius:999px; background:var(--og-card); color:var(--og-ink); font-size:12px; white-space:nowrap; }
.mhfp-og .mhfp-og-filter:hover { background:var(--og-raised); border-color:rgba(242,189,0,.65); }
.mhfp-og .mhfp-og-filter.is-active, .mhfp-og .mhfp-og-filter[aria-pressed="true"] { background:var(--og-gold); border-color:var(--og-gold); color:#25293b; }
.mhfp-og .mhfp-og-group { display:block; margin:0; padding:0 0 18px; border:0; border-bottom:1px solid var(--og-line); }
.mhfp-og .mhfp-og-group + .mhfp-og-group { padding-top:18px; }
.mhfp-og .mhfp-og-group:last-child { border-bottom:0; padding-bottom:0; }
.mhfp-og .mhfp-og-group-heading { display:flex; gap:9px; align-items:center; list-style:none; margin:0; padding:4px 0; font-size:17px; font-weight:700; line-height:1.4; color:var(--og-ink); cursor:pointer; user-select:none; }
.mhfp-og .mhfp-og-group-heading::-webkit-details-marker { display:none; }
.mhfp-og .mhfp-og-group-heading::before { content:'+'; display:inline-flex; flex:0 0 23px; width:23px; height:23px; align-items:center; justify-content:center; border:1px solid var(--og-line); border-radius:5px; font-size:16px; font-weight:500; color:var(--og-gold); }
.mhfp-og .mhfp-og-group[open] > .mhfp-og-group-heading::before { content:'\2212'; }
.mhfp-og .mhfp-og-count { display:inline-flex; margin-left:auto; align-items:center; justify-content:center; min-width:24px; height:24px; padding:0 6px; border-radius:12px; background:var(--og-card); color:var(--og-muted); font-size:11px; font-weight:600; }
.mhfp-og .mhfp-og-grid { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr)); align-items:start; gap:12px; padding-top:12px; }
.mhfp-og .mhfp-og-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:880px; }
.mhfp-og figure.mhfp-og-card { display:block; position:relative; width:auto !important; height:auto !important; min-width:0; margin:0 !important; padding:0 !important; border:1px solid var(--og-line); border-radius:9px; background:var(--og-card); overflow:hidden; }
.mhfp-og figure.mhfp-og-card.mhfp-og-just-moved { outline:2px solid var(--og-gold); outline-offset:2px; }
.mhfp-og button.mhfp-og-image-button { position:relative; display:block; appearance:none; width:100% !important; max-width:100%; height:auto !important; aspect-ratio:4 / 3; border:0; border-bottom:1px solid var(--og-line); border-radius:0; padding:6px; background:var(--og-bg); overflow:hidden; }
.mhfp-og button.mhfp-og-image-button:hover { background:var(--og-raised); }
.mhfp-og img.mhfp-og-image { position:static !important; display:block !important; width:100% !important; max-width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; border:0 !important; border-radius:3px !important; padding:0 !important; margin:0 !important; opacity:1 !important; transform:none !important; }
.mhfp-og img.mhfp-og-image[hidden] { display:none !important; }
.mhfp-og .mhfp-og-caption { display:block; padding:9px 10px 3px; font-size:12px; font-weight:600; color:var(--og-ink); line-height:1.45; word-break:normal; overflow-wrap:anywhere; background:var(--og-card); }
.mhfp-og .mhfp-og-concept-badge { position:absolute; top:6px; right:6px; padding:3px 6px; background:var(--og-bg); color:var(--og-gold); border:1px solid var(--og-line); border-radius:4px; font-size:9px; font-weight:700; line-height:1.3; }
.mhfp-og .mhfp-og-image-error { display:block; padding:10px; color:var(--og-muted); font-size:11px; }
.mhfp-og .mhfp-og-card-tools { display:flex; justify-content:flex-end; padding:3px 8px 8px; background:var(--og-card); }
.mhfp-og .mhfp-og-move { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:5px 12px; border:1px solid var(--og-line); border-radius:6px; color:var(--og-gold); background:transparent; font-size:11px; }
.mhfp-og .mhfp-og-move:hover { background:var(--og-raised); border-color:var(--og-gold); }
.mhfp-og .mhfp-og-more { display:block; width:100%; margin:12px 0 0; padding:9px 12px; border:1px solid var(--og-line); border-radius:7px; background:var(--og-card); color:var(--og-ink); font-size:12px; }
.mhfp-og .mhfp-og-more:hover { background:var(--og-raised); }
.mhfp-og .mhfp-og-options { border-top:1px solid var(--og-line); padding:10px 18px; font-size:11px; color:var(--og-muted); }
.mhfp-og .mhfp-og-options > summary { cursor:pointer; width:fit-content; padding:4px 0; color:var(--og-muted); font-size:11px; font-weight:400; }
.mhfp-og .mhfp-og-tools { display:flex; flex-wrap:wrap; gap:7px; padding:9px 0 3px; }
.mhfp-og .mhfp-og-tool, .mhfp-og-dialog .mhfp-og-tool { appearance:none; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--og-line); color:var(--og-ink); background:var(--og-card); border-radius:7px; padding:8px 10px; font-size:11px; min-height:34px; text-decoration:none; }
.mhfp-og .mhfp-og-tool:hover, .mhfp-og-dialog .mhfp-og-tool:hover { background:var(--og-raised); }
.mhfp-og .mhfp-og-status, .mhfp-og-dialog .mhfp-og-status { margin:10px 18px; padding:9px 12px; background:var(--og-card); color:var(--og-ink); border-left:3px solid var(--og-gold); border-radius:3px; font-size:12px; }
.mhfp-og .mhfp-og-status.mhfp-og-error, .mhfp-og-dialog .mhfp-og-error { background:#4c2931; border-color:#ffa08b; color:#ffe6df; }
.mhfp-og .mhfp-it-caption { display:none !important; }
.mhfp-og-dialog { position:fixed; inset:0; width:min(96vw,1260px); height:auto; max-width:96vw; max-height:94dvh; margin:auto; padding:0; border:1px solid var(--og-line); border-radius:14px; background:var(--og-bg); overflow:auto; box-shadow:0 20px 90px #0006; }
.mhfp-og-dialog:not([open]) { display:none; }
.mhfp-og-dialog::backdrop { background:rgba(10,14,29,.86); }
.mhfp-og-dialog .mhfp-og-dialog-bar { display:flex; gap:16px; justify-content:space-between; align-items:center; padding:14px 18px; background:var(--og-bg); border-bottom:1px solid var(--og-line); }
.mhfp-og-dialog h2 { margin:0; padding:0; color:var(--og-ink); font-family:inherit; font-size:18px; line-height:1.4; }
.mhfp-og-dialog p { margin:3px 0 0; padding:0; line-height:1.55; }
.mhfp-og-dialog .mhfp-og-dialog-heading p { color:var(--og-muted); font-size:11px; }
.mhfp-og-dialog .mhfp-og-dialog-close { flex:0 0 auto; padding:9px 13px; border:1px solid var(--og-line); border-radius:7px; background:var(--og-card); color:var(--og-ink); font-size:12px; }
.mhfp-og-dialog .mhfp-og-stage { position:relative; display:grid; place-items:center; height:68dvh; min-height:190px; background:#1c2031; overflow:auto; padding:10px; overscroll-behavior:contain; }
.mhfp-og-dialog img.mhfp-og-full-image { display:block; width:auto; height:auto; max-width:100%; max-height:calc(68dvh - 20px); object-fit:contain; margin:0; padding:0; border:0; border-radius:0; }
.mhfp-og-dialog .mhfp-og-stage.is-zoomed { display:block; }
.mhfp-og-dialog .mhfp-og-stage.is-zoomed img { max-width:none; max-height:none; object-fit:initial; }
.mhfp-og-dialog .mhfp-og-view-load { position:absolute; bottom:12px; padding:5px 9px; background:var(--og-bg); color:var(--og-muted); border-radius:5px; font-size:12px; }
.mhfp-og-dialog .mhfp-og-view-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:12px 18px; }
.mhfp-og-dialog .mhfp-og-original-link { display:inline-block; padding:6px 4px; margin-left:auto; color:var(--og-gold); font-size:12px; text-decoration:underline; }
.mhfp-og-dialog .mhfp-og-concept-note { margin:0; padding:0 18px 14px; color:var(--og-muted); font-size:11px; }
.mhfp-og-dialog.mhfp-og-editor { width:min(94vw,500px); height:fit-content; }
.mhfp-og-dialog .mhfp-og-editor-intro { display:flex; gap:12px; align-items:center; padding:16px 20px 3px; font-size:14px; font-weight:600; }
.mhfp-og-dialog img.mhfp-og-editor-thumb { width:96px; height:72px; object-fit:contain; border:1px solid var(--og-line); border-radius:5px; }
.mhfp-og-dialog .mhfp-og-edit-form { padding:0 20px 20px; }
.mhfp-og-dialog .mhfp-og-field { display:block; margin:16px 0; color:var(--og-ink); font-size:12px; font-weight:600; }
.mhfp-og-dialog .mhfp-og-field > span { display:block; margin-bottom:5px; }
.mhfp-og-dialog .mhfp-og-field input, .mhfp-og-dialog .mhfp-og-field select { display:block; width:100%; max-width:100%; min-height:42px; padding:8px 10px; border:1px solid var(--og-line); border-radius:6px; background:var(--og-card); color:var(--og-ink); font:inherit; font-size:14px; }
.mhfp-og-dialog .mhfp-og-editor-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.mhfp-og-dialog .mhfp-og-save { padding:10px 18px; min-height:42px; border:1px solid var(--og-gold); border-radius:7px; background:var(--og-gold); color:#25293b; font-size:13px; }
body.mhfp-og-modal-open { overflow:hidden; }
.mhfp-og-location-notice { padding:12px; border:1px solid #f2bd00; background:#25293b; color:#f2f5fc; font-size:12px; }
@media (max-width:480px) {
 .mhfp-og .mhfp-og-content { padding:12px; }
 .mhfp-og .mhfp-og-filters { gap:6px; margin-bottom:12px; padding-bottom:10px; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:thin; }
 .mhfp-og .mhfp-og-filter { flex:0 0 auto; min-height:36px; padding:7px 11px; font-size:11px; }
 .mhfp-og .mhfp-og-grid { gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mhfp-og .mhfp-og-group-heading { font-size:15px; }
 .mhfp-og .mhfp-og-caption { font-size:11px; padding:8px 8px 3px; }
 .mhfp-og .mhfp-og-move { min-height:36px; padding:7px 12px; }
 .mhfp-og-dialog { max-width:98vw; width:98vw; max-height:96dvh; }
 .mhfp-og-dialog .mhfp-og-dialog-bar { padding:11px 12px; }
 .mhfp-og-dialog h2 { font-size:15px; }
 .mhfp-og-dialog .mhfp-og-stage { height:60dvh; }
 .mhfp-og-dialog img.mhfp-og-full-image { max-height:calc(60dvh - 20px); }
 .mhfp-og-dialog .mhfp-og-view-controls { padding:10px 12px; gap:6px; }
 .mhfp-og-dialog .mhfp-og-original-link { width:100%; margin:0; }
}
@media (prefers-reduced-motion:reduce) { .mhfp-og *, .mhfp-og-dialog * { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }

/* 1.1.2 - compact hover tools + real zoom/pan viewer */
.mhfp-og .mhfp-og-image-wrap { position:relative; }
.mhfp-og .mhfp-og-hover-tools { position:absolute; top:8px; right:8px; z-index:8; display:flex; flex-direction:row; gap:5px; opacity:0; transform:translateY(-3px); transition:opacity .14s ease,transform .14s ease; pointer-events:none; }
.mhfp-og .mhfp-og-card:hover .mhfp-og-hover-tools,
.mhfp-og .mhfp-og-card:focus-within .mhfp-og-hover-tools { opacity:1; transform:none; pointer-events:auto; }
.mhfp-og .mhfp-og-hover-tool { appearance:none; width:35px; height:35px; min-width:35px; min-height:35px; padding:0; display:inline-flex; align-items:center; justify-content:center; border:1.5px solid var(--og-gold); border-radius:7px; background:rgba(37,41,59,.88); color:var(--og-gold); font-size:20px; font-weight:800; line-height:1; box-shadow:0 3px 10px #0005; backdrop-filter:blur(3px); }
.mhfp-og .mhfp-og-hover-tool:hover { background:#30364d; transform:translateY(-1px); }
.mhfp-og .mhfp-og-hover-bw { font-size:14px; letter-spacing:-1px; }
.mhfp-og-dialog .mhfp-og-stage { touch-action:none; user-select:none; }
.mhfp-og-dialog .mhfp-og-zoom-surface { position:relative; display:flex; align-items:center; justify-content:center; flex:0 0 auto; margin:auto; }
.mhfp-og-dialog .mhfp-og-stage.is-zoomed .mhfp-og-zoom-surface { margin:0; }
.mhfp-og-dialog .mhfp-og-stage.is-dragging { cursor:grabbing !important; }
.mhfp-og-dialog .mhfp-og-full-image { max-width:none !important; max-height:none !important; width:auto; height:auto; object-fit:contain; }
.mhfp-og-dialog .mhfp-og-zoom-button { width:36px; min-width:36px; padding-left:0; padding-right:0; font-size:18px; }
.mhfp-og-dialog .mhfp-og-zoom-label { min-width:64px; font-variant-numeric:tabular-nums; }
/* 1.1.43 - Keep the four card actions hidden until hover or keyboard focus.
   Touch browsers have no hover state: do not force these actions visible on
   every thumbnail. The enlarged-image dialog retains its visible toolbar. */
@media (max-width:480px) {
 .mhfp-og .mhfp-og-hover-tools { top:5px; right:5px; gap:4px; }
 .mhfp-og .mhfp-og-hover-tool { width:32px; height:32px; min-width:32px; min-height:32px; font-size:17px; }
 .mhfp-og .mhfp-og-hover-bw { font-size:12px; }
}


/* 1.1.3 - live gallery-tool bridge + viewer mouse zoom */
.mhfp-og-dialog .mhfp-og-hover-tools { position:absolute; top:14px; right:14px; z-index:20; display:flex; flex-direction:row; gap:6px; opacity:1; transform:none; pointer-events:auto; }
.mhfp-og-dialog .mhfp-og-hover-tool { appearance:none; width:38px; height:38px; min-width:38px; min-height:38px; padding:0; display:inline-flex; align-items:center; justify-content:center; border:1.5px solid var(--og-gold); border-radius:8px; background:rgba(37,41,59,.92); color:var(--og-gold); font-size:21px; font-weight:800; line-height:1; box-shadow:0 4px 14px #0007; backdrop-filter:blur(4px); }
.mhfp-og-dialog .mhfp-og-hover-tool:hover { background:#30364d; transform:translateY(-1px); }
.mhfp-og-dialog .mhfp-og-hover-bw { font-size:14px; letter-spacing:-1px; }
.mhfp-og-dialog .mhfp-og-full-image { cursor:zoom-in; }
.mhfp-og-dialog .mhfp-og-stage.is-zoomed .mhfp-og-full-image { cursor:grab; }
.mhfp-og-dialog .mhfp-og-stage.is-dragging .mhfp-og-full-image { cursor:grabbing; }
.mhfp-og-dialog img.mhfp-og-full-image.mhfp-bw-cad-active { filter:invert(1) grayscale(1) contrast(1.35) brightness(.88) !important; background-color:#eee !important; }
@media (max-width:480px) {
 .mhfp-og-dialog .mhfp-og-hover-tools { top:8px; right:8px; gap:4px; }
 .mhfp-og-dialog .mhfp-og-hover-tool { width:34px; height:34px; min-width:34px; min-height:34px; font-size:18px; }
 .mhfp-og-dialog .mhfp-og-hover-bw { font-size:12px; }
}


/* 1.1.4 - direct large-image tool API + five-step click zoom */
.mhfp-og img.mhfp-og-image.mhfp-bw-cad-active,
.mhfp-og-dialog img.mhfp-og-full-image.mhfp-bw-cad-active { filter:invert(1) grayscale(1) contrast(1.35) brightness(.88) !important; background-color:#eee !important; }
.mhfp-og .mhfp-og-hover-tool.is-active,
.mhfp-og-dialog .mhfp-og-hover-tool.is-active { background:rgba(255,201,13,.96) !important; color:#25293b !important; }
.mhfp-og .mhfp-og-hover-tool.is-loading,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading { opacity:.65; cursor:wait; }
.mhfp-og .mhfp-og-hover-tool.is-loading::after,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading::after { content:'…'; position:absolute; inset:auto 2px 0 auto; font-size:11px; line-height:1; color:currentColor; }
.mhfp-og .mhfp-og-hover-tool,
.mhfp-og-dialog .mhfp-og-hover-tool { position:relative; }


/* 1.1.5 - direct thumbnail tools, fixed viewer toolbar, simple AI mark, click-cycle zoom */
.mhfp-og .mhfp-og-hover-tools { z-index:40 !important; }
.mhfp-og .mhfp-og-hover-tool { pointer-events:auto !important; touch-action:manipulation; }
.mhfp-og .mhfp-og-hover-ai { color:var(--og-gold) !important; font-family:Arial,sans-serif; }
.mhfp-og .mhfp-og-ai-svg,
.mhfp-og-dialog .mhfp-og-ai-svg { width:21px; height:21px; display:block; fill:currentColor; stroke:none; }
.mhfp-og-dialog.mhfp-og-viewer { position:fixed; overflow:hidden; }
.mhfp-og-dialog.mhfp-og-viewer > .mhfp-og-viewer-tools {
  position:absolute !important;
  top:78px !important;
  right:18px !important;
  z-index:100 !important;
  display:flex !important;
  flex-direction:row !important;
  gap:6px !important;
  opacity:1 !important;
  transform:none !important;
  pointer-events:auto !important;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage { position:relative; }
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage > .mhfp-og-hover-tools { display:none !important; }
@media (max-width:480px) {
  .mhfp-og-dialog.mhfp-og-viewer > .mhfp-og-viewer-tools { top:64px !important; right:10px !important; gap:4px !important; }
}


/* 1.1.6 - repaint transformed thumbnails immediately and reuse the approved 3-dot busy feedback. */
.mhfp-og .mhfp-og-hover-tool .mhfp-og-tool-icon,
.mhfp-og-dialog .mhfp-og-hover-tool .mhfp-og-tool-icon {
  display:inline-flex; align-items:center; justify-content:center; width:100%; height:100%;
}
.mhfp-og .mhfp-og-ai-svg,
.mhfp-og-dialog .mhfp-og-ai-svg {
  width:22px; height:22px; fill:none !important; stroke:currentColor !important; stroke-width:2 !important;
}
.mhfp-og .mhfp-og-hover-tool.is-loading,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading {
  visibility:visible !important; opacity:1 !important; transform:none !important;
  background:#25293b !important; background-color:#25293b !important;
  border-color:#ffc90d !important; color:#ffc90d !important; cursor:progress !important;
  box-shadow:0 8px 22px rgba(0,0,0,.32),0 0 0 2px rgba(255,201,13,.14) !important;
}
.mhfp-og .mhfp-og-hover-tool.is-loading > .mhfp-og-tool-icon,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading > .mhfp-og-tool-icon { visibility:hidden !important; }
.mhfp-og .mhfp-og-hover-tool.is-loading::after,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading::after { content:none !important; }
.mhfp-og .mhfp-tool-dots,
.mhfp-og-dialog .mhfp-tool-dots {
  position:absolute !important; inset:0 !important; z-index:4 !important; display:none !important;
  align-items:center !important; justify-content:center !important; gap:3px !important;
  pointer-events:none !important; font-size:0 !important; line-height:1 !important;
}
.mhfp-og .mhfp-og-hover-tool.is-loading > .mhfp-tool-dots,
.mhfp-og-dialog .mhfp-og-hover-tool.is-loading > .mhfp-tool-dots { display:inline-flex !important; }
.mhfp-og .mhfp-tool-dots > i,
.mhfp-og-dialog .mhfp-tool-dots > i {
  display:block !important; flex:0 0 auto !important; width:5px !important; height:5px !important;
  background:#ffc90d !important; border-radius:50% !important;
  box-shadow:0 0 4px rgba(255,201,13,.32) !important; opacity:.45;
  animation:mhfp-og-tool-dot-wave .9s ease-in-out infinite !important;
}
.mhfp-og .mhfp-tool-dots > i:nth-child(2), .mhfp-og-dialog .mhfp-tool-dots > i:nth-child(2) { animation-delay:.13s !important; }
.mhfp-og .mhfp-tool-dots > i:nth-child(3), .mhfp-og-dialog .mhfp-tool-dots > i:nth-child(3) { animation-delay:.26s !important; }
@keyframes mhfp-og-tool-dot-wave {
  0%,65%,100% { transform:translateY(1px) scale(.8); opacity:.42; }
  32% { transform:translateY(-3px) scale(1); opacity:1; }
}
@media (prefers-reduced-motion:reduce) {
  .mhfp-og .mhfp-tool-dots > i, .mhfp-og-dialog .mhfp-tool-dots > i { animation:none !important; transform:none !important; opacity:1 !important; }
}


/* 1.1.7 - AI + wand mark, premium zoom cursor, and click-first incremental zoom. */
.mhfp-og .mhfp-og-hover-ai,
.mhfp-og-dialog .mhfp-og-hover-ai {
  width:48px !important;
  min-width:48px !important;
}
.mhfp-og .mhfp-og-hover-ai .mhfp-og-tool-icon,
.mhfp-og-dialog .mhfp-og-hover-ai .mhfp-og-tool-icon {
  display:flex !important;
  flex-direction:row !important;
  gap:2px !important;
  align-items:center !important;
  justify-content:center !important;
  color:#ffc90d !important;
  font-family:Arial,sans-serif !important;
  font-weight:800 !important;
  letter-spacing:-.4px !important;
}
.mhfp-og .mhfp-og-ai-label,
.mhfp-og-dialog .mhfp-og-ai-label {
  font-size:14px !important;
  line-height:1 !important;
}
.mhfp-og .mhfp-og-ai-wand-svg,
.mhfp-og-dialog .mhfp-og-ai-wand-svg {
  width:18px !important;
  height:18px !important;
  display:block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.mhfp-og-dialog.mhfp-og-viewer {
  --mhfp-og-zoom-cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cdefs%3E%3Cfilter id='s' x='-40%25' y='-40%25' width='180%25' height='180%25'%3E%3CfeDropShadow dx='0' dy='2.5' stdDeviation='2.2' flood-color='%23000000' flood-opacity='.28'/%3E%3C/filter%3E%3ClinearGradient id='g' x1='5' y1='4' x2='23' y2='24'%3E%3Cstop stop-color='%232e3a63'/%3E%3Cstop offset='1' stop-color='%231b2340'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='13.5' cy='13.5' r='9.5' fill='url(%23g)' stroke='%23ffc90d' stroke-width='1.8' filter='url(%23s)'/%3E%3Cpath d='M13.5 9.3v8.4M9.3 13.5h8.4' stroke='%23ffc90d' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M20.4 20.4l4.6 4.6' stroke='%23ffc90d' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='21.2' cy='8.3' r='1.15' fill='rgba(255,255,255,0.55)'/%3E%3C/svg%3E") 13 13;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage,
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-zoom-surface,
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-full-image,
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage.is-zoomed .mhfp-og-full-image {
  cursor:var(--mhfp-og-zoom-cursor),zoom-in !important;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage.is-dragging,
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage.is-dragging .mhfp-og-full-image {
  cursor:grabbing !important;
}

.mhfp-og img.mhfp-og-image[data-qmf-transformed="1"],
.mhfp-og-dialog img.mhfp-og-full-image[data-qmf-transformed="1"] {
  content:normal !important;
}


/* 1.1.8 - reference-style AI sparkle button + cursor-anchored zoom. */
.mhfp-og .mhfp-og-hover-ai,
.mhfp-og-dialog .mhfp-og-hover-ai {
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  border-radius:50% !important;
  border:1.6px solid #ffc90d !important;
  background:rgba(49,47,55,.96) !important;
  color:#ffc90d !important;
  box-shadow:0 5px 14px rgba(0,0,0,.30) !important;
}
.mhfp-og .mhfp-og-hover-ai:hover,
.mhfp-og-dialog .mhfp-og-hover-ai:hover {
  background:#3a3740 !important;
  color:#ffc90d !important;
}
.mhfp-og .mhfp-og-hover-ai .mhfp-og-tool-icon,
.mhfp-og-dialog .mhfp-og-hover-ai .mhfp-og-tool-icon {
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:center !important;
  justify-content:center !important;
  color:#ffc90d !important;
}
.mhfp-og .mhfp-og-ai-sparkle-svg,
.mhfp-og-dialog .mhfp-og-ai-sparkle-svg {
  width:27px !important;
  height:27px !important;
  display:block !important;
  overflow:visible !important;
  fill:#ffc90d !important;
  stroke:none !important;
}
.mhfp-og .mhfp-og-hover-ai.is-loading,
.mhfp-og-dialog .mhfp-og-hover-ai.is-loading {
  border-radius:50% !important;
}


/* 1.1.9 - equal-size gold AI sparkle, precise pointer-anchored zoom, download footer. */
.mhfp-og .mhfp-og-hover-ai {
  width:35px !important;
  height:35px !important;
  min-width:35px !important;
  min-height:35px !important;
  max-width:35px !important;
  max-height:35px !important;
  padding:0 !important;
  flex:0 0 35px !important;
  border-radius:50% !important;
  background:rgba(37,41,59,.94) !important;
  border-color:#ffc90d !important;
  color:#ffc90d !important;
}
.mhfp-og-dialog .mhfp-og-hover-ai {
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  padding:0 !important;
  flex:0 0 38px !important;
  border-radius:50% !important;
  background:rgba(37,41,59,.94) !important;
  border-color:#ffc90d !important;
  color:#ffc90d !important;
}
.mhfp-og .mhfp-og-hover-ai .mhfp-og-tool-icon,
.mhfp-og-dialog .mhfp-og-hover-ai .mhfp-og-tool-icon,
.mhfp-og .mhfp-og-hover-ai .mhfp-og-ai-sparkle-svg,
.mhfp-og-dialog .mhfp-og-hover-ai .mhfp-og-ai-sparkle-svg,
.mhfp-og .mhfp-og-hover-ai .mhfp-og-ai-sparkle-svg path,
.mhfp-og-dialog .mhfp-og-hover-ai .mhfp-og-ai-sparkle-svg path {
  color:#ffc90d !important;
  fill:#ffc90d !important;
  stroke:none !important;
}
.mhfp-og .mhfp-og-ai-sparkle-svg { width:22px !important; height:22px !important; }
.mhfp-og-dialog .mhfp-og-ai-sparkle-svg { width:24px !important; height:24px !important; }
.mhfp-og-dialog .mhfp-og-download { white-space:nowrap; }
@media (max-width:480px) {
  .mhfp-og .mhfp-og-hover-ai {
    width:32px !important; height:32px !important; min-width:32px !important; min-height:32px !important;
    max-width:32px !important; max-height:32px !important; flex-basis:32px !important;
  }
  .mhfp-og-dialog .mhfp-og-hover-ai {
    width:34px !important; height:34px !important; min-width:34px !important; min-height:34px !important;
    max-width:34px !important; max-height:34px !important; flex-basis:34px !important;
  }
  .mhfp-og .mhfp-og-ai-sparkle-svg { width:20px !important; height:20px !important; }
  .mhfp-og-dialog .mhfp-og-ai-sparkle-svg { width:21px !important; height:21px !important; }
}


/* 1.1.10 - stronger viewer navigation, highest-resolution viewer source, category auto-open. */
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="previous"],
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="next"] {
  color:var(--og-gold) !important;
  border-color:rgba(255,201,13,.72) !important;
  font-weight:800 !important;
  background:#30364d !important;
}
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="previous"]:hover,
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="next"]:hover,
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="previous"]:focus-visible,
.mhfp-og-dialog .mhfp-og-view-controls [data-view-control="next"]:focus-visible {
  background:var(--og-gold) !important;
  color:#25293b !important;
  border-color:var(--og-gold) !important;
}
/* Never allow the CAD static-thumbnail cache to replace the actual pixels in
   the organized full-screen viewer. The viewer intentionally loads hires/full. */
.mhfp-og-dialog img.mhfp-og-full-image,
.mhfp-og-dialog img.mhfp-og-full-image.mhfp-cad-static-thumb-v143 {
  content:normal !important;
  --mhfp-cad-processed-thumb:none !important;
}

/* 1.1.11 - automatic CAD large-view enhancement. Keep hires pixels;
   the existing MHFP CAD plugin supplies the SVG sharpening/readable-red filters. */
.mhfp-og-dialog img.mhfp-og-full-image.mhfp-cad-sharp-main-v143 {
  content:normal !important;
  --mhfp-cad-processed-thumb:none !important;
}


/* 1.1.15 - storefront gallery hierarchy refinements. */
/* Keep the category navigation available while browsing a long gallery. */
.mhfp-og .mhfp-og-filters {
  position:sticky;
  top:calc(var(--wp-admin--admin-bar--height, 0px) + 6px);
  z-index:35;
  margin-left:-6px;
  margin-right:-6px;
  padding:10px 6px 12px;
  background:rgba(37,41,59,.97);
  box-shadow:0 8px 18px rgba(17,20,32,.16);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
/* Give presentation floor plans the full gallery width: two equal columns on desktop. */
.mhfp-og .mhfp-og-plan-grid {
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
.mhfp-og .mhfp-og-plan-grid button.mhfp-og-image-button {
  aspect-ratio:4 / 3;
  padding:8px;
}
/* Reduce caption/card chrome so the photography carries more visual weight. */
.mhfp-og .mhfp-og-caption {
  padding:7px 9px 2px;
  line-height:1.3;
}
.mhfp-og .mhfp-og-card-tools { padding:2px 7px 7px; }
.mhfp-og .mhfp-og-move { min-height:29px; padding:4px 10px; }
@media (max-width:720px) {
  .mhfp-og .mhfp-og-plan-grid { grid-template-columns:1fr !important; gap:10px !important; }
  .mhfp-og .mhfp-og-filters {
    top:calc(var(--wp-admin--admin-bar--height, 0px) + 3px);
    overflow-x:auto;
    flex-wrap:nowrap;
    scrollbar-width:thin;
  }
}
/* Sticky category navigation must be allowed to escape the gallery's clipping box. */
.mhfp-og { overflow:visible; }


/* 1.1.16 - photographic categories use captions over the image.
   Floor plans, variants, and CAD/technical drawings keep captions below so
   labels never cover dimensions, notes, linework, or presentation-plan detail. */
.mhfp-og figure.mhfp-og-card--overlay-caption button.mhfp-og-image-button {
  border-bottom:0;
}
.mhfp-og figure.mhfp-og-card--overlay-caption .mhfp-og-caption-overlay {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:18;
  display:block;
  margin:0;
  padding:30px 11px 10px;
  color:#fff;
  background:linear-gradient(to bottom, rgba(20,24,38,0) 0%, rgba(20,24,38,.55) 45%, rgba(20,24,38,.92) 100%);
  font-size:12px;
  font-weight:750;
  line-height:1.25;
  text-shadow:0 1px 3px rgba(0,0,0,.85);
  pointer-events:none;
}
.mhfp-og figure.mhfp-og-card--overlay-caption .mhfp-og-image-wrap {
  overflow:hidden;
  border-radius:8px;
}
/* Admin Move remains a separate control below the photograph. */
.mhfp-og figure.mhfp-og-card--overlay-caption .mhfp-og-card-tools {
  border-top:1px solid var(--og-line);
}
@media (max-width:720px) {
  .mhfp-og figure.mhfp-og-card--overlay-caption .mhfp-og-caption-overlay {
    padding:27px 9px 8px;
    font-size:11px;
  }
}

/* 1.1.17 - two-row viewer controls and shrink-to-content modal. */
.mhfp-og-dialog.mhfp-og-viewer {
  top:50% !important;
  right:0 !important;
  bottom:auto !important;
  left:0 !important;
  height:fit-content !important;
  min-height:0 !important;
  max-height:96dvh !important;
  margin:0 auto !important;
  transform:translateY(-50%);
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-controls {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:8px !important;
  padding:10px 18px 12px !important;
  background:var(--og-bg);
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-nav .mhfp-og-nav-button {
  min-width:112px !important;
  min-height:44px !important;
  padding:10px 22px !important;
  border-width:1.5px !important;
  font-size:13px !important;
  font-weight:850 !important;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-utilities {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
}
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-utilities .mhfp-og-original-link {
  margin-left:auto;
}
/* Keep enough room for the new two-row footer without forcing the dialog taller. */
.mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage {
  height:min(68dvh, calc(96dvh - 205px));
}
.mhfp-og-dialog.mhfp-og-viewer img.mhfp-og-full-image {
  max-height:calc(min(68dvh, calc(96dvh - 205px)) - 20px);
}
@media (max-width:480px) {
  .mhfp-og-dialog.mhfp-og-viewer {
    max-height:97dvh !important;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-controls {
    padding:8px 10px 10px !important;
    gap:7px !important;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-nav {
    gap:8px;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-nav .mhfp-og-nav-button {
    min-width:100px !important;
    min-height:42px !important;
    padding:9px 18px !important;
    font-size:12px !important;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-utilities {
    justify-content:center;
    gap:6px;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-view-utilities .mhfp-og-original-link {
    width:100%;
    margin:2px 0 0;
    text-align:center;
  }
  .mhfp-og-dialog.mhfp-og-viewer .mhfp-og-stage {
    height:min(60dvh, calc(97dvh - 220px));
  }
  .mhfp-og-dialog.mhfp-og-viewer img.mhfp-og-full-image {
    max-height:calc(min(60dvh, calc(97dvh - 220px)) - 20px);
  }
}


/* 1.1.34: administrator-only, explicit per-product AI naming of Additional Images. */
.mhfp-og .mhfp-og-ai-naming { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 3px; padding:9px 10px; border:1px solid var(--og-line); border-radius:7px; background:#30364d; }
.mhfp-og .mhfp-og-ai-naming button { flex:0 0 auto; min-height:30px; padding:5px 11px; border:1px solid var(--og-gold); border-radius:6px; font-size:11px; background:var(--og-gold); color:#25293b; }
.mhfp-og .mhfp-og-ai-naming button.mhfp-og-ai-stop { background:#532e35; color:#ffe2dc; border-color:#c77583; }
.mhfp-og .mhfp-og-ai-naming button.mhfp-og-ai-copy { background:transparent; color:var(--og-gold); }
.mhfp-og .mhfp-og-ai-naming .mhfp-og-ai-progress { flex:1 1 240px; color:var(--og-muted); font-size:10px; line-height:1.45; overflow-wrap:anywhere; }
.mhfp-og .mhfp-og-ai-naming .mhfp-og-ai-error { flex:1 1 100%; color:#ffd0cb; font-size:10px; line-height:1.5; overflow-wrap:anywhere; }


/* 1.1.36 - Three floor-plan sheets form one row at wide gallery widths.
   Auto-fit uses the *gallery's* real available width (including Divi columns),
   not an assumed viewport size. Four or more plans retain the established
   two-column layout, with two rows for four plans. */
.mhfp-og .mhfp-og-plan-grid[data-plan-count="3"] {
  grid-template-columns:repeat(auto-fit,minmax(min(285px,100%),1fr)) !important;
}
/* Keep full-size drawings legible on phones, matching the previous mobile rule. */
@media (max-width:720px) {
  .mhfp-og .mhfp-og-plan-grid[data-plan-count="3"] {
    grid-template-columns:minmax(0,1fr) !important;
  }
}
