#pelubot-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99999;
  font-family: Arial, Helvetica, sans-serif;
}

#pelubot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #d63384;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

#pelubot-panel {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 340px;
  max-width: 90vw;
  height: 460px;
  max-height: 70vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pelubot-hidden {
  display: none !important;
}

#pelubot-header {
  background: #d63384;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#pelubot-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

#pelubot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #faf7f8;
}

.pelubot-msg {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}

.pelubot-bot {
  background: #eee;
  color: #333;
  border-bottom-left-radius: 2px;
}

.pelubot-user {
  background: #d63384;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 2px;
}

.pelubot-loading {
  font-style: italic;
  opacity: 0.7;
}

.pelubot-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.pelubot-product-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}

.pelubot-product-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pelubot-product-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.pelubot-product-name {
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

.pelubot-product-price {
  font-size: 13px;
  color: #d63384;
  font-weight: bold;
}

#pelubot-form {
  display: flex;
  border-top: 1px solid #eee;
}

#pelubot-input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

#pelubot-form button {
  border: none;
  background: #d63384;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
}
