.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
}

.floating-contacts.floating-contacts--front-page {
    bottom: 20px;
}
/* Кнопка "Все туры" */
.floating-contacts--tours {
    right: 20px;
    bottom: 20px;
}

.floating-contacts--tours .floating-contacts__toggle-label {
font-size: 15px;
line-height: 120%;
}

.floating-contacts--tours .floating-contacts__toggle-icon {
    width: 18px;
    height: 18px;
}


.floating-contacts--tours .floating-contacts__toggle {
    background-color: transparent; /* Зеленый цвет для отличия */
    background-image: url("../../../../assets/images/section/trips/trips-marker-paper.png");
    background-size: cover;
    background-position: 58% 35%;
    font-size: 15px
}

.floating-contacts--tours .floating-contacts__toggle-icon {
    position: static;
    transform: none;
    margin-right: 5px;
    background-image: url('../img/tours.svg');
}

.floating-contacts--tours .floating-contacts__toggle-label {
    color: #222;
    font-size: 16px;
    font-weight: 500;
}

.floating-contacts__toggle {
    background-image: url('../../../../assets/images/tour/hero-paper-rose.png');
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    background-size: cover;
}

.floating-contacts__toggle-icon {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../img/chat-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* Анимация прыжков */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-contacts--animated .floating-contacts__toggle {
    animation: bounce 2s ease-in-out infinite;
}

/* Меню */
.floating-contacts__menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
    min-width: 190px;
}

.floating-contacts__heading {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    padding: 0 10px;
}

.floating-contacts.active .floating-contacts__menu {
    display: flex;
}

.floating-contacts__item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.floating-contacts__item-wrap  {
    display: flex;
    gap: 10px;
}
.floating-contacts__item-wrap .floating-contacts__item {
    flex: 1;
    justify-content: center;
}
.floating-contacts__item-wrap .floating-contacts__item  span{
    margin: 0;
}

.floating-contacts__item:hover {
    background-color: #f5f5f5;
}

.floating-contacts__icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 24px;
}

.floating-contacts__item[data-type="telegram"] .floating-contacts__icon {
    background-image: url('../../../social-forms/assets/img/telegram.svg');
    width: 28px;
    height: 28px;
}
 
.floating-contacts__item[data-type="whatsapp"] .floating-contacts__icon {
    background-image: url('../../../social-forms/assets/img/whatsapp.svg');
}

.floating-contacts__item[data-type="instagram"] .floating-contacts__icon {
    background-image: url('../../../social-forms/assets/img/instagram.svg');
}

.floating-contacts__item[data-type="tours"] .floating-contacts__icon {
    background-image: url('../img/tours.svg');
}

.floating-contacts__item[data-type="contact-form"] .floating-contacts__icon {
    background-image: url('../img/chat.svg');  
}

.floating-contacts__item[data-type="contact-form"] {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.floating-contacts__label {
    font-size: 14px;
    line-height: 120%;
    font-weight: 500;
}

/* Адаптив */
@media (max-width: 768px) {
    .floating-contacts {
        right: 10px;
        bottom: 80px;
    }

    .floating-contacts--tours {
        bottom: 15px;
    }

    .floating-contacts--tours .floating-contacts__toggle {
    }

    .floating-contacts--tours .floating-contacts__toggle-label {
        font-size: 14px;
        line-height: 120%;
    }
    

    .floating-contacts__toggle {
        width: 60px;
        height: 60px;
    }

    .floating-contacts__menu {
        right: 0;
        bottom: 60px;
        min-width: 160px;
    }

    .floating-contacts__heading {
        font-size: 14px;
        max-width: 100px;
        text-align: center;
        margin: auto;
    }
}
