

/* Start:/local/templates/main/components/bitrix/catalog.smart.filter/main/style.css?1787809967442*/
/* catalog.smart.filter / main — дополнения к catalog-items-filter.css */

.sok_catalog-filter .smart-filter-popup-result {
  display: none !important;
}

.sok_catalog-filter-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.sok_catalog-section-empty {
  margin: 0;
  padding: 40px 0;
  color: var(--color-neutral-500, #64748b);
  font-size: 16px;
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.item/card/style.css?17878187796176*/
/* BX catalog.item / card — карточка товара для плитки и карусели
   Важно: все селекторы с :not(._list), иначе после AJAX-переключения
   плитка→список эти правила остаются в DOM и обрезают свойства списка
   (max-height: 150px на .product_content и overflow: hidden на карточке). */

.sok_card_product:not(._list) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  min-height: 310px;
  padding: 0;
  background: var(--color-plate, #f1f5f9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: background var(--transition, 0.2s);
}

.sok_card_product:not(._list):hover {
  background: var(--color-plate-hover, #dfe6ee);
}

.sok_card_product:not(._list) .product-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 160px;
  min-height: 160px;
  max-height: 160px;
  padding: 10px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
}

.sok_card_product:not(._list) .product-img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: darken;
  border-radius: 0;
}

.sok_card_product:not(._list) .product_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 150px;
  flex: 0 0 150px;
  min-height: 150px;
  max-height: 150px;
  padding: 12px 8px;
  row-gap: 0;
}

.sok_card_product:not(._list) .product_content_top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sok_card_product:not(._list) .article,
.sok_card_product:not(._list) .article span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
  color: #2c4053;
  opacity: 0.7;
  word-break: break-word;
}

.sok_card_product:not(._list) .product_name a {
  display: -webkit-box;
  width: 100%;
  min-height: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-heading, #1e2b4a);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  word-break: break-word;
}

.sok_card_product:not(._list) .product_name a:hover {
  color: var(--color-accent, #2d74ce);
}

.sok_card_product:not(._list) .product_price {
  display: grid;
  grid-template-columns: 1fr 40px;
  column-gap: 4px;
  align-items: end;
  width: 100%;
  margin-top: 0;
}

.sok_card_product:not(._list) .product_price-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sok_card_product:not(._list) .stock .in-stock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border-radius: 2px;
  color: var(--color-in-stock, #258715);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.7;
}

.sok_card_product:not(._list) .stock .in-stock img {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.sok_card_product:not(._list) .old_price {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 21px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.sok_card_product:not(._list) .old_price span,
.sok_card_product:not(._list) .old_price .old_price-amount,
.sok_card_product:not(._list) .old_price .old_price-currency {
  text-decoration: line-through;
}

.sok_card_product:not(._list) .price {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 5px;
  flex: 1;
  min-width: 0;
  min-height: 24px;
  color: var(--color-heading, #1e2b4a);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.sok_card_product:not(._list) .price-prefix {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.sok_card_product:not(._list) .price-value {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.sok_card_product:not(._list) .product_price-cart {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.sok_card_product:not(._list) .in_card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--color-blue, #2d74ce);
  box-shadow: none;
  cursor: pointer;
  transition: background var(--transition, 0.2s);
}

.sok_card_product:not(._list) .in_card:hover,
.sok_card_product:not(._list) .in_card._active {
  background: var(--color-blue-hover, #245fa8);
}

.sok_card_product:not(._list) .in_card img {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .sok_card_product:not(._list) {
    height: 100%;
    min-height: 280px;
  }

  .sok_card_product:not(._list) .product-img {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }

  .sok_card_product:not(._list) .product_content {
    height: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 8px;
    gap: 12px;
    justify-content: flex-start;
  }

  .sok_card_product:not(._list) .article,
  .sok_card_product:not(._list) .article span {
    font-size: 10px;
    min-height: 11px;
  }

  .sok_card_product:not(._list) .product_name a {
    font-size: 11px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .sok_card_product:not(._list) .old_price {
    font-size: 12px;
    min-height: 17px;
  }

  .sok_card_product:not(._list) .price-prefix {
    font-size: 11px;
  }

  .sok_card_product:not(._list) .price-value {
    font-size: 15px;
  }

  .sok_card_product:not(._list) .product_price {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: auto;
  }

  .sok_card_product:not(._list) .price {
    min-height: 0;
  }

  .sok_card_product:not(._list) .in_card {
    width: 100%;
    height: 32px;
  }

  .sok_card_product:not(._list) .in_card img {
    width: 13px;
    height: 13px;
  }
}

/* End */
/* /local/templates/main/components/bitrix/catalog.smart.filter/main/style.css?1787809967442 */
/* /local/templates/main/components/bitrix/catalog.item/card/style.css?17878187796176 */
