/* ══════════════════════════════════════
   БАЗОВЫЙ СБРОС ШРИФТА — корень проблемы
══════════════════════════════════════ */
body {
  font-family: TildaSans, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Arial, sans-serif;
}

/* Карточки — шрифт без uc-tovary контекста (глобально) */
.t-storecard .t-typographytitle,
.t-storecard .t-name,
.t-storecard .t-typographydescr,
.t-storecard .t-descr {
  font-family: TildaSans, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Arial, sans-serif !important;
}

/* ══════════════════════════════════════
   ТОКЕНЫ
══════════════════════════════════════ */
.uc-tovary {
  --hc:              #C00D0D;
  --hc-h:            #A00B0B;
  --hc-a:            #830808;
  --ct-accent-light: rgba(192,13,13,.08);
  --bg:              #F3F4F6;
  --sur:             #FFFFFF;
  --sur2:            #F9FAFB;
  --brd:             #E5E7EB;
  --tx:              #111827;
  --tx2:             #374151;
  --tx3:             #6B7280;
  --r-sm:            8px;
  --r-md:            12px;
  --r-lg:            16px;
  --s1:              0 1px 4px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.05);
  --s2:              0 6px 28px rgba(0,0,0,.11), 0 2px 8px rgba(0,0,0,.06);
  --ease:            cubic-bezier(.16,1,.3,1);
}

/* ══════════════════════════════════════
   ФОН
══════════════════════════════════════ */
.uc-tovary.t-rec,
.uc-tovary .t951 {
  background-color: var(--bg) !important;
}

.uc-tovary .t-store__filter__range_bg {
        background-color: #c00d0d !important;
        height: 5px !important;
 }

/* ══════════════════════════════════════
   КАРТОЧКИ — ПРАВИЛЬНЫЕ КЛАССЫ
══════════════════════════════════════ */
.uc-tovary .t-storestretch-col {
  background: var(--sur) !important;
  border: 1.5px solid var(--brd) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--s1) !important;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease) !important;
  display: flex !important;
  flex-direction: column !important;
}
.uc-tovary .t-storestretch-col:hover {
  box-shadow: var(--s2) !important;
  transform: translateY(-4px) !important;
}

.uc-tovary .t-storecardimgwrapper4-3 {
  background: var(--sur2) !important;
  border-bottom: 1px solid #F0F0F0 !important;
  overflow: hidden !important;
}
.uc-tovary .t-storecardimgwrapper4-3 img {
  object-fit: contain !important;
  padding: 20px !important;
  transition: transform .3s var(--ease) !important;
}
.uc-tovary .t-storestretch-col:hover .t-storecardimgwrapper4-3 img {
  transform: scale(1.05) !important;
}

/* Название */
.uc-tovary .t-storecard .t-typographytitle,
.uc-tovary .t-storecard .t-name {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.3 !important;
  padding: 16px 18px 4px !important;
  font-family: TildaSans, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
}

/* Описание */
.uc-tovary .t-storecard .t-typographydescr,
.uc-tovary .t-storecard .t-descr,
.uc-tovary .t-storecard .t-descrxxs,
.uc-tovary .t-storecard .t-text,
.uc-tovary .t-storecard p {
  font-size: 16px !important;
  color: var(--tx3) !important;
  line-height: 1.6 !important;
  padding: 4px 18px 8px !important;
  font-family: TildaSans, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
}

/* Цена */
.uc-tovary .t-storecardprice {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--tx) !important;
  letter-spacing: -0.03em !important;
  padding: 8px 18px 12px !important;
  line-height: 1.1 !important;
}

/* Кнопка */
.uc-tovary .t-storecardbtn,
.uc-tovary .t-btnflex.t-storecardbtn {
  background: var(--hc) !important;
  color: #FFF !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 13px 20px !important;
  margin: 0 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 28px) !important;
  box-shadow: 0 2px 10px rgba(192,13,13,.28) !important;
  transition: background .18s var(--ease), box-shadow .18s, transform .18s !important;
  text-decoration: none !important;
}
.uc-tovary .t-storecardbtn:hover {
  background: var(--hc-h) !important;
  box-shadow: 0 4px 18px rgba(192,13,13,.42) !important;
  transform: translateY(-1px) !important;
}
.uc-tovary .t-storecardbtn .t-btnflextext {
  color: #FFF !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════
   САЙДБАР — ПРАВИЛЬНЫЕ КЛАССЫ
══════════════════════════════════════ */
.uc-tovary .t951sidebar {
  background: var(--sur) !important;
  border: 1.5px solid var(--brd) !important;
  border-radius: var(--r-lg) !important;
  padding: 24px 18px !important;
  box-shadow: var(--s1) !important;
  align-self: flex-start !important;
}
@media screen and (min-width: 961px) {
  .uc-tovary .t951sidebar {
    position: sticky !important;
    top: 90px !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--brd) transparent !important;
  }
}

.uc-tovary .t951sidebar a,
.uc-tovary .t-storefilter-item,
.uc-tovary .t-storeparts-sublist a,
.uc-tovary .t-storefilterbtn-text,
.uc-tovary .t951sidebar label,
.uc-tovary .t951sidebar .t-radioitem label,
.uc-tovary .t951sidebar .t-checkboxesitem label {
  font-size: 16px !important;
  color: var(--tx2) !important;
  line-height: 1.5 !important;
  padding: 5px 8px !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: background .15s, color .15s !important;
}
.uc-tovary .t-storeparts-switch-btn {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
}
.uc-tovary .t951sidebar a:hover,
.uc-tovary .t-storefilter-item:hover,
.uc-tovary .t951sidebar label:hover {
  background: var(--ct-accent-light) !important;
  color: var(--hc) !important;
}
.uc-tovary .t951sidebar a.t-active,
.uc-tovary .t951sidebar a.active,
.uc-tovary .t-storefilter-item.t-active,
.uc-tovary .t-storefilteritem.t-active,
.uc-tovary .t-storefilterchosen-item {
  background: var(--ct-accent-light) !important;
  color: var(--hc) !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
}
.uc-tovary .t-storefilterrangebg {
  background-color: var(--hc) !important;
}

/* Анимация */
@keyframes heliCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(1){animation:heliCardIn .32s .00s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(2){animation:heliCardIn .32s .07s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(3){animation:heliCardIn .32s .14s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(4){animation:heliCardIn .32s .21s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(5){animation:heliCardIn .32s .28s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(6){animation:heliCardIn .32s .35s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(7){animation:heliCardIn .32s .42s var(--ease) both}
.uc-tovary .t951grid-cont .t-storestretch-col:nth-child(8){animation:heliCardIn .32s .49s var(--ease) both}