
/* Contenedores flotantes */
.social-floating-left,
.social-floating-right {
    position: fixed;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-floating-left {
    left: 20px;
    flex-direction: row;
}

.social-floating-right {
    right: 20px;
}

/* Eliminar posicionamientos anteriores */
.social-floating-left > div,
.social-floating-right > div {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Botones de redes */
.social-floating-left a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 11px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 50% !important;
    text-decoration: none;
    color: #fff;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

/* Colores */
.faceBlock a {
    background: #1877F2;
}

.instaBlock a {
    background: #C13584;
}

.youtubeBlock a {
    background: #FF0000;
}

.twitterBlock a {
    background: #1DA1F2;
}

/* Iconos */
.social-floating-left img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* WhatsApp con texto */
.social-floating-right .whatsappBlock a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;
    min-height: 48px;
    height: auto;
    padding: 10px 16px;
    margin: 0;

    box-sizing: border-box;
    border-radius: 24px !important;

    background: #65BC54;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.social-floating-right .whatsappBlock img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Hover */
.social-floating-left a:hover,
.social-floating-right .whatsappBlock a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}

/* Accesibilidad */
.social-floating-left a:focus-visible,
.social-floating-right a:focus-visible {
    outline: 2px solid #222;
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .social-floating-left {
        left: 12px;
        bottom: 12px;
        gap: 6px;
    }

    .social-floating-right {
        right: 12px;
        bottom: 12px;
    }

    .social-floating-left a {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .social-floating-left img {
        width: 24px;
        height: 24px;
    }

    .social-floating-right .whatsappBlock a {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .social-floating-right .whatsappBlock img {
        width: 22px;
        height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-floating-left a,
    .social-floating-right a {
        transition: none;
    }
}
