/* Weavings V28 — stable enquiry popups without mutation feedback loops. */
html.wv-v28-enquiry-open,
body.wv-v28-enquiry-open {
  overflow: hidden !important;
}

html.wv-v28-enquiry-open #weavingsCtaStack,
body.wv-v28-enquiry-open #weavingsCtaStack,
html.wv-v28-enquiry-open #enquireBtnContainer,
body.wv-v28-enquiry-open #enquireBtnContainer,
html.wv-v28-enquiry-open #enquireBtn,
body.wv-v28-enquiry-open #enquireBtn,
html.wv-v28-enquiry-open #associateSupportBtn,
body.wv-v28-enquiry-open #associateSupportBtn,
html.wv-v28-enquiry-open .weavings-floating-cta-stack,
body.wv-v28-enquiry-open .weavings-floating-cta-stack,
html.wv-v28-enquiry-open .weavings-fixed-cta-stack,
body.wv-v28-enquiry-open .weavings-fixed-cta-stack,
html.wv-v28-enquiry-open [data-weavings-floating-cta],
body.wv-v28-enquiry-open [data-weavings-floating-cta] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@supports selector(body:has(*)) {
  body:has(#enquirePopup.weavings-modal-visible) #weavingsCtaStack,
  body:has(#enquirePopup.weavings-v11-visible) #weavingsCtaStack,
  body:has(#associateSupportPopup.weavings-modal-visible) #weavingsCtaStack,
  body:has(#associateSupportPopup.weavings-v11-visible) #weavingsCtaStack,
  body:has(#enquirePopup.weavings-modal-visible) #enquireBtnContainer,
  body:has(#enquirePopup.weavings-v11-visible) #enquireBtnContainer,
  body:has(#associateSupportPopup.weavings-modal-visible) #enquireBtnContainer,
  body:has(#associateSupportPopup.weavings-v11-visible) #enquireBtnContainer,
  body:has(#enquirePopup.weavings-modal-visible) #enquireBtn,
  body:has(#enquirePopup.weavings-v11-visible) #enquireBtn,
  body:has(#associateSupportPopup.weavings-modal-visible) #enquireBtn,
  body:has(#associateSupportPopup.weavings-v11-visible) #enquireBtn,
  body:has(#enquirePopup.weavings-modal-visible) #associateSupportBtn,
  body:has(#enquirePopup.weavings-v11-visible) #associateSupportBtn,
  body:has(#associateSupportPopup.weavings-modal-visible) #associateSupportBtn,
  body:has(#associateSupportPopup.weavings-v11-visible) #associateSupportBtn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

#enquirePopup,
#associateSupportPopup {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#enquirePopup .popup-content,
#associateSupportPopup .popup-content {
  box-sizing: border-box !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  #enquirePopup,
  #associateSupportPopup {
    align-items: flex-start !important;
    padding: 12px !important;
  }

  #enquirePopup .popup-content,
  #associateSupportPopup .popup-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
  }
}
