/*cookie-файлы*/
.t886__wrapper {
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.t886__btn {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.t886__btn {
  align-self: flex-start !important;
}


.t-site-search-popup {
    background-color: #F7F7E8 !important;
    border-radius: 30px !important;
}



/* Код для блока «Блог» (t897) */
.t897__container {
  max-width: 100% !important;
}

/* Общий контейнер с отступами, как в t395/t758 */
.t897 .t-feed__container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 30px !important;
  box-sizing: border-box !important;
}

/* Картинки в постах */
.t897 .t-feed__post-bgimg {
  background-position: top center !important;
  background-size: cover !important;
}

/* Убираем внутренние отступы у колонок */
.t897 .t-col {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Сетка карточек */
.t897 .js-feed-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Высота картинки */
.t897 .t-feed__post-imgwrapper {
  height: 300px !important;
}

/* Описание поста */
.t897 .t-feed__post-descr {
  margin-top: 20px !important;
  color: rgba(58, 53, 50, 0.8) !important;
  max-width: 390px !important;
}

/* Дата под описанием */
.t897 .t-feed__post-parts-date-row_afterdescr {
  margin-top: 20px !important;
}

.t897 .t-feed__post-date {
  color: rgba(58, 53, 50, 0.5) !important;
}

/* Карточки растягиваются на всю ширину сетки */
.t897 .t-feed__post,
.t897 .t-feed__grid-col {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.t897 .t-col_3 {
  max-width: 100% !important;
}

/* Фикс отступов сверху у первых элементов на мобилках */
@media screen and (max-width: 960px) {
  .t-feed__container_inrow1 .t-feed__post:first-child,
  .t-feed__container_inrow2 .t-feed__post:nth-child(-n+2),
  .t-feed__container_inrow3 .t-feed__post:nth-child(-n+3),
  .t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
    margin-top: 0 !important;
  }
}

/* Планшеты и ноуты: 2 колонки, паддинги 20px */
@media (min-width: 768px) and (max-width: 1199px) {
  .t897 .t-feed__container {
    padding: 0 20px !important;
  }

  .t897 .js-feed-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Мобилки до 767px: 1 колонка, паддинги 16px */
@media (max-width: 767px) {
  .t897__scroll-icon-wrapper {
    display: none !important;
  }

  .t897 .t-feed__container {
    padding: 0 16px !important;
  }

  .t897 .js-feed-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .t-feed__post-title {
    font-size: 18px !important;
  }
  
  .t897 .t-feed__post-descr {
    max-width: 100% !important;
  }

  .t897 .t-feed__post-imgwrapper {
    height: auto !important;
  }

  .t897 .t-feed__post,
  .t897 .t-feed__grid-col,
  .t897 .t-feed__col-grid__post-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* Совсем маленькие: паддинги 12px, компактный текст */
@media (max-width: 389px) {
  .t897 .t-feed__container {
    padding: 0 12px !important;
  }

  .t897 .t-feed__post-descr {
    margin-top: 12px !important;
  }

  .t897 .t-feed__post-parts-date-row_afterdescr {
    margin-top: 12px !important;
  }

  .t-feed__post-descr {
    font-size: 13px !important;
  }

  .t-feed__post-date {
    font-size: 11px !important;
  }
}


/* ===== СЕТКА И ОТСТУПЫ ДЛЯ ВСЕХ t758 (крошки) ===== */
.t758 .t-col {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.t758 .t-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

/* Колонка на всю ширину */
.t758__col.t-col_12 {
  max-width: 100% !important;
}

/* 961–1199px — уменьшаем поля до 20px */
@media (min-width: 961px) and (max-width: 1199px) {
  .t758 .t-container {    
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* До 960px убираем внутренние паддинги у колонки */
@media (max-width: 960px) {
  .t758__col {
    padding: 0 !important;
  }
}

/* 768–960px — контейнер с полями 20px */
@media (min-width: 768px) and (max-width: 960px) {
  .t758__col {
    padding: 0 !important;
    box-sizing: border-box;
  }
    
  .t758 .t-container {    
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* До 767px — поля по 16px */
@media (max-width: 767px) {
  .t758 .t-container {    
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* До 389px — поля по 12px */
@media (max-width: 389px) {
  .t758 .t-container {    
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ===== СЕТКА И ОТСТУПЫ ДЛЯ КЕЙСОВ (t951) ПО ОБЩЕЙ СЕТКЕ ===== */
.t951 .t951__cont-w-filter,
.t951 .js-store-grid-cont-preloader,
.t951 .t951__grid-cont {
  box-sizing: border-box;
  width: 100%;
  max-width: 100% !important;
  padding-left: 30px;
  padding-right: 15px;
}

/* На всякий случай для всех t-store контейнеров внутри t951 */
.t951 .t-store__grid-cont {
  box-sizing: border-box;
  width: 100%;
  max-width: 100% !important;
}

/* Чуть подчищаем колонки, чтобы не было внутренних отступов от Тильды */
.t951 .t-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== Брейкпоинты ===== */

@media (max-width: 1439px) {
.t951 .t951__cont-w-filter,
.t951 .js-store-grid-cont-preloader,
.t951 .t951__grid-cont {
  padding-right: 5px !important;
} 
}

/* 961–1199px — по 20px слева/справа */
@media (min-width: 961px) and (max-width: 1199px) {
  .t951 .t951__cont-w-filter,
  .t951 .js-store-grid-cont-preloader,
  .t951 .t951__grid-cont {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* 768–960px — тоже по 20px */
@media (min-width: 768px) and (max-width: 960px) {
  .t951 .t951__cont-w-filter,
  .t951 .js-store-grid-cont-preloader,
  .t951 .t951__grid-cont {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* 390–767px — по 16px */
@media (max-width: 767px) {
  .t951 .t951__cont-w-filter,
  .t951 .js-store-grid-cont-preloader,
  .t951 .t951__grid-cont {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
}

/* До 389px — по 12px */
@media (max-width: 389px) {
  .t951 .t951__cont-w-filter,
  .t951 .js-store-grid-cont-preloader,
  .t951 .t951__grid-cont {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* ===== ПЕРЕБИВАЕМ ВСТРОЕННОЕ ПРАВИЛО ТИЛЬДЫ =====
   У Тильды есть:
   .t951 .t951__cont-w-filter.t-store__grid-cont_col-width_stretch.t-container:not(.t-store__grid-cont_indent) { padding: 0 !important; }
   Мы делаем тот же селектор, но более специфичный
*/

/* ≥1200px — возвращаем 30px */
@media screen and (min-width: 1200px) {
  .t951 .t951__cont-w-filter.t951__cont-w-filter.t-store__grid-cont_col-width_stretch.t-container:not(.t-store__grid-cont_indent) {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* 961–1199px — 0px */
@media screen and (min-width: 961px) and (max-width: 1199px) {
  .t951 .t951__cont-w-filter.t951__cont-w-filter.t-store__grid-cont_col-width_stretch.t-container:not(.t-store__grid-cont_indent) {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

/* ===== Табы ===== */
.t395 .t-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.t395 .t-width_12 {
    max-width: 100% !important;
}

.t395__title {
    width: 80% !important;
}

@media (min-width: 961px) and (max-width: 1199px) {
.t395 .t-container {    
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.t395__select {
    padding: 20px 20px !important;
}

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

@media (max-width: 960px) {
.t395__col {
    padding: 0 !important;
}
}

@media (min-width: 768px) and (max-width: 960px) {
.t395__col {
    padding: 0 !important;
    box-sizing: border-box;
}
    
.t395 .t-container {    
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.t395__select {
    padding: 20px 20px !important;
}
}

@media (max-width: 767px) {
.t395 .t-container {    
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.t395__select {
    padding: 20px 20px !important;
}
}

@media (max-width: 389px) {
.t395 .t-container {    
  padding-left: 12px !important;
  padding-right: 12px !important;
}
}