.pk-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #050a30;
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 10, 48, .28);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pk-chat-launcher:hover { background: #0a1458; }
.pk-chat-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1080;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  background: #fff;
  color: #243044;
  border: 1px solid #e6eaf2;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(5, 10, 48, .18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}
.pk-chat-panel.is-open { display: flex; }
.pk-chat-head {
  background: #050a30;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pk-chat-head strong { display: block; font-size: 15px; }
.pk-chat-head span { display: block; font-size: 12px; color: #d5dcf0; }
.pk-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pk-chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f7f9fc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pk-chat-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.pk-chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e6eaf2;
}
.pk-chat-msg.user {
  align-self: flex-end;
  background: #050a30;
  color: #fff;
}
.pk-chat-msg.bot a {
  color: #f25252;
  font-weight: 700;
  text-decoration: none;
}
.pk-chat-msg.bot a:hover { text-decoration: underline; }
.pk-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pk-chat-chips button {
  border: 1px solid #d4e3ff;
  background: #e6f0ff;
  color: #050a30;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}
.pk-chat-chips button:hover { background: #050a30; color: #fff; }
.pk-chat-more {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #243044;
}
.pk-chat-more a {
  color: #f25252;
  font-weight: 700;
  text-decoration: none;
}
.pk-chat-more a:hover { text-decoration: underline; }
.pk-chat-slider {
  position: relative;
  margin-top: 8px;
}
.pk-chat-rail {
  display: flex;
  gap: 0;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.pk-chat-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}
.pk-chat-arrow {
  position: absolute;
  top: 78px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #050a30;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  display: grid;
  place-items: center;
}
.pk-chat-arrow.prev { left: 8px; }
.pk-chat-arrow.next { right: 8px; }
.pk-chat-arrow:hover { background: #0a1458; }
.pk-chat-arrow:disabled { opacity: .35; cursor: default; }
.pk-chat-rail.cats { gap: 10px; }
.pk-chat-cat {
  flex: 0 0 calc(50% - 5px);
  scroll-snap-align: start;
  box-sizing: border-box;
  min-height: 128px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
}
.pk-chat-cat img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}
.pk-chat-cat i { font-size: 28px; color: #050a30; }
.pk-chat-cat span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: #050a30;
}
.pk-chat-cat:hover { border-color: #050a30; }
.pk-chat-slider.cats .pk-chat-arrow { top: 50px; }
.pk-chat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #fff;
  display: block;
}
.pk-chat-card .body { padding: 8px 10px 10px; }
.pk-chat-card small { color: #7b8494; font-size: 11px; }
.pk-chat-card h4 {
  margin: 2px 0 6px;
  font-size: 13px;
  line-height: 1.3;
  min-height: 2.6em;
  color: #243044;
}
.pk-chat-card .price { color: #050a30; font-weight: 700; font-size: 14px; }
.pk-chat-card .before {
  color: #9aa3b2;
  text-decoration: line-through;
  font-size: 12px;
  margin-right: 6px;
  font-weight: 500;
}
.pk-chat-card button {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #050a30;
  background: #fff;
  color: #050a30;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pk-chat-card button:hover { background: #050a30; color: #fff; }
.pk-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e6eaf2;
  background: #fff;
}
.pk-chat-form input {
  flex: 1;
  border: 1px solid #d9e1ee;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}
.pk-chat-form input:focus { border-color: #050a30; }
.pk-chat-form button {
  border: 0;
  background: #f25252;
  color: #fff;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}
