.share-blog-hit {
    display: inline-block;
    cursor: pointer;
    position: relative;
}

/* ── Popup overlay ─────────────────────────────────────────────────────────── */

.share-hit-popup {
    display: none;
    position: fixed;
    inset: 0;                        /* covers full viewport */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

/* ── Popup content box – position is set dynamically via JS ────────────────── */

.share-hit-popup-content {
    position: absolute;              /* JS sets top/right/bottom/left/transform */
    width: 90%;
    max-width: 480px;
    padding: 24px 28px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* ── Popup title ───────────────────────────────────────────────────────────── */

.share-hit-popup-title {
    margin: 0 0 16px;
    font-size: 1.1em;
    font-weight: 700;
    color: #222;
}

/* ── Close button ──────────────────────────────────────────────────────────── */

.share-hit-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: color 0.15s;
}
.share-hit-popup-close:hover { color: #222; }

/* ── Share buttons ─────────────────────────────────────────────────────────── */

.share-hit-popup-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-hit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}
.share-hit-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
}

/* Icon inside button */
.share-hit-btn-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.share-hit-btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
}