.rpa-root{font-family:"RPA Vazir",Vazirmatn,Vazir,Tahoma,"Segoe UI",sans-serif;--rpa-primary:#059669;--rpa-text:#172033;--rpa-muted:#64748b;--rpa-border:#e5e9ef;position:fixed;z-index:999999;bottom:22px;font-family:"RPA Vazir",Vazirmatn,Vazir,IRANSansX,IRANSans,Tahoma,Arial,sans-serif;direction:rtl;text-align:right;line-height:1.5;box-sizing:border-box}.rpa-root *{box-sizing:border-box}.rpa-root.rpa-right{right:22px}.rpa-root.rpa-left{left:22px}.rpa-root svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rpa-launcher{position:relative;border:0;background:var(--rpa-primary);color:#fff;border-radius:999px;min-width:62px;height:62px;padding:0 20px;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 16px 40px rgba(15,23,42,.28);cursor:pointer;font:inherit;font-weight:800;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}.rpa-launcher:hover{transform:translateY(-2px);filter:brightness(.96);box-shadow:0 20px 45px rgba(15,23,42,.32)}.rpa-launcher:focus-visible,.rpa-root button:focus-visible,.rpa-root a:focus-visible,.rpa-root textarea:focus-visible{outline:3px solid rgba(5,150,105,.25);outline-offset:2px}.rpa-launcher-icon{width:31px;height:31px;display:grid;place-items:center}.rpa-launcher-icon svg{width:29px;height:29px}.rpa-launcher-label{font-size:13px;white-space:nowrap}.rpa-launcher-pulse{position:absolute;top:2px;right:4px;width:12px;height:12px;border-radius:50%;background:#4ade80;border:2px solid #fff;box-shadow:0 0 0 0 rgba(74,222,128,.6);animation:rpa-pulse 2s infinite}@keyframes rpa-pulse{70%{box-shadow:0 0 0 9px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}.rpa-panel{position:absolute;bottom:78px;width:min(440px,calc(100vw - 28px));height:min(720px,calc(100vh - 118px));background:#f4f7f6;border:1px solid rgba(15,23,42,.1);border-radius:24px;box-shadow:0 28px 80px rgba(15,23,42,.28);overflow:hidden;display:none;grid-template-rows:auto 1fr auto auto;color:var(--rpa-text);transform-origin:bottom right;animation:rpa-panel-in .22s ease both}.rpa-left .rpa-panel{left:0;transform-origin:bottom left}.rpa-right .rpa-panel{right:0}@keyframes rpa-panel-in{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.rpa-panel.is-open{display:grid}.rpa-header{position:relative;z-index:2;background:linear-gradient(135deg,var(--rpa-primary),#087b70);color:#fff;padding:15px 16px;display:flex;align-items:center;gap:11px;min-height:76px}.rpa-header::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 0,rgba(255,255,255,.16),transparent 38%);pointer-events:none}.rpa-header-avatar{position:relative;z-index:1;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--rpa-primary);display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.12)}.rpa-header-avatar svg{width:29px;height:29px}.rpa-header-avatar>span{position:absolute;left:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#4ade80;border:2px solid #fff}.rpa-header-copy{position:relative;z-index:1;display:grid;gap:3px;min-width:0}.rpa-header-copy strong{font-size:15px}.rpa-header-copy small{display:flex;align-items:center;gap:5px;font-size:10.5px;opacity:.9}.rpa-online-dot{width:6px;height:6px;border-radius:50%;background:#86efac;display:inline-block}.rpa-header-cart,.rpa-close{position:relative;z-index:1;margin-right:auto;width:39px;height:39px;border:0;border-radius:12px;background:rgba(255,255,255,.13);color:#fff;display:grid;place-items:center;cursor:pointer;text-decoration:none;transition:background .2s}.rpa-header-cart{margin-right:auto;margin-left:0}.rpa-close{margin-right:0}.rpa-header-cart:hover,.rpa-close:hover{background:rgba(255,255,255,.23)}.rpa-header-cart svg,.rpa-close svg{width:20px;height:20px}.rpa-cart-count{position:absolute;top:-4px;left:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#f97316;color:#fff;border:2px solid var(--rpa-primary);font-size:9px;display:none;place-items:center}.rpa-cart-count.is-visible{display:grid}.rpa-messages{position:relative;padding:18px 14px 16px;overflow:auto;overscroll-behavior:contain;background-color:#eef3f1;background-image:radial-gradient(rgba(5,150,105,.055) 1px,transparent 1px),radial-gradient(rgba(15,23,42,.035) 1px,transparent 1px);background-position:0 0,11px 11px;background-size:22px 22px;display:flex;flex-direction:column;gap:13px;scrollbar-width:thin;scrollbar-color:rgba(100,116,139,.35) transparent}.rpa-message{display:flex;flex-direction:column;gap:9px;max-width:100%}.rpa-message-row{display:flex;align-items:flex-end;gap:7px}.rpa-user .rpa-message-row{justify-content:flex-start;flex-direction:row-reverse}.rpa-assistant .rpa-message-row{justify-content:flex-start}.rpa-mini-avatar{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--rpa-primary);display:grid;place-items:center;border:1px solid rgba(5,150,105,.14);box-shadow:0 2px 8px rgba(15,23,42,.07)}.rpa-mini-avatar svg{width:17px;height:17px}.rpa-bubble{position:relative;max-width:82%;padding:10px 12px 7px;border-radius:14px;line-height:1.85;font-size:12.5px;white-space:pre-wrap;box-shadow:0 2px 8px rgba(15,23,42,.06)}.rpa-bubble-text{display:block;padding-left:34px}.rpa-user .rpa-bubble{background:#d9fdd3;color:#172033;border-bottom-left-radius:4px}.rpa-assistant .rpa-bubble{background:#fff;border:1px solid rgba(15,23,42,.07);border-bottom-right-radius:4px}.rpa-time{position:absolute;left:9px;bottom:4px;color:#94a3b8;font-size:8px;direction:ltr}.rpa-user .rpa-time{color:#6b8f6b}.rpa-products{margin-right:35px;display:grid;gap:10px}.rpa-product{position:relative;background:#fff;border:1px solid var(--rpa-border);border-radius:17px;padding:10px;display:grid;grid-template-columns:96px minmax(0,1fr);gap:11px;box-shadow:0 5px 18px rgba(15,23,42,.065);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.rpa-product:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(15,23,42,.09);border-color:rgba(5,150,105,.25)}.rpa-product-media{position:relative;width:96px;height:96px;border-radius:13px;overflow:hidden;background:#f1f5f4;display:block}.rpa-product-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.rpa-product:hover .rpa-product-image{transform:scale(1.035)}.rpa-discount-badge{position:absolute;top:6px;right:6px;z-index:1;padding:4px 6px;border-radius:999px;background:#fee2e2;color:#dc2626;border:1px solid #fecaca;font-size:8.5px;font-weight:900;box-shadow:0 2px 5px rgba(220,38,38,.12)}.rpa-product-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-top:1px}.rpa-product-title{color:var(--rpa-text);text-decoration:none;font-size:12.5px;font-weight:800;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rpa-product-title:hover{color:var(--rpa-primary)}.rpa-price-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.rpa-product-price{font-size:12.5px;color:var(--rpa-primary);font-weight:900}.rpa-regular-price{font-size:9.5px;color:#94a3b8}.rpa-product-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;font-size:9.5px}.rpa-stock{display:flex;align-items:center;gap:4px;color:#16a34a}.rpa-stock i{width:6px;height:6px;border-radius:50%;background:currentColor}.rpa-stock-outofstock{color:#dc2626}.rpa-stock-onbackorder{color:#d97706}.rpa-rating{color:#d97706;direction:rtl}.rpa-product-actions{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;gap:7px}.rpa-btn{min-height:37px;border-radius:10px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 9px;font-family:inherit;font-size:10.5px;font-weight:800;text-decoration:none;cursor:pointer;transition:filter .2s ease,transform .15s ease,background .2s ease}.rpa-btn:hover{transform:translateY(-1px)}.rpa-btn svg{width:16px;height:16px}.rpa-btn-primary{background:var(--rpa-primary);color:#fff;border-color:var(--rpa-primary)}.rpa-btn-primary:hover{color:#fff;filter:brightness(.94)}.rpa-btn-primary.is-added{background:#15803d;border-color:#15803d}.rpa-btn-primary.is-disabled{background:#cbd5e1;border-color:#cbd5e1;cursor:not-allowed;pointer-events:none}.rpa-btn-secondary{background:#fff;color:var(--rpa-primary);border-color:rgba(5,150,105,.35)}.rpa-btn-secondary:hover{background:#f0fdf4;color:var(--rpa-primary)}.rpa-btn.is-loading{opacity:.7;cursor:wait}.rpa-typing{display:flex;align-items:center;gap:4px;min-width:55px;padding:13px 14px}.rpa-typing span{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:rpa-typing 1.2s infinite ease-in-out}.rpa-typing span:nth-child(2){animation-delay:.15s}.rpa-typing span:nth-child(3){animation-delay:.3s}@keyframes rpa-typing{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.rpa-suggestions{padding:9px 11px;display:flex;gap:7px;overflow-x:auto;border-top:1px solid var(--rpa-border);background:#fff;scrollbar-width:none}.rpa-suggestions::-webkit-scrollbar{display:none}.rpa-chip{white-space:nowrap;border:1px solid #dce4e1;color:#475569;background:#fff;border-radius:999px;padding:7px 10px;display:flex;align-items:center;gap:5px;font:inherit;font-size:9.5px;cursor:pointer;transition:border-color .2s,color .2s,background .2s}.rpa-chip:hover{border-color:rgba(5,150,105,.4);color:var(--rpa-primary);background:#f0fdf4}.rpa-chip span{font-size:11px}.rpa-form{position:relative;padding:10px 11px 8px;border-top:1px solid var(--rpa-border);background:#fff}.rpa-input-wrap{display:grid;grid-template-columns:1fr 42px;gap:8px;align-items:end;border:1px solid #dbe3e0;border-radius:15px;padding:5px 5px 5px 10px;background:#f8faf9;transition:border-color .2s,box-shadow .2s}.rpa-input-wrap:focus-within{border-color:var(--rpa-primary);box-shadow:0 0 0 3px rgba(5,150,105,.10)}.rpa-form textarea{width:100%;min-height:40px;max-height:92px;resize:none;border:0!important;background:transparent!important;padding:10px 6px;box-shadow:none!important;font:inherit;font-size:11.5px;color:var(--rpa-text);outline:none!important}.rpa-form textarea::placeholder{color:#94a3b8}.rpa-send{width:42px;height:42px;border:0;border-radius:12px;background:var(--rpa-primary);color:#fff;display:grid;place-items:center;cursor:pointer;transition:filter .2s,transform .15s}.rpa-send:hover{filter:brightness(.94);transform:scale(1.02)}.rpa-send svg{width:20px;height:20px;transform:scaleX(-1)}.rpa-form.is-loading{opacity:.78;pointer-events:none}.rpa-privacy{display:block;margin-top:6px;text-align:center;color:#94a3b8;font-size:8.5px}.rpa-toast{position:absolute;left:12px;right:12px;bottom:79px;z-index:5;padding:11px 13px;border-radius:12px;background:#166534;color:#fff;box-shadow:0 10px 25px rgba(15,23,42,.2);font-size:10.5px;display:flex;justify-content:space-between;align-items:center;gap:10px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}.rpa-toast.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.rpa-toast.is-error{background:#b91c1c}.rpa-toast a{color:#fff;text-decoration:underline;font-weight:800;white-space:nowrap}@media(max-width:600px){.rpa-root{bottom:12px}.rpa-root.rpa-right{right:12px}.rpa-root.rpa-left{left:12px}.rpa-launcher{width:58px;min-width:58px;height:58px;padding:0}.rpa-launcher-label{display:none}.rpa-panel{position:fixed;inset:0!important;width:100%;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;animation:rpa-mobile-in .2s ease both}.rpa-root.is-open .rpa-launcher{display:none}@keyframes rpa-mobile-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.rpa-header{padding-top:max(15px,env(safe-area-inset-top));min-height:78px}.rpa-messages{padding:15px 10px}.rpa-products{margin-right:0}.rpa-product{grid-template-columns:88px minmax(0,1fr)}.rpa-product-media{width:88px;height:88px}.rpa-form{padding-bottom:max(8px,env(safe-area-inset-bottom))}.rpa-bubble{max-width:88%}}@media(max-width:360px){.rpa-product{grid-template-columns:78px minmax(0,1fr);padding:8px}.rpa-product-media{width:78px;height:78px}.rpa-btn{font-size:9.5px;padding:6px}.rpa-product-actions{grid-template-columns:1fr 1fr}}

/* Robatina V3 CRM additions */
.rpa-restore-status{padding:10px 14px;background:#ecfdf5;color:#047857;font-size:10px;border-bottom:1px solid #d1fae5;text-align:center}
.rpa-system-notice{align-self:center;max-width:88%;margin:7px auto;padding:7px 11px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:9px;text-align:center}
.rpa-nudge{margin:10px 4px 10px 36px;padding:11px;border:1px solid #bbf7d0;border-radius:15px;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:start;box-shadow:0 8px 18px rgba(5,150,105,.08)}
.rpa-nudge-icon{width:34px;height:34px;border-radius:11px;background:var(--rpa-primary);color:#fff;display:grid;place-items:center}.rpa-nudge-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.rpa-nudge strong{display:block;color:#065f46;font-size:11px}.rpa-nudge p{margin:3px 0 7px;color:#475569;font-size:9.5px;line-height:1.8}.rpa-nudge-action{grid-column:2;font-size:9.5px;font-weight:800;color:var(--rpa-primary);text-decoration:none}
.rpa-profile-card{margin:12px 4px 12px 34px;border:1px solid #dbe7e2;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.08);overflow:hidden;animation:rpa-profile-in .24s ease both}@keyframes rpa-profile-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.rpa-profile-head{display:flex;gap:10px;padding:13px 13px 9px;background:linear-gradient(135deg,#f0fdf4,#fff)}.rpa-profile-icon{flex:0 0 auto;width:36px;height:36px;border-radius:12px;background:rgba(5,150,105,.12);color:var(--rpa-primary);display:grid;place-items:center}.rpa-profile-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.rpa-profile-head strong{display:block;color:#0f172a;font-size:11.5px}.rpa-profile-head p{margin:4px 0 0;color:#64748b;font-size:9.2px;line-height:1.8}
.rpa-profile-form{padding:10px 13px 13px}.rpa-profile-input{width:100%;box-sizing:border-box;border:1px solid #d8e2de!important;border-radius:12px!important;background:#f8faf9!important;box-shadow:none!important;padding:10px 11px!important;font:inherit!important;font-size:11px!important;color:#0f172a!important;direction:rtl}.rpa-profile-input:focus{border-color:var(--rpa-primary)!important;box-shadow:0 0 0 3px rgba(5,150,105,.1)!important;outline:0}
.rpa-consents{display:grid;gap:7px;margin:10px 0;color:#64748b;font-size:8.8px;line-height:1.7}.rpa-consents label{display:flex;gap:7px;align-items:flex-start}.rpa-consents input{margin-top:2px;accent-color:var(--rpa-primary)}
.rpa-profile-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.rpa-profile-submit,.rpa-profile-skip{border:0;border-radius:11px;padding:9px 12px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.rpa-profile-submit{background:var(--rpa-primary);color:#fff}.rpa-profile-submit:disabled{opacity:.65;cursor:wait}.rpa-profile-skip{background:#f1f5f9;color:#64748b}
.rpa-search-actions{margin:7px 4px 2px 34px;display:flex;justify-content:flex-start}.rpa-save-search{display:inline-flex;align-items:center;gap:6px;border:1px solid #d7e4de;border-radius:999px;padding:7px 10px;background:#fff;color:#475569;font:inherit;font-size:9.5px;font-weight:700;cursor:pointer}.rpa-save-search:hover{color:var(--rpa-primary);border-color:rgba(5,150,105,.35);background:#f0fdf4}.rpa-save-search svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.rpa-save-search.is-saved{color:#047857;background:#ecfdf5;border-color:#a7f3d0}
@media(max-width:600px){.rpa-profile-card,.rpa-nudge{margin-right:0;margin-left:0}.rpa-search-actions{margin-left:0;margin-right:0}.rpa-profile-head strong{font-size:13px}.rpa-profile-head p,.rpa-profile-input{font-size:11px!important}.rpa-profile-submit,.rpa-profile-skip{font-size:11px}}

/* Robatina v6 - mug.center sales layer */
.rpa-sales-strip{margin:0 0 4px;padding:12px;border:1px solid rgba(5,150,105,.18);border-radius:16px;background:linear-gradient(135deg,#fff,#f0fdf7);box-shadow:0 7px 22px rgba(15,23,42,.05);display:grid;gap:9px}.rpa-sales-strip-copy{display:grid;gap:2px}.rpa-sales-strip-copy strong{font-size:11.5px;color:#064e3b}.rpa-sales-strip-copy small{font-size:9px;line-height:1.7;color:#64748b}.rpa-sales-strip-actions,.rpa-sales-assist-actions,.rpa-sales-note-actions{display:flex;gap:7px;flex-wrap:wrap}.rpa-sales-contact{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:7px 10px;border-radius:10px;text-decoration:none!important;font-size:9.5px;font-weight:800}.rpa-sales-contact svg{width:14px;height:14px}.rpa-sales-whatsapp{background:#dcfce7;color:#166534}.rpa-sales-call{background:#ecfeff;color:#155e75}.rpa-trust-items{display:flex;gap:5px;flex-wrap:wrap}.rpa-trust-items span{padding:4px 7px;border-radius:999px;background:#fff;color:#64748b;border:1px solid #e2e8f0;font-size:8px}.rpa-sales-badges{display:flex;gap:5px;flex-wrap:wrap}.rpa-sales-badges span{padding:3px 6px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:8px;font-weight:800;border:1px solid #fed7aa}.rpa-product-reason{margin-top:7px;padding:7px 8px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:8.7px;line-height:1.6}.rpa-product-reason b{color:#334155}.rpa-sales-assist-card{margin:2px 0 3px 35px;padding:11px;border-radius:14px;background:linear-gradient(135deg,#064e3b,#0f766e);color:#fff;display:grid;gap:9px}.rpa-sales-assist-card>div:first-child{display:grid;gap:2px}.rpa-sales-assist-card strong{font-size:10.5px}.rpa-sales-assist-card small{font-size:8.5px;line-height:1.6;color:rgba(255,255,255,.82)}.rpa-sales-assist-card .rpa-sales-whatsapp,.rpa-sales-assist-card .rpa-sales-call{background:rgba(255,255,255,.13);color:#fff}.rpa-compare-card{margin:1px 0 2px 35px;border:1px solid #dbeafe;border-radius:15px;background:#fff;overflow:hidden}.rpa-compare-head{display:flex;align-items:center;gap:7px;padding:10px 11px;background:#eff6ff;color:#1e40af}.rpa-compare-head span{display:grid;place-items:center}.rpa-compare-head svg{width:16px;height:16px}.rpa-compare-head strong{font-size:10.5px}.rpa-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e2e8f0}.rpa-compare-item{display:grid;gap:5px;padding:10px 8px;background:#fff;color:#334155;text-decoration:none!important;min-width:0}.rpa-compare-item b{font-size:8.8px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rpa-compare-item strong{color:var(--rpa-primary);font-size:9.5px}.rpa-compare-item small{font-size:8px;color:#64748b}.rpa-compare-item em{font-size:7.7px;line-height:1.5;color:#0f766e;font-style:normal}.rpa-sales-note{margin:0 35px 0 0;padding:12px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb}.rpa-sales-note strong{font-size:10.5px;color:#92400e}.rpa-sales-note p{margin:4px 0 9px;color:#78350f;font-size:9px;line-height:1.7}
@media(max-width:600px){.rpa-sales-assist-card,.rpa-compare-card,.rpa-sales-note{margin-right:0;margin-left:0}.rpa-compare-grid{grid-template-columns:1fr}.rpa-sales-contact{font-size:10px}.rpa-trust-items span{font-size:8.5px}}

.rpa-variant-list{display:flex;gap:6px;overflow-x:auto;padding:7px 0 2px;scrollbar-width:none}.rpa-variant-list::-webkit-scrollbar{display:none}.rpa-variant-title{display:none}.rpa-variant-chip{min-width:135px;max-width:185px;display:grid;gap:4px;padding:7px 8px;border:1px solid #dbe7e2;border-radius:10px;background:#fff;color:#334155}.rpa-variant-chip span{font-size:8px;line-height:1.45;white-space:normal}.rpa-variant-chip strong{font-size:8.5px;color:var(--rpa-primary)}.rpa-variant-chip small{font-size:7.5px;color:#64748b}.rpa-variant-chip.is-unavailable{opacity:.48;filter:grayscale(.25)}
.rpa-variant-add{border:0;border-radius:8px;padding:5px 7px;background:var(--rpa-primary);color:#fff;font:inherit;font-size:7.8px;font-weight:800;cursor:pointer}.rpa-variant-add.is-loading{opacity:.65;pointer-events:none}.rpa-variant-add.is-added{background:#166534}

/* Robatina v7.1 appearance controls */
.rpa-root.rpa-right{right:var(--rpa-offset-x,22px);left:auto}.rpa-root.rpa-left{left:var(--rpa-offset-x,22px);right:auto}.rpa-root.rpa-bottom{bottom:var(--rpa-offset-y,22px);top:auto}.rpa-root.rpa-top{top:var(--rpa-offset-y,22px);bottom:auto}.rpa-launcher{background:var(--rpa-launcher,var(--rpa-primary))}.rpa-panel{width:min(var(--rpa-panel-width,440px),calc(100vw - 28px));height:min(var(--rpa-panel-height,720px),calc(100vh - 118px));border-radius:var(--rpa-panel-radius,24px);background:var(--rpa-chat-bg,#eef3f1)}.rpa-bottom .rpa-panel{bottom:78px;top:auto}.rpa-top .rpa-panel{top:78px;bottom:auto}.rpa-top.rpa-left .rpa-panel{transform-origin:top left}.rpa-top.rpa-right .rpa-panel{transform-origin:top right}.rpa-header{background:linear-gradient(135deg,var(--rpa-header,var(--rpa-primary)),var(--rpa-primary))}.rpa-messages{background-color:var(--rpa-chat-bg,#eef3f1)}.rpa-user .rpa-bubble{background:var(--rpa-user-bubble,#d9fdd3)}.rpa-assistant .rpa-bubble{background:var(--rpa-assistant-bubble,#fff)}.rpa-custom-avatar{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.rpa-launcher-icon .rpa-custom-avatar{width:31px;height:31px;border-radius:50%}.rpa-mini-avatar .rpa-custom-avatar{width:100%;height:100%;border-radius:50%}.rpa-header-avatar>.rpa-custom-avatar{width:100%;height:100%;border-radius:50%}
@media(max-width:600px){.rpa-root.rpa-right{right:max(12px,var(--rpa-offset-x,12px));left:auto}.rpa-root.rpa-left{left:max(12px,var(--rpa-offset-x,12px));right:auto}.rpa-root.rpa-bottom{bottom:max(12px,var(--rpa-offset-y,12px));top:auto}.rpa-root.rpa-top{top:max(12px,var(--rpa-offset-y,12px));bottom:auto}.rpa-panel{border-radius:0}}

/* Robatina v7.2 theme-isolation hardening */
.rpa-root button,.rpa-root input,.rpa-root textarea,.rpa-root select{font-family:"RPA Vazir",Vazirmatn,Vazir,Tahoma,"Segoe UI",sans-serif!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none}
.rpa-root button{-webkit-appearance:none!important;appearance:none!important;margin:0!important;min-width:0}
.rpa-root .rpa-launcher{background:var(--rpa-launcher,var(--rpa-primary))!important;color:#fff!important;border:0!important}
.rpa-root .rpa-close,.rpa-root .rpa-header-cart{background:rgba(255,255,255,.13)!important;color:#fff!important;border:0!important;outline:0!important;padding:0!important}
.rpa-root .rpa-close:hover,.rpa-root .rpa-header-cart:hover{background:rgba(255,255,255,.23)!important;color:#fff!important}
.rpa-root .rpa-send{background:var(--rpa-primary)!important;color:#fff!important;border:0!important;padding:0!important}
.rpa-root .rpa-chip{background:#fff!important;color:#475569!important;border:1px solid #dce4e1!important;box-shadow:none!important}
.rpa-root .rpa-chip:hover{background:#f0fdf4!important;color:var(--rpa-primary)!important;border-color:rgba(5,150,105,.4)!important}
.rpa-root .rpa-btn{box-shadow:none!important;text-shadow:none!important;text-transform:none!important}
.rpa-root .rpa-btn-primary,.rpa-root .rpa-variant-add{background:var(--rpa-primary)!important;color:#fff!important;border-color:var(--rpa-primary)!important}
.rpa-root .rpa-btn-secondary{background:#fff!important;color:var(--rpa-primary)!important;border:1px solid rgba(5,150,105,.35)!important}
.rpa-root .rpa-product-title{color:var(--rpa-text)!important;text-decoration:none!important}
.rpa-root .rpa-product-title:hover{color:var(--rpa-primary)!important}
.rpa-root .rpa-sales-contact{text-decoration:none!important;box-shadow:none!important}
.rpa-root .rpa-form textarea{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}

/* Robatina v7.3 chat controls, suggestion carousel and reply anchoring */
.rpa-header-actions{position:relative;z-index:2;margin-right:auto;display:flex;align-items:center;gap:7px;flex:0 0 auto}
.rpa-root .rpa-header-actions .rpa-clear,.rpa-root .rpa-header-actions .rpa-header-cart,.rpa-root .rpa-header-actions .rpa-close{width:39px;height:39px;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:none!important;text-decoration:none!important;cursor:pointer}
.rpa-root .rpa-header-actions .rpa-clear:hover,.rpa-root .rpa-header-actions .rpa-header-cart:hover,.rpa-root .rpa-header-actions .rpa-close:hover{background:rgba(255,255,255,.24)!important;color:#fff!important}
.rpa-root .rpa-header-actions svg{width:20px;height:20px}
.rpa-suggestions{position:relative;display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px;padding:10px 11px 8px;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:rgba(5,150,105,.34) transparent;touch-action:pan-x;background:#fff}
.rpa-suggestions::-webkit-scrollbar{display:block!important;height:4px}
.rpa-suggestions::-webkit-scrollbar-track{background:transparent}
.rpa-suggestions::-webkit-scrollbar-thumb{background:rgba(5,150,105,.28);border-radius:999px}
.rpa-root .rpa-chip{flex:0 0 auto!important;min-width:max-content!important;min-height:42px!important;padding:9px 13px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:11px!important;font-weight:800!important;line-height:1.35!important;white-space:nowrap!important;scroll-snap-align:start;cursor:pointer!important}
.rpa-chip-icon{font-size:14px!important;line-height:1;flex:0 0 auto}
.rpa-chip-label{font:inherit!important;font-weight:800!important;color:inherit!important;white-space:nowrap!important}
@media(max-width:600px){
  .rpa-header-actions{gap:6px}.rpa-root .rpa-header-actions .rpa-clear,.rpa-root .rpa-header-actions .rpa-header-cart,.rpa-root .rpa-header-actions .rpa-close{width:38px;height:38px}
  .rpa-header-copy strong{font-size:14px}.rpa-header-copy small{font-size:10px}
  .rpa-suggestions{gap:8px;padding:9px 10px 7px}
  .rpa-root .rpa-chip{min-height:44px!important;padding:10px 14px!important;font-size:11.5px!important;border-radius:13px!important}
}
@media(max-width:380px){
  .rpa-root .rpa-header-actions .rpa-clear,.rpa-root .rpa-header-actions .rpa-header-cart,.rpa-root .rpa-header-actions .rpa-close{width:34px;height:34px;border-radius:10px!important}
  .rpa-root .rpa-header-actions svg{width:18px;height:18px}.rpa-header-actions{gap:4px}
}

/* Robatina v7.4 — true mobile-first viewport, touch UX and compact commerce cards */
html.rpa-chat-lock,body.rpa-chat-lock{overflow:hidden!important;overscroll-behavior:none!important}
@media(max-width:782px){
  .rpa-root.is-open{position:fixed!important;inset:0!important;width:100vw!important;height:var(--rpa-mobile-vh,100dvh)!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;pointer-events:none!important;z-index:2147483000!important}
  .rpa-root.is-open .rpa-panel{pointer-events:auto!important}
  .rpa-root .rpa-panel{position:fixed!important;inset:0!important;right:0!important;left:0!important;top:0!important;bottom:0!important;width:100vw!important;max-width:100vw!important;height:var(--rpa-mobile-vh,100dvh)!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;transform:none!important;box-shadow:none!important}
  .rpa-root .rpa-header{min-height:64px!important;padding:max(8px,env(safe-area-inset-top)) 10px 8px!important;gap:9px!important;flex:0 0 auto!important}
  .rpa-root .rpa-header-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important}
  .rpa-root .rpa-header-avatar svg{width:27px!important;height:27px!important}
  .rpa-root .rpa-header-copy{gap:1px!important;line-height:1.35!important}
  .rpa-root .rpa-header-copy strong{font-size:14px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:145px!important}
  .rpa-root .rpa-header-copy small{font-size:9.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:160px!important}
  .rpa-root .rpa-header-actions{gap:5px!important;margin-right:auto!important}
  .rpa-root .rpa-header-actions .rpa-clear,.rpa-root .rpa-header-actions .rpa-header-cart,.rpa-root .rpa-header-actions .rpa-close{width:36px!important;height:36px!important;border-radius:10px!important;flex:0 0 36px!important}
  .rpa-root .rpa-header-actions svg{width:18px!important;height:18px!important}
  .rpa-root .rpa-messages{min-height:0!important;height:auto!important;padding:12px 10px 18px!important;gap:12px!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;scroll-padding-top:10px!important;scroll-padding-bottom:20px!important;touch-action:pan-y!important}
  .rpa-root .rpa-message{scroll-margin-top:10px!important}
  .rpa-root .rpa-message-row{gap:5px!important}
  .rpa-root .rpa-mini-avatar{width:25px!important;height:25px!important;flex-basis:25px!important}
  .rpa-root .rpa-mini-avatar svg{width:15px!important;height:15px!important}
  .rpa-root .rpa-bubble{max-width:calc(100% - 32px)!important;padding:10px 11px 7px!important;border-radius:14px!important;font-size:12px!important;line-height:1.85!important}
  .rpa-root .rpa-bubble-text{padding-left:28px!important}
  .rpa-root .rpa-products{width:100%!important;margin:0!important;gap:9px!important}
  .rpa-root .rpa-product{width:100%!important;grid-template-columns:92px minmax(0,1fr)!important;gap:10px!important;padding:9px!important;border-radius:15px!important;box-shadow:0 3px 13px rgba(15,23,42,.065)!important}
  .rpa-root .rpa-product-media{width:92px!important;height:92px!important;border-radius:12px!important}
  .rpa-root .rpa-product-body{gap:5px!important;min-width:0!important}
  .rpa-root .rpa-product-title{font-size:12px!important;line-height:1.55!important;-webkit-line-clamp:2!important}
  .rpa-root .rpa-product-price{font-size:12px!important}
  .rpa-root .rpa-regular-price{font-size:9px!important}
  .rpa-root .rpa-product-meta{font-size:9px!important;gap:4px 8px!important}
  .rpa-root .rpa-product-reason{margin-top:5px!important;padding:6px 7px!important;font-size:8.5px!important}
  .rpa-root .rpa-product-actions{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:1px!important}
  .rpa-root .rpa-btn{min-height:42px!important;padding:8px!important;border-radius:10px!important;font-size:10.5px!important;line-height:1.25!important}
  .rpa-root .rpa-variant-list{width:100%!important;gap:7px!important;padding:6px 0 2px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;scroll-snap-type:x proximity!important;touch-action:pan-x!important}
  .rpa-root .rpa-variant-chip{flex:0 0 145px!important;min-width:145px!important;max-width:145px!important;scroll-snap-align:start!important;padding:7px!important}
  .rpa-root .rpa-sales-strip{padding:9px 10px!important;gap:7px!important;border-radius:13px!important;margin-bottom:2px!important}
  .rpa-root .rpa-sales-strip-copy strong{font-size:10.5px!important}
  .rpa-root .rpa-sales-strip-copy small{font-size:8.5px!important;line-height:1.55!important}
  .rpa-root .rpa-trust-items{gap:4px!important;max-height:31px!important;overflow:hidden!important}
  .rpa-root .rpa-trust-items span{font-size:7.8px!important;padding:3px 6px!important}
  .rpa-root .rpa-sales-assist-card{margin:2px 0!important;padding:10px!important;border-radius:13px!important;gap:7px!important}
  .rpa-root .rpa-sales-assist-card strong{font-size:10px!important}
  .rpa-root .rpa-sales-assist-card small{font-size:8.3px!important;line-height:1.55!important}
  .rpa-root .rpa-suggestions{direction:rtl!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-height:54px!important;gap:7px!important;padding:7px 9px 8px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;touch-action:pan-x!important;background:#fff!important}
  .rpa-root .rpa-suggestions::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .rpa-root .rpa-chip{flex:0 0 auto!important;min-width:auto!important;max-width:76vw!important;min-height:40px!important;padding:8px 11px!important;border-radius:11px!important;font-size:11px!important;line-height:1.2!important;scroll-snap-align:start!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .rpa-root .rpa-chip-label{display:block!important;max-width:58vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .rpa-root .rpa-chip-icon{font-size:13px!important}
  .rpa-root .rpa-form{flex:0 0 auto!important;padding:7px 9px max(6px,env(safe-area-inset-bottom))!important;background:#fff!important;box-shadow:0 -4px 16px rgba(15,23,42,.05)!important}
  .rpa-root .rpa-input-wrap{grid-template-columns:minmax(0,1fr) 44px!important;gap:7px!important;min-height:52px!important;padding:4px 4px 4px 8px!important;border-radius:15px!important}
  .rpa-root .rpa-form textarea{min-height:42px!important;max-height:84px!important;padding:10px 5px!important;font-size:12px!important;line-height:1.55!important}
  .rpa-root .rpa-send{width:44px!important;height:44px!important;border-radius:11px!important;align-self:end!important}
  .rpa-root .rpa-privacy{height:14px!important;line-height:14px!important;margin-top:3px!important;font-size:7.6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:0 4px!important}
  .rpa-root .rpa-toast{left:9px!important;right:9px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;font-size:10px!important}
  .rpa-root.rpa-keyboard-open .rpa-suggestions{display:none!important}
  .rpa-root.rpa-keyboard-open .rpa-privacy{display:none!important}
  .rpa-root.rpa-keyboard-open .rpa-header{min-height:56px!important;padding-top:6px!important;padding-bottom:6px!important}
  .rpa-root.rpa-keyboard-open .rpa-header-avatar{width:36px!important;height:36px!important;flex-basis:36px!important}
  .rpa-root.rpa-keyboard-open .rpa-header-actions .rpa-clear,.rpa-root.rpa-keyboard-open .rpa-header-actions .rpa-header-cart,.rpa-root.rpa-keyboard-open .rpa-header-actions .rpa-close{width:33px!important;height:33px!important;flex-basis:33px!important}
}
@media(max-width:360px){
  .rpa-root .rpa-header-copy strong{max-width:112px!important;font-size:13px!important}
  .rpa-root .rpa-header-copy small{max-width:125px!important;font-size:9px!important}
  .rpa-root .rpa-product{grid-template-columns:82px minmax(0,1fr)!important;padding:8px!important}
  .rpa-root .rpa-product-media{width:82px!important;height:82px!important}
  .rpa-root .rpa-product-actions{grid-template-columns:1fr!important}
  .rpa-root .rpa-btn{min-height:40px!important}
}
