.assam-ai-root{--assam-green:#0f4c33;--assam-green-2:#3f6f25;--assam-green-3:#76953c;--assam-gold:#e0a400;--assam-cream:#fbf8ef;--assam-text:#17352d;position:fixed;left:16px;bottom:16px;z-index:999999;direction:rtl;font-family:inherit;color:var(--assam-text)}
.assam-ai-root.is-right{left:auto;right:18px}

.assam-ai-launcher{position:relative;z-index:10;border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;transition:opacity .16s ease,transform .16s ease}
.assam-ai-launcher:hover{transform:translateY(-2px)}
.assam-ai-launcher-orb{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 28%,#8ca856 0%,#5f7f35 42%,#365f2f 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.72),0 8px 18px rgba(35,64,45,.18)}
.assam-ai-launcher-orb img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(18,49,41,.16))}
.assam-ai-launcher-orb i{position:absolute;top:-2px;left:2px;width:13px;height:13px;border-radius:50%;background:#19c744;border:2px solid #eef8eb;box-shadow:0 0 0 2px rgba(25,199,68,.14)}
.assam-ai-launcher-label{background:linear-gradient(135deg,#5f7f35,#325d35);color:#fff;font-size:10px;font-weight:800;line-height:1;border-radius:999px;padding:6px 11px;white-space:nowrap;box-shadow:0 7px 16px rgba(18,49,41,.15);margin-top:-2px}

.assam-ai-panel{position:absolute;z-index:5;left:0;bottom:0;width:420px;height:620px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px);background:#fff;border:1px solid rgba(13,68,46,.12);border-radius:30px;overflow:hidden;box-shadow:0 28px 90px rgba(18,49,41,.24),0 0 0 1px rgba(255,255,255,.8) inset;display:flex;flex-direction:column;opacity:0;transform:translateY(10px) scale(.988);transition:opacity .18s ease,transform .18s ease}
.assam-ai-root.is-right .assam-ai-panel{left:auto;right:0}
.assam-ai-panel.open{opacity:1;transform:translateY(0) scale(1)}

.assam-ai-header{direction:ltr;height:102px;min-height:102px;padding:14px 16px;background:linear-gradient(135deg,#447b2d 0%,#14613c 46%,#063922 100%);display:grid;grid-template-columns:38px 1fr 62px;gap:12px;align-items:center;color:#fff;position:relative;overflow:hidden}
.assam-ai-header:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 15%,rgba(255,255,255,.16),transparent 34%),radial-gradient(circle at 78% 8%,rgba(255,255,255,.08),transparent 30%),linear-gradient(90deg,rgba(255,255,255,.04),transparent 44%)}
.assam-ai-header>*{position:relative;z-index:1}
.assam-ai-close{border:0;background:transparent;color:#fff;width:34px;height:34px;padding:0;font-size:43px;font-weight:200;line-height:1;display:grid;place-items:center;cursor:pointer;opacity:.96}
.assam-ai-headings{direction:rtl;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0}
.assam-ai-title{font-size:19px;font-weight:800;line-height:1.25;display:inline-flex;align-items:center;gap:10px}
.assam-ai-title:before{content:"";width:13px;height:13px;border-radius:50%;background:#14d845;box-shadow:0 0 0 5px rgba(20,216,69,.12)}
.assam-ai-subtitle{font-size:11px;font-weight:500;line-height:1.45;opacity:.97;white-space:nowrap}
.assam-ai-brandmark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 2px rgba(255,255,255,.2),0 7px 18px rgba(0,0,0,.12);overflow:hidden}
.assam-ai-brandmark img{width:46px;height:46px;object-fit:contain}

.assam-ai-scroll-cue{position:absolute;z-index:3;top:106px;left:17px;color:#a7aaa4;font-size:17px;font-weight:800;line-height:1;pointer-events:none}
.assam-ai-messages{flex:1;overflow:auto;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%);padding:16px 14px 6px;scroll-behavior:smooth}
.assam-ai-messages::-webkit-scrollbar{width:6px}.assam-ai-messages::-webkit-scrollbar-thumb{background:rgba(38,81,62,.18);border-radius:999px}.assam-ai-messages::-webkit-scrollbar-track{background:transparent}

.assam-ai-row{display:flex;margin:0 0 10px;align-items:flex-start}
.assam-ai-row.user{justify-content:flex-end}
.assam-ai-row.assistant{justify-content:flex-start;gap:9px}
.assam-ai-assistant-avatar{width:32px;height:32px;border-radius:50%;flex:0 0 32px;background:#f4efdf;border:1px solid rgba(52,82,62,.12);display:grid;place-items:center;box-shadow:0 3px 8px rgba(18,49,41,.05)}
.assam-ai-assistant-avatar img{width:24px;height:24px;object-fit:contain}
.assam-ai-bubble-stack{display:flex;flex-direction:column;min-width:0}
.assam-ai-row.user .assam-ai-bubble-stack{align-items:flex-end}
.assam-ai-row.assistant .assam-ai-bubble-stack{align-items:flex-start}
.assam-ai-bubble{font-size:14px;line-height:1.75;word-break:break-word}
.assam-ai-row.user .assam-ai-bubble{max-width:268px;background:linear-gradient(135deg,#668a32,#47751f);color:#fff;border-radius:21px 21px 6px 21px;padding:13px 18px;box-shadow:0 8px 18px rgba(57,91,31,.09)}
.assam-ai-row.assistant .assam-ai-bubble{max-width:274px;background:#faf9f6;color:#202621;border:1px solid rgba(0,0,0,.025);border-radius:21px 21px 21px 7px;padding:13px 16px;box-shadow:0 4px 16px rgba(40,55,45,.025)}
.assam-ai-bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.assam-ai-message-meta{display:flex;gap:6px;align-items:center;margin-top:3px;padding:0 7px;color:#959b97;font-size:10.5px;line-height:1.2}
.assam-ai-row.user .assam-ai-message-meta{direction:ltr}.assam-ai-message-meta b{color:#13835c;font-size:14px;letter-spacing:-4px;padding-right:2px}
.assam-ai-highlight{animation:assamHighlight .9s ease}@keyframes assamHighlight{0%,100%{transform:scale(1);box-shadow:none}45%{transform:scale(1.012);box-shadow:0 0 0 5px rgba(176,145,71,.12)}}

.assam-ai-products-wrap{margin:0 0 12px;padding-right:38px}
.assam-ai-products{display:grid;gap:10px}
.assam-ai-product{display:block;text-decoration:none!important;color:#17352d!important;border:1px solid rgba(39,77,58,.18);border-radius:20px;background:#fff;padding:12px;box-shadow:0 8px 22px rgba(28,58,42,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.assam-ai-product:hover{transform:translateY(-2px);border-color:rgba(91,124,48,.42);box-shadow:0 12px 26px rgba(28,58,42,.09)}
.assam-ai-product-grid{display:grid;grid-template-columns:112px 1fr;gap:15px;align-items:start;direction:ltr}
.assam-ai-product-image{width:112px;height:112px;object-fit:cover;border-radius:14px;background:#f2eee6}
.assam-ai-product-body{direction:rtl;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding-top:3px}
.assam-ai-product-body strong{font-size:15px;font-weight:800;line-height:1.45;color:#17231f}
.assam-ai-price{font-size:17px;font-weight:900;line-height:1.25;color:#17231f;white-space:normal}.assam-ai-price *{color:inherit!important;font-weight:inherit!important}.assam-ai-price del{opacity:.55}.assam-ai-price ins{text-decoration:none}
.assam-ai-product-body small{font-size:12px;line-height:1.7;color:#737977}
.assam-ai-product-cta{margin-top:12px;width:100%;height:40px;border-radius:11px;background:linear-gradient(135deg,#55812b,#3e711f);color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:800;box-sizing:border-box}
.assam-ai-product-cta svg{width:20px;height:20px}
.assam-ai-product-meta{color:#959b97;font-size:10.5px;margin:4px 4px 0 0}

.assam-ai-actions{display:flex;gap:8px;flex-wrap:wrap;padding-right:38px;margin:0 0 10px}
.assam-ai-action{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid rgba(23,59,50,.14);color:#235543!important;text-decoration:none!important;font-size:11px;box-shadow:0 5px 15px rgba(18,49,41,.04)}
.assam-ai-action span{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#f4f0e5}.assam-ai-action b{font-weight:800}

.assam-ai-quick-actions{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;padding:10px 12px 4px;background:#fff;border-top:1px solid rgba(36,76,57,.045);overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.assam-ai-quick-actions::-webkit-scrollbar{display:none}
.assam-ai-quick-actions button{flex:0 0 auto;width:auto;min-width:74px;min-height:38px;border:1px solid #ded6c6;background:#fff;color:#194f42;border-radius:999px;padding:6px 10px;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:11px;font-weight:700;cursor:pointer;box-shadow:0 3px 10px rgba(32,54,42,.02);transition:background .14s ease,border-color .14s ease,transform .14s ease;white-space:nowrap}
.assam-ai-quick-actions button:hover{background:#fbf8ee;border-color:#cbbf9e;transform:translateY(-1px)}
.assam-ai-quick-actions button:nth-child(4),.assam-ai-quick-actions button:nth-child(5){width:auto}
.assam-ai-quick-actions svg{width:16px;height:16px;fill:#0d5a48;color:#0d5a48;flex:0 0 auto}.assam-ai-quick-actions .is-star{fill:#e1a20a;color:#e1a20a}

.assam-ai-form{display:grid;grid-template-columns:42px 1fr 50px;gap:10px;align-items:center;padding:8px 12px 6px;background:#fff;direction:ltr}
.assam-ai-attach{width:40px;height:40px;border:0;border-radius:50%;background:#f3ecd5;color:#075a4a;display:grid;place-items:center;cursor:default;box-shadow:inset 0 0 0 1px rgba(53,80,59,.035)}
.assam-ai-attach svg{width:20px;height:20px}
.assam-ai-input{direction:rtl;resize:none;min-height:48px;max-height:96px;border:1px solid #d9d0bf!important;border-radius:28px!important;padding:12px 16px!important;outline:0!important;box-shadow:none!important;background:#fff!important;color:#39433f!important;font:inherit!important;font-size:12.5px!important;line-height:1.5!important;box-sizing:border-box}
.assam-ai-input::placeholder{color:#a8aba9}.assam-ai-input:focus{border-color:#aeba7a!important;box-shadow:0 0 0 3px rgba(112,143,58,.07)!important}
.assam-ai-send{width:46px;height:46px;border:0;border-radius:50%;background:linear-gradient(135deg,#5d862f,#236a2f);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 18px rgba(44,104,49,.18);transition:transform .14s ease,opacity .14s ease}
.assam-ai-send svg{width:22px;height:22px}.assam-ai-send:hover{transform:translateY(-1px)}.assam-ai-send:disabled{opacity:.48;cursor:wait}
.assam-ai-footnote{text-align:center;background:#fff;color:#8e9691;font-size:8.5px;padding:0 10px 8px}
.assam-ai-typing{display:flex!important;gap:5px;align-items:center;min-width:58px}.assam-ai-typing i{width:6px;height:6px;background:#7d9389;border-radius:50%;animation:assamBounce 1s infinite ease-in-out}.assam-ai-typing i:nth-child(2){animation-delay:.15s}.assam-ai-typing i:nth-child(3){animation-delay:.3s}@keyframes assamBounce{0%,80%,100%{transform:translateY(0);opacity:.45}40%{transform:translateY(-4px);opacity:1}}

.assam-ai-side-mascot{display:none;position:absolute;left:378px;bottom:4px;width:280px;height:405px;pointer-events:none;z-index:4}
.assam-ai-root.is-right .assam-ai-side-mascot{left:auto;right:378px}
.assam-ai-side-robot{position:absolute;right:4px;bottom:0;width:250px;height:auto;filter:drop-shadow(0 14px 22px rgba(29,57,42,.14));transform-origin:62% 84%;animation:assamMascotHello 2.7s ease-in-out infinite}
@keyframes assamMascotHello{0%,100%{transform:rotate(0deg) translateY(0)}24%{transform:rotate(-1.2deg) translateY(-2px)}48%{transform:rotate(.9deg) translateY(0)}72%{transform:rotate(-.6deg) translateY(-1px)}}
.assam-ai-side-speech{position:absolute;right:18px;top:18px;z-index:2;min-width:132px;max-width:160px;min-height:78px;background:linear-gradient(180deg,#fffdf7,#f8f0dd);border:2px solid rgba(176,145,71,.3);border-radius:48% 52% 47% 53% / 51% 50% 50% 49%;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 14px;color:#245018;font-size:17px;font-weight:900;line-height:1.18;box-shadow:0 14px 24px rgba(43,70,46,.10)}
.assam-ai-side-speech:after{content:"";position:absolute;left:28px;bottom:-12px;width:22px;height:22px;background:#f8f0dd;clip-path:polygon(0 0,100% 0,15% 100%);transform:rotate(8deg)}
.assam-ai-rays{position:absolute;right:6px;top:108px;width:42px;height:54px;z-index:3}.assam-ai-rays i{position:absolute;display:block;width:6px;height:32px;border-radius:999px;background:#7e9f45;transform-origin:50% 100%}.assam-ai-rays i:nth-child(1){right:9px;top:0;transform:rotate(26deg)}.assam-ai-rays i:nth-child(2){right:28px;top:8px;transform:rotate(46deg);height:26px}.assam-ai-rays i:nth-child(3){right:40px;top:27px;transform:rotate(68deg);height:21px}
.assam-ai-root.is-open .assam-ai-launcher{opacity:0;pointer-events:none;transform:scale(.9)}
.assam-ai-root.is-open .assam-ai-side-mascot{display:block}

@media(max-width:1080px){.assam-ai-side-mascot{display:none!important}}
@media(max-width:520px){
  .assam-ai-root{left:8px!important;right:8px!important;bottom:8px;display:flex;justify-content:flex-start;pointer-events:none}.assam-ai-root>*{pointer-events:auto}.assam-ai-root.is-right{justify-content:flex-end}
  .assam-ai-panel{position:fixed;left:8px!important;right:8px!important;bottom:8px;width:auto;height:min(78dvh,620px);max-width:none;max-height:min(78dvh,620px);border-radius:22px}
  .assam-ai-header{height:82px;min-height:82px;grid-template-columns:34px 1fr 58px;padding:13px 14px}.assam-ai-close{font-size:34px;width:34px;height:34px}.assam-ai-title{font-size:16px}.assam-ai-subtitle{font-size:10px;white-space:normal}.assam-ai-brandmark{width:54px;height:54px}.assam-ai-brandmark img{width:50px;height:50px}.assam-ai-scroll-cue{top:88px}
  .assam-ai-messages{padding:18px 10px 6px}.assam-ai-assistant-avatar{width:24px;height:24px;flex-basis:31px}.assam-ai-assistant-avatar img{width:24px;height:24px}.assam-ai-bubble{font-size:12.5px}.assam-ai-row.user .assam-ai-bubble,.assam-ai-row.assistant .assam-ai-bubble{max-width:220px}
  .assam-ai-products-wrap{padding-right:0}.assam-ai-product-grid{grid-template-columns:82px 1fr;gap:8px}.assam-ai-product-image{width:82px;height:82px}.assam-ai-product-body strong{font-size:12.5px}.assam-ai-price{font-size:15px}.assam-ai-product-body small{font-size:11px}.assam-ai-product-cta{height:39px;font-size:12.5px}
  .assam-ai-actions{padding-right:0}.assam-ai-quick-actions{gap:6px;padding-inline:8px;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.assam-ai-quick-actions button{width:auto!important;min-width:72px;min-height:34px;font-size:10.5px;padding:6px 8px}.assam-ai-quick-actions button:last-child{width:auto!important}.assam-ai-quick-actions svg{width:14px;height:14px}
  .assam-ai-form{grid-template-columns:34px 1fr 40px;padding:8px 8px 6px;gap:6px}.assam-ai-attach{width:34px;height:34px}.assam-ai-send{width:40px;height:40px}.assam-ai-input{min-height:48px;font-size:12.5px!important;padding:13px 15px!important}
}
@media(max-height:720px) and (min-width:521px){.assam-ai-panel{height:calc(100dvh - 24px);width:400px}.assam-ai-side-mascot{height:320px;left:360px}.assam-ai-root.is-right .assam-ai-side-mascot{right:360px}.assam-ai-side-robot{width:210px}.assam-ai-side-speech{top:18px;right:14px;min-width:124px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.assam-ai-panel,.assam-ai-launcher,.assam-ai-product{transition:none!important}.assam-ai-side-robot,.assam-ai-typing i{animation:none!important}}


/* v1.7.3 — launcher hover transparency + footer sizing hardening */
.assam-ai-root,
.assam-ai-root *,
.assam-ai-root *::before,
.assam-ai-root *::after{box-sizing:border-box}

/* Never allow the active theme to paint a white/button background behind the mascot. */
.assam-ai-launcher,
.assam-ai-launcher:hover,
.assam-ai-launcher:focus,
.assam-ai-launcher:focus-visible,
.assam-ai-launcher:active{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
}
.assam-ai-launcher-orb,
.assam-ai-launcher:hover .assam-ai-launcher-orb,
.assam-ai-launcher:focus .assam-ai-launcher-orb,
.assam-ai-launcher:active .assam-ai-launcher-orb{
  width:52px!important;
  height:52px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  overflow:visible!important;
}
.assam-ai-launcher-orb img{
  width:52px!important;
  height:52px!important;
  max-width:none!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 5px 9px rgba(18,49,41,.14))!important;
}

/* Keep suggestions and composer fully inside the chat panel. */
.assam-ai-quick-actions{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
  padding:8px 12px 6px!important;
  gap:6px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain;
}
.assam-ai-quick-actions button{
  flex:0 0 auto!important;
  min-width:68px!important;
  min-height:34px!important;
  width:auto!important;
  max-width:none!important;
  padding:6px 9px!important;
  margin:0!important;
  line-height:1.2!important;
}
.assam-ai-quick-actions svg{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
}

.assam-ai-form{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-template-columns:38px minmax(0,1fr) 44px!important;
  gap:7px!important;
  padding:8px 12px 8px!important;
  margin:0!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.assam-ai-input{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  max-height:92px!important;
  padding:11px 14px!important;
  margin:0!important;
  border-radius:22px!important;
}
.assam-ai-attach{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  padding:0!important;
  margin:0!important;
}
.assam-ai-send{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  padding:0!important;
  margin:0!important;
}
.assam-ai-footnote{
  flex:0 0 auto!important;
  width:100%!important;
  padding:0 10px 8px!important;
}

@media(max-width:520px){
  .assam-ai-quick-actions{padding:7px 8px 5px!important;gap:5px!important}
  .assam-ai-quick-actions button{min-width:62px!important;min-height:32px!important;font-size:10px!important;padding:5px 7px!important}
  .assam-ai-quick-actions svg{width:13px!important;height:13px!important;flex-basis:13px!important}
  .assam-ai-form{grid-template-columns:34px minmax(0,1fr) 40px!important;gap:6px!important;padding:7px 8px 7px!important}
  .assam-ai-attach{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important}
  .assam-ai-send{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}
  .assam-ai-input{min-height:40px!important;max-height:82px!important;padding:9px 12px!important;font-size:12px!important}
  .assam-ai-launcher-orb,.assam-ai-launcher:hover .assam-ai-launcher-orb{width:46px!important;height:46px!important}
  .assam-ai-launcher-orb img{width:46px!important;height:46px!important}
}

.assam-ai-stock-out{display:inline-flex;align-items:center;width:max-content;padding:4px 9px;border-radius:999px;background:#f7e8e5;color:#a33b2f;font-size:11px;font-weight:800;line-height:1.2;border:1px solid rgba(163,59,47,.12)}

/* v1.10.0 - "new chat" link inside the footnote */
.assam-ai-newchat{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:700;color:inherit;text-decoration:underline;cursor:pointer}
.assam-ai-newchat:hover{opacity:.8}

/* ==========================================================================
   v1.11.1 — Mobile touch / click-layer safety fix
   The widget shell must never become an invisible interactive strip/overlay.
   Only the launcher and an actually-open chat panel may receive pointer input.
   ========================================================================== */
.assam-ai-root{
  pointer-events:none!important;
}
.assam-ai-launcher{
  pointer-events:auto!important;
  touch-action:manipulation;
}
.assam-ai-panel{
  pointer-events:none!important;
}
.assam-ai-panel.open{
  pointer-events:auto!important;
}
.assam-ai-panel[hidden]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.assam-ai-side-mascot{
  pointer-events:none!important;
}

@media(max-width:520px){
  /* Keep the closed widget's hit-area limited to the launcher itself. */
  .assam-ai-root{
    width:max-content!important;
    max-width:calc(100vw - 16px)!important;
    height:auto!important;
    display:block!important;
    justify-content:initial!important;
    pointer-events:none!important;
  }
  .assam-ai-root.is-left{
    left:8px!important;
    right:auto!important;
  }
  .assam-ai-root.is-right{
    left:auto!important;
    right:8px!important;
  }

  /* Do not use the old broad .assam-ai-root > * pointer rule on mobile. */
  .assam-ai-root > *{
    pointer-events:none!important;
  }
  .assam-ai-root > .assam-ai-launcher{
    pointer-events:auto!important;
  }
  .assam-ai-root > .assam-ai-panel.open{
    pointer-events:auto!important;
  }
  .assam-ai-root > .assam-ai-side-mascot{
    pointer-events:none!important;
  }
}

