.messageContainerAgent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.messageContainerUser {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 16px;
}

.messageBubbleAgent {
  max-width: 70%;
  background-color: #eeeeee;
  color: #616161;
  border-radius: 4px;
  padding: 10px 12px;
}

.messageBubbleUser {
  max-width: 70%;
  background-color: #9100df;
  color: white;
  border-radius: 4px;
  padding: 10px 12px;
}

.messageText {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  word-wrap: break-word;
  margin: 0;
}

.timestamp {
  font-size: 10px;
  color: #616161;
  margin-top: 8px;
  font-weight: 400;
}

.productsContainer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #9100df #e0e0e0;
}

.productCard {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
  min-width: 200px;
  max-width: 220px;
}

.productCard:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.productImage {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.productInfo {
  padding: 12px;
}

.productTitle {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.productPrice {
  font-size: 16px;
  font-weight: 700;
  color: #9100df;
  margin: 0 0 8px 0;
}

.productLink {
  display: inline-block;
  font-size: 12px;
  color: #9100df;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.productLink:hover {
  color: #7a00b8;
}

@media (min-width: 640px) {
  .messageBubbleAgent,
  .messageBubbleUser {
    max-width: 360px;
  }

  .productsContainer {
    max-width: 360px;
  }
}
