table, table td, table th {
    border-color: #25180e !important;
    border: 1px solid #25180e !important;
}

/* ===================== ST100 — КОРЗИНА (ЧИСТЫЙ код по задачам) ===================== */
/* Фон окна корзины */
.t706__cartwin,
.t706__cartwin-content,
.t706__cartwin-products,
.t706__cartwin-bottom,
.t706__cartwin-top,
.t706__cartwin-delivery,
.t706__cartwin-orderform__wrap {
  background-color: #19120F !important;
}

/* Заголовок попапа */
.t706__cartwin .t706__cartwin-heading,
.t706__cartwin .t-popup__title,
.t706__cartwin h2,
.t706__cartwin .t-heading {
  color: #FED937 !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

/* Название товара */
.t706__cartwin .t706__product-title {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Цифра количества товара */
.t706__cartwin .t706__product-quantity {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* ===================== СТИЛИ ДЛЯ ИКОНОК КОРЗИНЫ ===================== */

/* Иконки + и - (уже есть в вашем коде, но добавляем для крестика) */
.t706__cartwin .t706__product-plus img,
.t706__cartwin .t706__product-minus img {
    filter: invert(84%) sepia(0%) saturate(121%) hue-rotate(201deg) brightness(87%) contrast(84%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Крестик удаления товара */
.t706__cartwin .t706__product-remove img {
    filter: invert(84%) sepia(0%) saturate(121%) hue-rotate(201deg) brightness(87%) contrast(84%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Перебиваем все возможные состояния наведения для всех иконок */
.t706__cartwin .t706__product-plus img:hover,
.t706__cartwin .t706__product-minus img:hover,
.t706__cartwin .t706__product-remove img:hover,
.t706__cartwin .t706__product-plus img:active, 
.t706__cartwin .t706__product-minus img:active,
.t706__cartwin .t706__product-remove img:active,
.t706__cartwin .t706__product-plus img:focus,
.t706__cartwin .t706__product-minus img:focus,
.t706__cartwin .t706__product-remove img:focus {
    filter: invert(84%) sepia(0%) saturate(121%) hue-rotate(201deg) brightness(87%) contrast(84%) !important;
    opacity: 1 !important;
}

/* Альтернативный вариант - если через filter не работает */
.t706__cartwin .t706__product-remove svg path,
.t706__cartwin .t706__product-plus svg path,
.t706__cartwin .t706__product-minus svg path {
    stroke: #D4D4D4 !important;
    fill: #D4D4D4 !important;
}


/* Цифры стоимости товара (задача: должны быть #FED937) */
.t706__cartwin .t706__product-price .t706__price {
    color: #FED937 !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

/* 3. ДОПОЛНИТЕЛЬНО: СКРЫТЬ ИТОГОВУЮ СУММУ */
.t706__cartwin-totalamount-wrap {
  display: none !important;
}

/* Обозначение валюты (р., руб.) (задача: должны быть #D4D4D4) */
.t706__cartwin .t706__price-currency {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Цифры суммы и итоговой суммы (задача: должны быть #FED937) */
.t706__cartwin .t706__cartwin-prodamount,
.t706__cartwin .t706__cartwin-totalamount {
  color: #FED937 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Текст "Сумма", "Итоговая сумма" */
.t706__cartwin .t706__cartwin-prodamount-label,
.t706__cartwin .t706__cartwin-totalamount-label {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Сообщение "Корзина пуста" */
.t706__cartwin-empty,
.t706__cartwin-empty-text {
    color: #D4D4D4 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}


/* ===================== QZ101 — КВИЗ (калькулятор) ===================== */
/* Итоговые цифры калькулятора */
.t-calc {
    color: #FED937 !important;
    font-size: 32px !important;
    font-weight: 500 !important;
}
/* Текст "руб." рядом */
.t-calc__postfix-text {
    color: #D4D4D4 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
}

/* ===================== QZ101 — КВИЗ (исправление фона полей) ===================== */
/* ФОН для вариантов ответа */
.t-radio__wrapper_button .t-radio__item,
.t-radio__control {
    background-color: #19120F !important;
    border: 1px solid #D4D4D4 !important;
    border-radius: 4px !important;
}

/* ЦВЕТ ТЕКСТА в вариантах ответа */
.t-radio__item,
.t-radio__control,
.t-radio__item span {
    color: #D4D4D4 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* СТИЛИ для выбранных вариантов */
.t-radio input:checked + .t-radio__indicator {
    background-color: #FED937 !important;
    border-color: #FED937 !important;
}

/* Обводка для выбранного варианта */
.t-radio input:checked ~ span {
    color: #FED937 !important;
}


/* ===================== ST510 #rec1252854751 — кастом чекбоксы (2 колонки) ===================== */
/* Заголовки параметров */
#rec1252854751 .t-input__title,
#rec1252854751 .t-product__option-title {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* Стили и сетка для кастомных чекбоксов */
#rec1252854751 .custom-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 18px;
  margin: 8px 0 0 0;
}
#rec1252854751 .custom-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #D4D4D4 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  user-select: none;
  line-height: 1;
}

/* Скрываем реальный чекбокс но оставляем доступность */
#rec1252854751 .custom-option-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

/* Индикатор (рамка) */
#rec1252854751 .custom-option-indicator {
  width: 18px;
  height: 18px;
  border: 1px solid #FED937;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

/* Галочка (псевдо) */
#rec1252854751 .custom-option-indicator::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

/* Показываем галочку, когда input:checked */
#rec1252854751 .custom-option-label input[type="checkbox"]:checked + .custom-option-indicator::after {
  border-color: #FED937;
  display: block;
}

/* Совместимость: если tilda ставит свои .t-checkbox__indicator, не мешаем им */
#rec1252854751 .t-checkbox__indicator { display: none !important; }

/* ===================== BF502N #rec1268696431 — стили вопросов ===================== */
#rec1268696431 .t-radio__title,
#rec1268696431 .t-checkbox__title {
  color: #D4D4D4 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}
#rec1268696431 .t-input__title {
  color: #D4D4D4 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}

/* ===================== BF308N — стилизация галочки в чекбоксах ===================== */
#rec1338374491 .t-checkbox__indicator::after {
  border-color: #FED937 !important;
}

/* НИЧЕГО ЛИШНЕГО: остальное пусть управляется штатно Tilda */

