/* Limit scrolling to the outer results list. Province children keep their full height. */
#LocationModal.sm-location-search-fixed .select2-results>.select2-results__options,.sm-checkout-access .select2-results>.select2-results__options{max-height:min(34vh,300px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
#LocationModal.sm-location-search-fixed .select2-results__options .select2-results__options,.sm-checkout-access .select2-results__options .select2-results__options{height:auto!important;max-height:none!important;overflow:visible!important;margin:0;padding:0;display:block}
#LocationModal.sm-location-search-fixed .select2-results__option[role=group],.sm-checkout-access .select2-results__option[role=group]{height:auto;min-height:0;margin:0;padding:0;float:none;clear:both}
#LocationModal.sm-location-search-fixed .select2-results__option[role=option],.sm-checkout-access .select2-results__option[role=option]{height:auto;min-height:42px;margin:0;padding:8px 12px;line-height:1.9;font:14px/1.9 Vazir,Vazirmatn,Tahoma,sans-serif;white-space:normal;overflow-wrap:anywhere;float:none;clear:both;text-shadow:none}
#LocationModal.sm-location-search-fixed .select2-results__group,.sm-checkout-access .select2-results__group{display:block;height:auto;min-height:40px;line-height:1.9;white-space:normal;overflow-wrap:anywhere;font:700 14px/1.9 Vazir,Vazirmatn,Tahoma,sans-serif;text-shadow:none}
.sm-access .sm-session-status{margin:0 0 14px;padding:10px 12px;border:1px solid #cce5df;border-radius:9px;color:#014a46;background:#f2fefc;font:13px/1.9 Vazir,Vazirmatn,Tahoma,sans-serif;text-shadow:none}.sm-access .sm-session-error{background:#fff1f1;border-color:#edcccc;color:#8e2626}.sm-access .sm-session-status[hidden]{display:none!important}

/* The upgraded account flow occupies the whole native two-column wrapper. */
.sm-native-checkout .order-div-login-loginregisterbox>.sm-checkout-access{grid-column:1/-1;width:100%;min-width:0;max-width:1120px;justify-self:center}
.sm-native-checkout .order-div-login-loginregisterbox:has(>.sm-checkout-access){display:block}
.sm-native-checkout .sm-checkout-access .sm-checkout-access-layout{grid-template-columns:minmax(0,1fr) 260px}
.sm-native-checkout .sm-checkout-access .sm-checkout-fields>.form-group{min-width:0}
body.sm-address-dialog-open #sd-app-nav,body:has(#LocationModal.in) #sd-app-nav{visibility:hidden!important;pointer-events:none!important}
body.sm-address-dialog-open #LocationModal{z-index:100200!important}
body.sm-address-dialog-open>.modal-backdrop{z-index:100190!important}
#LocationModal.sm-location-search-fixed .modal-content>.select2-container--open{z-index:100210!important}
.sm-checkout-access .sm-checkout-tabs a:focus:not(:focus-visible){outline:none}
@media(max-width:991px){.sm-native-checkout .sm-checkout-access .sm-checkout-access-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.sm-native-checkout .sm-checkout-access .sm-mobile-flow .sm-checkout-fields{grid-template-columns:minmax(0,1fr)}.sm-access-page.inside .sm-access-card{padding:20px 16px}.sm-access-page.inside .sm-access-page-heading h1{font-size:22px}}
.sm-native-checkout:has(.sm-checkout-access) .step_progress,.sm-native-checkout:has(.sm-checkout-access)>.inside-title{display:none}
@media(max-width:600px){.sm-native-checkout .sm-checkout-access .sm-checkout-fields .form-control{font-size:16px}#LocationModal.sm-location-search-fixed .select2-search__field{font-size:16px!important}}
