/* DjimlyStore v3.50 — unified support center, mobile-first, scoped to service pages */
:root{--ds50-blue:#136dd7;--ds50-blue-light:#eaf3ff;--ds50-ink:#131c30;--ds50-muted:#66758a;--ds50-bg:#f5f7fb;--ds50-line:#e7eaf0;--ds50-safe:env(safe-area-inset-bottom,0px)}
*,*::before,*::after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body.ds50-page{margin:0;background:var(--ds50-bg);color:var(--ds50-ink);font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;padding-bottom:calc(105px + var(--ds50-safe));min-height:100dvh}body.ds50-chat-page{padding-bottom:calc(147px + var(--ds50-safe));background:#f4f5f7}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a{color:inherit}a:focus-visible,button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #80b8ff;outline-offset:3px}.ds50-hide{display:none!important}.ds50-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ds50-muted{color:var(--ds50-muted);font-size:12px}.ds50-tag{font-size:10px;color:#0b71ca;background:#eaf3ff;padding:5px 8px;border-radius:99px;font-weight:800;white-space:nowrap}.ds50-tag.closed{background:#e7f9ef;color:#087343}.ds50-tag.open{background:#fff5e5;color:#ae680a}.ds50-top{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:0 max(14px,calc((100vw - 930px)/2));height:65px;border-bottom:1px solid #edf0f4;background:rgba(255,255,255,.98);backdrop-filter:blur(15px)}.ds50-top strong{text-align:center;font-size:16px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ds50-back,.ds50-head-action{width:43px;height:43px;display:flex;align-items:center;justify-content:center;color:#172238;text-decoration:none;border:0;border-radius:13px;background:#f2f5fa;padding:0;line-height:0}.ds50-back svg,.ds50-head-action svg{display:block;flex:none;width:22px;height:22px;transform:none}.ds50-back:active,.ds50-head-action:active{background:#e4edfa}
.ds50-main{width:min(920px,100%);margin:auto;padding:14px 14px 26px}.ds50-card{background:#fff;border:1px solid var(--ds50-line);border-radius:22px;padding:17px;margin-bottom:13px;box-shadow:0 5px 20px rgba(19,41,81,.025)}.ds50-card h2{font-size:17px;letter-spacing:-.045em;font-weight:900;margin:0 0 13px}.ds50-section-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:13px}.ds50-section-head h2,.ds50-section-head b{font-size:15px;letter-spacing:-.035em;margin:0;font-weight:900}.ds50-text-button{border:0;background:transparent;color:#126bca;display:inline-flex;align-items:center;gap:4px;padding:4px 2px;font-size:11px;font-weight:850;white-space:nowrap}.ds50-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 5px;padding:7px 0 4px}.ds50-quick a{min-width:0;text-decoration:none;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;font-size:11px;font-weight:800;line-height:1.25;color:#152137}.ds50-quick-icon{width:57px;height:57px;border-radius:17px;background:#edf5ff;color:#1271dd;display:grid;place-items:center;transition:transform .15s,background .15s}.ds50-quick-icon svg{width:26px;height:26px}.ds50-quick a:nth-child(3) .ds50-quick-icon{color:#0e9364;background:#e8f8f2}.ds50-quick a:nth-child(4) .ds50-quick-icon{color:#d18725;background:#fff2e4}.ds50-quick a:nth-child(6) .ds50-quick-icon{color:#1575da;background:#e9f4ff}.ds50-quick a:nth-child(7) .ds50-quick-icon{color:#e39d12;background:#fff5df}.ds50-quick a:active .ds50-quick-icon{transform:scale(.95)}
.ds50-search{display:flex;gap:10px;align-items:center;background:#f4f6f9;border:1px solid #e8ebf1;border-radius:13px;padding:0 13px;margin:8px 0 12px;color:#7c8798}.ds50-search input{width:100%;min-width:0;height:46px;border:0;background:transparent;outline:0;color:#152238;font-size:13px}.ds50-tabs{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:0 2px 10px;white-space:nowrap}.ds50-tabs::-webkit-scrollbar,.ds50-action-strip::-webkit-scrollbar{display:none}.ds50-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:10px 1px;color:#708096;font-weight:850;font-size:12px;white-space:nowrap;flex:0 0 auto}.ds50-tabs button.active{border-color:#1469d7;color:#10223e}.ds50-faq{border-bottom:1px solid #eceff3}.ds50-faq:last-child{border-bottom:0}.ds50-faq summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:9px;list-style:none;padding:16px 2px;font-size:13px;font-weight:760}.ds50-faq summary::-webkit-details-marker{display:none}.ds50-faq summary::after{content:'›';font-size:23px;color:#8290a5}.ds50-faq p{margin:0 0 14px;color:#5f6e83;font-size:12px;line-height:1.7}.ds50-faq a{font-weight:850;color:var(--ds50-blue)}.ds50-empty{padding:28px 12px;text-align:center;color:#65758c;background:#f6f8fb;border-radius:15px;font-size:13px}.ds50-suggest-list,.ds50-question-list{display:grid;gap:7px}.ds50-suggest-list a,.ds50-question-list button{border:0;background:#f5f7fa;padding:12px 13px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;text-decoration:none;font-weight:700;color:#26354d;font-size:12px}.ds50-suggest-list a span,.ds50-question-list button span:last-child{font-size:20px;color:#7990ac}.ds50-order-card{display:flex;gap:11px;align-items:center;background:#f6f7fa;border-radius:15px;padding:12px;text-decoration:none;margin-bottom:9px;min-width:0}.ds50-order-card img{height:78px;width:74px;flex:none;object-fit:contain;background:#fff;border-radius:10px}.ds50-order-card .ds50-order-meta{flex:1;min-width:0}.ds50-order-card b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ds50-order-card p{font-size:11px;color:#607087;margin:5px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ds50-order-card strong{font-size:12px;color:#126bd6}.ds50-order-card small{display:block;font-size:10px;color:#73829b}
.ds50-contact{text-align:center}.ds50-contact p{font-size:12px;color:#69778a}.ds50-contact-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.ds50-contact-items a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12px;text-decoration:none;overflow-wrap:anywhere}.ds50-contact-items a svg{color:#146bd4}.ds50-contact-items a small{font-size:10px;color:#7b8a9d}.ds50-fixed-actions{position:fixed;z-index:60;bottom:0;left:0;right:0;display:grid;grid-template-columns:minmax(112px,33%) minmax(0,1fr);gap:11px;padding:11px max(14px,calc((100vw - 930px)/2)) calc(12px + var(--ds50-safe));background:rgba(255,255,255,.97);border-top:1px solid #e8ecf2;box-shadow:0 -10px 25px rgba(18,30,55,.04);backdrop-filter:blur(16px)}.ds50-fixed-actions a{height:52px;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-weight:850;font-size:12px;border-radius:13px;min-width:0}.ds50-record-button{color:#182338;background:#f3f5f9}.ds50-service-button{color:#fff;background:#111b2d}.ds50-service-button img{width:28px;height:28px;border-radius:50%;object-fit:contain;background:#fff}
.ds50-chat-page .ds50-main{max-width:780px;padding:16px 12px 20px}.ds50-chat-row{display:flex;align-items:flex-start;gap:9px}.ds50-avatar{height:37px;width:37px;object-fit:contain;border-radius:50%;background:#fff;flex:none}.ds50-chat-bubble{border:1px solid #e6eaf1;border-radius:18px 18px 18px 5px;background:#fff;padding:13px 14px;box-shadow:0 4px 15px #1523410a;max-width:min(92%,480px);font-size:12px}.ds50-chat-bubble b{font-size:13px}.ds50-chat-bubble p{margin:9px 0}.ds50-chat-bubble small{color:#7c8ba0;font-size:11px}.ds50-chat-feature{margin:16px 0 20px 45px;max-width:650px;padding:15px;background:#fff;border:1px solid #e7eaf1;border-radius:18px;box-shadow:0 4px 20px #111d3207}.ds50-questions-title{margin:12px 0 7px;font-size:12px;font-weight:850}.ds50-order-highlight .ds50-order-card{margin-bottom:6px}.ds50-order-highlight .ds50-order-card img{width:95px;height:100px}.ds50-messages{margin:20px 0 0 45px}.ds50-thread-heading{display:flex;align-items:center;gap:9px;padding:12px 10px;border-radius:15px;background:#fff;border:1px solid #e6eaf1}.ds50-thread-heading img{height:34px;width:34px;border-radius:50%;object-fit:contain}.ds50-thread-heading div{flex:1;min-width:0}.ds50-thread-heading b{display:block;font-size:12px}.ds50-thread-heading small{display:block;font-size:10px;color:#7b8796}.ds50-thread{display:grid;gap:12px;padding:12px 1px}.ds50-message{display:flex;gap:8px;align-items:flex-end}.ds50-message.customer{justify-content:flex-end}.ds50-message img{width:30px;height:30px;border-radius:50%;object-fit:contain;flex:none}.ds50-bubble{max-width:min(88%,495px);background:#fff;border:1px solid #e5e9ef;border-radius:15px 15px 15px 4px;padding:10px 12px;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.ds50-message.customer .ds50-bubble{background:#116ed8;color:#fff;border:0;border-radius:15px 15px 4px 15px}.ds50-bubble small{display:block;color:#8795a6;margin-top:5px;font-size:9px}.ds50-message.customer .ds50-bubble small{color:#deebfc}.ds50-chat-help{color:#64738a;font-size:10px;margin:17px 0 5px 45px;display:flex;align-items:center;gap:6px}.ds50-chat-bottom{position:fixed;bottom:0;left:0;right:0;z-index:62;background:#fff;border-top:1px solid #e6ebf2;padding:8px max(12px,calc((100vw - 800px)/2)) calc(10px + var(--ds50-safe));box-shadow:0 -7px 18px #1420330d}.ds50-action-strip{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;padding:4px 0 10px}.ds50-action-strip button,.ds50-action-strip a{flex:0 0 auto;display:flex;align-items:center;gap:5px;border:1px solid #e0e6ee;background:#fff;border-radius:30px;color:#303f55;font-weight:700;font-size:11px;padding:9px 12px;text-decoration:none}.ds50-action-strip button:active,.ds50-action-strip a:active{background:#eef5ff}.ds50-composer{display:flex;align-items:flex-end;gap:9px}.ds50-composer textarea{width:100%;min-width:0;flex:1;min-height:48px;max-height:112px;padding:12px 13px;background:#f5f7fa;border:1px solid #e6ebf1;border-radius:14px;resize:none;font-size:13px;color:#1a2940;outline:none}.ds50-composer button{width:47px;height:47px;flex:none;border:0;border-radius:50%;background:#111b2e;color:#fff;display:grid;place-items:center}.ds50-composer button svg{width:22px;height:22px}.ds50-feedback{background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:12px;font-size:12px}.ds50-feedback:empty{display:none}.ds50-feedback button{border:1px solid #dce6ef;border-radius:10px;background:#fff;padding:9px 11px;margin:8px 6px 0 0;font-size:12px}.ds50-feedback button.active{color:#126bd4;background:#eaf4ff;border-color:#126bd4}.ds50-feedback .ds50-rate textarea{display:block;width:100%;border-radius:11px;border:1px solid #dce5ef;padding:10px;margin-top:9px;min-height:65px}.ds50-feedback .ds50-rate button[data-star]{font-size:22px;color:#a8afbf}.ds50-feedback .ds50-rate button[data-star].active{color:#eba525}.ds50-feedback .ds50-save-review{background:#126bd4;color:#fff;border-color:#126bd4}
.ds50-modal{position:fixed;inset:0;z-index:90;background:#0d182b87;display:flex;align-items:flex-end;justify-content:center}.ds50-modal-panel{background:#fff;border-radius:25px 25px 0 0;padding:20px 16px calc(18px + var(--ds50-safe));width:min(650px,100%);max-height:80dvh;overflow:auto;box-shadow:0 -15px 60px #07132630}.ds50-modal-panel h2{font-size:17px;margin:0}.ds50-modal-list{display:grid;gap:9px;max-height:48dvh;overflow-y:auto}.ds50-modal-list button{border:1px solid #e7ebf2;background:#fff;border-radius:15px;padding:9px;text-align:left;width:100%}.ds50-modal-list button.selected{border:2px solid #126bd4;background:#f0f7ff}.ds50-modal-list .ds50-order-card{margin:0}.ds50-close{font-size:24px;border:0;background:#f1f4f7;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.ds50-secondary{width:100%;background:#f1f5fa;color:#135fad;border:0;border-radius:12px;padding:13px;font-weight:800;margin-top:12px}.ds50-record{border:1px solid #e5eaf1;background:#fff;border-radius:15px;padding:14px;margin-top:11px}.ds50-record .ds50-record-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.ds50-record h3{font-size:14px;margin:10px 0 4px}.ds50-record p{font-size:12px;color:#64748a;margin:7px 0}.ds50-record a{font-size:12px;font-weight:800;color:#106acf;display:inline-flex;margin-top:8px;text-decoration:none}.ds50-toast{position:fixed;z-index:110;bottom:calc(165px + var(--ds50-safe));left:50%;transform:translateX(-50%);background:#16223a;color:#fff;border-radius:13px;padding:12px 16px;max-width:90vw;min-width:190px;box-shadow:0 12px 28px #152b5540;font-size:12px;text-align:center}
@media(max-width:420px){.ds50-main{padding:12px 10px}.ds50-card{padding:15px;border-radius:19px}.ds50-quick-icon{width:50px;height:50px}.ds50-quick{gap:16px 5px}.ds50-quick a{font-size:10px}.ds50-chat-feature,.ds50-messages{margin-left:24px}.ds50-chat-help{margin-left:25px}.ds50-avatar{width:29px;height:29px}.ds50-chat-bubble{padding:11px}.ds50-contact-items{gap:3px}.ds50-contact-items a small{font-size:9px}.ds50-fixed-actions{grid-template-columns:40% 1fr;gap:6px}.ds50-fixed-actions a{font-size:11px}}
@media(min-width:750px){.ds50-quick{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.ds50-quick-section{padding:24px}.ds50-fixed-actions{grid-template-columns:260px minmax(0,400px);justify-content:center}.ds50-chat-bottom{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* v3.51 Mobile chat stability: one viewport, one scrolling conversation; never scroll the parent PWA iframe. */
html:has(body.ds50-chat-page){height:100%;overflow:hidden;overscroll-behavior:none}
body.ds50-chat-page{height:100vh;height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding:0!important;width:100%;max-width:100%;overscroll-behavior:none}
.ds50-chat-page .ds50-top{position:relative;top:auto;flex:0 0 65px;min-height:65px;width:100%}
.ds50-chat-page .ds50-main.ds50-conversation{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;max-width:780px;width:100%;padding-bottom:28px}
.ds50-chat-page .ds50-chat-bottom{position:relative;bottom:auto;left:auto;right:auto;flex:0 0 auto;width:100%;max-width:100%;box-shadow:0 -3px 12px #1420330a}
.ds50-chat-page.ds351-modal-open .ds50-conversation{overflow:hidden}
.ds351-sent-notice{margin:12px 5px;text-align:center;color:#316e57;font-size:11px;font-weight:700;background:#ebfaf2;border-radius:12px;padding:11px;line-height:1.5}
.ds351-pending .ds50-bubble{opacity:.8}
.ds351-confirmed .ds50-bubble{opacity:1}
/* iOS Safari zooms focused inputs if their computed text size is under 16px. */
.ds50-chat-page textarea,.ds50-chat-page input,.ds50-chat-page select,.ds50-page .ds50-search input,.ds50-page .ds50-feedback textarea{font-size:16px!important}
.ds50-composer textarea{font-size:16px!important;line-height:1.4;padding:12px 13px;-webkit-text-size-adjust:100%}
/* compact responsive order chooser: vertical scrolling only, never horizontal */
.ds50-modal{max-width:100vw;overflow:hidden;padding:0;overscroll-behavior:contain}
.ds50-modal-panel{display:flex;flex-direction:column;min-width:0;max-width:100vw;width:min(480px,100%);max-height:min(68dvh,580px);height:auto;overflow:hidden;padding:14px 12px calc(12px + var(--ds50-safe));border-radius:20px 20px 0 0}
.ds50-modal-panel .ds50-section-head{flex:0 0 auto;margin:0 0 9px;min-width:0}
.ds50-modal-panel h2{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds50-modal-list{flex:1 1 auto;min-width:0;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;gap:7px;padding-right:2px}
.ds50-modal-list button{display:block;min-width:0;max-width:100%;width:100%;padding:4px;border-radius:13px;overflow:hidden;white-space:normal}
.ds50-modal-list button.selected{border-width:1.5px}
.ds50-modal-list .ds50-order-card{width:100%;min-width:0;max-width:100%;margin:0;padding:8px;gap:9px;overflow:hidden;border-radius:10px;align-items:center}
.ds50-modal-list .ds50-order-card img{width:58px;height:62px;max-width:58px;flex:0 0 58px;border-radius:9px;object-fit:contain}
.ds50-modal-list .ds50-order-meta{min-width:0;width:0;flex:1 1 auto;overflow:hidden}
.ds50-modal-list .ds50-order-meta b,.ds50-modal-list .ds50-order-meta p,.ds50-modal-list .ds50-order-meta small,.ds50-modal-list .ds50-order-meta strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.ds50-modal-list .ds50-order-meta b{font-size:11px;margin:1px 0}
.ds50-modal-list .ds50-order-meta p{font-size:10px;margin:2px 0}
.ds50-modal-list .ds50-order-meta strong{font-size:12px}
.ds50-modal-list .ds50-order-meta small{font-size:9px}
.ds50-modal-panel>.ds50-secondary{flex:0 0 auto;margin:9px 0 0;min-height:43px;padding:10px;font-size:12px}
.ds50-page,.ds50-page .ds50-main,.ds50-page .ds50-chat-feature,.ds50-page .ds50-messages{max-width:100%;min-width:0}
@media(max-width:360px){.ds50-modal-panel{padding-inline:9px}.ds50-modal-list .ds50-order-card img{width:50px;height:54px;flex-basis:50px}.ds50-chat-page .ds50-top strong{font-size:14px}}
@media(orientation:landscape) and (max-height:550px){.ds50-modal-panel{max-height:85dvh}}
