.t-popup,
.t-popup__container,
.t706__cartwin-content {
  background-color: #212023 !important;
}

/* Поп-ап успешной отправки формы */
.t-form__successbox {
  background-color: #9CD0FF !important;
  color: #212023 !important;
}

/* Текст внутри success-поп-апа */
.t-form__successbox *,
.t-form__successbox div,
.t-form__successbox p {
  color: #212023 !important;
}

/* =========================
   ME405 — боковое меню
   ========================= */

/* 1. Весь popup меню */
.uc-menu405.t-popup {
  justify-content: flex-end !important;
}

/* 2. Створка меню: ширина + отступ от правого края */
.uc-menu405 .t-popup__container {
  position: fixed !important;
  right: 48px !important;          /* ВОТ ТОТ САМЫЙ ОТСТУП ОТ КРАЯ */
  left: auto !important;

  width: 620px !important;         /* ширина створки */
  max-width: calc(100vw - 96px) !important;

  box-sizing: border-box;
}

/* 3. Внутренние отступы, чтобы текст не лип */
.uc-menu405 .t-popup__content {
  padding: 64px 56px !important;
  box-sizing: border-box;
}

/* 4. Пункты меню — в одну строку */
.uc-menu405 .t-menu__list a {
  white-space: nowrap !important;
}

/* 5. Воздух между пунктами */
.uc-menu405 .t-menu__list li {
  margin-bottom: 24px;
}


/* =========================
   Корзина — цвет текста
   ========================= */

/* Название товара */
.t706__product-title,
.t706__product-title a {
  color: #9CD0FF !important;
}

/* Цена товара */
.t706__product-amount,
.t706__product-price {
  color: #9CD0FF !important;
}

/* Сумма и итог */
.t706__cart-sum,
.t706__cart-sum-text,
.t706__cart-total,
.t706__cart-total-text {
  color: #9CD0FF !important;
}

/* Текст "Итого", "Сумма" */
.t706__cart-title,
.t706__cart-title-text {
  color: #9CD0FF !important;
}

/* =========================
   Корзина — цены и иконки
   ========================= */

/* Цена товара (справа) */
.t706__product-price,
.t706__product-amount {
  color: #9CD0FF !important;
  font-weight: 600;
}

/* Сумма / Итоговая сумма */
.t706__cart-sum,
.t706__cart-total,
.t706__cart-sum-text,
.t706__cart-total-text {
  color: #9CD0FF !important;
  font-weight: 600;
}

/* Крестик удаления товара */
.t706__product-del {
  color: #9CD0FF !important;
  border-color: #9CD0FF !important;
}

/* Иконка крестика (SVG внутри) */
.t706__product-del svg,
.t706__product-del path {
  fill: #9CD0FF !important;
  stroke: #9CD0FF !important;
}

/* Иконки +/- (если есть количество) */
.t706__quantity-minus,
.t706__quantity-plus {
  color: #9CD0FF !important;
  border-color: #9CD0FF !important;
}

/* =========================
   Корзина Tilda (t706) — форсим цвет всех текстов в окне
   ========================= */

/* Красим весь текст в попапе корзины, но не трогаем поля и кнопки */
.t706 .t706__cartwin *:not(input):not(textarea):not(button):not(select) {
  color: #9CD0FF !important;
}

/* На всякий: цены/суммы (часто у них свои классы) */
.t706 .t706__cartwin [class*="price"],
.t706 .t706__cartwin [class*="amount"],
.t706 .t706__cartwin [class*="sum"],
.t706 .t706__cartwin [class*="total"] {
  color: #9CD0FF !important;
}

/* Крестик удаления (иконка может быть svg/псевдоэлементом) */
.t706 .t706__cartwin .t706__product-del,
.t706 .t706__cartwin .t706__product-del * {
  color: #9CD0FF !important;
  fill: #9CD0FF !important;
  stroke: #9CD0FF !important;
}

/* =========================
   Success-попап формы — вернуть тёмный текст
   ========================= */

.t-popup .t-form__successbox,
.t-popup .t-form__successbox * {
  color: #212023 !important;
}


/* =========================
   Поиск (popup) — тёмный фон
   ========================= */

/* Фон области результатов поиска */
.t-search-widget__content,
.t-search-widget__results,
.t-search-widget__notfound {
  background-color: #212023 !important;
}

/* Текст "Ничего не найдено" */
.t-search-widget__notfound,
.t-search-widget__notfound * {
  color: #9CD0FF !important;
}

/* Карточки результатов (если есть) */
.t-search-widget__item,
.t-search-widget__item * {
  color: #9CD0FF !important;
}

/* Иконка и вспомогательный текст */
.t-search-widget svg,
.t-search-widget path {
  stroke: #9CD0FF !important;
  fill: #9CD0FF !important;
}

/* =========================
   Tilda Search — full screen dark (ультра-оверрайд)
   ========================= */

/* 1) Если у Тильды есть класс "поиск открыт" — затемняем фон страницы */
html.t-site-search-open,
body.t-site-search-open,
html.t-search-open,
body.t-search-open,
html.t-search-widget-open,
body.t-search-widget-open {
  background: #212023 !important;
}

/* 2) Подложка/обёртка поиска — делаем реально fullscreen */
.t-search-widget,
.t-site-search,
.t-search,
[class*="t-search"][class*="wrap"],
[class*="t-search"][class*="overlay"],
[class*="t-search"][class*="popup"],
[class*="t-site-search"] {
  background: #212023 !important;
}

/* 3) Частая причина "белого поля": обёртка не растянута на высоту */
.t-search-widget,
.t-site-search,
.t-search,
[class*="t-search"][class*="wrap"],
[class*="t-site-search"] {
  min-height: 100vh !important;
}

/* 4) Если белое — это именно фиксированный слой, принудительно фиксируем его */
.t-search-widget__wrap,
.t-search-widget__overlay,
.t-site-search__wrap,
.t-site-search__overlay,
.t-search__wrap,
.t-search__overlay,
[class*="t-search"][class*="overlay"],
[class*="t-search"][class*="wrap"] {
  position: fixed !important;
  inset: 0 !important; /* top/right/bottom/left: 0 */
  background: #212023 !important;
}

/* 5) Текст/иконки внутри поиска */
.t-search-widget *,
.t-site-search *,
.t-search *,
[class*="t-search"] * {
  color: #9CD0FF !important;
}

.t-search-widget svg, .t-search-widget path,
.t-site-search svg, .t-site-search path,
.t-search svg, .t-search path {
  fill: #9CD0FF !important;
  stroke: #9CD0FF !important;
}





