/* Litho contact-us-simple form + modal-simple/Magnific shell.
   Original grid, medium-input, textarea and button rules live in vendor CSS.
   These rules only adapt the selected dialog to Sailsocean and safe scrolling. */
@font-face {
  font-family: 'Sailsocean Alibaba PuHuiTi';
  src: url('./fonts/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
#contact-modal {
  --booking-ink: #1d3045;
  --booking-muted: #71808d;
  --booking-line: #dbe2e7;
  position: relative;
  width: min(100%, 1000px);
  margin: 36px auto;
  padding: 56px 64px;
  background: #fff;
  color: var(--booking-ink);
  border-radius: 6px;
  font-family: 'Sailsocean Alibaba PuHuiTi', sans-serif;
}
#contact-modal :not(i) { font-family: 'Sailsocean Alibaba PuHuiTi', sans-serif !important; }
#contact-modal [hidden] { display: none !important; }
#contact-modal .booking-heading { margin-bottom: 32px; }
#contact-modal h4 { color: var(--booking-ink); font-size: 32px; line-height: 1.35; margin-bottom: 10px; font-weight: 500; }
#contact-modal .booking-form > .row > .col { margin-bottom: 24px; }
#contact-modal .booking-field { margin-bottom: 18px; }
#contact-modal .booking-field:last-child { margin-bottom: 0; }
#contact-modal .booking-field label { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; margin-bottom: 8px; }
#contact-modal input:not([type=checkbox]), #contact-modal select, #contact-modal textarea {
  width: 100%; font-size: 15px; line-height: 1.5; color: var(--booking-ink);
  padding: 12px 15px; margin-bottom: 0; border: 1px solid var(--booking-line); border-radius: 2px;
  background-color: #fff; box-shadow: none;
}
#contact-modal select { min-height: 49px; padding-right: 32px; }
#contact-modal textarea { min-height: 139px; height: 139px; resize: vertical; }
#contact-modal ::placeholder { color: #8c97a0; }
#contact-modal input:focus, #contact-modal textarea:focus, #contact-modal select:focus {
  outline: 2px solid #9cb4c6; outline-offset: 2px; border-color: #627f96;
}
#contact-modal [aria-invalid=true] { border-color: #b34842 !important; }
#contact-modal .booking-error { display: block; color: #a33f39; font-size: 12px; line-height: 1.6; margin-top: 5px; }
#contact-modal .booking-error:empty { display: none; }
#contact-modal .booking-consent { display: flex; align-items: center; gap: 9px; }
#contact-modal .booking-checkbox { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--booking-ink); }
#contact-modal .booking-checkbox-label { font-size: 13px; line-height: 1.6; color: var(--booking-muted); margin: 0; cursor: pointer; }
#contact-modal .booking-actions .btn { min-width: 155px; }
#contact-modal .btn { font-size: 14px; padding: 13px 25px; text-transform: none; letter-spacing: 0; border-radius: 2px; }
#contact-modal .btn-dark-gray { background: var(--booking-ink); border-color: var(--booking-ink); color: #fff; }
#contact-modal .btn-dark-gray:hover { background: #314e65; color: #fff; border-color: #314e65; }
#contact-modal .btn-transparent-dark-gray { border-color: var(--booking-line); color: var(--booking-ink); }
#contact-modal .btn-transparent-dark-gray:hover { background: #f0f4f6; }
#contact-modal .btn:focus-visible { outline: 2px solid #91adbf; outline-offset: 4px; }
#contact-modal .btn:disabled { opacity: .6; cursor: wait; }
#contact-modal .booking-status { color: #a33f39; margin-bottom: 12px; }
#contact-modal .booking-status:empty { display: none; }
#contact-modal #booking-result { padding: 28px 0; }
#contact-modal .booking-result-icon { display: inline-block; font-size: 38px; color: #57758a; margin-bottom: 22px; }
#contact-modal #booking-result-copy { color: var(--booking-muted); font-size: 15px; }
#contact-modal .booking-summary { max-width: 480px; margin: 32px auto; text-align: left; }
#contact-modal .booking-summary > div { display: flex; gap: 24px; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--booking-line); font-size: 14px; line-height: 1.6; }
#contact-modal .booking-summary dt { color: var(--booking-muted); flex-shrink: 0; font-weight: 400; }
#contact-modal .booking-summary dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
#contact-modal .booking-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.yf-booking-popup.mfp-bg { background: #162b3e; opacity: .64; }
.yf-booking-popup .mfp-container { padding: 0 24px; }
.yf-booking-popup .mfp-content { width: 100%; }
.yf-booking-popup .mfp-close { color: #1d3045; width: 48px; height: 48px; line-height: 48px; right: 8px; top: 8px; font-size: 28px; opacity: 1; border-radius: 2px; }
.yf-booking-popup .mfp-close:hover { background: #f0f4f6; }
.yf-booking-popup .mfp-close:focus-visible { outline: 2px solid #91adbf; outline-offset: -5px; }
@media (max-width: 767px) {
  .yf-booking-popup .mfp-container { padding: 0 16px; }
  #contact-modal { margin: 20px auto; padding: 48px 24px 28px; }
  #contact-modal h4 { font-size: 27px; }
  #contact-modal .booking-heading { margin-bottom: 26px; text-align: left !important; }
  #contact-modal .booking-form > .row > .col { margin-bottom: 18px; }
  #contact-modal input:not([type=checkbox]), #contact-modal select, #contact-modal textarea { font-size: 16px; }
  #contact-modal .booking-actions .btn { width: 100%; min-height: 48px; }
  #contact-modal #booking-result { padding: 12px 0; }
  #contact-modal .booking-summary > div { gap: 14px; }
  #contact-modal .booking-result-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .yf-booking-popup, .yf-booking-popup .mfp-content, .yf-booking-popup #contact-modal { animation: none !important; transition: none !important; }
}
