/* International phone: single-row layout, isolated from general Elementor form fields. */
.wpr-field-group.wpr-form-field-type-international-tel .ot-international-phone{
 display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;
 align-items:stretch;gap:var(--ot-phone-gap,8px);width:100%;min-width:0;
}
.wpr-field-group.wpr-form-field-type-international-tel .ot-international-phone .ot-phone-country{
 display:block;flex:0 0 var(--ot-phone-country-width,135px) !important;
 width:var(--ot-phone-country-width,135px) !important;min-width:0 !important;max-width:65% !important;
 box-sizing:border-box;min-height:0;background-color:var(--ot-phone-bg,transparent);
 color:var(--ot-phone-color,inherit);border-color:var(--ot-phone-border,#818a91);
}
.wpr-field-group.wpr-form-field-type-international-tel .ot-international-phone input.ot-phone-value{
 display:block;flex:1 1 0% !important;width:0 !important;min-width:0 !important;
 max-width:none !important;box-sizing:border-box;min-height:0;
 background-color:var(--ot-phone-bg,transparent);color:var(--ot-phone-color,inherit);
 border-color:var(--ot-phone-border,#818a91);
}
.wpr-field-group.wpr-form-field-type-international-tel .ot-phone-error{
 flex-basis:100%;font-size:12px;color:#b42318;display:none;
}
.wpr-field-group.wpr-form-field-type-international-tel .ot-phone-invalid .ot-phone-error{display:block}
.wpr-field-group.wpr-form-field-type-international-tel .ot-phone-invalid input.ot-phone-value{border-color:#b42318!important}
/* The inline error sits underneath the input row without forcing inputs to wrap. */
.wpr-field-group.wpr-form-field-type-international-tel .ot-international-phone{position:relative;margin-bottom:0}
.wpr-field-group.wpr-form-field-type-international-tel .ot-phone-error{position:absolute;top:100%;inset-inline-start:0;background:transparent}
.wpr-field-group.wpr-form-field-type-international-tel .ot-phone-invalid{margin-bottom:1.5em}

/* Custom country menu replaces platform-native blue selected-option highlight.
 * Keep the native select in DOM as a no-JS fallback and the single source of value. */
.wpr-form-field-type-international-tel .ot-phone-country-shell{
 flex:0 0 var(--ot-phone-country-width,135px);width:var(--ot-phone-country-width,135px);min-width:0;max-width:65%;position:relative;
}
.wpr-form-field-type-international-tel .ot-phone-country-shell .ot-phone-country{
 width:100%!important;max-width:100%!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-shell.ot-country-enhanced .ot-phone-country{
 position:absolute!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;
 clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-trigger{
 display:block;width:100%;height:100%;min-height:38px;box-sizing:border-box;
 background:var(--ot-phone-bg,transparent);color:var(--ot-phone-color,inherit);
 border:1px solid var(--ot-phone-border,#818a91);padding:8px 12px;
 cursor:pointer;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.wpr-form-field-type-international-tel .ot-phone-country-trigger:after{content:'⌄';float:inline-end;opacity:.7}
.wpr-form-field-type-international-tel .ot-phone-country-trigger:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* The dropdown has its own palette: site-wide button styling must not hide country names. */
.wpr-form-field-type-international-tel .ot-phone-country-menu{
 border:1px solid var(--ot-country-menu-border,#cbd5e1)!important;
 background:var(--ot-country-menu-bg,#ffffff)!important;
 color:var(--ot-country-normal-text,#222222)!important;
 border-radius:6px;box-shadow:0 10px 30px rgba(0,0,0,.15);
 padding:4px;margin:0;overflow-y:auto;max-height:310px;
 box-sizing:border-box;z-index:2147483647;min-width:160px;
 overscroll-behavior:contain;
}
.wpr-form-field-type-international-tel .ot-phone-country-menu:not(:popover-open):not(.ot-menu-open){display:none}
.wpr-form-field-type-international-tel .ot-phone-country-option,
.wpr-form-field-type-international-tel .ot-phone-country-option:not(:hover):not(:focus-visible):not([aria-selected="true"]){
 display:flex!important;align-items:center!important;gap:10px!important;
 width:100%!important;min-height:38px!important;text-align:start!important;
 direction:inherit!important;border:0!important;border-radius:3px;
 background:var(--ot-country-normal-bg,transparent)!important;
 color:var(--ot-country-normal-text,#222222)!important;
 -webkit-text-fill-color:var(--ot-country-normal-text,#222222)!important;
 padding:9px 12px!important;cursor:pointer!important;
 font-size:var(--ot-country-font-size,14px)!important;font-weight:400!important;
 line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important;
 text-decoration:none!important;opacity:1!important;visibility:visible!important;
 box-shadow:none!important;transform:none!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option .ot-country-name{
 color:inherit!important;-webkit-text-fill-color:inherit!important;
 font:inherit!important;line-height:inherit!important;opacity:1!important;visibility:visible!important;
 white-space:normal!important;overflow:visible!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option .ot-country-flag{
 flex:0 0 auto;line-height:1;
}
.wpr-form-field-type-international-tel .ot-phone-country-option:hover,
.wpr-form-field-type-international-tel .ot-phone-country-option:focus-visible{
 background:var(--ot-country-hover-bg,#e8eef9)!important;
 color:var(--ot-country-hover-text,#ffffff)!important;
 -webkit-text-fill-color:var(--ot-country-hover-text,#ffffff)!important;outline:none!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"]{
 background:var(--ot-country-selected-bg,#e7d9ff)!important;
 color:var(--ot-country-selected-text,#48217c)!important;
 -webkit-text-fill-color:var(--ot-country-selected-text,#48217c)!important;
 font-weight:600!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"]:hover,
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"]:focus-visible{
 background:var(--ot-country-selected-hover-bg,var(--ot-country-selected-bg,#e7d9ff))!important;
 color:var(--ot-country-selected-hover-text,var(--ot-country-selected-text,#ffffff))!important;
 -webkit-text-fill-color:var(--ot-country-selected-hover-text,var(--ot-country-selected-text,#ffffff))!important;
}

/* Force Elementor hover/active text palettes onto the actual country label.
   The site theme may style button spans independently from button color. */
.wpr-form-field-type-international-tel .ot-phone-country-option:hover .ot-country-name,
.wpr-form-field-type-international-tel .ot-phone-country-option:focus-visible .ot-country-name{
 color:var(--ot-country-hover-text,#ffffff)!important;
 -webkit-text-fill-color:var(--ot-country-hover-text,#ffffff)!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"] .ot-country-name{
 color:var(--ot-country-selected-text,#48217c)!important;
 -webkit-text-fill-color:var(--ot-country-selected-text,#48217c)!important;
}
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"]:hover .ot-country-name,
.wpr-form-field-type-international-tel .ot-phone-country-option[aria-selected="true"]:focus-visible .ot-country-name{
 color:var(--ot-country-selected-hover-text,var(--ot-country-selected-text,#ffffff))!important;
 -webkit-text-fill-color:var(--ot-country-selected-hover-text,var(--ot-country-selected-text,#ffffff))!important;
}
