/* ─────────────────────────────
   OVERLAY FINZI / PROMO FINZAPP
   ───────────────────────────── */
.finzapp-finzi-zone {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  pointer-events: none;
}

.finzapp-finzi-overlay-wrap {
  pointer-events: none;
}

.finzapp-finzi-overlay {
  position: fixed !important;
  right: 1.2rem;
  bottom: 1.2rem;
  top: auto !important;
  left: auto !important;
  width: min(390px, calc(100vw - 2rem));
  display: none;
  align-items: flex-end;
  gap: 0.7rem;
  z-index: 150;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.finzapp-finzi-overlay.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.finzapp-finzi-avatar {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(27, 67, 50, 0.22));
}

.finzapp-finzi-bubble {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 18px;
  padding: 0.9rem 0.95rem 0.85rem;
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.16);
  color: #1b4332;
   -webkit-backdrop-filter: blur(8px);
 backdrop-filter: blur(8px);
  
}

.finzapp-finzi-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 22px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(45, 106, 79, 0.18);
  border-bottom: 1px solid rgba(45, 106, 79, 0.18);
  transform: rotate(45deg);
}

.finzapp-finzi-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #40916c;
  margin-bottom: 0.18rem;
}

.finzapp-finzi-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #1b4332;
  margin-bottom: 0.25rem;
}

.finzapp-finzi-text {
  font-size: 0.82rem;
  line-height: 1.38;
  color: #52796f;
  margin-bottom: 0.65rem;
}

.finzapp-finzi-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.finzapp-finzi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1b4332;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.finzapp-finzi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(27, 67, 50, 0.26);
}

.finzapp-finzi-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.08);
  color: #1b4332;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.finzapp-finzi-close:hover {
  background: rgba(27, 67, 50, 0.14);
}

@media (max-width: 720px) {
   .finzapp-finzi-overlay {
    position: fixed !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    top: auto !important;
    left: auto !important;
    width: min(330px, calc(100vw - 1.5rem));
    gap: 0.45rem;
    z-index: 9999 !important;
  }      

  .finzapp-finzi-avatar {
    width: 68px;
    height: 68px;
  }

  .finzapp-finzi-bubble {
    padding: 0.8rem 0.8rem 0.75rem;
  }

  .finzapp-finzi-title {
    font-size: 0.88rem;
  }

  .finzapp-finzi-text {
    font-size: 0.78rem;
  }
}