.point-b-chatbot { position: fixed; z-index: 80; right: 22px; bottom: 22px; font-family: var(--sans); }
.chatbot-launcher { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 19px; border: 1px solid var(--gold); border-radius: 999px; background: var(--navy); color: var(--ivory); box-shadow: 0 8px 24px rgba(11,31,58,.22); font: 600 .875rem var(--sans); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.chatbot-launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,31,58,.28); }
.chatbot-launcher svg { width: 21px; height: 21px; flex: 0 0 auto; }
.chatbot-panel { position: absolute; right: 0; bottom: 68px; display: flex; flex-direction: column; width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 170px)); min-height: 360px; overflow: hidden; border: 1px solid rgba(201,162,39,.75); border-radius: 16px; background: var(--ivory); box-shadow: 0 20px 60px rgba(6,20,37,.28); }
.chatbot-panel[hidden] { display: none; }
.chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 18px; background: var(--navy); color: var(--ivory); }
.chatbot-brand { display: grid; gap: 3px; }
.chatbot-brand strong { color: var(--ivory); font: 500 1.2rem var(--serif); }
.chatbot-brand span { color: #e3c77d; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.chatbot-reset { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 9px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: transparent; color: var(--ivory); font: 500 .72rem var(--sans); cursor: pointer; white-space: nowrap; }
.chatbot-reset:first-letter { font-size: 1.1rem; }
.chatbot-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: transparent; color: var(--ivory); font: 1.45rem/1 var(--sans); cursor: pointer; }
.chatbot-log { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; overflow-y: auto; padding: 18px; overscroll-behavior: contain; }
.chatbot-message { max-width: 91%; margin: 0; padding: 11px 13px; border-radius: 12px 12px 12px 3px; background: #eee7d8; color: var(--navy); font-size: .875rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.chatbot-message-user { align-self: flex-end; border-radius: 12px 12px 3px 12px; background: var(--navy); color: var(--ivory); }
.chatbot-product-reply { display: flex; align-items: flex-start; gap: 8px; width: 100%; }
.chatbot-product-thumbnail { display: block; flex: 0 0 58px; width: 58px; height: 58px; padding: 3px; border: 1px solid rgba(201,162,39,.58); border-radius: 9px; background: #fffdf8; object-fit: contain; }
.chatbot-product-reply .chatbot-message { max-width: calc(100% - 66px); }
.chatbot-product-list { display: grid; gap: 6px; width: 100%; }
.chatbot-catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chatbot-product-list-title { margin: 0; color: var(--navy); font: 600 .8rem var(--sans); }
.chatbot-cart-button { flex: 0 0 auto; min-height: 30px; padding: 0 10px; border: 1px solid rgba(201,162,39,.65); border-radius: 999px; background: transparent; color: var(--navy); font: 600 .7rem var(--sans); cursor: pointer; }
.chatbot-cart-button:hover { background: rgba(201,162,39,.14); }
.chatbot-cart-notice { margin: 0; color: #315d43; font-size: .72rem; }
.chatbot-product-row { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; width: 100%; gap: 9px; min-height: 48px; padding: 3px 8px; border: 1px solid rgba(201,162,39,.34); border-radius: 9px; background: #fffdf8; color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.chatbot-product-row:hover { border-color: var(--gold); background: #fff9e9; }
.chatbot-product-row:focus-visible, .chatbot-reset:focus-visible, .chatbot-back:focus-visible, .chatbot-order-button:focus-visible, .chatbot-variant-picker select:focus-visible, .chatbot-cart-button:focus-visible, .chatbot-checkout-button:focus-visible, .chatbot-cart-remove:focus-visible, .chatbot-cart-clear:focus-visible, .chatbot-cart-quantity input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chatbot-product-list-image { box-sizing: border-box; display: block; width: 40px; height: 40px; padding: 2px; border-radius: 6px; background: var(--ivory); object-fit: contain; }
.chatbot-product-list-details { display: grid; gap: 3px; min-width: 0; }
.chatbot-product-list-details strong { color: var(--navy); font-size: .8rem; font-weight: 600; }
.chatbot-product-list-details small { color: #4f5f71; font-size: .72rem; line-height: 1.35; }
.chatbot-back { align-self: flex-start; padding: 2px 0; border: 0; background: transparent; color: #425671; font: 600 .76rem var(--sans); cursor: pointer; }
.chatbot-product-detail { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: start; gap: 12px; width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid rgba(201,162,39,.42); border-radius: 11px; background: #fffdf8; }
.chatbot-detail-image { display: block; width: 76px; height: 76px; box-sizing: border-box; padding: 3px; border: 1px solid rgba(201,162,39,.28); border-radius: 8px; background: var(--ivory); object-fit: contain; }
.chatbot-product-detail-copy { display: grid; gap: 6px; min-width: 0; }
.chatbot-product-order-pane { display: grid; gap: 8px; width: 100%; }
.chatbot-product-order-pane .chatbot-product-detail { width: 100%; }
.chatbot-detail-category { color: #8c6900; font-size: .65rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.chatbot-product-detail h3 { margin: 0; color: var(--navy); font: 500 1rem/1.25 var(--serif); }
.chatbot-detail-description { margin: 0; color: #425671; font-size: .76rem; line-height: 1.45; }
.chatbot-variant-picker { display: grid; gap: 4px; margin-top: 2px; }
.chatbot-variant-picker label { color: #425671; font-size: .7rem; }
.chatbot-variant-picker select { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid rgba(201,162,39,.65); border-radius: 6px; background: white; color: var(--navy); font: .78rem var(--sans); }
.chatbot-detail-purchase { display: flex; align-items: baseline; gap: 9px; }
.chatbot-detail-price { color: var(--navy); font: 600 1rem var(--serif); }
.chatbot-detail-weight { color: #52647a; font-size: .72rem; }
.chatbot-quantity-picker { display: flex; align-items: center; gap: 9px; }
.chatbot-quantity-picker label { color: #425671; font-size: .72rem; }
.chatbot-quantity-picker input { width: 70px; min-height: 34px; box-sizing: border-box; padding: 5px 8px; border: 1px solid rgba(11,31,58,.24); border-radius: 5px; background: white; color: var(--navy); font: .82rem var(--sans); }
.chatbot-order-button { justify-self: start; min-height: 38px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--gold); color: var(--navy); font: 700 .73rem var(--sans); cursor: pointer; }
.chatbot-cart-feedback { margin: 0; color: #315d43; font-size: .7rem; line-height: 1.4; }
.detail-cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.detail-cart-actions [data-cart-feedback] { margin: 0; color: #315d43; font-size: .75rem; line-height: 1.4; }
.detail-cart-actions .chatbot-cart-button { min-height: 34px; }
.chatbot-cart-title { margin: 0; color: var(--navy); font: 500 1.08rem var(--serif); }
.chatbot-cart-empty, .chatbot-cart-note { margin: 0; color: #52647a; font-size: .76rem; line-height: 1.5; }
.chatbot-cart-list { display: grid; gap: 7px; width: 100%; }
.chatbot-cart-item { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid rgba(201,162,39,.35); border-radius: 8px; background: #fffdf8; }
.chatbot-cart-item > img { width: 48px; height: 48px; box-sizing: border-box; padding: 2px; border-radius: 6px; background: var(--ivory); object-fit: contain; }
.chatbot-cart-item-copy { display: grid; gap: 3px; min-width: 0; }
.chatbot-cart-item-copy strong { color: var(--navy); font-size: .76rem; line-height: 1.3; }
.chatbot-cart-item-copy small { color: #52647a; font-size: .67rem; line-height: 1.3; }
.chatbot-cart-quantity { display: flex; align-items: center; gap: 6px; color: #52647a; font-size: .68rem; }
.chatbot-cart-quantity input { width: 52px; min-height: 28px; box-sizing: border-box; padding: 3px 5px; border: 1px solid rgba(11,31,58,.22); border-radius: 4px; color: var(--navy); font: .72rem var(--sans); }
.chatbot-cart-item-actions { display: grid; justify-items: end; gap: 5px; color: var(--navy); font-size: .7rem; white-space: nowrap; }
.chatbot-cart-remove, .chatbot-cart-clear { padding: 2px 0; border: 0; background: transparent; color: #52647a; font: 500 .68rem var(--sans); text-decoration: underline; cursor: pointer; }
.chatbot-cart-total { margin: 0; color: var(--navy); font: 600 .92rem var(--serif); }
.chatbot-cart-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.chatbot-checkout-button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--gold); color: var(--navy); font: 700 .72rem var(--sans); cursor: pointer; }
.chatbot-whatsapp { padding: 9px 13px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: var(--navy); font: 600 .8rem var(--sans); cursor: pointer; }
.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; }
.chatbot-suggestions button { padding: 8px 10px; border: 1px solid rgba(201,162,39,.65); border-radius: 999px; background: transparent; color: var(--navy); font: 500 .74rem var(--sans); cursor: pointer; }
.chatbot-suggestions button:hover, .chatbot-whatsapp:hover { background: rgba(201,162,39,.14); }
.chatbot-suggestions[hidden] { display: none; }
.chatbot-form { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid rgba(11,31,58,.13); background: #fffdf8; }
.chatbot-input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(11,31,58,.22); border-radius: 7px; background: white; color: var(--navy); font: .9rem var(--sans); }
.chatbot-input:focus-visible, .chatbot-form button:focus-visible, .chatbot-launcher:focus-visible, .chatbot-close:focus-visible, .chatbot-suggestions button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.chatbot-form button { min-height: 44px; padding: 0 15px; border: 0; border-radius: 7px; background: var(--gold); color: var(--navy); font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
@media (max-width: 600px) {
  .point-b-chatbot { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .chatbot-launcher { min-height: 48px; padding: 0 15px; font-size: .8rem; }
  .chatbot-panel { position: fixed; inset: auto 10px 145px; width: auto; height: min(590px, calc(100dvh - 180px)); min-height: 340px; }
  .chatbot-header { gap: 7px; padding: 13px 12px; }
  .chatbot-brand strong { font-size: 1.05rem; }
  .chatbot-reset { min-height: 32px; padding-inline: 8px; font-size: .68rem; }
  .chatbot-close { width: 34px; height: 34px; }
  .chatbot-product-detail { grid-template-columns: 64px minmax(0,1fr); gap: 9px; padding: 10px; }
  .chatbot-detail-image { width: 64px; height: 64px; }
  .chatbot-product-list { gap: 4px; }
  .chatbot-product-row { box-sizing: border-box; grid-template-columns: 40px minmax(0,1fr); min-height: 42px; gap: 7px; padding: 2px 6px; }
  .chatbot-product-list-image { width: 36px; height: 36px; }
  .chatbot-product-list-details strong { font-size: .76rem; }
  .chatbot-product-list-details small { font-size: .68rem; }
}
@media (max-height: 650px) {
  .chatbot-log.chatbot-catalog-view { padding-block: 6px; }
  .chatbot-product-list { gap: 2px; }
  .chatbot-product-row { box-sizing: border-box; grid-template-columns: 38px minmax(0,1fr); min-height: 38px; gap: 6px; padding: 1px 5px; }
  .chatbot-product-list-image { width: 34px; height: 34px; }
  .chatbot-product-list-details strong { font-size: .73rem; }
  .chatbot-product-list-details small { font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) { .chatbot-launcher { transition: none; } }
