/* A completed gift enquiry should occupy the dialog, like the form itself. */
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .c-booking-leopard {
  display: none;
}
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .c-overlay-menu__inner {
  display: flex;
  align-items: center;
  min-height: 100%;
  height: auto;
  padding: 80px 30px;
}
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .c-overlay-menu__content {
  width: 100%;
  padding: 0;
}
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .c-overlay-menu__text,
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .nf-form-wrap {
  margin-top: 0;
}
#shared-component-enquiry-10331 #nf-form-7-cont .nf-response-msg {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: #561403;
  font-size: 18px;
  line-height: 1.5;
}
#shared-component-enquiry-10331:has(#nf-form-7-cont .nf-response-msg:not(:empty)) .nf-form-title {
  display: block;
  margin-bottom: 24px;
  text-align: center;
}
#shared-component-enquiry-10331 #nf-form-7-cont .nf-response-msg p + p {
  margin-top: 1em;
}
@media (max-width: 767px) {
  #shared-component-enquiry-10331 #nf-form-7-cont .nf-response-msg {
    font-size: 16px;
  }
}
