/* Decorative social marks for public contact links. Text remains the accessible name. */
a[href^="https://wa.me/"]::before,
a[href^="https://www.instagram.com/"]::before,
a[href^="https://instagram.com/"]::before,
a[href^="https://www.facebook.com/"]::before,
a[href^="https://facebook.com/"]::before,
#bee-order-form button[type="submit"]::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 1.15em;
  margin-inline-end: .36em;
  vertical-align: -.2em;
  background: currentColor;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}
a[href^="https://wa.me/"],
#bee-order-form button[type="submit"] { --social-icon: url("icon-whatsapp.svg"); }
a[href^="https://www.instagram.com/"],
a[href^="https://instagram.com/"] { --social-icon: url("icon-instagram.svg"); }
a[href^="https://www.facebook.com/"],
a[href^="https://facebook.com/"] { --social-icon: url("icon-facebook.svg"); }

/* These links already space their children with flex gap. */
a.lk[href^="https://"]::before,
a.btn[href^="https://wa.me/"]::before,
#bee-order-form button[type="submit"]::before { margin-inline-end: 0; }

@media (prefers-reduced-motion: reduce) {
  a[href^="https://wa.me/"]::before,
  a[href^="https://www.instagram.com/"]::before,
  a[href^="https://www.facebook.com/"]::before { transition: none; }
}
