/* Главный контейнер текстовой части + опций */
.store__card__wrap_txt-and-opts {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex-grow: 1 !important;
}

/* Ссылка с названием, артикулом и ценой */
.store__card__wrap_txt-and-opts > a {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 100% !important;
}

/* Внутренняя текстовая обёртка */
.t-store__card__textwrapper {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* Название товара — максимум 2 строки */
.t-store__card__title,
.js-store-prod-name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
  min-height: 2.6em !important;
  margin-bottom: 6px !important;
}

/* Артикул */
.t-store__card__sku {
  min-height: 1.3em !important;
  margin-bottom: 8px !important;
}

/* Цена + "Нет в наличии" — резервируем место */
.t-store__card__price-wrapper,
.js-store-price-wrapper {
  min-height: 48px !important;
  margin-top: auto !important;
  margin-bottom: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* Сообщение "Нет в наличии" */
.js-store-prod-sold-out,
.t-store__card__sold-out-msg {
  margin-top: 4px !important;
  line-height: 1.2 !important;
}

/* Блок с размером */
.t-store__card__prod-controls-wrapper,
.js-product-controls-wrapper {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  min-height: 50px !important;
}

/* Кнопка "В ДЕТАЛЯХ" */
.store__card__wrap_txt-and-opts .t-btn,
.store__card__has-btns .t-btn {
  margin-top: auto !important;
}

/* eco-relevants 26.11: блок «рекомендуем» в карточке товара — как карточки в /collection */
@media (max-width:980px){
.t-store__prod-snippet__container{padding-top:10px !important;padding-bottom:30px !important}
.t-store__relevants__container .t-store__scroll-icon-wrapper{display:none !important}
.t-store__relevants__container .store__card__wrap_txt-and-opts{flex:0 0 auto !important;height:auto !important}
.t-store__relevants__container .t-store__card__textwrapper{flex:0 0 auto !important}
}
.t-store__relevants__container .t-store__card__title{-webkit-line-clamp:3 !important;margin-bottom:4px !important}
.t-store__relevants__container .t-store__card__textwrapper{padding-top:14px !important}
.t-store__relevants__container .t-store__card__price-wrapper{margin-top:4px !important;margin-bottom:0 !important;min-height:0 !important}
.t-store__relevants__container .t-store__card__prod-controls-wrapper{padding-top:18px !important;margin-top:0 !important;min-height:0 !important}
.t-store__relevants__container .t-store__card__prod-controls-wrapper .t-product__option{margin-top:0 !important}
.t-store__relevants__container .store__card__wrap_txt-and-opts{margin-bottom:24px !important}
.t-store__relevants__container a.t-btn.t-btnflex.t-store__card__btn{height:40px !important;min-height:40px !important;padding:0 18px !important;border:1px solid #d6d1c9 !important;border-radius:0 !important;background:transparent !important}
.t-store__relevants__container a.t-btn.t-btnflex.t-store__card__btn .t-btnflex__text{font-size:12px !important;font-weight:400 !important;letter-spacing:1.5px !important;color:#7d7a75 !important}
.t-store__relevants__container a.t-btn.t-btnflex.t-store__card__btn:hover{background:#8e9a85 !important;border-color:#8e9a85 !important}
.t-store__relevants__container a.t-btn.t-btnflex.t-store__card__btn:hover .t-btnflex__text{color:#fff !important}
@media (max-width:960px){.t-store__relevants__container a.t-btn.t-btnflex.t-store__card__btn{width:100% !important}}
/* eco-menu-up 26.11: меню разделов ближе к логотипу на телефоне */
@media (max-width:980px){
#allrecords .t-rec.r:has(.t951){padding-top:64px !important}
#allrecords .t951__sidebar .eco-cats,#allrecords .t951__sidebar .t-store__parts-switch-wrapper{margin-bottom:24px !important}
}

/* eco-no-separators 26.11: после перестановки карточек разделители рядов рвали сетку */
#allrecords .t-store__card-list>.t-store__grid-separator{display:none !important}
/* eco-row-gap 26.11: отступ между рядами карточек вместо разделителей */
#allrecords .t-store__card-list>.js-product.t-store__card{margin-bottom:70px !important}
@media (max-width:960px){#allrecords .t-store__card-list>.js-product.t-store__card{margin-bottom:0 !important}}
/* eco-seo-wide 26.11: нижний текст шире и ближе к карточкам */
#allrecords .eco-seo{max-width:1180px !important;margin-top:-30px !important}
#allrecords .eco-seo p{max-width:none !important}
@media (max-width:960px){#allrecords .eco-seo{margin-top:0 !important}}

/* eco-relevants-fix 26.11: отступы «Смотрите также» как в /collection */
html body #allrecords .t-store__relevants__container .js-product .store__card__wrap_txt-and-opts>a{display:block!important;height:auto!important;min-height:0!important;flex:0 0 auto!important}
html body #allrecords .t-store__relevants__container .js-product .t-store__card__textwrapper{height:auto!important;min-height:0!important}
html body #allrecords .t-store__relevants__container .js-product .t-store__card__title{font-size:16px!important;line-height:1.3!important;height:2.6em!important}
html body #allrecords .t-store__relevants__container .js-product .store__card__wrap_txt-and-opts>.js-product-controls-wrapper{padding-top:12px!important;margin-top:-3px!important}
html body #allrecords .t-store__relevants__container .js-product .store__card__wrap_txt-and-opts{margin-bottom:-2px!important}
@media (max-width:980px){
html body #allrecords .t-store__relevants__container .js-product .store__card__wrap_txt-and-opts>a{padding-top:2px!important}
html body #allrecords .t-store__relevants__container .js-product .t-store__card__title{font-size:14px!important}
}

/* eco-title4 26.11: длинные названия наборов не обрезать (до 4 строк) */
html body #allrecords .t-store__card-list>.js-product .t-store__card__title{-webkit-line-clamp:4!important}

/* eco-header-swap 26.11: шапка на компьютере — строки меняются местами с одинаковым отступом 15 px */
@media (min-width:980px){#customHeader .menu-container{row-gap:15px!important}#customHeader .logo{margin-top:0!important;margin-bottom:0!important;line-height:0!important}#customHeader .logo-img{vertical-align:top!important}#customHeader .menu{margin:0!important}}

/* eco-logo-same 26.11: логотип при наведении (Logob.svg) того же размера, что и обычный */
@media (min-width:980px){#customHeader #logoImg[src*="Logob"]{max-height:none!important;height:35px!important;width:175px!important;margin:-2.5px 0!important}}
