/* ===== Chatbot ===== */
.cb{--g:#c9962e;font-family:inherit}
[dir=rtl].cb,.cb[dir=rtl]{font-family:"Cairo",system-ui,sans-serif}
.cb-launcher{position:fixed;z-index:65;bottom:94px;inset-inline-end:22px;width:58px;height:58px;border-radius:50%;border:2px solid #c9962e;cursor:pointer;color:#d9a63d;display:grid;place-items:center;
 background:linear-gradient(145deg,#5a0f16,#240a0d);box-shadow:0 10px 28px #0007;transition:transform .3s,box-shadow .3s}
.cb-launcher:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 16px 34px #000a}
.cb-dot{position:absolute;top:2px;inset-inline-end:2px;width:13px;height:13px;border-radius:50%;background:#ff4d5e;border:2px solid #240a0d;display:none}
.cb.unread .cb-dot{display:block;animation:cbPing 1.6s infinite}
@keyframes cbPing{50%{transform:scale(1.35)}}
.cb.open .cb-launcher{transform:scale(.9);opacity:.0;pointer-events:none}
html.intro-lock .cb{visibility:hidden}
.cb-tip{position:fixed;z-index:65;bottom:106px;inset-inline-end:90px;padding:11px 18px;border-radius:14px;background:#ffffff;color:#4a0c12;font-weight:600;font-size:.92rem;box-shadow:0 10px 26px #0005;border:1px solid #c9962e;cursor:pointer;
 opacity:0;transform:translateX(10px) scale(.95);pointer-events:none;transition:.35s}
[dir=rtl] .cb-tip{transform:translateX(-10px) scale(.95)}
.cb-tip.show{opacity:1;transform:none;pointer-events:auto}
.cb-panel{position:fixed;z-index:70;bottom:94px;inset-inline-end:22px;width:min(390px,calc(100vw - 32px));height:min(600px,calc(100vh - 130px));display:flex;flex-direction:column;overflow:hidden;
 border-radius:22px;background:#fdfcf9;border:2px solid #c9962e;box-shadow:0 30px 70px #000a;animation:cbIn .35s cubic-bezier(.2,.8,.2,1);transform-origin:bottom right}
[dir=rtl] .cb-panel{transform-origin:bottom left}
.cb-panel[hidden]{display:none}
@keyframes cbIn{from{opacity:0;transform:translateY(20px) scale(.94)}}
.cb-head{display:flex;align-items:center;gap:12px;padding:15px 16px;color:#f5f3ee;background:radial-gradient(circle at 90% 0,#7d263066,transparent 55%),linear-gradient(135deg,#240a0d,#1a0709);border-bottom:3px solid #c9962e}
.cb-mark{flex:none;width:32px;height:44px;background:var(--g);-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.cb-ttl{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cb-ttl b{font-size:1.02rem}
.cb-ttl small{display:flex;align-items:center;gap:7px;font-size:.78rem;opacity:.85;color:#f3d9ab}
.cb-on{width:8px;height:8px;border-radius:50%;background:#3ee27f;box-shadow:0 0 0 3px #3ee27f33;flex:none}
.cb-close{width:36px;height:36px;border-radius:50%;border:1px solid #c9962e88;background:#ffffff12;color:#d9a63d;cursor:pointer;display:grid;place-items:center;transition:.25s}
.cb-close:hover{background:#ffffff26}
.cb-log{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;background:linear-gradient(180deg,#fdfcf9,#f4f0e8)}
.cb-msg{max-width:86%;padding:11px 15px;border-radius:16px;line-height:1.6;font-size:.94rem;animation:cbMsg .35s cubic-bezier(.2,.8,.2,1);word-wrap:break-word;overflow-wrap:anywhere}
@keyframes cbMsg{from{opacity:0;transform:translateY(10px)}}
.cb-msg p{margin:0}.cb-msg p+*{margin-top:10px}
.cb-msg.bot{align-self:flex-start;background:#fff;color:#1f0a0c;border:1px solid #f3d9ab;border-end-start-radius:4px;box-shadow:0 3px 10px #240a0d14}
.cb-msg.me{align-self:flex-end;color:#fff;background:linear-gradient(135deg,#5a1219,#4a0c12);border-end-end-radius:4px}
.dots{display:inline-flex;gap:5px;padding:4px 2px}.dots i{width:7px;height:7px;border-radius:50%;background:#6b4c14;animation:cbDot 1.1s infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
@keyframes cbDot{0%,60%,100%{transform:none;opacity:.4}30%{transform:translateY(-5px);opacity:1}}
.cb-chips{display:flex;flex-wrap:wrap;gap:8px;align-self:flex-start;max-width:100%;animation:cbMsg .4s .1s both}
.chip{padding:8px 15px;border-radius:999px;border:1.5px solid #c9962e;background:#ffffff;color:#5a0f16;font-family:inherit;font-weight:600;font-size:.85rem;line-height:1.2;cursor:pointer;transition:.2s;text-decoration:none;display:inline-block}
.chip:hover{background:#5a0f16;color:#f0c15a;border-color:#5a0f16;transform:translateY(-2px)}
.chip.gold{background:var(--g);color:#1a0508;border-color:transparent}.chip.gold:hover{background:var(--g);color:#1a0508;filter:brightness(1.06)}
.chip.wa{background:linear-gradient(145deg,#3ee27f,#128c5a);color:#fff;border-color:transparent}.chip.wa:hover{background:linear-gradient(145deg,#3ee27f,#128c5a);color:#fff}
.cb-card{display:flex;gap:12px;align-items:center;padding:8px;border-radius:12px;background:#fdfcf9;border:1px solid #f3d9ab}.cb-card+.cb-card{margin-top:8px}
.cb-card img{width:76px;height:58px;object-fit:cover;border-radius:9px;flex:none;border-bottom:3px solid #c9962e}
.cb-card div{display:flex;flex-direction:column;gap:2px;min-width:0}.cb-card b{color:#5a0f16;font-size:.9rem}.cb-card span{font-size:.8rem;color:#5f6470;line-height:1.45}
.cb-loc{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#fdfcf9;border-inline-start:4px solid #c9962e}
.cb-loc b{color:#5a0f16;font-size:.88rem}.cb-loc span{font-size:.85rem}.cb-loc a{align-self:flex-start;margin-top:4px;color:#6b1a22;font-weight:700;font-size:.82rem}.cb-loc a:hover{text-decoration:underline}
.cb-phones{display:grid;gap:6px;margin-top:8px}.cb-phones a{padding:9px 13px;border-radius:10px;background:#fdfcf9;border:1px solid #f3d9ab;font-weight:700;color:#1f0a0c;transition:.2s}.cb-phones a:hover{border-color:#c9962e;background:#fdecd2}
.cb-sum{display:grid;gap:4px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#fdfcf9;border:1px dashed #c9962e;font-size:.88rem;font-weight:600;color:#4a0c12}
.tel{direction:ltr;unicode-bidi:isolate;display:inline-block}
.cb-form{display:flex;gap:8px;padding:12px 12px 14px;background:#fff;border-top:1px solid #f3d9ab}
.cb-input{flex:1;min-width:0;padding:12px 16px;border-radius:999px;border:1.5px solid #d9a63d;background:#fdfcf9;color:#1f0a0c;font:inherit;font-size:.95rem;outline:none;transition:.2s}
.cb-input:focus{border-color:#6b4c14;box-shadow:0 0 0 3px #c9962e44;background:#fff}
.cb-send{flex:none;width:46px;height:46px;border-radius:50%;border:0;background:var(--g);color:#1a0508;cursor:pointer;display:grid;place-items:center;transition:.2s}
[dir=rtl] .cb-send svg{transform:scaleX(-1)}.cb-send:hover{transform:scale(1.07)}
@media(max-width:899px){
 .cb-launcher{bottom:86px;inset-inline-end:16px;width:54px;height:54px}.cb-tip{bottom:96px;inset-inline-end:82px}
 .cb-panel{inset-inline:0;bottom:0;width:100%;height:82vh;border-radius:22px 22px 0 0;border-inline:0;border-bottom:0}
 .cb.open~.wa-fab,body:has(.cb.open) .wa-fab{display:none}
}
@media(prefers-reduced-motion:reduce){.cb *{animation:none!important;transition:none!important}}

/* Always on the right-hand side, in English and Arabic */
.cb-launcher,.cb-panel{inset-inline-end:auto;right:22px;left:auto}
.cb-tip{inset-inline-end:auto;right:90px;left:auto;transform:translateX(10px) scale(.95)}
.cb-tip.show{transform:none}
.cb-panel,[dir=rtl] .cb-panel{transform-origin:bottom right}
.cb-dot{inset-inline-end:auto;right:2px;left:auto}
@media(max-width:899px){
 .cb-launcher{right:16px;left:auto}.cb-tip{right:82px;left:auto}
 .cb-panel{right:0;left:0;width:100%}
}
