/* Floating WhatsApp support — premium, minimal */
.aya-wa-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #141c2b;
  color: #fff;
  text-decoration: none !important;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.22),
    0 1px 3px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.aya-wa-fab:hover,
.aya-wa-fab:focus-visible {
  color: #fff;
  background: #0f1520;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.28),
    0 2px 6px rgba(15, 23, 42, 0.14);
  outline: none;
}

.aya-wa-fab__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
}

.aya-wa-fab__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-right: 18px;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .aya-wa-fab__label {
    display: none;
  }

  .aya-wa-fab {
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  body.aya-page-event .aya-wa-fab,
  body.aya-page-cart .aya-wa-fab,
  body.aya-page-checkout .aya-wa-fab {
    display: none !important;
  }
}

@media (min-width: 768px) {
  body.aya-page-checkout .aya-wa-fab {
    display: none !important;
  }
}

body.aya-page-cart .aya-wa-fab,
body.aya-page-event .aya-wa-fab {
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .material-scrolltop ~ .aya-wa-fab,
  .aya-wa-fab {
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
}
