/* WC Product Documents — Ventana "Seguir grupo de Facebook" v5.2.0 */

.wcpd-fb-card {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999998;
    width: 320px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 18px 18px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.wcpd-fb-card.open { opacity: 1; transform: translateY(0); }

.wcpd-fb-x {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    font-size: 22px;
    color: #9ca3af;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.wcpd-fb-x:hover { background: #f3f4f6; color: #4b5563; }

.wcpd-fb-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 28px 10px 0;
}
.wcpd-fb-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1877f2;
    border-radius: 50%;
    flex-shrink: 0;
}
.wcpd-fb-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
}

.wcpd-fb-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.wcpd-fb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    background: #1877f2;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background .15s, transform .1s;
}
.wcpd-fb-btn svg { flex-shrink: 0; }
.wcpd-fb-btn:hover { background: #166fe0; color: #fff !important; }
.wcpd-fb-btn:active { transform: translateY(1px); }

@media (max-width: 480px) {
    .wcpd-fb-card {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }
}
