
.ai-luka-icon {
  display: inline-block;
  background-color: #86bc25;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  margin-left: 15px;
  z-index: 100000;
}
#ai-chat-widget {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  width: 360px;
  max-height: 600px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 8px solid #f1f1f2;
  z-index: 99999;
}
#ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #86bc25;
  color: white;
}
#ai-chat-body {
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  background: #fff;
}
.chat-message {
  max-width: 75%;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4em;
  word-wrap: break-word;
}
.chat-message.user {
  background-color: #86bc25;
  color: white;
  float: right;
  clear: both;
}
.chat-message.bot {
  background-color: #f1f1f2;
  color: #000;
  float: left;
  clear: both;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.product-card {
  width: 100px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  background: #fafafa;
}
.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.product-card h4 {
  font-size: 14px;
  margin: 6px 0;
}
.product-card p {
  font-size: 12px;
  margin: 0;
}
#ai-chat-input {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #fff;
}
#ai-chat-input input {
  flex-grow: 1;
  padding: 12px;
  border-radius: 20px;
  border: none;
  background-color: #f1f1f2;
  margin-right: 10px;
}
#ai-chat-input button {
  background: #86bc25;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 768px) {
  #ai-chat-widget {
    display: flex !important;
    position: fixed !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: 60px !important;
    right: 10px !important;
    left: 10px !important;
    width: calc(100vw - 20px) !important;
    height: 90vh !important;
    max-height: 90vh !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 10px !important;
    background: white;
    z-index: 100000 !important;
  }
  .ai-luka-icon {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100001 !important;
  }
}
