/*
Theme Name: Hello Elementor Child
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

body{
    background-color: #000 !important;
}
.red{
  color: #D1291E;
}
.italic{
	font-style: italic;
}
.services-tabs .e-n-tabs-heading {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
}
.services-tabs .e-n-tabs-heading .e-n-tab-title{
  width: auto !important;
  margin: 0 !important;
}
.services-tabs .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text{
  text-align: center;
}
.services-list .elementor-heading-title{
  cursor: pointer;
  transition: all 0.3s;
}
.services-list .elementor-heading-title:hover{
  color: #fff !important;
}



/* Основные настройки шрифтов и цветов */
:root {
  --grey-light: #DDDDDD;
  --text-grey: #818181;
  --text-white: #FFFFFF; /* Предполагаемый цвет заголовков, так как в макете white */
}

.price-section {
  margin-bottom: 20px; /* Отступ между секциями, аналог gap: 20px в оригинале */
}

.price-card {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--grey-light);
  background-color: transparent; /* Или белый, если нужно */
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', 'Onest', sans-serif;
}

/* Заголовки групп (Название услуги крупным планом) */
.price-table__header-group {
  display: table-header-group;
}

.price-table__title-cell {
  color: var(--text-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grey-light);
  text-align: left;
}

/* Тело таблицы */
.price-table__body {
  display: table-row-group;
}

.price-table__row {
  display: table-row;
}

/* Ячейки */
.price-table__cell {
  padding-top: 10px;
  padding-bottom: 10px;
  vertical-align: top; /* Чтобы многострочный текст не ломал выравнивание */
}

/* Разделительная линия между строками, кроме последней */
.price-table__row:not(:last-child) .price-table__cell {
  border-bottom: 1px solid var(--grey-light);
}

/* Колонки с фиксированной шириной, как в макете */
.price-table__cell--name {
  width: 850px; /* Или auto/flex, если нужно адаптировать */
  color: var(--text-grey);
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 21px;
}

.price-table__cell--time {
  width: 135px;
  color: var(--text-grey);
  font-size: 18px;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  line-height: 21px;
}

.price-table__cell--price {
  width: 135px;
  color: var(--text-grey);
  font-size: 18px;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  line-height: 21px;
  text-align: right; /* Обычно цены выравнивают по правому краю, но в макете left. Оставим left, если нужно */
  text-align: left;
}


    
/* Основные стили формы */
.booking-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Inter Tight', sans-serif;
  color: #EEFAFF;
}

.booking-form__title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
}

.booking-form__group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

/* Стилизация инпутов под макет */
.booking-form__input-wrap {
  position: relative;
  padding: 15px 20px;
  background: rgba(220.65, 226.28, 240.29, 0.05);
  border-radius: 15px;
  outline: 1px solid #CFD1D7;
  display: flex;
  align-items: center;
  transition: border-color 0.3s;
}
#wrap_service.booking-form__input-wrap{
  padding: 12px 20px;
}
.booking-form__input-wrap.error {
  outline-color: #D1291E !important;
  border: 1px solid #D1291E;
}

.booking-form__input {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF; /* Цвет текста при вводе */
  font-size: 16px;
  font-family: 'Inter Tight', sans-serif;
  outline: none;
}

.booking-form__input::placeholder {
  color: #C9C9C9;
}

/* Select2 кастомизация под темную тему */
.select2-container--default .select2-selection--single {
  background-color: transparent !important;
  border: none !important;
  height: auto !important;
  padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-family: 'Inter Tight', sans-serif !important;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #C9C9C9 transparent transparent transparent !important;
}

.select2-dropdown {
  background-color: #333 !important;
  color: #fff !important;
  border: 1px solid #CFD1D7 !important;
}

.select2-results__option {
  color: #fff !important;
}

.select2-results__option--highlighted {
  background-color: #D1291E !important;
  color: #fff !important;
}

/* Чекбокс политики */
.booking-form__policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}

.booking-form__checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(220.65, 226.28, 240.29, 0.05);
  border-radius: 5px;
  border: 1px solid rgba(235.38, 212.81, 170.88, 0.17);
  position: relative;
  margin-top: 2px;
  transition: all 0.3s;
}

.booking-form__checkbox-custom.error {
  border-color: #D1291E !important;
  background: rgba(209, 41, 30, 0.1);
}

.booking-form__checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

#policy_checkbox:checked + .booking-form__policy-wrap .booking-form__checkbox-custom::after {
  display: block;
}

#policy_checkbox:checked + .booking-form__policy-wrap .booking-form__checkbox-custom {
  background: #D1291E;
  border-color: #D1291E;
}

.booking-form__policy-text {
  color: #A2A2A2;
  font-size: 12px;
  font-weight: 300;
  line-height: 15.6px;
}

.booking-form__policy-text a {
  color: #A2A2A2;
  text-decoration: underline;
}

/* Кнопка */
.booking-form__btn {
  background: #D1291E;
  border-radius: 10px;
  border: none;
  padding: 12px 40px;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.3s;
  width: fit-content;
}

.booking-form__btn:hover {
  background: #b01f16;
}

.booking-form__btn:disabled {
  background: #555;
  cursor: not-allowed;
}

/* Сообщение об успехе */
.booking-form__success {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}
/* Скрываем стандартную стрелку Select2 (тег <b>) */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none !important;
}
/* Фикс белого фона при автозаполнении */
.booking-form__input:-webkit-autofill,
.booking-form__input:-webkit-autofill:hover, 
.booking-form__input:-webkit-autofill:focus, 
.booking-form__input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important; /* Убирает белый фон */
    -webkit-text-fill-color: #FFFFFF !important; /* Делает текст белым (или твоим цветом) */
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s; /* Хак, чтобы фон не мигал */
}
/* Настраиваем контейнер стрелки под размер вашей иконки */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 12px !important;
  height: 7px !important;
  right: -15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}

/* Добавляем вашу SVG-иконку через data-uri */
.select2-container--default .select2-selection--single .select2-selection__arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.7144 0.714355L5.71436 5.71436L0.714355 0.714355' stroke='%23C9C9C9' stroke-width='1.42857' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* Поворот стрелки при открытии списка */
.select2-container--open .select2-selection--single .select2-selection__arrow::before {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}
.header-phone{
  width: fit-content !important;
}
/* Адаптив (опционально): если экран меньше 1240px, таблица может скроллиться или сжиматься */
@media (max-width: 1240px) {
  .price-table__cell--name {
    width: auto;
  }
  .price-table__cell--time,
  .price-table__cell--price {
    width: auto;
    min-width: 100px;
  }

}
@media (max-width: 1024px) {
  .price-card {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Для плавного скролла на iOS */
  }
  .header-menu{
    max-width: 211px;
  }
  .price-table {
    width: 100%;
    min-width: 800px; /* Минимальная ширина, чтобы таблица не сжималась слишком сильно и сохраняла читаемость колонок */
  }
  .header-ds-menu{
      display: none !important;
      position: fixed !important;
      width: 100% !important;
      height: 100% !important;
      left: 0 !important;
      top: 0 !important;
      background-color: black !important;
      z-index: 999999 !important;
  }
  .header-ds-menu.active{
      display: flex !important;
  }
}
@media (max-width: 768px) {
  .services-tabs .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text{
    text-align: left !important;
    margin-left: 0;
    margin-right: auto;
   
  }
  .services-tabs .e-n-tabs-heading{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }
  .price-table__title-cell{
    font-size: 13px;
  }
  .price-card{
    padding: 10px;
  }
  .price-table__cell--name, .price-table__cell--time, .price-table__cell--price{
    font-size: 12px;
  }
}


