﻿.site-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 10%;
    z-index: 1040;
}

.site-whatsapp__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 10px 18px;
    color: #fff !important;
    background-color: #25d366;
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .site-whatsapp__link:hover,
    .site-whatsapp__link:focus-visible {
        color: #fff !important;
        background-color: #20bd5a;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
        transform: translateY(-2px);
        text-decoration: none !important;
    }

    .site-whatsapp__link:focus-visible {
        outline: 3px solid rgba(37, 211, 102, 0.32);
        outline-offset: 3px;
    }

.site-whatsapp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 30px;
    line-height: 1;
}

    .site-whatsapp__icon i {
        display: block;
        color: #fff !important;
        line-height: 1;
    }

.site-whatsapp__text {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .site-whatsapp {
        right: 16px;
        bottom: 20px;
    }

    .site-whatsapp__link {
        width: 58px;
        height: 58px;
        min-height: 58px;
        padding: 0;
        border-radius: 50%;
    }

    .site-whatsapp__icon {
        font-size: 31px;
    }

    .site-whatsapp__text {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .site-whatsapp {
        right: 14px;
        bottom: 16px;
    }

    .site-whatsapp__link {
        width: 56px;
        height: 56px;
        min-height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-whatsapp__link {
        transition: none;
    }

        .site-whatsapp__link:hover,
        .site-whatsapp__link:focus-visible {
            transform: none;
        }
}
