.fixed-social {
    position: fixed;
    z-index: 1190;

    background: linear-gradient(180deg, var(--green-primary), var(--green-dark));

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);

    transition: 0.28s ease;
}

.fixed-social-right {
    position: fixed;

    top: 50%;
    right: 0;

    transform: translateY(-50%);

    width: 68px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    padding: 18px 8px;

    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
}

.fixed-social-right::before,
.fixed-social-right::after {
    content: "";

    position: absolute;
    right: 0;

    width: 52px;
    height: 28px;

    pointer-events: none;
}

.fixed-social-right::before {
    top: -28px;

    border-radius: 0 0 42px 0;

    box-shadow: 24px 2px 0 0 var(--green-primary);
}

.fixed-social-right::after {
    bottom: -28px;

    border-radius: 0 42px 0 0;

    box-shadow: 24px -2px 0 0 var(--green-dark);
}

.fixed-social-item {
    width: 52px;
    min-height: 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    color: var(--white);

    border-radius: 14px;

    transition: 0.25s ease;
}

.fixed-social-item img {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    border: 1.5px solid rgba(255, 255, 255, 0.95);

    background: var(--white);

    object-fit: cover;

    transition: 0.25s ease;
}

.fixed-social-item span {
    color: var(--white);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;

    text-align: center;
}

.fixed-social-item:hover img {
    transform: scale(1.06);

    box-shadow:
        rgba(0, 0, 0, 0.18) 0 8px 18px,
        rgba(0, 0, 0, 0.2) 0 4px 5px;
}

.fixed-social-trigger {
    width: 52px;
    min-height: 48px;

    border: none;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.12);

    color: var(--white);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    cursor: pointer;

    transition: 0.25s ease;
}

.fixed-social-trigger i {
    font-size: 14px;
}

.fixed-social-trigger span {
    font-size: 10px;
    font-weight: 700;
}

/* Collapse */

.fixed-social.is-collapsed {
    width: 36px;

    padding: 0;

    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;

    background: linear-gradient(180deg, var(--green-primary), var(--green-dark));
}

.fixed-social.is-collapsed::before {
    border-radius: 0 0 18px 0;

    box-shadow: 36px 2px 0 0 var(--green-primary);
}

.fixed-social.is-collapsed::after {
    border-radius: 0 18px 0 0;

    box-shadow: 36px -2px 0 0 var(--green-dark);
}

.fixed-social.is-collapsed .fixed-social-item,
.fixed-social.is-collapsed .fixed-social-trigger i {
    display: none;
}

.fixed-social.is-collapsed .fixed-social-trigger {
    width: 36px;
    height: 120px;

    margin: 0;

    background: transparent;

    border: none;
    box-shadow: none;

    border-radius: 16px 0 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.fixed-social.is-collapsed .fixed-social-trigger span {
    color: rgba(255, 255, 255, 0.9);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

/* Mobile */

@media (max-width: 576px) {
    .fixed-social-right {
        width: 60px;

        padding: 16px 6px;

        gap: 8px;
    }

    .fixed-social-item,
    .fixed-social-trigger {
        width: 46px;
        min-height: 44px;
    }

    .fixed-social-item img {
        width: 28px;
        height: 28px;
    }

    .fixed-social-item span {
        font-size: 10px;
    }

    .fixed-social-trigger i {
        font-size: 13px;
    }

    .fixed-social-trigger span {
        font-size: 9px;
    }
}
