:root {
	--aisa-primary: #4f46e5;
	--aisa-secondary: #7c3aed;
	--aisa-icon-color: #ffffff;
	--aisa-title-color: #ffffff;
	--aisa-side: 22px;
}

#aisa-widget-root, .aisa-bubble, .aisa-panel {
	direction: rtl;
	font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.aisa-bubble {
	position: fixed !important;
	bottom: 22px !important;
	left: var(--aisa-side) !important;
	width: 60px !important;
	height: 60px !important;
	min-width: 60px !important;
	min-height: 60px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, var(--aisa-primary), var(--aisa-secondary));
	box-shadow: 0 6px 20px rgba(79,70,229,0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2147483000 !important;
	border: none !important;
	transition: transform .15s ease;
	box-sizing: border-box !important;
}
.aisa-bubble:hover { transform: scale(1.06); }
.aisa-bubble .aisa-bot-icon { width: 30px; height: 30px; overflow: visible; color: var(--aisa-icon-color); }
.aisa-bubble .aisa-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; border: 2px solid #fff; }

.aisa-panel {
	position: fixed !important;
	bottom: 96px !important;
	left: var(--aisa-side) !important;
	width: 380px;
	max-width: calc(100vw - 40px);
	height: 580px;
	max-height: calc(100vh - 140px);
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.18);
	display: none;
	flex-direction: column;
	overflow: hidden;
	z-index: 2147483000 !important;
	border: 1px solid #eee;
}
.aisa-bubble.aisa-pos-right,
.aisa-panel.aisa-pos-right {
	left: auto !important;
	right: var(--aisa-side) !important;
}
.aisa-panel.open { display: flex; }

/* אין שום סיבה שהבועה הצפה תישאר גלויה כשהחלון כבר פתוח - וגם, היא
   ופאנל השיחה חולקים בדיוק את אותו z-index, כך שסדר ה-DOM (הבועה
   נוצרת אחרי הפאנל) גרם לה לצייר *מעל* הפאנל בכל חפיפה, מסתירה חלק
   מהשיחה. הכפתור לסגירה/מזעור כבר נמצא בתוך הפאנל עצמו. */
.aisa-panel.open ~ .aisa-bubble { display: none !important; }

.aisa-header {
	background: linear-gradient(135deg, var(--aisa-primary), var(--aisa-secondary));
	color: #fff;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.aisa-header-left { display: flex !important; align-items: center !important; flex-direction: row !important; gap: 10px; min-width: 0; overflow: hidden; }
.aisa-header .title, .aisa-header .subtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 !important; align-self: center !important; }
.aisa-online-dot {
	display: inline-block !important;
	position: static !important;
	width: 7px; height: 7px; border-radius: 50% !important;
	background: #4ade80 !important;
	flex-shrink: 0;
	margin: 0 !important;
	box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
	animation: aisa-blink-dot 1.8s ease-in-out infinite;
}
@keyframes aisa-blink-dot {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}
.aisa-header .title { font-weight: 700; font-size: 15px; color: var(--aisa-title-color, #fff) !important; }
.aisa-header .subtitle { font-size: 11.5px; opacity: .85; }
.aisa-header-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.aisa-header .minimize-btn {
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding-bottom: 3px;
}
.aisa-header .minimize-btn:hover { background: rgba(255,255,255,0.28); }
.aisa-header .sound-btn {
	background: transparent !important;
	border: none !important;
	color: #fff;
	width: 26px;
	height: 26px;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	opacity: 0.9;
}
.aisa-header .sound-btn:hover { opacity: 1; }
.aisa-header .sound-btn svg { display: block !important; width: 15px !important; height: 15px !important; flex-shrink: 0; }
.aisa-header .sound-btn.muted svg { opacity: 0.5; }
.aisa-header .sound-btn.muted::after {
	content: '';
	position: absolute;
	width: 18px;
	height: 1.5px;
	background: #fff;
	transform: rotate(-45deg);
}
.aisa-header .end-btn {
	background: rgba(255,255,255,0.18);
	border: none;
	color: #fff;
	border-radius: 999px;
	padding: 0 10px;
	height: 26px;
	cursor: pointer;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}
.aisa-header .end-btn:hover { background: rgba(255,255,255,0.28); }

.aisa-quick-wrap { position: relative; }
.aisa-quick-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 12px;
	background: #fafafa;
	border: none;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	font-size: 11px;
	color: #9ca3af;
}
.aisa-quick-toggle[hidden] { display: none !important; }
.aisa-quick-toggle:hover { background: #f3f4f6; color: #6b7280; }
.aisa-quick-toggle-arrow { display: inline-block; transition: transform .2s ease; font-size: 12px; }
.aisa-quick-wrap:not(.collapsed) .aisa-quick-toggle-arrow { transform: rotate(180deg); }
.aisa-quick-wrap.collapsed .aisa-quick-actions { display: none; }

.aisa-quick-actions {
	padding: 10px 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	border-bottom: 1px solid #f0f0f0;
	background: #fafafa;
}
.aisa-quick-actions button {
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 12px;
	cursor: pointer;
	color: #374151;
	transition: all .15s;
}
.aisa-quick-actions button:hover { background: #eef2ff; border-color: #c7d2fe; }

.aisa-messages {
	flex: 1;
	min-height: 0; /* קריטי: בלי זה ה-flex item "מסרב" להתכווץ ונגלל בעצמו במקום לגלול פנימית */
	overflow-y: auto;
	overscroll-behavior: contain; /* מונע "דליפת" גלילה החוצה לדף שמאחורי הפאנל בהגעה לקצה */
	-webkit-overflow-scrolling: touch; /* גלילת מומנטום חלקה ב-iOS */
	padding: 14px;
	background: #fcfcfd;
}

.aisa-msg-row { display: flex; flex-direction: column; margin-bottom: 12px; }
.aisa-msg-row.user { align-items: flex-end; }
.aisa-msg-row.assistant { align-items: flex-start; }
.aisa-bubble-msg {
	max-width: 80%;
	padding: 11px 16px;
	border-radius: 20px;
	font-size: 13.5px;
	line-height: 1.55;
	white-space: pre-wrap;
}
.aisa-msg-row.assistant .aisa-bubble-msg { background: #f1f0fe; border-radius: 18px; color: #1f2937; }
.aisa-msg-row.user .aisa-bubble-msg { background: var(--aisa-primary); color: #fff; border-radius: 18px; }

.aisa-typing { display: flex; gap: 4px; padding: 8px 14px; }
.aisa-typing span { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; animation: aisa-blink 1.2s infinite ease-in-out; }
.aisa-typing span:nth-child(2) { animation-delay: .2s; }
.aisa-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aisa-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.aisa-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #f0f0f0; }
.aisa-input-row input {
	flex: 1;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 16px; /* קריטי במובייל: מתחת ל-16px, iOS מזין זום אוטומטי בכל פעם שלוחצים על השדה */
	outline: none;
}
.aisa-input-row input:focus { border-color: #a5b4fc; }
.aisa-input-row input:disabled { background: #f9fafb; opacity: .7; }
.aisa-input-row button {
	background: var(--aisa-primary);
	border: none;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
}
.aisa-input-row button:disabled { opacity: .5; cursor: default; }

.aisa-rating-box { position: relative; padding: 14px; border-top: 1px solid #f0f0f0; background: #fafafa; text-align: center; }
.aisa-rating-box .prompt { font-size: 12.5px; color: #4b5563; margin-bottom: 8px; }
.aisa-rating-close {
	position: absolute !important;
	top: 8px !important;
	left: 10px !important;
	width: 24px;
	height: 24px;
	border: none !important;
	background: transparent !important;
	color: #FF2C2C !important;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.aisa-rating-close:hover { opacity: 0.65; }
.aisa-stars { font-size: 26px; letter-spacing: 4px; cursor: pointer; }
.aisa-stars span { color: #d1d5db; transition: color .1s; }
.aisa-stars span.active { color: #f59e0b; }
.aisa-rating-comment {
	width: 100%;
	margin-top: 10px;
	padding: 8px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-size: 12.5px;
	font-family: inherit;
	resize: none;
	box-sizing: border-box;
}
.aisa-rating-comment:focus { outline: none; border-color: var(--aisa-primary); }
.aisa-rating-send {
	margin-top: 8px;
	background: var(--aisa-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 7px 18px !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
.aisa-rating-send:disabled { opacity: .45; cursor: default; }
.aisa-rating-thanks { font-size: 12.5px; color: #059669; padding: 14px; text-align: center; }

/* ===== רשימת מוצרים ===== */
.aisa-carousel-block { margin: -2px 0 14px; }
.aisa-carousel-label { font-size: 12px; color: #6b7280; margin: 0 0 8px 2px; font-weight: 600; }

.aisa-add-success {
	display: flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	max-width: 85%;
	margin: 0 0 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ecfdf5;
	color: #059669;
	font-size: 12.5px;
	font-weight: 600;
}

.aisa-product-list { display: flex; flex-direction: column; gap: 8px; }
.aisa-product-row {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 14px;
	padding: 8px 10px;
	box-shadow: 0 1px 3px rgba(17,24,39,0.04);
}
.aisa-product-row-img { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #f9fafb; flex-shrink: 0; }
.aisa-product-row-img img { width: 100%; height: 100%; object-fit: cover; }
.aisa-product-row-info { flex: 1; min-width: 0; }
.aisa-product-row-name {
	font-size: 12.5px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.35;
	text-decoration: none;
	transition: color .15s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
a.aisa-product-row-name:hover { color: var(--aisa-primary); }
.aisa-product-row-price { font-size: 12px; color: var(--aisa-primary); font-weight: 700; margin-top: 3px; }
.aisa-add-btn {
	background: var(--aisa-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 9px 14px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
	flex-shrink: 0;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(17,24,39,0.14), 0 1px 2px rgba(17,24,39,0.08) !important;
	letter-spacing: .01em;
}
.aisa-add-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(17,24,39,0.18), 0 1px 2px rgba(17,24,39,0.08) !important; }
.aisa-add-btn:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(17,24,39,0.14) !important; }
.aisa-add-btn:disabled { background: #d1fae5 !important; color: #065f46 !important; cursor: default; box-shadow: none !important; transform: none; }
.aisa-add-btn.added { background: #d1fae5 !important; color: #065f46 !important; box-shadow: none !important; }

/* ===== רשימת סל (תמונה + שם + מחיר) ===== */
.aisa-cart-list { display: flex; flex-direction: column; gap: 8px; }
.aisa-cart-row {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 14px;
	padding: 8px 10px;
}
.aisa-cart-row .aisa-cart-img {
	width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: #f9fafb; flex-shrink: 0;
}
.aisa-cart-row .aisa-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.aisa-cart-row .aisa-cart-info { flex: 1; min-width: 0; }
.aisa-cart-row .aisa-cart-name { font-size: 12.5px; font-weight: 600; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aisa-cart-row .aisa-cart-meta { font-size: 11.5px; color: #6b7280; margin-top: 2px; }
.aisa-cart-row .aisa-cart-price { font-size: 12.5px; font-weight: 700; color: var(--aisa-primary); white-space: nowrap; }
.aisa-cart-total-row { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; padding: 6px 4px 0; color: #111827; }
.aisa-cart-coupons { font-size: 11.5px; color: #059669; background: #ecfdf5; border-radius: 8px; padding: 6px 10px; margin-top: 6px; }
.aisa-pdf-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	background: #fff;
	border: 1.5px solid var(--aisa-primary);
	color: var(--aisa-primary);
	border-radius: 12px;
	padding: 9px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}
.aisa-pdf-btn:hover { background: #f5f4ff; }

/* ===== פעימה על הבועה כשיש הודעה שממתינה ===== */
@keyframes aisa-pulse-ring {
	0% { box-shadow: 0 0 0 0 rgba(79,70,229,0.5); }
	100% { box-shadow: 0 0 0 14px rgba(79,70,229,0); }
}
.aisa-bubble.aisa-pulse { animation: aisa-pulse-ring 1.4s ease-out infinite; }

/* ===== כפתור "התחלת קניה" - בולט מעט יותר מיתר הפעולות המהירות ===== */
.aisa-quick-actions button.aisa-start-shopping-btn {
	background: linear-gradient(135deg, var(--aisa-primary), var(--aisa-secondary));
	color: #fff;
	border-color: transparent;
	font-weight: 600;
}
.aisa-quick-actions button.aisa-start-shopping-btn:hover { opacity: .9; background: linear-gradient(135deg, var(--aisa-primary), var(--aisa-secondary)); }

/* ===== התאמות מובייל - חוויית צ'אט מלאה במקום חלון קטן צף ===== */
@media (max-width: 480px) {
	.aisa-bubble {
		bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
		left: max(16px, env(safe-area-inset-left, 0px)) !important;
	}
	.aisa-bubble.aisa-pos-right {
		right: max(16px, env(safe-area-inset-right, 0px)) !important;
		left: auto !important;
	}

	/* פאנל במסך מלא (עם שוליים קטנים) - לא תלוי בגובה קבוע, כדי לא להישבר
	   כשהמקלדת נפתחת (מנגנון "bottom:96px + גובה קבוע" לא אמין במובייל) */
	.aisa-panel,
	.aisa-panel.aisa-pos-right {
		left: 8px !important;
		right: 8px !important;
		bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
		top: max(8px, env(safe-area-inset-top, 0px)) !important;
		width: auto !important;
		max-width: none !important;
		height: auto !important;
		max-height: none !important;
		border-radius: 20px;
	}

	.aisa-header { padding: 14px 16px; }
	.aisa-header .title { font-size: 14px; }
	.aisa-contact-bar { padding: 6px 10px; }
	.aisa-contact-btn { font-size: 11px; padding: 7px 8px; }
	.aisa-quick-actions { padding: 8px 10px; }
	.aisa-quick-actions button { font-size: 12.5px; padding: 7px 12px; }
	.aisa-messages { padding: 12px; }

	/* כרטיסים/שורות - מוודאים שלא גולשים ברוחב מסך צר (320px ומעלה) */
	.aisa-product-row, .aisa-cart-row { padding: 8px; }
	.aisa-product-row-name, .aisa-cart-row .aisa-cart-name { font-size: 13px; }
	.aisa-add-btn { padding: 9px 10px; font-size: 12px; white-space: nowrap; }

	.aisa-input-row { padding: 10px; }
	.aisa-input-row input { padding: 12px 16px; } /* אצבע נוחה יותר במגע */
	.aisa-input-row button { width: 44px; height: 44px; } /* יעד מגע תקני (44px) */
}

/* מסכים צרים במיוחד (320px ומטה) - עוד קצת אוויר */
@media (max-width: 340px) {
	.aisa-header-left { gap: 8px; }
	.aisa-quick-actions button { font-size: 12px; padding: 6px 10px; }
}

/* ===== תג נציג אנושי ===== */
.aisa-human-badge {
	font-size: 10px;
	font-weight: 700;
	color: #7c3aed;
	background: #f5f3ff;
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	margin-bottom: 3px;
}

/* ===== שורת יצירת קשר (טלפון / וואטסאפ) - תמיד גלויה, לא מתקפלת ===== */
.aisa-contact-bar {
	display: flex;
	gap: 8px;
	padding: 8px 12px;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}
.aisa-contact-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: filter .15s;
}
.aisa-contact-btn:hover { filter: brightness(0.95); }
.aisa-contact-btn.phone { background: #eef2ff; color: var(--aisa-primary); }
.aisa-contact-btn.whatsapp { background: #e7f9ee; color: #16a34a; }

/* ===== הצעת יצירת קשר מיידית - כשהסוכן לא בטוח בתשובה. בכוונה בצבע
   מלא (לא עדין כמו שורת יצירת הקשר למעלה) - כמו כפתורי הכותרת/הצ'קאוט,
   כדי שיבלוט כפעולה ברורה בתוך זרם ההודעות ===== */
.aisa-human-contact-offer {
	display: flex;
	gap: 8px;
	margin: 0 0 14px;
	max-width: 90%;
}
.aisa-human-contact-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	background: var(--aisa-primary) !important;
	color: #fff !important;
	transition: filter .15s;
}
.aisa-human-contact-btn:hover { filter: brightness(1.08); }

/* ===== תפריט בחירת וריאציה ===== */
.aisa-variation-picker {
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 14px;
	padding: 12px 14px;
	margin: 0 0 12px;
	max-width: 90%;
	box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.aisa-variation-label { font-size: 12.5px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
.aisa-variation-row { display: flex; gap: 8px; }
.aisa-variation-select {
	flex: 1;
	min-width: 0;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	font-size: 12.5px;
	font-family: inherit;
	background: #fff;
	color: #1f2937;
}
.aisa-variation-select:focus { outline: none; border-color: var(--aisa-primary); }
.aisa-variation-add-btn {
	background: var(--aisa-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 9px 16px !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	white-space: nowrap;
	cursor: pointer;
}
.aisa-variation-add-btn:disabled { opacity: .45; cursor: default; }
.aisa-variation-add-btn.added { background: #059669 !important; }

/* ===== אייקון עגלה + תצוגת סל מוקטנת בכותרת ===== */
.aisa-header .aisa-cart-icon-btn {
	position: relative;
	background: transparent;
	border: none;
	color: #fff;
	width: 26px;
	height: 26px;
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0;
	opacity: 0.9;
}
.aisa-header .aisa-cart-icon-btn svg { display: block; }
.aisa-header .aisa-cart-icon-btn:hover { opacity: 1; }
.aisa-cart-badge {
	position: absolute;
	top: -4px;
	inset-inline-end: -2px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 15px;
	height: 15px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}
.aisa-cart-badge[hidden] { display: none !important; }
.aisa-mini-cart {
	position: absolute;
	top: 56px;
	inset-inline-end: 12px;
	width: 260px;
	max-height: 320px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	z-index: 20;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.aisa-mini-cart[hidden] { display: none !important; }
.aisa-mini-cart-items { overflow-y: auto; max-height: 220px; padding: 8px; }
.aisa-mini-cart-item { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid #f0f0f1; }
.aisa-mini-cart-item:last-child { border-bottom: none; }
.aisa-mini-cart-item img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.aisa-mini-cart-item-info { flex: 1; min-width: 0; }
.aisa-mini-cart-item-name { font-size: 12px; font-weight: 600; color: #1f2937; line-height: 1.3; }
.aisa-mini-cart-item-meta { font-size: 11px; color: #9ca3af; }
.aisa-mini-cart-item-price { font-size: 12px; font-weight: 700; color: var(--aisa-primary); white-space: nowrap; }
.aisa-mini-cart-item-remove {
	background: transparent !important;
	border: none !important;
	color: #FF2C2C !important;
	font-size: 15px;
	line-height: 1;
	width: auto;
	height: auto;
	margin: 0 0 0 -8px;
	padding: 0;
	flex-shrink: 0;
	cursor: pointer;
}
.aisa-mini-cart-item-remove:hover { opacity: 0.65; }
.aisa-mini-cart-item-remove:disabled { opacity: .4; cursor: default; }
.aisa-mini-cart-empty { padding: 20px 10px; text-align: center; font-size: 12.5px; color: #9ca3af; }
.aisa-mini-cart-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #eef0f2;
	background: #fafafa;
}
.aisa-mini-cart-total { font-size: 13px; font-weight: 700; color: #1f2937; }
.aisa-mini-cart-checkout {
	background: var(--aisa-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
.aisa-mini-cart-checkout:disabled { opacity: .4; cursor: default; }

/* ===== תיבת אזהרה - יש מוצרים בסל לפני סיום שיחה ===== */
.aisa-cart-leave-confirm {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 12px 14px;
	margin: 0 0 12px;
	max-width: 90%;
}
.aisa-cart-leave-text { font-size: 12.5px; color: #92400e; margin-bottom: 10px; line-height: 1.4; }
.aisa-cart-leave-actions { display: flex; gap: 8px; }
.aisa-cart-leave-continue, .aisa-cart-leave-end {
	flex: 1;
	border: none;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.aisa-cart-leave-continue { background: var(--aisa-primary); color: #fff; }
.aisa-cart-leave-end { background: #fff; color: #92400e; border: 1px solid #fde68a; }
