/*
 * v3.330 — estilos compartilhados dos modais de contato de Imóveis.
 * Estas regras usam as mesmas classes e medidas que o detalhe público de Imóveis
 * já utiliza no site.php. Não existe um segundo desenho de modal para Veículos.
 */
.spb-property-company-actions>button,.spb-property-company-actions>.spb-property-company-action-button{height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 14px!important;line-height:36px!important;box-sizing:border-box!important}
.spb-property-contact-modal,.spb-property-whatsapp-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:none;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(0,0,0,.58)!important;box-sizing:border-box!important;overflow-y:auto!important}
.spb-property-contact-modal.is-open,.spb-property-whatsapp-modal.is-open{display:flex!important}
.spb-property-contact-dialog,.spb-property-whatsapp-dialog{position:relative!important;width:min(620px,100%)!important;max-height:none!important;overflow:visible!important;background:#fff!important;border-radius:0!important;box-shadow:0 18px 60px rgba(0,0,0,.28)!important;box-sizing:border-box!important}
.spb-property-contact-header,.spb-property-whatsapp-header{padding:22px 70px 14px 26px!important;border-bottom:1px solid #e5e7eb!important}
.spb-property-contact-header h3,.spb-property-whatsapp-header h3{margin:0 0 4px!important;font-size:25px!important;line-height:1.2!important;font-weight:700!important;color:#222!important}
.spb-property-contact-header small,.spb-property-whatsapp-header small{display:block!important;font-size:15px!important;line-height:1.35!important;font-weight:400!important;color:#555!important}
.spb-property-contact-close,.spb-property-whatsapp-close{position:absolute!important;top:18px!important;right:20px!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid #d1d5db!important;background:#fff!important;color:#111!important;font-size:30px!important;font-weight:400!important;line-height:38px!important;z-index:2!important;cursor:pointer!important}
#spbPropertyContactForm,.spb-property-whatsapp-dialog form{padding:18px 26px 24px!important;margin:0!important}
#spbPropertyContactForm [data-property-contact-fields]{display:grid!important;gap:10px!important}
.spb-property-contact-field,.spb-property-whatsapp-field{display:block!important;margin:0!important}
.spb-property-contact-field input,.spb-property-contact-field textarea,.spb-property-whatsapp-field input{display:block!important;width:100%!important;box-sizing:border-box!important;border:1px solid #d1d5db!important;border-bottom:2px solid #d1d5db!important;border-radius:0!important;background:#fff!important;color:#222!important;font-size:16px!important;line-height:1.35!important;font-weight:400!important;outline:0!important;box-shadow:none!important;padding:12px 13px!important;font-family:inherit!important}
.spb-property-contact-field input,.spb-property-whatsapp-field input{height:48px!important}
.spb-property-contact-field textarea{height:145px!important;min-height:145px!important;max-height:145px!important;resize:none!important;overflow-y:auto!important;font-weight:400!important}
.spb-property-contact-field input:focus,.spb-property-contact-field textarea:focus,.spb-property-whatsapp-field input:focus{border-color:#d1d5db!important;border-bottom-color:var(--spb-primary,#1237f0)!important;box-shadow:none!important;font-weight:400!important}
.spb-property-contact-field input::placeholder,.spb-property-contact-field textarea::placeholder,.spb-property-whatsapp-field input::placeholder{font-weight:400!important;color:#707070!important;opacity:1!important}
#spbPropertyContactForm .spb-property-captcha{display:grid!important;grid-template-columns:minmax(0,1fr) 100px!important;align-items:center!important;gap:14px!important;margin:0!important;padding:10px 12px!important;border:1px solid #d1d5db!important;background:#fff!important;min-height:58px!important;box-sizing:border-box!important}
#spbPropertyContactForm .spb-property-captcha strong{font-size:15px!important;line-height:1.3!important;font-weight:400!important;color:#222!important}
#spbPropertyContactForm .spb-property-captcha input{width:100px!important;height:38px!important;margin:0!important;padding:8px!important;border:1px solid #d1d5db!important;border-bottom:2px solid #d1d5db!important;border-radius:0!important;background:#fff!important;font-size:16px!important;font-weight:400!important;text-align:center!important;outline:0!important;box-shadow:none!important}
#spbPropertyContactForm .spb-property-captcha input:focus{border-color:#d1d5db!important;border-bottom-color:var(--spb-primary,#1237f0)!important}
.spb-property-contact-submit,.spb-property-whatsapp-submit{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;height:46px!important;margin:14px 0 0!important;padding:0 16px!important;border:0!important;border-radius:0!important;background:var(--spb-primary,#1237f0)!important;color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:46px!important;cursor:pointer!important}
.spb-property-whatsapp-feedback{font-size:14px!important;font-weight:400!important;color:#b91c1c!important}
.spb-property-contact-feedback,.spb-property-contact-feedback *{font-weight:400!important}
.spb-property-contact-feedback.is-success strong{font-weight:700!important}

/* refinamentos finais já usados pelo modal de Imóveis */
.spb-property-contact-modal{display:none!important}
.spb-property-contact-modal.is-open{display:flex!important}
html body > .spb-property-contact-modal{padding:12px!important;overflow:hidden!important}
html body > .spb-property-contact-modal .spb-property-contact-dialog{width:min(480px,calc(100vw - 24px))!important;max-width:480px!important;max-height:calc(100vh - 24px)!important;overflow:hidden!important;padding:16px 20px 18px!important;box-sizing:border-box!important}
html body > .spb-property-contact-modal .spb-property-contact-header{margin:0 0 10px!important;padding:0 44px 10px 0!important;min-height:0!important}
html body > .spb-property-contact-modal .spb-property-contact-header h3{margin:0 0 3px!important;font-size:21px!important;line-height:1.12!important;font-weight:600!important}
html body > .spb-property-contact-modal .spb-property-contact-header small{font-size:13px!important;line-height:1.25!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-contact-close{top:12px!important;right:12px!important;width:36px!important;height:36px!important;line-height:32px!important;font-size:25px!important;font-weight:400!important}
html body > .spb-property-contact-modal form,html body > .spb-property-contact-modal #spbPropertyContactForm,html body > .spb-property-contact-modal [data-property-contact-fields]{margin:0!important;padding:0!important;gap:8px!important;font-weight:400!important}
html body > .spb-property-contact-modal label,html body > .spb-property-contact-modal strong,html body > .spb-property-contact-modal span,html body > .spb-property-contact-modal input,html body > .spb-property-contact-modal textarea{font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-contact-field{margin:0 0 8px!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-contact-field input,html body > .spb-property-contact-modal .spb-property-contact-field textarea{margin:0!important;padding:8px 11px!important;min-height:40px!important;height:40px!important;font-family:inherit!important;font-size:14px!important;line-height:1.3!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-contact-field textarea{height:112px!important;min-height:112px!important;max-height:112px!important;resize:none!important;overflow:hidden!important;white-space:pre-wrap!important}
html body > .spb-property-contact-modal .spb-property-captcha{display:grid!important;grid-template-columns:minmax(0,1fr) 78px!important;align-items:center!important;min-height:48px!important;margin:0 0 9px!important;padding:7px 10px!important;gap:10px!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-captcha strong{font-size:13px!important;line-height:1.2!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-captcha input{width:78px!important;min-width:78px!important;max-width:78px!important;height:36px!important;min-height:36px!important;padding:6px 8px!important;font-size:14px!important;font-weight:400!important}
html body > .spb-property-contact-modal .spb-property-contact-submit{height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0 14px!important;line-height:36px!important}
html body > .spb-property-contact-modal .spb-property-contact-feedback{margin:6px 0!important;min-height:0!important;padding:8px!important;font-weight:400!important}

/* modais sempre acima do portal */
html body > .spb-property-contact-modal,html body > .spb-property-whatsapp-modal{z-index:2147483647!important;position:fixed!important;inset:0!important;overflow-y:auto!important;overflow-x:hidden!important;align-items:flex-start!important;justify-content:center!important;padding:18px!important}
html body > .spb-property-contact-modal .spb-property-contact-dialog,html body > .spb-property-whatsapp-modal .spb-property-whatsapp-dialog{width:min(480px,calc(100vw - 36px))!important;max-width:480px!important;max-height:none!important;overflow:visible!important;margin:auto!important;box-sizing:border-box!important}
html body > .spb-property-whatsapp-modal .spb-property-whatsapp-dialog{padding:16px 20px 18px!important}
html body > .spb-property-whatsapp-modal .spb-property-whatsapp-header{padding-right:44px!important}
html body.spb-modal-open,html.spb-modal-open{overflow:hidden!important}
html body > .spb-property-whatsapp-modal .spb-property-whatsapp-dialog form{display:grid!important;gap:14px!important;padding:14px 20px 20px!important}
html body > .spb-property-whatsapp-modal .spb-property-whatsapp-field{display:block!important;margin:0!important;padding:0!important}
html body > .spb-property-whatsapp-modal .spb-property-whatsapp-field input{display:block!important;width:100%!important;margin:0!important;box-sizing:border-box!important}
.spb-property-whatsapp-close,.spb-property-contact-close,[data-close-property-whatsapp],[data-close-property-contact]{cursor:pointer!important}
.spb-property-company-action-button[data-open-property-whatsapp],.spb-property-company-actions [data-open-property-whatsapp]{font-weight:400!important}

@media(max-width:640px){
  .spb-property-contact-modal,.spb-property-whatsapp-modal{align-items:flex-start!important;padding:10px!important}
  .spb-property-contact-header,.spb-property-whatsapp-header{padding:18px 60px 12px 16px!important}
  .spb-property-contact-close,.spb-property-whatsapp-close{top:12px!important;right:12px!important}
  #spbPropertyContactForm,.spb-property-whatsapp-dialog form{padding:14px 16px 18px!important}
  .spb-property-contact-field textarea{height:125px!important;min-height:125px!important;max-height:125px!important}
  #spbPropertyContactForm .spb-property-captcha{grid-template-columns:minmax(0,1fr) 82px!important}
  #spbPropertyContactForm .spb-property-captcha input{width:82px!important}
  html body > .spb-property-contact-modal,html body > .spb-property-whatsapp-modal{padding:8px!important}
  html body > .spb-property-contact-modal .spb-property-contact-dialog,html body > .spb-property-whatsapp-modal .spb-property-whatsapp-dialog{width:calc(100vw - 16px)!important;max-width:none!important}
  html body > .spb-property-contact-modal .spb-property-contact-dialog{max-height:calc(100vh - 16px)!important;padding:14px 14px 16px!important;overflow:hidden!important}
  html body > .spb-property-contact-modal .spb-property-contact-field textarea{height:96px!important;min-height:96px!important;max-height:96px!important}
}
