/**
 * رنگ‌های قابل تنظیم فروشگاه — متغیرها در :root از تنظیمات پر می‌شوند
 */

.store-product-title {
	color: var(--store-title);
}

.store-heading-h1 {
	color: var(--store-site-title);
	text-shadow: 0 1px 6px color-mix(in srgb, var(--store-site-title-shadow) 28%, transparent);
}

.store-heading-subtitle {
	color: var(--store-site-title);
}

.store-heading-section {
	color: var(--store-heading-section);
}

.atlas-load-more-wrap.is-done .atlas-load-text,
.damavand-load-more-wrap.is-done .damavand-load-text,
.caspian-load-more-wrap.is-done .caspian-load-text,
.arya-load-more-wrap.is-done .arya-load-text,
.default-load-more-wrap.is-done .default-load-done,
.pasargad-load-wrap.is-done .pasargad-load-text {
	color: var(--store-heading-section);
}

.store-product-text {
	color: var(--store-text);
}

.price-accent {
	color: var(--store-price) !important;
}

/* پس‌زمینه کارت محصول — Solid / Gradient از Design Tokens */
.product-card,
.store-product-item.product-card,
.atlas-product-card,
.atlas-collection-card {
	background: var(--store-product-card-bg, #ffffff);
}

.store-theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	background: var(--store-btn-bg);
	color: #fff;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.store-theme-btn:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.store-theme-btn:active {
	transform: translateY(0);
	filter: brightness(0.98);
}

.store-theme-btn--alt {
	background: var(--store-btn-bg-alt);
}

.store-theme-btn--solid:hover {
	background: var(--store-btn-hover);
	filter: none;
}

.store-theme-btn--icon {
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0;
	border-radius: 9999px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22);
}

.store-theme-btn--icon:hover {
	transform: scale(1.08);
}

.store-theme-btn-direct,
.damavand-direct-img-btn {
	background: var(--store-direct-bg) !important;
}

/* آیکون دایرکت روی تصویر محصول */
.btn-product-direct.store-direct-fab {
	width: 2.5rem;
	height: 2.5rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 9999px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.28);
	background: var(--store-direct-bg);
	color: #fff;
	border: none;
	cursor: pointer;
}
.btn-product-direct.store-direct-fab:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.34);
	filter: brightness(1.06);
}
.store-direct-fab-icon {
	width: 1.125rem;
	height: 1.125rem;
	display: block;
}

.theme-damavand .store-direct-fab,
.theme-caspian .store-direct-fab {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	left: auto;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.theme-damavand .store-direct-fab:active,
.theme-caspian .store-direct-fab:active {
	transform: scale(0.96);
}
