/**
 * Elementor compatibility.
 *
 * Keeps the theme's global CSS from interfering with Elementor-built content
 * and makes the theme's design tokens available to Elementor widgets.
 */

/* Let full-width / canvas Elementor pages span edge to edge. */
.elementor-page .dz-main > .dz-container,
.page-template-full-width .dz-main > .dz-container {
	max-width: 100%;
	padding-inline: 0;
}

/* Don't force theme card styling onto Elementor image/box widgets. */
.elementor img { display: inline-block; }
.elementor .dz-container { max-width: var(--dz-container); }

/* Theme buttons rendered inside Elementor keep their look. */
.elementor .dz-btn { text-decoration: none; }

/* DigiMart custom widgets inherit the design system spacing. */
.elementor-widget-digimart-products-by-category .dz-catblock:last-child,
.elementor-widget-digimart-category-grid .dz-catcards { margin-bottom: 0; }
