/* AI concierge widget — Port City Beasts. Scoped under .pcb-concierge
   so it can never collide with the site's own styles. Amber bubble with
   dark text matches the site's CTA buttons (--amber #F9B717 on
   --ink #111827). STAGING BUILD ONLY — this file ships only in the
   staging site copy until David approves go-live. */
.pcb-concierge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  font-family: inherit;
}

.pcb-concierge-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f9b717;
  color: #111827;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.pcb-concierge-bubble:hover {
  background: #ff833d;
  color: #111827;
}

.pcb-concierge-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(370px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 110px));
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pcb-concierge-header {
  background: #111827;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.pcb-concierge-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pcb-concierge-sparkle {
  color: #f9b717;
  flex: none;
}
.pcb-concierge-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}
.pcb-concierge-sub {
  font-size: 12.5px;
  opacity: 0.85;
  margin-top: 2px;
}
.pcb-concierge-sub a {
  color: #f9b717;
  text-decoration: underline;
}
.pcb-concierge-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.pcb-concierge-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f7f5f0;
}
.pcb-concierge-intro p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}
.pcb-concierge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcb-concierge-chips button {
  background: #fff;
  border: 1.5px solid #111827;
  color: #111827;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  cursor: pointer;
}
.pcb-concierge-chips button:hover {
  background: #f9b717;
}

.pcb-concierge-msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.pcb-concierge-msg a {
  text-decoration: underline;
  word-break: break-all;
}
.pcb-concierge-msg-bot {
  background: #fff;
  border: 1px solid #e3ded2;
  align-self: flex-start;
}
.pcb-concierge-msg-bot a {
  color: #b35400;
  font-weight: 600;
}
.pcb-concierge-msg-user {
  background: #111827;
  color: #fff;
  align-self: flex-end;
}
.pcb-concierge-typing {
  opacity: 0.7;
  font-style: italic;
}

.pcb-concierge-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e3ded2;
  background: #fff;
}
.pcb-concierge-form input {
  flex: 1;
  border: 1.5px solid #c9c2b2;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14.5px;
  min-width: 0;
}
.pcb-concierge-form button {
  background: #f9b717;
  color: #111827;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
}
.pcb-concierge-form button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pcb-concierge-note {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  padding: 0 10px 8px;
  background: #fff;
}

@media (max-width: 480px) {
  .pcb-concierge {
    right: 12px;
    bottom: 12px;
  }
  .pcb-concierge-panel {
    bottom: 60px;
    height: min(520px, calc(100dvh - 96px));
  }
}

/* Inline Contact-page entry block ("Fastest answer — ask our AI
   helper"). Lives in page content on contact.html (staging only);
   its button carries data-pcb-concierge-open, which concierge.js
   binds to open the same chat panel as the bubble. */
.pcb-concierge-cta {
  background: var(--cream, #fff9ef);
  border: 1.5px solid var(--amber, #f9b717);
  border-radius: var(--radius, 14px);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: var(--shadow, 0 10px 30px rgba(17, 24, 39, 0.12));
}
.pcb-concierge-cta-text {
  flex: 1 1 260px;
}
.pcb-concierge-cta-text h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pcb-concierge-cta-text h2 svg {
  color: #b97e04;
  flex: none;
}
.pcb-concierge-cta-text p {
  margin: 0;
  color: var(--ink-soft, #2a3242);
}
