.t-store__filter__opts-mob-btn {
    width: 100%;
}

@media screen and (max-width: 960px) {
    .t-store__grid-cont_col-width_stretch .t951__sidebar {
        margin: 0px 0 20px 0 !important;
    }
}

@media screen and (max-width: 670px) {
    .t-store__card__btn {
        width: 48% !important;
    }
    .t951__sidebar {
        margin: 0 0 20px 0!important;
        padding: 10px !important;
    }
    
    .t951__sidebar-wrapper {
        overflow: hidden;
    }
    
    .t-store__parts-switch-wrapper {
        text-align: left !important;
        margin-bottom: 20px !important;
        display: inline-flex;
        width: 100%; /* Или фиксированная ширина, например 600px */
        overflow-x: auto; /* Включает горизонтальную прокрутку, если контент шире контейнера */
        white-space: nowrap; /* Запрещает перенос строк, элементы будут в одну линию */
    }
    
    .t-store__parts-switch-btn {
        margin-bottom: 0 !important;
        margin-left: 5px !important;
        height: 30px;
        align-content: center;
    }
    
    .t-store__parts-tree-root-wrapper {
        display: none;
    }

}

@media screen and (min-width: 1160px) {
    .t-store__parts-switch-wrapper {
        max-height: 400px;
        overflow-y: scroll;
        white-space: nowrap;
        margin-bottom: 40px !important;
    }
    
    .t-store__parts-switch-wrapper {
      overflow: auto; /* включаем прокрутку */
    }
    
    /* Убираем скроллбар по умолчанию в Webkit-браузерах (Chrome, Safari, Edge) */
    .t951__sidebar::-webkit-scrollbar,
    .t-store__parts-switch-wrapper::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    
    /* При наведении показываем скроллбар с шириной */
    .t951__sidebar:hover::-webkit-scrollbar,
    .t-store__parts-switch-wrapper:hover::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    
    /* Стили для бегунка скроллбара при наведении */
    .t951__sidebar:hover::-webkit-scrollbar-thumb,
    .t-store__parts-switch-wrapper:hover::-webkit-scrollbar-thumb {
      background: rgba(0,0,0,0.4);
      border-radius: 4px;
    }
    
    /* Стили дорожки скроллбаров при наведении */
    .t951__sidebar:hover::-webkit-scrollbar-track,
    .t-store__parts-switch-wrapper:hover::-webkit-scrollbar-track {
      background: transparent;
    }
    
    /* Для Firefox: скрываем скроллбар */
    .t951__sidebar,
    .t-store__parts-switch-wrapper {
      scrollbar-width: none;
      scrollbar-color: transparent transparent;
    }
    
    /* При наведении показываем тонкий скроллбар в Firefox */
    .t951__sidebar:hover,
    .t-store__parts-switch-wrapper:hover {
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
    }

}


.t529__container {
    gap: 50px 0;
}

.t-store__parts-switch-btn {
    margin-left: 0 !important;
}

@media screen and (min-width: 961px) {
    .t951__sidebar .t-store__parts-switch-wrapper {
        margin-bottom: 40px !important;
    }
}

.js-product-controls-wrapper .t-btn.t-btnflex {
    background-color:var(--uc-typo-color-gW8FUlWVf3, #0d0d0d) !important;
}

@media screen and (max-width: 960px) {
    .t758__col.t-col {
        padding-left: 0 !important;
    }
}

.t758__col {
    margin-bottom: 20px;
}

.js-store-prod-name, 
.js-product-name, 
.t-store__prod-popup__name {
    margin-bottom: 20px;
    color: var(--uc-typo-color-gW8FUlWVf3, #0d0d0d);
    font-size: var(--uc-typo-fontsize-gW8FUlWVf3, 52px);
    font-family: var(--uc-typo-fontfamily-gW8FUlWVf3, Manrope);
    line-height: var(--uc-typo-lineheight-gW8FUlWVf3, 1);
    font-weight: var(--uc-typo-fontweight-gW8FUlWVf3, 600);
}

.t-descr_md {
    font-size: 16px !important;
}

.t-text_xs {
    font-size: 14px !important;
}

@media screen and (max-width: 960px) {
    .t-contact-method__type-label {
        font-size: 12px !important;
    }
}

/* Добавляем window container для любых блоков */
.uc-window-view {
  position: relative;
  max-width: 100vw;
  padding-left: 40px; /* отступ слева */
  padding-right: 40px; /* отступ справа */
  box-sizing: border-box; /* учёт отступов во всю ширину */
}

.uc-window-view .t-feed__container,
.uc-window-view .t897__container,
.uc-window-view .t-container {
  max-width: none !important; /* снимаем ограничение ширины контейнера контента */
  width: 100% !important;
  padding: 0 !important; /* убираем внутренние отступы контейнера */
}

/* Если у блока есть фиксированная колоночная сетка внутри (например, .t-col), можно отключить ограничение ширины */
.uc-window-view .t-col {
  max-width: 100% !important;
  width: 100% !important;
}

@media screen and (min-width: 960px) {
    .uc-window-view .t-col_1  { width: 8.3333% !important; max-width: 8.3333% !important; }
    .uc-window-view .t-col_2  { width: 16.6667% !important; max-width: 16.6667% !important; }
    .uc-window-view .t-col_3  { width: 25% !important; max-width: 25% !important; }
    .uc-window-view .t-col_4  { width: 33.3333% !important; max-width: 33.3333% !important; }
    .uc-window-view .t-col_5  { width: 41.6667% !important; max-width: 41.6667% !important; }
    .uc-window-view .t-col_6  { width: 50% !important; max-width: 50% !important; }
    .uc-window-view .t-col_7  { width: 58.3333% !important; max-width: 58.3333% !important; }
    .uc-window-view .t-col_8  { width: 66.6667% !important; max-width: 66.6667% !important; }
    .uc-window-view .t-col_9  { width: 75% !important; max-width: 75% !important; }
    .uc-window-view .t-col_10 { width: 83.3333% !important; max-width: 83.3333% !important; }
    .uc-window-view .t-col_11 { width: 91.6667% !important; max-width: 91.6667% !important; }
    .uc-window-view .t-col_12 { width: 100% !important; max-width: 100% !important; }
}
.uc-window-view .t-col,
.uc-window-view .t-col_1,
.uc-window-view .t-col_2,
.uc-window-view .t-col_3,
.uc-window-view .t-col_4,
.uc-window-view .t-col_5,
.uc-window-view .t-col_6,
.uc-window-view .t-col_7,
.uc-window-view .t-col_8,
.uc-window-view .t-col_9,
.uc-window-view .t-col_10,
.uc-window-view .t-col_11,
.uc-window-view .t-col_12 {
  box-sizing: border-box;
}

.t529__col.t-col,
.t758__col.t-col, 
.t758__col.t-col_12, 
li.js-feed-post.t-col,
li.t-feed__post.t-col {
    margin: 0 !important;
    padding-right: 20px;
}

.uc-window-view .t778__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.uc-window-view .t778__col {
  flex: 0 0 calc(25% - 40px);    /* desktop: 4 колонки */
  max-width: calc(25% - 40px);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .uc-window-view .t778__col {
    flex-basis: calc(50% - 40px); /* планшет: 2 колонки */
    max-width: calc(50% - 40px);
  }
}

@media (max-width: 600px) {
  .uc-window-view .t778__col {
    flex-basis: 100%;           /* мобильный: 1 колонка */
    max-width: 100%;
  }
}


/* При необходимости можно добавить адаптивность */
@media screen and (max-width: 1440px) {
  .uc-window-view {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 640px) {
  .uc-window-view {
    padding-left: 0;
    padding-right: 0;
  }
}
