/* First Cradle v1.5: presentation-only, EXISTING Astra child-theme link.
   Keep the theme's wa.me URL, number, markup and booking bar untouched. */
html body a.fc-wa-float,
html body.fc-home-v1-page a.fc-wa-float {
  display: inline-flex !important;
  position: fixed;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  right: max(17px, env(safe-area-inset-right, 0px));
  bottom: max(19px, env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 50%;
  background: #1ac768;
  color: #fff;
  font-size: 0; /* visually replace the old emoji, retain the link */
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 0 0 4px rgba(62, 222, 122, .22), 0 7px 19px rgba(0, 82, 43, .23);
  z-index: 9998;
  transition: transform .16s ease, background-color .16s ease;
}
html body a.fc-wa-float::before {
  content: "";
  display: block;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  background: url("./whatsapp-mark.svg") center / contain no-repeat;
}
html body a.fc-wa-float::after { content: none; display: none; }
html body a.fc-wa-float:hover { background: #0bb35a; color: #fff; transform: translateY(-2px); }
html body a.fc-wa-float:focus-visible { outline: 3px solid #0c6aa5; outline-offset: 6px; }
@media (max-width: 768px) {
  html body a.fc-wa-float,
  html body.fc-home-v1-page a.fc-wa-float {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
  }
  html body a.fc-wa-float::before { flex-basis: 27px; width: 27px; height: 27px; }
  /* Existing product-page sticky booking bar: leave room above it. */
  html body.single-product a.fc-wa-float {
    bottom: calc(87px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  html body a.fc-wa-float { transition: none; }
}
