

/* Start:/local/templates/citadel/components/bitrix/news/catalog_products/bitrix/news.list/.default/style.css?17794034054931*/
/* =========================================================
   Каталог товаров — стили для Bitrix-шаблона
   Воспроизводят дизайн cnord.ru/katalog.html
   ========================================================= */

/* --- Сетка карточек --- */
.equipment {
  flex-flow: wrap;
  place-content: stretch flex-start;
  align-items: flex-start;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-right: 5px;
  display: flex;
}

.block-start {
  margin-top: 70px;
}

/* --- Карточка товара --- */
.equipment-item {
  flex: 0 auto;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  display: block;
  position: static;
  overflow: hidden; /* Было visible — теперь hidden, чтобы обрезать выход за границы */
  max-width: 250px; /* Добавляем максимальную ширину */
}

/* Ссылка-обёртка карточки */
.equipment-item .link-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: 12px;
  text-decoration: none;
  overflow: hidden; /* Дополнительная страховка */
}

/* --- Картинка --- */
.equipment-image {
  text-align: center;
  display: block;
  overflow: hidden; /* Было visible — теперь hidden */
  width: 100%; /* Занимает всю ширину родителя */
}

.equipment-image.cat {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 273px;
  display: flex;
  overflow: hidden; /* Страховка от выхода изображения */
}

.equipment-image-placeholder {
  width: 215px;
  height: 215px;
  background: #f2f2f2;
}

.image-no-paddings {
  margin-top: 0;
  margin-bottom: 2px;
  margin-right: 10px;
  padding-bottom: 4px;
  display: block; /* Было inline-block — меняем на block */
  overflow: hidden;
  max-width: 100%;
  max-height: 100%; /* Добавляем ограничение по высоте */
  width: auto; /* Автоматическая ширина */
  height: auto; /* Автоматическая высота */
  object-fit: contain; /* Современный способ вписывания изображения */
  vertical-align: middle;
}

/* --- Подпись карточки --- */
.equipment-label {
  text-align: center;
  max-width: 250px;
  min-height: 140px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* --- Название товара --- */
.equipment-name {
  color: #0b0b0b;
  text-align: center;
  min-height: 50px;
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 28px;
  text-decoration: none;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-item .link-block:hover .equipment-name {
  color: #00cf7f;
  text-decoration: none;
}

/* --- Описание / подзаголовок --- */
.equipment-price {
  color: #666;
  text-align: center;
  font-size: 18px;
  line-height: 22px;
  text-decoration: none;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-block-3 {
  margin-bottom: 10px;
  display: block;
}

/* --- Цена (основная) --- */
.cat-price-block {
  color: #0b0b0b;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
  width: 100%;
}

/* --- Старая цена (зачёркнутая) --- */
.cat-price-old {
  color: #999;
  font-size: 18px;
  text-decoration: line-through;
  margin-right: 6px;
}

/* --- Жёлтая метка скидки --- */
.price-label {
  color: #000;
  background-color: #ffe777;
  padding: 3px 5px 1px;
  display: inline-block;
  margin-bottom: 4px;
}

/* --- Дата публикации --- */
.news-date-time {
  color: #999;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

/* --- Дополнительные поля --- */
.equipment-extra-prop {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: 4px;
}

/* --- Пагинация --- */
.catalogue-pager {
  width: 100%;
  padding: 20px 10px;
  font-size: 16px;
}

/* =========================================================
   Адаптивная сетка
   ========================================================= */

/* Планшет (≤ 991px): 2 колонки */
@media screen and (max-width: 991px) {
  .equipment {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-right: 0;
  }

  .equipment-item {
    margin-left: 0;
    margin-right: 0;
    max-width: none; /* Убираем ограничение на планшетах */
  }

  .equipment-label {
    max-width: 100%;
  }
}

/* Телефон (≤ 479px): 1 колонка */
@media screen and (max-width: 479px) {
  .equipment {
    grid-template-columns: 1fr;
  }
}
/* End */
/* /local/templates/citadel/components/bitrix/news/catalog_products/bitrix/news.list/.default/style.css?17794034054931 */
