.daily-stocks-filter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.daily-stocks-filter__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 10px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.daily-stocks-filter__item:hover {
  border-color: #9ca3af;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
  transform: translateY(-1px);
}

.daily-stocks-filter__item--active {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
  background: #eff6ff;
}

.daily-stocks-filter__image {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f3f4f6;
}

.daily-stocks-filter__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  padding: 8px;
}

.daily-stocks-filter__content {
  min-width: 0;
  flex: 1;
}

.daily-stocks-filter__title {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daily-stocks-filter__article {
  margin-top: 2px;
  color: #6b7280;
  font-size: 14px;
}

.daily-stocks-filter__footer {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.daily-stocks-filter__vendor {
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  color: #111827;
}

.daily-stocks-filter__wb-link {
  color: #2563eb;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .daily-stocks-filter {
    grid-template-columns: 1fr;
  }

  .daily-stocks-filter__item {
    min-height: 96px;
    padding: 8px;
    gap: 10px;
  }

  .daily-stocks-filter__image {
    width: 72px;
    height: 72px;
  }

  .daily-stocks-filter__title {
    font-size: 16px;
  }

  .daily-stocks-filter__vendor {
    font-size: 20px;
  }

  .daily-stocks-filter__wb-link {
    font-size: 14px;
  }
}
