/* Homepage WhatsApp support widget (sits left of Crisp) */
.whatsapp-chat-trigger {
  position: fixed;
  right: 104px;
  bottom: 18px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-chat-teaser {
  width: min(360px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  padding: 16px 52px 16px 16px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
}

.whatsapp-chat-teaser.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-chat-teaser-open {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.whatsapp-chat-teaser-open:focus-visible {
  outline: 2px solid #159ed3;
  outline-offset: 2px;
  border-radius: 8px;
}

.whatsapp-chat-teaser-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.whatsapp-chat-teaser-text {
  margin: 0;
  color: #475569;
}

.whatsapp-chat-teaser-close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.whatsapp-chat-teaser-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.whatsapp-chat-teaser-close:focus-visible {
  outline: 2px solid #159ed3;
  outline-offset: 2px;
}

.whatsapp-chat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: white;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
}

.whatsapp-chat-icon:hover {
  background: #1ebe57;
}

.whatsapp-chat-icon:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 3px;
}

.whatsapp-contact-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-contact-link:hover {
  background: #1ebe57;
  color: #fff;
}

.whatsapp-contact-link:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 3px;
}

.whatsapp-qr-image {
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .whatsapp-chat-trigger {
    right: 82px;
    bottom: 14px;
  }

  .whatsapp-chat-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
