.elementor-kit-22{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-22 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:768px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* --- ГЛАВНЫЙ КОНТЕЙНЕР --- */
.floating-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Расстояние между двумя главными кнопками */
  align-items: center;
  z-index: 9999;
}

/* --- КНОПКА LEADBACK (Нижняя) --- */
.leadback-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #C9A961; 
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: pulse 2s infinite; /* Легкая пульсация */
}

.leadback-trigger-btn:hover {
  transform: scale(1.1);
  background-color: #B89A50;
}

/* --- ОБЁРТКА И МЕНЮ СООБЩЕНИЙ (Верхняя часть) --- */
.fab-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #333333; /* Тёмный цвет для кнопки сообщений */
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.fab-toggle-btn:hover {
  transform: scale(1.05);
}

/* Анимация иконок в переключателе */
.fab-toggle-btn svg {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.icon-message {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Состояние, когда меню открыто */
.fab-wrapper.is-open .icon-message {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.fab-wrapper.is-open .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.fab-wrapper.is-open .fab-toggle-btn {
  background-color: #dc2626; /* Кнопка становится красной */
}

/* --- ВЫПАДАЮЩЕЕ МЕНЮ С ИКОНКАМИ --- */
.fab-menu {
  position: absolute;
  bottom: 70px; /* Выталкиваем меню выше главной кнопки */
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transform-origin: bottom center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Пружинистая анимация */
  z-index: 1;
}

.fab-wrapper.is-open .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* --- СТИЛИ МАЛЕНЬКИХ КНОПОК СОЦСЕТЕЙ --- */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* Размер кнопок в меню */
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.social-icon {
  color: #ffffff;
}

.social-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-btn:hover {
  transform: scale(1.15);
}

.social-btn.phone { background-color: #C9A961; }
.social-btn.Max { background: linear-gradient(to top right, #24b5ff, #8c42db); }
.social-btn.telegram { background-color: #0088cc; }

/* Анимация пульсации */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(201, 169, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
  .floating-widget-container {
    bottom: 20px;
    right: 20px;
  }
  .leadback-trigger-btn, .fab-toggle-btn {
    width: 50px;
    height: 50px;
  }
  .fab-menu {
    bottom: 60px;
  }
}/* End custom CSS */