html.giftoo-pwa-open,html.giftoo-pwa-open body{overflow:hidden!important}
.giftoo-pwa-overlay[hidden]{display:none!important}

/* INSTALL POPUP — intentionally high-specificity + !important to survive aggressive theme CSS. */
#giftoo-pwa-overlay,#giftoo-pwa-overlay *{box-sizing:border-box!important}
#giftoo-pwa-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:14px!important;background:rgba(0,0,0,.38)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;pointer-events:auto!important;direction:ltr!important}
#giftoo-pwa-overlay .giftoo-pwa-card{position:relative!important;display:block!important;float:none!important;clear:both!important;width:calc(100vw - 28px)!important;max-width:390px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:18px 16px 15px!important;border:0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 18px 60px rgba(0,0,0,.24)!important;overflow:visible!important;animation:giftooPwaUp .26s ease-out both!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;color:#161616!important;text-align:left!important;transform:none;pointer-events:auto!important;touch-action:manipulation!important}
#giftoo-pwa-overlay .giftoo-pwa-main{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0 38px 13px 0!important}
#giftoo-pwa-overlay .giftoo-pwa-icon{display:block!important;position:static!important;float:none!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:58px!important;min-height:58px!important;max-height:58px!important;margin:0!important;padding:0!important;border:0!important;border-radius:15px!important;object-fit:cover!important;box-shadow:0 4px 14px rgba(0,0,0,.12)!important}
#giftoo-pwa-overlay .giftoo-pwa-copy{display:block!important;position:static!important;float:none!important;flex:1 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;text-align:left!important}
#giftoo-pwa-overlay .giftoo-pwa-copy h3{display:block!important;position:static!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0 0 4px!important;padding:0!important;border:0!important;color:#111!important;background:transparent!important;font-family:inherit!important;font-size:20px!important;font-style:normal!important;font-weight:750!important;line-height:1.18!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;text-align:left!important}
#giftoo-pwa-overlay .giftoo-pwa-copy p{display:block!important;position:static!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;color:#626262!important;background:transparent!important;font-family:inherit!important;font-size:13.5px!important;font-style:normal!important;font-weight:400!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;text-align:left!important}
#giftoo-pwa-overlay .giftoo-pwa-close{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0 0 2px!important;border:0!important;border-radius:50%!important;background:#f2f2f2!important;color:#333!important;box-shadow:none!important;cursor:pointer!important;font-family:Arial,sans-serif!important;font-size:23px!important;font-weight:400!important;line-height:1!important;text-align:center!important;text-transform:none!important;z-index:5!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-appearance:none!important;appearance:none!important;-webkit-tap-highlight-color:transparent!important}
#giftoo-pwa-overlay .giftoo-pwa-ios-help{display:block!important;width:100%!important;max-width:none!important;margin:0 0 10px!important;padding:9px 11px!important;border:0!important;border-radius:10px!important;background:#f7f7f7!important;color:#333!important;font-family:inherit!important;font-size:12.5px!important;font-weight:400!important;line-height:1.42!important;text-align:left!important}
#giftoo-pwa-overlay .giftoo-pwa-ios-help[hidden]{display:none!important}
#giftoo-pwa-overlay .giftoo-pwa-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
#giftoo-pwa-overlay .giftoo-pwa-install,#giftoo-pwa-overlay .giftoo-pwa-later{position:static!important;float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:0 15px!important;border-radius:12px!important;box-shadow:none!important;cursor:pointer!important;font-family:inherit!important;font-size:14px!important;font-style:normal!important;font-weight:750!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;word-break:normal!important;overflow:visible!important;text-align:center!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-appearance:none!important;appearance:none!important;-webkit-tap-highlight-color:transparent!important}
#giftoo-pwa-overlay .giftoo-pwa-install{width:100%!important;min-width:0!important;border:1px solid #111!important;background:#111!important;color:#fff!important;box-shadow:0 5px 14px rgba(0,0,0,.12)!important}
#giftoo-pwa-overlay .giftoo-pwa-install:disabled{opacity:.62!important;cursor:wait!important}
#giftoo-pwa-overlay .giftoo-pwa-later{width:auto!important;min-width:82px!important;border:1px solid #ddd!important;background:#fff!important;color:#555!important}

/* REMINDER CENTER */
.giftoo-pwa-overlay:not(#giftoo-pwa-overlay){position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-end;justify-content:center;padding:14px;background:rgba(0,0,0,.38);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);pointer-events:auto}
.giftoo-reminder-card{position:relative;width:min(100%,460px);padding:22px 18px 18px;border-radius:22px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.24);animation:giftooPwaUp .26s ease-out both;font-family:inherit;color:#161616;max-height:min(86vh,720px);overflow:auto}
.giftoo-reminder-card .giftoo-pwa-close{position:absolute;top:8px;right:8px;width:34px;height:34px;border:0;border-radius:50%;background:#f2f2f2;color:#333;cursor:pointer;font-size:24px;line-height:30px;z-index:3;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.giftoo-reminder-launcher{position:fixed;left:14px;bottom:16px;z-index:2147482000;border:1px solid rgba(0,0,0,.1);background:#fff;color:#161616;box-shadow:0 6px 24px rgba(0,0,0,.18);border-radius:999px;padding:10px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;display:none;align-items:center;gap:6px}.giftoo-reminder-launcher.is-standalone{display:flex}
.giftoo-reminder-head{display:flex;gap:12px;align-items:center;padding-right:25px;border-bottom:1px solid #eee;margin-bottom:14px}.giftoo-reminder-icon{width:52px;height:52px;border-radius:13px;object-fit:cover}.giftoo-reminder-head h3{margin:0 34px 4px 0;color:#111;font-size:18px;line-height:1.22;font-weight:750}.giftoo-reminder-head p{margin:0 0 12px;color:#626262;font-size:13px;line-height:1.42}.giftoo-reminder-state{padding:24px 10px;text-align:center;color:#666}.giftoo-reminder-section h4{margin:8px 0 5px;font-size:16px}.giftoo-reminder-section>p{color:#666;font-size:13px;line-height:1.45}.giftoo-reminder-section label:not(.giftoo-switch){display:block;font-size:12.5px;font-weight:650;margin:12px 0}.giftoo-reminder-section input[type=email],.giftoo-reminder-section input[type=text]{display:block;width:100%;box-sizing:border-box;margin-top:5px;min-height:43px;padding:8px 11px;border:1px solid #d7d7d7;border-radius:10px;font:inherit}.giftoo-primary-btn{width:100%;margin-top:5px;min-height:44px;padding:10px 15px;border-radius:12px;cursor:pointer;font:inherit;font-size:13.5px;font-weight:700;border:1px solid #111;background:#111;color:#fff}.giftoo-primary-btn:disabled{opacity:.6;cursor:not-allowed}.giftoo-form-message{min-height:20px;margin-top:9px;font-size:12.5px;color:#555}.giftoo-reminder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px}.giftoo-reminder-toolbar strong{display:block;font-size:14px}.giftoo-reminder-toolbar small{display:block;color:#777;margin-top:2px}.giftoo-mini-btn{min-height:34px;padding:6px 10px;border-radius:12px;cursor:pointer;font:inherit;font-size:13.5px;font-weight:700;border:1px solid #ddd;background:#fff;color:#555}.giftoo-reminder-item{display:flex;align-items:center;gap:10px;padding:12px 5px;border-top:1px solid #eee}.giftoo-reminder-item.is-off{opacity:.48}.giftoo-reminder-emoji{font-size:24px;width:34px;text-align:center}.giftoo-reminder-info{min-width:0;flex:1}.giftoo-reminder-info strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.giftoo-reminder-info span{display:block;color:#777;font-size:12px;margin-top:2px}.giftoo-switch{position:relative;width:42px;height:24px;flex:0 0 42px}.giftoo-switch input{opacity:0;width:0;height:0}.giftoo-switch span{position:absolute;inset:0;background:#ccc;border-radius:999px;cursor:pointer;transition:.2s}.giftoo-switch span:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}.giftoo-switch input:checked+span{background:#111}.giftoo-switch input:checked+span:before{transform:translateX(18px)}.giftoo-push-btn{margin-top:14px}.giftoo-privacy-note,.giftoo-admin-note{margin:7px 2px 0!important;font-size:11.5px!important;color:#777!important}.giftoo-admin-note{background:#fff7d7;padding:9px 10px;border-radius:9px}.giftoo-empty{padding:20px 10px;text-align:center;border:1px dashed #ddd;border-radius:12px;color:#555}.giftoo-empty strong,.giftoo-empty span{display:block}.giftoo-empty span{font-size:12px;margin-top:5px;line-height:1.4}
@keyframes giftooPwaUp{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:700px){#giftoo-pwa-overlay,.giftoo-pwa-overlay:not(#giftoo-pwa-overlay){align-items:center!important}}
@media(max-width:420px){#giftoo-pwa-overlay{padding:12px!important}#giftoo-pwa-overlay .giftoo-pwa-card{width:calc(100vw - 24px)!important;padding:16px 14px 14px!important}#giftoo-pwa-overlay .giftoo-pwa-main{gap:11px!important;padding-right:36px!important}#giftoo-pwa-overlay .giftoo-pwa-icon{flex-basis:54px!important;width:54px!important;min-width:54px!important;max-width:54px!important;height:54px!important;min-height:54px!important;max-height:54px!important}#giftoo-pwa-overlay .giftoo-pwa-copy h3{font-size:18px!important}.giftoo-reminder-card{padding:19px 14px 15px}}


/* v2.4: hidden must beat the high-specificity popup display rules. Without this,
   some installed-app launches could show a full-screen invisible/blur overlay. */
#giftoo-pwa-overlay[hidden],
#giftoo-reminder-overlay[hidden],
.giftoo-pwa-overlay[hidden] { display:none!important; visibility:hidden!important; pointer-events:none!important; }


/* v2.5: browser-native standalone mode is an absolute no-install-prompt zone.
   This CSS safety layer hides the modal even before JavaScript initializes. */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  #giftoo-pwa-overlay {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* v2.6: installed app pages must never inherit an install-modal page lock. */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  html.giftoo-pwa-open:not(:has(#giftoo-reminder-overlay:not([hidden]))) { overflow:auto!important; }
}
