/* =========================================================
   SHARE — Floating & bottom social share bars
   ========================================================= */

/* --- Desktop Floating Share --- */
.share-float {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 997;
    transition: opacity .3s ease, transform .3s ease;
}
.share-float.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-100%);
}
.share-float a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: transform .2s ease;
    box-shadow: var(--shadow);
}
.share-float a:hover { transform: scale(1.15); color: #fff; }

/* --- Share Button Colors --- */
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-wa { background: #25d366; }
.share-li { background: #0a66c2; }
.share-tg { background: #0088cc; }
.share-cp { background: #555; }

/* --- Show floating bar on wide screens --- */
@media (min-width: 1480px) {
    .share-float { display: flex; }
}

/* --- Mobile Bottom Share Bar --- */
.share-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 10px;
    justify-content: center;
    gap: 10px;
    z-index: 1000;
    transition: transform .3s ease;
}
.share-bottom.hidden { transform: translateY(100%); }
.share-bottom a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}
@media (max-width: 1479px) {
    .share-bottom { display: flex; }
    body.single { padding-bottom: var(--share-bar-height); }
    body.single.share-hidden { padding-bottom: 0; }
}