/* Convite de instalacao do app. Mesmo desenho do cartao do BRDeals. */
.km-inst-fundo {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(21, 23, 25, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (min-width: 640px) {
  .km-inst-fundo {
    align-items: center;
  }
}

.km-inst-fundo.km-inst-visivel {
  opacity: 1;
}

.km-inst-cartao {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 48px rgba(21, 23, 25, 0.22);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.km-inst-visivel .km-inst-cartao {
  transform: translateY(0);
}

.km-inst-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #9ba6b3;
  cursor: pointer;
  /* Alvo de toque confortavel: o X fica perto da borda da tela. */
  padding: 6px 10px;
}

.km-inst-x:hover {
  color: #5a6472;
}

.km-inst-logo {
  display: block;
  width: auto;
  height: 44px;
  margin-bottom: 14px;
}

.km-inst-titulo {
  font-size: 19px;
  font-weight: 700;
  color: #151719;
  line-height: 1.3;
}

.km-inst-desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5a6472;
}

.km-inst-passos {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #5a6472;
}

.km-inst-acoes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.km-inst-instalar,
.km-inst-ok {
  flex: 1 1 auto;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 15.5px;
  font-weight: 650;
  padding: 13px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.km-inst-instalar:hover,
.km-inst-ok:hover {
  background: #1d4fd0;
}

.km-inst-depois {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #5a6472;
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 6px;
  cursor: pointer;
}

.km-inst-depois:hover {
  color: #151719;
}
