/* All overlays use the shop's Bootstrap lifecycle. No nested native dialogs. */
html body .one-star-ui-modal{position:fixed!important;inset:0!important;overflow:auto!important;overscroll-behavior:none;padding:0!important;-webkit-overflow-scrolling:touch}
html body .one-star-ui-modal .modal-dialog{width:600px!important;max-width:calc(100% - 24px)!important;margin:calc(var(--one-star-overlay-offset,0px) + 24px) auto 24px!important;transform:none!important;transition:none!important}
html body .one-star-header-modal--search .modal-dialog{width:760px!important}
html body .one-star-ui-modal .modal-content{border:1px solid #d2d2d7!important;border-radius:12px!important;background:#fff!important;color:#1d1d1f!important;box-shadow:0 10px 28px rgba(0,0,0,.14)!important}
html body .one-star-ui-modal .modal-header{display:flex!important;align-items:center!important;justify-content:space-between;flex-shrink:0;gap:16px;min-height:60px!important;box-sizing:border-box;padding:14px 18px!important;border-bottom:1px solid #e5e5e7!important}
html body .one-star-ui-modal .modal-title{min-width:0;margin:0!important;padding:0!important;border:0!important;color:#1d1d1f!important;font-size:1.5rem!important;font-weight:300!important;line-height:1.5!important;overflow-wrap:anywhere}
html body .one-star-ui-modal .modal-header>.close{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;margin:-6px -10px -6px auto!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#5f6368!important;-webkit-text-fill-color:currentColor!important;appearance:none;font-size:0!important;line-height:0!important;text-shadow:none!important;opacity:1!important;cursor:pointer;box-shadow:none!important}
html body .one-star-ui-modal .modal-header>.close::before,html body .one-star-ui-modal .modal-header>.close::after{position:absolute!important;top:50%!important;left:50%!important;width:18px!important;height:2px!important;border:0!important;border-radius:1px;background:currentColor;content:""!important;transform:translate(-50%,-50%) rotate(45deg)!important}
html body .one-star-ui-modal .modal-header>.close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
html body .one-star-ui-modal .modal-header>.close:is(:hover,:active){background:#f2f3f4!important;color:#1d1d1f!important}
html body .one-star-ui-modal :is(button,a,input):focus-visible{outline:2px solid #005e85!important;outline-offset:2px}
html body .one-star-header-modal .modal-content{max-height:calc(var(--one-star-overlay-height,100dvh) - 48px);overflow:hidden!important}
html body .one-star-header-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px;-webkit-overflow-scrolling:touch}
html body .one-star-header-modal .one-star-dialog-panel{display:block!important;position:static!important;inset:auto!important;float:none!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;transform:none!important;transition:none!important}
html body .one-star-header-modal .one-star-dialog-panel::before{display:none!important}
/* Only results scroll: the opaque input row is outside that scroll container. */
html body .one-star-header-modal--search .one-star-header-dialog-body{display:flex;overflow:hidden}
html body .one-star-header-modal--search :is(#searchBox,#searchBox>div,.container-max,.container-max>.position-relative){display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
html body .one-star-header-modal #searchBox .container-max>.position-relative>.d-flex{position:relative!important;flex:0 0 auto;top:auto!important;gap:8px;margin:0!important;padding:0 0 12px;background:#fff;z-index:1}
html body .one-star-header-modal .autocomplete-suggestions{flex:1 1 auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body .one-star-header-modal .container-max{width:100%;max-width:none;margin:0;padding:0}
html body .one-star-header-modal #countrySettings>.container-max>.row{margin:0;padding:0!important}
html body .one-star-header-modal #countrySettings>.container-max>.row>div{padding:0}
html body .one-star-header-modal .language-settings .list-title{display:none}
html body .one-star-header-modal .language-settings ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
html body .one-star-header-modal .language-settings li{width:auto;max-width:none;margin:0;padding:0}
html body .one-star-header-modal .language-settings a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0;padding:10px 8px;border:1px solid #d2d2d7;border-radius:999px;background:#f5f5f7;color:#1d1d1f;font-size:1rem;font-weight:400;line-height:1.4;text-decoration:none}
html body .one-star-header-modal .language-settings a:hover{background:#e9eaec}
html body .one-star-header-modal .language-settings .active a{border-color:#005e85;background:#005e85;color:#fff}
html body .one-star-header-modal .language-settings .flag-icon{flex-shrink:0;margin:0}
html body .one-star-header-modal .search-input{box-sizing:border-box;min-width:0;width:0;height:48px;border:1px solid #d2d2d7;border-radius:999px;background:#f5f5f7;color:#1d1d1f;font-size:16px;font-weight:400;line-height:1.4}
html body .one-star-header-modal .search-submit{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;padding:0!important;border:0;border-radius:50%;background:#005e85;color:#fff;font-size:18px;cursor:pointer}
html body .one-star-header-modal .search-submit:hover{background:#004b6a}
html body .one-star-header-modal .autocomplete-suggestions{position:static!important;inset:auto!important;max-height:none!important;overflow:auto!important;margin:0;padding:0;border:0;background:#fff!important;box-shadow:none!important}
html body .one-star-header-modal .autocomplete-suggestion{display:flex;align-items:center;gap:14px;min-height:80px;padding:12px 8px!important;border-bottom:1px solid #e5e5e7;border-radius:6px;color:#3a3a3c;text-decoration:none;white-space:normal}
html body .one-star-header-modal .autocomplete-suggestion:is(:hover,:focus-visible){background:#f5f5f7;color:#1d1d1f}
html body .one-star-header-modal .autocomplete-suggestion .image{flex:0 0 56px;width:56px!important;min-width:56px!important;height:56px!important;margin:0!important}
html body .one-star-header-modal .autocomplete-suggestion .image :is(picture,img,lazy-img){display:block;width:56px!important;height:56px!important;object-fit:contain;border-radius:6px}
html body .one-star-header-modal .autocomplete-suggestion .label{flex:1 1 auto;min-width:0;font-size:1rem;line-height:1.45}
html body .one-star-header-modal .autocomplete-suggestion .text-truncate{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
html body .one-star-header-modal .autocomplete-suggestion strong{font-weight:600}

@media(max-width:575.98px){html body .one-star-ui-modal .modal-dialog{margin:calc(var(--one-star-overlay-offset,0px) + 12px) auto 12px!important}html body .one-star-header-modal .modal-content{max-height:calc(var(--one-star-overlay-height,100dvh) - 24px)}html body .one-star-ui-modal .modal-header{padding:14px 16px!important}html body .one-star-header-dialog-body{padding:16px}html body .one-star-header-modal .language-settings ul{gap:8px}html body .one-star-header-modal .language-settings a{flex-direction:column;gap:6px;padding:12px 4px}html body .one-star-header-modal .autocomplete-suggestion{gap:10px;padding:10px 4px!important}}
@media(prefers-reduced-motion:reduce){html body .one-star-ui-modal.fade{transition-duration:.001s}}

html body .one-star-header-modal #searchBox .container-max>.position-relative>div:not(.d-flex){flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

html body .one-star-ui-modal .modal-content .one-star-notification-persistent{position:static!important;inset:auto!important;width:100%!important;height:auto!important;padding:18px 18px 0!important;background:transparent!important}
html body .one-star-ui-modal .modal-content .one-star-notification-persistent>.alert{width:100%!important;min-height:0!important;max-height:none!important;padding:14px 48px 14px 16px!important;border-radius:8px!important;background:#f5f5f7!important;box-shadow:none!important;font-size:1rem!important;line-height:1.5!important;text-align:left!important}
html body .one-star-ui-modal .modal-content .one-star-notification-persistent>.alert-danger{background:#fbeaec!important;color:#a91e2c!important}
html body .one-star-ui-modal .modal-content .one-star-notification-persistent>.alert::before,html body .one-star-ui-modal .modal-content .one-star-notification-persistent>.alert::after{display:none!important}
html body .one-star-ui-modal .modal-content .one-star-notification-persistent>.alert>.close{top:4px!important;right:4px!important;width:40px!important;height:40px!important;font-size:1.5rem!important}

/* Account actions are a grid, not a generic block panel. Preserve the original spacing. */
html body .one-star-header-modal--account .one-star-account-dialog-actions{display:grid!important;gap:20px}
html body .one-star-header-modal--account .one-star-header-dialog-body{padding:32px 28px}
@media(max-width:575.98px){html body .one-star-header-modal--account .one-star-header-dialog-body{padding:28px 20px}}

/* The result viewport reaches the dialog edge; content retains its inset. */
html body .one-star-header-modal--search .one-star-header-dialog-body{padding-left:0;padding-right:0}
html body .one-star-header-modal--search #searchBox .container-max>.position-relative>.d-flex{margin-left:18px!important;margin-right:18px!important}
html body .one-star-header-modal--search #searchBox .container-max>.position-relative>div:not(.d-flex){padding-left:18px;padding-right:18px}
html body .one-star-header-modal--search .autocomplete-suggestions{overflow:visible!important}
@media(max-width:575.98px){html body .one-star-header-modal--search #searchBox .container-max>.position-relative>.d-flex{margin-left:16px!important;margin-right:16px!important}html body .one-star-header-modal--search #searchBox .container-max>.position-relative>div:not(.d-flex){padding-left:16px;padding-right:16px}}
