/* FutureFlow · vagner-ds.ru · свой CSS сайта (Tilda → Настройки сайта → Вставка кода → Редактировать CSS).
   Исходник в git: docs/design/custom.css. Правила привязаны к блокам (#recXXX) — остальной сайт не затрагивают. */

/* Каталог направлений: «Подробнее» — контурная кнопка вместо 15 сплошных бордовых (меньше визуального шума) */
body #allrecords #rec2235552431 a.t-catalog__card__btn.t-btnflex.t-btnflex_type_button {
  background-color: transparent !important; color: #661524 !important;
  border: 1px solid #661524 !important; box-shadow: none !important;   /* селектор усилен: у Tilda правило той же силы с !important идёт позже */
}
#rec2235552431 .t-catalog__card__btn .t-btnflex__text { color: inherit !important; }
@media (hover: hover) {
  body #allrecords #rec2235552431 a.t-catalog__card__btn.t-btnflex.t-btnflex_type_button:hover { background-color: #661524 !important; color: #ffffff !important; }
}
@media (max-width: 480px) {
  body #allrecords #rec2235552431 a.t-catalog__card__btn.t-btnflex.t-btnflex_type_button { height: 40px !important; min-height: 40px !important; }
  #rec2235552431 .t-catalog__card__btn .t-btnflex__text { font-size: 14px !important; }
}

/* Аренда залов: главное действие — «Забронировать» (бордовая), «Фото/видео зала» — второстепенная (контур) */
#rec2241869221 .t-btnflex.t-btnflex_type_button2 { background-color: #661524 !important; border-color: #661524 !important; color: #ffffff !important; }
#rec2241869221 .t-btnflex.t-btnflex_type_button { background-color: transparent !important; border-color: #661524 !important; color: #661524 !important; }
@media (hover: hover) {
  #rec2241869221 .t-btnflex.t-btnflex_type_button2:hover { background-color: #ffffff !important; color: #661524 !important; }
  #rec2241869221 .t-btnflex.t-btnflex_type_button:hover { background-color: #661524 !important; color: #ffffff !important; }
}
/* Аренда залов: подпись «Для групп…» и цены — читаемым текстовым шрифтом (у Tilda подпись была мелкой декоративной с разрядкой, цены — Arial) */
body #allrecords #rec2241869221 .t-card__uptitle { font-family: 'TildaSans', Arial, sans-serif !important; font-size: 13px !important; letter-spacing: .04em !important; text-transform: uppercase !important; line-height: 1.4 !important; color: #8a6a3a !important; font-weight: 600 !important; }
body #allrecords #rec2241869221 .t-card__descr { font-family: 'TildaSans', Arial, sans-serif !important; font-size: 15px !important; line-height: 1.6 !important; color: #444444 !important; }
body #allrecords #rec2241869221 .t-card__descr strong { color: #661524 !important; font-weight: 600 !important; white-space: nowrap; }

/* Карточки направлений (страница /tproduct/ и попап): цен у направлений нет — убираем пустую строку цены, чтобы не было дыры */
.js-catalog-price-wrapper.t-catalog__prod-popup__price-wrapper { display: none !important; }
/* Карточка направления: подпись аудитории («Взрослые», «Дети, подростки») была 12 px декоративным шрифтом — делаем читаемой, как в каталоге */
.t-catalog__prod-popup__brand.t-descr { font-family: 'TildaSans', Arial, sans-serif !important; font-size: 16px !important; line-height: 1.4 !important; color: #666666 !important; }
.t-catalog__prod-popup__brand .js-product-brand { font: inherit !important; color: inherit !important; }

/* ===== Формы записи (всплывающие BF502N rec2241921481/2246446071/2246447181/2246441471 и корзина ST100 rec2244432741), 08.10.2026 =====
   Скругления, мягкие поля, бордовая кнопка в цвет сайта, заголовок фирменным шрифтом, затемнение фона с размытием */
body #allrecords .t702 .t-popup, body #allrecords .t706__cartwin { background-color: rgba(28, 8, 14, .62) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body #allrecords .t702 .t-popup__container, body #allrecords .t706__cartwin-content { border-radius: 24px !important; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important; border: 0 !important; }
body #allrecords .t702 .t702__wrapper { padding: 44px 40px 40px !important; }
body #allrecords .t706__cartwin-content { padding: 40px 40px 36px !important; }
body #allrecords .t702 .t702__title, body #allrecords .t706__cartwin-heading { font-family: 'CormorantGaramond', Georgia, serif !important; font-weight: 600 !important; font-size: 32px !important; line-height: 1.1 !important; color: #1c1c1c !important; letter-spacing: 0 !important; }
body #allrecords .t706__cartwin-top { border-bottom: 0 !important; padding-bottom: 8px !important; }
body #allrecords .t706__cartwin-products { border: 0 !important; }
body #allrecords .t706__product { background: #f7f3ef; border-radius: 16px; border: 0 !important; border-collapse: separate; }
body #allrecords .t706__product-thumb { padding: 0 !important; width: 56px !important; flex: 0 0 56px; }
body #allrecords .t706__product-imgdiv { width: 56px !important; height: 56px !important; background-size: cover !important; background-position: center !important; }
body #allrecords .t706__product-title { padding-left: 14px !important; }
body #allrecords .t706__cartwin-products { padding: 4px 0 0 !important; margin: 0 !important; display: block !important; height: auto !important; min-height: 0 !important; }
body #allrecords .t706__product { display: flex !important; align-items: center; margin: 0 0 8px !important; padding: 10px !important; height: auto !important; width: 100% !important; box-sizing: border-box !important; }
body #allrecords .t706__product > div { display: block !important; }
body #allrecords .t706__product .t706__product-title { flex: 1 1 auto; }
body #allrecords .t706__product .t706__product-plusminus { display: none !important; }
body #allrecords .t706__cartwin-bottom { padding: 0 !important; margin: 0 !important; }
body #allrecords .t706__product-del-wrapper { padding: 0 4px 0 10px !important; width: auto !important; align-self: center; line-height: 0; }
body #allrecords .t706__product-imgdiv { border-radius: 12px !important; background-color: #fff !important; }
body #allrecords .t706__product-title { font-family: 'TildaSans', Arial, sans-serif !important; font-size: 17px !important; font-weight: 600 !important; color: #1c1c1c !important; }
body #allrecords .t706__product-amount { color: #8a8580 !important; }
body #allrecords .t706__cartwin-bottom, body #allrecords .t706__orderform { border: 0 !important; padding-top: 6px !important; }
/* поля ввода */
body #allrecords .t702 .t-input, body #allrecords .t706 .t-input { height: 54px !important; border: 1px solid #ebe4dd !important; border-radius: 14px !important; background-color: #faf8f6 !important; color: #1c1c1c !important; font-family: 'TildaSans', Arial, sans-serif !important; font-size: 16px !important; box-shadow: none !important; transition: border-color .2s, background-color .2s, box-shadow .2s; }
body #allrecords .t702 .t-input:focus, body #allrecords .t706 .t-input:focus, body #allrecords .t702 .t-input:focus-within, body #allrecords .t706 .t-input:focus-within { border-color: #661524 !important; background-color: #ffffff !important; box-shadow: 0 0 0 3px rgba(102, 21, 36, .12) !important; outline: none !important; }
body #allrecords .t702 .t-input-group, body #allrecords .t706 .t-input-group { margin-bottom: 12px !important; }
/* телефон: рамка — у обёртки с флагом, внутреннее поле без своей рамки */
body #allrecords .t702 .t-input-phonemask__wrap .t-input-phonemask, body #allrecords .t706 .t-input-phonemask__wrap .t-input-phonemask { height: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
body #allrecords .t702 .t-input-phonemask__wrap, body #allrecords .t706 .t-input-phonemask__wrap { display: flex !important; align-items: center; }
body #allrecords .t702 input::placeholder, body #allrecords .t706 input::placeholder { color: #9b948d !important; opacity: 1 !important; }
/* галочка согласия */
body #allrecords .t702 .t-checkbox__indicator, body #allrecords .t706 .t-checkbox__indicator { width: 20px !important; height: 20px !important; border: 1.5px solid #c9bdb1 !important; border-radius: 6px !important; opacity: 1 !important; }
body #allrecords .t702 .t-checkbox:checked ~ .t-checkbox__indicator, body #allrecords .t706 .t-checkbox:checked ~ .t-checkbox__indicator { background: #661524 !important; border-color: #661524 !important; }
body #allrecords .t702 .t-checkbox:checked ~ .t-checkbox__indicator:after, body #allrecords .t706 .t-checkbox:checked ~ .t-checkbox__indicator:after { border-color: #ffffff !important; }
body #allrecords .t702 .t-checkbox__control, body #allrecords .t706 .t-checkbox__control { font-size: 14px !important; line-height: 1.4 !important; color: #6b655f !important; align-items: center; }
/* кнопка */
body #allrecords .t702 .t-submit.t-btnflex, body #allrecords .t706 .t-submit.t-btnflex { height: 56px !important; border-radius: 30px !important; background-color: #661524 !important; border-color: #661524 !important; color: #ffffff !important; font-family: 'TildaSans', Arial, sans-serif !important; font-size: 17px !important; font-weight: 600 !important; margin-top: 6px; }
@media (hover: hover) { body #allrecords .t702 .t-submit.t-btnflex:hover, body #allrecords .t706 .t-submit.t-btnflex:hover { background-color: #4d0f1b !important; border-color: #4d0f1b !important; } }
/* крестик закрытия — белый круг */
body #allrecords .t702 .t-popup__close, body #allrecords .t706__close-button { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .14) !important; display: flex !important; align-items: center; justify-content: center; }
@media (max-width: 640px) {
  body #allrecords .t702 .t-popup__container, body #allrecords .t706__cartwin-content { border-radius: 20px !important; }
  body #allrecords .t702 .t702__wrapper, body #allrecords .t706__cartwin-content { padding: 32px 20px 24px !important; }
  body #allrecords .t702 .t702__title, body #allrecords .t706__cartwin-heading { font-size: 28px !important; }
}
