/* Central WhatsApp support widget */
.whatsapp-support {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  gap: 10px;
  justify-items: end;
  font-family: "DM Sans", Arial, sans-serif;
}

.whatsapp-support__notice {
  max-width: 280px;
  padding: 10px 13px;
  border: 1px solid rgba(200, 155, 84, .35);
  background: rgba(7, 8, 7, .9);
  color: #edcb85;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  font-size: 11px;
  line-height: 1.45;
  backdrop-filter: blur(14px);
}

.whatsapp-support__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(237, 203, 133, .75);
  border-radius: 999px;
  background: linear-gradient(135deg, #070807, #11110f 58%, #21170b);
  color: #edcb85;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(237, 203, 133, .18);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.whatsapp-support__button:hover,
.whatsapp-support__button:focus-visible {
  transform: translateY(-3px);
  border-color: #edcb85;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .52), 0 0 0 4px rgba(200, 155, 84, .16);
  outline: none;
}

.whatsapp-support__button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 720px) {
  .whatsapp-support {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .whatsapp-support__button {
    width: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-support__button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .whatsapp-support__notice {
    max-width: min(250px, calc(100vw - 32px));
    font-size: 10px;
  }
}

/* Keep the WhatsApp widget and the flower assistant from colliding. */
.floating-assistant {
  bottom: 182px;
  right: max(22px, env(safe-area-inset-right));
}

@media (max-width: 720px) {
  .floating-assistant {
    bottom: calc(144px + env(safe-area-inset-bottom));
  }

  .whatsapp-support__notice {
    display: none;
  }
}
