/* Universal Elementor widget layout control (all 49 widgets): instance-scoped. */
.ues-layout-shell {
  --ues-boxed-width:1280px;
  --ues-inner-max:none;
  --ues-shell-gutter:0px;
  position:relative;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-inline:0;
  box-sizing:border-box;
}
.ues-layout-shell,.ues-layout-shell *,.ues-layout-shell *::before,.ues-layout-shell *::after { box-sizing:border-box; }
.ues-layout-shell > .ues-layout-inner {
  width:100%;
  max-width:var(--ues-inner-max,none);
  min-width:0;
  padding-inline:var(--ues-shell-gutter,0px);
  margin-inline:auto;
}
/* The class provides a valid preview before Elementor's per-device CSS has loaded.
 * Generated {{WRAPPER}} rules have greater specificity and override on tablet/mobile. */
.ues-layout-shell.ues-layout-boxed { --ues-inner-max:var(--ues-boxed-width,1280px); }
.ues-layout-shell.ues-layout-full {
  --ues-inner-max:none;
  width:var(--ues-viewport-width,100vw);
  max-width:none;
  left:50%;
  transform:translateX(-50%);
}
.ues-layout-shell:where(:not(.ues-layout-full)) { left:auto;transform:none; }
.ues-layout-inner > * { min-width:0; }
.ues-layout-shell :where(img,svg,video,iframe) { max-width:100%; }
/* Avoid accidental overflow of individual child cards; do not clip sliders or sticky nav. */
.ues-layout-shell :where(.fxh-m-company-grid,.uex-grid,.ues-home-collection .ues-track){min-width:0}

/* Fallback for Elementor preview and legacy documents before responsive CSS loads. */
@media (max-width:1024px) {
 .ues-layout-shell[data-ues-layout-tablet="inherit"] {--ues-inner-max:none;width:100%;max-width:100%;left:auto;transform:none;margin-inline:0}
 .ues-layout-shell[data-ues-layout-tablet="boxed"] {--ues-inner-max:var(--ues-boxed-width,1280px);width:100%;max-width:100%;left:auto;transform:none;margin-inline:0}
 .ues-layout-shell[data-ues-layout-tablet="full"] {--ues-inner-max:none;width:var(--ues-viewport-width,100vw);max-width:none;left:50%;transform:translateX(-50%);margin-inline:0}
}
@media (max-width:767px) {
 .ues-layout-shell[data-ues-layout-mobile="inherit"] {--ues-inner-max:none;width:100%;max-width:100%;left:auto;transform:none;margin-inline:0}
 .ues-layout-shell[data-ues-layout-mobile="boxed"] {--ues-inner-max:var(--ues-boxed-width,1280px);width:100%;max-width:100%;left:auto;transform:none;margin-inline:0}
 .ues-layout-shell[data-ues-layout-mobile="full"] {--ues-inner-max:none;width:var(--ues-viewport-width,100vw);max-width:none;left:50%;transform:translateX(-50%);margin-inline:0}
}

/* V1.8: consistent mobile readability across existing widgets (only inside plugin wrappers). */
.ues-layout-shell :where(.ues-layout-inner, .ues-home-collection, .ues-home-woo-products, .ues-v170, .ues-benefits-pro){min-width:0}
.ues-layout-shell :where(a,strong,span,p,h1,h2,h3,td,th){overflow-wrap:anywhere}
.ues-layout-shell :where(img,picture,video,iframe){max-width:100%}
.ues-layout-shell :where(.ues-home-collection .ues-track, .v17-review-track){-webkit-overflow-scrolling:touch}
.ues-layout-shell :where(.ues-section-title,.ues-section-subtitle,.ues-bp-description,.ues-v170-intro):empty{display:none!important;margin:0!important}
@media(max-width:767px){
 .ues-layout-shell :where(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}
 .ues-layout-shell :where(.ues-btn,.v17-button,.fxh-m-buttons a){min-height:44px}
 .ues-layout-shell :where(table){max-width:100%}
}
@media(prefers-reduced-motion:reduce){.ues-layout-shell :where(.ues-track,.v17-review-track){scroll-behavior:auto!important}}
