/* ==========================================================================
   Awesome Walls chatbot – brand layer
   Load AFTER awesome-walls-chatbot-base.css.
   Brand: aubergine #291528, Awesome red #E52E22, Titillium Web + Figtree.
   ========================================================================== */

:root {
  --aw-primary: #291528;
  --aw-primary-dark: #1b0d1a;
  --aw-accent: #e52e22;
  --aw-accent-dark: #c4231a;
  --aw-info-bg: #fdecea;
  --aw-info-border: #f5c2bd;
  --aw-info-text: #5a1a16;
  --aw-bot-bg: #f5eff4;
  --aw-user-bg: #291528;
  --aw-user-text: #ffffff;
  --aw-radius: 20px;
  --aw-shadow: 0 12px 40px rgba(41, 21, 40, .32);
  --aw-font: 'Figtree', 'TitilliumWeb', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --aw-font-display: 'TitilliumWeb', 'Titillium Web', sans-serif;
}

#aw-chat-widget { font-family: var(--aw-font); }

/* ---- Launcher ----------------------------------------------------------- */
#aw-chat-toggle {
  background: var(--aw-accent);
  box-shadow: 0 6px 20px rgba(229, 46, 34, .45);
}
#aw-chat-toggle:hover { background: var(--aw-accent-dark); }
#aw-chat-toggle:focus-visible { outline: 3px solid var(--aw-primary); outline-offset: 3px; }
#aw-chat-widget.aw-open #aw-chat-toggle { background: var(--aw-primary); box-shadow: 0 6px 20px rgba(41, 21, 40, .45); }

/* ---- Panel + header ----------------------------------------------------- */
#aw-chat-panel { border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); overflow: hidden; }

#aw-chat-header {
  background: var(--aw-primary);
  border-bottom: 4px solid var(--aw-accent);
}
.aw-chat-avatar {
  background: var(--aw-accent);
  color: #fff;
  font-family: var(--aw-font-display);
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}
.aw-chat-title {
  font-family: var(--aw-font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.aw-chat-subtitle { color: #e4d6e2; }
#aw-chat-close:hover { background: rgba(255, 255, 255, .14); }
#aw-chat-close:focus-visible { outline: 2px solid var(--aw-accent); }

/* ---- Disclaimer strip --------------------------------------------------- */
#aw-chat-disclaimer {
  background: var(--aw-info-bg);
  border-bottom: 1px solid var(--aw-info-border);
  color: var(--aw-info-text);
}
#aw-chat-disclaimer svg { color: var(--aw-accent); fill: currentColor; }

/* ---- Messages ----------------------------------------------------------- */
#aw-chat-messages::-webkit-scrollbar-thumb { background: #d9c7d6; }
.aw-msg--bot .aw-bubble {
  background: var(--aw-bot-bg);
  color: #291528;
  border-radius: 18px 18px 18px 4px;
}
.aw-msg--user .aw-bubble {
  background: var(--aw-user-bg);
  color: var(--aw-user-text);
  border-radius: 18px 18px 4px 18px;
}
.aw-msg--bot .aw-bubble a { color: var(--aw-accent); font-weight: 600; text-underline-offset: 2px; }
.aw-msg--bot .aw-bubble a:hover { color: var(--aw-accent-dark); }
.aw-msg--typing .aw-bubble span { background: var(--aw-accent); }

/* ---- Quick-reply chips (centre picker etc.) ----------------------------- */
.aw-chips { gap: 8px; }

.aw-chip,
button.aw-chips,
.aw-chips button {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--aw-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--aw-primary);
  background: #fff;
  border: 2px solid var(--aw-primary);
  border-radius: 999px;            /* matches the pills in "Find a location" */
  padding: 9px 20px;
  cursor: pointer;
  box-shadow: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.aw-chip:hover,
button.aw-chips:hover,
.aw-chips button:hover {
  background: var(--aw-accent);
  border-color: var(--aw-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 46, 34, .35);
}
.aw-chip:active,
.aw-chips button:active { transform: translateY(0); background: var(--aw-accent-dark); border-color: var(--aw-accent-dark); color: #fff; box-shadow: none; }
.aw-chip:focus-visible,
.aw-chips button:focus-visible { outline: 3px solid rgba(229, 46, 34, .45); outline-offset: 2px; }

.aw-chips-label {
  font-family: var(--aw-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7a6479;
}

/* ---- Book CTA ----------------------------------------------------------- */
#aw-chat-book-cta {
  background: var(--aw-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--aw-font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
#aw-chat-book-cta:hover { background: var(--aw-accent-dark); transform: translateY(-1px); color: #fff; }

/* ---- Input area --------------------------------------------------------- */
#aw-chat-input-area { border-top: 1px solid #eadfe8; background: #fff; }
#aw-chat-typing-hint { color: #8a7489; font-style: italic; }

/* The pill lives on the form; the textarea inside stays borderless */
#aw-chat-form {
  background: var(--aw-bot-bg);
  border: 2px solid transparent;
  border-radius: 999px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
#aw-chat-form:focus-within {
  background: #fff;
  border-color: var(--aw-accent);
  box-shadow: 0 0 0 3px rgba(229, 46, 34, .15);
}
#aw-chat-form textarea#aw-chat-input,
#aw-chat-input {
  font-family: var(--aw-font);
  color: var(--aw-primary);
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}
#aw-chat-input:focus { outline: none; box-shadow: none; border: 0; background: transparent; }
#aw-chat-input::placeholder { color: #8a7489; }

#aw-chat-send {
  background: var(--aw-accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  transition: background .18s, transform .18s, opacity .18s;
}
#aw-chat-send:hover:not(:disabled) { background: var(--aw-accent-dark); transform: scale(1.06); }
#aw-chat-send:disabled { background: #cdbccb; opacity: 1; cursor: not-allowed; }
#aw-chat-send:focus-visible { outline: 3px solid rgba(229, 46, 34, .45); outline-offset: 2px; }

#aw-chat-footer-note { color: #8a7489; }

/* ---- Mobile ------------------------------------------------------------- */
@media (max-width: 480px) {
  .aw-chip, .aw-chips button { font-size: 14px; padding: 8px 16px; }
}