/* Homepage 540: Desktop (>=1025px) restored to #32123 MAKING YOUR PRODUCT IDEAS A REALITY poster; Mobile (<=767px) preserved 100% unchanged. */
@media (min-width:1025px) {
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero:not(.elementor-motion-effects-element-type-background) {
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1920 / 649!important;
    padding:0!important;
    background-color:#102331!important;
    background-image:url("https://mstfab.com/wp-content/uploads/2026/11/mstfab-home-poster-desktop-hd-1920-20261127.webp")!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    overflow:hidden!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero > .elementor-background-overlay,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-lcp-picture,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-eye,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-sub,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-b2 {
    display:none!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-h1 {
    display:block!important;
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    min-width:1px!important;
    min-height:1px!important;
    max-width:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    pointer-events:none!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-ctas {
    display:contents!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-b1 {
    display:block!important;
    position:absolute!important;
    z-index:45!important;
    top:51.4%!important;
    left:13.3%!important;
    right:auto!important;
    bottom:auto!important;
    width:19.4%!important;
    height:6.5%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    background:transparent!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-b1 .elementor-button-wrapper,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-b1[data-id="h-b1"] a.elementor-button {
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    visibility:visible!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    background-color:transparent!important;
    color:transparent!important;
    box-shadow:none!important;
    cursor:pointer!important;
    pointer-events:auto!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c0-hero .elementor-element.elementor-element-h-b1:focus-within {
    outline:3px solid #fff!important;
    outline-offset:3px!important;
  }
}

@media (max-width:767px) {
  /* QC: make all five existing choices readable; keep their tab/panel JS state. */
  html body.home.page-id-540 .elementor-540 .mst-quality__grid {
    display:block!important;min-width:0!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-quality__tabs {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:10px!important;
    width:100%!important;min-width:0!important;overflow:visible!important;
    scroll-snap-type:none!important;padding:0!important;margin:0 0 20px!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-quality .mst-quality__tab {
    grid-template-columns:24px minmax(0,1fr) 14px!important;gap:7px!important;
    width:100%!important;min-width:0!important;height:auto!important;min-height:76px!important;
    padding:12px!important;font-size:14px!important;line-height:1.45!important;
    letter-spacing:0!important;text-transform:none!important;white-space:normal!important;
    overflow-wrap:anywhere!important;word-break:normal!important;scroll-snap-align:none!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-quality__tab > span:nth-child(2) {
    min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-quality__tab-number,
  html body.home.page-id-540 .elementor-540 .mst-quality__eyebrow,
  html body.home.page-id-540 .elementor-540 .mst-quality__caption {
    font-size:14px!important;line-height:1.45!important;letter-spacing:0!important;
    text-transform:none!important;white-space:normal!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-quality__panels,
  html body.home.page-id-540 .elementor-540 .mst-quality__panel {
    min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;
  }
  /* Materials: preserve the existing data and make specifications wrap in two columns. */
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-specs {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    min-width:0!important;width:100%!important;overflow:visible!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec-k,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec-v {
    min-width:0!important;max-width:100%!important;width:auto!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec-k .elementor-heading-title,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec-v .elementor-heading-title,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-tag .elementor-heading-title,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-app .elementor-heading-title,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-chip .elementor-heading-title,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-standard p {
    font-size:14px!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important;
    min-width:0!important;max-width:100%!important;white-space:normal!important;
    overflow-wrap:anywhere!important;word-break:normal!important;overflow:visible!important;text-overflow:clip!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-spec-v .elementor-heading-title {
    font-size:16px!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-tags {
    flex-wrap:wrap!important;min-width:0!important;overflow:visible!important;
  }
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-tags > .elementor-element,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-apps > .elementor-element {
    min-width:0!important;max-width:100%!important;flex:0 1 auto!important;
  }
  /* Preserve the desktop header root's existing hidden-mobile intent. */
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-883dc5b {
    display:none!important;
  }
  /* Header 281, actual mobile menu widget 31e9f38; keep its JS/ARIA open-close state. */
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-31e9f38 {
    min-width:0!important;max-width:100%!important;
  }
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-31e9f38 .elementor-menu-toggle {
    min-width:44px!important;min-height:44px!important;align-items:center!important;justify-content:center!important;
  }
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-31e9f38 .elementor-nav-menu--dropdown {
    max-width:calc(100vw - 24px)!important;
  }
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-31e9f38 .elementor-nav-menu--dropdown a.elementor-item,
  html body.home.page-id-540 .elementor-281 .elementor-element.elementor-element-31e9f38 .elementor-nav-menu--dropdown a.elementor-sub-item {
    min-height:44px!important;font-size:16px!important;line-height:1.4!important;
    text-transform:none!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native .elementor-field-label {
    font-size:14px!important;line-height:1.4!important;text-transform:none!important;letter-spacing:0!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native input.elementor-field:not([type="hidden"]),
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native textarea.elementor-field,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native select.elementor-field,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native input[type="file"] {
    font-size:16px!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native input.elementor-field:not([type="hidden"]),
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native select.elementor-field,
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native button[type="submit"] {
    min-height:44px!important;
  }
  html body.home.page-id-540 .elementor.elementor-540[data-elementor-id="540"] .elementor-element.elementor-element-c5-form-native .elementor-field-type-html p {
    font-size:14px!important;line-height:1.5!important;text-transform:none!important;letter-spacing:0!important;
  }
  /* Preserve the restored mobile hero; remove duplicate fixed contact controls over the RFQ. */
  html body.home.page-id-540 #mstfab-floating-contact,
  html body.home.page-id-540 #mstfab-mobile-contact-rail,
  html body.home.page-id-540 #mstfab-desktop-tablet-whatsapp[id="mstfab-desktop-tablet-whatsapp"] {
    display:none!important;visibility:hidden!important;pointer-events:none!important;
  }
}

@media (max-width:360px) {
  html body.home.page-id-540 .elementor-540 .mst-quality__tabs,
  html body.home.page-id-540 .elementor-540 .mst-home-materials-v2 .mst-mat-specs {
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* Visible disclosure is emitted by the homepage-only delivery plugin. CAPTCHA stays active. */
html body.home.page-id-540 .grecaptcha-badge {visibility:hidden!important;}
html body.home.page-id-540 #mstfab-home-recaptcha-notice-20261206 {
  display:block!important;visibility:visible!important;opacity:1!important;position:static!important;
  width:auto!important;height:auto!important;margin:0!important;padding:12px 24px!important;
  background:#123746!important;color:#fff!important;font:12px/1.5 Arial,sans-serif!important;
  text-align:center!important;clip:auto!important;clip-path:none!important;
}

/* Measured mobile menu follow-up: override the older 42px header minimum. */
@media (max-width:767px) {
  html body.home.page-id-540 .elementor.elementor-281[data-elementor-id="281"] .elementor-element.elementor-element-31e9f38 .elementor-menu-toggle[role="button"] {
    min-width:44px!important;
    min-height:44px!important;
    height:auto!important;
    box-sizing:border-box!important;
  }
  html body.home.page-id-540 .elementor.elementor-281[data-elementor-id="281"] .elementor-element.elementor-element-31e9f38 .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
