/* Sobji Assistant – chat widget (1.6.0 design). Every rule is scoped to #sobji-sa so theme styles can't
   override it; the /chat/ page's own html/body rules are scoped to .sobji-sa-page. */
#sobji-sa {
	/* Sobji colours (same as the rest of the site). */
	--sa-green: #2F6B45;
	--sa-green-d: #1D4A2E;
	--sa-green-m: #3f9a5f;
	--sa-green-l: #E6F1E8;
	--sa-yellow: #F9B145;
	--sa-ink: #121613;
	--sa-muted: #5b645e;
	--sa-faint: #7a847d;
	--sa-line: #e6e9e6;
	--sa-page: #f6f9f5;
	--sa-surface: #ffffff;
	--sa-chip-line: #cfe3d5;
	--sa-field: #f8faf8;
	--sa-field-line: #dfe5df;
	--sa-card-line: #e3e9e3;
	--sa-row-line: #eef1ee;
	--sa-date: #ebf0ea;
	--sa-bad: #c0392b;
	--sa-grad: linear-gradient(135deg, var(--sa-green), var(--sa-green-d));
	/* 1.7.4: the floating chat button (a little brighter than --sa-green so it stands out on the shop pages). */
	--sa-btn: #2E8B4E;
	--sa-btn-d: #17532F;
	--sa-btn-grad: linear-gradient(135deg, var(--sa-btn) 0%, var(--sa-btn-d) 100%);
	--sa-btn-grad-h: linear-gradient(135deg, #34A05A 0%, #1B5E35 100%);
	--sa-ring: #F9B145;
	--sa-shape: 50%;
	--sa-font: Manrope, "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif;
	--sa-bottom: 30px;
	--sa-side: 30px;
	position: fixed;
	bottom: var(--sa-bottom);
	z-index: 99990;
	font-family: var(--sa-font);
	font-size: 15px;
	line-height: 1.45;
	color: var(--sa-ink);
	-webkit-tap-highlight-color: transparent;
}
#sobji-sa.is-rounded { --sa-shape: 28%; }
#sobji-sa.sobji-sa--right { right: var(--sa-side); }
#sobji-sa.sobji-sa--left { left: var(--sa-side); }
#sobji-sa *, #sobji-sa *::before, #sobji-sa *::after { box-sizing: border-box; }
#sobji-sa button, #sobji-sa a.sobji-sa__chip, #sobji-sa a.sobji-sa__checkout, #sobji-sa a.sobji-sa__basket {
	font: inherit; letter-spacing: normal; text-transform: none; text-decoration: none; text-shadow: none;
	box-shadow: none; min-height: 0; min-width: 0; margin: 0; line-height: 1.2; cursor: pointer;
}
#sobji-sa button::before, #sobji-sa button::after { content: none !important; display: none !important; }
#sobji-sa button:focus { outline: none; }
#sobji-sa button:focus-visible, #sobji-sa a:focus-visible, #sobji-sa textarea:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 2px; }
#sobji-sa button:disabled { cursor: default; }
#sobji-sa [hidden] { display: none !important; }
#sobji-sa svg { display: block; flex: none; }
#sobji-sa h2, #sobji-sa p { margin: 0; padding: 0; border: 0; }
/* Small controls get a 44px tap area without growing (the reset above hides button pseudo-elements). */
#sobji-sa .sobji-sa__chip, #sobji-sa .sobji-sa__hbtn, #sobji-sa .sobji-sa__ibtn { position: relative; }
#sobji-sa .sobji-sa__chip::after, #sobji-sa .sobji-sa__hbtn::after, #sobji-sa .sobji-sa__ibtn::after {
	content: "" !important; display: block !important; position: absolute; inset: -5px -2px; border-radius: inherit;
}

/* Pictures: the image from Settings › Look, else the first letter on the Sobji green. */
#sobji-sa .is-letter {
	display: grid; place-items: center; background: var(--sa-grad); color: #fff; font-weight: 800; line-height: 1;
	font-family: Manrope, system-ui, sans-serif; user-select: none;
}
#sobji-sa img.sobji-sa__avatar, #sobji-sa img.sobji-sa__lpic-img, #sobji-sa img.sobji-sa__mav { object-fit: cover; background: #fff; }

/* ---------- Floating chat button (other pages) ---------- */
#sobji-sa .sobji-sa__launch { position: relative; display: flex; animation: sobji-sa-pop .45s ease-out .3s backwards; }
#sobji-sa.sobji-sa--right .sobji-sa__launch { justify-content: flex-end; }
/* 1.7.4: green speech bubble – three round corners, one sharp corner pointing at the page edge. */
#sobji-sa .sobji-sa__launcher {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0; height: 62px; min-width: 62px; padding: 0;
	border: 0; border-radius: 31px 31px 6px 31px; background: var(--sa-btn-grad); color: #fff; font-weight: 800; font-size: 14px;
	box-shadow: 0 14px 28px -10px rgba(23, 83, 47, .65), 0 0 0 3px rgba(46, 139, 78, .15);
	transition: padding .35s ease, gap .35s ease, transform .15s ease;
}
#sobji-sa.sobji-sa--left .sobji-sa__launcher { border-radius: 31px 31px 31px 6px; }
#sobji-sa .sobji-sa__launcher:hover { transform: translateY(-2px); color: #fff; background: var(--sa-btn-grad-h); }
#sobji-sa .sobji-sa__launcher::after { /* gentle attention pulse */
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	animation: sobji-sa-chat-pulse 2.6s ease-out infinite;
}
@keyframes sobji-sa-chat-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 139, 78, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(46, 139, 78, 0); } }
@media (prefers-reduced-motion: reduce) { #sobji-sa .sobji-sa__launcher::after { animation: none; } }
#sobji-sa .sobji-sa__lpic {
	position: relative; width: 62px; height: 62px; flex: none;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #fff;
}
#sobji-sa svg.sobji-sa__lpic-ico { display: block; width: 28px; height: 28px; flex: none; }
#sobji-sa .sobji-sa__lpic-label { color: #fff; font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .3px; white-space: nowrap; }
#sobji-sa .sobji-sa__pill-text {
	max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; color: #fff; transition: max-width .35s ease, opacity .25s ease;
}
#sobji-sa .sobji-sa__launcher.is-pill { padding: 0 20px 0 0; gap: 2px; }
#sobji-sa .sobji-sa__launcher.is-pill .sobji-sa__pill-text { max-width: 260px; opacity: 1; }
#sobji-sa.sobji-sa--left .sobji-sa__launcher.is-pill { padding: 0 20px 0 0; }
#sobji-sa .sobji-sa__launcher.is-pill .sobji-sa__lpic-label { display: none; } /* the pill says it already */
#sobji-sa .sobji-sa__badge {
	position: absolute; top: -4px; right: -4px; z-index: 2; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--sa-yellow); color: #121613; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
#sobji-sa.is-open .sobji-sa__launch { display: none; }
@keyframes sobji-sa-pop { 0% { transform: scale(.7); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Chat window (other pages, computers) ---------- */
#sobji-sa .sobji-sa__panel {
	position: absolute; bottom: 0; width: 390px; max-width: calc(100vw - 2 * var(--sa-side));
	height: min(660px, calc(100vh - var(--sa-bottom) - 40px));
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--sa-page); border-radius: 24px;
	box-shadow: 0 40px 80px -30px rgba(18, 64, 39, .45), 0 0 0 1px rgba(0, 0, 0, .05);
	transform-origin: bottom right; animation: sobji-sa-open .22s ease-out;
}
#sobji-sa.sobji-sa--right .sobji-sa__panel { right: 0; }
#sobji-sa.sobji-sa--left .sobji-sa__panel { left: 0; transform-origin: bottom left; }
@keyframes sobji-sa-open { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sobji-sa-close { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px) scale(.97); } }
#sobji-sa .sobji-sa__panel.is-closing { animation: sobji-sa-close .22s ease-in forwards; pointer-events: none; }
#sobji-sa .sobji-sa__grab, #sobji-sa .sobji-sa__backdrop, #sobji-sa .sobji-sa__sheet-sub { display: none; }

/* ---------- Header ---------- */
/* 1.7.0 (H4): flat solid green – no yellow glow, no gradient, no dot pattern. */
#sobji-sa .sobji-sa__head {
	position: relative; flex: none; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px 8px 16px;
	color: #fff; background: var(--sa-head, #2F6B45);
}
#sobji-sa .sobji-sa__head > * { position: relative; }
#sobji-sa .sobji-sa__avatar {
	width: 38px; height: 38px; flex: none; border-radius: var(--sa-shape); font-size: 17px;
	box-shadow: 0 0 0 2px var(--sa-ring);
}
#sobji-sa .sobji-sa__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__name { font-size: 15.5px; font-weight: 800; line-height: 1.2; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__ticker { display: flex; align-items: center; gap: 6px; min-width: 0; height: 18px; font-size: 12px; color: #cfe6d6; }
#sobji-sa .sobji-sa__typing-line { display: none; height: 18px; line-height: 18px; font-size: 12px; color: #cfe6d6; }
#sobji-sa.is-typing .sobji-sa__ticker { display: none; }
#sobji-sa.is-typing .sobji-sa__typing-line { display: block; }
#sobji-sa .sobji-sa__ticker-box { position: relative; flex: 1; min-width: 0; height: 18px; overflow: hidden; }
#sobji-sa .sobji-sa__tick {
	position: absolute; left: 0; right: 0; top: 0; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	transform: translateY(100%); opacity: 0; transition: transform .5s ease, opacity .5s ease;
}
#sobji-sa .sobji-sa__tick.is-in { transform: translateY(0); opacity: 1; }
#sobji-sa .sobji-sa__tick.is-out { transform: translateY(-100%); opacity: 0; }
#sobji-sa .sobji-sa__tick.is-still { transition: none; }
#sobji-sa .sobji-sa__tick.is-long { right: auto; overflow: visible; text-overflow: clip; padding-right: 12px; }
#sobji-sa .sobji-sa__tick.is-long.is-in { transform: translate(var(--sa-shift, 0px), 0); }
#sobji-sa .sobji-sa__ticker-box.has-long { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
/* Live dot: green while ordering is open, grey when closed. */
#sobji-sa .sobji-sa__dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #7fd19a; }
#sobji-sa .sobji-sa__dot::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #7fd19a; opacity: 0;
	animation: sobji-sa-live 1.8s ease-out infinite;
}
#sobji-sa .sobji-sa__dot.is-closed { background: #b9c2bb; }
#sobji-sa .sobji-sa__dot.is-closed::after { display: none; }
@keyframes sobji-sa-live { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
/* BN | EN. */
#sobji-sa .sobji-sa__ui-lang {
	flex: none; display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .16); color: #fff; font-size: 11.5px; font-weight: 700;
}
#sobji-sa .sobji-sa__ui-lang span { padding: 4px 8px; border-radius: 999px; line-height: 14px; }
#sobji-sa .sobji-sa__ui-lang span:first-child { font-family: "Hind Siliguri", var(--sa-font); }
#sobji-sa .sobji-sa__ui-lang span.is-on { background: #fff; color: var(--sa-green-d); }
#sobji-sa .sobji-sa__ui-lang:hover { background: rgba(255, 255, 255, .24); color: #fff; }
#sobji-sa .sobji-sa__hbtn, #sobji-sa .sobji-sa__ibtn {
	flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none;
}
#sobji-sa .sobji-sa__hbtn:hover, #sobji-sa .sobji-sa__ibtn:hover { background: rgba(255, 255, 255, .24); color: #fff; }
#sobji-sa .sobji-sa__sound.is-on { background: rgba(249, 177, 69, .35); }
/* 1.7.1: Night mode (moon / sun) and Silent mode (speaker) shortcuts on the chat page header. */
#sobji-sa .sobji-sa__theme-btn, #sobji-sa .sobji-sa__sound-btn { display: none; }
#sobji-sa.sobji-sa--full .sobji-sa__theme-btn, #sobji-sa.sobji-sa--full .sobji-sa__sound-btn { display: grid; }
/* Amber while Silent mode or Night mode is on, so the customer can see it. */
#sobji-sa .sobji-sa__sound-btn:not(.is-on), #sobji-sa .sobji-sa__theme-btn.is-on { background: rgba(249, 177, 69, .35); }
#sobji-sa .sobji-sa__mback, #sobji-sa .sobji-sa__mcart, #sobji-sa .sobji-sa__menu-btn { display: none; }
/* 1.7.0 (I): the ⋮ menu (Home, light / dark, sound, Start over) on the chat page at every size. */
#sobji-sa.sobji-sa--full .sobji-sa__menu-btn { display: grid; }
#sobji-sa .sobji-sa__mcart b {
	position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
	background: var(--sa-yellow); color: #121613; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
#sobji-sa .sobji-sa__kbpill {
	display: none; flex: none; padding: 3px 9px; border-radius: 999px; background: var(--sa-yellow); color: #121613;
	font-size: 12px; font-weight: 800; white-space: nowrap;
}
#sobji-sa .sobji-sa__testing { flex: none; padding: 5px 12px; background: #fff3cd; color: #6d4c00; font-size: 12px; text-align: center; }

/* ⋮ menu (phones, chat page). */
#sobji-sa .sobji-sa__menu {
	position: absolute; top: 54px; right: 10px; z-index: 6; min-width: 190px; padding: 6px; border-radius: 16px;
	background: var(--sa-surface); border: 1px solid var(--sa-line); box-shadow: 0 24px 48px -20px rgba(18, 22, 19, .45);
	display: flex; flex-direction: column; animation: sobji-sa-in .18s ease-out;
}
#sobji-sa .sobji-sa__menu-item {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px;
	background: transparent; color: var(--sa-ink); font-size: 14px; font-weight: 700; text-decoration: none; text-align: left;
}
#sobji-sa .sobji-sa__menu-item svg { color: var(--sa-green); }
#sobji-sa .sobji-sa__menu-item:hover { background: var(--sa-green-l); color: var(--sa-ink); }
@media (min-width: 601px) { #sobji-sa.sobji-sa--full .sobji-sa__menu { top: 124px; right: 14px; } }

/* ---------- Messages ---------- */
#sobji-sa .sobji-sa__log {
	flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 12px;
	background: var(--sa-page); overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
/* 1.7.2: messages never shrink to fit the screen. A long card (e.g. "Your Sobji Bag" with 10 items, which has
   overflow: hidden) was squeezed to the visible height and cut off – no end, no total, nothing to scroll. */
#sobji-sa .sobji-sa__log > * { flex-shrink: 0; }
#sobji-sa .sobji-sa__date {
	align-self: center; font-size: 11.5px; font-weight: 700; color: var(--sa-faint); background: var(--sa-date); padding: 4px 10px; border-radius: 999px;
}
/* 1.7.0 (I): 16px text, 1.5 line height, bubbles at most 80% wide, 12px between them. */
#sobji-sa .sobji-sa__msg { max-width: 80%; display: flex; flex-direction: column; gap: 3px; }
#sobji-sa .sobji-sa__text { padding: 10px 14px; font-size: 16px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
#sobji-sa .sobji-sa__msg--bot { align-self: flex-start; }
#sobji-sa .sobji-sa__msg--bot .sobji-sa__text {
	background: var(--sa-surface); color: var(--sa-ink); border: 1px solid var(--sa-line); border-radius: 18px 18px 18px 6px;
	box-shadow: 0 12px 24px -20px rgba(18, 22, 19, .4);
}
#sobji-sa .sobji-sa__msg--bot .sobji-sa__text a { color: var(--sa-green); text-decoration: underline; }
#sobji-sa .sobji-sa__msg--user { align-self: flex-end; align-items: flex-end; max-width: 80%; }
#sobji-sa .sobji-sa__msg--user .sobji-sa__text { background: var(--sa-grad); color: #fff; border-radius: 18px 18px 6px 18px; }
#sobji-sa .sobji-sa__msg-img { max-width: 180px; max-height: 180px; border-radius: 14px; object-fit: cover; }
/* 1.7.1: product photo above "How much potato do you want?" – 140px square, sharp (srcset), no theme scaling or blur. */
#sobji-sa img.sobji-sa__msg-img.is-product {
	display: block; width: 140px; height: 140px; max-width: 100%; margin: 0 0 8px; padding: 0; border: 1px solid var(--sa-line);
	border-radius: 14px; object-fit: cover; background: #fff; filter: none; opacity: 1; transform: none; image-rendering: auto;
}
#sobji-sa .sobji-sa__meta { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--sa-faint); }
#sobji-sa .sobji-sa__meta svg { color: var(--sa-faint); }
#sobji-sa .sobji-sa__meta.is-added svg { color: var(--sa-green); }
#sobji-sa .sobji-sa__botrow { align-self: flex-start; display: flex; align-items: flex-end; gap: 6px; max-width: 92%; }
#sobji-sa .sobji-sa__botrow > .sobji-sa__msg { max-width: none; }
#sobji-sa .sobji-sa__mav { width: 24px; height: 24px; flex: none; border-radius: var(--sa-shape); font-size: 11px; }
#sobji-sa .sobji-sa__hint { align-self: flex-start; max-width: 92%; font-size: 12.5px; color: var(--sa-muted); padding: 0 4px; }
/* Word by word. */
#sobji-sa .sobji-sa__w { animation: sobji-sa-word .28s ease-out backwards; }
@keyframes sobji-sa-word { from { opacity: 0; } to { opacity: 1; } }
/* Entrance: bot from the left, customer from the right. */
#sobji-sa .sobji-sa--in { animation: sobji-sa-in .26s cubic-bezier(.2, .8, .3, 1) backwards; transform-origin: left bottom; }
#sobji-sa .sobji-sa__msg--user.sobji-sa--in { animation-name: sobji-sa-in-r; transform-origin: right bottom; }
#sobji-sa .sobji-sa__chips.sobji-sa--in { animation: none; }
#sobji-sa .sobji-sa__chips.sobji-sa--in > * { animation: sobji-sa-in .26s ease-out backwards; }
#sobji-sa .sobji-sa__chips.sobji-sa--in > :nth-child(2) { animation-delay: .05s; }
#sobji-sa .sobji-sa__chips.sobji-sa--in > :nth-child(3) { animation-delay: .1s; }
#sobji-sa .sobji-sa__chips.sobji-sa--in > :nth-child(n+4) { animation-delay: .15s; }
@keyframes sobji-sa-in { from { opacity: 0; transform: translate(-6px, 6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sobji-sa-in-r { from { opacity: 0; transform: translate(6px, 6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Typing indicator: 3 bouncing dots. */
#sobji-sa .sobji-sa__typing {
	align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; background: var(--sa-surface); border: 1px solid var(--sa-line);
	border-radius: 18px 18px 18px 6px; animation: sobji-sa-in .2s ease-out backwards;
}
#sobji-sa .sobji-sa__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sa-green); opacity: .4; animation: sobji-sa-dot 1.2s infinite; }
#sobji-sa .sobji-sa__typing i:nth-child(2) { animation-delay: .15s; }
#sobji-sa .sobji-sa__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sobji-sa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Product cards ---------- */
#sobji-sa .sobji-sa__group { align-self: flex-start; width: 100%; max-width: 92%; display: flex; flex-direction: column; gap: 8px; }
#sobji-sa .sobji-sa__group > .sobji-sa__msg, #sobji-sa .sobji-sa__group > .sobji-sa__botrow { max-width: 100%; }
#sobji-sa .sobji-sa__pcard {
	align-self: stretch; background: var(--sa-surface); border: 1px solid var(--sa-line); border-radius: 18px; overflow: hidden;
	box-shadow: 0 12px 24px -20px rgba(18, 22, 19, .4);
}
#sobji-sa .sobji-sa__log > .sobji-sa__pcard { max-width: 92%; align-self: flex-start; width: 100%; }
#sobji-sa .sobji-sa__pcard-title { padding: 10px 12px 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sa-green); }
#sobji-sa .sobji-sa__prow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--sa-row-line); }
#sobji-sa .sobji-sa__prow:last-child { border-bottom: 0; }
#sobji-sa .sobji-sa__prow.is-busy { opacity: .6; }
#sobji-sa .sobji-sa__prow.is-removed .sobji-sa__pname { opacity: .55; }
#sobji-sa .sobji-sa__prow.is-removed .sobji-sa__thumb { filter: grayscale(.6); }
#sobji-sa .sobji-sa__pnote { font-size: 12.5px; color: var(--sa-muted); line-height: 1.35; }
#sobji-sa .sobji-sa__pchange {
	align-self: flex-start; margin-top: 2px; padding: 2px 0; border: 0; background: none; color: var(--sa-green); font-size: 13px; font-weight: 800;
	text-decoration: underline; text-underline-offset: 2px; min-height: 28px;
}
#sobji-sa .sobji-sa__pchange:hover { color: var(--sa-green-d); background: none; }
#sobji-sa .sobji-sa__prow .sobji-sa__prm { width: 32px; height: 32px; }
/* 1.7.0 (H5): sharp photos – a 52px box loading WooCommerce's catalogue thumbnail (srcset, ≥ 2×), cover, no
   blur, no opacity, never scaled up. */
#sobji-sa .sobji-sa__thumb {
	width: 52px; height: 52px; flex: none; border-radius: 12px; overflow: hidden; background: var(--sa-green-l); color: var(--sa-green);
	display: grid; place-items: center;
}
#sobji-sa .sobji-sa__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; border: 0; padding: 0; background: #fff; border-radius: 0; filter: none; opacity: 1; transform: none; }
#sobji-sa .sobji-sa__pinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__pname { font-size: 14.5px; font-weight: 800; color: var(--sa-ink); text-decoration: none; line-height: 1.3; overflow-wrap: anywhere; }
#sobji-sa a.sobji-sa__pname:hover { color: var(--sa-green); }
#sobji-sa .sobji-sa__pbn { font-family: "Hind Siliguri", var(--sa-font); font-weight: 600; color: var(--sa-muted); }
#sobji-sa .sobji-sa__psub { font-size: 12.5px; color: var(--sa-muted); line-height: 1.35; }
#sobji-sa .sobji-sa__prow.is-bad .sobji-sa__psub { color: var(--sa-bad); }
#sobji-sa .sobji-sa__ok { color: var(--sa-green); flex: none; }
#sobji-sa .sobji-sa__bad { color: var(--sa-bad); flex: none; }
/* −/+ stepper: changes the pack (500 g → 1 kg → 2 kg). Buttons have a 44px tall tap area. */
#sobji-sa .sobji-sa__stepper { flex: none; display: flex; align-items: center; height: 34px; border: 1.5px solid var(--sa-chip-line); border-radius: 999px; background: var(--sa-surface); }
#sobji-sa .sobji-sa__sbtn {
	width: 34px; height: 44px; margin: -5px 0; padding: 0; border: 0; background: none; color: var(--sa-green);
	font-size: 18px; font-weight: 800; line-height: 1; display: grid; place-items: center;
}
#sobji-sa .sobji-sa__sbtn:hover:not(:disabled) { color: var(--sa-green-d); background: none; }
#sobji-sa .sobji-sa__sbtn:disabled { color: var(--sa-chip-line); }
#sobji-sa .sobji-sa__sval { min-width: 40px; max-width: 84px; padding: 0 2px; font-size: 13px; font-weight: 800; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__prow.is-removed .sobji-sa__sval { min-width: 0; padding: 0; }
/* Price card (one row per weight). */
#sobji-sa .sobji-sa__vrow { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px dashed var(--sa-line); }
#sobji-sa .sobji-sa__vlabel { flex: 1; font-size: 14px; font-weight: 600; }
#sobji-sa .sobji-sa__price { font-size: 13px; font-weight: 800; white-space: nowrap; }
#sobji-sa .sobji-sa__add {
	min-height: 34px; padding: 0 13px; border: 1.5px solid var(--sa-chip-line); border-radius: 999px; background: var(--sa-surface);
	color: var(--sa-green-d); font-size: 13px; font-weight: 800;
}
#sobji-sa .sobji-sa__add:hover:not(:disabled) { background: var(--sa-green-l); border-color: var(--sa-green); color: var(--sa-green-d); }
#sobji-sa .sobji-sa__add:disabled { color: var(--sa-faint); }
#sobji-sa .sobji-sa__x {
	flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: #f0f2f0; color: var(--sa-muted);
}
#sobji-sa .sobji-sa__x:hover { background: #fde7e7; color: var(--sa-bad); }
#sobji-sa .sobji-sa__total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-top: 1px solid var(--sa-line); font-size: 14px; }

/* ---------- Quick replies ---------- */
#sobji-sa .sobji-sa__chips { display: flex; flex-wrap: wrap; gap: 7px; }
#sobji-sa .sobji-sa__chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 13px; border: 1.5px solid var(--sa-chip-line);
	border-radius: 999px; background: var(--sa-surface); color: var(--sa-green-d); font-size: 13px; font-weight: 700; line-height: 1.2;
	text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
#sobji-sa .sobji-sa__chip:hover:not(:disabled) { background: var(--sa-green-l); border-color: var(--sa-green); color: var(--sa-green-d); transform: translateY(-2px); }
#sobji-sa .sobji-sa__chip.is-primary { background: var(--sa-green); border-color: var(--sa-green); color: #fff; }
#sobji-sa .sobji-sa__chip.is-primary:hover:not(:disabled) { background: var(--sa-green-d); color: #fff; }
/* 1.6.1: Checkout chip – a solid button (it's a link, so the theme's link colours are kept out). */
#sobji-sa .sobji-sa__chip.is-checkout, #sobji-sa a.sobji-sa__chip.is-checkout:visited {
	gap: 7px; padding: 7px 16px 7px 18px; background: var(--sa-yellow) !important; border-color: var(--sa-yellow) !important;
	color: #1a1f1b !important; font-weight: 800; letter-spacing: -.005em; box-shadow: 0 6px 16px -8px rgba(201, 130, 20, .7);
}
#sobji-sa .sobji-sa__chip.is-checkout * { color: inherit !important; }
#sobji-sa .sobji-sa__chip.is-checkout svg { flex: none; transition: transform .15s ease; }
#sobji-sa .sobji-sa__chip.is-checkout:hover, #sobji-sa .sobji-sa__chip.is-checkout:focus-visible { background: #ffbf5c !important; border-color: #ffbf5c !important; color: #1a1f1b !important; }
#sobji-sa .sobji-sa__chip.is-checkout:hover svg { transform: translateX(3px); }
#sobji-sa .sobji-sa__chip.is-muted { border-color: var(--sa-line); color: var(--sa-muted); }
#sobji-sa .sobji-sa__chip.is-info { border-style: dashed; color: var(--sa-muted); cursor: default; }
#sobji-sa .sobji-sa__chip.is-info:hover { transform: none; background: var(--sa-surface); border-color: var(--sa-chip-line); }
#sobji-sa .sobji-sa__chip:disabled { opacity: .45; }
#sobji-sa .sobji-sa__chips.is-used .sobji-sa__chip { opacity: .45; }
#sobji-sa .sobji-sa__chip-img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin: 0; }
#sobji-sa .sobji-sa__chip-sub { font-size: 12px; color: var(--sa-muted); font-weight: 500; }
#sobji-sa .sobji-sa__chips--options .sobji-sa__chip { border-radius: 14px; }
/* 1.7.0 (H6): "Other amount" row – number (numeric keyboard), unit, Add. */
#sobji-sa .sobji-sa__amt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px; border: 1.5px solid var(--sa-chip-line); border-radius: 16px; background: var(--sa-surface); max-width: 360px; }
#sobji-sa .sobji-sa__amt.is-bad { border-color: var(--sa-bad); }
#sobji-sa input.sobji-sa__amt-n, #sobji-sa select.sobji-sa__amt-u {
	height: 40px; margin: 0; padding: 0 12px; border: 1.5px solid var(--sa-field-line); border-radius: 12px; background: var(--sa-field); color: var(--sa-ink);
	font: 600 16px/1 var(--sa-font); box-shadow: none; outline: none;
}
#sobji-sa input.sobji-sa__amt-n { width: 96px; flex: 1 1 80px; min-width: 70px; }
#sobji-sa select.sobji-sa__amt-u { flex: 0 0 auto; padding-right: 8px; }
#sobji-sa input.sobji-sa__amt-n:focus, #sobji-sa select.sobji-sa__amt-u:focus { border-color: var(--sa-green); box-shadow: 0 0 0 3px rgba(47, 107, 69, .14); }
#sobji-sa .sobji-sa__amt-one { font-weight: 700; color: var(--sa-muted); }
#sobji-sa .sobji-sa__amt-add { height: 40px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--sa-green); color: #fff; font-size: 15px; font-weight: 800; }
#sobji-sa .sobji-sa__amt-add:hover { background: var(--sa-green-d); color: #fff; }
#sobji-sa .sobji-sa__qr { display: none; flex: none; gap: 7px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; background: var(--sa-page); }
#sobji-sa .sobji-sa__qr::-webkit-scrollbar { display: none; }
#sobji-sa .sobji-sa__qr .sobji-sa__chip { flex: none; }

/* ---------- Welcome screen ---------- */
#sobji-sa .sobji-sa__welcome { display: flex; flex-direction: column; gap: 20px; padding: 12px 4px 6px; animation: sobji-sa-in .3s ease-out; }
#sobji-sa .sobji-sa__w-head { display: flex; flex-direction: column; gap: 6px; }
#sobji-sa .sobji-sa__w-pill {
	align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--sa-green-l); color: var(--sa-green);
	font-size: 12px; font-weight: 800; letter-spacing: .12em;
}
#sobji-sa .sobji-sa__w-salam { margin: 6px 0 0; font-family: "Hind Siliguri", var(--sa-font); font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--sa-ink); }
#sobji-sa .sobji-sa__w-ask { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--sa-ink); }
#sobji-sa .sobji-sa__w-ask.is-mini { font-size: 20px; }
#sobji-sa .is-green { color: var(--sa-green); }
#sobji-sa .sobji-sa__w-help { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--sa-muted); }
/* 1.6.1 guideline; 1.7.0 (H1): an assistant bubble under the cards. */
#sobji-sa .sobji-sa__w-guide { align-self: flex-start; margin: 0; padding: 11px 14px; max-width: 80%; border-radius: 18px 18px 18px 6px; background: var(--sa-surface, #fff); border: 1px solid var(--sa-line, #e6e9e6); font-size: 16px; line-height: 1.5; color: var(--sa-ink); box-shadow: 0 12px 24px -20px rgba(18, 22, 19, .4); }
#sobji-sa .sobji-sa__welcome.is-mini .sobji-sa__w-guide { font-size: 15px; max-width: 92%; }
#sobji-sa[lang="bn"] .sobji-sa__w-guide { font-family: "Hind Siliguri", var(--sa-font); }
/* 1.7.0 (I): big cards in one row – Type · Speak · Reorder. */
#sobji-sa .sobji-sa__wgrid.is-row { grid-template-columns: repeat(var(--sa-cols, 3), minmax(0, 1fr)); gap: 10px; }
#sobji-sa .sobji-sa__wgrid.is-row .sobji-sa__wcard { align-items: center; text-align: center; gap: 8px; padding: 16px 8px; min-height: 104px; justify-content: center; border-radius: 20px; }
#sobji-sa .sobji-sa__wgrid.is-row .sobji-sa__wcard-ico { width: 44px; height: 44px; border-radius: 14px; }
#sobji-sa .sobji-sa__wgrid.is-row .sobji-sa__wcard-t { align-items: center; }
#sobji-sa .sobji-sa__wgrid.is-row .sobji-sa__wcard-t b { font-size: 16px; }
#sobji-sa .sobji-sa__wgrid.is-row .sobji-sa__wcard-t small { font-size: 12.5px; }
#sobji-sa .sobji-sa__welcome.is-mini .sobji-sa__wgrid.is-row .sobji-sa__wcard { min-height: 86px; padding: 12px 6px; border-radius: 16px; }
#sobji-sa .sobji-sa__welcome.is-mini .sobji-sa__wgrid.is-row .sobji-sa__wcard-ico { width: 38px; height: 38px; border-radius: 12px; }
#sobji-sa .sobji-sa__welcome.is-mini .sobji-sa__wgrid.is-row .sobji-sa__wcard-t b { font-size: 14.5px; }
#sobji-sa .sobji-sa__welcome .sobji-sa__botrow { max-width: 100%; }
#sobji-sa .sobji-sa__wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#sobji-sa .sobji-sa__wgrid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#sobji-sa .sobji-sa__wcard {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; text-align: left;
	border: 1px solid var(--sa-card-line); border-radius: 20px; background: var(--sa-surface); color: var(--sa-ink);
	box-shadow: 0 14px 28px -24px rgba(18, 22, 19, .5); transition: transform .15s ease, border-color .15s ease;
}
#sobji-sa .sobji-sa__wcard:hover { transform: translateY(-2px); border-color: var(--sa-chip-line); color: var(--sa-ink); background: var(--sa-surface); }
#sobji-sa .sobji-sa__wcard-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sa-green-l); color: var(--sa-green); }
#sobji-sa .sobji-sa__wcard-t { display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__wcard-t b { font-size: 15px; font-weight: 800; line-height: 1.3; }
#sobji-sa .sobji-sa__wcard-t small { font-size: 12.5px; color: var(--sa-muted); line-height: 1.35; }
#sobji-sa .sobji-sa__wcard.is-green { border: 0; background: linear-gradient(150deg, var(--sa-green), var(--sa-green-d)); color: #fff; box-shadow: 0 18px 30px -20px rgba(29, 74, 46, .8); }
#sobji-sa .sobji-sa__wcard.is-green:hover { background: linear-gradient(150deg, var(--sa-green), var(--sa-green-d)); color: #fff; }
#sobji-sa .sobji-sa__wcard.is-green .sobji-sa__wcard-ico { background: var(--sa-yellow); color: #121613; }
#sobji-sa .sobji-sa__wcard.is-green small { color: #cfe6d6; font-family: "Hind Siliguri", var(--sa-font); }
#sobji-sa .sobji-sa__wcard.is-yellow .sobji-sa__wcard-ico { background: #fff3dc; color: #a0620b; }
#sobji-sa .sobji-sa__wgrid.is-three .sobji-sa__wcard { align-items: center; text-align: center; gap: 7px; padding: 12px 8px; border-radius: 16px; }
#sobji-sa .sobji-sa__wgrid.is-three .sobji-sa__wcard-ico { width: 36px; height: 36px; border-radius: 11px; }
#sobji-sa .sobji-sa__wgrid.is-three .sobji-sa__wcard-t b { font-size: 12.5px; font-weight: 700; }
#sobji-sa .sobji-sa__w-pop { display: flex; flex-direction: column; gap: 8px; }
#sobji-sa .sobji-sa__w-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--sa-muted); }
#sobji-sa .sobji-sa__w-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#sobji-sa .sobji-sa__welcome .sobji-sa__chip { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
#sobji-sa .sobji-sa__welcome.is-mini { gap: 12px; padding: 4px 0; }

/* ---------- Basket bar ---------- */
/* 1.7.0 (I): always in the same place above the input; green / white – yellow only on Checkout. */
/* 1.7.1: "a." in the selector – the link reset at the top (margin 0, no shadow) was stronger and pushed the
   bar against the screen edges on phones. Now 12px space each side (more on notched phones), rounded corners. */
#sobji-sa a.sobji-sa__basket {
	flex: none; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 12px;
	margin: 0 max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
	border-radius: 16px; overflow: hidden; background: var(--sa-green-d); color: #fff; text-decoration: none; box-shadow: 0 14px 24px -16px rgba(18, 64, 39, .6);
}
#sobji-sa .sobji-sa__basket:hover, #sobji-sa .sobji-sa__basket:visited { color: #fff; }
#sobji-sa .sobji-sa__basket.is-new { animation: sobji-sa-bump .4s ease-out; }
@keyframes sobji-sa-bump { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: none; } }
#sobji-sa .sobji-sa__basket-ico { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
#sobji-sa .sobji-sa__basket-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
#sobji-sa .sobji-sa__basket-text b { font-size: 16px; font-weight: 800; color: #fff; }
#sobji-sa .sobji-sa__basket-text small { font-size: 12.5px; color: #d3e6d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__basket-cta {
	flex: none; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 12px;
	background: var(--sa-yellow); color: #121613 !important; font-size: 15px; font-weight: 800; white-space: nowrap;
}

/* 1.7.0 (I): "Added potato 2 kg · Undo" – 3 seconds, just above the basket bar. */
#sobji-sa .sobji-sa__toast {
	position: absolute; left: 50%; bottom: 120px; z-index: 7; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
	padding: 10px 10px 10px 16px; border-radius: 14px; background: #121613; color: #fff; font-size: 15px; font-weight: 700;
	box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .55); transform: translate(-50%, 8px); opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
#sobji-sa .sobji-sa__toast.is-in { opacity: 1; transform: translate(-50%, 0); }
#sobji-sa .sobji-sa__toast-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__toast-undo {
	flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--sa-yellow);
	font-size: 15px; font-weight: 800;
}
#sobji-sa .sobji-sa__toast-undo:empty { display: none; }
#sobji-sa .sobji-sa__toast-undo:hover { background: rgba(255, 255, 255, .2); color: var(--sa-yellow); }

/* ---------- Input bar ---------- */
/* 1.7.0 (H8): a solid background that reaches the bottom of the screen (no site showing under it on iPhone). */
#sobji-sa .sobji-sa__bar {
	position: relative; flex: none; display: flex; align-items: flex-end; gap: 8px; margin: 0; padding: 10px 12px;
	background: var(--sa-surface); border-top: 1px solid var(--sa-line);
}
#sobji-sa .sobji-sa__bar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: inherit; pointer-events: none; }
/* Camera (Photo list on) or Home (1.7.0, Photo list off): a 40px light-green circle left of the input. */
#sobji-sa .sobji-sa__tool {
	width: 40px; height: 40px; margin-bottom: 2px; flex: none; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: var(--sa-green-l); color: var(--sa-green); text-decoration: none;
}
#sobji-sa .sobji-sa__tool:hover, #sobji-sa a.sobji-sa__tool:visited { background: #d6eadb; color: var(--sa-green-d); }
#sobji-sa .sobji-sa__field {
	flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 6px; min-height: 44px; padding: 4px 4px 4px 16px;
	border: 1.5px solid var(--sa-field-line); border-radius: 22px; background: var(--sa-field);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#sobji-sa .sobji-sa__field:focus-within { border-color: var(--sa-green); background: var(--sa-surface); box-shadow: 0 0 0 4px rgba(47, 107, 69, .12); }
#sobji-sa textarea.sobji-sa__input {
	flex: 1; min-width: 0; height: 24px; max-height: 120px; padding: 0; margin: 5px 0; resize: none; overflow: hidden;
	border: 0; border-radius: 0; background: transparent; color: var(--sa-ink); box-shadow: none; outline: none;
	font: 500 15px/24px var(--sa-font); min-height: 0;
}
#sobji-sa textarea.sobji-sa__input:focus { border: 0; box-shadow: none; outline: none; background: transparent; }
#sobji-sa textarea.sobji-sa__input::placeholder { color: var(--sa-faint); opacity: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__mic {
	width: 34px; height: 34px; flex: none; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: transparent; color: var(--sa-green);
}
#sobji-sa .sobji-sa__mic:hover { background: var(--sa-green-l); color: var(--sa-green-d); }
#sobji-sa .sobji-sa__send {
	width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--sa-green-m), var(--sa-green-d)); color: #fff;
	box-shadow: 0 10px 20px -10px rgba(29, 74, 46, .7); transition: transform .15s ease;
}
#sobji-sa .sobji-sa__send:hover { color: #fff; transform: scale(1.07); }

/* ---------- Voice mode ---------- */
#sobji-sa .sobji-sa__vo {
	position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; color: #fff; overflow-y: auto;
	background: radial-gradient(420px 360px at 50% 38%, rgba(249, 177, 69, .22), transparent 70%), linear-gradient(170deg, #1f5a3a, #0f2e1d);
	animation: sobji-sa-fade .2s ease-out;
}
@keyframes sobji-sa-fade { from { opacity: 0; } to { opacity: 1; } }
#sobji-sa .sobji-sa__vo-head { flex: none; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; padding-top: env(safe-area-inset-top); box-sizing: content-box; }
#sobji-sa .sobji-sa__vo-x { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
#sobji-sa .sobji-sa__vo-x:hover { background: rgba(255, 255, 255, .2); color: #fff; }
#sobji-sa .sobji-sa__vo-title { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #cfe6d6; }
#sobji-sa .sobji-sa__vo-lang {
	display: flex; align-items: center; gap: 2px; height: 32px; padding: 0 4px; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .14); color: #fff; font-size: 11px; font-weight: 700;
}
#sobji-sa .sobji-sa__vo-lang span { padding: 4px 8px; border-radius: 999px; }
#sobji-sa .sobji-sa__vo-lang span:first-child { font-family: "Hind Siliguri", var(--sa-font); }
#sobji-sa .sobji-sa__vo-lang span.is-on { background: #fff; color: var(--sa-green-d); }
#sobji-sa .sobji-sa__vo-main { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 22px 0; }
#sobji-sa .sobji-sa__vo-prompt { font-family: "Hind Siliguri", var(--sa-font); font-size: 26px; font-weight: 700; line-height: 1.25; text-align: center; }
#sobji-sa .sobji-sa__vo-circle { position: relative; width: 200px; height: 200px; flex: none; display: grid; place-items: center; }
#sobji-sa .sobji-sa__vo-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(249, 177, 69, .55); opacity: 0; }
#sobji-sa .sobji-sa__vo.is-listening .sobji-sa__vo-ring { animation: sobji-sa-vring 2s ease-out infinite; }
#sobji-sa .sobji-sa__vo.is-listening .sobji-sa__vo-ring:nth-child(2) { animation-delay: .7s; }
#sobji-sa .sobji-sa__vo.is-listening .sobji-sa__vo-ring:nth-child(3) { animation-delay: 1.4s; }
@keyframes sobji-sa-vring { 0% { transform: scale(.65); opacity: .6; } 100% { transform: scale(1.1); opacity: 0; } }
#sobji-sa .sobji-sa__vo-mic {
	position: relative; width: 128px; height: 128px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(150deg, var(--sa-yellow), #e08a1e); color: #121613; box-shadow: 0 30px 60px -20px rgba(249, 177, 69, .7);
	transition: transform .15s ease;
}
#sobji-sa .sobji-sa__vo-mic:hover { color: #121613; transform: scale(1.03); }
#sobji-sa .sobji-sa__vo.is-working .sobji-sa__vo-mic { opacity: .7; }
#sobji-sa .sobji-sa__vo-wave { height: 44px; display: flex; align-items: center; gap: 5px; }
#sobji-sa .sobji-sa__vo-wave span { width: 5px; border-radius: 3px; background: var(--sa-yellow); transform: scaleY(.3); transform-origin: center; transition: transform .08s linear; }
#sobji-sa .sobji-sa__vo-wave span.is-white { background: #fff; }
#sobji-sa .sobji-sa__vo.is-listening:not(.is-live) .sobji-sa__vo-wave span { animation: sobji-sa-vbar 1s ease-in-out infinite; }
#sobji-sa .sobji-sa__vo.is-speaking:not(.is-live) .sobji-sa__vo-wave span { animation-duration: .55s; }
@keyframes sobji-sa-vbar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
#sobji-sa .sobji-sa__vo-heard {
	width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
#sobji-sa .sobji-sa__vo-label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: #cfe6d6; }
#sobji-sa .sobji-sa__vo-text { font-family: "Hind Siliguri", var(--sa-font); font-size: 19px; line-height: 1.45; font-weight: 600; min-height: 28px; overflow-wrap: anywhere; }
#sobji-sa .sobji-sa__vo-text .is-interim { color: var(--sa-yellow); }
#sobji-sa .sobji-sa__vo-text .is-empty { color: rgba(255, 255, 255, .45); }
#sobji-sa .sobji-sa__vo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#sobji-sa .sobji-sa__vo-chips:empty { display: none; }
#sobji-sa .sobji-sa__vo-chip {
	display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px;
	border: 1.5px dashed rgba(255, 255, 255, .45); color: #fff; font-size: 12.5px; font-weight: 700;
}
#sobji-sa .sobji-sa__vo-chip.is-sure { border: 0; background: #fff; color: var(--sa-green-d); font-weight: 800; }
#sobji-sa .sobji-sa__vo-chip.is-sure svg { color: var(--sa-green); }
#sobji-sa .sobji-sa__vo-guide { font-size: 14px; line-height: 1.5; color: #e7f1ea; }
#sobji-sa .sobji-sa__vo-type {
	align-self: flex-start; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px;
	background: transparent; color: #fff; font-size: 14px; font-weight: 800;
}
#sobji-sa .sobji-sa__vo-foot { flex: none; display: flex; gap: 10px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
#sobji-sa .sobji-sa__vo-cancel {
	flex: 1; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 16px; background: transparent; color: #fff; font-size: 15px; font-weight: 800;
}
#sobji-sa .sobji-sa__vo-cancel:hover { background: rgba(255, 255, 255, .08); color: #fff; }
#sobji-sa .sobji-sa__vo-add {
	flex: 2; height: 52px; border: 0; border-radius: 16px; background: #fff; color: var(--sa-green-d); font-size: 15px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; gap: 8px;
}
#sobji-sa .sobji-sa__vo-add:hover:not(:disabled) { background: #f0f7f2; color: var(--sa-green-d); }
#sobji-sa .sobji-sa__vo-add:disabled { opacity: .5; }

/* ---------- Phones on other pages: bottom sheet ---------- */
#sobji-sa.is-sheet .sobji-sa__backdrop {
	display: block; position: fixed; inset: 0; background: rgba(18, 22, 19, .45); touch-action: none; animation: sobji-sa-fade .2s ease-out;
}
#sobji-sa.is-sheet .sobji-sa__backdrop.is-closing { animation: sobji-sa-fade .22s ease-in reverse forwards; }
#sobji-sa.is-sheet .sobji-sa__panel {
	position: fixed; left: 0; right: 0; top: auto; bottom: auto; width: 100%; max-width: none; height: 66vh; height: 66dvh;
	border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4);
	animation: sobji-sa-up .28s cubic-bezier(.2, .8, .3, 1); transition: border-radius .2s ease;
}
#sobji-sa.is-sheet .sobji-sa__panel.is-dragging { transition: none; }
#sobji-sa.is-sheet.is-sheet-full .sobji-sa__panel { border-radius: 0; }
#sobji-sa.is-sheet .sobji-sa__panel.is-closing { animation: sobji-sa-down .22s ease-in forwards; }
@keyframes sobji-sa-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sobji-sa-down { from { transform: none; } to { transform: translateY(100%); } }
#sobji-sa.is-sheet .sobji-sa__grab { display: flex; flex: none; justify-content: center; padding: 8px 0 4px; background: var(--sa-surface); touch-action: none; cursor: grab; }
#sobji-sa.is-sheet .sobji-sa__grab span { width: 40px; height: 5px; border-radius: 3px; background: #cfd6d0; }
#sobji-sa.is-sheet .sobji-sa__head { min-height: 0; padding: 4px 14px 12px; background: var(--sa-surface); color: var(--sa-ink); border-bottom: 1px solid var(--sa-line); touch-action: none; }
#sobji-sa.is-sheet .sobji-sa__head::before { display: none; }
#sobji-sa.is-sheet .sobji-sa__avatar { width: 36px; height: 36px; box-shadow: none; }
#sobji-sa.is-sheet .sobji-sa__name { color: var(--sa-ink); font-size: 15px; }
#sobji-sa.is-sheet .sobji-sa__ticker, #sobji-sa.is-sheet .sobji-sa__ui-lang, #sobji-sa.is-sheet .sobji-sa__restart { display: none; }
#sobji-sa.is-sheet .sobji-sa__sheet-sub { display: block; font-size: 12px; color: var(--sa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa.is-sheet.is-typing .sobji-sa__sheet-sub { display: none; }
#sobji-sa.is-sheet .sobji-sa__typing-line { color: var(--sa-green); }
#sobji-sa.is-sheet .sobji-sa__expand { background: var(--sa-green-l); color: var(--sa-green); }
#sobji-sa.is-sheet .sobji-sa__close { background: #f0f2f0; color: var(--sa-muted); }
#sobji-sa.is-sheet .sobji-sa__expand:hover { background: #d6eadb; color: var(--sa-green-d); }
#sobji-sa.is-sheet .sobji-sa__close:hover { background: #e4e8e4; color: var(--sa-ink); }
#sobji-sa.is-sheet .sobji-sa__log { padding: 16px 14px 10px; }
#sobji-sa.is-sheet.has-welcome .sobji-sa__photo { display: none; } /* The welcome cards have Photo. */
#sobji-sa.is-sheet .sobji-sa__bar { padding: 8px 12px max(12px, env(safe-area-inset-bottom)); }
#sobji-sa.is-sheet .sobji-sa__panel { overflow: visible; } /* The input bar's filler reaches the bottom of the screen (H8). */
#sobji-sa.is-sheet .sobji-sa__grab { border-radius: 26px 26px 0 0; }
#sobji-sa.is-sheet.is-sheet-full .sobji-sa__grab { border-radius: 0; }
#sobji-sa.is-sheet.is-kb .sobji-sa__bar { padding-bottom: 8px; }
#sobji-sa.is-sheet.is-kb .sobji-sa__sheet-sub, #sobji-sa.is-sheet.is-kb .sobji-sa__grab { display: none; }
#sobji-sa.is-sheet.is-kb .sobji-sa__head { padding-top: 8px; padding-bottom: 8px; }
#sobji-sa.is-sheet.is-kb .sobji-sa__qr:not(:empty) { display: flex; }
#sobji-sa.is-sheet textarea.sobji-sa__input { font-size: 16px; } /* No iOS zoom. */
#sobji-sa.is-sheet .sobji-sa__vo { border-radius: inherit; }
/* Touch screens (phones, iPads): 16px in the typing box, or iOS zooms the page in. */
@media (pointer: coarse) { #sobji-sa textarea.sobji-sa__input { font-size: 16px; } }
@media (max-width: 767px) {
	#sobji-sa.sobji-sa--float .sobji-sa__launcher.is-pill .sobji-sa__pill-text { max-width: calc(100vw - 2 * var(--sa-side) - 86px); overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Full-page chat (/chat/) ---------- */
html.sobji-sa-page, body.sobji-sa-page { margin: 0; padding: 0; min-height: 100%; background: #f3f7f2; }
body.sobji-sa-page { font-family: Manrope, "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif; -webkit-text-size-adjust: 100%; }
.sobji-sa-page__h1 { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#sobji-sa.sobji-sa--full {
	position: fixed; inset: 0; bottom: 0;
	background: radial-gradient(900px 600px at 8% 0%, rgba(63, 154, 95, .20), transparent 60%), radial-gradient(800px 520px at 100% 100%, rgba(249, 177, 69, .20), transparent 60%), #f3f7f2;
}
#sobji-sa.sobji-sa--full::before {
	content: ""; position: fixed; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(47, 107, 69, .12) 1.2px, transparent 1.3px); background-size: 22px 22px;
}
#sobji-sa .sobji-sa__stage { position: relative; height: 100%; display: flex; justify-content: center; align-items: stretch; gap: 24px; }
#sobji-sa.sobji-sa--full .sobji-sa__panel {
	position: fixed; top: 0; left: 0; right: 0; bottom: auto; margin: 0 auto; width: 100%; max-width: none;
	height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; animation: none; background: var(--sa-page);
}
#sobji-sa.sobji-sa--full .sobji-sa__side { display: none; }
/* Top bar: Back to order · Home · logo · Checkout · ৳total. */
#sobji-sa .sobji-sa__top {
	flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 56px;
	padding: max(6px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
	background: var(--sa-surface); border-bottom: 1px solid var(--sa-line);
}
#sobji-sa .sobji-sa__nav { justify-self: start; display: flex; align-items: center; gap: 8px; min-width: 0; }
#sobji-sa .sobji-sa__back, #sobji-sa .sobji-sa__home {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
	font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--sa-green-d);
}
#sobji-sa .sobji-sa__back { background: #f0f3ef; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__back:hover { background: var(--sa-green-l); color: var(--sa-green); }
#sobji-sa .sobji-sa__home { border: 1px solid var(--sa-line); background: var(--sa-surface); }
#sobji-sa .sobji-sa__home:hover { border-color: var(--sa-green); color: var(--sa-green); }
#sobji-sa .sobji-sa__brand { display: flex; align-items: center; min-width: 0; color: var(--sa-green); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
#sobji-sa .sobji-sa__brand-logo { display: block; width: auto; max-width: 140px; height: auto; max-height: 34px; object-fit: contain; }
#sobji-sa .sobji-sa__brand-logo.is-sobji { height: 34px; max-height: none; width: auto; aspect-ratio: 360 / 156; max-width: 120px; }
#sobji-sa .sobji-sa__brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sobji-sa .sobji-sa__top-end { justify-self: end; display: flex; align-items: center; gap: 6px; }
#sobji-sa .sobji-sa__checkout {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--sa-yellow);
	color: #121613; font-size: 13.5px; font-weight: 800; white-space: nowrap; text-decoration: none;
}
#sobji-sa .sobji-sa__checkout:hover { color: #121613; background: #ffbf5c; }
#sobji-sa .sobji-sa__checkout.is-empty { background: #f0f3ef; color: var(--sa-green-d); }
#sobji-sa.sobji-sa--full .sobji-sa__bar {
	padding: 10px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
#sobji-sa.sobji-sa--full.is-kb .sobji-sa__bar { padding-bottom: 8px; }
#sobji-sa.sobji-sa--full .sobji-sa__welcome { padding: 14px 4px 6px; }

/* Desktop: the chat as a floating card, 20px from top and bottom. */
@media (min-width: 900px) {
	#sobji-sa .sobji-sa__stage { padding: 20px 24px; }
	#sobji-sa.sobji-sa--full .sobji-sa__panel {
		position: relative; top: auto; left: auto; right: auto; margin: 0; flex: 0 1 720px; width: 720px; max-width: 100%;
		height: auto; max-height: none; border-radius: 28px; overflow: hidden; background: var(--sa-surface);
		box-shadow: 0 50px 100px -40px rgba(18, 64, 39, .45), 0 0 0 1px rgba(0, 0, 0, .05);
	}
	#sobji-sa.sobji-sa--full .sobji-sa__head { min-height: 64px; padding: 0 18px; }
	#sobji-sa.sobji-sa--full .sobji-sa__log { padding: 20px; }
	#sobji-sa.sobji-sa--full .sobji-sa__msg--user { max-width: 60%; }
	#sobji-sa.sobji-sa--full .sobji-sa__text { font-size: 16px; padding: 11px 15px; }
	#sobji-sa.sobji-sa--full .sobji-sa__bar { padding: 12px 16px; gap: 10px; }
	#sobji-sa.sobji-sa--full .sobji-sa__field { min-height: 46px; border-radius: 23px; padding-left: 18px; }
	#sobji-sa.sobji-sa--full .sobji-sa__send { width: 46px; height: 46px; }
	#sobji-sa.sobji-sa--full .sobji-sa__welcome { max-width: 600px; width: 100%; align-self: center; padding-top: 24px; }
	#sobji-sa.sobji-sa--full .sobji-sa__basket { margin: 0 16px 10px; }
}
/* Wide screens: "How to order by chat" left, "Your basket" right (hidden under 1200px). */
@media (min-width: 1200px) {
	#sobji-sa.sobji-sa--full .sobji-sa__side { display: flex; flex: 0 0 clamp(240px, 21vw, 300px); flex-direction: column; gap: 16px; }
	#sobji-sa.sobji-sa--full .sobji-sa__side--l { padding-top: 70px; }
	#sobji-sa.sobji-sa--full .sobji-sa__side--r { align-self: flex-start; margin-top: 70px; }
	#sobji-sa.sobji-sa--full .sobji-sa__basket { display: none; } /* The basket column replaces the bar. */
}
#sobji-sa .sobji-sa__side-pill {
	align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--sa-green-l); color: var(--sa-green);
	font-size: 12px; font-weight: 800; letter-spacing: .12em;
}
#sobji-sa .sobji-sa__side-h { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--sa-ink); }
#sobji-sa .sobji-sa__steps { display: flex; flex-direction: column; gap: 10px; }
#sobji-sa .sobji-sa__step { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--sa-surface); border: 1px solid var(--sa-line); }
#sobji-sa .sobji-sa__step-ico { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--sa-green-l); color: var(--sa-green); }
#sobji-sa .sobji-sa__step-t { display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__step-t b { font-size: 14.5px; font-weight: 800; }
#sobji-sa .sobji-sa__step-t small { font-size: 13px; color: var(--sa-muted); line-height: 1.4; }
#sobji-sa .sobji-sa__clock { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, #1d2b4a, #142040); color: #fff; }
#sobji-sa .sobji-sa__clock-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--sa-yellow); }
#sobji-sa .sobji-sa__clock-t { display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__clock-t b { font-size: 15px; font-weight: 800; }
#sobji-sa .sobji-sa__clock-t small { font-size: 12.5px; color: #c3cde2; }
#sobji-sa .sobji-sa__bk {
	gap: 14px; padding: 20px; border-radius: 24px; background: var(--sa-surface); border: 1px solid var(--sa-line);
	box-shadow: 0 30px 60px -45px rgba(18, 22, 19, .45); max-height: calc(100% - 90px); overflow-y: auto;
}
#sobji-sa .sobji-sa__bk-head { display: flex; justify-content: space-between; align-items: baseline; }
#sobji-sa .sobji-sa__bk-head b { font-size: 17px; font-weight: 800; }
#sobji-sa .sobji-sa__bk-head small { font-size: 12.5px; color: var(--sa-muted); }
#sobji-sa .sobji-sa__bk-list { display: flex; flex-direction: column; }
#sobji-sa .sobji-sa__bk-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--sa-line); font-size: 14px; }
#sobji-sa .sobji-sa__bk-row:last-child { border-bottom: 0; }
#sobji-sa .sobji-sa__bk-row b { white-space: nowrap; }
#sobji-sa .sobji-sa__bk-empty { font-size: 13.5px; color: var(--sa-muted); line-height: 1.5; }
#sobji-sa .sobji-sa__bk-del { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--sa-green-l); color: var(--sa-green-d); font-size: 13.5px; font-weight: 700; }
#sobji-sa .sobji-sa__bk-sub { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; font-size: 14px; font-weight: 700; color: var(--sa-muted); }
#sobji-sa .sobji-sa__bk-note { font-size: 12.5px; line-height: 1.45; color: var(--sa-muted); }
#sobji-sa .sobji-sa__bk-total { display: flex; justify-content: space-between; align-items: baseline; }
#sobji-sa .sobji-sa__bk-total span { font-weight: 700; }
#sobji-sa .sobji-sa__bk-total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
#sobji-sa .sobji-sa__bk-go {
	height: 50px; border-radius: 14px; background: var(--sa-green); color: #fff; font-size: 15px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
#sobji-sa .sobji-sa__bk-go:hover { background: var(--sa-green-d); color: #fff; }
#sobji-sa .sobji-sa__bk-go.is-off { opacity: .5; pointer-events: none; }

/* Phones (chat page): one compact 52px bar (brief B / checklist F) – ← · picture + name · BN/EN · ⋮ · basket – and 40px while typing. */
@media (max-width: 600px) {
	#sobji-sa.sobji-sa--full .sobji-sa__top { display: none; }
	/* 1.7.0 (I): no decorative dots or glows on phones; the panel lets the input bar's filler reach the bottom. */
	#sobji-sa.sobji-sa--full { background: var(--sa-page); }
	#sobji-sa.sobji-sa--full::before { display: none; }
	#sobji-sa.sobji-sa--full .sobji-sa__panel { overflow: visible; }
	#sobji-sa.sobji-sa--full .sobji-sa__w-head { display: none; }
	#sobji-sa.sobji-sa--full .sobji-sa__head { min-height: 52px; padding: 6px 12px; padding-top: max(6px, env(safe-area-inset-top)); gap: 8px; }
	#sobji-sa.sobji-sa--full .sobji-sa__avatar { width: 34px; height: 34px; font-size: 15px; }
	#sobji-sa.sobji-sa--full .sobji-sa__name { font-size: 15px; }
	#sobji-sa.sobji-sa--full .sobji-sa__ticker { font-size: 11.5px; }
	#sobji-sa.sobji-sa--full .sobji-sa__mback, #sobji-sa.sobji-sa--full .sobji-sa__mcart, #sobji-sa.sobji-sa--full .sobji-sa__menu-btn { display: grid; }
	#sobji-sa.sobji-sa--full .sobji-sa__sound, #sobji-sa.sobji-sa--full .sobji-sa__restart { display: none; }
	#sobji-sa.sobji-sa--full .sobji-sa__ui-lang { height: 28px; font-size: 11px; }
	#sobji-sa.sobji-sa--full .sobji-sa__ui-lang span { padding: 3px 7px; }
	#sobji-sa.sobji-sa--full textarea.sobji-sa__input { font-size: 16px; } /* Stops iPhone zooming in. */
	#sobji-sa.sobji-sa--full .sobji-sa__welcome { gap: 20px; padding: 12px 4px 6px; }
	/* Keyboard open: slim 40px header (picture, name, ৳total · count), quick replies above the input. */
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__head { min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__mback, #sobji-sa.sobji-sa--full.is-kb .sobji-sa__mcart,
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__menu-btn, #sobji-sa.sobji-sa--full.is-kb .sobji-sa__ui-lang,
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__theme-btn, #sobji-sa.sobji-sa--full.is-kb .sobji-sa__sound-btn,
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__ticker, #sobji-sa.sobji-sa--full.is-kb .sobji-sa__typing-line { display: none; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__avatar { width: 26px; height: 26px; font-size: 12px; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__name { font-size: 14px; }
	#sobji-sa.sobji-sa--full.is-kb.has-cart .sobji-sa__kbpill:not([hidden]) { display: inline-block; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__qr:not(:empty) { display: flex; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__basket { display: none; }
	#sobji-sa.sobji-sa--full.is-kb .sobji-sa__tool { display: none; }
	#sobji-sa .sobji-sa__w-salam { font-size: 28px; }
}
@media (max-width: 360px) {
	#sobji-sa.sobji-sa--full .sobji-sa__head { gap: 6px; padding-left: 8px; padding-right: 8px; }
	#sobji-sa.sobji-sa--full .sobji-sa__head .sobji-sa__hbtn, #sobji-sa.sobji-sa--full .sobji-sa__head .sobji-sa__ibtn { width: 32px; height: 32px; }
	#sobji-sa .sobji-sa__w-salam { font-size: 25px; }
	#sobji-sa .sobji-sa__w-ask { font-size: 20px; }
	#sobji-sa .sobji-sa__wcard { padding: 13px; }
}
@media (min-width: 601px) and (max-width: 899px) {
	#sobji-sa.sobji-sa--full .sobji-sa__panel { max-width: 760px; left: 50%; right: auto; transform: translateX(-50%); box-shadow: 0 0 48px rgba(16, 32, 22, .1); }
}

/* The chat page is light by default (1.6.1 – it no longer follows the phone's dark setting). 1.7.0 (H7):
   the ⋮ menu switches to dark (class sobji-sa--dark, remembered in localStorage sobji_sa_theme). */
#sobji-sa.sobji-sa--full { color-scheme: light; }
html.sobji-sa-page, body.sobji-sa-page { color-scheme: light; }
html.sobji-sa-page.sa-dark, html.sobji-sa-page.sa-dark body.sobji-sa-page { background: #0f1712; color-scheme: dark; }
/* Dark: page #0f1712, bubbles #1b261f, text #e8efe9, border #2a3a30, header #16261c; green stays the accent. */
#sobji-sa.sobji-sa--full.sobji-sa--dark {
	--sa-ink: #e8efe9; --sa-muted: #b0bcb4; --sa-faint: #93a097; --sa-line: #2a3a30; --sa-page: #0f1712; --sa-surface: #1b261f;
	--sa-chip-line: #35513f; --sa-field: #141f18; --sa-field-line: #2a3a30; --sa-card-line: #2a3a30; --sa-row-line: #243229;
	--sa-date: #1b261f; --sa-green-l: #1f3a29; --sa-bad: #ff9a90; --sa-head: #16261c;
	color-scheme: dark; color: var(--sa-ink);
	background: radial-gradient(900px 600px at 8% 0%, rgba(63, 154, 95, .14), transparent 60%), radial-gradient(800px 520px at 100% 100%, rgba(249, 177, 69, .07), transparent 60%), #0f1712;
}
#sobji-sa.sobji-sa--full.sobji-sa--dark::before { background-image: radial-gradient(rgba(127, 209, 154, .07) 1.2px, transparent 1.3px); }
@media (max-width: 600px) { #sobji-sa.sobji-sa--full.sobji-sa--dark { background: #0f1712; } }
/* Green text on dark becomes a lighter green; dark-green text on light chips becomes pale green. */
#sobji-sa.sobji-sa--dark .sobji-sa__chip, #sobji-sa.sobji-sa--dark .sobji-sa__add, #sobji-sa.sobji-sa--dark .sobji-sa__back, #sobji-sa.sobji-sa--dark .sobji-sa__home,
#sobji-sa.sobji-sa--dark .sobji-sa__vlabel, #sobji-sa.sobji-sa--dark .sobji-sa__checkout.is-empty, #sobji-sa.sobji-sa--dark .sobji-sa__bk-del,
#sobji-sa.sobji-sa--dark .sobji-sa__menu-item, #sobji-sa.sobji-sa--dark .sobji-sa__wcard { color: #d6ebdd; }
#sobji-sa.sobji-sa--dark .sobji-sa__chip:hover:not(:disabled), #sobji-sa.sobji-sa--dark .sobji-sa__add:hover:not(:disabled),
#sobji-sa.sobji-sa--dark .sobji-sa__back:hover, #sobji-sa.sobji-sa--dark .sobji-sa__home:hover, #sobji-sa.sobji-sa--dark .sobji-sa__menu-item:hover,
#sobji-sa.sobji-sa--dark .sobji-sa__wcard:hover { color: #fff; }
#sobji-sa.sobji-sa--dark .sobji-sa__back, #sobji-sa.sobji-sa--dark .sobji-sa__checkout.is-empty { background: #22302a; }
#sobji-sa.sobji-sa--dark .sobji-sa__tool, #sobji-sa.sobji-sa--dark a.sobji-sa__tool:visited, #sobji-sa.sobji-sa--dark .sobji-sa__mic, #sobji-sa.sobji-sa--dark .sobji-sa__wcard-ico,
#sobji-sa.sobji-sa--dark .sobji-sa__step-ico, #sobji-sa.sobji-sa--dark .sobji-sa__thumb, #sobji-sa.sobji-sa--dark .sobji-sa__sbtn,
#sobji-sa.sobji-sa--dark .sobji-sa__ok, #sobji-sa.sobji-sa--dark .is-green, #sobji-sa.sobji-sa--dark .sobji-sa__pcard-title,
#sobji-sa.sobji-sa--dark .sobji-sa__side-pill, #sobji-sa.sobji-sa--dark .sobji-sa__menu-item svg, #sobji-sa.sobji-sa--dark .sobji-sa__pchange,
#sobji-sa.sobji-sa--dark .sobji-sa__msg--bot .sobji-sa__text a, #sobji-sa.sobji-sa--dark .sobji-sa__brand, #sobji-sa.sobji-sa--dark a.sobji-sa__pname:hover { color: #8fdcaa; }
#sobji-sa.sobji-sa--dark .sobji-sa__tool:hover, #sobji-sa.sobji-sa--dark .sobji-sa__mic:hover { background: #29482f; color: #bff0cf; }
#sobji-sa.sobji-sa--dark .sobji-sa__sbtn:disabled { color: #3d5646; }
#sobji-sa.sobji-sa--dark .sobji-sa__typing i { background: #8fdcaa; }
#sobji-sa.sobji-sa--dark .sobji-sa__wcard.is-green { color: #fff; }
#sobji-sa.sobji-sa--dark .sobji-sa__wcard.is-green .sobji-sa__wcard-ico { color: #121613; }
#sobji-sa.sobji-sa--dark .sobji-sa__wcard.is-yellow .sobji-sa__wcard-ico { background: #3a2c12; color: #f9c46b; }
#sobji-sa.sobji-sa--dark .sobji-sa__x { background: #243229; color: var(--sa-muted); }
#sobji-sa.sobji-sa--dark .sobji-sa__x:hover { background: #3b2422; color: #ff9a90; }
#sobji-sa.sobji-sa--dark .sobji-sa__basket { background: #1f4a2e; box-shadow: 0 0 0 1px #2f5a3e; }
#sobji-sa.sobji-sa--dark .sobji-sa__toast { background: #2a3a30; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .8), 0 0 0 1px #35513f; }
#sobji-sa.sobji-sa--dark .sobji-sa__field:focus-within { box-shadow: 0 0 0 4px rgba(127, 209, 154, .14); border-color: #3f9a5f; background: var(--sa-field); }
#sobji-sa.sobji-sa--dark input.sobji-sa__amt-n:focus, #sobji-sa.sobji-sa--dark select.sobji-sa__amt-u:focus { border-color: #3f9a5f; }
#sobji-sa.sobji-sa--dark .sobji-sa__chip.is-primary { color: #fff; }
#sobji-sa.sobji-sa--dark .sobji-sa__chip.is-muted, #sobji-sa.sobji-sa--dark .sobji-sa__chip.is-info { color: var(--sa-muted); }
/* The yellow Checkout keeps its dark text (it's a link: theme and dark colours must not leak in). */
#sobji-sa.sobji-sa--dark .sobji-sa__chip.is-checkout, #sobji-sa.sobji-sa--dark .sobji-sa__checkout:not(.is-empty), #sobji-sa.sobji-sa--dark .sobji-sa__basket-cta,
#sobji-sa.sobji-sa--dark .sobji-sa__kbpill { color: #1a1f1b !important; }
/* The Sobji logo (dark lettering) sits on a light pill in dark mode. */
#sobji-sa.sobji-sa--dark .sobji-sa__brand-logo { background: #f3f7f2; border-radius: 10px; padding: 3px 8px; box-sizing: content-box; }
#sobji-sa.sobji-sa--dark .sobji-sa__w-guide { box-shadow: none; }
#sobji-sa.sobji-sa--dark .sobji-sa__pcard, #sobji-sa.sobji-sa--dark .sobji-sa__msg--bot .sobji-sa__text, #sobji-sa.sobji-sa--dark .sobji-sa__wcard,
#sobji-sa.sobji-sa--dark .sobji-sa__bk, #sobji-sa.sobji-sa--dark .sobji-sa__menu { box-shadow: none; }
#sobji-sa.sobji-sa--dark .sobji-sa__thumb img { background: #e8efe9; }


/* ---------- Motion, print, page lock ---------- */
@media (prefers-reduced-motion: reduce) {
	#sobji-sa .sobji-sa__dot::after, #sobji-sa .sobji-sa--in, #sobji-sa .sobji-sa__typing i, #sobji-sa .sobji-sa__panel,
	#sobji-sa .sobji-sa__vo-ring, #sobji-sa .sobji-sa__vo-wave span, #sobji-sa .sobji-sa__w, #sobji-sa .sobji-sa__launch { animation: none; }
	#sobji-sa .sobji-sa__tick { transition: none; }
	#sobji-sa *, #sobji-sa *::before, #sobji-sa *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { #sobji-sa { display: none !important; } }
/* The chat page: the page behind the full-screen chat doesn't scroll, and is hidden so nothing from it shows
   in the strip iPhone browsers leave between the typing box and their own address bar. */
html.sobji-sa-lock, html.sobji-sa-lock body { overflow: hidden !important; overscroll-behavior: none; }
html.sobji-sa-lock body { visibility: hidden !important; }
html.sobji-sa-lock #sobji-sa { visibility: visible !important; }
/* Bottom sheet on other pages: only scrolling stops; the page stays where it is (no jump) and visible. */
html.sobji-sa-sheet-lock, html.sobji-sa-sheet-lock body { overflow: hidden !important; overscroll-behavior: none; }
