/* BNP DaData uses native jQuery UI autocomplete. Do not replace its address-selection events. */
body.wb-body:has(#js-order-form) .ui-autocomplete {
 /* Keep native input-aligned left/top, but constrain long suggestions to the viewport. */
 box-sizing:border-box; width:auto!important; right:16px; max-width:min(480px,calc(100vw - 32px)); max-height:min(340px,48dvh);
 padding:7px; margin:7px 0 0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
 border:1px solid #e5d4dc; border-radius:12px; background:#fffdfb;
 box-shadow:0 12px 36px #49283724; color:#614250; font:400 14px/1.55 Manrope,Arial,sans-serif; z-index:150;
 scrollbar-width:thin; scrollbar-color:#c9a9b6 transparent;
}
body.wb-body:has(#js-order-form) .ui-autocomplete .ui-menu-item { list-style:none; margin:0; padding:0; }
body.wb-body:has(#js-order-form) .ui-autocomplete .ui-menu-item+.ui-menu-item { margin-top:3px; }
body.wb-body:has(#js-order-form) .ui-autocomplete .ui-menu-item-wrapper { margin:0; padding:11px 12px; border:0; border-radius:7px; white-space:normal; overflow-wrap:anywhere; cursor:pointer; }
body.wb-body:has(#js-order-form) .ui-autocomplete .ui-state-active { margin:0; border:0; background:#f5e7eb; color:#7b2638; font-weight:500; }
@media(max-width:600px) {
 body.wb-body:has(#js-order-form) .ui-autocomplete { font-size:15px; border-radius:10px; }
 /* The native buyer-type switch must not force a wider checkout than the suggestions. */
 .wb-body #js-order-form .wa-field-wrapper:has(.js-type-toggle) { width:100%; min-width:0; max-width:100%; }
 .wb-body #js-order-form .js-type-toggle { display:flex; width:100%; white-space:normal; }
 .wb-body #js-order-form .js-type-toggle>span { flex:1; min-width:0; white-space:normal; text-align:center; }
 .wb-body #js-order-form .wa-tooltip:has(.bnpdadata__city-tooltip) { max-width:100%; white-space:normal; }
 .wb-body #js-order-form .bnpdadata__city-tooltip { white-space:normal; }
}
