/* DaisyFind Live Chat — front-end widget (Intercom / Tidio style).
   Sits bottom-right, above typical back-to-top controls. Cookie banners stay bottom-left.
   All selectors are prefixed with dflc- to avoid theme collisions. */

.dflc-root, .dflc-root *,
.dflc-bubble, .dflc-bubble *,
.dflc-panel, .dflc-panel *,
.dflc-toast, .dflc-toast * { box-sizing: border-box; }

.dflc-root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--dflc-navy, #092148);
  z-index: 99980;
}

.dflc-shortcode-wrap { margin: 1.5rem 0; }

.dflc-start-button,
.dflc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--dflc-navy, #092148);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(9, 33, 72, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.dflc-start-button:hover,
.dflc-btn:hover { background: #0c2d63; color: #fff !important; transform: translateY(-1px); }
.dflc-start-button:focus-visible,
.dflc-btn:focus-visible,
.dflc-bubble:focus-visible,
.dflc-panel-close:focus-visible,
.dflc-send:focus-visible,
.dflc-quick button:focus-visible,
.dflc-human-bar button:focus-visible,
.dflc-attach:focus-within,
.dflc-compose textarea:focus-visible {
  outline: 3px solid var(--dflc-amber, #FCAD21);
  outline-offset: 2px;
}

/* ── Launcher (pill: logo + “Talk to us”) ── */
:root {
  /* Clears Astra back-to-top (~24–40px) and typical sticky bars. */
  --dflc-launcher-bottom: max(92px, calc(env(safe-area-inset-bottom, 0px) + 84px));
  --dflc-launcher-size: 56px;
  --dflc-launcher-gap: 12px;
}

/* Sit above sticky add-to-cart, cart, and checkout action bars. */
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-page.woocommerce-cart,
body.woocommerce-page.woocommerce-checkout,
body:has(.ast-sticky-add-to-cart),
body:has(.ast-sticky-to-cart),
body:has(.sticky-add-to-cart),
body:has(.wc-block-cart__submit-container),
body:has(.wc-block-checkout__actions_sticky) {
  --dflc-launcher-bottom: max(128px, calc(env(safe-area-inset-bottom, 0px) + 116px));
}

.dflc-bubble {
  position: fixed;
  right: 20px;
  bottom: var(--dflc-launcher-bottom);
  width: auto;
  height: var(--dflc-launcher-size);
  max-width: calc(100vw - 24px);
  border-radius: 999px;
  border: 0;
  padding: 4px 18px 4px 4px;
  background: var(--dflc-navy, #092148);
  color: #fff;
  box-shadow: 0 10px 28px rgba(9, 33, 72, 0.38);
  cursor: pointer;
  z-index: 99980;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, padding 0.22s ease, gap 0.22s ease;
}
.dflc-bubble:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(9, 33, 72, 0.42); }
.dflc-bubble-face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dflc-navy, #092148);
  box-shadow: 0 0 0 2px var(--dflc-amber, #FCAD21);
  pointer-events: none;
}
.dflc-bubble-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
.dflc-bubble-label {
  color: #fff;
  padding: 0 2px 0 0;
  font: inherit;
  pointer-events: none;
}
.dflc-bubble-x,
.dflc-bubble svg.dflc-bubble-x {
  width: 22px;
  height: 22px;
  fill: #fff;
  display: none;
}
.dflc-bubble.is-open {
  width: var(--dflc-launcher-size);
  padding: 4px;
  gap: 0;
  justify-content: center;
}
.dflc-bubble.is-open .dflc-bubble-avatar,
.dflc-bubble.is-open .dflc-bubble-label { display: none; }
.dflc-bubble.is-open .dflc-bubble-face { box-shadow: none; }
.dflc-bubble.is-open .dflc-bubble-x { display: block; }
.dflc-bubble-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--dflc-amber, #FCAD21);
  color: var(--dflc-navy, #092148);
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(9, 33, 72, 0.25);
  border: 2px solid #fff;
}
.dflc-bubble::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(252, 173, 33, 0.45);
  animation: dflc-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.dflc-bubble.is-open::after,
.dflc-bubble.has-unread::after { animation: none; border-color: transparent; }

@keyframes dflc-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ── Panel ── */
.dflc-panel {
  position: fixed;
  right: 20px;
  bottom: calc(var(--dflc-launcher-bottom) + var(--dflc-launcher-size) + var(--dflc-launcher-gap));
  width: min(390px, calc(100vw - 24px));
  height: min(600px, calc(100vh - 196px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(9, 33, 72, 0.28), 0 2px 8px rgba(9, 33, 72, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99981;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}
.dflc-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.dflc-panel-head {
  background: linear-gradient(160deg, var(--dflc-navy, #092148) 0%, #0c2d63 100%);
  color: #fff;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}
.dflc-head-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dflc-head-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 2px var(--dflc-amber, #FCAD21);
  flex-shrink: 0;
}
.dflc-panel-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: 0.01em;
}
.dflc-head-sub {
  font-size: 11px;
  color: #d5deee;
  margin-top: 1px;
}
.dflc-status {
  font-size: 12px;
  margin-top: 2px;
  color: var(--dflc-amber, #FCAD21);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dflc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dcf7a;
  box-shadow: 0 0 0 3px rgba(61, 207, 122, 0.25);
  flex-shrink: 0;
}
.dflc-status.is-offline { color: #d5deee; }
.dflc-status.is-offline .dflc-status-dot {
  background: #9aa6bb;
  box-shadow: none;
}
.dflc-panel-close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.dflc-panel-close:hover { background: rgba(255, 255, 255, 0.18); }

.dflc-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 10px;
  background:
    radial-gradient(1200px 240px at 0% -10%, rgba(252, 173, 33, 0.10), transparent 50%),
    #f6f4ef;
  -webkit-overflow-scrolling: touch;
}

/* ── Start form ── */
.dflc-intro {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.dflc-intro .dflc-msg { margin: 0; }
.dflc-start-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0 4px;
}
.dflc-start-form input[type="text"],
.dflc-start-form input[type="email"],
.dflc-start-form input[type="tel"] {
  width: 100%;
  border: 1px solid #c9d0dc;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--dflc-navy, #092148);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dflc-start-form input:focus {
  border-color: var(--dflc-navy, #092148);
  box-shadow: 0 0 0 3px rgba(9, 33, 72, 0.12);
  outline: none;
}
.dflc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.dflc-form-hint { font-size: 12px; color: #4a5870; margin: 8px 0 12px; }
.dflc-start-form .dflc-btn { width: 100%; margin-top: 10px; }
.dflc-error { color: #8a1f1f; font-size: 13px; margin: 8px 0; }

/* ── Messages ── */
.dflc-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 12px;
  max-width: 100%;
}
.dflc-msg-row--bot { justify-content: flex-start; }
.dflc-msg-row--visitor { justify-content: flex-end; }
.dflc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(9, 33, 72, 0.08);
}
.dflc-msg {
  max-width: 82%;
  width: fit-content;
  margin: 0;
  padding: 10px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(9, 33, 72, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dflc-msg-meta {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: #6a7386;
  margin: 0;
  font-weight: 600;
}
.dflc-msg-text {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.dflc-msg--visitor {
  background: var(--dflc-navy, #092148);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
}
.dflc-msg--visitor .dflc-msg-meta { color: #d5deee; }
.dflc-msg--bot {
  border-radius: 18px 18px 18px 4px;
  border: 1px solid rgba(252, 173, 33, 0.28);
  background: #fff;
}
.dflc-msg--system {
  max-width: 100%;
  background: transparent;
  box-shadow: none;
  border: 0;
  text-align: center;
  color: #4a5870;
  font-size: 13px;
  margin: 4px auto 12px;
  display: block;
}

.dflc-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dflc-thumbs a { display: block; }
.dflc-thumbs img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  border: 1px solid rgba(9, 33, 72, 0.12);
}

/* ── Typing ── */
.dflc-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  min-height: 40px;
}
.dflc-typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.dflc-typing-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dflc-navy, #092148);
  opacity: 0.35;
  animation: dflc-dot 1s ease-in-out infinite;
  display: block;
}
.dflc-typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.dflc-typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dflc-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ── Quick replies ── */
.dflc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 14px 36px;
}
.dflc-quick button {
  border: 1px solid rgba(9, 33, 72, 0.18);
  background: #fff;
  color: var(--dflc-navy, #092148);
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(9, 33, 72, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.dflc-quick button:hover {
  background: #fff8ea;
  border-color: var(--dflc-amber, #FCAD21);
  transform: translateY(-1px);
}
.dflc-chip-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  flex-shrink: 0;
}
.dflc-chip-icon svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.dflc-quick button[data-id="dflc_human"] {
  background: var(--dflc-amber, #FCAD21);
  border-color: var(--dflc-amber, #FCAD21);
  color: var(--dflc-navy, #092148);
}
.dflc-quick button[data-id="dflc_human"]:hover {
  background: #ffc14d;
}

/* ── Footer / composer ── */
.dflc-panel-foot {
  border-top: 1px solid #e4e7ee;
  background: #fff;
  padding: 10px 10px 12px;
  flex-shrink: 0;
}
.dflc-human-bar { margin-bottom: 8px; }
.dflc-human-bar button {
  width: 100%;
  border-radius: 999px;
  border: 0;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  background: var(--dflc-amber, #FCAD21);
  color: var(--dflc-navy, #092148);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.dflc-human-bar button:hover { background: #ffc14d; transform: translateY(-1px); }
.dflc-compose {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: flex-end;
}
.dflc-compose textarea {
  width: 100%;
  resize: none;
  border: 1px solid #c9d0dc;
  border-radius: 18px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  max-height: 120px;
  color: var(--dflc-navy, #092148);
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dflc-compose textarea:focus {
  border-color: var(--dflc-navy, #092148);
  box-shadow: 0 0 0 3px rgba(9, 33, 72, 0.10);
  outline: none;
}
.dflc-attach {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #eef1f6;
  cursor: pointer;
  color: var(--dflc-navy, #092148);
  font-size: 20px;
  transition: background 0.15s ease;
}
.dflc-attach:hover { background: #e1e6ef; }
.dflc-attach input { display: none; }
.dflc-send {
  background: var(--dflc-navy, #092148);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.dflc-send:hover { background: #0c2d63; transform: scale(1.05); }
.dflc-send svg { width: 18px; height: 18px; fill: currentColor; }
.dflc-pending { font-size: 11px; color: #4a5870; margin-top: 4px; }
.dflc-brand {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a93a5;
  margin: 6px 0 0;
}

/* ── Toast / preview bubble ── */
.dflc-toast {
  position: fixed;
  right: 20px;
  bottom: calc(var(--dflc-launcher-bottom) + var(--dflc-launcher-size) + var(--dflc-launcher-gap));
  width: min(320px, calc(100vw - 24px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(9, 33, 72, 0.22);
  padding: 12px 36px 12px 12px;
  z-index: 99982;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.dflc-toast.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dflc-toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dflc-toast-body { min-width: 0; }
.dflc-toast-from {
  font-size: 12px;
  font-weight: 700;
  color: var(--dflc-navy, #092148);
}
.dflc-toast-text {
  font-size: 13px;
  color: #3c4a63;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dflc-toast-close {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 0;
  background: transparent;
  color: #6a7386;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.dflc-toast-close:hover { background: #eef1f6; }

@media (max-width: 480px) {
  :root { --dflc-launcher-size: 48px; --dflc-launcher-bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 84px)); }
  body.single-product,
  body.woocommerce-cart,
  body.woocommerce-checkout,
  body.woocommerce-page.woocommerce-cart,
  body.woocommerce-page.woocommerce-checkout,
  body:has(.ast-sticky-add-to-cart),
  body:has(.ast-sticky-to-cart),
  body:has(.sticky-add-to-cart),
  body:has(.wc-block-cart__submit-container),
  body:has(.wc-block-checkout__actions_sticky) {
    --dflc-launcher-bottom: max(136px, calc(env(safe-area-inset-bottom, 0px) + 124px));
  }
  .dflc-bubble {
    right: 12px;
    padding: 4px 12px 4px 4px;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  .dflc-bubble-face { width: 40px; height: 40px; }
  .dflc-bubble.is-open { padding: 4px; }
  .dflc-panel {
    right: 8px;
    left: 8px;
    width: auto;
    height: min(72vh, calc(100vh - 170px));
    border-radius: 18px;
  }
  .dflc-toast {
    right: 8px;
    left: 8px;
    width: auto;
  }
  .dflc-quick { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dflc-panel,
  .dflc-toast,
  .dflc-bubble,
  .dflc-quick button,
  .dflc-send,
  .dflc-btn { transition: none; transform: none; }
  .dflc-bubble::after { animation: none; }
  .dflc-typing-dots i { animation: none; opacity: 0.7; }
}


/* ── Language picker & globe ── */
.dflc-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.dflc-lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease;
}
.dflc-lang-toggle:hover { background: rgba(255, 255, 255, 0.18); }
.dflc-lang-toggle svg {
  width: 18px;
  height: 18px;
  fill: #FCAD21;
}
.dflc-lang-picker {
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 16px;
  padding: 12px;
  margin: 4px 0 12px;
  box-shadow: 0 8px 20px rgba(9, 33, 72, 0.06);
}
.dflc-lang-picker.is-overlay { margin: 8px 2px 16px; }
.dflc-lang-prompt {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #092148;
}
.dflc-lang-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.dflc-lang-chip,
.dflc-quick button.dflc-lang-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border: 1px solid #d6dbe6;
  background: #fff8ea;
  color: #092148;
  border-radius: 14px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(9, 33, 72, 0.04);
}
.dflc-lang-chip .dflc-lang-name,
.dflc-quick button.dflc-lang-chip .dflc-lang-name {
  font-weight: 500;
  font-size: 11px;
  color: #4a5870;
}
.dflc-lang-chip.is-selected,
.dflc-lang-chip:hover,
.dflc-quick button.dflc-lang-chip:hover {
  background: #092148;
  border-color: #092148;
  color: #fff;
}
.dflc-lang-chip.is-selected .dflc-lang-name,
.dflc-lang-chip:hover .dflc-lang-name {
  color: #f3e7c5;
}
.dflc-lang-search {
  width: 100%;
  border: 1px solid #c9d0dc;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 14px;
  color: #092148;
  background: #f7f5f0;
}
.dflc-lang-search:focus {
  outline: none;
  border-color: #092148;
  box-shadow: 0 0 0 3px rgba(9, 33, 72, 0.12);
}
.dflc-lang-more-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: #6b7689;
}
.dflc-lang-cancel {
  margin-top: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #4a5870;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 6px;
}

/* ── Talk to human (above composer) ── */
.dflc-human-btn {
  width: 100%;
  margin: 0 0 8px;
  border: 0;
  border-radius: 16px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: linear-gradient(180deg, #ffd56a 0%, var(--dflc-amber, #FCAD21) 100%);
  color: var(--dflc-navy, #092148);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(252, 173, 33, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.dflc-human-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(252, 173, 33, 0.4);
}
.dflc-human-btn:focus-visible {
  outline: 3px solid #092148;
  outline-offset: 2px;
}
.dflc-human-btn-icon { font-size: 16px; line-height: 1; }
.dflc-human-btn.is-waiting {
  background: #f3efe6;
  color: #4a5870;
  box-shadow: none;
  cursor: default;
  font-weight: 600;
}

/* ── RTL ── */
.dflc-panel.is-rtl .dflc-msg-row--bot { flex-direction: row-reverse; }
.dflc-panel.is-rtl .dflc-msg-row--visitor { flex-direction: row-reverse; }
.dflc-panel.is-rtl .dflc-msg--bot { border-radius: 18px 18px 4px 18px; }
.dflc-panel.is-rtl .dflc-msg--visitor { border-radius: 18px 18px 18px 4px; }
.dflc-panel.is-rtl .dflc-quick { justify-content: flex-end; }
.dflc-panel.is-rtl .dflc-head-main { flex-direction: row-reverse; text-align: right; }
.dflc-panel.is-rtl .dflc-compose { direction: rtl; }
.dflc-panel.is-rtl .dflc-lang-chip,
.dflc-panel.is-rtl .dflc-quick button.dflc-lang-chip { align-items: flex-end; }
