.container.trade {
  display: flex;
  width: 100%;  
  margin: 20px auto;
  gap: 20px;
  align-items: stretch; 
}

.left-area {
  flex: 8;
  background-color: #f8f9fa;
  padding: 0px;  
  border-radius: 8px;
  flex-direction: column;
}

.right-area {
  flex: 4;
  background-color: #e9ecef;
  padding: 30px;
  min-height: 400px;
  border: 2px solid #999; 
  border-radius: 8px; 
  position: relative;
}

.scroll-box {
  height: 360px;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  position: absolute;
  width: 100%;
}


.item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-part {
  margin-left: 12px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-part.main {
  text-align: center;
  font-weight: bold;
  width: 65px;
  flex-shrink: 0;
  padding-right: 12px;
  margin-left: 0;
  border-right: 1px solid #aaa;
}

.object-cover {
  object-fit: cover;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .scroll-box {
    height: 200px;
  }
  .right-area {    
    min-height: 300px;    
  }
}