.trouvix-pwa-prompt {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 999999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.trouvix-pwa-prompt.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trouvix-pwa-card {
  width: min(680px, 100%);
  background: #fff;
  color: #231f2b;
  border: 1px solid rgba(111, 60, 195, .16);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(34, 23, 52, .2);
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  pointer-events: auto;
  font-family: inherit;
}

.trouvix-pwa-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f2eaff;
  color: #6f3cc3;
  font-size: 24px;
  font-weight: 800;
}

.trouvix-pwa-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.trouvix-pwa-copy strong {
  font-size: 16px;
  line-height: 1.25;
}

.trouvix-pwa-copy span {
  font-size: 14px;
  line-height: 1.45;
  color: #615b68;
}

.trouvix-pwa-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.trouvix-pwa-primary,
.trouvix-pwa-secondary,
.trouvix-pwa-close {
  font: inherit;
  cursor: pointer;
}

.trouvix-pwa-primary,
.trouvix-pwa-secondary {
  border-radius: 999px;
  padding: 10px 15px;
  border: 1px solid transparent;
  font-weight: 700;
}

.trouvix-pwa-primary {
  background: #6f3cc3;
  color: #fff;
}

.trouvix-pwa-secondary {
  background: transparent;
  color: #615b68;
  border-color: #ddd7e6;
}

.trouvix-pwa-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #77707f;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 640px) {
  .trouvix-pwa-prompt {
    inset: auto 10px 10px 10px;
  }

  .trouvix-pwa-card {
    grid-template-columns: auto 1fr;
    border-radius: 18px;
    padding: 14px;
  }

  .trouvix-pwa-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
