/**
 * Floating social FAB — มุมล่างขวา
 */
.floating-social {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    font-family: inherit;
}

.floating-social__panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-social__panel[hidden] {
    display: none !important;
}

.floating-social__fab {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00c853;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-social__fab:hover {
    background: #00b248;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.floating-social__fab:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.floating-social--open .floating-social__fab {
    transform: scale(1.02);
}

.floating-social__btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-social__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    color: #fff;
}

.floating-social__btn .icon {
    font-size: 1.15rem;
}

.floating-social__btn--line {
    background: #06c755;
}

.floating-social__btn--messenger {
    background: #0084ff;
}

.floating-social__btn--email {
    background: #546e7a;
}

.floating-social__btn--youtube {
    background: #ff0000;
}

@media (max-width: 480px) {
    .floating-social {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .floating-social__fab {
        width: 3.25rem;
        height: 3.25rem;
    }

    .floating-social__btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}
