/*
 * 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.
 */

/* =========================================================================
   Makerique Boutique — Effects (base declarations only)
   Auto-globbed & loaded by event/theme.php. Everything here is ALWAYS SAFE
   and idempotent: it only smooths the transitions/overflow the toggleable
   effects rely on. The gated effect rules themselves (hover lift, image
   zoom, button outline, link underline, reveal) are emitted INLINE by
   event/customizer.php so they can be switched without a redeploy.
   Do NOT add gated effect rules to this file.
   ========================================================================= */

/* Smooth the properties the inline effects animate. Falls back to .22s when
   the --mr-transition token is not present. */
.product-thumb,
.btn,
.mr-menu .nav-link {
  transition: transform var(--mr-transition, .22s) ease,
              box-shadow var(--mr-transition, .22s) ease,
              background var(--mr-transition, .22s) ease,
              border-color var(--mr-transition, .22s) ease,
              color var(--mr-transition, .22s) ease;
}

/* Zoom effects need their wrappers to clip the scaled image. */
.product-thumb .image,
.mr-cat-card,
.mr-gallery-main {
  overflow: hidden;
}

/* Base transition for the zoomable images (the scale itself is emitted
   inline and gated on the fx_image_zoom setting). */
.product-thumb .image img,
.mr-cat-card img,
.mr-gallery-main img {
  transition: transform var(--mr-transition, .22s) ease;
}
