.yk-pwa-banner[hidden] {
  display: none !important;
}

.yk-pwa-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 99940;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  background: #111;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-family: "proxima-nova", "Proxima Nova", "Nunito Sans", sans-serif;
}

.yk-pwa-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 48px;
  object-fit: cover;
  background: #111;
}

.yk-pwa-banner__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.yk-pwa-banner__copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.yk-pwa-banner__lead,
.yk-pwa-banner__ios {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.yk-pwa-banner__ios[hidden],
.yk-pwa-banner__lead[hidden],
.yk-pwa-banner__install[hidden] {
  display: none !important;
}

.yk-pwa-banner__install {
  flex: 0 0 auto;
  border: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.yk-pwa-banner__close {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

body.yk-shopify-checkout .yk-pwa-banner,
body.yk-shopify-thankyou .yk-pwa-banner,
body.yk-fn-popup-open .yk-pwa-banner,
body.yk-auth-modal-open .yk-pwa-banner,
body.popup-fly-cart-opened .yk-pwa-banner,
html.yk-pwa-standalone .yk-pwa-banner,
body.yk-pwa-standalone .yk-pwa-banner {
  display: none !important;
}

@media (min-width: 1025px) {
  .yk-pwa-banner {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: min(380px, calc(100vw - 40px));
  }
}

@media (display-mode: standalone) {
  .yk-pwa-banner {
    display: none !important;
  }

  #page-mobile-tabs,
  .page-mobile-tabs {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
