/* WhatsApp Popover Styles */
#wpb-whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

#wpb-whatsapp-icon {
  width: 60px;
  height: 60px;
}

#wpb-whatsapp-icon:hover {
  cursor: pointer;
  opacity: 85%;
}

#wpb-whatsapp-icon-mobile {
  display: none;
  width: 60px;
  height: 60px;
}

#wpb-whatsapp-icon-mobile:hover {
  cursor: pointer;
  opacity: 85%;
}

#wpb-whatsapp-close-overlay {
  display: none;
  pointer-events: none;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#wpb-whatsapp-close-overlay.active {
  display: block;
  pointer-events: all;
}

#wpb-whatsapp-popover {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 280px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  padding: 24px 28px;
  text-align: center;
  z-index: 20;
}

#wpb-whatsapp-button {
  background: #25D366;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
  z-index: 20;
}

#wpb-whatsapp-button:hover {
  background: #1ebe5d;
}

#wpb-whatsapp-qr img {
  width: 100%;
  height: auto;
  z-index: 20;
}

#wpb-whatsapp-close {
  display: none;
  position: absolute;
  top: -6px;
  right: -6px;
  background: #00000033;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  cursor: pointer;
}

#wpb-whatsapp-wrapper:hover #wpb-whatsapp-close {
  display: block;
}

@media (max-width: 738px) {
  #wpb-whatsapp-icon {
    display: none;
  }

  #wpb-whatsapp-icon-mobile {
    display: block;
  }
}