
/* Mobile-only footer button */
.mqb-footer-wrap{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998; /* below modal */
  display: none;   /* enabled only on mobile via media query */
  padding: 0;
  margin: 0;
}
.mqb-footer-btn{
  width: 100%;
  height: var(--mqb-height, 64px);
  background: var(--mqb-bg, #79B54A);
  color: var(--mqb-color, #FFFFFF);
  border: 0;
  border-radius: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 -6px 18px rgba(0,0,0,.12);
}

/* Only show on mobile widths */
@media (max-width: 767px){
  .mqb-footer-wrap{ display:block; }
  body{ padding-bottom: var(--mqb-height, 64px); }
}
@media (max-width: 1px){
  /* placeholder - overwritten by JS config if user changes max width */
}

/* Modal - hidden by default, shown on click */
.mqb-modal{
  position: fixed;
  inset: 0;
  z-index: 999999; /* over everything */
  display: none;   /* IMPORTANT: hidden until click */
}
.mqb-modal.is-open{ display: block; }

.mqb-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.mqb-dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(92vw, 520px);
  max-height: 80vh;
  background: #fff;
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding: 18px 16px 16px;
}

.mqb-close{
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  font-size: 24px;
  cursor: pointer;
}

.mqb-content{
  padding-top: 8px;
}

/* Ensure CF7 inputs fit */
.mqb-content input, .mqb-content select, .mqb-content textarea{
  max-width: 100%;
}
