.elementor-kit-6{--e-global-color-primary:#946FA6;--e-global-color-secondary:#2B2531;--e-global-color-text:#4A4252;--e-global-color-accent:#8F5BAF;--e-global-color-3b4b353:#F4EFF7;--e-global-typography-primary-font-family:"Manrope";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Manrope";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Manrope";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Manrope";--e-global-typography-accent-font-weight:500;color:var( --e-global-color-text );font-family:"Manrope", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1300px;}.e-con{--container-max-width:1300px;--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){margin-block-end:1.5rem;}.elementor-element{--widgets-spacing:1.5rem 1.5rem;--widgets-spacing-row:1.5rem;--widgets-spacing-column:1.5rem;}{}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:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --purple-lite:#F4EFF7; --white:#ffffff; --border-purple:#CDB8D6; --purple:#7A5690; --headings:#2B2531; --text:#4A4252; --purple-2:#8F5BAF; --gray:#6E6577; --purple-2-hover:#a46bc7; --h1:clamp(2.125rem, calc(1.676rem + 2.245vw), 3.5rem);; --primary-font-family:Manrope; --e-gv-074f3c2:1em; --e-gv-83c7085:1.3em; --h2:clamp(1.75rem, calc(1.423rem + 1.633vw), 2.75rem);; --h3:clamp(1.375rem, calc(1.171rem + 1.02vw), 2rem);; --h4:clamp(1.25rem, calc(1.209rem + 0.204vw), 1.375rem);; --h5:1.125rem; --s-text:0.875rem; --badge-text:0.813rem; --space-24:1.5rem; --space-32:clamp(1.5rem, calc(1.337rem + 0.816vw), 2rem);; --circle:999px; --space-8:0.5rem; --space-16:1rem; --space-0:0px; --purple-dark:#614274; --text-17:1.063rem; --purple-lite-hover:#f0e6f6; --bg-dark:#2B2531; --white-font:#D6D3DD; }
/* Start custom CSS *//* Главный контейнер */
.custom-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Пропорции карточки, можно изменить на 1/1 или 16/9 */
  overflow: hidden;
  border-radius: 16px; /* Скругление углов как на макете */
  --position: 50%; /* Стартовая позиция шторки */
}

/* Общие стили для обеих картинок */
.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Обрезка верхней картинки (До) */
.ba-image-before {
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

/* Стили для невидимого ползунка (он управляет логикой) */
.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  outline: none;
  z-index: 20;
  cursor: ew-resize; /* Курсор влево-вправо */
}

/* Делаем сам "бегунок" ползунка прозрачным, но кликабельным */
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 40px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
  border: none;
}

/* Визуальная белая линия по центру */
.ba-slider-line {
  position: absolute;
  top: 0;
  left: var(--position);
  width: 2px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

/* Круглая кнопка по центру со стрелочками */
.ba-slider-button {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Плашки ДО и ПОСЛЕ */
.ba-label {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  z-index: 15;
  pointer-events: none;
}
.ba-label-before {
  left: 16px;
}
.ba-label-after {
  right: 16px;
}


/* 1. Настраиваем контейнер и контент (остается без изменений) */
.decor-circle-box {
  position: relative;
  overflow: hidden; 
}

.decor-circle-box > * {
  position: relative;
  z-index: 1;
}

/* 2. Обновленный шар с растворением сверху вниз */
.decor-circle-box::before {
  content: "";
  position: absolute;
  top: -150px;    
  left: 50px;  
  width: 560px;  
  height: 560px; 
  
  /* Линейный градиент: идет сверху (to bottom) */
  background: linear-gradient(
    to bottom, 
    rgba(255, 255, 255, 0.14) 0%,   /* Верх: цвет видимый (здесь 15% непрозрачности), дает четкий край */
    rgba(255, 255, 255, 0.03) 30%,  /* Середина: плавно тускнеет */
    rgba(255, 255, 255, 0) 100%      /* Низ: полностью растворяется в прозрачность (0) */
  );
  
  border-radius: 50%; /* Держим форму круга */
  z-index: 0; 
  pointer-events: none; 
}

/* Плавное движение иконки */
.custom-btn-arrow {
  transition: transform 0.3s ease-in-out;
}

/* Сдвиг иконки при наведении на контейнер-кнопку */
.custom-btn-wrapper:hover .custom-btn-arrow {
  transform: translateX(6px);
}

/* Стилизация бейджа в меню */
.menu-badge {
  background-color: #f4edf7; /* Светло-фиолетовый фон */
  color: #634673; /* Темно-фиолетовый цвет текста */
  font-size: 13px; /* Размер шрифта цифр */
  font-weight: 600; /* Жирность текста */
  padding: 2px 8px; /* Внутренние отступы (сверху/снизу и по бокам) */
  border-radius: 12px; /* Скругление углов, чтобы получился овал */
  margin-left: 6px; /* Отступ слева от слова "Отзывы" */
  vertical-align: middle; /* Выравнивание по центру относительно текста */
  display: inline-block;
  line-height: 1.2;
}


/* =========================================================
   ЗАЩИТА ВСЕХ ИКОНОК И SVG ELEMENTOR v4 ОТ ТЕМЫ WPBOX
   ========================================================= */
.e-svg-base,
.elementor-widget-icon .elementor-icon,
.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.e-svg-base svg,
.elementor-widget-icon svg,
.elementor-icon svg,
.e-font-icon-svg svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    vertical-align: baseline !important; /* Отключает vertical-align: middle от WPBox */
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* Безопасный отступ для иконок внутри кнопок (чтобы стрелки не слипались с текстом) */
form button[type="submit"].e-form-submit-button-base {
    gap: 8px; /* Добавляем аккуратный отступ между текстом кнопки и её иконкой */
}





/* 1. Стилизуем СТРОГО только сам чекбокс в формах Elementor v4 */
input[type="checkbox"].e-form-checkbox-base {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 2px 10px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    accent-color: #8e52a4 !important;
    cursor: pointer !important;
}

/* 2. Отключаем паразитные галочки WPBox ТОЛЬКО у самого тега чекбокса (не задевая иконки кнопок) */
input[type="checkbox"].e-form-checkbox-base::before,
input[type="checkbox"].e-form-checkbox-base::after {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* 3. Выравниваем ТОЛЬКО непосредственного родителя чекбокса (благодаря знаку ">") */
.e-atomic-element:has(> input[type="checkbox"].e-form-checkbox-base) {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
}

/* 4. Стилизуем ТОЛЬКО текст подписи к чекбоксу */
label.e-form-label-base[for*="e-form-checkbox"] {
    margin: 0 !important;
    line-height: 1.4 !important;
    cursor: pointer;
}



/* 1. Убираем прозрачность и делаем четким текст подсказки (плейсхолдер) */
input.e-form-input-base::placeholder,
textarea.e-form-input-base::placeholder,
.e-form-input-base::placeholder {
    color: #8a8094 !important; /* Нужный вам цвет подсказки */
    opacity: 1 !important; /* Сбрасываем прозрачность от WPBox */
}

/* Для поддержки разных движков браузеров */
input.e-form-input-base::-webkit-input-placeholder,
textarea.e-form-input-base::-webkit-input-placeholder {
    color: #8a8094 !important;
    opacity: 1 !important;
}
input.e-form-input-base::-moz-placeholder,
textarea.e-form-input-base::-moz-placeholder {
    color: #8a8094 !important;
    opacity: 1 !important;
}

/* 2. Делаем ярким и читаемым сам текст, который вводит пациент */
input.e-form-input-base,
textarea.e-form-input-base {
    color: #4a4252 !important; /* Насыщенный темный цвет для вводимых данных */
    -webkit-text-fill-color: #4a4252 !important; /* Защита от автозаполнения в Safari/Chrome */
}


/* 1. Жестко отключаем только паразитные обводки и тени от темы WPBox */
form.e-form button[type="submit"].e-form-submit-button-base,
.elementor-element button[type="submit"].e-form-submit-button-base {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* 2. БАЗОВЫЙ стиль кнопки (БЕЗ !important для цвета, фона, отступов и скругления!).
      Вес селектора 0,2,2 перебивает WPBox (0,2,1), 
      но послушно уступает вкладке "Стиль" в Elementor (0,3,0) */
form button[type="submit"].e-form-submit-button-base {
    font-family: var(--primary-font-family, 'Manrope'), sans-serif;
    font-weight: 500;
    background-color: #8f5baf; /* Фиолетовый фон по умолчанию */
    color: #ffffff;            /* Белый текст по умолчанию */
    border-radius: 8px;        /* Скругление по умолчанию */
    padding: 14px 28px;        /* Отступы по умолчанию */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* 3. Цвет при наведении по умолчанию (тоже БЕЗ !important) */
form button[type="submit"].e-form-submit-button-base:hover {
    background-color: #a46bc7;
    color: #ffffff;
}

/* 4. Ваш утилитный класс .radius-circle (для быстрого превращения в "таблетку"):
      Если вы вручную добавили кнопке класс radius-circle — она станет круглой */
form button[type="submit"].radius-circle {
    border-radius: 50px !important;
}/* End custom CSS */