/* ================================================= */
/* КОРЗИНА + ИЗБРАННОЕ */
/* ================================================= */

/* Большой десктоп — от 1201px */
@media screen and (min-width: 1201px) {

    /* Избранное */
    .t1002__wishlisticon {
        top: 250px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    /* Корзина */
    .t706__carticon {
        top: 345px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* Небольшой десктоп — 981–1200px */
/* ================================================= */

@media screen and (min-width: 981px) and (max-width: 1200px) {

    .t1002__wishlisticon {
        top: 380px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .t706__carticon {
        top: 495px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* Планшет / маленький экран — 641–980px */
/* ================================================= */

@media screen and (min-width: 641px) and (max-width: 980px) {

    .t1002__wishlisticon {
        top: 360px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .t706__carticon {
        top: 445px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* Мобильный — 481–640px */
/* ================================================= */

@media screen and (min-width: 481px) and (max-width: 640px) {

    .t1002__wishlisticon {
        top: 270px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .t706__carticon {
        top: 350px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* Маленький мобильный — до 480px */
/* ================================================= */

@media screen and (max-width: 480px) {

    .t1002__wishlisticon {
        top: 270px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .t706__carticon {
        top: 345px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* ГОРИЗОНТАЛЬНЫЙ МОБИЛЬНЫЙ */
/* ================================================= */

@media screen and (max-width: 960px) and (orientation: landscape) {

    .t1002__wishlisticon {
        top: 100px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    .t706__carticon {
        top: 175px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}


/* ================================================= */
/* УБИРАЕМ ГОРИЗОНТАЛЬНЫЕ БЕЛЫЕ ПОЛОСЫ */
/* ================================================= */

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

#allrecords {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.t1002__addBtn,
.t1002__addBtn_active,
.t1002__addBtn *,
.t1002__addBtn_active * {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Цвет текста «Поиск по сайту» в T985 */
.t985__input::placeholder {
    color: rgba(104, 51, 34, 0.7) !important;
    opacity: 1 !important;
}

/* Кнопки в карточках ST320N */
.t320N .t-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 60px !important;
}

/* Выравниваем содержимое карточек ST320N */
.t-store__card {
    display: flex !important;
    flex-direction: column !important;
}

/* Блок с названием и ценой */
.t-store__card__textwrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Кнопки прижимаем к низу карточки */
.t-store__card__btns-wrapper {
    margin-top: auto !important;
}

@media screen and (min-width: 641px) {
    .t-store__card__textwrapper {
        min-height: 70px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .t-store__card__btns-wrapper {
        margin-top: auto !important;
    }
}

@media screen and (max-width: 640px) {
    .t-store__card__textwrapper {
        min-height: 70px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .t-store__card__btns-wrapper {
        margin-top: auto !important;
    }
}

.t-store__card .t-btn:nth-of-type(2) {
    display: none !important;
}

/* Скрываем избранное ТОЛЬКО внутри карточки popup */
.t-store__prod-popup .t1002__addBtn,
.t-store__prod-popup .t1002__addBtn_active,
.t-store__prod-popup__container .t1002__addBtn,
.t-store__prod-popup__container .t1002__addBtn_active {
    display: none !important;
    visibility: hidden !important;
}