/**
 * Elementor bridge.
 *
 * Keeps Elementor containers aligned with the theme container and makes the
 * theme's own section shortcodes behave inside builder columns.
 */

.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
	max-width: var(--aris-container);
}

.elementor-widget-container .aris-section,
.e-con .aris-section { padding-block: 0; }

.elementor-widget-container .aris-section .aris-container,
.e-con .aris-section .aris-container { max-width: 100%; padding-inline: 0; }

/* Elementor buttons inherit the theme button shape. */
.elementor-button {
	border-radius: var(--aris-btn-radius);
	font-weight: var(--aris-button-weight);
	text-transform: var(--aris-button-transform);
}

/* Theme header and footer stay out of the way inside builder previews. */
.elementor-editor-active .aris-sticky-row.is-stuck { position: static; }

/* Elementor Pro product loops reuse the Aris card. */
.elementor-widget-woocommerce-products ul.products {
	display: grid;
	grid-template-columns: repeat(var(--aris-shop-columns, 4), minmax(0, 1fr));
	gap: 26px 24px;
}
