#floating-contact,
#floatingContact {
    position: fixed;
    bottom: 24px;
    left: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-btn,
.contact-options a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    outline: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover,
.contact-options a:hover {
    text-decoration: none;
    color: #fff;
}

.contact-options a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), 0 2px 8px rgba(0, 0, 0, 0.14);
}

.floating-btn {
    background: linear-gradient(135deg, #d6a317, #f6d56a);
    background-color: #d6a317;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.floating-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(214, 163, 23, 0.35);
}

.floating-btn:active,
.contact-options a:active {
    transform: scale(0.93);
}

.contact-options {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#floating-contact.floating-contact--expanded .contact-options,
#floatingContact.floating-contact--expanded .contact-options {
    display: flex;
}

.contact-whatsapp { background-color: #25D366; }
.contact-viber { background-color: #665CAC; }
.contact-telegram { background-color: #229ED9; }

.contact-viber img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
    #floating-contact,
    #floatingContact {
        bottom: 68px !important;
        left: 16px !important;
        z-index: 9999 !important;
    }

    .floating-btn,
    .contact-options a {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
}

@media (max-width: 768px) {
    .floating-info,
    .float-contact,
    .bc-contact-icon,
    .contact-float,
    #floating-contact,
    #floatingContact {
        bottom: 68px !important;
        left: 16px !important;
        z-index: 9999 !important;
    }

    #floating-contact .contact-options,
    #floatingContact .contact-options {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-height: 200px;
        overflow: hidden;
        opacity: 1;
        pointer-events: auto;
        transition: max-height 250ms ease, opacity 250ms ease;
    }

    #floating-contact .contact-options a,
    #floatingContact .contact-options a {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: opacity 250ms ease, transform 250ms ease, visibility 250ms ease;
    }

    #floating-contact.floating-contact--collapsed .contact-options,
    #floatingContact.floating-contact--collapsed .contact-options {
        max-height: 0;
        opacity: 0;
        gap: 0;
        pointer-events: none;
    }

    #floating-contact.floating-contact--collapsed .contact-options a,
    #floatingContact.floating-contact--collapsed .contact-options a {
        opacity: 0;
        transform: translateY(12px);
        visibility: hidden;
        pointer-events: none;
    }

    #floating-contact.floating-contact--expanded .contact-options,
    #floatingContact.floating-contact--expanded .contact-options {
        max-height: 200px;
        opacity: 1;
        pointer-events: auto;
    }

    #floating-contact.floating-contact--expanded .contact-options a,
    #floatingContact.floating-contact--expanded .contact-options a {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
}
