/* EURODOMI — Premium contact CTA + popup, scoped to plugin classes */
.edcp-cta{background:#fff;border:1px solid #ced7e1;padding:32px 34px;max-width:100%;box-shadow:0 14px 35px rgba(8,29,49,.06)}
.edcp-cta-eyebrow,.edcp-kicker{display:block;color:#b82436!important;font-size:11px;letter-spacing:.15em;font-weight:700}
.edcp-cta h3{font-size:clamp(22px,2.25vw,31px)!important;line-height:1.22!important;color:#112941!important;margin:15px 0 10px}
.edcp-cta p{color:#546474!important;font-size:15px;margin-bottom:22px}
.edcp-open{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #b92336;padding:14px 18px;background:#102942;color:#fff!important;font-weight:700;font-size:12px;letter-spacing:.08em;text-decoration:none!important;min-height:48px;transition:background .18s,border-color .18s}
.edcp-open:hover,.edcp-open:focus{background:#b92336;border-color:#b92336;color:#fff!important}
.edcp-modal[hidden]{display:none!important}.edcp-modal{position:fixed;inset:0;z-index:999999;display:flex;justify-content:center;align-items:center;padding:22px}.edcp-scrim{position:absolute;inset:0;background:rgba(6,21,39,.79);backdrop-filter:blur(6px)}
.edcp-dialog{background:#f8f9fa;color:#112941;position:relative;z-index:1;width:min(760px,100%);max-height:min(90vh,950px);overflow-y:auto;overscroll-behavior:contain;padding:clamp(22px,4vw,48px);box-shadow:0 24px 100px rgba(0,0,0,.29);border-top:3px solid #c52939;border-radius:2px;text-align:left;direction:ltr}
.edcp-close{position:absolute;top:12px;right:14px;background:transparent!important;border:0!important;box-shadow:none!important;color:#142a40!important;font-weight:400;font-size:30px;min-width:38px;min-height:38px;cursor:pointer;padding:0}
.edcp-dialog h2{color:#112941!important;font-size:clamp(26px,4vw,40px)!important;line-height:1.15!important;margin:14px 28px 10px 0;font-weight:500}
.edcp-lead{color:#566879!important;font-size:15px;margin:0 0 23px}.edcp-form label{display:block;color:#243c52!important;font-size:13px;font-weight:600;margin:0 0 16px}.edcp-form em{color:#c52939;font-style:normal}
.edcp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.edcp-form input[type=text],.edcp-form input[type=email],.edcp-form input[type=tel],.edcp-form select,.edcp-form textarea{display:block;background:#fff!important;color:#112941!important;border:1px solid #cbd4de!important;border-radius:0!important;box-shadow:none!important;width:100%;height:42px;margin-top:7px;font-size:15px;font-weight:400;padding:9px 12px}
.edcp-form textarea{height:102px;min-height:90px;resize:vertical}.edcp-consent{display:flex!important;align-items:flex-start;gap:9px;font-weight:400!important;font-size:12px!important;line-height:1.5}.edcp-consent input{flex:none;width:auto;height:auto;margin:3px 0 0}.edcp-consent a{color:#164a7a!important;text-decoration:underline}
.edcp-submit{display:inline-flex;align-items:center;gap:20px;justify-content:center;background:#102942!important;color:white!important;border:1px solid #b92336!important;padding:15px 22px!important;border-radius:0!important;min-height:48px;font-weight:700;font-size:12px;letter-spacing:.08em;cursor:pointer}.edcp-submit:hover{background:#b92336!important}
.edcp-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}.edcp-feedback{padding:12px 15px;margin-bottom:18px;font-size:14px}.edcp-success{background:#e7f6ed;color:#1a673a}.edcp-error{background:#fff0f0;color:#8e2330}
body.edcp-modal-open{overflow:hidden!important}
@media(max-width:650px){.edcp-modal{padding:9px;align-items:center}.edcp-dialog{max-height:96dvh;padding:30px 20px 22px}.edcp-fields{grid-template-columns:1fr;gap:0}.edcp-cta{padding:24px 20px}.edcp-open{width:100%}.edcp-dialog h2{font-size:28px!important}}
@media(prefers-reduced-motion:reduce){.edcp-open{transition:none}}

/* v1.2: prevent horizontal scroll caused by theme content widths and viewport overflow */
#edcp-contact-modal, #edcp-contact-modal * { box-sizing: border-box !important; }
#edcp-contact-modal { width: 100vw !important; max-width: 100vw !important; overflow-x: hidden !important; }
#edcp-contact-modal .edcp-dialog {
  width: min(760px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
#edcp-contact-modal .edcp-dialog > *,
#edcp-contact-modal .edcp-form,
#edcp-contact-modal .edcp-fields,
#edcp-contact-modal .edcp-form label { min-width: 0 !important; max-width: 100% !important; }
#edcp-contact-modal input, #edcp-contact-modal select,
#edcp-contact-modal textarea { box-sizing: border-box !important; max-width: 100% !important; }
@media (max-width: 650px) {
 #edcp-contact-modal .edcp-dialog { width: calc(100vw - 18px) !important; max-width: calc(100vw - 18px) !important; }
}
