.bwczat {
  --c-pink: #E21752;
  --c-purple: #56256A;
  --c-text: #3C3C3B;
  --c-line: #e7dee6;
  font-family: "Titillium Web", sans-serif;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(20, 4, 30, .12);
  overflow: hidden;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  text-align: left;
}
.bwczat__head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: linear-gradient(100deg, var(--c-purple) 0%, var(--c-pink) 100%); color: #fff; }
.bwczat__dot { width: 12px; height: 12px; border-radius: 50%; background: #7CF0B0; box-shadow: 0 0 0 4px rgba(124, 240, 176, .25); flex: 0 0 12px; }
.bwczat__title { font-weight: 700; font-size: 18px; line-height: 1.2; }
.bwczat__sub { font-size: 14px; opacity: .9; }
.bwczat__log { height: 400px; max-height: 62vh; overflow-y: auto; padding: 18px 16px 8px; background: #faf7f9; display: flex; flex-direction: column; gap: 10px; }
.bwczat__msg { display: flex; }
.bwczat__msg--user { justify-content: flex-end; }
.bwczat__bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; }
.bwczat__msg--bot .bwczat__bubble { background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 4px; }
.bwczat__msg--user .bwczat__bubble { background: var(--c-pink); color: #fff; border-bottom-right-radius: 4px; }
.bwczat__msg--err .bwczat__bubble { background: #fff5f8; border-color: #f4c2d1; }
.bwczat__bubble a { color: var(--c-pink); font-weight: 600; }
.bwczat__typing { display: inline-flex; gap: 5px; align-items: center; }
.bwczat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-purple); opacity: .4; animation: bwczat-dot 1s infinite ease-in-out; }
.bwczat__typing span:nth-child(2) { animation-delay: .15s; }
.bwczat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bwczat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.bwczat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 6px; background: #faf7f9; }
.bwczat__chips[hidden] { display: none; }
.bwczat__chip { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--c-pink); color: var(--c-pink); background: #fff; border-radius: 999px; padding: 6px 14px; transition: background .15s, color .15s; }
.bwczat__chip:hover, .bwczat__chip:focus-visible { background: var(--c-pink); color: #fff; outline: none; }
.bwczat__form { display: flex; gap: 10px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--c-line); background: #fff; }
.bwczat__input { flex: 1; font: inherit; font-size: 16px; resize: none; border: 1px solid #d9cdd6; border-radius: 10px; padding: 11px 12px; min-height: 46px; line-height: 1.4; background: #fff; color: var(--c-text); }
.bwczat__input:focus { outline: none; border-color: var(--c-pink); box-shadow: 0 0 0 3px rgba(226, 23, 82, .15); }
.bwczat__send { font: 700 14px/1 "Titillium Web", sans-serif; text-transform: uppercase; color: #fff; cursor: pointer; background: var(--c-pink); border: 0; border-radius: 30px; padding: 16px 24px; transition: background .2s; }
.bwczat__send:hover { background: var(--c-purple); }
.bwczat__send:disabled, .bwczat__input:disabled { opacity: .55; cursor: default; }
.bwczat__note { font-size: 12.5px; color: #6b6b6a; margin: 0; padding: 0 16px 14px; background: #fff; line-height: 1.45; }
.bwczat__note a { color: var(--c-pink); }
.bwczat__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .bwczat { border-radius: 12px; }
  .bwczat__log { height: 55vh; }
  .bwczat__bubble { max-width: 90%; }
  .bwczat__send { padding: 14px 16px; }
}
/* ---------- nawigacja ---------- */
.bwczat__nav { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #6b6b6a; padding: 0 4px; }
.bwczat__nav a { color: var(--c-purple); font-weight: 700; text-decoration: none; }
.bwczat__nav a::before { content: "→ "; }
.bwczat__nav a:hover { color: var(--c-pink); }
.bwczat__stay { font: inherit; font-size: 12.5px; background: none; border: 0; color: #6b6b6a; text-decoration: underline; cursor: pointer; padding: 0; }
.bwczat__htxt { flex: 1; min-width: 0; }

.bwczat__sugrow { display: flex; padding-left: 2px; }
.bwczat__sug { display: inline-block; font-size: 14px; font-weight: 700; color: var(--c-pink); background: #fff; border: 1px solid var(--c-pink); border-radius: 999px; padding: 6px 14px; text-decoration: none; transition: background .15s, color .15s; }
.bwczat__sug:hover, .bwczat__sug:focus-visible { background: var(--c-pink); color: #fff; outline: none; }

/* ---------- okno pływające ---------- */
.bwczat-teaser { position: relative; max-width: 280px; margin: 0 0 10px; background: #fff; color: #3C3C3B; border-radius: 14px 14px 4px 14px; padding: 12px 30px 12px 14px; box-shadow: 0 12px 30px rgba(20, 4, 30, .22); font-size: 14px; line-height: 1.45; cursor: pointer; }
.bwczat-teaser[hidden] { display: none; }
.bwczat-teaser p { margin: 0; }
.bwczat-teaser__x { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 20px; line-height: 1; color: #888; cursor: pointer; padding: 2px 4px; }
.bwczat-float.is-open .bwczat-teaser { display: none; }
.bwczat-float { position: fixed; right: 20px; bottom: 20px; z-index: 99990; display: flex; flex-direction: column; align-items: flex-end; font-family: "Titillium Web", sans-serif; }
.bwczat-launch { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: linear-gradient(100deg, #56256A 0%, #E21752 100%); color: #fff; font: 700 15px/1 "Titillium Web", sans-serif; padding: 15px 22px; border-radius: 40px; box-shadow: 0 12px 30px rgba(20, 4, 30, .28); }
.bwczat-launch:hover { filter: brightness(1.07); }
.bwczat-float.is-open .bwczat-launch { display: none; }
.bwczat--float { display: none; width: 390px; max-width: calc(100vw - 24px); margin: 0; box-shadow: 0 22px 60px rgba(20, 4, 30, .3); }
.bwczat-float.is-open .bwczat--float { display: block; }
.bwczat--float .bwczat__head { padding: 12px 14px 12px 18px; }
.bwczat--float .bwczat__title { font-size: 16px; }
.bwczat--float .bwczat__sub { font-size: 12.5px; }
.bwczat--float .bwczat__log { height: 380px; max-height: calc(100vh - 290px); }
.bwczat--float .bwczat__note { font-size: 11.5px; }
.bwczat__min { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.bwczat__min:hover { background: rgba(255, 255, 255, .32); }
@media (max-width: 560px) {
  .bwczat-float { right: 12px; bottom: 12px; left: auto; }
  .bwczat-float.is-open { left: 12px; align-items: stretch; }
  .bwczat--float { width: auto; max-width: none; }
  .bwczat--float .bwczat__log { height: 52vh; max-height: none; }
}

/* ---------- prezentacja możliwości ---------- */
.bwczat__hbtn { flex: 0 0 auto; font: 700 12.5px/1 "Titillium Web", sans-serif; color: #fff; background: rgba(255, 255, 255, .18); border: 0; border-radius: 30px; padding: 9px 12px; cursor: pointer; white-space: nowrap; }
.bwczat__hbtn:hover { background: rgba(255, 255, 255, .32); }
.bwczat__hbtn[hidden] { display: none; }
.bwczat__chip--demo { background: var(--c-pink); color: #fff; }
.bwczat__chip--demo:hover { background: var(--c-purple); border-color: var(--c-purple); }
.bwczat__choices { display: flex; flex-wrap: wrap; gap: 7px; }
.bwczat__choices .bwczat__chip { font-size: 13.5px; padding: 6px 12px; }
.bwczat__chip:disabled { opacity: .45; cursor: default; }
.bwczat__chip.is-chosen { opacity: 1; background: var(--c-pink); color: #fff; }
.bwczat__step { align-self: center; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-purple); background: #efe6f2; border-radius: 20px; padding: 4px 12px; margin-top: 6px; }
.bwczat__typing-txt { font-style: normal; font-size: 13px; color: #6b6b6a; margin-left: 6px; }
.bwczat__msg--wide > * { max-width: 100%; width: 100%; }
.bwczat__msg--alt .bwczat__bubble { background: #f3ecf6; border-color: #dccbe4; }
.bwczat__box { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.bwczat__box > strong { display: block; color: var(--c-purple); margin-bottom: 8px; font-size: 15px; }
.bwczat__box p { margin: 8px 0 0; }
.bwczat__box ul { margin: 6px 0 0; padding-left: 18px; }
.bwczat__box .bwczat__chip { margin-top: 10px; }
.bwczat__table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.35; }
.bwczat__table th, .bwczat__table td { border-top: 1px solid var(--c-line); padding: 6px 6px; text-align: left; vertical-align: top; }
.bwczat__table thead th { color: #fff; background: var(--c-purple); border: 0; }
.bwczat__table tbody th { font-weight: 700; color: var(--c-text); }
.bwczat__cards { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.bwczat__card { flex: 0 0 200px; scroll-snap-align: start; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--c-text); display: flex; flex-direction: column; font-size: 13px; }
.bwczat__card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.bwczat__card strong { padding: 8px 10px 2px; color: var(--c-purple); font-size: 14px; }
.bwczat__card span { padding: 0 10px 10px; color: #6b6b6a; }
.bwczat__card:hover strong { color: var(--c-pink); }
.bwczat__audit { list-style: none; padding: 0 !important; margin: 0; }
.bwczat__audit li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--c-line); padding: 5px 0 5px 22px; position: relative; font-size: 13px; }
.bwczat__audit li::before { position: absolute; left: 0; font-weight: 700; }
.bwczat__audit li.ok::before { content: "✓"; color: #1d9a5b; }
.bwczat__audit li.bad::before { content: "!"; color: var(--c-pink); left: 4px; }
.bwczat__audit b { white-space: nowrap; }
.bwczat__wf { border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; background: #fff; font-size: 12.5px; }
.bwczat__wf-bar { background: #3C3C3B; color: #fff; font-weight: 700; padding: 6px 10px; font-size: 12px; }
.bwczat__wf-s { padding: 10px 12px; border-top: 1px dashed #d9cdd6; display: flex; flex-direction: column; gap: 3px; }
.bwczat__wf-s small { text-transform: uppercase; font-size: 10px; letter-spacing: .06em; color: #a08aa8; }
.bwczat__wf-s strong { color: var(--c-text); font-size: 14px; }
.bwczat__wf-s span { color: #6b6b6a; }
.bwczat__wf-s em { align-self: flex-start; font-style: normal; background: var(--c-pink); color: #fff; border-radius: 20px; padding: 3px 10px; font-size: 11.5px; margin-top: 4px; }
.bwczat__wf-s--hero { background: linear-gradient(100deg, #efe6f2 0%, #fdeef3 100%); padding: 16px 12px; }
.bwczat__wf-s--hero strong { font-size: 16px; color: var(--c-purple); }
.bwczat__wf-grid { display: flex; gap: 6px; margin-top: 4px; }
.bwczat__wf-grid i { flex: 1; height: 28px; background: #f1edf0; border-radius: 6px; }
.bwczat__thumb { max-width: 160px; max-height: 160px; border-radius: 10px; border: 1px solid var(--c-line); }
.bwczat--docked { position: fixed !important; right: 20px; bottom: 20px; width: 390px; max-width: calc(100vw - 24px); z-index: 99990; margin: 0 !important; box-shadow: 0 22px 60px rgba(20, 4, 30, .3); }
.bwczat--docked .bwczat__log { height: 380px; max-height: calc(100vh - 290px); }
.bwczat__placeholder { max-width: 760px; margin: 0 auto; padding: 40px 20px; text-align: center; border: 2px dashed #e7dee6; border-radius: 18px; color: #6b6b6a; font-family: "Titillium Web", sans-serif; }
.bwczat-spot { position: fixed; z-index: 99980; border: 3px solid #E21752; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(20, 4, 30, .38); pointer-events: none; animation: bwczat-pulse 1.2s ease-in-out infinite; }
@keyframes bwczat-pulse { 0%, 100% { border-color: #E21752; } 50% { border-color: #ff7aa2; } }
.bwczat-hand { position: fixed; z-index: 99985; pointer-events: none; animation: bwczat-hand 1s ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
@keyframes bwczat-hand { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -6px); } }
.bwczat-changed { outline: 2px dashed #E21752; outline-offset: 6px; }
.bwczat-filled { box-shadow: 0 0 0 3px rgba(226, 23, 82, .35) !important; }
html.bwa-big .elementor, html.bwa-big .bw-hdr, html.bwa-big footer { zoom: 1.18; }
html.bwa-contrast .elementor, html.bwa-contrast .bw-hdr, html.bwa-contrast footer { filter: contrast(1.45) saturate(1.15); }
html.bwa-links .elementor a, html.bwa-links footer a { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 700; }
@media (max-width: 560px) {
  .bwczat--docked { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .bwczat__hbtn { padding: 8px 9px; font-size: 11.5px; }
  .bwczat__sub { display: none; }
}
