/* Скрываем нативный input, но он остаётся в DOM — форма работает */
.t-checkbox__control input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Стилизуем визуальный блок-индикатор Тильды */
.t-checkbox__indicator {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 8px !important;
  border: 1.5px solid #D0D4EE !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-sizing: border-box !important;
  transition: background 0.15s, border-color 0.15s !important;
  flex-shrink: 0;
}

/* Состояние: чекбокс отмечен */
.t-checkbox__control input[type="checkbox"]:checked ~ .t-checkbox__indicator {
  background-color: #4A5CE8 !important;
  border-color: #4A5CE8 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 4L13 5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}

/* Ховер */
.t-checkbox__control:hover .t-checkbox__indicator {
  border-color: #4A5CE8 !important;
}