/*
 * Elementor / third-party plugin compatibility.
 * Keep these rules deliberately small. The theme does not style Elementor
 * widgets globally; Elementor Site Settings and widget controls remain in charge.
 */
.cm-elementor-document{width:100%;max-width:none;margin:0;padding:0;overflow:clip}
.cm-elementor-document > .elementor{width:100%}
body.elementor-page .cm-elementor-document img,
body.elementor-page .elementor img{height:auto}

/* Theme variables are available to custom Elementor CSS without forcing them. */
body{--cm-primary:#820A0A;--cm-accent:#680808;--cm-surface:#fff;--cm-text:#3C0D01;--cm-muted:#7A7A7A;--cm-cream:#F7F2E9;--cm-brass:#A8833E}

/* WooCommerce: only structural containment. WooCommerce owns its component UI. */
.woocommerce .site-main,.woocommerce-page .site-main{min-width:0}
.woocommerce img,.woocommerce-page img{height:auto;max-width:100%}

/* Popular form plugins retain their own visual system. */
.wpcf7 input,.wpcf7 select,.wpcf7 textarea,
.gform_wrapper input,.gform_wrapper select,.gform_wrapper textarea,
.fluentform input,.fluentform select,.fluentform textarea,
.wpforms-container input,.wpforms-container select,.wpforms-container textarea{max-width:100%}

/* Builder/admin UI should never inherit front-end transitions. */
.elementor-editor-active .cm-elementor-document{overflow:visible}
