/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/* Свойства товара в табличном представлении - 3 колонки */
.catalog-table__item-wrapper.properties.properties__container {
  --items-count: 3;
}

/* Адаптив для меньших экранов */
@media (max-width: 1200px) {
  .catalog-table__item-wrapper.properties.properties__container {
    --items-count: 2;
  }
}

@media (max-width: 768px) {
  .catalog-table__item-wrapper.properties.properties__container {
    --items-count: 1;
  }
}

/* Убрать пунктирное подчеркивание в подборках */
.landings-list__name span {
  border-bottom: none !important;
}

/* Убрать все подчеркивания в chip элементах */
.chip, 
.chip *, 
.chip__label,
.chip span {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
}

/* Убрать рамки у элементов подборок и изменить на grid */
.landings-list__name,
.chip {
  border: none !important;
}

.landings-list__info-wrapper .line-block.line-block--gap-8 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

/* Оптимизация расстояний в chip элементах */
.landings-list__info-wrapper .chip {
  --item-pl: 10px !important;
  --item-pr: 10px !important;
  --item-height: 32px !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.landings-list__info-wrapper .chip__label {
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 14px;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.landings-list__name {
  padding: 4px 8px 5px !important;
  margin-right: 0 !important;
  line-height: 1.4 !important;
}

.landings-list__item {
  padding-bottom: 0 !important;
}

/* Масштабирование изображений в карточках поставщиков */
.vertical-card__inner .ui-card__image,
.sale-list-card .ui-card__image {
  width: 100%;
  height: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-card__inner .ui-card__img,
.sale-list-card .ui-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.vertical-card__inner img,
.sale-list-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Исправление отображения алфавита на странице марок */
.head-block.head-block-letter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
  padding: 20px 35px !important;
}

.head-block.head-block-letter .item-link {
  flex: 0 0 auto !important;
  display: inline-flex !important;
}

/* Убрать обводку у элементов */
.head-block.bordered-block,
.box-shadow.bordered,
.bordered-block,
.item.bordered {
  border: none !important;
  box-shadow: none !important;
}