/* ========================================
    ФИНАЛЬНЫЙ КОД: ПРОЗРАЧНЫЙ ФОН + ИСПРАВЛЕННЫЕ КНОПКИ
   ======================================== */

:root {
  --orange-main: #FF8C00;
  --orange-light: #FFB347;
  --yellow-main: #FFD700;
  --yellow-light: #FFE55E;
  --bg-light: #FFF8E1; /* Единый цвет фона сайта */
  --text-dark: #212121;
}

/* === ЕДИНЫЙ ФОН И ТЕКСТ === */
body, .t-body {
  background-color: var(--bg-light) !important;
  color: var(--text-dark) !important;
}
h1, h2, h3, h4, h5, h6, .t-title, .t-heading {
  color: var(--orange-main) !important;
}
.t-text, .t-descr, p, li, span.t-name {
  color: var(--text-dark) !important;
}

/* === ССЫЛКИ === */
a, .t-link {
  color: var(--orange-main) !important;
  transition: 0.3s;
}
a:hover { color: var(--yellow-main) !important; }

/* === БЛОКИ СТАЛИ ПРОЗРАЧНЫМИ (СЛИВАЮТСЯ С ФОНОМ) === */
.t-section, .t-col, .t-block, .t-card, .t-container, .t-col__content, .t-cover__filter {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* === ШАПКА И МЕНЮ === */
.t-header, .t-menu__bg {
  background: linear-gradient(90deg, var(--orange-main), var(--yellow-main)) !important;
}
.t-menu__link { color: #000000 !important; font-weight: 600 !important; }

/* === ПОДВАЛ === */
.t-footer {
  background: linear-gradient(90deg, var(--orange-main), var(--orange-light)) !important;
  color: #000000 !important;
}
.t-footer a { color: #000000 !important; }

/* === ПОЛЯ ВВОДА (ПОЛУПРОЗРАЧНЫЕ) === */
input, textarea, select {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid var(--orange-light) !important;
  border-radius: 10px !important;
}

/* === КНОПКИ (ИСПРАВЛЕНО: НИКОГДА НЕ МЕНЯЮТ ЦВЕТ) === */
.t-btn, .t-submit, button, .t-form__button,
.t-btn:hover, .t-submit:hover, button:hover,
.t-btn:active, .t-submit:active, button:active,
.t-btn:focus, .t-submit:focus, button:focus {
  background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%) !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  cursor: pointer !important;
}
.t-btn__text {
  color: #000000 !important;
}
/* Кнопка при отправке формы */
.t-btn._processing, .t-submit._processing {
  background: #FFD700 !important;
  opacity: 0.9 !important;
}

/* === ИКОНКИ И ДЕТАЛИ === */
.t-icon svg, .t-icon img {
  fill: var(--orange-main) !important;
  stroke: var(--orange-main) !important;
}
.t-price, .price, .t-badge, .t-tag {
  color: var(--orange-main) !important;
  font-weight: 700 !important;
}





/* CSS-страховка с максимальной специфичностью */
body.internal-fix-bg { background: #FFF8E1 !important; }

.t674,
.t-record[data-record-type="674"],
.cr01,
.t-record[data-record-type="01"],
.t674 .t-cover__carrier,
.t674 .t-bgimg,
.t674 .t-section__bg,
.cr01 .t-slds,
.cr01 .t-slds__container,
.cr01 .t-cover__carrier,
.cr01 .t-bgimg,
[data-bg-color],
[data-tilda-bg] {
    background: #FFF8E1 !important;
    background-image: none !important;
    background-color: #FFF8E1 !important;
}

/* Защита изображений */
.t674 img, .cr01 img, .t-slds__img, .t-product__img {
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Исключения */
.t-header, .t-menu__bg, .t-footer {
    background: initial !important;
    background-image: initial !important;
}

