/* Vitrin yapay zekâ müşteri hizmetleri (public/js/shop-chat.js) */
.shc { position: fixed; right: 18px; bottom: 18px; z-index: 9960; font: 14px/1.45 -apple-system, "Segoe UI", Roboto, sans-serif; color: #111; }
.shc-fab { width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--shc, #111); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.shc.open .shc-fab { display: none; }
.shc-panel { position: fixed; right: 18px; bottom: 18px; width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100vh - 36px)); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); overflow: hidden; }
.shc-panel[hidden] { display: none; }
.shc-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--shc, #111); color: #fff; }
.shc-panel header div { flex: 1; display: grid; } .shc-panel header small { opacity: .8; font-size: 11.5px; }
.shc-av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 700; }
.shc-x { border: 0; background: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.shc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f7f7f8; }
.shc-m { max-width: 86%; padding: 9px 12px; border-radius: 14px; word-wrap: break-word; }
.shc-bot { align-self: flex-start; background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.shc-me { align-self: flex-end; background: var(--shc, #111); color: #fff; border-bottom-right-radius: 4px; }
.shc-err { align-self: flex-start; background: #fef2f2; color: #991b1b; }
.shc-m a { color: inherit; text-decoration: underline; word-break: break-all; }
.shc-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; }
.shc-quick[hidden] { display: none; }
.shc-quick button { border: 1px solid #e5e7eb; background: #fff; border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.shc-form { display: flex; gap: 6px; padding: 10px 12px; }
.shc-form input { flex: 1; border: 1px solid #d1d5db; border-radius: 999px; padding: 10px 14px; font: inherit; }
.shc-form button { width: 40px; border: 0; border-radius: 50%; background: var(--shc, #111); color: #fff; cursor: pointer; }
.shc-wa { display: block; text-align: center; font-size: 12.5px; color: #15803d; padding: 0 12px 4px; }
.shc-note { margin: 0; padding: 0 12px 10px; font-size: 10.5px; color: #9ca3af; text-align: center; }
.shc-dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #9ca3af; animation: shc-b 1s infinite; }
.shc-dots i:nth-child(2) { animation-delay: .15s; } .shc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes shc-b { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (max-width: 560px) { .shc-panel { right: 6px; bottom: 6px; height: calc(100vh - 12px); } }
