/**
 * SheForSea — Elementor compatibility layer.
 *
 * Elementor injects its own container widths; these rules make an Elementor
 * "boxed" container line up with the theme's .s4s-wrap so hand-written
 * templates and Elementor-built pages share one grid.
 */

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

/* Full-width canvas page template */
.s4s-canvas .s4s-main { padding: 0; }

/* Elementor headings/buttons inherit the brand type unless overridden. */
.elementor-widget-heading .elementor-heading-title { font-family: var(--s4s-font-display); }
.elementor-widget-text-editor { font-family: var(--s4s-font-body); }

.elementor-button {
	font-family: var(--s4s-font-display);
	font-weight: 600;
	border-radius: var(--s4s-radius-sm);
}

/* Elementor Pro theme-builder locations sit inside the theme shell, so kill
   the double top padding when a header template replaces ours. */
.elementor-location-header + .s4s-main { padding-top: 0; }

/* Editor preview: give dark widgets a readable backdrop in the canvas. */
.elementor-editor-active .s4s-onDark { min-height: 80px; }

/* Woo product widget from Elementor Pro adopts the marketplace card. */
.elementor-widget-woocommerce-products ul.products li.product {
	background: var(--s4s-paper);
	border: 1px solid var(--s4s-line);
	border-radius: var(--s4s-radius);
	overflow: hidden;
}
