.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.support-widget{position:fixed;inset-inline-end:20px;bottom:22px;z-index:35;font-family:var(--site-font,Tajawal,Arial,sans-serif)}.support-launch{display:flex;gap:8px;align-items:center;border:0;border-radius:30px;background:var(--ink);color:var(--lime);padding:14px 18px;box-shadow:0 5px 25px #88143f25;cursor:pointer;font-weight:700}.support-launch svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.support-launch b{font-size:10px;background:var(--lime);color:var(--ink);border-radius:10px;padding:2px 5px}#support-panel{position:absolute;inset-inline-end:0;bottom:68px;width:min(370px,calc(100vw - 48px));max-height:calc(100dvh - 120px);background:white;border:1px solid #88143f20;border-radius:18px;box-shadow:0 10px 55px #88143f25;overflow:hidden;display:flex;flex-direction:column}#support-panel[hidden]{display:none}.support-head{padding:16px;background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between}.support-head small{display:block;font-size:12px;color:#e2e6ed;margin-top:4px}.support-head button{border:0;background:transparent;color:white;font-size:26px;padding:0 8px;cursor:pointer}.support-shortcuts{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid #eee}.support-shortcuts button{font:inherit;font-size:12px;background:var(--paper);border:1px solid #ddd;border-radius:20px;padding:5px 12px;cursor:pointer}#support-messages{min-height:110px;max-height:280px;overflow-y:auto;padding:14px;overscroll-behavior:contain}.support-empty{text-align:center;padding:24px 12px;color:var(--ink)}.support-empty p{font-size:13px;line-height:1.7;color:#687080}.support-message{padding:10px 12px;border-radius:12px;margin:0 0 10px;max-width:90%;overflow-wrap:anywhere}.support-message p{white-space:pre-wrap;margin:4px 0;font-size:14px;line-height:1.6}.support-message small,.support-message time{font-size:10px;opacity:.7}.from-visitor{background:#edf3df;margin-inline-end:0;margin-inline-start:auto}.from-staff{background:#eef0f4;margin-inline-start:0;margin-inline-end:auto}#support-form{padding:12px 14px;border-top:1px solid #eee;overflow:auto;min-height:120px}#support-form textarea{width:100%;resize:vertical;min-height:55px;max-height:130px;border:1px solid #d8dce2;border-radius:10px;padding:9px;font:inherit;font-size:14px}.support-consent{display:flex;gap:7px;align-items:flex-start;font-size:11px;line-height:1.6;margin-bottom:10px}.support-send-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.support-send-row small{font-size:10px;color:#687080}.support-send-row .button{padding:9px 14px;font-size:13px;min-height:36px}#support-error:empty{display:none}.social-floating.right{bottom:100px}.support-layout{display:grid;grid-template-columns:270px 1fr;gap:16px}.support-inbox-list{max-height:650px;overflow:auto}.support-inbox-list button{display:block;text-align:start;background:white;color:var(--ink);border:1px solid #ddd;border-radius:10px;padding:12px;width:100%;margin-bottom:8px;font:inherit;cursor:pointer}.support-inbox-list button.active{border:2px solid var(--ink)}.support-inbox-list small{display:block;color:#657080;margin-top:5px}.unread-dot{background:var(--lime);padding:3px 6px;font-size:10px;border-radius:8px}.admin-chat-log{height:360px;overflow:auto;border-block:1px solid #eee;padding:14px;margin-block:16px}.staff-form{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}.staff-form input,.staff-form select{width:100%}.staff-role-note{font-size:13px;line-height:1.8;color:#687080}.chat-thread-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.staff-state{padding:4px 8px;border-radius:20px;background:#f0f2ed}.chat-reply-form textarea{width:100%;font:inherit;padding:12px;border:1px solid #ddd;border-radius:8px}.chat-reply-form .button{margin-top:8px}@media(max-width:700px){.support-widget{inset-inline-end:12px;bottom:calc(78px + env(safe-area-inset-bottom))}.support-launch{padding:12px}.support-launch>span{display:none}#support-panel{bottom:60px;max-height:calc(100dvh - 160px)}#support-messages{max-height:32dvh}.social-floating.right{bottom:calc(140px + env(safe-area-inset-bottom))}.support-layout{grid-template-columns:1fr}.support-inbox-list{max-height:180px}.staff-form{grid-template-columns:1fr 1fr}.admin-chat-log{height:280px}}@media(prefers-reduced-motion:reduce){.support-widget *{scroll-behavior:auto}}
.store-body .social-floating{bottom:100px}@media(max-width:700px){.store-body .social-floating{bottom:calc(140px + env(safe-area-inset-bottom))}}
.support-ai-notice{font-size:11px;line-height:1.6;margin:0;padding:8px 14px;background:#f5f7ed;color:var(--ink)}.support-ai-notice:empty{display:none}.support-human{font:inherit;font-size:11px;text-align:center;color:var(--ink);background:white;border:0;border-bottom:1px solid #eee;padding:8px;cursor:pointer}.support-message.from-ai{background:#f3f7e9;border:1px solid #dce9bc;margin-inline-start:0;margin-inline-end:auto}.location-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.location-buttons .button{font-size:13px}.delivery-location #location-permission:empty{display:none}.chat-thread-actions>div{display:flex;gap:8px;flex-wrap:wrap}.chat-thread-actions button{font:inherit;font-size:12px;padding:8px;border:1px solid #ddd;border-radius:7px;background:#f7f8f3;cursor:pointer}
/* Compact phone conversation, with the message area taking the remaining space. */
@media(max-width:700px){
 #support-panel{position:fixed;inset-inline:12px;width:auto;bottom:calc(140px + env(safe-area-inset-bottom));height:min(540px,calc(var(--support-vh,100dvh) - 166px));max-height:none;border-radius:16px}
 .support-head{padding:11px 14px;flex:none}.support-head strong{font-size:15px}.support-head small{font-size:10px;margin-top:3px}
 .support-shortcuts{padding:7px 12px;flex:none}.support-shortcuts button{padding:4px 10px;font-size:11px}
 .support-human{padding:6px;font-size:10px;flex:none}.support-ai-notice{font-size:10px;padding:6px 12px;flex:none}
 #support-messages{flex:1 1 auto;min-height:70px;max-height:none;padding:10px;scrollbar-width:thin}.support-empty{padding:12px 8px}.support-empty p{font-size:12px;margin:6px 0}
 .support-message{padding:8px 10px;margin-bottom:8px;max-width:93%}.support-message p{font-size:13px;line-height:1.6}.support-message small,.support-message time{font-size:9px}
 #support-form{flex:0 1 auto;min-height:115px;max-height:225px;padding:10px 12px;scrollbar-width:thin}#support-name-label{font-size:11px;gap:4px;margin-bottom:7px}#support-name-label input{padding:7px;min-height:33px;font-size:13px}
 .support-consent{font-size:10px;line-height:1.5;margin-bottom:7px}#support-form textarea{min-height:46px;height:46px;max-height:90px;font-size:16px;resize:none;padding:8px}.support-send-row{margin-top:5px}.support-send-row small{font-size:9px}.support-send-row .button{padding:7px 13px;min-height:33px;font-size:12px}
 .support-widget.keyboard-open #support-panel{bottom:calc(var(--support-keyboard-offset,0px) + 8px);height:min(440px,calc(var(--support-vh,100dvh) - 24px))}.support-widget.keyboard-open .support-shortcuts,.support-widget.keyboard-open .support-head small{display:none}.support-widget.keyboard-open #support-messages{min-height:60px}.support-widget.keyboard-open .support-launch{visibility:hidden}
}
@media(max-width:700px) and (max-height:540px){#support-panel{bottom:12px;height:calc(var(--support-vh,100dvh) - 24px)}.support-shortcuts,.support-head small{display:none}#support-messages{min-height:60px}}
.support-name{margin-bottom:8px;font-size:12px}.support-name summary{cursor:pointer;color:#687080}.support-name input{width:100%;font:inherit;border:1px solid #ddd;border-radius:8px;padding:8px;margin-top:6px}
@media(max-width:700px){.support-name{font-size:10px;margin-bottom:6px}.support-name input{padding:6px;min-height:32px;font-size:16px}.support-consent{font-size:9px;line-height:1.5}#support-form{min-height:0;max-height:none;flex:0 0 auto;overflow:visible}.support-send-row{position:sticky;bottom:0;background:white;padding-top:4px}.support-widget.keyboard-open #support-form{min-height:108px;max-height:180px;flex:0 1 auto;overflow:auto}}
.support-name{padding:0;border:0}.support-name summary{padding:2px 0;min-height:0;font-size:11px;font-weight:400}.support-widget #support-error{font-size:11px;line-height:1.5;margin:5px 0 0}@media(max-width:700px) and (max-height:540px){.support-head{padding:8px 12px}#support-messages{min-height:45px}}
