/* Showroom Shine chat widget: bottom-right launcher and panel */
.ss-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--pink, #d6336c);
  color: #fff;
  font: 600 15px/1 system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.ss-chat-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.ss-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 9999;
  display: none;
  flex-direction: column;
  width: min(360px, calc(100vw - 40px));
  height: min(540px, calc(100vh - 120px));
  background: #14161a;
  color: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow: hidden;
}
.ss-chat-panel.is-open { display: flex; }

.ss-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1c1f25;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ss-chat-head strong { font-size: 15px; }
.ss-chat-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.ss-chat-log {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.ss-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 12px;
  white-space: pre-line;
}
.ss-msg--bot { background: #22262d; align-self: flex-start; }
.ss-msg--me { background: var(--pink, #d6336c); color: #fff; align-self: flex-end; }

.ss-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
  max-height: 124px;
  overflow-y: auto;
  flex: 0 0 auto;
}
.ss-chip {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #f2f2f2;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.ss-chip:hover { border-color: var(--pink, #d6336c); }

.ss-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ss-chat-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0e1014;
  color: #fff;
  font: inherit;
}
.ss-chat-form button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--pink, #d6336c);
  color: #fff;
  font: 600 14px/1 system-ui, sans-serif;
  cursor: pointer;
}

/* Keep clear of the mobile call/book bar at the bottom of the screen */
@media (max-width: 768px) {
  .ss-chat-launcher { bottom: 92px; right: 14px; }
  .ss-chat-panel { bottom: 156px; right: 14px; }
}
