@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.chatboat_button img {
  width: 55px;
}
.chatboat_button {
  width: 60px;
  height: 60px;
  display: flex;
  /* background-color: #7C8B6C; */
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  
}

.chatboat_logo button {
  z-index: 999999;
  position: fixed;
  bottom: 10px;
  right: 20px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.chatboat_text h3 {
  margin: 10px;
  font-size: 25px;
  font-family: playfair display, serif;
  color: #474747;
}
.chatboat_text input {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}
.chatboat_input {
  display: flex;
  flex-direction: row;
}
.chatboat_text {
  position: fixed;   
  width: 380px;
  height: 77vh;
  bottom: 75px;
  right: 40px;
  background-color: #E8E8E8;
  color: #DBDFD0;
  display: flex;
  padding: 15px;
  border-radius: 10px;
  font-family: playfair display, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 9999; 
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px) scale(0.8) rotateX(10deg);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  transform-origin: center;
}

.chatboat_text.show {
  opacity: 1;
  visibility: visible;
    transform: translateY(0) scale(1) rotateX(0);

}




.chatboat_input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.chatboat_input_button button {
  color: rgb(199, 7, 80);
  border: none;
  border-radius: 5px;
  width: 30px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.textarea_wrapper {
  position: relative;
  width: 100%;
}

.textarea_wrapper textarea {
  width: 100%;
  padding: 10px 45px 10px 10px;
  border-radius: 5px;
  font-size: 16px;
  resize: none;
  overflow-y: auto;
  line-height: 1.4;
  outline: none;
  font-family: "Playfair Display", sans-serif;
  box-sizing: border-box;
  border: #b3002b 1px solid;
}

.textarea_wrapper .send_btn {
  position: absolute;
  right: 10px;
  bottom: 20px;
  background: transparent;
  color: rgb(199, 7, 80);
  border: none;
  font-size: 25px;
  cursor: pointer;
}
.chat_messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin-bottom: 10px;

  scrollbar-width: thin;   
  margin-right:-15px; ;       
  scrollbar-color: #bbb transparent;
}
.chat_messages::-webkit-scrollbar {
  width: 6px;   
}

.chat_messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat_messages::-webkit-scrollbar-thumb {
  background-color: #bbb; 
  border-radius: 10px;
}
.chat_messages .message {
  padding: 8px 12px;
  border-radius: 10px;
  margin: 5px 0;
  max-width: 70%;
  word-wrap: break-word;
  font-size: 14px;
}

.chat_messages .user {
  background: #b3002b;   
  align-self: flex-end;  
  border-bottom-right-radius: 0;
  color: #DBDFD0;
  margin-right: 18px;
}

.chat_messages .bot {
  background: #b3002b; 
  color: #DBDFD0; 
  align-self: flex-start; 
  border-bottom-left-radius: 0;
}


.products-container { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.product-card { width: 350px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.product-image { width: 100%; height: 300px; background-color: #e9e9e9; background-size: cover; background-position: center; }
.product-details { padding: 10px; font-size: 14px; color: #111; }
.product-price { font-weight: 700; margin-bottom: 6px; }
.product-name { font-weight: 600; margin-bottom: 6px; }
.product-description { color: #444; margin-top: 6px; }


