.gd-whatsapp-floating {
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;

    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 34%),
        linear-gradient(135deg, #0f0f0f 0%, #1c1c1c 45%, #2b210f 100%);

    border: 1px solid rgba(212, 175, 55, 0.48);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.38),
        0 0 0 6px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.05);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.gd-whatsapp-floating:hover {
    transform: translateY(-3px);

    border-color: rgba(212, 175, 55, 0.88);

    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 34%),
        linear-gradient(135deg, #131313 0%, #20180b 50%, #3b2b12 100%);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.46),
        0 0 0 8px rgba(212, 175, 55, 0.12),
        0 0 18px rgba(212, 175, 55, 0.18);
}

.gd-whatsapp-floating__icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gd-whatsapp-floating svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #d4af37;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

.gd-whatsapp-floating::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    white-space: nowrap;
    padding: 9px 13px;
    border-radius: 999px;

    background: rgba(16, 16, 16, 0.96);
    color: #f6e7b0;

    border: 1px solid rgba(212, 175, 55, 0.28);

    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.2px;

    box-shadow:
        0 10px 26px rgba(0,0,0,0.28);

    transition: all 0.18s ease;
}

.gd-whatsapp-floating::after {
    content: "";
    position: absolute;
    right: calc(100% + 5px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    border: 6px solid transparent;
    border-left-color: rgba(16, 16, 16, 0.96);

    transition: all 0.18s ease;
}

.gd-whatsapp-floating:hover::before,
.gd-whatsapp-floating:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

html[dir="rtl"] .gd-whatsapp-floating::before {
    font-family: inherit;
}

@media (max-width: 767px) {
    .gd-whatsapp-floating {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(80px, env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
    }

    .gd-whatsapp-floating__icon {
        width: 27px;
        height: 27px;
    }

    .gd-whatsapp-floating::before,
    .gd-whatsapp-floating::after {
        display: none;
    }
}