.hgx-wa-widget,
.hgx-wa-widget * {
    box-sizing: border-box;
}

.hgx-wa-widget {
    --hgx-wa-color: #25D366;
    --hgx-wa-bottom: 24px;
    --hgx-wa-right: 24px;
    position: fixed;
    right: var(--hgx-wa-right);
    bottom: var(--hgx-wa-bottom);
    z-index: 999999;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}

.hgx-wa-button {
    position: relative;
    width: 70px;
    height: 70px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--hgx-wa-color);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(18, 140, 74, .42), 0 7px 18px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    outline: none;
    animation: hgx-wa-button-pulse 1.45s ease-in-out infinite;
    overflow: visible;
}

.hgx-wa-button:hover,
.hgx-wa-button:focus-visible {
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 22px 54px rgba(18, 140, 74, .5), 0 10px 24px rgba(0, 0, 0, .24);
    filter: brightness(1.03);
}

.hgx-wa-button:active {
    transform: translateY(0) scale(.96);
}

.hgx-wa-pulse {
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    background: var(--hgx-wa-color);
    opacity: .45;
    pointer-events: none;
    z-index: -1;
}

.hgx-wa-pulse-one {
    animation: hgx-wa-ring-pulse 1.35s ease-out infinite;
}

.hgx-wa-pulse-two {
    inset: -20px;
    opacity: .26;
    animation: hgx-wa-ring-pulse 1.35s ease-out infinite;
    animation-delay: .42s;
}

.hgx-wa-main-icon {
    position: relative;
    z-index: 1;
    width: 66px;
    height: 66px;
    max-width: none !important;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    pointer-events: none;
}

.hgx-wa-options {
    position: absolute;
    right: 0;
    bottom: 86px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    color: #1f2937;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.97);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    border: 1px solid rgba(17, 24, 39, .08);
}

.hgx-wa-widget.is-open .hgx-wa-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hgx-wa-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    color: #111827;
}

.hgx-wa-option {
    display: flex !important;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    text-decoration: none !important;
    color: #111827 !important;
    background: #f9fafb;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 16px;
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hgx-wa-option:hover,
.hgx-wa-option:focus-visible {
    background: #f0fdf4;
    border-color: rgba(37, 211, 102, .55);
    transform: translateX(-3px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, .14);
    outline: none;
}

.hgx-wa-option-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(18, 140, 74, .22);
}

.hgx-wa-option-img {
    width: 42px;
    height: 42px;
    max-width: none !important;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
}

.hgx-wa-option-text {
    min-width: 0;
    display: block;
}

.hgx-wa-option-text strong,
.hgx-wa-option-text small {
    display: block;
}

.hgx-wa-option-text strong {
    font-size: 14px;
    line-height: 1.25;
    color: #111827;
}

.hgx-wa-option-text small {
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
}

@keyframes hgx-wa-ring-pulse {
    0% {
        transform: scale(.7);
        opacity: .55;
    }
    45% {
        opacity: .30;
    }
    100% {
        transform: scale(1.82);
        opacity: 0;
    }
}

@keyframes hgx-wa-button-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 16px 38px rgba(18, 140, 74, .42), 0 7px 18px rgba(0, 0, 0, .18);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 22px 54px rgba(18, 140, 74, .58), 0 10px 26px rgba(0, 0, 0, .24);
    }
}

@media (max-width: 480px) {
    .hgx-wa-widget {
        right: 16px !important;
        bottom: 16px !important;
    }

    .hgx-wa-button {
        width: 64px;
        height: 64px;
    }

    .hgx-wa-main-icon {
        width: 60px;
        height: 60px;
    }

    .hgx-wa-options {
        width: 296px;
        bottom: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hgx-wa-button,
    .hgx-wa-pulse-one,
    .hgx-wa-pulse-two {
        animation: none;
    }
}

@media print {
    .hgx-wa-widget {
        display: none !important;
    }
}
