/* Scoped to BFH's Elementor popup; editable content remains in Elementor/WPForms. */
.elementor-popup-modal:has(.bfh-quote-layout) .dialog-widget-content{max-width:calc(100vw - 40px);border-radius:3px;overflow:hidden}
.elementor-popup-modal:has(.bfh-quote-layout) .dialog-message{max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto!important;padding:0}
.elementor-popup-modal:has(.bfh-quote-layout) .dialog-close-button{top:14px!important;right:16px!important;color:#26352f;font-size:20px;z-index:20}
.bfh-quote-layout>.elementor-container{align-items:stretch;flex-wrap:nowrap}
.bfh-quote-aside{background:#e8ede8}
.bfh-quote-aside>.elementor-widget-wrap{padding:34px 28px!important;align-content:flex-start}
.bfh-quote-main>.elementor-widget-wrap{padding:34px 36px 28px!important;align-content:flex-start}
.bfh-quote-layout .elementor-widget{margin-bottom:14px}
.bfh-quote-layout h2{font-size:34px;line-height:1.2;margin:0;color:#26352f}
.bfh-quote-layout p{font-size:13px;line-height:1.65;color:#67716b;margin:0}
.bfh-quote-layout .bfh-quote-brand{font-size:16px;font-weight:700;color:#26352f;margin-bottom:12px}
.bfh-quote-photo{width:100%;height:230px!important;object-fit:contain;background:#fff;margin:12px 0 20px}
.bfh-quote-product h3{font-size:20px;line-height:1.3;margin:0 0 10px;color:#26352f}
.bfh-quote-layout .wpforms-container{margin:0!important;max-width:100%;font-family:inherit}
.bfh-quote-layout .wpforms-field-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 16px}
.bfh-quote-layout .wpforms-field{padding:0!important;margin:0!important;width:auto!important;min-width:0;float:none!important;clear:none!important}
.bfh-quote-layout .wpforms-field.bfh-quote-wide{grid-column:1/-1}
.bfh-quote-layout .wpforms-field-label{font-size:12px!important;font-weight:600!important;line-height:1.5!important;margin-bottom:6px!important;color:#26352f!important}
.bfh-quote-layout .wpforms-field input,.bfh-quote-layout .wpforms-field select,.bfh-quote-layout .wpforms-field textarea{width:100%!important;max-width:100%!important;border:1px solid #d7dcd7!important;border-radius:0!important;background:#fff!important;color:#26352f!important;font-family:inherit;font-size:13px;line-height:1.5;box-shadow:none!important;padding:10px 12px!important;min-height:42px}
.bfh-quote-layout .wpforms-field input,.bfh-quote-layout .wpforms-field select{height:42px!important;font-size:13px!important}
.bfh-quote-layout .wpforms-field textarea{height:92px!important;min-height:92px;font-size:13px!important}
.bfh-quote-layout .bfh-quote-context input{font-size:11px!important;background:#f5f7f5!important}
.bfh-quote-layout .wpforms-submit-container{padding:18px 0 0!important;margin:0!important}
.bfh-quote-layout button.wpforms-submit{width:100%!important;height:auto!important;min-height:47px!important;border:0!important;border-radius:0!important;padding:12px 20px!important;background:#26352f!important;color:#fff!important;font:600 13px/1.5 Manrope,Arial,sans-serif!important;box-shadow:none!important}
.bfh-quote-layout button.wpforms-submit:hover{background:#405447!important}
.bfh-quote-layout :is(button,a,input,select,textarea):focus-visible{outline:2px solid #ab9060!important;outline-offset:3px}
.bfh-quote-layout .bfh-quote-note p{font-size:11px}
.bfh-quote-layout .wpforms-error{font-size:11px!important;line-height:1.4!important}
.bfh-quote-layout .wpforms-confirmation-container-full{background:#e8ede8!important;border-color:#d7dcd7!important;margin:10px 0!important;padding:20px!important}
@media(max-width:767px){
.elementor-popup-modal:has(.bfh-quote-layout) .dialog-widget-content,.elementor-popup-modal:has(.bfh-quote-layout) .dialog-message{max-width:calc(100vw - 24px)}
.elementor-popup-modal:has(.bfh-quote-layout) .dialog-message{max-height:calc(100dvh - 24px)}
.bfh-quote-layout .bfh-quote-aside{display:none!important}
.bfh-quote-layout .bfh-quote-main{width:100%!important}
.bfh-quote-main>.elementor-widget-wrap{padding:30px 22px 24px!important}
.bfh-quote-layout h2{font-size:30px;padding-right:22px}
.bfh-quote-layout .bfh-quote-name,.bfh-quote-layout .bfh-quote-email{grid-column:1/-1}
}
