/*
 * Sabit WhatsApp butonu — sağ alt
 */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

html.has-drawer-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .whatsapp-float {
    right: 14px;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}
