.er-pwa-install-prompt {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  align-items: end;
  font-family: Arial, Helvetica, sans-serif;
}

.er-pwa-install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 29, 25, .42);
  backdrop-filter: blur(3px);
}

.er-pwa-install-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: min(100% - 20px, 560px);
  margin: 0 auto 10px;
  padding: 20px;
  border: 1px solid rgba(90, 50, 42, .10);
  border-radius: 24px;
  background: #fffaf8;
  box-shadow: 0 22px 70px rgba(90, 50, 42, .28);
  animation: erPwaInstallEnter .28s ease-out;
}

.er-pwa-install-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5e9e7;
  color: #5a322a;
}

.er-pwa-install-close svg,
.er-pwa-install-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.er-pwa-install-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f5e9e7;
  color: #8f5f55;
}

.er-pwa-install-icon svg {
  width: 30px;
  height: 30px;
}

.er-pwa-install-content {
  display: grid;
  gap: 7px;
  padding-right: 26px;
}

.er-pwa-install-content > span {
  color: #a86f62;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.er-pwa-install-content h2 {
  margin: 0;
  color: #5a322a;
  font-size: 21px;
  line-height: 1.15;
}

.er-pwa-install-content p {
  margin: 0;
  color: #705249;
  font-size: 13px;
  line-height: 1.5;
}

.er-pwa-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
}

.er-pwa-install-primary,
.er-pwa-install-secondary {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.er-pwa-install-primary {
  border: 1px solid #8f5f55;
  background: #8f5f55;
  color: #fff;
  box-shadow: 0 8px 18px rgba(143, 95, 85, .20);
}

.er-pwa-install-secondary {
  border: 1px solid rgba(90, 50, 42, .14);
  background: #fff;
  color: #5a322a;
}

.er-pwa-ios-steps {
  display: grid;
  gap: 7px;
  margin-top: 3px;
  padding: 12px;
  border-radius: 14px;
  background: #f7efed;
}

.er-pwa-ios-steps > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5a322a;
  font-size: 12px;
}

.er-pwa-step-number {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 50%;
  background: #fff;
  color: #8f5f55;
  font-size: 11px;
  font-weight: 900;
}

.er-pwa-install-help {
  margin-top: 4px !important;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7efed;
}

@keyframes erPwaInstallEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 901px) {
  .er-pwa-install-prompt {
    display: none;
  }
}

@media (max-width: 520px) {
  .er-pwa-install-card {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 14px);
    margin-bottom: 7px;
    padding: 17px;
    border-radius: 22px;
  }

  .er-pwa-install-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .er-pwa-install-content {
    padding-right: 0;
  }

  .er-pwa-install-content h2 {
    font-size: 19px;
  }

  .er-pwa-install-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .er-pwa-install-primary,
  .er-pwa-install-secondary {
    width: 100%;
  }
}
