:root {
  --accent-color: rgba(246, 84, 35, 1);
  --accent-color-hover: rgba(246, 84, 35, 0.8);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

button.btn {
  border-radius: 100px;
  background-color: var(--light-purple);
  color: var(--gray);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 1.3;
  font-family: var(--wd-title-font);
}

button.cosmos-btn {
  background-color: var(--e-global-color-f87f5bd);
  color: #000;
  text-transform: inherit !important;
}

button.dark-btn {
  background-color: #08103d;
  color: #fff;
  text-transform: inherit !important;
}

button.accent-btn {
  background-color: var(--accent-color);
  color: #fff !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(246, 84, 35, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(0, 0, 0, 0.06) 100%
  );
  background-blend-mode: soft-light;
}

button.accent-btn:hover {
  color: #fff !important;
  background-color: var(--accent-color-hover);
  box-shadow: 0 10px 26px rgba(246, 84, 35, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Subtle moving light sheen to draw attention without pulsing */
button.accent-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%);
  animation: accent-sheen 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes accent-sheen {
  from {
    transform: translateX(-150%);
  }
  to {
    transform: translateX(150%);
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  button.accent-btn::before {
    animation: none;
    opacity: 0.12;
    transform: translateX(0);
  }
}

.time_table_wrp {
  position: relative;
  width: 100%;
  z-index: 100;
  border-radius: 70px;

  padding: 30px;
}

@media (max-width: 769px) {
}

.time_table_wrp::before {
  content: "";
  display: block;
  position: absolute;
  background: #ffffff;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-box-shadow: 20px 10px 134px rgba(45, 24, 91, 0.0698754);
  box-shadow: 20px 10px 134px rgba(45, 24, 91, 0.0698754);
}

.timetable_section {
  overflow: hidden;
  padding-bottom: 50px;
}

.t_table_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #f4eff1;
  position: relative;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
}

/* removed empty rule */
.t_table_list li a,
.e-n-tabs-heading button span {
  font-family: var(--wd-title-font) !important;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem) !important;
  line-height: 23px;
  /* identical to box height */
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 12px;
  padding-bottom: 16px;
  border-radius: 40px !important;
  color: #000;
  /*background-color: var(--e-global-color-d9ff685);*/
  position: relative;
  display: inline-block;
}

.t_table_list li a::after,
.e-n-tabs-heading button span::after {
  content: "";
  display: block;
  position: absolute;
  left: 15px;
  width: calc(100% - 30px);
  bottom: 14px;
  background-image: url(./img/border_bottom.svg);
  height: 3px;
  background-position: center;
  z-index: 100;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 0;
}

.t_table_list li a.tabs__link--active::after,
.e-n-tabs-heading button[aria-selected="true"] span::after {
  opacity: 1;
}

.mobile_tarif {
  display: none;
}

/* BEM Tabs */
.tabs__list {
  list-style: none;
  display: flex;
  gap: 8px 12px;
}

.tabs__link {
  display: inline-block;
}

.t_table_list li a.tabs__link--active,
.e-n-tabs-heading button[aria-selected="true"] span {
  background-color: #fff7ec;
}

.tabs__item {
  margin: 0 !important;
}

/* removed empty rule */

.tabs__panel {
  display: none;
}

.tabs__panel--active {
  display: block;
}

.t_table_list li.active a {
  background-color: #f65423;
}

.t_table_list li.active a::after {
  opacity: 1;
}

.divTable {
  display: table;
  width: 100%;
}

.divTableRow {
  display: table-row;
}

.divTableHeading {
  background-color: #eee;
  display: table-header-group;
}

.divTableCell,
.divTableHead {
  display: table-cell;
  padding: 18px 5px;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
}

.divTableHeading {
  background-color: #eee;
  display: table-header-group;
  font-weight: bold;
}

.divTableFoot {
  background-color: #eee;
  display: table-footer-group;
  font-weight: bold;
}

.divTableBody {
  display: table-row-group;
}

.groupt1 {
  text-align: center;
  margin-bottom: 14px;
  font-weight: bold;
  font-size: 27px;
  line-height: 32px;
  text-align: center;
  color: #000000;
}

.groupt2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: normal;
  font-size: 16px;
  line-height: 25px;
  /* or 156% */
  text-align: center;
  color: #000000;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.table_wrp .divTableRow:first-child div {
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  /* identical to box height */
  color: #000000;
}

.table_wrp .divTableRow > div:nth-child(1) {
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  /* identical to box height */
  letter-spacing: 1px;
  color: #000000;
}

.divTableRow {
  position: relative;
}

.divTableRow > div {
  position: relative;
  z-index: 100;
}

.divTableRow:nth-child(even) > div::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff7ec;
  border-radius: 0;
  z-index: -1;
}

.divTableRow:nth-child(even) > div:first-child::before {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.divTableRow:nth-child(even) > div:last-child::before {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.divTableRow > div:first-child {
  padding-left: 24px;
}

.divTableRow > div:last-child {
  padding-left: 24px;
}

.part_day {
  margin-bottom: 14px;
  font-weight: bold;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
}

.day_q_wrp {
  display: block;
}

.day_q_wrp > div {
  font-weight: normal;
  font-size: 15px;
  line-height: 18px;
  color: #000000;
  padding: 18px 20px;
}

.day_q_wrp > div:nth-child(odd) {
  background: #f5f8fa;
  border-radius: 14px;
}

.day_q_wrp > div span {
  font-weight: bold;
}

.q_after {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  color: #f83580;
}

.table_elems {
  position: relative;
}

.table_elems::before {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/ttble_elem.svg);
  height: 306px;
  width: 328px;
  right: -90px;
  bottom: -100px;
}

.table_elems::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/video_bear.png);
  width: 227px;
  height: 225px;
  left: 130px;
  bottom: -190px;
  z-index: -2;
}

.time_table_wrp > svg {
  position: absolute;
}

.table_top_bot {
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.mobile_map {
  display: none;
}

.mobile_ttle_taif {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 14px;
  color: #000;
}

.mobile_ttle_taif_data {
  font-size: 15px;
  padding: 10px 12px;
  color: #373737;
}

.mobile_ttle_taif_data:nth-child(odd) {
  background: #fff7ec;
  border-radius: 14px;
}

.mobile_ttle_taif_data span:first-child {
  width: 40px;
  display: inline-block;
  vertical-align: middle;
  font-weight: bold;
}

.mobile_ttle_taif_data span:last-child {
  width: calc(100% - 110px);
  display: inline-block;
  vertical-align: middle;
  padding-left: 5px;
}

.mobile_ttle_taif:first-child {
  margin-top: 0;
}

.show_adr_lable {
  display: none;
}

.mobile_tools_yard {
  text-align: right;
  display: none;
}

.day_q_wrp {
}

.day_q_wrp > div {
  font-weight: normal;
  font-size: 15px;
  line-height: 18px;
  color: #000000;
  padding: 18px 20px;
}

.day_q_wrp > div:nth-child(odd) {
  background: #f5f8fa;
  border-radius: 14px;
}

.day_q_wrp > div span {
  font-weight: bold;
}

.q_after {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  color: #f83580;
}

/* Замена иконки play для всех видео */
.eicon-play {
  display: none;
}

.elementor-custom-embed-play {
  width: 25%;
  content: url("./img/play.svg");
  transition: 0.3s ease-in-out;
  filter: drop-shadow(2px 4px 20px rgba(0, 0, 0, 0.4));
}

a:has(.elementor-custom-embed-play):hover .elementor-custom-embed-play {
  width: 30%;
}

.wd-social-icon {
  display: block !important;
  background-color: transparent !important;

  transition: 0.3s transform linear;
}

.wd-social-icon:hover {
  transform: scale(1.1);
}

.wd-social-icons .wd-icon:before {
  content: "" !important;
  display: block;
  width: clamp(1.875rem, 1.406rem + 1.88vw, 2.813rem);
  height: clamp(1.875rem, 1.406rem + 1.88vw, 2.813rem);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-facebook .wd-icon:before {
  background-image: url("./img/Facebook.png");
}

.social-instagram .wd-icon:before {
  background-image: url("./img/Instagram.png");
}

/* === Обёртка формы === */
.grid-form {
  /*background-color: #fff;*/
  /*border-radius: 24px;*/
  padding: 28px;
  /*box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);*/
  display: grid;
  grid-template-columns: 1fr; /* две колонки */
  gap: 22px 28px;
}

/*.home .grid-form {
  background-color: #fff;
  border-radius: 24px;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}*/

.form-modal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form:is(.sent, .invalid, .unaccepted, .spam, .failed, .aborted)
  div.wpcf7-response-output {
  display: none !important;
}

.hidden-fields-container {
  display: none;
}

/* каждая строка */
.grid-form .form-row,
.form-modal .form-row,
.form-flex {
  display: flex;
  flex-direction: column;
}

.form-row:has(input[type="checkbox"]) {
  grid-column: 1 / -1;
}

.form-program {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* подписи полей */
.form-wrapper .form-row > label {
  font-family: var(--wd-title-font);
  font-weight: 800;
  color: #23242a;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* поля ввода (CF7 input/textarea/select) */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper input[type="date"],
.form-wrapper textarea,
.form-wrapper select {
  width: 100%;
  background: rgba(8, 16, 61, 0.05);
  border: none;
  border-radius: 28px; /* форма-«пилюля» */
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.4;
  min-height: 48px;
  /*box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);*/
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-program input[type="text"],
.form-program input[type="email"],
.form-program input[type="tel"],
.form-program input[type="date"],
.form-program textarea,
.form-program select {
  background-color: #ffffff1a;
  border: 0px solid #ffffff1a;
  border-radius: 30px;
}

.form-program input[type="submit"] {
  width: 100%;
}

.form-program label {
  color: #fff;
}

.form-wrapper textarea {
  min-height: 110px;
  resize: vertical;
}

/* hover/focus */
.form-wrapper input:focus,
.form-wrapper textarea:focus,
.form-wrapper select:focus {
  outline: none;

  /*box-shadow: inset 0 0 0 2px #1118271a, 0 0 0 3px rgba(14, 74, 236, 0.15);*/
}

/* кнопка отправки (используем классы из CF7: class:btn class:btn-dark) */
.form-wrapper .btn.btn-dark,
.form-wrapper input.wpcf7-submit.btn.btn-dark {
  background: #0d1630; /* тёмно-синий */
  color: #fff;
  border: none;
  border-radius: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 22, 48, 0.25);
  transition: transform 0.05s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border-radius: 100px;
}

.form-program input[type="submit"].btn-white {
  background: #fff;
  color: #0d1630;
}

.form-program input[type="submit"].btn-white:hover {
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(13, 22, 48, 0.28);
}

/* Состояние загрузки для кнопки */
.form-wrapper .btn.btn-dark.is-loading,
.form-wrapper input.wpcf7-submit.btn.btn-dark.is-loading {
  opacity: 0.85;
  cursor: default;
}

/* Более заметный спиннер CF7 */
.wpcf7-spinner {
  display: none;
}

.form-wrapper .btn.btn-dark:hover,
.form-wrapper input.wpcf7-submit.btn.btn-dark:hover {
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(13, 22, 48, 0.28);
}

.form-wrapper .btn.btn-dark:active,
.form-wrapper input.wpcf7-submit.btn.btn-dark:active {
  transform: translateY(1px);
}

/* разместить кнопку на всю ширину сетки и с отступом сверху */
.form-wrapper .form-row:last-child {
  grid-column: 1 / -1;
  padding-top: 4px;
}

/* сообщения об ошибках CF7 и подсветка невалидных полей */
.form-wrapper span.wpcf7-not-valid-tip {
  color: #e5493a;
  margin-top: 6px;
  font-size: 13px;
}

.form-wrapper .wpcf7-form-control.wpcf7-not-valid {
  box-shadow: inset 0 0 0 1px #ff1600c7;
}

/* сообщение успешной отправки */
.form-wrapper .wpcf7 form .wpcf7-response-output,
.form-wrapper .wpcf7-response-output {
  border-radius: 12px;
  border: 1px solid #0d1630;
  background: #0d1630;
  color: #fff;
  padding: 12px 14px;
}

.wpcf7-response-output {
  display: none;
}

/* Стили для подложки */
.overlay {
  /* Скрываем подложку  */
  opacity: 0;
  visibility: hidden;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  z-index: 999;
  transition: 0.3s all;
}

/* Стили для модальных окон */
.modal {
  /* Скрываем окна  */
  opacity: 0;
  visibility: hidden;

  /*  Установаем ширину окна  */
  width: 90%;
  max-width: 450px;
  max-height: 90%;
  height: auto;
  /* overflow: auto; */

  /*  Центрируем и задаем z-index */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Должен быть выше чем у подложки*/

  /*  Побочные стили   */
  box-shadow: 0 3px 10px -0.5px rgba(0, 0, 0, 0.2);
  /*text-align: center;*/
  /*padding: 40px;*/
  /*border-radius: 24px;*/
  background: #ffffff;
  transition: 0.3s all;

  min-height: 600px;
}

/* Стили для активных классов подложки и окна */
.modal.active,
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Стили для кнопки закрытия */
.js-modal-close {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  right: 27px;
  top: 27px;
}

.form-title {
  display: block;
  color: var(--wd-title-color);
  font-weight: var(--wd-title-font-weight);
  font-family: var(--wd-title-font);
  font-size: 22px;
  margin-bottom: 10px;
}

.form-info {
  font-family: var(--wd-title-font);
  font-size: 16px;
  color: var(--wd-title-color);
}

.wpcf7-list-item-label {
  font-size: 12px;
}

.modal__cross {
  width: 15px;
  height: 15px;
  fill: #444;
}

.pupup-thanks__text {
  color: #282828;
  font-weight: 400;
  opacity: 0.8;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 0.926rem + 0.37vw, 1.25rem);
}

.pupup-thanks__title {
  font-weight: 600;
  color: var(--wd-title-color);
  font-size: clamp(1.25rem, 0.954rem + 1.48vw, 2.25rem);
}

.wpcf7-form-control-wrap:has(input[type="checkbox"]) {
  text-align: left;
}

/* blog */
.wd-post-share,
.wd-meta-reply,
.wd-post-cat,
.wd-sidebar-opener {
  display: none !important;
}

.elementor-post__text,
.wd-post-content {
  display: flex !important;
  flex-direction: column;
}

.wd-post.blog-style-bg .wd-post-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.elementor-post__text,
.wd-post-content {
  flex: 1 !important;
}

.wd-post-content {
  height: 100%;
}

.elementor-post__excerpt,
.wd-post-desc {
  flex: 1 !important;
}

.wd-blog-element .wd-post-inner {
  height: 100%;
}

.instagram {
  display: flex;
  justify-content: flex-start;
  position: relative;
  bottom: -50px;
  left: -50px;
}

/* Сброс стандартного оформления чекбокса */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  /* базовые стили для кастомного оформления */
}

/* Стили для состояния "отмечено" */
input[type="checkbox"]:checked {
  /* стили для выбранного состояния */
}

/* Стили для состояния "отключено" */
input[type="checkbox"]:disabled {
  /* стили для отключённого состояния */
}

/* Стилизация чекбокса */
input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid #08103d;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 0;
}

/* Оформление состояния checked */
input[type="checkbox"]:checked {
  background-color: #08103d;
  border-color: #08103d;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.instagram__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background-color: var(--e-global-color-d9ff685);*/
  width: fit-content;
  padding: 10px;

  background-image: url(./img/bg-instagram.svg);
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;

  width: 125px;
  height: 125px;
}

.instagram__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.instagram__wrapper {
  animation: instagram-rotate 20s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

.instagram__my-icon {
  width: 36px;
  display: block;
  animation: instagram-rotate-reverse 20s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

#breadcrumbs {
  color: #767676;
}

#breadcrumbs a {
  color: #767676;
}

.breadcrumb_last {
  color: #242424;
}

.swiper-pagination {
  bottom: -20px !important;
}

@keyframes instagram-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes instagram-rotate-reverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Адаптив: в одну колонку на планшетах/мобилках */
@media (max-width: 820px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-wrapper .form-row:last-child {
    grid-column: auto;
  }
}

@media (max-width: 769px) {
  selector {
    justify-content: center;
  }
}

/* Опционально: уменьшаем яркость placeholder, чтобы выглядел аккуратно */
.form-wrapper ::placeholder {
  color: #8d8d8d;
  opacity: 1;
}

.form-program ::placeholder {
  color: #fff;
  opacity: 1;
}

.recent-posts-comment {
  display: none;
}

.wd-nav[class*="wd-style-"]
  > li:is(.wd-has-children, .menu-item-has-children)
  > a:after {
  color: #000 !important;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .time_table_wrp {
    padding: 15px;
  }

  .table_wrp {
    display: none;
  }

  .mobile_tarif {
    display: block;
  }

  .t_table_list {
    margin-bottom: 15px;
  }

  .t_table_list li a {
    font-size: 14px;
  }

  .instagram {
    display: none;
  }
}

@media (max-width: 450px) {
  .mobile_ttle_taif_data {
    display: flex;
    flex-direction: column;
  }

  .mobile_ttle_taif_data span:first-child,
  .mobile_ttle_taif_data span:last-child {
    width: 100%;
    padding-left: 0;
  }

  .modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    max-width: none;
    max-height: none;
  }
}
