/* Estilos para el botón flotante de WhatsApp */
.float-ws {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.float-ws:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.my-float-ws {
    margin-top: 0;
}

/* ─── Botón flotante del Carrito ─── */
.float-cart {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 115px; /* encima del botón de WhatsApp */
    right: 40px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.float-cart:hover {
    background-color: #c47fa0;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(196, 127, 160, 0.4);
}

/* Badge con el contador */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #c47fa0;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* Ajustes para móviles — va DESPUÉS de las reglas base */
@media (max-width: 768px) {
    .float-ws {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .float-cart {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 20px;
    }
}
