:root { --bp-chatbot-vh: 1vh; --bp-chatbot-vv-offset-top: 0px; }
.bp-chatbot-widget * { box-sizing: border-box; }
.bp-chatbot-widget, .bp-chatbot-widget input, .bp-chatbot-widget button { font-family: inherit; }
.bp-chatbot-launcher-hidden .bp-chatbot-toggle, .bp-chatbot-launcher-hidden .bp-chatbot-launcher-badge { display: none !important; }
.bp-chatbot-toggle {
  position: fixed;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--bp-chatbot-primary, #c4a962);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  cursor: pointer;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bp-chatbot-toggle:hover { transform: scale(1.06); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.bp-chatbot-toggle img, .bp-chatbot-launcher-image { width: 38px; height: 38px; display: block; object-fit: contain; border-radius: 50%; }
.bp-chatbot-launcher-text { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; line-height: 1; font-size: 29px; font-weight: 800; color: #fff; user-select: none; }
.bp-chatbot-position-bottom-right .bp-chatbot-toggle { right: 22px; bottom: 22px; }
.bp-chatbot-position-bottom-left .bp-chatbot-toggle { left: 22px; bottom: 22px; }
.bp-chatbot-position-top-right .bp-chatbot-toggle { right: 22px; top: 22px; }
.bp-chatbot-position-top-left .bp-chatbot-toggle { left: 22px; top: 22px; }
.bp-chatbot-launcher-badge {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(250px, calc(100vw - 108px));
  padding: 10px 12px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--bp-chatbot-text, #1f2933);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  border: 1px solid rgba(196,169,98,.18);
  z-index: 1011;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.96);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.bp-chatbot-launcher-badge:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid rgba(196,169,98,.18);
  border-bottom: 1px solid rgba(196,169,98,.18);
}
.bp-chatbot-launcher-badge-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.bp-chatbot-launcher-badge-text {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.6;
}
.bp-chatbot-launcher-badge-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.bp-chatbot-launcher-badge-close:hover {
  background: #e5e7eb;
  color: #111827;
}
.bp-chatbot-position-bottom-right .bp-chatbot-launcher-badge {
  right: 94px;
  bottom: 26px;
}
.bp-chatbot-position-bottom-right .bp-chatbot-launcher-badge:after {
  right: -7px;
  bottom: 22px;
  transform: rotate(-45deg);
}
.bp-chatbot-position-bottom-left .bp-chatbot-launcher-badge {
  left: 94px;
  bottom: 26px;
}
.bp-chatbot-position-bottom-left .bp-chatbot-launcher-badge:after {
  left: -7px;
  bottom: 22px;
  transform: rotate(135deg);
}
.bp-chatbot-position-top-right .bp-chatbot-launcher-badge {
  right: 94px;
  top: 26px;
}
.bp-chatbot-position-top-right .bp-chatbot-launcher-badge:after {
  right: -7px;
  top: 22px;
  transform: rotate(45deg);
}
.bp-chatbot-position-top-left .bp-chatbot-launcher-badge {
  left: 94px;
  top: 26px;
}
.bp-chatbot-position-top-left .bp-chatbot-launcher-badge:after {
  left: -7px;
  top: 22px;
  transform: rotate(-135deg);
}

.bp-chatbot-window {
  position: fixed;
  display: none;
  flex-direction: column;
  width: min(410px, calc(100vw - 24px));
  height: min(555px, calc(100vh - 24px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .28);
  overflow: hidden;
  z-index: 10030;
  color: var(--bp-chatbot-text, #1f2933);
  transition: width .2s ease, height .2s ease, max-width .2s ease, max-height .2s ease;
}
.bp-chatbot-window.bp-chatbot-window-large {
  width: min(760px, calc(100vw - 44px));
  height: min(760px, calc(100vh - 44px));
}
.bp-chatbot-window.open { display: flex; }
.bp-chatbot-position-bottom-right .bp-chatbot-window { right: 22px; bottom: 25px; }
.bp-chatbot-position-bottom-left .bp-chatbot-window { left: 22px; bottom: 25px; }
.bp-chatbot-position-top-right .bp-chatbot-window { right: 22px; top: 25px; }
.bp-chatbot-position-top-left .bp-chatbot-window { left: 22px; top: 25px; }

.bp-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid #edf0f2;
  flex: 0 0 auto;
}
.bp-chatbot-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bp-chatbot-brand img { width: 42px; height: 42px; border-radius: 50%; }
.bp-chatbot-brand h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--bp-chatbot-text, #1f2933); }
.bp-chatbot-brand span { font-size: 12px; color: #6b7280; }
.bp-chatbot-actions { display: flex; align-items: center; gap: 7px; }
.bp-chatbot-actions button {
  border: 0;
  background: #f3f4f6;
  color: #374151;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}
#bp-chatbot-resize,
#bp-chatbot-close { width: 34px; height: 34px; padding: 0; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
#bp-chatbot-resize { font-size: 16px; font-weight: 700; }
#bp-chatbot-close { font-size: 22px; }

.bp-chatbot-messages {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--bp-chatbot-bg, #fffdf8);
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.bp-chatbot-message { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.bp-chatbot-message-enter { opacity: 0; transform: translateY(10px); }
.bp-chatbot-message-enter-active { opacity: 1; transform: translateY(0); transition: opacity .22s ease, transform .22s ease; }
.bp-chatbot-message-user { justify-content: flex-start; }
.bp-chatbot-message-bot { justify-content: flex-start; }
.bp-chatbot-message-user .bp-chatbot-avatar { display: none; }
.bp-chatbot-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; overflow: hidden; background: #fff; }
.bp-chatbot-avatar img { width: 100%; height: 100%; display: block; }
.bp-chatbot-bubble {
  padding: 11px 13px;
  border-radius: 16px;
  max-width: 82%;
  font-size: 14px;
  line-height: 1.8;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 1px 4px rgba(15,23,42,.06);
}
.bp-chatbot-message-bot .bp-chatbot-bubble { background: var(--bp-chatbot-bot, #f5e6d3); border-bottom-right-radius: 6px; }
.bp-chatbot-message-user .bp-chatbot-bubble { background: var(--bp-chatbot-user, #e9ecef); margin-right: auto; border-bottom-left-radius: 6px; }
.bp-chatbot-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bp-chatbot-choice {
  width: 100%;
  text-align: right;
  border: 1px solid rgba(196,169,98,.45);
  background: #fff;
  color: var(--bp-chatbot-text, #1f2933);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.bp-chatbot-choice:hover { border-color: var(--bp-chatbot-primary, #c4a962); background: #fffaf0; transform: translateY(-1px); }
.bp-chatbot-choice:disabled,
.bp-chatbot-choice.bp-chatbot-choice-disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #f3f4f6;
  border-color: rgba(148,163,184,.45);
  transform: none;
}
.bp-chatbot-choice:disabled:hover,
.bp-chatbot-choice.bp-chatbot-choice-disabled:hover {
  background: #f3f4f6;
  border-color: rgba(148,163,184,.45);
  transform: none;
}
.bp-chatbot-choice-back {
  border-style: dashed;
  color: var(--bp-chatbot-primary-dark, #8f6f22);
}


.bp-chatbot-product-choice {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bp-chatbot-product-choice img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.bp-chatbot-product-choice span {
  min-width: 0;
  line-height: 1.6;
}
.bp-chatbot-order-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: right;
}
.bp-chatbot-order-card strong { display: block; margin-bottom: 4px; }
.bp-chatbot-order-card span { display: block; color: #6b7280; font-size: 12px; }
.bp-chatbot-feedback { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bp-chatbot-feedback button {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}
.bp-chatbot-feedback button:hover { box-shadow: inset 0 0 0 1px var(--bp-chatbot-primary, #c4a962); }
.bp-chatbot-reply-prompt {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(196,169,98,.25);
}
.bp-chatbot-reply-prompt-title { margin-bottom: 6px; }
.bp-chatbot-feedback .bp-chatbot-reply-prompt { flex: 1 0 100%; }
.bp-chatbot-reply-start-actions { margin-top: 8px; }
.bp-chatbot-message-action {
  align-items: center;
  padding-right: 38px;
}
.bp-chatbot-action-bubble {
  max-width: 82%;
}
.bp-chatbot-action-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e5e7eb, 0 1px 4px rgba(15,23,42,.06);
  font-weight: 700;
}
.bp-chatbot-action-button:hover { box-shadow: inset 0 0 0 1px var(--bp-chatbot-primary, #c4a962), 0 2px 8px rgba(15,23,42,.08); }
.bp-chatbot-loading .bp-chatbot-bubble { color: #6b7280; }
.bp-chatbot-footer {
  flex: 0 0 auto;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #edf0f2;
  z-index: 2;
}
.bp-chatbot-footer.bp-chatbot-footer-active { display: flex; }
.bp-chatbot-ready-messages[hidden] { display: none !important; }
.bp-chatbot-ready-messages {
  flex: 1 0 100%;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 2px;
  -webkit-overflow-scrolling: touch;
}
.bp-chatbot-ready-messages-title {
  flex: 0 0 auto;
  align-self: center;
  color: #6b7280;
  font-size: 11px;
  white-space: nowrap;
}
.bp-chatbot-ready-message-chip {
  flex: 0 0 auto;
  max-width: 260px;
  border: 1px solid rgba(196,169,98,.45);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--bp-chatbot-text, #1f2933);
  padding: 7px 10px;
  cursor: pointer;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.bp-chatbot-ready-message-chip:hover { border-color: var(--bp-chatbot-primary, #c4a962); }
.bp-chatbot-footer input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 11px 12px;
  min-width: 0;
  outline: none;
  direction: rtl;
}
.bp-chatbot-footer input:focus { border-color: var(--bp-chatbot-primary, #c4a962); }
.bp-chatbot-footer button {
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  color: #fff;
  background: var(--bp-chatbot-primary, #c4a962);
  cursor: pointer;
  font-weight: 700;
}
.bp-chatbot-footer button:disabled { opacity: .6; cursor: not-allowed; }
.bp-chatbot-feedback .bp-chatbot-action-button {
  padding: 9px 14px;
  color: #374151;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #e5e7eb, 0 1px 4px rgba(15,23,42,.06);
}
.bp-chatbot-footer .bp-chatbot-ready-message-chip {
  flex: 0 0 auto;
  max-width: 260px;
  min-height: auto;
  border: 1px solid rgba(196,169,98,.45);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--bp-chatbot-text, #1f2933);
  padding: 7px 10px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.bp-chatbot-footer .bp-chatbot-ready-message-chip:hover {
  border-color: var(--bp-chatbot-primary, #c4a962);
  box-shadow: 0 1px 4px rgba(15,23,42,.08);
}
.bp-chatbot-small { font-size: 12px; color: #6b7280; display: block; margin-top: 6px; }

.bp-chatbot-external-link-wrap { margin-top: 10px; }
.bp-chatbot-external-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--bp-chatbot-text, #1f2933);
  text-decoration: none;
  border: 1px solid rgba(196,169,98,.45);
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.bp-chatbot-external-link:hover,
.bp-chatbot-external-link:focus { border-color: var(--bp-chatbot-primary, #c4a962); text-decoration: none; color: var(--bp-chatbot-text, #1f2933); }
.bp-chatbot-external-link span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-chatbot-external-link-icon { flex: 0 0 auto; font-size: 13px; line-height: 1; }


@media (max-width: 640px) {
  html.bp-chatbot-mobile-open,
  body.bp-chatbot-mobile-open {
    overflow: hidden !important;
  }
  .bp-chatbot-window {
    width: 100vw;
    width: 100dvw;
    max-width: 100vw;
    height: calc(var(--bp-chatbot-vh, 1vh) * 100);
    max-height: calc(var(--bp-chatbot-vh, 1vh) * 100);
    border-radius: 0;
    left: 0 !important;
    right: 0 !important;
    top: var(--bp-chatbot-vv-offset-top, 0px) !important;
    bottom: auto !important;
  }
  .bp-chatbot-window.bp-chatbot-window-large {
    width: 100vw;
    width: 100dvw;
    max-width: 100vw;
    height: calc(var(--bp-chatbot-vh, 1vh) * 100);
    max-height: calc(var(--bp-chatbot-vh, 1vh) * 100);
  }
  .bp-chatbot-header {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }
  .bp-chatbot-messages {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 14px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .bp-chatbot-footer {
    gap: 6px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .bp-chatbot-footer input {
    font-size: 16px;
    min-height: 44px;
    padding: 10px 11px;
  }
  .bp-chatbot-footer button {
    min-height: 44px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .bp-chatbot-attach { width: 44px; min-width: 44px; }
  .bp-chatbot-file-note {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  .bp-chatbot-toggle { width: 58px; height: 58px; }
  .bp-chatbot-position-bottom-right .bp-chatbot-toggle { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .bp-chatbot-position-bottom-left .bp-chatbot-toggle { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .bp-chatbot-launcher-badge {
    max-width: min(220px, calc(100vw - 96px));
    padding: 9px 11px;
  }
  .bp-chatbot-position-bottom-right .bp-chatbot-launcher-badge {
    right: 84px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .bp-chatbot-position-bottom-left .bp-chatbot-launcher-badge {
    left: 84px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .bp-chatbot-position-top-right .bp-chatbot-launcher-badge { right: 84px; top: 18px; }
  .bp-chatbot-position-top-left .bp-chatbot-launcher-badge { left: 84px; top: 18px; }
  .bp-chatbot-bubble { max-width: 88%; }
  .bp-chatbot-message-action { padding-right: 38px; }
  .bp-chatbot-action-bubble { max-width: 88%; }
  .bp-chatbot-ready-message-chip { max-width: 220px; }
}


.bp-chatbot-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bp-chatbot-ticket-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.bp-chatbot-ticket-filter-label {
  flex: 0 0 100%;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 2px;
}
.bp-chatbot-ticket-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(196,169,98,.35);
  border-radius: 999px;
  background: #fff;
  color: var(--bp-chatbot-text, #1f2933);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.bp-chatbot-ticket-filter-chip em {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  color: #6b7280;
  font-style: normal;
  font-size: 11px;
  padding: 0 6px;
}
.bp-chatbot-ticket-filter-chip:hover,
.bp-chatbot-ticket-filter-chip-active {
  border-color: var(--bp-chatbot-primary, #c4a962);
  background: #fffaf0;
  box-shadow: 0 1px 4px rgba(15,23,42,.08);
}
.bp-chatbot-ticket-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bp-chatbot-ticket-card-hidden {
  display: none !important;
}
.bp-chatbot-ticket-list-empty {
  display: none;
  color: #6b7280;
  font-size: 12px;
  padding: 8px 0 2px;
}
.bp-chatbot-ticket-list-empty-visible {
  display: block;
}

.bp-chatbot-ticket-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bp-chatbot-ticket-card strong { display: block; }
.bp-chatbot-ticket-card span { display: block; color: #6b7280; font-size: 12px; }
.bp-chatbot-ticket-thread { display: flex; flex-direction: column; gap: 8px; }
.bp-chatbot-ticket-messages { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bp-chatbot-ticket-message {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
}
.bp-chatbot-ticket-message-admin { background: #fffaf0; border-color: rgba(196,169,98,.45); }
.bp-chatbot-ticket-message-customer { background: #f8fafc; }
.bp-chatbot-ticket-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 11px;
  margin-bottom: 4px;
}
.bp-chatbot-ticket-message-meta strong { color: #374151; }
.bp-chatbot-ticket-message-body { line-height: 1.8; }
.bp-chatbot-ticket-empty { color: #6b7280; font-size: 12px; }

.bp-chatbot-attach {
  width: 42px;
  min-width: 42px;
  padding: 0 !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
  border: 1px solid #e5e7eb !important;
  font-size: 18px;
}
.bp-chatbot-file-note {
  position: absolute;
  right: 14px;
  bottom: 54px;
  max-width: calc(100% - 28px);
  padding: 4px 8px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  opacity: .92;
  pointer-events: none;
}
.bp-chatbot-footer { position: relative; }
.bp-chatbot-ticket-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.bp-chatbot-ticket-attachment {
  display: block;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  text-decoration: none !important;
}
.bp-chatbot-ticket-attachment img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  background: #f3f4f6;
}
.bp-chatbot-ticket-attachment span {
  display: block;
  padding: 5px 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
}

.bp-chatbot-ticket-card .bp-chatbot-small,
.bp-chatbot-ticket-thread .bp-chatbot-small {
  display: block;
}
.bp-chatbot-choice[data-bp-ticket-option] {
  text-align: right;
  white-space: normal;
}

.bp-chatbot-order-card-summary em {
  display: block;
  margin-top: 6px;
  color: var(--bp-chatbot-primary, #c4a962);
  font-style: normal;
  font-size: 11px;
}
.bp-chatbot-order-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.bp-chatbot-order-details strong { display: block; margin-bottom: 3px; }
.bp-chatbot-order-details span { display: block; color: #6b7280; font-size: 12px; }
.bp-chatbot-order-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.bp-chatbot-order-product {
  padding: 7px 8px;
  border-radius: 10px;
  background: #f8fafc;
}
.bp-chatbot-order-product span { color: var(--bp-chatbot-text, #1f2933); }
.bp-chatbot-order-product small { display: block; margin-top: 2px; color: #6b7280; font-size: 11px; }

.bp-chatbot-ticket-attention {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(196,169,98,.35);
  border-radius: 12px;
  background: #fffaf0;
}
.bp-chatbot-ticket-attention strong { color: var(--bp-chatbot-text, #1f2933); }
.bp-chatbot-ticket-attention span { color: #6b7280; font-size: 12px; }

/* Embedded account-page layout */
.bp-chatbot-account-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bp-chatbot-account-page__header {
  padding: 1rem 1.125rem;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 .75rem 2rem rgba(15,23,42,.05);
}
.bp-chatbot-account-page__header h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--bp-chatbot-text, #1f2933);
}
.bp-chatbot-account-page__header p {
  margin: 0;
  color: #6b7280;
  line-height: 1.9;
}
.bp-chatbot-account-page__notice {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  color: #6b7280;
}
.bp-chatbot-widget-embedded {
  width: 100%;
  position: relative;
  z-index: 1;
}
.bp-chatbot-widget-embedded .bp-chatbot-toggle {
  display: none !important;
}
.bp-chatbot-widget-embedded .bp-chatbot-window {
  position: relative;
  display: flex !important;
  width: 100%;
  max-width: none;
  height: min(740px, calc(100vh - 220px));
  min-height: 580px;
  max-height: none;
  inset: auto !important;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 1rem 2.5rem rgba(15,23,42,.08);
}
.bp-chatbot-widget-embedded .bp-chatbot-window.bp-chatbot-window-large {
  width: 100%;
  height: min(900px, calc(100vh - 140px));
}
.bp-chatbot-widget-embedded .bp-chatbot-bubble,
.bp-chatbot-widget-embedded .bp-chatbot-action-bubble {
  max-width: min(760px, 88%);
}
.bp-chatbot-widget-embedded .bp-chatbot-messages {
  min-height: 0;
}
.bp-chatbot-widget-embedded .bp-chatbot-footer-active {
  display: flex;
}
.bp-chatbot-account-menu-link svg {
  fill: none;
  height: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.25rem;
}
@media (max-width: 640px) {
  .bp-chatbot-widget-embedded .bp-chatbot-window,
  .bp-chatbot-widget-embedded .bp-chatbot-window.bp-chatbot-window-large {
    width: 100%;
    max-width: none;
    height: calc(var(--bp-chatbot-vh, 1vh) * 78);
    min-height: 520px;
    border-radius: 18px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}

.bp-chatbot-attention-locked .bp-chatbot-choice,
.bp-chatbot-attention-locked .bp-chatbot-order-card,
.bp-chatbot-attention-locked [data-bp-ticket],
.bp-chatbot-attention-locked [data-bp-ticket-reply],
.bp-chatbot-attention-locked [data-bp-ticket-reply-custom],
.bp-chatbot-attention-locked [data-bp-ticket-reply-quick],
.bp-chatbot-attention-locked [data-bp-new-request],
.bp-chatbot-attention-locked [data-bp-ticket-filter] {
  opacity: .5;
}
.bp-chatbot-attention-locked [data-bp-view-ticket] {
  opacity: 1;
}

/* Compact product results inside chat */
.bp-chatbot-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 4px;
}
.bp-chatbot-product-card {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  color: var(--bp-chatbot-text, #1f2933);
  text-align: right;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.bp-chatbot-product-card:hover {
  border-color: rgba(196,169,98,.55);
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
  color: var(--bp-chatbot-text, #1f2933);
  text-decoration: none;
  transform: translateY(-1px);
}
.bp-chatbot-product-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.bp-chatbot-product-thumb-empty {
  display: inline-block;
  background: #f3f4f6;
}
.bp-chatbot-product-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bp-chatbot-product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
  text-overflow: ellipsis;
}
.bp-chatbot-product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.bp-chatbot-product-price {
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}
.bp-chatbot-product-stock {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
}
.bp-chatbot-see-more-wrap {
  margin: 10px 0 2px;
}
.bp-chatbot-see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(196,169,98,.65);
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf0 0%, #f8edd3 100%);
  color: var(--bp-chatbot-text, #1f2933);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(196,169,98,.18);
}
.bp-chatbot-see-more:hover {
  border-color: rgba(196,169,98,.95);
  color: var(--bp-chatbot-text, #1f2933);
  text-decoration: none;
}
.bp-chatbot-see-more-icon {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}
.bp-chatbot-see-more-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bp-chatbot-see-more-label small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
