/* Тильдовские обычные текстовые блоки - ТОЛЬКО текстовые ссылки */
.t-text a:not(.t-btn):hover:not(:has(img)):not(:has(*)),
.t-descr a:not(.t-btn):hover:not(:has(img)):not(:has(*)),
.t-title a:not(.t-btn):hover:not(:has(img)):not(:has(*)),
.t-name a:not(.t-btn):hover:not(:has(img)):not(:has(*)),
.t-uptitle a:not(.t-btn):hover:not(:has(img)):not(:has(*)) {
  opacity: 0.7;
}

/* Zero Block - ТОЛЬКО для текстовых элементов */
.tn-elem.tn-elem__text a:not(.t-btn):hover,
.tn-atom.tn-atom__text a:not(.t-btn):hover,
.tn-elem__text a:not(.t-btn):hover,
.tn-atom__text a:not(.t-btn):hover {
  opacity: 0.7;
}

/* Явно исключаем элементы с типом image и art */
.t396__elem[data-elem-type="image"] a:hover,
.t396__elem[data-elem-type="art"] a:hover,
.tn-elem[data-elem-type="image"] a:hover,
.tn-elem[data-elem-type="art"] a:hover {
  opacity: 1 !important;
}

/* Дополнительные страховки */
.zero-block a:not(.t-btn):hover,
.zero a:not(.t-btn):hover {
  opacity: 0.7;
}

/* ИСКЛЮЧЕНИЯ - отменяем стили для нетеxtовых ссылок */
.t-btn:hover,
a.t-btn:hover,
[data-hoveropacity] a:hover,
.tn-atom [style*="cursor:pointer"]:hover,
a[href*="#"]:hover,
a[onclick]:hover,
.t396__elem a:hover,
.tn-elem[data-elem-type="image"] a:hover,
.tn-elem[data-elem-type="art"] a:hover {
  opacity: 1 !important;
}

a {
  transition: opacity 0.2s ease;
}

.menu-item.active,
.menu-item.current,
.menu-item[aria-current="page"] {
  font-weight: bold;
}

.menu-item {
  transition: font-weight 0.2s ease;
}

.t-store__filter__item-controls-wrap.t-store__filter__item-price-slider.js-store-filter-item-controls-wr {
    display: none !important;
}

/* Карточки в каталоге*/
.t951__grid-cont.js-store-grid-cont .t-store__card {
    border: 10px solid #E9EAEC;
    background-color: #fff;
    border-radius: 24px;
    padding: 20px
}
    
/* фильтры в каталоге*/
@media screen and (min-width: 960px) {
    .t951__cont-wrapper .t951__sidebar {
        padding: 20px 0 20px 20px !important;
        margin-right: 30px;
        position: sticky;
        top: 120px;
        /* flex-basis: content !important; */
        max-height: calc(100vh - 80px - 120px);
        border-radius: 10px;
        width: 260px !important;
    }
    
    .t951 .t951__sidebar_sticky .t951__sidebar-wrapper {
        max-height: calc(100vh - 80px - 120px) !important;
        padding-right: 20px !important;
    }
}

/*Кастомизация отображения фильтров*/
.t-store__filter__item.active .t-store__filter__item-controls-wrap {
    justify-content: center;
}

.t-store__filter__prods-number.js-store-filters-prodsnumber-wrap.t-descr {
    font-family: 'InterTight' !important;
}

.t-store__filter__chosen-val.js-store-filter-chosen-item.t-descr {
    font-family: 'InterTight' !important;
}

.t-store__filter__reset.js-store-filter-reset.t-descr {
    font-family: 'InterTight' !important;
}

.t-store__filter__btn, .t-store__filter__input {
    background: #fff !important;
    font-family: 'InterTight' !important; 
    line-height: 2.4 !important;
    border: 1px solid #001932 !important;
    border-radius: 4px;
}

@media screen and (max-width: 960px) {
    .t-store__filter__delimeter {
        margin-top: 14px;
    }
}

/*Редактируем размеры текстов в продуктовом попапе*/
.js-store-prod-all-text {
    font-size:24px;
}

@media screen and (max-width: 768px) {
    .js-store-prod-all-text {
        font-size:20px;
    }
    
    .js-store-prod-name.js-product-name.t-store__prod-popup__name.t-typography__title.t-name.t-name_xl {
        font-size: 28px;
    }
    
    .js-store-prod-price.t-store__prod-popup__price.t-store__prod-popup__price-item.t-name.t-name_md {
        font-size: 36px;
    }
    
    .t-typography__characteristics.js-store-prod-charcs {
        font-size: 16px !important;
    }
}    
/*Редактируем плашку закрытия на мобильных попапах*/
@media screen and (max-width: 560px) {
    .t-popup__close {
        background-color: #fff !important;
    }
    
    .t-popup__close-icon.t-popup__close-icon_arrow {
        display: none !important;
    }
    
    .t-store .t-popup__close-wrapper .t-popup__close-icon_cross {
        display: inline-block !important;
    }
    
    .t951 .t-popup__close-icon g {
        fill: #001932 !important;
    }
}

/*Размер картинок в каталоге*/
.t-store__card__img {
   max-width: 60% !important; 
}

/*Редактирование поля сортировки*/
.t-store__sort-select {
    border-color: #001932 !important;
    border-radius: 2px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    background: #E9EAEC !important;
}

.t-store__sort-select {
    font-family: 'InterTight';
}

.t-store__sort-select-wrapper:after {
    border-top-color: #001932 !important;
}

/*Внешние отступы в выкладке товаров и фильтрах на мобилках*/
@media screen and (max-width: 960px) {
    .t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="0"], .t-store__grid-cont_col-width_stretch[data-col-gap="0"] {
        padding: 0 5px !important;
    }
    
    .t-store__grid-cont_col-width_stretch .t951__sidebar {
        margin: 0px 5px 20px 5px !important;
        border-radius: 10px;
        padding: 20px !important;
    }
    
    .t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 10px !important;
    }
}

@media screen and (max-width: 480px) {
    .t951__grid-cont.js-store-grid-cont .t-store__card {
        border: 0px solid #E9EAEC
;
        border-radius: 10px;
    }
    
    .t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 20px !important;
    }
}

/*Удаление артикула из попапа*/
.t-store__prod-popup__sku {
    display: none;
}

/*Расширение контейнера товаров*/
@media screen and (min-width: 1440px) {
    .js-store-cont-w-filter.t-container {
        max-width: 1400px !important;
    }
}

.t-store__filter__sort {
    margin-right: 10px;
}

/*Отступы в попап-окне товара*/
@media screen and (min-width: 1240px) {
    .t-store__prod-popup__info.t-align_left.t-store__prod-popup__col-right.t-col.t-col_6 {
        margin-top: 112px;
    }
}

@media screen and (min-width: 960px) and (max-width: 1239px) {
    .t-store__prod-popup__info.t-align_left.t-store__prod-popup__col-right.t-col.t-col_6 {
        margin-top: 60px;
    }
    
    .t-store__relevants__title {
        letter-spacing: inherit;
        margin: 40px 0 0 !important;
        padding-left: 50px !important;
    }  
}
    
/*
.t-store__relevants__container .t-store__scroll-icon-wrapper {
        display: none !important;
}
*/

@media screen and (max-width: 960px) {
    .t-store__filter__item_price .t-store__filter__input {
        width: 50% !important;
    }
    
    .t-store__filter__btn.js-store-filter-price-btn {
        display: none !important;
    }
}

/*Настройки встраиваемой Яндекс карты*/
/* Только основные стили */
#map.zeromap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Только для главного контейнера карты */
#map.zeromap > ymaps {
    border-radius: 10px !important;
}

/* Для iframe */
#map.zeromap iframe {
    border-radius: 10px !important;
    border: none !important;
}

ymaps.ymaps-2-1-79-inner-panes {
    border-radius: 10px;
}

/*Редактирование ширины каталога товаров*/
.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="0"] {
    max-width: 1440px;
    width: 100%;
}

.t-store.js-store {
    display: flex;
    justify-content: center;
}

.tn-elem.scroll-hint {
        position: sticky !important;
        right: 0px !important;
        margin-top: -40px;
        margin-bottom: -12px;
    }
    
@media screen and (max-width: 640px) {
    .t-store__grid-cont_mobile-one-row .t-col, .t-store__grid-cont_mobile-one-row .t-store__stretch-col, .t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row .t-col, .t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row .t-store__stretch-col {
        min-width: 60% !important;
    }
}



.t-store__filter__title {
    font-family: 'InterTight' !important;
}

/*Popup с куки файлами*/
.t657_rectangle, 
.t657_rectangle .t657__wrapper {
    max-width: 600px;
}

.t657__close-button.t657__icon-close {
    display:none !important;
}