/* SBO WhatsApp Chat */
.sbowa{--sbowa-header:#0e5e55;--sbowa-btn:#25d366;position:fixed!important;bottom:20px;z-index:2147483000!important;pointer-events:none;font-family:"Noto Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.4;-webkit-font-smoothing:antialiased}
.sbowa *,.sbowa *::before,.sbowa *::after{box-sizing:border-box}
.sbowa--right{right:20px}
.sbowa-launcher,.sbowa.is-open .sbowa-box,.sbowa-toggle:checked~.sbowa-box{pointer-events:auto!important}
.sbowa-toggle{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important;opacity:0!important}
.sbowa-toggle:focus-visible~.sbowa-launcher{outline:3px solid #9be7ad;outline-offset:2px}
.sbowa--left{left:20px}

/* Launcher */
.sbowa-launcher{position:relative;display:flex!important;user-select:none;-webkit-tap-highlight-color:transparent;align-items:center;justify-content:center;width:62px;height:62px;padding:0;margin:0;border:0;border-radius:16px;cursor:pointer;color:#fff;background:linear-gradient(180deg,#5fe06f 0%,#1fb83a 100%);box-shadow:0 6px 18px rgba(0,0,0,.22);transition:transform .2s ease,box-shadow .2s ease}
.sbowa--right .sbowa-launcher{margin-left:auto}
.sbowa-launcher:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.26)}
.sbowa-launcher:focus-visible,.sbowa-close:focus-visible,.sbowa-cta:focus-visible{outline:3px solid #9be7ad;outline-offset:2px}
.sbowa-launcher svg{width:36px;height:36px}
.sbowa-badge{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#ff3b30;color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center;box-shadow:0 0 0 2px #fff}
.sbowa.is-seen .sbowa-badge,.sbowa-toggle:checked~.sbowa-launcher .sbowa-badge{display:none}

/* Box */
.sbowa-box{position:absolute;bottom:80px;width:360px;max-width:calc(100vw - 40px);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(16px) scale(.98);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.sbowa--right .sbowa-box{right:0;transform-origin:bottom right}
.sbowa--left .sbowa-box{left:0;transform-origin:bottom left}
.sbowa.is-open .sbowa-box,.sbowa-toggle:checked~.sbowa-box{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s}

/* Header */
.sbowa-header{position:relative;display:flex;align-items:center;gap:14px;padding:20px 44px 18px 22px;background:var(--sbowa-header);color:#fff}
.sbowa-avatar{position:relative;flex:0 0 auto;width:52px;height:64px}
.sbowa-avatar img,.sbowa-initial{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.sbowa-initial{display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);font-size:24px;font-weight:700}
.sbowa-avatar .sbowa-dot{position:absolute;right:0;bottom:4px;width:13px;height:13px;border:2px solid var(--sbowa-header)}
.sbowa-name{font-size:21px;font-weight:500;margin-bottom:2px}
.sbowa-sub{font-size:14px;opacity:.95}
.sbowa-close{display:block;text-align:center;user-select:none;position:absolute;top:12px;right:12px;width:28px;height:28px;padding:0;border:0;background:transparent;color:#fff;font-size:24px;line-height:28px;cursor:pointer;opacity:.8}
.sbowa-close:hover{opacity:1}

/* Dot */
.sbowa-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:#22c55e}
.sbowa.is-offline .sbowa-dot{background:#9ca3af}

/* Body */
.sbowa-body{position:relative;min-height:230px;padding:36px 22px 30px;background-color:#ece5dd;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.06' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='24' r='9'/%3E%3Cpath d='M70 14l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3Cpath d='M118 30c-4-6-13-2-10 5l10 9 10-9c3-7-6-11-10-5z'/%3E%3Crect x='14' y='72' width='18' height='14' rx='3'/%3E%3Cpath d='M14 75l9 6 9-6'/%3E%3Cpath d='M62 78a12 12 0 1 1 20 0l-10 14z'/%3E%3Ccircle cx='72' cy='72' r='3'/%3E%3Cpath d='M110 70h20M120 60v20'/%3E%3Cpath d='M28 118c4-8 14-8 18 0'/%3E%3Ccircle cx='31' cy='112' r='1'/%3E%3Ccircle cx='43' cy='112' r='1'/%3E%3Cpath d='M78 110l14 14M92 110l-14 14'/%3E%3Cellipse cx='120' cy='118' rx='10' ry='6'/%3E%3Cpath d='M110 118h-6'/%3E%3C/g%3E%3C/svg%3E")}

.sbowa-bubble{position:relative;display:inline-block;max-width:100%;padding:14px 16px;border-radius:0 10px 10px 10px;background:#dcf8c6;color:#666;font-size:16px;line-height:1.85;box-shadow:0 1px 1px rgba(0,0,0,.12);word-wrap:break-word;transition:opacity .3s ease,transform .3s ease}
.sbowa.sbowa-js:not(.is-shown) .sbowa-bubble{opacity:0;transform:translateY(6px)}
.sbowa-bubble::before{content:"";position:absolute;top:0;left:-9px;border-style:solid;border-width:0 10px 10px 0;border-color:transparent #dcf8c6 transparent transparent}

.sbowa-typing{display:none;width:58px;padding:12px 14px;border-radius:0 10px 10px 10px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.1)}
.sbowa.is-typing .sbowa-typing{display:flex;gap:4px}
.sbowa.is-typing .sbowa-bubble{display:none}
.sbowa-typing span{width:7px;height:7px;border-radius:50%;background:#9ca3af;animation:sbowa-blink 1.2s infinite ease-in-out}
.sbowa-typing span:nth-child(2){animation-delay:.2s}
.sbowa-typing span:nth-child(3){animation-delay:.4s}
@keyframes sbowa-blink{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}

/* Footer */
.sbowa-footer{padding:16px 22px 14px;background:#fff;text-align:center}
.sbowa-cta{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:58px;padding:12px 20px;border-radius:999px;background:var(--sbowa-btn);color:#fff!important;font-size:20px;font-weight:500;text-decoration:none!important;transition:filter .2s ease,transform .2s ease}
.sbowa-cta:hover{filter:brightness(.95);transform:translateY(-1px)}
.sbowa-cta svg{width:30px;height:30px;flex:0 0 auto}
.sbowa-meta{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;font-size:15px;color:#7a7a7a}
.sbowa-meta a{color:#7a7a7a!important;text-decoration:none}
.sbowa-meta a:hover{text-decoration:underline}
.sbowa-status{display:inline-flex;align-items:center;gap:6px}
.sbowa-status .sbowa-dot{width:16px;height:16px;background:radial-gradient(circle at 35% 30%,#7be37b,#1e9e2e)}
.sbowa.is-offline .sbowa-status .sbowa-dot{background:#9ca3af}

/* Device visibility */
@media (max-width:767px){
	.sbowa{bottom:14px}
	.sbowa--right{right:14px}
	.sbowa--left{left:14px}
	.sbowa-box{bottom:76px;max-width:calc(100vw - 28px)}
	.sbowa--no-mobile{display:none!important}
}
@media (min-width:768px){
	.sbowa--no-desktop{display:none!important}
}
@media (prefers-reduced-motion:reduce){
	.sbowa *,.sbowa *::before{transition:none!important;animation:none!important}
}
@media print{.sbowa{display:none!important}}
