body, body * {
  font-family: 'TildaSans', Arial, sans-serif !important;
}
html, body { overflow-x: hidden !important; }

/* ================= ШАПКА ================= */
/* Главный фикс переноса телефона: скрипт Тильды ставит правому блоку отступ margin-left
   в пикселях, и при любом несовпадении ширины телефон улетает на вторую строку.
   Отменяем этот отступ, запрещаем перенос и управляем отступами сами. */
@media (min-width: 981px) {
  #rec3469078001 .t-menu-base__maincontainer { flex-wrap: nowrap !important; }
  #rec3469078001 .t-menu-base__rightwrapper { margin-left: auto !important; flex-wrap: nowrap !important; align-items: center !important; }
  #rec3469078001 .t-menu-base__additionalwrapper { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; }
  #rec3469078001 .t-menu-base__list { flex-wrap: nowrap !important; align-items: center !important; }

  /* Пункт «Подарочные сертификаты» в две строки */
  #rec3469078001 a.t-menu__link-item[href="/gift_certificate"] {
    white-space: normal !important;
    max-width: 105px;
    line-height: 1.15;
    text-align: center;
    display: inline-block;
    margin: 0 8px;
  }

  /* Размеры по регламенту: меню 16px, телефон 20px */
  #rec3469078001 .t-menu-base__list a.t-menu__link-item { font-size: 16px !important; }
  #rec3469078001 a[href^="tel:"] { font-size: 20px !important; }
}

/* Hover пунктов меню: спокойная малина */
html body #rec3469078001 .t-menu__link-item:not(.t-active):not(.tooltipstered):hover,
html body #rec3469078001 .t-menu__link-item:not(.t-active):not(.tooltipstered):focus-visible { color: #A53363 !important; }
/* Кнопка в шапке: при наведении цвет НЕ меняется (перебиваем запечённое правило) */
html body #rec3469078001 .t-btnflex.t-btnflex_type_button:not(.t-animate_no-hover):hover,
html body #rec3469078001 .t-btnflex.t-btnflex_type_button:not(.t-animate_no-hover):focus-visible {
  background-color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
}

/* Средние экраны: компактнее */
@media (min-width: 981px) and (max-width: 1400px) {
  #rec3469078001 .t-menu-base__maincontainer { padding-left: 16px !important; padding-right: 16px !important; column-gap: 24px !important; }
  #rec3469078001 .t-menu-base__list { gap: 10px 12px !important; }
  #rec3469078001 .t-menu-base__list a.t-menu__link-item { font-size: 15px !important; }
  #rec3469078001 a[href^="tel:"] { font-size: 17px !important; }
}

/* Узкие десктопы: ещё компактнее */
@media (min-width: 981px) and (max-width: 1150px) {
  #rec3469078001 .t-menu-base__maincontainer { padding-left: 10px !important; padding-right: 10px !important; column-gap: 16px !important; }
  #rec3469078001 .t-menu-base__list { gap: 8px !important; }
  #rec3469078001 .t-menu-base__list a.t-menu__link-item { font-size: 14px !important; }
  #rec3469078001 a[href^="tel:"] { font-size: 16px !important; }
  #rec3469078001 .t-btnflex { padding-left: 16px !important; padding-right: 16px !important; font-size: 14px !important; }
  #rec3469078001 a.t-menu__link-item[href="/gift_certificate"] { margin: 0 4px; }
  #rec3469078001 .t-menu-base__textlogo p:first-child strong { font-size: 22px !important; }
  #rec3469078001 .t-menu-base__textlogo p:last-child strong { font-size: 13px !important; }
}

/* Самые узкие десктопы 981-1020px: максимально компактно */
@media (min-width: 981px) and (max-width: 1020px) {
  #rec3469078001 .t-menu-base__maincontainer { column-gap: 12px !important; }
  #rec3469078001 .t-menu-base__list { gap: 6px !important; }
  #rec3469078001 .t-menu-base__list a.t-menu__link-item { font-size: 13px !important; }
  #rec3469078001 a[href^="tel:"] { font-size: 15px !important; }
  #rec3469078001 .t-btnflex { padding-left: 12px !important; padding-right: 12px !important; }
  #rec3469078001 .t-menu-base__textlogo p:first-child strong { font-size: 19px !important; }
  #rec3469078001 .t-menu-base__textlogo p:last-child strong { font-size: 12px !important; }
  #rec3469078001 .t-menu-base__imglogo { max-width: 52px !important; width: 52px !important; }
}

/* ================= МОБИЛЬНОЕ МЕНЮ ================= */
/* «Подарочные сертификаты» в две строки в бургер-меню */
@media (max-width: 980px) {
  #rec3469078001 a.t-menu__link-item[href="/gift_certificate"] {
    white-space: normal !important;
    max-width: 190px;
    line-height: 1.25;
    display: inline-block;
  }
}

/* ================= HOVER КНОПОК: ТЕНЬ + ЛЁГКОЕ УВЕЛИЧЕНИЕ ================= */
/* Решение 13.09.2026: при наведении цвет кнопки НЕ меняется.
   Появляются мягкая тень и увеличение на 4%. */

/* Все стандартные кнопки Тильды (шапка, формы) */
.t-btnflex { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important; }
.t-btnflex:hover {
  background-color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
  transform: scale(1.04) translateY(-1px) !important;
}

/* У 18 форм hover задан в настройках самого блока с !important, перекрываем по id */
html body #rec654982084 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec666964545 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec667324347 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec667324349 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec667325847 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec686958818 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec686960016 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec687343310 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec710054225 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec710054912 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec710055028 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec710055217 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec710055250 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec713143236 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec713372819 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec713388783 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec713534431 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover,
html body #rec729695473 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):hover {
  background-color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
}
html body #rec654982084 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec666964545 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec667324347 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec667324349 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec667325847 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec686958818 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec686960016 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec687343310 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec710054225 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec710054912 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec710055028 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec710055217 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec710055250 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec713143236 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec713372819 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec713388783 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec713534431 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible,
html body #rec729695473 .t-btnflex.t-btnflex_type_submit:not(.t-animate_no-hover):focus-visible {
  background-color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
}

/* Кнопки Zero Block («Записаться на пробный сеанс» и т.п.) */
.t396__elem[data-elem-type="button"] .tn-atom { transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease !important; }
.t396__elem[data-elem-type="button"]:hover { transform: scale(1.04) !important; }
.t396__elem[data-elem-type="button"]:hover .tn-atom {
  background-color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
}

/* Наши кодовые кнопки: карточка онлайн-записи, cookie-баннер */
.ris-online-btn:hover {
  background: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
  transform: scale(1.04) translateY(-1px) !important;
}
.ris-online-cta:hover {
  background: #EEEAE7 !important;
  color: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.25) !important;
  transform: scale(1.04) !important;
}
#ris-cookie-ok:hover {
  background: #BC3D72 !important;
  box-shadow: 0 10px 24px rgba(188,61,114,.4) !important;
}

/* ================= HOVER ТЕКСТОВЫХ ССЫЛОК ================= */
/* Спокойная малина #A53363 */
.t-text a:hover, .t-descr a:hover, .t-title a:hover, .t-uptitle a:hover,
.t-name a:hover, .t-form a:hover { color: #A53363 !important; }

/* ================= ФОРМЫ ================= */
/* Ссылки оферты и персональных данных внутри форм: малиновые с подчёркиванием по регламенту */
.t-form a { color: #BC3D72 !important; text-decoration: underline !important; }
/* Подвал: «Реквизиты и документы» и кнопка VK — hover по новым правилам */
}

#ris-req-btn { transition: color .2s ease; }
#ris-req-btn:hover { color: #A53363 !important; }
a.tn-atom[href*="vk.com"] { transition: transform .2s ease, filter .2s ease !important; }
a.tn-atom[href*="vk.com"]:hover { transform: scale(1.08) !important; filter: drop-shadow(0 8px 14px rgba(188,61,114,.45)) !important; }
/* VK: отключаем старое затухание при наведении */
#sbs-652746908-1697219093463 { animation: none !important; opacity: 1 !important; }

/* Мобильная шапка: название и подпись в одну строку */
@media (max-width: 768px) {
  #rec3469078001 .t-menu-base__textlogo p { white-space: nowrap !important; }
  #rec3469078001 .t-menu-base__textlogo p:first-child strong { font-size: 22px !important; }
  #rec3469078001 .t-menu-base__textlogo p:last-child strong { font-size: 13px !important; }
}

/* Шапка на планшетах 981-1099px: компактный логотип, кнопка не обрезается */
@media (min-width: 981px) and (max-width: 1099px) {
  #rec3469078001 .t-menu-base__imglogo { max-width: 56px !important; }
  #rec3469078001 .t-menu-base__textlogo p:first-child span { font-size: 20px !important; }
  #rec3469078001 .t-menu-base__textlogo p:last-child span { font-size: 12px !important; }
  #rec3469078001 .t-menu-base__maincontainer { column-gap: 10px !important; }
}