:root {
    --moulcod-whatsapp-size: 48px;
}

.moulcod-whatsapp-button {
    display: inline-flex;
    width: var(--moulcod-whatsapp-size);
    height: var(--moulcod-whatsapp-size);
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff !important;
    box-shadow: none;
    line-height: 1;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.moulcod-whatsapp-button:hover,
.moulcod-whatsapp-button:focus {
    background: transparent;
    color: #fff !important;
    filter: brightness(1.06);
}

.moulcod-whatsapp-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
}

.moulcod-whatsapp-floating-button {
    position: fixed;
    right: 18px;
    left: auto;
    bottom: 18px;
    z-index: 99999;
    min-width: var(--moulcod-whatsapp-size);
    max-width: var(--moulcod-whatsapp-size);
    min-height: var(--moulcod-whatsapp-size);
    max-height: var(--moulcod-whatsapp-size);
    flex: 0 0 var(--moulcod-whatsapp-size);
    padding: 0 !important;
}

.moulcod-whatsapp-floating-button:hover,
.moulcod-whatsapp-floating-button:focus {
    transform: translateY(-2px);
}

body.moulcod-whatsapp-position-left .moulcod-whatsapp-floating-button {
    right: auto;
    left: 18px;
}

@media (max-width: 420px) {
    .moulcod-whatsapp-floating-button {
        right: 16px;
    }

    body.moulcod-whatsapp-position-left .moulcod-whatsapp-floating-button {
        right: auto;
        left: 16px;
    }
}
