.t-img-select__indicator {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.t-img-select__indicator:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

/* Меню поверх всего */
#rec1333650291,
#rec1333643561,
#rec1333570871,
#rec1333645291,
#rec1333661451,
#rec1333589991,
#rec1333746711,
#rec1333748301,
#rec1333748941,
#rec1333752381 {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Убедись, что выше других блоков */
}

/* Чтобы остальной контент не сдвигался */
body.t-body_opened {
  overflow: hidden;
}

/* Дополнительно: убираем сдвиг контента, если он вдруг появляется */
#rec1097347951 + .t-record {
  margin-top: 0 !important;
}

html, body {
  overflow-x: hidden !important;
}
.t-records {
  overflow-x: hidden !important;
}

@media screen and (max-width: 640px) {
  #rec1078109701 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Автоматическая высота для квиза */
.t-quiz__quiz-wrapper {
    height: auto !important;
}





  .calculator-container {
    background-color: #f7f7f7;
    padding: 20px 0;
  }

  .calculator-table {
    width: 1160px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
  }

  @media (max-width: 1160px) {
    .calculator-container {
      padding-left: 20px;
    }
    .calculator-table {
      width: 100%;
      overflow-x: auto;
    }
    .calculator-table table {
      min-width: 1160px;
    }
  }

  .calculator-table table {
    width: 100%;
    border-collapse: collapse;
  }

  .calculator-table th,
  .calculator-table td {
    padding: 24px 32px;
    text-align: center;
    font-size: 16px;
    color: #000000;
    border: 1px solid #e8e8e8;
  }

  .calculator-table th {
    font-weight: 600;
    background-color: #FFFFFF;
    color: #000000;
  }

  .calculator-table th:first-child {
    text-align: left;
    font-weight: 600 !important;
  }

  .calculator-table th:first-child,
  .calculator-table th:not(:first-child) {
    font-size: 20px;
  }

  .calculator-table td:first-child,
  .calculator-table th:first-child {
    text-align: left;
    font-weight: 400;
    color: #000000;
    width: 20%;
    max-width: 180px;
  }

  .calculator-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007BFF;
  }

  .calculator-table input[type="number"] {
    width: 60px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    -webkit-appearance: none; /* Убираем стандартный вид */
    -moz-appearance: textfield; /* Для Firefox */
  }

  .calculator-table input[type="number"]::-webkit-inner-spin-button,
  .calculator-table input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .places-row td,
  .total-row td {
    font-weight: 400;
    color: #000000;
  }

  .total-row td:first-child {
    color: #000000;
    font-weight: 600;
  }

  .calculator-table td:not(:first-child):not(:nth-child(5)):not(.total-row .total),
  .total-row .total {
    font-weight: 600;
  }

  .total-row .total {
    font-size: 20px;
  }

  .calculator-table td:nth-child(n+2):nth-child(-n+5) span {
    font-size: 16px;
  }



#rec1361890811 .t-form__title,
#rec1361890811 .t-input-group__title-container,
#rec1361890811 .t-input-title,
#rec1363326921 .t-form__title,
#rec1363326921 .t-input-group__title-container,
#rec1363326921 .t-input-title,
#rec1363367011 .t-form__title,
#rec1363367011 .t-input-group__title-container,
#rec1363367011 .t-input-title,
#rec1363375661 .t-form__title,
#rec1363375661 .t-input-group__title-container,
#rec1363375661 .t-input-title {
    font-size: 14px !important; /* Размер лейблов над инпутами */
    line-height: 1.2 !important; /* Опционально: уменьшить межстрочный интервал для компактности */
}
