
:root{--bood-window-inset:12px;--bood-window-width:780px;--bood-window-radius:18px;--bood-window-modal-z:2147200100;--bood-window-overlay:rgba(0,0,0,.78);--bood-window-max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
html body .modal.bood-standard-modal,html body .modal.bood-editor-geometry{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:max(12px,env(safe-area-inset-top,0px)) var(--bood-window-inset) max(12px,env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;z-index:var(--bood-window-modal-z)!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
html body .modal.bood-standard-modal.show,html body .modal.bood-editor-geometry.show{display:flex!important}
html body .modal.bood-standard-modal .modal-dialog,html body .modal.bood-editor-geometry .modal-dialog{position:relative!important;display:flex!important;flex-direction:column!important;width:min(100%,var(--bood-window-width))!important;max-width:var(--bood-window-width)!important;max-height:var(--bood-window-max-height)!important;min-height:0!important;margin:auto!important;transform:none!important}
html body .modal.bood-standard-modal .modal-content,html body .modal.bood-editor-geometry .modal-content{display:flex!important;flex-direction:column!important;min-height:0!important;max-height:var(--bood-window-max-height)!important;overflow:hidden!important;border-radius:var(--bood-window-radius)!important}
html body .modal.bood-standard-modal .modal-header,html body .modal.bood-standard-modal .modal-footer,html body .modal.bood-editor-geometry .modal-header,html body .modal.bood-editor-geometry .modal-footer{flex:0 0 auto!important}
html body .modal.bood-standard-modal .modal-body,html body .modal.bood-editor-geometry .modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
html body .modal.bood-standard-modal .modal-footer button,html body .modal.bood-editor-geometry .modal-footer button{min-height:44px;max-width:100%;white-space:normal}
html body .swal2-container{z-index:2147200200!important;padding:max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
html body .swal2-popup{box-sizing:border-box!important;width:min(100%,440px)!important;max-width:100%!important;max-height:var(--bood-window-max-height)!important;overflow-y:auto!important;border-radius:var(--bood-window-radius)!important}
html body .swal2-actions{gap:8px;flex-wrap:wrap}
html body .swal2-actions button{min-height:44px;max-width:100%}
@media(max-width:480px){html body .modal.bood-standard-modal .modal-dialog,html body .modal.bood-editor-geometry .modal-dialog{width:100%!important}html body .modal.bood-standard-modal .modal-footer,html body .modal.bood-editor-geometry .modal-footer{gap:8px!important}html body .modal.bood-standard-modal .modal-footer>* ,html body .modal.bood-editor-geometry .modal-footer>*{min-width:0}}



:root {--bood-notice-width:520px;--bood-notice-radius:24px;--bood-notice-ink:#f8fafc}
html body .swal2-container:not(:has(>.swal2-toast))>.swal2-popup:not(.confirm-buy-popup):not(.confirm-store-popup):not(.order-details-position-modal):not(.variant-required-modal) {
  width:min(var(--bood-notice-width),calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  padding:27px 22px 22px!important;
  border-radius:var(--bood-notice-radius)!important;
  border:1px solid rgba(255,255,255,.13)!important;
  background:#17181b!important;color:var(--bood-notice-ink)!important;
  box-shadow:0 25px 76px rgba(0,0,0,.54)!important;
  box-sizing:border-box!important;overflow:hidden!important;
}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-title{font-size:clamp(20px,4.6vw,24px)!important;line-height:1.4!important;font-weight:800!important;margin:12px 0 2px!important;overflow-wrap:anywhere!important}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-icon{margin:8px auto 14px!important;transform:none!important}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-html-container{font-size:15px!important;line-height:1.65!important;max-width:100%!important;overflow-y:auto!important;min-height:0!important;overflow-wrap:anywhere!important;margin:12px 0!important}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:18px!important}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-actions button{border-radius:14px!important;min-height:46px!important;padding:10px 22px!important;font-size:14px!important;font-weight:750!important;max-width:100%!important}
html body .swal2-container:not(:has(>.swal2-toast)) .swal2-confirm{background:var(--bood-ui-accent,var(--theme-primary,#2563eb))!important;color:#fff!important}
html body .swal2-popup.bood-action-notice{min-height:180px!important;justify-content:center!important}
@media(max-width:430px){html body .swal2-container:not(:has(>.swal2-toast))>.swal2-popup:not(.confirm-buy-popup):not(.confirm-store-popup):not(.order-details-position-modal):not(.variant-required-modal){padding:22px 17px 18px!important;border-radius:22px!important;min-height:174px!important}}
@media(prefers-reduced-motion:no-preference){html body .swal2-popup.bood-action-notice{animation:boodNoticeRise .24s cubic-bezier(.2,1,.3,1) both}@keyframes boodNoticeRise{from{opacity:0;transform:translateY(12px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}}


/* Ensure Bootstrap backdrops never sit above editable dialogs. */
html body .modal-backdrop,
html body .modal-backdrop.show{z-index:2147199900!important}
html body .modal.show{z-index:2147200100!important;pointer-events:auto!important}
html body .modal.show .modal-dialog,
html body .modal.show .modal-content,
html body .modal.show .modal-body,
html body .modal.show input,
html body .modal.show select,
html body .modal.show textarea,
html body .modal.show button{pointer-events:auto!important}
html body .swal2-container{z-index:2147200200!important}
