/* Ускоряем анимацию подменю T966 */
.t966__tooltip-menu {
    transition: opacity 0.05s ease, visibility 0.05s ease !important;
    transition-delay: 0s !important;
}

.t966__content {
    transition: opacity 0.05s ease !important;
    transition-delay: 0s !important;
}

.t966__tooltip-menu * {
    transition-delay: 0s !important;
}

/* Скрываем подменю по умолчанию, чтобы не было мерцания */
.t966__tooltip-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Экстренное закрытие — перебивает любые анимации Tilda */
.t966__tooltip-menu[style*="visibility: hidden"] {
    display: none !important;
}

/* Уменьшаем отступы между пунктами меню (чтобы все влезало) */
#rec3274695701 .t1261__list-item {
    padding-left: 0px !important;
    padding-right: 10px !important;
}

/* Отступы у ссылок — БЕЗ font-size, чтобы можно было менять в редакторе */
#rec3274695701 .t1261__link-item {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* Уменьшаем стрелку подменю */
#rec3274695701 .t1261__link-item .t-menu__submenu-icon {
    margin-left: 4px !important;
    width: 14px !important;
    height: 14px !important;
}

/* Адаптив для узких экранов — переносим меню на следующую строку */
@media screen and (max-width: 1200px) {
    #rec3274695701 .t1261__menu-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    #rec3274695701 .t1261__list-item {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media screen and (max-width: 992px) {
    #rec3274695701 .t1261__list-item {
        padding-left: 0px !important;
        padding-right: 6px !important;
    }
}

/* Если стрелка мешает — можно скрыть */
/*
#rec3274695701 .t1261__link-item .t-menu__submenu-icon {
    display: none !important;
}
*/
/* ============================================================ */
/* ===== КОРЗИНА ST100 (#rec3468063701) — ПОЛНЫЙ КОД ===== */
/* ============================================================ */

/* === ОВЕРЛЕЙ (фон за корзиной) — ЗАТЕМНЕНИЕ, БЕЗ РАЗМЫТИЯ === */
#rec3468063701 .t706__cartwin {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* === ПАНЕЛЬ КОРЗИНЫ — тёмный фон, БЕЗ рамки === */
#rec3468063701 .t706__cartwin-content {
    background-color: #1a2026 !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
    padding: 32px !important;
}

/* === ВЕСЬ ТЕКСТ ЗОЛОТОЙ по умолчанию (кроме кнопки "Приобрести") === */
#rec3468063701 .t706__cartwin-content *:not(.t-submit):not(.t-submit *) {
    color: #ffd600 !important;
}

/* === ВНУТРЕННИЕ БЛОКИ — прозрачные (не перекрывают тёмный фон) === */
#rec3468063701 .t706__cartwin-top,
#rec3468063701 .t706__cartwin-bottom,
#rec3468063701 .t706__cartwin-prodamount-wrap,
#rec3468063701 .t706__cartwin-totalamount-wrap,
#rec3468063701 .t706__orderform,
#rec3468063701 .t-form__inputsbox,
#rec3468063701 .t-input-group,
#rec3468063701 .t-input-block {
    background-color: transparent !important;
}

/* === ЗОЛОТЫЕ ПОЛОСЫ НАД И ПОД СПИСКОМ ТОВАРОВ (1px) === */
#rec3468063701 .t706__cartwin-products {
    background-color: transparent !important;
    border-top: 1px solid #ffd600 !important;
    border-bottom: 1px solid #ffd600 !important;
    padding: 16px 0 !important;
}

/* === ЗАГОЛОВОК "Ваш заказ:" — золотой === */
#rec3468063701 .t706__cartwin-heading {
    color: #ffd600 !important;
    font-weight: 700 !important;
}

/* === НАЗВАНИЕ ТОВАРА — БЕЛОЕ (повышенная специфичность) === */
#rec3468063701 .t706__cartwin-content .t706__cartwin-products .t706__product-title:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-products .t706__product-title a:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-products .t706__product-title a:link:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-products .t706__product-title a:visited:not(.t-submit) {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* === ЦЕНА И ВАЛЮТА ОТДЕЛЬНОГО ТОВАРА — ЗОЛОТЫЕ === */
#rec3468063701 .t706__cartwin-content .t706__product-amount .t706__cartwin-prodamount-price:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__product-amount .t706__cartwin-prodamount-currency:not(.t-submit) {
    color: #ffd600 !important;
}

/* === КОЛИЧЕСТВО ТОВАРА — золотое === */
#rec3468063701 .t706__product-quantity {
    color: #ffd600 !important;
}

/* === ОБЩАЯ СУММА ВНИЗУ — БЕЛАЯ (повышенная специфичность) === */
#rec3468063701 .t706__cartwin-content .t706__cartwin-bottom .t706__cartwin-prodamount-label:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-bottom .t706__cartwin-prodamount:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-bottom .t706__cartwin-prodamount .t706__cartwin-prodamount-price:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__cartwin-bottom .t706__cartwin-prodamount .t706__cartwin-prodamount-currency:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__orderform .t706__cartwin-totalamount-label:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__orderform .t706__cartwin-totalamount:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__orderform .t706__cartwin-totalamount .t706__cartwin-prodamount-price:not(.t-submit),
#rec3468063701 .t706__cartwin-content .t706__orderform .t706__cartwin-totalamount .t706__cartwin-prodamount-currency:not(.t-submit) {
    color: #ffffff !important;
}

/* === ЛЕЙБЛЫ ПОЛЕЙ — золотые === */
#rec3468063701 .t-input-title {
    color: #ffd600 !important;
}

/* === ПОЛЯ ВВОДА — белый текст при вводе, тёмный фон === */
/* Рамки (border) НЕ переопределяем — они настроены в Тильде */
#rec3468063701 .t-input,
#rec3468063701 .t-input-phonemask__wrap,
#rec3468063701 .t-input-phonemask,
#rec3468063701 .t-input-phonemask__select-code,
#rec3468063701 .t-input-phonemask__select {
    color: #ffffff !important;
    background-color: #2a2e33 !important;
    border-radius: 10px !important;
}

/* === ПЛЕЙСХОЛДЕРЫ — серые (чтобы отличать от введённого текста) === */
#rec3468063701 input::-webkit-input-placeholder,
#rec3468063701 input::-moz-placeholder,
#rec3468063701 input:-ms-input-placeholder,
#rec3468063701 textarea::-webkit-input-placeholder,
#rec3468063701 textarea::-moz-placeholder,
#rec3468063701 textarea:-ms-input-placeholder {
    color: #8a929a !important;
    opacity: 0.6 !important;
}

/* === КНОПКА ЗАКРЫТЬ (крестик) — золотая === */
#rec3468063701 .t706__close-button {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #ffd600 !important;
    border-radius: 50% !important;
}
#rec3468063701 .t706__close-icon g {
    fill: #ffd600 !important;
}

/* === ИКОНКИ +/- и УДАЛИТЬ — золотые через фильтр === */
#rec3468063701 .t706__product-plus img,
#rec3468063701 .t706__product-minus img,
#rec3468063701 .t706__product-del img {
    filter: invert(79%) sepia(56%) saturate(1200%) hue-rotate(2deg) brightness(103%) contrast(103%) !important;
}

/* === СООБЩЕНИЯ ОБ УСПЕХЕ / ОШИБКАХ === */
#rec3468063701 .t-form__successbox {
    background: rgba(255, 214, 0, 0.08) !important;
    border: 1px solid #ffd600 !important;
    color: #ffd600 !important;
    border-radius: 16px !important;
}
#rec3468063701 .t-form__errorbox-wrapper {
    background: rgba(255, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    color: #ff6b6b !important;
    border-radius: 16px !important;
}

/* === АДАПТИВ === */
@media (max-width: 640px) {
    #rec3468063701 .t706__cartwin-content {
        padding: 20px !important;
        border-radius: 12px !important;
    }
}