/* Elementor integration layer. Keep wrappers transparent so supplied layouts remain intact. */
.sdl-section-shell,
.sdl-section-shell.e-con,
.sdl-section-shell > .e-con-inner,
.elementor-widget-sdl-home-hero,
.elementor-widget-sdl-brand-partners,
.elementor-widget-sdl-home-products,
.elementor-widget-sdl-home-oem,
.elementor-widget-sdl-home-capability,
.elementor-widget-sdl-home-why,
.elementor-widget-sdl-home-resources,
.elementor-widget-sdl-inquiry,
.elementor-widget-sdl-inner-banner,
.elementor-widget-sdl-products-catalog,
.elementor-widget-sdl-applications-grid,
.elementor-widget-sdl-factory-overview,
.elementor-widget-sdl-factory-processes,
.elementor-widget-sdl-factory-quality,
.elementor-widget-sdl-factory-film,

.elementor-widget-sdl-factory-final-hero,
.elementor-widget-sdl-factory-final-company,
.elementor-widget-sdl-factory-final-image,
.elementor-widget-sdl-factory-final-equipment,
.elementor-widget-sdl-quality-hero,
.elementor-widget-sdl-quality-material,
.elementor-widget-sdl-quality-bonding,
.elementor-widget-sdl-quality-validation,
.elementor-widget-sdl-resources-archive,
.elementor-widget-sdl-resource-article,
.elementor-widget-sdl-contact-page,
.elementor-widget-sdl-product-detail{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;
}
.sdl-section-shell > .elementor-element,
.sdl-section-shell > .e-con-inner > .elementor-element,
[class*="elementor-widget-sdl-"] > .elementor-widget-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
body.elementor-page .site-main{width:100%;max-width:none;margin:0;padding:0;}
body.elementor-editor-active [data-reveal], body.elementor-editor-preview [data-reveal], body.elementor-editor-active .reveal-image{opacity:1!important;transform:none!important;}
/* Ensure media always fills the original fixed/aspect containers. */
.product-card img,.card-media img,.application-card-media img,.process-card img,.quality-card-new img,.resource-card-media img,.post-body>img,
.capability-shot img,.capability-shot video,.why-photo img,.blog-card img,.factory-overview img,.factory-film video,.product-photo img,.dimension-drawing{
  width:100%;height:100%;object-fit:cover;
}

/* Final v4 Factory + Quality component integration. */
body.elementor-editor-active .factory-rebuilt-page .reveal, body.elementor-editor-preview .factory-rebuilt-page .reveal,
body.elementor-editor-active.quality-page .reveal, body.elementor-editor-preview.quality-page .reveal{opacity:1!important;transform:none!important;}
.factory-hero>img,.factory-image img,.equipment-card img,.quality-hero-media img,.pillar-visual img,.portrait img,.rolling img,.tensile img{width:100%!important;height:100%!important;object-fit:cover!important;}

/* Global Header / Footer Elementor widgets. */
.elementor-widget-sdl-global-header,
.elementor-widget-sdl-global-footer,
.elementor-widget-sdl-global-header > .elementor-widget-container,
.elementor-widget-sdl-global-footer > .elementor-widget-container,
.sdl-global-shell,
.sdl-global-shell.e-con,
.sdl-global-shell > .e-con-inner{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;
}
body.sdl-global-template-editor{margin:0;background:#f3f3ef;}
body.sdl-global-template-editor .site-main{width:100%;max-width:none;margin:0;padding:0;}
/* In Elementor editor, keep the fixed header visible but allow enough canvas height to select it. */
body.elementor-editor-active.sdl-global-template-editor .site-header,
body.elementor-editor-preview.sdl-global-template-editor .site-header{position:relative!important;top:auto!important;}
