/* ============================================================
   ТЁМНАЯ КОРЗИНА ТИЛЬДЫ · byedinorog.pro
   Вставлять сюда, в поле «Пользовательские CSS-стили»
   (Настройки сайта → Вставка кода → Редактировать CSS).
   Без тегов  — это поле принимает чистый CSS.
   ============================================================ */

/* ── подложка и окно ── */
.t706__cartwin {
  background: rgba(8,8,10,.86) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.t706__cartwin-content {
  background: #101014 !important;
  border: 1px solid rgba(237,234,228,.09) !important;
  border-radius: 22px !important;
  color: #EDEAE4 !important;
}

/* ── заголовок «Ваш заказ» ── */
.t706__cartwin-heading,
.t706__cartwin-heading font {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: #EDEAE4 !important;
}

/* ── товары ── */
.t706__cartwin-products { border-color: rgba(237,234,228,.09) !important; }
.t706__product { border-color: rgba(237,234,228,.09) !important; }
.t706__product-title,
.t706__product-title a,
.t706__product-title font {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #EDEAE4 !important;
}
.t706__product-amount,
.t706__product-amount font,
.t706__product-quantity,
.t706__cartwin-prodamount,
.t706__cartwin-prodamount-price,
.t706__cartwin-prodamount-currency {
  font-family: 'Montserrat', sans-serif !important;
  color: #EDEAE4 !important;
}
.t706__product-plus svg path,
.t706__product-minus svg path,
.t706__product-del svg path,
.t706__product-plus svg circle,
.t706__product-minus svg circle,
.t706__product-del svg circle {
  stroke: #77736D !important;
}
.t706__product-plus:hover svg path,
.t706__product-minus:hover svg path,
.t706__product-del:hover svg path { stroke: #EDEAE4 !important; }

/* ── сумма (обе версии: промежуточная под товарами и финальная у кнопки) ── */
.t706__cartwin-totalamount-wrap,
.t706__cartwin-totalamount-wrap *,
.t706__cartwin-totalamount,
.t706__cartwin-totalamount-label,
.t706__cartwin-totalamount font,
.t706__cartwin-prodamount-wrap,
.t706__cartwin-prodamount-wrap *,
.t706__cartwin-prodamount-label,
.t706__cartwin-prodamount-price,
.t706__cartwin-prodamount-currency {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 700 !important;
  color: #EDEAE4 !important;
}

/* ── форма: подписи ── */
.t706 .t-input-title,
.t706 .t-input-subtitle,
.t706 .t-input-title font {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
  color: #EDEAE4 !important;
}

/* ── форма: поля ── */
.t706 .t-input,
.t706 .t-input-phonemask__wrap,
.t706 input.t-input,
.t706 textarea.t-input {
  font-family: 'Montserrat', sans-serif !important;
  background-color: #08080A !important;
  color: #EDEAE4 !important;
  border: 1px solid rgba(237,234,228,.18) !important;
  border-radius: 12px !important;
}
.t706 .t-input,
.t706 input.t-input,
.t706 textarea.t-input {
  /* текст в полях всегда светлый, чем бы его ни красила Тильда */
  color: #EDEAE4 !important;
  -webkit-text-fill-color: #EDEAE4 !important;
  caret-color: #EDEAE4 !important;
}
.t706 .t-input::placeholder { color: #77736D !important; opacity: 1; }
.t706 .t-input:focus { border-color: #2D5874 !important; }
/* автозаполнение Safari/Chrome: не даём залить поле белым/жёлтым */
.t706 .t-input:-webkit-autofill,
.t706 .t-input:-webkit-autofill:hover,
.t706 .t-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #08080A inset !important;
  -webkit-text-fill-color: #EDEAE4 !important;
  border: 1px solid rgba(237,234,228,.18) !important;
}
.t706 .t-input-phonemask__select-arrow svg path { fill: #77736D !important; }
.t706 .t-input-phonemask__select-code { color: #EDEAE4 !important; }

/* ── поле телефона с флагом — отдельный виджет Тильды,
   в настройках блока цвет текста для него не выведен, поэтому
   бьём по всем известным вариантам класса + запасной type="tel" ── */
.t706 .t-input-phonemask__input,
.t706 .t-input-group_ph input,
.t706 .t-input-group_ph .t-input,
.t706 input[type="tel"] {
  color: #EDEAE4 !important;
  -webkit-text-fill-color: #EDEAE4 !important;
  background-color: #08080A !important;
  caret-color: #EDEAE4 !important;
}
.t706 .t-input-phonemask__input::placeholder,
.t706 input[type="tel"]::placeholder {
  color: #77736D !important;
  -webkit-text-fill-color: #77736D !important;
  opacity: 1;
}

/* ── чекбоксы согласий ── */
.t706 .t-checkbox__indicator {
  background: #08080A !important;
  border: 1px solid rgba(237,234,228,.28) !important;
  border-radius: 6px !important;
}
.t706 .t-checkbox__control:hover .t-checkbox__indicator { border-color: #EDEAE4 !important; }
.t706 input:checked + .t-checkbox__indicator { background: #AF2132 !important; border-color: #AF2132 !important; }
.t706 .t-checkbox__control,
.t706 .t-checkbox__control a,
.t706 .t-checkboxes__label {
  font-family: 'Montserrat', sans-serif !important;
  color: #77736D !important;
}
.t706 .t-checkbox__control a { color: #B693A4 !important; text-decoration: underline; }

/* ── кнопка оплаты ── */
.t706 .t-submit,
.t706 .t-btn {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: linear-gradient(100deg, #2D5874, #AF2132 45%, #B693A4) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.t706 .t-submit:hover,
.t706 .t-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(175,33,50,.35);
}

/* ── крестик закрытия ── */
.t706__cartwin-close svg path,
.t706__cartwin-close svg line,
.t706__cartwin-close-text { stroke: #EDEAE4 !important; color: #EDEAE4 !important; }
.t706__cartwin-close { opacity: .7; transition: opacity .3s; }
.t706__cartwin-close:hover { opacity: 1; }

/* ── ошибки валидации ── */
.t706 .t-input-error {
  font-family: 'Montserrat', sans-serif !important;
  color: #AF2132 !important;
}
.t706 .t-input.js-error-control-box { border-color: #AF2132 !important; }

/* ── мобильная нижняя плашка корзины, если включена ── */
.t706__carticon,
.t706__carticon-imgwrap { filter: none; }
.t706__carticon-counter {
  background: #AF2132 !important;
  font-family: 'Montserrat', sans-serif !important;
}