/* =============================================
   Shared Components — Lunith
   ============================================= */

/* --- WhatsApp FAB --- */
.whatsapp-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

/* Label: absolutamente posicionado, no ocupa espacio en el layout */
.whatsapp-fab__label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-wrapper:hover .whatsapp-fab__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.whatsapp-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:focus,
.whatsapp-fab:focus-visible,
.whatsapp-fab:active {
    outline: none;
    box-shadow: none;
}

.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    display: block;
}

@media (max-width: 600px) {
    .whatsapp-wrapper {
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-fab {
        width: 48px;
        height: 48px;
    }

    .whatsapp-fab svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-fab__label {
        display: none;
    }
}
