
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.fab-actions {
    display: flex;
    flex-direction: column; 
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 0; 
}

.fab-container.active .fab-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-main {
    width: 65px;
    height: 65px;
    background: linear-gradient(145deg, var(--gold, #c6a87c), #a88a5d);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(198, 168, 124, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    outline: none;
    
}

.fab-main:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 35px rgba(198, 168, 124, 0.6);
}

.fab-main i {
    transition: transform 0.4s ease;
}

.fab-container.active .fab-main i {
    transform: rotate(135deg); 
}

.fab-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-btn:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.fab-quote {
    background: #1a1a1a;
    color: var(--gold, #c6a87c);
    border-color: rgba(198, 168, 124, 0.3);
}

.fab-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(198, 168, 124, 0.2);
    pointer-events: none;
    font-family: var(--font-primary, sans-serif);
}

[dir="rtl"] .fab-tooltip {
    right: auto;
    left: 75px;
    transform: translateX(-15px);
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold, #c6a87c);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: fab-pulse-animation 2.5s infinite;
}

@keyframes fab-pulse-animation {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    .fab-main {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}