.t-btn,
.t-btnflex {
  background-color: #D5B47B !important;
  color: #101614 !important;
  border-color: #D5B47B !important;
}

.t-btn *,
.t-btnflex * {
  color: #101614 !important;
}

#rec3428891001 .t-btn,
#rec3428891001 .t-btnflex {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.7) !important;
}

#rec3428891001 .t-btn *,
#rec3428891001 .t-btnflex * {
  color: #ffffff !important;
}

.t-store__card__imgwrapper {
  height: 0 !important;
  padding-bottom: 133.333% !important;
  overflow: hidden !important;
}

.t-store__card__bgimg {
  background-size: cover !important;
  background-position: center !important;
}

.fainy-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #D5B47B;
  border-radius: 50%;
  background: #D5B47B;
  color: #101614;
  font-size: 26px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  box-shadow: 0 6px 18px rgba(16,22,20,.18);
}

.fainy-scroll-top_visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .fainy-scroll-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 23px;
    line-height: 42px;
  }
}

#rec3414025601 .t-btn,
#rec3414025601 .t-btnflex {
  background-color: #111111 !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}


/* Скрыть кнопку "Купить на WB" на карточках каталога — единственная кнопка WB должна быть в футере */
.t-store__card .js-store-prod-btn {
  display: none !important;
}
.t-store__card .js-store-prod-btn2 {
  width: 100% !important;
}


/* === Мобильный макет главной (I'm FAINY, вариант "Компактная витрина") === */
@media screen and (max-width: 640px) {
  /* Обложка: короче по высоте, картинка по центру */
  #rec3359711601 .t-cover,
  #rec4059701201 .t-cover {
    height: 70vh !important;
    min-height: 420px !important;
  }
  #rec3359711601 .t-cover__filter,
  #rec4059701201 .t-cover__filter {
    background-position: center !important;
  }

  /* Каталог товаров: сетка 2x2 вместо списка в столбик */
  #rec3445470601 .t-card__col.t-col_4 {
    width: 50% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  #rec3445470601 .t-card__title {
    font-size: 16px !important;
  }
  #rec3445470601 {
    padding-top: 40px !important;
    padding-bottom: 10px !important;
  }

  /* Топ продаж: убираем криво расположенные стрелки, аккуратный свайп с "подглядыванием" следующей карточки */
  #rec3428891001 .t1196__controls {
    display: none !important;
  }
  #rec3428891001 .t1196__scroll-icon-wrapper {
    display: none !important;
  }
  #rec3428891001 .t1196__items {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #rec3428891001 .t1196__item {
    width: 82% !important;
    flex: 0 0 82% !important;
    scroll-snap-align: start !important;
  }
  #rec3428891001 {
    padding-top: 30px !important;
    padding-bottom: 10px !important;
  }
}
