/* The install items, their hints and the bar. All stay hidden unless pwa.js shows them. */
.install-app-hint{margin:0 0 .5rem;font-size:var(--text-small,.875rem);line-height:1.5}
.install-app-hint[hidden],button[data-install-app][hidden]{display:none!important}
button.text-link[data-install-app]{border:0;padding:4px 0;background:transparent;color:var(--ink);text-align:left;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
button.nav-install{order:99}
@media (min-width:75.0625rem){.site-header :is(.nav-install,.nav-install-hint){display:none!important}}
.nav-install-hint{order:100}
/* The bar sits at the bottom edge, above the device's own edge, and under dialogs and the toast. */
.install-bar{position:fixed;inset:auto 0 0 0;z-index:15;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px 12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:var(--surface,#fff);border-top:1px solid var(--line,#ddd);box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.install-bar[hidden]{display:none}
.install-bar>p{margin:0;font-weight:600}
.install-bar>.install-app-hint{grid-column:1/-1;font-weight:400}
.install-bar-close{min-width:44px;min-height:44px;border:0;background:transparent;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}
/* Only an installed app has no browser bars, so only it needs room for the device's own edges. */
@media (display-mode:standalone){
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  body :is(.site-header,.customer-header,.giftcard-header,.preferences-brand){padding-top:max(8px,env(safe-area-inset-top))}
  body :is(.site-footer,.account-footer,.preferences-footer){padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
