.wooai-bubble{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#121826;
  color:#ffd400;
  font-weight:700;
  cursor:pointer;
  z-index: 999999;
  user-select:none;
}
.wooai-panel{
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 360px;
  max-width: calc(100% - 32px);
  height: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  direction: rtl;
  z-index: 999999;
  display: flex;
  flex-direction: column;
}
.wooai-panel.open{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.wooai-header{
  background: #121826;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.wooai-header .wooai-close{
  background: transparent;
  color: #fff;
  font-size: 20px;
  border: 0;
  cursor: pointer;
}
.wooai-messages{
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f6f7fb;
}
.wooai-input{
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e9e9ef;
  background: #fff;
}
.wooai-input input{
  flex: 1;
  border: 1px solid #e0e0ea;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.wooai-input button{
  border: 0;
  background: #ffd400;
  color: #121826;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
}
.wooai-msg{
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
  max-width: 85%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.wooai-msg.user{
  background: #e9f5ff;
  margin-left: auto;
}
.wooai-msg.bot{
  background: #fff;
  margin-right: auto;
}
.wooai-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.wooai-card{
  display: block;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.wooai-card img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #f2f2f2;
}
.wooai-card-body{
  padding: 8px;
}
.wooai-card-title{
  font-size: 12px;
  height: 36px;
  overflow: hidden;
}
.wooai-card-price{
  font-weight: 700;
  margin-top: 4px;
  color: #121826;
}
