/* ═══════════════════════════════════════════════════════════
   پنل چارلی — استایل جلوی سایت (صفحه محصول) — نسخه ۲.۴
   ═══════════════════════════════════════════════════════════ */

.charly-variants {
	margin: 16px 0 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* موبایل: گزینه‌ها حتماً دیده شوند و از نوار چسبان پایین فاصله داشته باشند */
@media (max-width: 768px) {
	.charly-variants {
		margin: 14px 0 90px; /* فاصله از نوار چسبان پایین */
	}
}

.charly-var-block {
	border: 1px solid #E8DDD5;
	border-radius: 12px;
	background: #FDF8F5;
	padding: 12px 14px;
}

.charly-var-label {
	font-weight: 700;
	font-size: 13.5px;
	color: #2C1810;
	margin-bottom: 8px;
}

.charly-var-req { color: #C0392B; }
.charly-var-hint { font-weight: 400; font-size: 11.5px; color: #B9A99A; }

/* سایزها: استایل اصلی روی خودِ دکمه inline است؛ اینجا فقط هاور/انتخاب */
.charly-size-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(139,69,19,.22) !important; }

/* ── قیمت در بلوک اصلی محصول (مربوط به سبد خرید) ── */
.product-price-row .price-current { color: #8B4513; }
.product-price-row.has-sale .price-current { color: #C0392B; }

/* پالت رنگی: دایره و پس‌زمینه روی خودِ دکمه inline است؛ اینجا فقط هاور/انتخاب */
.charly-color-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(60,30,10,.2); }
.charly-color-btn.is-selected { box-shadow: 0 0 0 3px rgba(139,69,19,.25); }

/* ── پنجره نمایش عکس رنگ (جدا از گالری محصول) ── */
.charly-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.charly-lightbox[hidden] { display: none; }
.charly-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 18, 10, .72);
	backdrop-filter: blur(3px);
	cursor: pointer;
}
.charly-lightbox-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	max-width: 620px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	padding: 22px;
	box-shadow: 0 20px 60px rgba(30, 18, 10, .4);
	text-align: center;
}
.charly-lightbox-close {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: #F5EDE8;
	color: #6B3410;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
	z-index: 2;
}
.charly-lightbox-close:hover { background: #C0392B; color: #fff; }
.charly-lightbox-img-wrap {
	background: #FDF8F5;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 12px;
}
.charly-lightbox-img {
	width: 100%;
	height: auto;
	display: block;
}
.charly-lightbox-name {
	font-size: 17px;
	font-weight: 800;
	color: #2C1810;
}
.charly-lightbox-empty {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #B9A99A;
	margin-bottom: 6px;
}

/* ── توضیح کوتاه: درشت و قهوه‌ای پررنگ ── */
.charly-short-desc {
	margin: 18px 0 0;
	font-size: 16.5px;
	font-weight: 800;
	color: #6B3410;
	line-height: 1.9;
}

/* ── «قصه این محصول» (توضیحات تکمیلی اختصاصی مدیر) ── */
.charly-extra-desc {
	margin-top: 18px;
	padding: 16px 18px;
	background: #FDF8F5;
	border: 1px solid #E8DDD5;
	border-radius: 14px;
}
.charly-extra-desc-title {
	font-weight: 800;
	font-size: 15px;
	color: #2C1810;
	margin-bottom: 8px;
}
.charly-extra-desc-text {
	font-size: 14px;
	line-height: 1.9;
	color: #4A3828;
}

/* ── مخفی کردن فقط بخش «توضیحات تکمیلی» سراسری پوسته (طراح قبلی) ──
   تا متن ناخواسته هیچ‌جا نمایش داده نشود. بخش «توضیحات محصول» قالب
   دست نمی‌خورد تا «توضیح کوتاه» و «قصه این محصول» (که به آن اضافه
   می‌شوند) نمایش داده شوند. */
.extra-desc-section {
	display: none !important;
}

/* ── مخفی کردن هر لینک/دکمه «ارسال فوری» در سایت ── */
a[href*="product-category/express"],
a[href*="product-category/%d8%a7%d8%b1%d8%b3%d8%a7%d9%84-%d9%81%d9%88%d8%b1%db%8c"],
a[href*="product-category/%d8%a7%d8%b1%d8%b3%d8%a7%d9%84"] {
	display: none !important;
}
