/* Store */
#allrecords .t-rec .t-store{
 padding-top:1px;
}

/* Сняты с продажи (08.11.2026): без кнопки «Сообщить о поступлении» и без показа в поиске по сайту
   445698884942 — Гинкго билоба + витамины группы В */
[data-product-uid="445698884942"] .js-out-of-stock-inserted-block,
[data-product-gen-uid="445698884942"] .js-out-of-stock-inserted-block,
.t-site-search-dm__result__product[href*="445698884942"]{
 display:none !important;
}

/* Корзина, скидка «НАБОРЫ»: не показываем строку «В акции не участвуют: …» (09.11.2026) */
.cb-note__sub{
 display:none !important;
}

/* Цены на витрине: обычная слева, цена к оплате справа */
.cp-s__b-prices > .cp-s__b-old,
.cp-g__prices > .cp-g__price-old,
.pb-item__price > .pb-item__old {
  order: -1;
}

.pb-item__price:has(> .pb-item__old) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 2px 6px;
}

#allrecords :is(.js-store-price-wrapper, .t744__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper):has(> .js-store-prod-price-old) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

#allrecords :is(.js-store-price-wrapper, .t744__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper) > .js-store-prod-price-old {
  order: -1;
}

#allrecords :is(.js-store-price-wrapper, .t744__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper):has(> .js-store-prod-price-old) > :is(.js-store-prod-price, .js-store-prod-price-old) {
  margin-inline: 0 !important;
}

/* Ручные страницы наборов (ST760) */
#allrecords .t760__price-wrapper:has(> .t760__price_old) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

#allrecords .t760__price-wrapper > .t760__price_old {
  order: -1;
}

#allrecords .t760__price-wrapper:has(> .t760__price_old) > .t760__price-item {
  margin-inline: 0 !important;
}

/* Карточки каталога Tilda */
#allrecords :is(.t776__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper):has(> :is(.t776__price_old, .t-store__card__price_old, .t-store__prod-popup__price_old)) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

#allrecords :is(.t776__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper) > :is(.t776__price_old, .t-store__card__price_old, .t-store__prod-popup__price_old) {
  order: -1;
}

#allrecords :is(.t776__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper):has(> :is(.t776__price_old, .t-store__card__price_old, .t-store__prod-popup__price_old)) > :is(.t776__price-item, .t-store__card__price-item, .t-store__prod-popup__price-item) {
  margin-inline: 0 !important;
}

/* Витрина: прежняя цена красная, цена со скидкой зелёная */
#allrecords :is(.cp-s__b-old, .cp-g__price-old, .pb-price-old, .pb-item__old, .mg-balance-price__old, .js-store-prod-price-old, .t744__price_old, .t760__price_old, .t776__price_old, .t-store__card__price_old, .t-store__prod-popup__price_old) {
  color: #ad1730 !important;
  text-decoration: line-through;
  text-decoration-color: #ad1730;
}

#allrecords :is(.pb-price-current, .mg-balance-price__new),
#allrecords .cp-s__b-prices:has(> .cp-s__b-old) > .cp-s__b-price,
#allrecords .cp-g__prices:has(> .cp-g__price-old:not(:empty)) > .cp-g__price-current,
#allrecords .pb-item__price:has(> .pb-item__old),
#allrecords :is(.js-store-price-wrapper, .t744__price-wrapper, .t760__price-wrapper, .t776__price-wrapper, .t-store__card__price-wrapper, .t-store__prod-popup__price-wrapper):has(> :is(.js-store-prod-price-old, .t744__price_old, .t760__price_old, .t776__price_old, .t-store__card__price_old, .t-store__prod-popup__price_old)) > :is(.js-store-prod-price, .t744__price, .t760__price, .t776__price, .t-store__card__price, .t-store__prod-popup__price) {
  color: #1b6d37 !important;
}

#allrecords :is(.js-store-prod-price, .js-store-prod-price-old, .t744__price, .t744__price_old, .t760__price, .t760__price_old, .t776__price, .t776__price_old, .t-store__card__price, .t-store__card__price_old, .t-store__prod-popup__price, .t-store__prod-popup__price_old) > :is([class*="__price-value"], [class*="__price-currency"]) {
  color: inherit;
}

/* Знак рубля в числовых полях карточек каталога */
#allrecords .cp-g__prices > :is(.cp-g__price-old, .cp-g__price-current):not(:empty)::after {
  content: "\00a0\20bd";
}
