/* Dastyar AI Chat — استایل ویجت (سبک، RTL، واکنش‌گرا) */

#dastyar-chat,
#dastyar-chat * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#dastyar-chat {
	position: fixed;
	bottom: 20px;
	z-index: 999999;
	direction: rtl;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.7;
	color: #111827;
}

#dastyar-chat.dc-pos-right { right: 20px; }
#dastyar-chat.dc-pos-left { left: 20px; }

/* خاصیت hidden باید بر display های پایین غلبه کند */
#dastyar-chat [hidden] {
	display: none !important;
}

/* ───── دکمهٔ شناور ───── */

#dastyar-chat .dc-launcher {
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: var(--dc-primary, #2563eb);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
	transition: transform 0.15s ease;
}

#dastyar-chat .dc-launcher:hover { transform: scale(1.06); }

#dastyar-chat .dc-launcher svg {
	width: 27px;
	height: 27px;
	fill: #fff;
	display: block;
}

#dastyar-chat .dc-launcher img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

#dastyar-chat .dc-ic { display: flex; }
#dastyar-chat .dc-ic-close { display: none; }
#dastyar-chat.dc-open .dc-ic-chat { display: none; }
#dastyar-chat.dc-open .dc-ic-close { display: flex; }

/* وقتی چت باز است، دکمهٔ شناور مخفی می‌شود تا فوتر (؟) قابل کلیک باشد */
#dastyar-chat.dc-open .dc-launcher {
	display: none;
}

/* ───── پنجرهٔ چت ───── */

#dastyar-chat .dc-panel {
	position: absolute;
	bottom: 72px;
	width: 365px;
	height: 540px;
	max-height: calc(100vh - 120px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.24);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#dastyar-chat.dc-pos-right .dc-panel { right: 0; }
#dastyar-chat.dc-pos-left .dc-panel { left: 0; }

/* ───── سربرگ ───── */

#dastyar-chat .dc-header {
	background: var(--dc-primary, #2563eb);
	color: #fff;
	padding: 13px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

#dastyar-chat .dc-header-logo img,
#dastyar-chat .dc-header-logo .dc-logo-default {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.18);
	object-fit: cover;
}

#dastyar-chat .dc-header-logo svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

#dastyar-chat .dc-header-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

#dastyar-chat .dc-header-info strong { font-size: 14.5px; }
#dastyar-chat .dc-header-info span { font-size: 11.5px; opacity: 0.85; }

#dastyar-chat .dc-close {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 6px;
	display: flex;
	border-radius: 8px;
	flex-shrink: 0;
}

#dastyar-chat .dc-help-header {
	border: 0;
	background: rgba(255, 255, 255, 0.18);
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	font-family: inherit;
	line-height: 1;
	flex-shrink: 0;
}

#dastyar-chat .dc-help-header:hover {
	background: rgba(255, 255, 255, 0.28);
}

#dastyar-chat .dc-close:hover { background: rgba(255, 255, 255, 0.15); }
#dastyar-chat .dc-close svg { width: 18px; height: 18px; fill: #fff; }

/* ───── بدنهٔ پیام‌ها ───── */

#dastyar-chat .dc-body {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	background: #f4f5f7;
	display: flex;
	flex-direction: column;
	-webkit-overflow-scrolling: touch;
}

#dastyar-chat .dc-msg {
	max-width: 82%;
	padding: 9px 13px;
	border-radius: 14px;
	margin: 4px 0;
	font-size: 13.5px;
	word-break: break-word;
}

#dastyar-chat .dc-msg-bot {
	background: #fff;
	color: #000;
	border: 1px solid #e5e7eb;
	border-radius: 14px 14px 14px 4px;
	align-self: flex-start;
}

#dastyar-chat .dc-msg-user {
	background: var(--dc-primary, #2563eb);
	color: #fff;
	border-radius: 14px 14px 4px 14px;
	align-self: flex-end;
}

#dastyar-chat .dc-msg a { color: inherit; text-decoration: underline; }
#dastyar-chat .dc-msg-bot a { color: var(--dc-primary, #2563eb); }

/* سه نقطهٔ در حال نوشتن */

#dastyar-chat .dc-typing {
	display: flex;
	gap: 4px;
	align-items: center;
	padding: 13px 15px;
}

#dastyar-chat .dc-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9ca3af;
	animation: dc-blink 1.2s infinite both;
}

#dastyar-chat .dc-typing span:nth-child(2) { animation-delay: 0.2s; }
#dastyar-chat .dc-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dc-blink {
	0%, 80%, 100% { opacity: 0.25; }
	40% { opacity: 1; }
}

/* ───── سؤال‌های پیشنهادی ───── */

#dastyar-chat .dc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 10px;
}

#dastyar-chat .dc-chip {
	border: 1px solid var(--dc-primary, #2563eb);
	color: var(--dc-primary, #2563eb);
	background: #fff;
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 12.5px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s ease, color 0.15s ease;
}

#dastyar-chat .dc-chip:hover {
	background: var(--dc-primary, #2563eb);
	color: #fff;
}

#dastyar-chat .dc-chips-title {
	flex-basis: 100%;
	font-size: 12px;
	color: #111827;
	font-weight: 600;
	margin-bottom: 2px;
}

#dastyar-chat .dc-chips-actions {
	margin-top: 4px;
	margin-bottom: 8px;
	padding: 0 2px;
}

/* ───── منوی راهنما (دکمه ؟) ───── */

#dastyar-chat .dc-help-menu {
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 14px;
	padding: 12px;
	margin: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#dastyar-chat .dc-help-menu-title {
	font-size: 13px;
	font-weight: 700;
	color: #000;
	padding-bottom: 4px;
	border-bottom: 1px solid #f1f5f9;
}

#dastyar-chat .dc-help-menu .dc-catalog {
	margin: 0;
	border: 0;
	padding: 0;
}

#dastyar-chat .dc-help-menu .dc-chips {
	margin-top: 0;
}

/* دکمهٔ سؤال‌های پرتکرار */

#dastyar-chat .dc-faq {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #d1d5db;
	background: #fff;
	color: #6b7280;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	flex-shrink: 0;
	line-height: 1;
}

#dastyar-chat .dc-faq:hover {
	border-color: var(--dc-primary, #2563eb);
	color: var(--dc-primary, #2563eb);
}

/* ───── فرم قبل از گفتگو ───── */

#dastyar-chat .dc-prechat {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#dastyar-chat .dc-prechat-welcome {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	padding: 16px 16px 12px;
	border-bottom: 1px solid #f1f5f9;
}

#dastyar-chat .dc-prechat-sub {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: #4b5563;
}

#dastyar-chat .dc-prechat-title.dc-prechat-product {
	margin-bottom: 6px;
}

#dastyar-chat .dc-prechat-title {
	font-size: 14px;
	color: #000;
	line-height: 1.75;
	font-weight: 500;
}

#dastyar-chat .dc-prechat .dc-contacts {
	padding: 12px 16px 0;
}

#dastyar-chat .dc-prechat-fields {
	padding: 12px 16px 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#dastyar-chat .dc-field-label {
	font-size: 12.5px;
	font-weight: 600;
	color: #000;
}

#dastyar-chat .dc-optional {
	font-weight: 400;
	color: #6b7280;
	font-size: 11px;
}

#dastyar-chat .dc-required {
	color: #dc2626;
}

#dastyar-chat .dc-prechat input {
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	padding: 11px 12px;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	width: 100%;
	background: #fff;
	color: #000;
	margin-bottom: 8px;
}

#dastyar-chat .dc-prechat input::placeholder { color: #9ca3af; }

#dastyar-chat .dc-prechat input:focus {
	border-color: var(--dc-primary, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#dastyar-chat .dc-f-error {
	color: #dc2626;
	font-size: 12px;
	padding: 0 16px;
}

#dastyar-chat .dc-f-start {
	border: 0;
	background: var(--dc-primary, #2563eb);
	color: #fff;
	border-radius: 10px;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	margin: 12px 16px 0;
	transition: opacity 0.15s ease;
}

#dastyar-chat .dc-f-start:hover { opacity: 0.92; }

#dastyar-chat .dc-f-start:disabled { opacity: 0.6; cursor: default; }

#dastyar-chat .dc-prechat-note {
	font-size: 11px;
	color: #6b7280;
	padding: 10px 16px 14px;
	text-align: center;
}

/* ───── راه‌های ارتباطی ───── */

#dastyar-chat .dc-contacts-bar {
	flex-shrink: 0;
	padding: 8px 12px;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
}

#dastyar-chat .dc-contacts-bar[hidden] { display: none !important; }

#dastyar-chat .dc-contacts {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#dastyar-chat .dc-contacts-label {
	font-size: 12px;
	color: #000;
	font-weight: 600;
}

#dastyar-chat .dc-contacts-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#dastyar-chat .dc-contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 10px;
	border: 1.5px solid #e5e7eb;
	background: #fff;
	color: #000;
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 500;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#dastyar-chat .dc-contact:hover {
	border-color: var(--dc-primary, #2563eb);
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
	color: #000;
}

#dastyar-chat .dc-contacts-compact .dc-contacts-row {
	justify-content: center;
	gap: 10px;
	padding: 2px 0;
}

#dastyar-chat .dc-contacts-compact .dc-contact {
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: none;
	justify-content: center;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#dastyar-chat .dc-contacts-compact .dc-contact:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
	color: #fff;
	border-color: transparent;
}

#dastyar-chat .dc-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

#dastyar-chat .dc-contact-icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

#dastyar-chat .dc-contacts-compact .dc-contact-icon svg {
	width: 22px;
	height: 22px;
}

#dastyar-chat .dc-contacts-compact .dc-contact-whatsapp { background: #25D366; }
#dastyar-chat .dc-contacts-compact .dc-contact-instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
#dastyar-chat .dc-contacts-compact .dc-contact-telegram { background: #229ED9; }
#dastyar-chat .dc-contacts-compact .dc-contact-bale { background: #17B66A; }
#dastyar-chat .dc-contacts-compact .dc-contact-phone { background: #64748b; }

#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #fff;
	flex-shrink: 0;
}

#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-icon svg {
	width: 16px;
	height: 16px;
}

#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-whatsapp .dc-contact-icon { background: #25D366; }
#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-instagram .dc-contact-icon { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); }
#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-telegram .dc-contact-icon { background: #229ED9; }
#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-bale .dc-contact-icon { background: #17B66A; }
#dastyar-chat .dc-contacts:not(.dc-contacts-compact) .dc-contact-phone .dc-contact-icon { background: #64748b; }

/* ───── نوار فروش ویژه (جمع‌وجور) ───── */

#dastyar-chat .dc-promo-bar {
	flex-shrink: 0;
	background: linear-gradient(90deg, #1e3a5f 0%, #2563eb 100%);
	padding: 0;
}

#dastyar-chat .dc-promo-bar[hidden] { display: none !important; }

#dastyar-chat .dc-promo-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	color: #fff;
	font-size: 12.5px;
}

#dastyar-chat .dc-promo-badge {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
}

#dastyar-chat .dc-promo-text {
	flex: 1;
	color: #fff;
	font-weight: 500;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#dastyar-chat .dc-promo-go {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 12px;
	flex-shrink: 0;
	padding: 4px 10px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 6px;
}

#dastyar-chat .dc-promo-go:hover { background: rgba(255, 255, 255, 0.28); }

#dastyar-chat .dc-promo-dismiss {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	flex-shrink: 0;
}

#dastyar-chat .dc-promo-dismiss:hover { color: #fff; }

/* ───── دسته‌بندی محصولات ───── */

#dastyar-chat .dc-catalog {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 14px;
	margin: 8px 0;
}

#dastyar-chat .dc-catalog-title {
	font-size: 13px;
	font-weight: 700;
	color: #000;
	margin-bottom: 4px;
}

#dastyar-chat .dc-catalog-hint {
	font-size: 12px;
	color: #374151;
	margin-bottom: 10px;
	line-height: 1.6;
}

#dastyar-chat .dc-catalog-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

#dastyar-chat .dc-cat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1.5px solid #e5e7eb;
	background: #fafafa;
	text-decoration: none;
	color: #000;
	transition: border-color 0.15s ease, background 0.15s ease;
}

#dastyar-chat .dc-cat:hover {
	border-color: var(--dc-primary, #2563eb);
	background: #eff6ff;
}

#dastyar-chat .dc-cat-name {
	font-size: 12.5px;
	font-weight: 600;
	color: #000;
	line-height: 1.4;
}

#dastyar-chat .dc-cat-count {
	font-size: 10.5px;
	color: #6b7280;
}

#dastyar-chat .dc-shop-link {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--dc-primary, #2563eb);
	text-decoration: none;
	padding: 8px;
	border-radius: 8px;
	background: #f0f7ff;
}

#dastyar-chat .dc-shop-link:hover { background: #dbeafe; }

/* ───── بنر کمپین قدیمی (حذف‌شده) ───── */

/* ───── پاپ‌آپ دعوت (Teaser) ───── */

#dastyar-chat .dc-teaser {
	position: absolute;
	bottom: 72px;
	max-width: 260px;
	padding: 12px 32px 12px 42px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	border: 1px solid #e5e7eb;
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px) scale(0.95);
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1;
}

#dastyar-chat .dc-teaser-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	animation: dc-wave 1.2s ease-in-out infinite;
}

@keyframes dc-wave {
	0%, 100% { transform: translateY(-50%) rotate(0deg); }
	25% { transform: translateY(-50%) rotate(14deg); }
	75% { transform: translateY(-50%) rotate(-8deg); }
}

#dastyar-chat.dc-pos-right .dc-teaser { right: 0; }
#dastyar-chat.dc-pos-left .dc-teaser { left: 0; }

#dastyar-chat .dc-teaser.dc-teaser-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

#dastyar-chat .dc-teaser::after {
	content: '';
	position: absolute;
	bottom: -8px;
	width: 14px;
	height: 14px;
	background: #fff;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	transform: rotate(45deg);
}

#dastyar-chat.dc-pos-right .dc-teaser::after { right: 22px; }
#dastyar-chat.dc-pos-left .dc-teaser::after { left: 22px; }

#dastyar-chat .dc-teaser p {
	font-size: 13px;
	color: #1f2937;
	line-height: 1.6;
	margin: 0;
}

/* پاپ‌آپ مخصوص صفحهٔ محصول */

#dastyar-chat .dc-product-teaser {
	max-width: 280px;
	padding: 14px 14px 12px;
	cursor: default;
}

#dastyar-chat .dc-product-teaser-text {
	font-size: 13.5px;
	color: #111827;
	line-height: 1.65;
}

#dastyar-chat .dc-product-teaser-text strong {
	color: var(--dc-primary, #2563eb);
	font-weight: 700;
}

#dastyar-chat .dc-product-teaser-sub {
	font-size: 12.5px;
	color: #6b7280;
	margin-top: 6px !important;
}

#dastyar-chat .dc-teaser-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

#dastyar-chat .dc-teaser-yes,
#dastyar-chat .dc-teaser-no {
	flex: 1;
	border: 0;
	border-radius: 8px;
	padding: 9px 8px;
	font-size: 12.5px;
	font-family: inherit;
	cursor: pointer;
	font-weight: 600;
}

#dastyar-chat .dc-teaser-yes {
	background: var(--dc-primary, #2563eb);
	color: #fff;
}

#dastyar-chat .dc-teaser-yes:hover {
	opacity: 0.92;
}

#dastyar-chat .dc-teaser-no {
	background: #f3f4f6;
	color: #6b7280;
}

#dastyar-chat .dc-teaser-no:hover {
	background: #e5e7eb;
}

#dastyar-chat .dc-teaser-close {
	position: absolute;
	top: 4px;
	left: 6px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 18px;
	cursor: pointer;
	padding: 2px 6px;
	line-height: 1;
}

#dastyar-chat .dc-teaser-close:hover { color: #374151; }

/* ───── لیست سفارش‌ها (عمودی) ───── */

#dastyar-chat .dc-order-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 6px 0;
	width: 100%;
}

#dastyar-chat .dc-order-list-title {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 0;
}

#dastyar-chat .dc-order-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 7px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fafafa;
	cursor: pointer;
	font-family: inherit;
	text-align: right;
	transition: border-color 0.15s ease, background 0.15s ease;
}

#dastyar-chat .dc-order-item:hover {
	border-color: var(--dc-primary, #2563eb);
	background: #f0f7ff;
}

#dastyar-chat .dc-order-num {
	font-size: 12px;
	font-weight: 700;
	color: #000;
	white-space: nowrap;
}

#dastyar-chat .dc-order-meta {
	font-size: 11px;
	color: #6b7280;
	text-align: left;
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#dastyar-chat .dc-order-meta em {
	font-style: normal;
	color: var(--dc-primary, #2563eb);
	font-weight: 600;
}

/* ───── کارت محصول ───── */

#dastyar-chat .dc-product-cards {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 8px 0;
}

#dastyar-chat .dc-product-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	text-decoration: none;
	color: #000;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#dastyar-chat .dc-product-card:hover {
	border-color: var(--dc-primary, #2563eb);
	box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

#dastyar-chat .dc-product-img {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: #f3f4f6;
}

#dastyar-chat .dc-product-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

#dastyar-chat .dc-product-name {
	font-size: 13px;
	font-weight: 600;
	color: #000;
	line-height: 1.4;
}

#dastyar-chat .dc-product-price {
	font-size: 12px;
	color: var(--dc-primary, #2563eb);
	font-weight: 600;
}

#dastyar-chat .dc-product-stock {
	font-size: 11px;
	color: #6b7280;
}

#dastyar-chat .dc-btn-link {
	display: block;
	text-align: center;
	margin: 6px 0 10px;
	padding: 11px 14px;
	border-radius: 10px;
	background: var(--dc-primary, #2563eb);
	color: #fff !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: opacity 0.15s ease;
}

#dastyar-chat .dc-btn-link:hover {
	opacity: 0.92;
	color: #fff;
}

/* ───── نوار ارسال ───── */

#dastyar-chat .dc-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-top: 1px solid #e5e7eb;
	background: #fff;
	flex-shrink: 0;
}

#dastyar-chat .dc-input {
	flex: 1;
	border: 0;
	outline: none;
	font-size: 13.5px;
	font-family: inherit;
	padding: 8px 4px;
	background: transparent;
	color: #000;
}

#dastyar-chat .dc-input::placeholder { color: #9ca3af; }

#dastyar-chat .dc-send {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--dc-primary, #2563eb);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#dastyar-chat .dc-send svg {
	width: 17px;
	height: 17px;
	fill: #fff;
	transform: scaleX(-1);
}

/* ───── موبایل ───── */

@media (max-width: 480px) {
	#dastyar-chat .dc-panel {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100%;
		max-height: none;
		border-radius: 0;
		bottom: 0;
	}

	#dastyar-chat .dc-footer {
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	}

	#dastyar-chat .dc-faq {
		width: 38px;
		height: 38px;
		font-size: 17px;
	}
}
