/* ===== Botón flotante ===== */
.wfc-whatsapp-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000001; /* por encima de WoodMart overlays (999999) */
}

.wfc-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366; /* verde WhatsApp */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    padding: 0;
}

.wfc-float-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ===== Menú desplegable ===== */
.wfc-whatsapp-menu {
    position: absolute;
    right: 0;
    bottom: 70px;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    pointer-events: none;
}

.wfc-whatsapp-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
    pointer-events: auto;
}

.wfc-whatsapp-menu h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
}

.wfc-whatsapp-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wfc-whatsapp-menu li {
    margin: 4px 0;
}

.wfc-whatsapp-floating .wfc-whatsapp-menu a {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #111 !important;
}

.wfc-whatsapp-floating .wfc-whatsapp-menu a:hover {
    background: #f1f1f1;
}

.wfc-whatsapp-floating .wfc-central-btn {
    display: block;
    margin-top: 8px;
    padding: 8px;
    background: #25D366;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
}

/* touch-action para eliminar delay de 300ms en iOS */
.wfc-float-btn {
    touch-action: manipulation;
}
