body {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0px;
}
#chat-toggle-main {
  padding: 20px;
}
main {
  max-width: 960px;
  margin: 0 auto;
}
/* --- Chat Toggle Button Styling --- */
#chat-toggle-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #c5a47e;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease;
}
#chat-toggle-button:hover {
  transform: scale(1.1);
}
#chat-toggle-button img {
  width: 32px;
  height: 32px;
}
/* --- Chat Container (Popup) Styling --- */
#chat-container {
  /* Positioning */
  position: fixed;
  bottom: 90px; /* 20px (button margin) + 60px (button height) + 10px (gap) */
  right: 20px;
  z-index: 1000;
  /* Size and Base Style */
  width: 400px;
  height: 600px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden;
  /* --- Initial State for Animation (hidden) --- */
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none; /* Can't interact with it when hidden */
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* --- Open State for Animation (visible) --- */
#chat-container.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto; /* Can interact with it now */
}
/* --- All previous chatbot styles remain the same below --- */
#chat-header {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0; /* Prevents header from shrinking */
}
#logo {
  width: 40px; /* Adjusted size for SVG logo */
  height: 40px;
  margin-bottom: 10px;
}
#chat-header h2 {
  margin: 0;
  color: #333;
  font-weight: 600;
}
#chat-header p {
  margin: 5px 0 0;
  color: #888;
  font-size: 0.9em;
}
#chat-window {
  flex-grow: 1;
  padding: 20px 10px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#chat-window::-webkit-scrollbar-track
{
	background-color: #F5F5F5;
}

#chat-window::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

#chat-window::-webkit-scrollbar-thumb
{
	background-color: #c9c9c9;
}

.message {
  display: flex;
  align-items: flex-end;
  max-width: 85%;
}
.bot-message,
.typing-message {
  align-self: flex-start;
}
.user-message {
  align-self: flex-end;
}
.message p {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px 10px;
  border-radius: 10px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  word-wrap: break-word;
}
.user-message p {
  background-color: #c5a47e;
  color: white;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  align-self: flex-start;
}
#input-container {
  display: flex;
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  background-color: #f8f8f8;
  flex-shrink: 0; /* Prevents input from shrinking */
  align-items: end;
}
/* #message-input {
  flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
} */

#message-input {
  border: 1px solid #ccc;
  flex-grow: 1;           /* Adjust width */
  max-height: 4.5em;       /* Roughly 3 lines (1.5em per line) */
  min-height: 1.5em;       /* 1 line height */
  padding: 5px 15px;
  font-size: 14px;
  border-radius: 10px;
  resize: none;            /* Prevent manual resizing */
  overflow-y: auto;        /* Scroll when content exceeds max-height */
  font-family: "Montserrat", sans-serif;
}


#message-input::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #fff;
}

#message-input::-webkit-scrollbar
{
	width: 6px;
	background-color: #fff;
}

#message-input::-webkit-scrollbar-thumb
{
	background-color: #c0c0c0;
}
#message-input:focus {
  outline: none;
  border-color: #c5a47e;
  font-size: 14px!important;
}
#send-button {
  background-color: #c5a47e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  margin-left: 10px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
#send-button:hover {
  background-color: #b3926a;
}
.product-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}


/* Updated Product Styles */
.product-container {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 5px;
  /* margin: 0 -20px; */
  padding: 10px 20px;
  align-items: center;
  justify-content: flex-start;
  min-height: 210px;
  scroll-behavior: smooth;
  align-items: start;
  
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  flex: 0 0 150px; /* Give cards a fixed width */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #fff;
  transition: transform 0.2s ease-in-out;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background-color: #f5f5f5;
}
.product-info {
  padding: 0px 5px 5px 5px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-name {
  font-weight: 500;
  color: #333;
  font-size: 10px;
  line-height: 1.3;
  margin-bottom: 5px;
}
.product-price {
  color: #c5a47e;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 10px;
}
.shop-button {
  display: inline-block;
  background-color: #333;
  font-size: 10px;
  color: white;
  padding: 5px 7px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: background-color 0.2s;
  margin-top: auto; /* Pushes button to the bottom */
  align-self: flex-start;
}
.shop-button:hover {
  background-color: #555;
}
/* ADD THIS CSS TO THE END OF YOUR styles.css FILE */
/* Category Buttons Styling */
.category-container {
  align-self: flex-start;
  margin-left: 40px; /* Aligns with the text in bot messages */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 5px;
  max-width: 85%; /* Match message width */
}
.category-button {
  background-color: #ffffff;
  border: 1px solid #c5a47e;
  color: #c5a47e;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-weight: 500;
}
.category-button:hover {
  background-color: #c5a47e;
  color: #ffffff;
}
/* ADD THIS CSS TO THE END OF your styles.css file */
/* Category Buttons Styling */
.category-container {
  align-self: flex-start;
  margin-left: 40px; /* Aligns with the text in bot messages */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 5px;
  max-width: 85%; /* Match message width */
}
.category-button {
  background-color: #ffffff;
  border: 1px solid #c5a47e;
  color: #c5a47e;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-weight: 500;
}
.category-button:hover {
  background-color: #c5a47e;
  color: #ffffff;
}
#mobile-header {
  display: none;
}

.product-container::-webkit-scrollbar {
  display: none;
}


.websend{
  display: block;
}
.mobilesend{
  display: none;
  width: 20px;
}
@media screen and (max-width: 992px) and (min-width: 310px) {
  body {
    overflow: hidden;
  }
  .websend{
    display: none;
  }
  .mobilesend{
    display: block;
  }
  #chat-toggle-button.hidden {
    display: none;
  }
  #chat-toggle-main.hidden {
    display: none;
  }
  #logo {
    display: none;
  }
  #chat-container {
    position: relative;
    bottom: 0;
    right: 0;
    z-index: 9;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    transform: none;
  }
  #mobile-header {
    display: flex;
    padding-bottom: 15px;
    align-items: center;
    justify-content: space-between;
  }
  #mobile-header img {
    max-width: 100%;
    width: 100px;
  }
  #chat-toggle-close img {
    width: 20px;
    background: rgb(197 164 126 / 55%);
    padding: 5px;
    border-radius: 50px;
  }
  #message-input {
    font-size: 14px;
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px;
  }
  #send-button {
    padding: 12px 15px;
  }
  #input-container {
    display: flex;
    padding: 10px;
  }
  #chat-container {
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  /* #chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
  } */

  #chat-window {
    height: 100dvh;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    box-sizing: border-box;
    overscroll-behavior: contain;
    padding-bottom: 70px !important;
  }
  #input-container {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
  }
  .product-container {
    display: flex;
    gap: 15px;
    padding: 10px 5px;
    margin: 0;
    padding: 10px 20px;
    min-height: 210px;
  }

  .product-name {
    font-size: 10px;
  }
  .product-price {
    font-size: 10px;
  }
  .shop-button {
    padding: 3px 8px;
    font-size: 8px;
  }
}



.eta-container{
  background-color: #f0f0f0;
  color: #333;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-left: 40px;
}


.eta-container ul {
  padding: 0px;
  margin: 0;
}



.eta-container ul li{
  list-style: none;
  padding-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.eta-container ul li::before{
  content: '';
  display: flex;
    align-self: baseline;
    border-style: solid;
    border-width: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border-color: transparent;
    color: #fff;
    background-color: #c5a47e;
    margin: 0.75rem 0rem;
    box-shadow: 0 0 0 3px #fce6cc;
    position: absolute;
    left: 0;
    top: 0;
}


.other-container {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  margin-left: 30px;
  max-width: 74%;
}

.other-container p{
  margin: 0;
}


.product-wrapper .arrow {
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 0px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}
.product-wrapper .arrow.left {
  left: 5px;
}
.product-wrapper .arrow.right {
  right: 5px;
}
.product-wrapper .arrow:hover {
  background: rgba(0,0,0,0.8);
}

.product-wrapper .arrow:disabled{
  display: none;
}




.feedback-buttons {
  margin-top: 5px;
  display: flex;
  gap: 8px;
  justify-content: end;
}

.feedback-buttons button {
  background: none;
  cursor: pointer;
  padding: 4px 7px;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
}

.feedback-buttons .thumb-icon {
  width: 15px;
  height: 15px;
  stroke: #000;     
  fill: none;        
  transition: fill 0.2s, stroke 0.2s;
  color: #7c7c7c;
}

.feedback-buttons button.selected .thumb-icon {
  color: #007bff;
}