/* Каталог: ровные карточки в контейнере Тильды, белый фон фото на всю ширину карточки */

.t-catalog__card-list {
  justify-content: center;
}

.t-catalog__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.t-catalog__card__imgwrapper,
.t-catalog__card__imgwrapper_1-1,
.t-catalog__card__imgwrapper_3-4,
.t-catalog__card__imgwrapper_4-3,
.t-catalog__card__imgwrapper_4-5 {
  box-sizing: border-box !important;
  aspect-ratio: auto !important;
  height: 240px !important;
  min-height: 240px !important;
  max-height: 240px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden !important;
  position: relative;
  background: #fff !important;
}

.t-catalog__card__bgimg {
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #fff !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.t-catalog__card__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  max-height: 2.7em;
  line-height: 1.35;
}

.t-catalog__card__descr {
  display: none !important;
}

.t-catalog__card .t-product__option {
  display: none !important;
}

.t-catalog__card__price-wrapper {
  margin-top: auto;
}

.t-catalog__card__price-wrapper .t-catalog__card__price,
.t-catalog__card__price-wrapper .t-catalog__card__price_old {
  display: inline-flex;
  align-items: baseline;
  margin: 0 6px 0 0;
}

.t-catalog__card__mark,
.t-catalog__card__btn-fav,
.t-catalog__card__wishlist {
  position: absolute;
}

#rec2315251411 .t686__col {
  min-height: 260px;
}

#rec2315251411 .t686__text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Подкатегории: те же таблетки, что у каталога — Tilda Sans, синий текст, бежевая пилюля */

.t-catalog__parts-switch-wrapper,
.swells-parts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.swells-parts {
  margin: 0 0 22px;
}

.t-catalog__parts-above-item .t-catalog__parts-switch-btn,
.swells-parts a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 12px;
  background: #e7e2d5;
  border: 0;
  border-radius: 110px;
  color: #004e9d;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.t-catalog__parts-above-item .t-catalog__parts-title,
.swells-parts a {
  color: #004e9d;
  font-family: TildaSans, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.t-catalog__parts-above-item .t-catalog__parts-switch-btn:hover,
.swells-parts a:hover {
  background: #ddd8c8;
  color: #004e9d;
}

.t-catalog__parts-above-item .t-catalog__parts-switch-btn.t-active,
.swells-parts a.is-current {
  background: #f5e1cc;
  color: #004e9d;
  opacity: 1;
}
