/* Sitewide social share widget */
.om-share {
  --om-share-ink: #1c1410;
  --om-share-muted: #5c534c;
  --om-share-line: rgba(28, 20, 16, 0.12);
  --om-share-saffron: #b45309;
  margin: 1.5rem 0 0.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--om-share-line);
  text-align: center;
}

.om-share-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--om-share-muted);
  margin-bottom: 0.65rem;
}

.om-share-preview {
  display: none;
  max-width: 220px;
  margin: 0 auto 0.85rem;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--om-share-line);
  background: #fff;
}

.om-share-preview.is-visible {
  display: block;
}

/* Footer share: buttons only — never show the site icon / OG preview image */
.om-share-footer .om-share-preview,
.om-share-footer .om-share-preview.is-visible {
  display: none !important;
}

.om-share-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
}

.om-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.om-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--om-share-line);
  background: #fff;
  color: var(--om-share-ink);
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.om-share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
}

.om-share-btn[data-network="facebook"]:hover { background: #1877f2; }
.om-share-btn[data-network="whatsapp"]:hover { background: #25d366; }
.om-share-btn[data-network="telegram"]:hover { background: #229ed9; }
.om-share-btn[data-network="x"]:hover { background: #111; }
.om-share-btn[data-network="reddit"]:hover { background: #ff4500; }
.om-share-btn[data-network="pinterest"]:hover { background: #e60023; }
.om-share-btn[data-network="linkedin"]:hover { background: #0a66c2; }
.om-share-btn[data-network="instagram"]:hover,
.om-share-btn[data-network="copy"]:hover,
.om-share-btn[data-network="native"]:hover {
  background: var(--om-share-saffron);
}

.om-share-toast {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--om-share-saffron);
  min-height: 1.1em;
}

.footer .om-share {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.footer .om-share-label {
  color: rgba(255, 255, 255, 0.7);
}

.footer .om-share-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.footer .om-share-toast {
  color: #f3d5a8;
}
