/* Переключатель вида: Плитка / Список */
.lot-view-toggle {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 0.75rem;
}
.lot-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  color: #7a7a7a;
  transition: all 0.15s;
}
.lot-view-toggle__btn:hover {
  border-color: #b5b5b5;
  color: #363636;
}
.lot-view-toggle__btn.is-active {
  border-color: #eca404;
  color: #eca404;
  background: #fff9eb;
}

/* По умолчанию list-блоки скрыты */
.lot-card__list-info {
  display: none;
}

/* === LIST MODE === */
.lots-container--list .lot-card__grid-header {
  display: none;
}
.lots-container--list .lot-card__grid-content {
  display: none;
}
.lots-container--list .lot-card__list-info {
  display: flex;
}

/* Колонки: 2 на строку в list-режиме (desktop) */
.lots-container--list > .column {
  flex: none;
  width: 50%;
}

/* Карточка в list-режиме: горизонтальный flex */
.lots-container--list .card_box {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 180px;
}

/* Изображение в list-режиме */
.lots-container--list .lot-card__grid-image {
  flex: 0 0 200px;
  max-width: 200px;
  overflow: hidden;
}
.lots-container--list .lot-card__grid-image .thumbs {
  height: 200px !important;
}

/* Контент в list-режиме */
.lot-card__list-info {
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5em 0.75em;
  min-width: 0;
}
.lot-card__list-info .lot-list-title {
  font-size: 0.95rem;
  color: #363636;
  font-weight: 500;
  margin-bottom: 0.3em;
  line-height: 1.3;
}
.lot-card__list-info .lot-list-category {
  font-size: 0.8rem;
  color: #485fc7;
  margin-bottom: 0.3em;
}
.lot-card__list-info .lot-list-about {
  font-size: 0.8rem;
  color: #7a7a7a;
  margin-bottom: 0.4em;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.lot-card__list-info .lot-list-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .lots-container--list > .column {
    width: 100%;
  }
  .lots-container--list .card_box {
    flex-direction: column;
  }
  .lots-container--list .lot-card__grid-image {
    flex: none;
    max-width: 100%;
  }
  .lots-container--list .lot-card__grid-image .thumbs {
    height: 200px !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .lots-container--list > .column {
    width: 100%;
  }
}
