html.mnb-dialog-open { overflow: hidden; }

.mnb-dialog {
  color: #291022;
  background: #fff9fc;
  padding: 0;
  border: 0;
  border-radius: 1.65rem;
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: min(90dvh, 56rem);
  max-width: calc(100vw - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 1.5rem 7rem #290e243d;
}

.mnb-dialog:not([open]) { display: none; }
.mnb-dialog::backdrop { background: rgba(35, 12, 30, .74); }
.mnb-enquiry-panel { width: 32rem; }
.mnb-enquiry-content { padding: clamp(1.4rem, 5vw, 2.75rem); }
.mnb-enquiry-content > h2 {
  margin: 0 2rem .8rem 0;
  color: #291022;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2rem, 5.8vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 400;
}
.mnb-enquiry-content > h2:focus { outline: none; }
.mnb-enquiry-intro, .mnb-whatsapp-note {
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  color: #624758;
}
.mnb-enquiry-intro { font-size: 1rem; margin: 0 0 1.25rem; }
.mnb-enquiry-form { display: flex; flex-direction: column; }
.mnb-enquiry-form > label {
  margin: .75rem 0 .35rem;
  font-size: .925rem;
  line-height: 1.3;
  font-weight: 600;
  color: #291022;
}
.mnb-enquiry-form input, .mnb-enquiry-form textarea {
  background: #fff;
  color: #291022;
  border: 1px solid #bca6b4;
  border-radius: .55rem;
  padding: .66rem .8rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.mnb-enquiry-form textarea { resize: vertical; min-height: 5rem; }
.mnb-enquiry-form input::placeholder { color: #76616e; opacity: 1; }
.mnb-enquiry-form :is(input, textarea):focus {
  border-color: #a10058;
  outline: 2px solid #aa1b72;
  outline-offset: 1px;
}
.mnb-enquiry-form .mnb-whatsapp-note { margin: 1rem 0 .6rem; font-size: .875rem; }
.mnb-continue {
  border: 0;
  background: #ff07a9;
  color: #291022;
  border-radius: 2rem;
  padding: .82rem 1.25rem;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.mnb-continue:hover { background: #f635ae; }
.mnb-email {
  border: 1px solid #89154e;
  background: transparent;
  color: #291022;
  border-radius: 2rem;
  padding: .72rem 1rem;
  min-height: 48px;
  font: inherit;
  font-weight: 650;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.mnb-email:hover { background: #f6e6ee; }
.mnb-dialog-close {
  position: absolute;
  z-index: 1;
  top: .65rem;
  right: .65rem;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 50%;
  font: 400 1.8rem/1 system-ui, sans-serif;
  cursor: pointer;
  background: #f6e6ee;
  color: #291022;
}
.mnb-dialog-close:hover { background: #f4cfe0; }
.mnb-continue:focus-visible, .mnb-email:focus-visible, .mnb-dialog-close:focus-visible { outline: 3px solid #89154e; outline-offset: 3px; }
.mnb-photo-panel { background: #fff8fb; width: max-content; max-width: min(74rem, calc(100vw - 2rem)); }
.mnb-large-photo { margin: 0; padding: 0; }
.mnb-large-photo > img {
  display: block;
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 75dvh;
  object-fit: contain;
  margin-inline: auto;
}
.mnb-large-photo > figcaption {
  margin: 0;
  padding: .85rem 1.3rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  color: #291022;
}
@media (max-width: 430px) {
  .mnb-dialog { border-radius: 1.1rem; max-width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .mnb-enquiry-content { padding: 1.45rem 1.2rem; }
}
