/* Service-sidebar form treatment, scoped to the popup on every eligible page. */
.consultation-popup {
  --sd-ink: #201e1b;
  --sd-gold: #caac79;
  --sd-gold-dark: #967039;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 1px solid #e7dfd2;
  border-radius: 6px;
  background: #fdf8ee;
  color: var(--sd-ink);
  box-shadow: 0 20px 70px #0004;
}
.consultation-popup::backdrop { background: rgb(0 0 0 / 60%); }
.consultation-popup .service-enquiry-card { padding: 26px 20px 20px; border: 0; border-radius: 0; background: #fdf8ee; }
.consultation-popup .service-enquiry-card h2 { margin: 0 24px 20px 0; font-size: 20px !important; line-height: 1.35; color: var(--sd-ink); font-weight: 700; }
.consultation-popup .consultation-popup-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #514633; font-size: 28px; line-height: 1; cursor: pointer; }
.consultation-popup .service-enquiry-form { display: grid; gap: 14px; margin: 0; }
.consultation-popup .input-field { position: relative; margin: 0 !important; padding: 0; border: 0; }
.consultation-popup .input-field input,
.consultation-popup .input-field textarea { box-sizing: border-box; display: block; width: 100%; height: 46px; min-height: 46px; margin: 0; padding: 12px 14px; border: 1px solid #cfc6b9; border-radius: 5px; background: #fff; color: var(--sd-ink); font-size: 14px; line-height: 20px; letter-spacing: 0; box-shadow: none; }
.consultation-popup .input-field textarea { height: 76px; min-height: 76px; resize: vertical; }
.consultation-popup .input-field label { position: absolute; inset: 13px auto auto 14px; margin: 0; padding: 0; background: #fff; color: #655d51; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0; transform: none; pointer-events: none; transition: top .15s ease, font-size .15s ease; }
.consultation-popup .input-field input:focus,
.consultation-popup .input-field textarea:focus { outline: none; border-color: #a9803f; box-shadow: 0 0 0 2px rgb(202 172 121 / 15%); }
.consultation-popup .input-field input:focus ~ label,
.consultation-popup .input-field input:not(:placeholder-shown) ~ label,
.consultation-popup .input-field textarea:focus ~ label,
.consultation-popup .input-field textarea:not(:placeholder-shown) ~ label { top: -9px; left: 10px; padding: 0 4px; color: #725627; font-size: 11px; transform: none; }
.consultation-popup .service-form-submit.applynowbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; justify-self: center; width: auto; min-width: 0; height: auto; min-height: 44px; padding: 9px 40px; overflow: visible; border: 3px solid var(--sd-gold); border-radius: 8px; background: var(--sd-gold); color: #fff; font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.consultation-popup .service-form-submit:hover { background: #fff; color: var(--sd-gold-dark); transform: none; }
.consultation-popup .service-form-submit:disabled { opacity: .65; cursor: wait; }
.consultation-popup button:focus-visible { outline: 3px solid #967039; outline-offset: 3px; }
.consultation-popup .service-form-note { display: flex; align-items: center; justify-content: center; gap: 4px; margin: -2px 0 0 !important; padding: 0; color: #777067; font-size: 9px !important; line-height: 1.5; white-space: nowrap; }
.consultation-popup .service-form-note i { color: var(--sd-gold-dark); }
html.consultation-popup-open { overflow: hidden; }
@media (max-width: 767.98px) {
  .consultation-popup .input-field input,
  .consultation-popup .input-field textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .consultation-popup *, .consultation-popup *::before, .consultation-popup *::after { transition: none !important; animation: none !important; }
}
