/*
 * Makerique Boutique theme for OpenCart 4
 * Copyright (c) 2026 Heliopsy. All Rights Reserved.
 * https://makerique.com
 * SPDX-License-Identifier: LicenseRef-Proprietary
 * Proprietary and confidential. Unauthorized copying, distribution, or
 * modification of this file, by any means, is strictly prohibited.
 */

/* ── Product image popup (magnific-popup) style presets ──────────────────────
   Applied via magnificPopup mainClass = "mr-mfp mr-mfp--<style>" (see
   product.twig, set from MR: Products → Product → Image popup). magnific already
   fits the image to the viewport (responsive by default); these presets only
   change the look. All use relative units so they hold on desktop/tablet/mobile. */

/* Shared: keep the image responsive + never overflow the viewport. */
.mr-mfp .mfp-img {
  max-width: 100%;
  max-height: 84vh;
  height: auto;
}
.mr-mfp .mfp-figure { margin: 0 auto; }

/* Classic — soft dark backdrop, rounded image, subtle shadow. */
.mr-mfp--classic .mfp-bg { background: #1b1b1b; opacity: .9; }
.mr-mfp--classic .mfp-img { border-radius: .5rem; box-shadow: 0 12px 40px rgba(0,0,0,.5); }

/* Minimal — light, chrome-free; image only. */
.mr-mfp--minimal .mfp-bg { background: #f7f5f1; opacity: .96; }
.mr-mfp--minimal .mfp-img { border-radius: 0; box-shadow: none; }
.mr-mfp--minimal .mfp-close { color: #333; }

/* Fullscreen — opaque black, image fills more of the viewport. */
.mr-mfp--fullscreen .mfp-bg { background: #000; opacity: 1; }
.mr-mfp--fullscreen .mfp-img { max-height: 96vh; border-radius: 0; }
.mr-mfp--fullscreen .mfp-container { padding: 0; }

/* Floating — dimmed backdrop, strongly rounded card with a big shadow. */
.mr-mfp--floating .mfp-bg { background: #2a2a2a; opacity: .82; }
.mr-mfp--floating .mfp-img { border-radius: 1rem; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.mr-mfp--floating .mfp-figure { padding: 1rem; }

/* Gallery — dark, prominent nav arrows for browsing multiple images. */
.mr-mfp--gallery .mfp-bg { background: #111; opacity: .94; }
.mr-mfp--gallery .mfp-img { border-radius: .4rem; }
.mr-mfp--gallery .mfp-arrow { opacity: 1; transform: scale(1.2); }

/* Editorial — warm off-white backdrop, generous framing. */
.mr-mfp--editorial .mfp-bg { background: #efe9e1; opacity: .97; }
.mr-mfp--editorial .mfp-img {
  border-radius: .25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  border: 6px solid #fff;
}
.mr-mfp--editorial .mfp-container { padding: 1.5rem; }
.mr-mfp--editorial .mfp-close { color: #333; }
