/* Vitrin sohbet botu: yalnız B2B_Tanimlar.AiChatbotAktif açık tenantta yüklenir. */
.aic-open { position: fixed; left: 20px; bottom: 20px; z-index: 1040; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--primaryColor); color: var(--on-primary, #fff); font-weight: 600; font-size: 14px; box-shadow: var(--sh-rest, 0 6px 18px rgba(0, 0, 0, .22)); cursor: pointer; }
.aic-open[hidden] { display: none; }
.aic-open:focus-visible, .aic-panel button:focus-visible, .aic-panel a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.aic-panel { position: fixed; left: 20px; bottom: 20px; z-index: 1041; display: flex; flex-direction: column; width: 360px; max-width: calc(100vw - 32px); height: min(540px, calc(100vh - 40px)); background: #fff; color: #1f2329; border-radius: var(--r-16, 16px); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); overflow: hidden; }
.aic-panel[hidden] { display: none; }
.aic-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--primaryColor); color: var(--on-primary, #fff); }
.aic-close { width: 32px; height: 32px; border: 0; background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
.aic-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; overflow-y: auto; background: #f6f7f9; }
.aic-msg { max-width: 86%; padding: 8px 12px; border-radius: var(--r-12, 12px); font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.aic-bot { align-self: flex-start; background: #fff; color: #1f2329; border: 1px solid #e6e8ec; }
.aic-user { align-self: flex-end; background: #1f2329; color: #fff; }
.aic-wait { color: #5b626c; }
.aic-products { display: flex; flex-direction: column; gap: 6px; }
.aic-products a { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: #fff; border: 1px solid #e6e8ec; border-radius: var(--r-10, 10px); color: #1f2329; text-decoration: none; }
.aic-products a:hover { border-color: var(--primaryColor); }
.aic-p-name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.aic-p-code { font-size: 12px; color: #5b626c; }
.aic-form { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #e6e8ec; }
.aic-form input { flex: 1 1 auto; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid #d5d8de; border-radius: var(--r-10, 10px); font-size: 16px; color: #1f2329; background: #fff; }
.aic-form button { width: 44px; min-height: 40px; border: 0; border-radius: var(--r-10, 10px); background: #1f2329; color: #fff; cursor: pointer; }
.aic-form button:disabled { opacity: .55; cursor: default; }
.aic-note { padding: 0 10px 8px; background: #fff; font-size: 11px; color: #5b626c; }
@media (max-width: 991.98px) {
    .aic-open { left: 16px; bottom: 84px; width: 48px; padding: 0; justify-content: center; }
    .aic-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .aic-panel { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; height: min(560px, calc(100vh - 32px)); }
}
