/* ========== УДАЛЕНИЕ КРЕСТИКОВ В КОРЗИНЕ (IMG версия) ========== */
.t706__product-del-wrapper img {
    display: none !important;
}

.t706__product-del-wrapper {
    display: none !important;
}

/* ========== ВАШИ СТИЛИ КОРЗИНЫ ========== */
.t706 .t-popup__bg,
.t706__cartwin-bg {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.t706 .t-popup__container,
.t706__cartwin-content {
    background-color: #0392FE !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    max-width: 480px;
}

@media screen and (max-width: 640px) {
    .t706 .t-popup__container,
    .t706__cartwin-content {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }
}

.t706__cartwin,
.t706__cartwin *:not(.t-submit):not(.t-submit span):not(.t-input):not(select):not(option):not(.t-input-phonemask__wrap):not(.t-input-phonemask__select):not(.t-input-phonemask__select-code){
    color: #ffffff !important;
}

.t706__cartwin .t-input-label,
.t706__cartwin .t-input-title {
    color: #ffffff !important;
}

.t706__cartwin select.t-input {
    color: #666666 !important;
    background-color: #ffffff !important;
}

.t706__cartwin select.t-input option {
    color: #333333 !important;
    background-color: #ffffff !important;
}

.t706__cartwin input::placeholder,
.t706__cartwin textarea::placeholder {
    color: #000 !important;
}

.t706__cartwin-prodamount,
.t706__cartwin-totalamount,
.t706__cartwin-prodamount-label,
.t706__cartwin-totalamount-label,
.t706__cartwin-prodamount-wrap,
.t706__cartwin-totalamount-wrap {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* ========== ВАШИ СТИЛИ ДЛЯ ОШИБОК В ФОРМЕ КОРЗИНЫ ========== */
.t706__cartwin .t-form__errorbox-wrapper,
.t706__cartwin .t-form__errorbox-text {
    background-color: #DC169A !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    border: none !important;
    padding: 12px 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(220, 22, 154, 0.2) !important;
    margin: 10px 0 !important;
}

.t706__cartwin .t-input-error,
.t706__cartwin .t-checkbox__error,
.t706__cartwin .t-radio__error {
    color: #DC169A !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.t706__cartwin .t-input.t-input_error {
    border-color: #DC169A !important;
    border-radius: 8px !important;
    box-shadow: 0 0 0 1px rgba(220, 22, 154, 0.2) !important;
}

.t706__cartwin .t-input__erroricon {
    background-color: #DC169A !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.t706__cartwin .t-input__erroricon:before {
    color: #ffffff !important;
}

/* ========== ВАШИ СТИЛИ ДЛЯ ПОЛЯ С ГАЛОЧКОЙ И ССЫЛКОЙ ========== */
#form1633635291 > div.t-form__inputsbox.t-form__inputsbox_inrow > div.t-input-group.t-input-group_cb > div.t-input-block > label > span {
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
    display: inline-block !important;
    width: 100% !important;
}

#form1633635291 > div.t-form__inputsbox.t-form__inputsbox_inrow > div.t-input-group.t-input-group_cb > div.t-input-block > label > span > a {
    text-decoration: underline !important;
    text-decoration-color: #ffffff !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    padding: 1px 2px !important;
}

#form1633635291 > div.t-form__inputsbox.t-form__inputsbox_inrow > div.t-input-group.t-input-group_cb > div.t-input-block > label > span > a:hover {
    text-decoration-color: #FFD700 !important;
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 3px !important;
}

.t-input-group_cb label span a {
    text-decoration: underline !important;
    text-decoration-color: #ffffff !important;
    font-weight: 600 !important;
}

.t-input-group_cb label span a:hover {
    text-decoration-color: #FFD700 !important;
}

/* ========== УБИРАЕМ ССЫЛКУ У НАЗВАНИЯ ТОВАРА В КОРЗИНЕ ========== */
.t706__product-title a,
.t706__product-title.t-descr.t-descr_sm a,
.t706__cartwin-products > div > div.t706__product-title a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

/* ========== ФОН САЙТА ========== */
body, .t-body {
    margin: 0;
    min-height: 100vh;
    background-image: url('https://static.tildacdn.com/tild3766-6639-4664-a635-333463376165/photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ========== БЕЛЫЙ ХЕДЕР ========== */
.t-header,
.t-header *,
header,
header * {
    background: #fff !important;
    position: relative !important;
    z-index: 10000 !important;
}

/* ========== ФОН КАРТОЧЕК ========== */
.t778__card,
.t-card,
.t778__content {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* ========== ИЗОБРАЖЕНИЯ В КАРТОЧКАХ ========== */
.t778__img,
.t-card__img,
.t778__card img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    position: relative !important;
}

/* ========== ЗАГОЛОВКИ БЛОКОВ ========== */
.t778__title {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ========== КНОПКИ ========== */
.t778__btn,
.t-card__btn,
.t-btn {
    background: #0392FE !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    display: inline-block !important;
    border: none !important;
    font-weight: 600 !important;
}

/* ========== УДАЛЕНИЕ БЕЛЫХ ПРЯМОУГОЛЬНИКОВ В БЛОКАХ ========== */
#rec1633756701 > div.t778 > div.t-section__container.t-container.t-container_flex > div > div,
#rec1654227851 > div.t778 > div.t-section__container.t-container.t-container_flex > div > div {
    background: transparent !important;
    background-color: transparent !important;
}

/* ========== ПОЛНОЕ УДАЛЕНИЕ БЕЛОЙ ПЛАШКИ НАД ХЕДЕРОМ ========== */
#rec1562535481 {
    display: none !important;
}

/* ========== ОТСТУПЫ ОТ ХЕДЕРА (УМЕРЕННЫЕ) ========== */

/* Для страницы Расписание и Фотографии с игр */
#rec1633756701,
#rec1654227851 {
    margin-top: 80px !important;   /* Было 220px — уменьшили */
    padding-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Убираем защитные псевдоэлементы, они больше не нужны */
#rec1633756701::before,
#rec1654227851::before {
    display: none !important;
}

/* Убеждаемся, что хедер всегда сверху */
.t-header,
.t-header *,
header,
header * {
    z-index: 10000 !important;
}

/* ========== ИСПРАВЛЕНИЕ МОБИЛЬНОЙ ВЕРСИИ (БЕЛЫЙ БЛОК В НАЧАЛЕ) ========== */

/* Скрываем проблемные блоки только на мобильных */
@media screen and (max-width: 640px) {
    #rec1594077071,
    #rec1579415871,
    #rec1579415871 > div,
    #rec1579415871 > div > div,
    #rec1579415871 .t396__carrier {
        display: none !important;
    }
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media screen and (max-width: 640px) {
    .t778__title {
        font-size: 32px !important;
        padding: 10px 20px !important;
    }
    
    .t778__card,
    .t-card,
    .t778__content {
        padding: 15px !important;
    }
    
    #rec1633756701,
    #rec1654227851 {
        margin-top: 60px !important;   /* Немного меньше на мобильных */
    }
}