/* WhatsApp Discount Popup (Top of Page) */
.whatsapp-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  background: #25D366;
  color: white;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  font-size: 16px;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.8s ease-in-out;
  transition: opacity 0.6s ease-in-out;
  max-width: 320px;
}

.popup-text {
  flex: 1;
  line-height: 1.4;
}

.whatsapp-btn {
  background: white;
  color: #25D366;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  background: #128c7e;
  color: white;
}

.close-btn {
  cursor: pointer;
  font-size: 18px;
  margin-left: 5px;
}

/* Slide-down animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive for Mobile */
@media (max-width: 600px) {
  .whatsapp-popup {
    top: 15px !important;
    right: 10px !important;
    left: 10px !important;
    font-size: 15px !important;
    max-width: none !important;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .popup-text {
    width: 100%;
  }

  .whatsapp-btn {
    margin-top: 8px;
  }
}
