/* Мобильный листинг развлечений (макет mini-card 168x264, node 24:11537).
   Страницы каталога живут во вьюпорте 480, поэтому размеры × 480/393 —
   на телефоне карточка совпадает с макетом. */

.lst2026 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 12px 16px 24px;
  box-sizing: border-box;
}

.lst2026--row {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lst2026--row::-webkit-scrollbar {
  display: none;
}

.lst2026 a,
.lst2026 a:hover,
.lst2026 a:visited {
  color: #09034b;
  text-decoration: none;
  border-bottom: 0;
}

.lst2026 button {
  font-family: "TT Prosto Sans", "Prosto", sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.lst2026-item {
  display: flex;
  width: calc(50% - 6px);
}

.lst2026--row .lst2026-item {
  flex: 0 0 205px;
  width: 205px;
}

.lst2026-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #ecf1f5;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  color: #09034b;
}

.lst2026-card__pic {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 59.5%;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 0;
}

.lst2026-card__pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.lst2026-act {
  position: absolute;
  top: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
}

.lst2026-act--compare { left: 10px; }
.lst2026-act--fav { right: 10px; }

.lst2026-act img {
  display: block;
  width: 20px;
  height: 20px;
  border: 0;
}

.lst2026-card__name {
  display: block;
  margin: 0;
  padding: 10px;
  height: 80px;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.lst2026-card__name span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: 60px;
}

.lst2026-card--more .lst2026-card__name {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 80px;
  overflow: visible;
  text-align: center;
  padding: 12px 16px;
}

.lst2026-card--more .lst2026-card__name span {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.lst2026-status {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 66px;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: visible;
}

.lst2026-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 22px;
  overflow: hidden;
}

.lst2026-line--top {
  overflow: visible;
}

.lst2026-meta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 22px;
}

.lst2026-meta img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
}

.lst2026-meta span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lst2026-people {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lst2026-age {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  flex: 0 0 24px;
  box-sizing: border-box;
  border: 1px solid #09034b;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  padding: 1px 0 0;
}

.lst2026-price {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  margin-top: auto;
  padding: 8px 12px;
  box-sizing: border-box;
  font-size: 22px;
  font-weight: 700;
  line-height: 29px;
}

.lst2026-price__value {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lst2026-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lst2026-cart__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  border-radius: 17px;
  background: #ed1d51;
  box-sizing: border-box;
}

.lst2026-cart--added .lst2026-cart__pill {
  border: 1px solid #ed1d51;
  background: #fde8ed;
}

.lst2026-cart__pill img {
  width: 20px;
  height: 20px;
  border: 0;
}

.lst2026 .cart-counter {
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #ed1d51;
  box-sizing: border-box;
  overflow: hidden;
}

.lst2026 .cart-counter__num {
  display: block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 10px;
  text-align: center;
}

/* Веб-чат: лента на всю ширину реплики, как прежние .chat-cards */
.chat-ai-msg .lst2026,
.msg-bubble .lst2026 {
  margin: 12px -20px 4px;
  padding: 0 20px 8px;
  width: auto;
  overflow-wrap: normal;
  word-break: normal;
}

/* Старые правила div.courses .courses_list div.course не должны сжимать новую карточку. */
div.courses .lst2026.courses_list div.lst2026-card.course {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  background: #fff;
  border: 1px solid #ecf1f5;
  border-radius: 20px;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

div.courses .lst2026.courses_list div.lst2026-card.course img {
  margin: 0;
  border-radius: 0;
}

div.courses .lst2026.courses_list div.lst2026-card.course a,
div.courses .lst2026.courses_list div.lst2026-card.course a:hover,
div.courses .lst2026.courses_list div.lst2026-card.course a:visited {
  color: #09034b;
  border: 0;
  border-bottom: 0;
  letter-spacing: normal;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
