@media screen and (max-width: 768px) {
  .t838 .t838__search-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .t838 .t838__wrapper.t-site-search-input {
    padding: 0 !important;
    position: relative !important;
  }

 .t838 .t838__input.t-input {
  font-size: 16px !important;
  padding: 10px 14px 10px 45px !important;
  height: 42px !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  border: 1px solid #ccc !important;
  width: 90% !important;
  max-width: 380px !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 auto !important;
}

  .t838 .t838__search-icon {
    position: absolute !important;
    left: 20px !important; /* сдвинули левее ещё на 10px */
    top: calc(50% - 2px) !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .t838 .t-submit {
    font-size: 14px !important;
    padding: 10px 22px !important;
    height: 42px !important;
    border-radius: 15px !important;
    margin-top: 4px !important;
    background-color: #ff6600 !important;
    width: 90% !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  
}

@media screen and (max-width: 640px) {
  /* Открыть сам блок фильтра */
  .t-store__filter__wrap {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  
/* Мобильная версия — шрифт чуть меньше */

  .t-store__filter__item-title {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }
  
  .t-store__filter__title {
   font-weight: 500 !important;   
  }
}

@media screen and (min-width: 641px) {
  /* Заголовки групп фильтров: Тип, Толщина и т.д. */
  .t-store__filter__item-title {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
  }

  /* Пункты внутри фильтров: 18650, Samsung и т.д. */
  .t-store__filter__title {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }
}


  /* Скрыть кнопку "Фильтр" */
  .t-store__filter__toggler {
    display: none !important;
  }

  /* Раскрыть все группы фильтров */
  .t-store__filter__category {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Отключить клик по заголовкам групп фильтров */
  .t-store__filter__category-title {
    pointer-events: none !important;
  }

  /* Убрать стрелочки-иконки у заголовков */
  .t-store__filter__category-title::after {
    display: none !important;
  }

  /* Увеличить шрифт в фильтре */
  .t-store__filter__item label {
    font-size: 18px !important;
  }

  /* Увеличить чекбоксы */
  .t-store__filter__item input {
    transform: scale(1.2);
    margin-right: 6px;
    border-radius: 4px;
  }
}

.t-store__filter__item label {
  font-size: 18px !important;
  font-weight: 400 !important; /* ← добавляем сюда */
}

.t-store__filter__item input {
  transform: scale(1.1);
  margin-right: 6px;
}

@media screen and (max-width: 640px) {
  /* Убираем саму кнопку "Фильтр" полностью */
  .js-store-filter-mob-btn {
    display: none !important;
  }

  /* На всякий случай убираем её псевдоэлементы (иконки) */
  .js-store-filter-mob-btn::before,
  .js-store-filter-mob-btn::after {
    display: none !important;
    content: none !important;
  }

  /* Иногда иконка встроена как svg — убираем всё внутри кнопки */
  .js-store-filter-mob-btn svg {
    display: none !important;
  }
 
}

/* 1111111111 */
/* === ОСНОВНОЙ ТЕКСТ === */
.t-store__prod-popup__text.js-store-prod-text,
.t-store__prod-popup__text.js-store-prod-text * {
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #000 !important;
}

/* === ЦЕНА ПРОДУКТА (попап) === */
.t-store__prod-popup__price-value {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.js-store-prod-charcs {
  display: none !important;
}

/* === СПИСКИ === */
.t-store__prod-popup__text.js-store-prod-text ul {
  background-color: #f9f9f9 !important;
  border-radius: 6px !important;
  padding: 20px 18px 20px 24px !important;
  margin: 6px 0 14px 0 !important;
  list-style: none !important;
}

/* === ПУНКТЫ СПИСКА === */
.t-store__prod-popup__text.js-store-prod-text li {
  margin: 2px 0 !important;
  padding: 0 !important;
  font-weight: 400 !important;
}

/* === ЖИРНЫЙ ТЕКСТ ВНУТРИ ПУНКТОВ — НЕ увеличивать === */
.t-store__prod-popup__text.js-store-prod-text li b,
.t-store__prod-popup__text.js-store-prod-text li strong {
  font-size: inherit !important;
  font-weight: 700 !important;
  display: inline !important;
}

/* === ЗАГОЛОВКИ (ОТДЕЛЬНО СТОЯЩИЕ) === */
.t-store__prod-popup__text.js-store-prod-text > b,
.t-store__prod-popup__text.js-store-prod-text > strong,
.t-store__prod-popup__text.js-store-prod-text p > b:only-child,
.t-store__prod-popup__text.js-store-prod-text p > strong:only-child {
  font-size: 22px !important;
  font-weight: 700 !important;
  display: block !important;
  margin: 16px 0 6px 0 !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  line-height: 1.4 !important;
}

/* === ЗАГОЛОВКИ (бренд) === */
.js-product-brand {
  font-size: 16px !important;
  font-weight: 400 !important;
  margin-bottom: 4px !important; /* чуть ближе к артикулу */
}

/* === СТИЛЬ ДЛЯ НАДПИСИ "Артикул:" И НОМЕРА АРТИКУЛА === */
.t-store__prod-popup__sku {
  font-size: 16px !important;
  font-weight: 400 !important;
  margin-top: 0 !important;
  color: #777 !important;
}

.t-store__prod-popup__sku .js-store-prod-sku,
.t-store__prod-popup__sku .js-product-sku {
  font-size: inherit !important;
  font-weight: 400 !important;
}

/* ==текст который перед 7% ценой */
.t-store__prod-popup__text.js-store-prod-text .price-label {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #000 !important;
  margin-right: 6px !important;
}

/* ==загаловки в попапе */
.t-store__prod-popup__text.js-store-prod-text .pricelab {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #000 !important;
}

/* ==который высчитывается цена */
.t-store__prod-popup__text.js-store-prod-text .js-calc-price7 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #000 !important;
}

/* ==все в один ряд у карточек */
/* === Заголовок карточки товара на общей странице === */
.t-store__card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px; /* 2 строки */
}

/* === Внутри попапа ограничения убираем === */
.t-popup .t-store__card__title {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
  min-height: unset !important;
}



/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media screen and (max-width: 640px) {
  .t-store__prod-popup__text.js-store-prod-text,
  .t-store__prod-popup__text.js-store-prod-text * {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  .t-store__prod-popup__text.js-store-prod-text > b,
  .t-store__prod-popup__text.js-store-prod-text > strong,
  .t-store__prod-popup__text.js-store-prod-text p > b:only-child,
  .t-store__prod-popup__text.js-store-prod-text p > strong:only-child {
    font-size: 20px !important;
    margin: 14px 0 6px 0 !important;
  }

  .t-store__prod-popup__price-value {
    font-size: 24px !important;
  }
  
  
  .t-slds__bgimg {
    padding-bottom: 70% !important; /* например, в 2 раза меньше высота */
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  
  .t-slds__container {
    background-color: #ffffff !important;
  }

}


/* Подсветка совпадений */
mark {
  background-color: rgba(0, 0, 0, 0.06);
  font-weight: 600;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  display: inline;
  white-space: nowrap;
  letter-spacing: normal;
  word-spacing: normal;
  font-family: inherit;
}

/* Обёртка */
#custom-search-wrapper {
  position: relative;
}

/* Липкий поиск */
#custom-search.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 990;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Внутренняя обёртка с отступами */
#custom-search-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 5vw;
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

/* Поле ввода */
#search-input {
  width: 100%;
  padding: 10px 16px;
  font-size: 16px;
  border: 2px solid #ff7b00;
  border-radius: 6px;
  outline: none;
  box-shadow: none;
  font-family: 'TildaSans', sans-serif;
}

/* Кнопка */
#search-button {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  background-color: #ff7b00;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'TildaSans', sans-serif;
}

/* Выпадающий блок */
#search-results {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  right: 5%;
  left: 5%;
  border: 1px solid #ccc;
  border-radius: 6px;
  z-index: 1000;
  font-family: 'TildaSans', sans-serif;
  background: white;
}

/* Мобильная адаптация */
@media screen and (max-width: 768px) {
  .search-title {
    font-size: 15px !important;
  }

  #search-results {
    max-height: 450px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  

  .verh-shape {
    width: 90vw !important;
    left: 5vw !important;
  }


  .t396__artboard {
    position: relative;
  }

  .logotip {
    position: absolute !important;
    left: 5vw !important;
  }

  .kontaktisprava {
    position: absolute !important;
    right: 5vw !important;
    left: auto !important;
    transform: none !important;
    width: max-content;
    white-space: nowrap;
  }

}

/* Поддержка десктопной сетки */
@media screen and (min-width: 769px) {
  .t123 .t-container_100 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #custom-search {
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: center; /* Центрируем */
  }
  
  #custom-search.sticky {
  margin-top: 0 !important;
}
 

  #custom-search-inner {
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0; /* Убираем лишние отступы */
  }

  #search-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ff7b00;
    border-radius: 6px;
    outline: none;
    font-family: 'TildaSans', sans-serif;
  }

  #search-button {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background-color: #ff7b00;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'TildaSans', sans-serif;
  }

  #search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    z-index: 1000;
    font-family: 'TildaSans', sans-serif;
    box-sizing: border-box;
  }

}

  #custom-search.sticky {
  height: 60px; /* фиксированная высота, чтобы не было прыжка */
}

.t-store__prod__quantity .t-store__prod__quantity-input {
    font-weight: 600 !important;
}
