.listing-share-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: relative;
  width: 100%;
  margin-top: 4px;
}

.listing-share-actions .btn {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.listing-share-actions .btn:hover,
.listing-share-actions .btn:focus-visible {
  transform: translateY(-2px);
}

.btn-share {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.btn-share:hover,
.btn-share:focus-visible {
  border-color: #ffd84d;
  box-shadow: 0 9px 25px rgba(255, 216, 77, .14);
}

.btn-whatsapp-share {
  background: #25d366;
  border-color: #25d366 !important;
  color: #07150c;
}

.btn-whatsapp-share:hover,
.btn-whatsapp-share:focus-visible {
  background: #43df7b;
  box-shadow: 0 9px 25px rgba(37, 211, 102, .22);
}

.share-wa-icon {
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-size: 13px;
  height: 21px;
  justify-content: center;
  line-height: 1;
  width: 21px;
}

.listing-share-toast {
  background: #fff;
  border-radius: 999px;
  bottom: calc(100% + 9px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
  color: #102118;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 9px 14px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
  z-index: 5;
}

.listing-share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.listing-share-toast.is-error {
  background: #ffeded;
  color: #8f2525;
}

@media (max-width: 560px) {
  .listing-share-actions {
    grid-template-columns: 1fr;
  }

  .listing-share-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-share-actions .btn,
  .listing-share-toast {
    transition: none;
  }
}
