/*1 — Хлебные крошки*/

.t758__col.t-col.t-col_12 {
    margin-left: 0px;
    padding-left: 0px;
}

/* Мобилка: до 960px */
@media (max-width: 959px) {
    .t758 .t-container {
        max-width: calc(100% - 40px) !important;
        padding-top: 20px;
    }
}

/* Десктопы: от 960px */
@media (min-width: 960px) {
    .t758 .t-container {
        max-width: calc(100% - 80px) !important;
        padding-top: 40px;
    }
}



/*2 — Плитка каталога*/

/* === Общие стили === */
.js-product.t-store__card {
  position: relative !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: none !important;
}

/* === Десктоп: 3 колонки (от 960px) === */
@media (min-width: 960px) {
  /* Верхняя граница — только у первой строки (первые 3 карточки) */
  .js-product.t-store__card:nth-child(-n + 3) {
    border-top: 1px solid rgba(3, 3, 3, 0.1) !important;
  }

  /* Нижняя — у всех */
  .js-product.t-store__card {
    border-bottom: 1px solid rgba(3, 3, 3, 0.1) !important;
  }

  /* Правая — у 1-й и 2-й в каждой тройке */
  .js-product.t-store__card:nth-child(3n + 1),
  .js-product.t-store__card:nth-child(3n + 2) {
    border-right: 1px solid rgba(3, 3, 3, 0.1) !important;
  }
}

/* === Мобильные/планшеты: 2 колонки (до 959px) === */
@media (max-width: 959px) {
  /* Верхняя граница — только у первой строки (первые 2 карточки) */
  .js-product.t-store__card:nth-child(-n + 2) {
    border-top: 1px solid rgba(3, 3, 3, 0.1) !important;
  }

  /* Нижняя — у всех */
  .js-product.t-store__card {
    border-bottom: 1px solid rgba(3, 3, 3, 0.1) !important;
  }

  /* Правая — только у нечётных (1-я, 3-я, 5-я...) — т.е. левые в паре */
  .js-product.t-store__card:nth-child(odd) {
    border-right: 1px solid rgba(3, 3, 3, 0.1) !important;
  }
}


.t-store__card__textwrapper {
    padding-top: 0px;
    padding-left: 20px;
    padding-bottom: 20px;
}

.t-store__card__price-wrapper {
    margin-top: 8px;
}

.t-store__grid-cont .t-store__card-list {
    row-gap: 0px !important;
}


/*3 — Кнопки переключения Каталог и Коллекции*/

.catalog-hover {
  position: relative;
  display: inline-block;
}

.catalog-hover::after {
  content: '';
  position: absolute;
  bottom: 0px;        /* отступ от текста */
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}



/*4 — Теги коллекций на карточках товаров*/
.t-store__card__mark {
    padding: 8px 12px;
    height: auto;
    width: auto;
}

.t-store__card__mark-wrapper {
    right: 16px;
    top: 16px;
}



/*5 — Потоки*/
.js-feed-post-title.t-feed__post-popup__title.t-title.t-title_xxs {
    font-size: 32px;
    line-height: 1.2;
}

blockquote.t-redactor__preface {
    font-size: 16px !important;
    color: rgb(0 0 0 / 60%);
    line-height: 1.4 !important;
}

h2.t-redactor__h2 {
    font-size: 26px !important;
    margin-bottom: 0px !important;
}

h3.t-redactor__h3 {
    font-size: 20px !important;
    margin-bottom: 4px !important;
}

.t-redactor__text {
    font-size: 16px;
}

blockquote.t-redactor__quote {
    font-size: 18px !important;
}

.t-redactor__text {
    margin-bottom: 0px !important;
}



/*6 — Поиск по сайту*/
.t985__widgetheader.t-search-widget__header.t985__widgetheader_hasvariants {
    margin-top: 64px;
    box-shadow: none;
}



/*7 — Флаг в форме*/
span.t-input-phonemask__select-flag {
    display: none;
}



/*8 — Карточки товара / Размер шрифта описания*/
.t762__descr.t-descr.t-descr_xxs {
    font-size: 16px;
    line-height: 1.4;
}


/*8.1 — Карточки товара / Отсуп до стоимости и после*/
.t762__title-wrapper {
    margin-bottom: 12px;
}

.js-product-edition-option.t-product__option {
    margin-top: 32px;
}



/*9 — Проекты: Галерея*/
@media (max-width: 640px) {
  .t603__container.t603__container_indent {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .t603__tile {
    width: 100% !important;
  }
}



/*10 — Плитка проектов*/
@media screen and (max-width: 960px) {
  .t786__col.t786__col_50.t-align_left.t-item.t786__col_mobile-grid.js-product {
      margin-bottom: 20px;
  }
}