/* Source: design-system/components/form-select.css. Scoped shared selection UI. */
[data-price-calculator] select.select2-hidden-accessible,
[data-intake-form] .jb-control > select.select2-hidden-accessible {
 position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;
 padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
[data-intake-form] .jb-control > .select2-container {width:100%!important;min-width:0;flex:1;}
[data-intake-form] .jb-control .select2-selection--single {display:flex;align-items:center;width:100%;min-height:46px;height:auto;border:0;border-radius:12px;background:transparent;box-shadow:none;}
[data-intake-form] .jb-control .select2-selection__rendered {width:100%;padding-inline:12px 34px;font-family:var(--jb-font-sans);font-size:16px;line-height:1.7;white-space:normal;text-align:start;}
[data-intake-form] .jb-control .select2-selection__arrow {inset-inline-start:auto;inset-inline-end:8px;top:12px;}
body .jb-select-search-popup {font-family:var(--jb-font-sans);direction:rtl;border-color:#7085a7;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #12315a1a;}
body .select2-container.jb-select-search-popup {z-index:100050!important;overflow:visible;}
body .jb-select-search-popup .select2-search--dropdown {display:block!important;padding:8px;}
body .jb-select-search-popup input.select2-search__field {height:44px!important;min-height:44px;font-family:inherit!important;font-size:16px!important;border:1px solid #7085a7!important;border-radius:8px;padding:8px 12px!important;}
body .jb-select-search-popup .select2-results__options {max-height:min(280px,40vh);overscroll-behavior:contain;}
body .jb-select-search-popup .select2-results__option {min-height:44px;padding:10px 12px;font-size:15px;line-height:1.6;overflow-wrap:anywhere;}

[data-price-calculator] .select2-container {width:100%!important;min-width:0;}
[data-price-calculator] .select2-selection--single {min-height:46px;height:auto;border-radius:10px;display:flex;align-items:center;}
[data-price-calculator] .select2-selection__rendered {font-family:var(--jb-font-sans);font-size:16px;line-height:1.7!important;white-space:normal;}

/* The theme applies important 14px rules; maintain accessible input size. */
.jb.jb-ui[data-price-calculator] input, .jb.jb-ui[data-price-calculator] select, .jb.jb-ui[data-price-calculator] .select2-selection__rendered {font-size:16px!important;font-family:var(--jb-font-sans)!important;}

/* Override the parent theme's absolute IcoFont magnifier without overlapping RTL input text. */
body .jb-select-search-popup .select2-search--dropdown{position:relative;padding:10px!important;}
body .jb-select-search-popup .select2-search--dropdown::before,body .jb-select-search-popup .select2-search--dropdown::after{content:none!important;display:none!important;}
body .jb-select-search-popup input.select2-search__field{direction:rtl;text-align:right;box-sizing:border-box;line-height:1.5!important;padding:8px 12px 8px 42px!important;background-color:white!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23546985' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:14px center!important;}
body .jb-select-search-close{display:none;}
body .jb-select-search-popup .select2-results__options{touch-action:pan-y;-webkit-overflow-scrolling:touch;}
@media(max-width:767px){
 body .select2-container.jb-select-search-popup.select2-container--open{position:fixed!important;left:12px!important;right:12px!important;top:calc(var(--jb-select-top,0px) + 12px)!important;width:auto!important;height:auto!important;bottom:auto!important;max-height:calc(var(--jb-select-vh,100dvh) - 24px);}
 body .jb-select-search-popup .select2-dropdown{position:static!important;width:100%!important;box-sizing:border-box;display:flex;flex-direction:column;border:1px solid #7085a7;border-radius:12px;overflow:hidden;background:white;}
 body .jb-select-search-popup .select2-search--dropdown{flex:none;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#fff;}
 body .jb-select-search-popup input.select2-search__field{grid-column:1;grid-row:1;width:100%!important;}
 body .jb-select-search-close{grid-column:2;grid-row:1;display:block;min-height:44px;padding:8px 12px;border:1px solid #c4cfdf;border-radius:8px;background:#f3f7fc;color:#122b4d;font:inherit;font-size:14px;cursor:pointer;}
 body .jb-select-search-popup .select2-results__options{max-height:min(360px,calc(var(--jb-select-vh,100dvh) - 100px))!important;overflow-y:auto;}
}

/* Own the entire selection box: the theme loads another Select2 skin later. */
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container {width:100%!important;min-width:0!important;max-width:100%;font-family:var(--jb-font-sans, Tahoma, sans-serif)!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection--single {box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;min-height:48px!important;height:48px!important;padding:0!important;margin:0!important;border:1px solid #8797af!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection--single .select2-selection__rendered {box-sizing:border-box!important;display:block!important;flex:1!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0 12px 0 40px!important;line-height:24px!important;font-family:var(--jb-font-sans, Tahoma, sans-serif)!important;font-size:16px!important;font-weight:400!important;color:#183153!important;text-align:right!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow {box-sizing:border-box!important;position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:36px!important;height:100%!important;padding:0!important;margin:0!important;pointer-events:none;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow::before,body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow::after,body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow b::before,body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow b::after {content:none!important;display:none!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container .select2-selection__arrow b {display:block!important;position:static!important;width:7px!important;height:7px!important;margin:-4px 0 0!important;padding:0!important;border:solid #52657e!important;border-width:0 1.5px 1.5px 0!important;transform:rotate(45deg)!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container.select2-container--open .select2-selection__arrow b {transform:rotate(225deg)!important;margin:4px 0 0!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container.select2-container--focus .select2-selection--single {border-color:#005bd3!important;outline:2px solid #005bd326;outline-offset:1px;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) .select2-container.select2-container--disabled .select2-selection--single {background:#f3f6fa!important;opacity:.75;}
body [data-intake-form] .jb-control:has(> .select2-container) {padding:0!important;border:0!important;background:transparent!important;}
body .jb-select-search-popup input.select2-search__field,body .jb-select-search-popup .select2-results__option {font-family:var(--jb-font-sans, Tahoma, sans-serif)!important;font-size:16px!important;font-weight:400!important;line-height:24px!important;}
body :is(.order_page_section_form,[data-intake-form],[data-price-calculator]) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea,select:not(.select2-hidden-accessible)) {font-family:var(--jb-font-sans, Tahoma, sans-serif)!important;font-size:16px!important;font-weight:400!important;line-height:24px!important;box-sizing:border-box;}
